Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Horizontal form only works in the most simple case #614

Closed
stephanrauh opened this issue Jan 9, 2017 · 3 comments
Closed

Horizontal form only works in the most simple case #614

stephanrauh opened this issue Jan 9, 2017 · 3 comments
Assignees
Milestone

Comments

@stephanrauh
Copy link
Collaborator

The other day I've learned that every component that is to be aligned vertically must be included in the some form-group. That's hard to accomplish with JSF because each component is rendered individually. We need to find a solution nonetheless.

One important special case is adding the b:message tag into the same line as the label and the input field.

Other use cases are:

  • Putting a command button behind an input field.
  • Putting input fields behind a checkbox or a radio button.
@stephanrauh stephanrauh self-assigned this Jan 9, 2017
@stephanrauh stephanrauh added this to the v1.1.0 milestone Jan 9, 2017
@NicolaIsotta
Copy link
Contributor

NicolaIsotta commented Jan 10, 2017

#493 is related to this. As an alternative to the facet, have you considered modifying the encodeChidren behavior? (now it renders content before the form-group)

@stephanrauh
Copy link
Collaborator Author

I suppose this issue is solved by #682 and #685.

@stephanrauh
Copy link
Collaborator Author

This issue has been solved by introducing <b:form />.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants