This content has been marked as final.
Show 2 replies
-
1. Re: event=
wbossons Jan 14, 2008 10:12 AM (in response to stonebits)If you use h:messages, then you will get more information about the message. The message in your log is saying that Faces Messages are in the queue, but there is no display because there is no tag to output the messages on the page. Try that to see if you can find more information.
<h:messages layout="list" showSummary="true" />
..\Wendy -
2. Re: event=
stonebits Jan 14, 2008 3:51 PM (in response to stonebits)Thanks -- that didn't seem to make a difference, but it got me thinking. The section of the xhtml that was listed
14:07:00,243 INFO [lifecycle] WARNING: FacesMessage(s) have been enqueued, but may not have been displayed.sourceId=shows:aNameDecoration:name[severity=(ERROR 2), summary=(value is required), detail=(value is required)]
shows:aNameDecoration wasn't the section which contained the actionListener.
When I commented out this section, the action was called
For reference the code that I commented out was<s:decorate id="aNameDecoration" template="layout/edit.xhtml"> <ui:define name="label">Showname</ui:define> <h:inputText id="name" size="30" required="true" value="#{showsHome.instance.name}"/> <a:support event="onblur" reRender="curatorNameDecoration" bypassUpdates="true"/> </s:decorate>
I traced this to the fact that I set required=true while the initial value was null
If I first type into the name field, everything works OK
I have to admit that this wasn't the behavior I was expecting.