Noticed a few problems with s:selectDate when it is rendered through ajax.
i have the following code
| <a4j:outputPanel id="details">
| <h:inputText id="regDate"
<s:convertDateTime pattern="dd/MM/yyyy" />
</h:inputText>
| <s:selectDate id="selectRegDate" for="regDate" dateFormat="dd/MM/yyyy">
| <h:graphicImage url="/images/dtpick.gif"
style="margin-left:5px;cursor:pointer" />
| </s:selectDate>
| </a4j:outputPanel>
|
When the outputPanel is rendered using an event from other component with the
following code.
<a4j:support event="onchange" reRender="details">
The dateformat sometimes defaults to MM/dd/yyyy.
and also the selectdate component does not generate any events for validation.
i.e i cannot have a4j:support for ajax invocation inside h:inputText
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4030190#4030190
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4030190
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user