| Author |
Message |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 07/06/2009 09:02:01
|
catalinpetrisor
Joined: 07/06/2009 08:52:04
Messages: 11
Offline
|
Hi Simplica,
I am using standard JSF input components (like h:inputText, h:selectManyListbox etc) in an Ecruiser e:window component set to be ajax-enabled.
When my input components generate FacesMessages as part of their validation process the messages do not get displayed on the screen.
This is the xml snippet of the page:
Please let me know if you need more details.
Thanks,
Catalin P.
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 07/06/2009 11:00:39
|
adina_mihai
Simplica Team
Joined: 04/01/2007 00:00:00
Messages: 189
Offline
|
Hi Catalin,
I've made a simple example based on your code, which works fine for me. I suppose you didn't implement properly the validation method. Please see my example:
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 11/27/2009 10:37:39
|
catalinpetrisor
Joined: 07/06/2009 08:52:04
Messages: 11
Offline
|
Hi Adina,
I've just noticed that your response came to my inbox as spam.
Regarding the issue, I think I forgot to set ajax=true on the button. That is, the e:button definition should look like below:
<e:window ajax="true">
<h:messages style="color:red;"/>
<h:inputText value="#{StaticBean.age}" validator="#{StaticBean.validateAge}"/>
<e:button action="true" ajax="true" value="Submit"/>
</e:window>
Could you please re-test and check if the issue does reproduce?
Thanks,
Catalin P.
|
|
|
 |
![[Post New]](/templates/default/images/icon_minipost_new.gif) 12/02/2009 08:00:51
|
adina_mihai
Simplica Team
Joined: 04/01/2007 00:00:00
Messages: 189
Offline
|
Hi Catalin,
We've reproduced the problem, and we've fixed it. By the end of this week we will release a new version of Ecruiser components, which will include also this fix.
Adina
|
|
|
 |
|
|