Saher Ahwal
Saher Ahwal

Reputation: 9237

How to Show JSF error message in between text fields when error occurs

I have a panel layout which has some text fields that require validation. What I need is to let error messages be shown between the fields (not on top or behind them): i.e I want the error message to take its own space and/or drag down the other text fields when the error occurs and everything returns to the way it was when the error vanishes.

Upvotes: 0

Views: 396

Answers (1)

igorp1024
igorp1024

Reputation: 1143

You mean to use multiple

<h:message for="..." ... />

instead of single

<h:messages ... />

?

Upvotes: 2

Related Questions