[jboss-user] [JBoss Seam] - s:selectDate ajaxRender

venkateshbr do-not-reply at jboss.com
Wed Mar 21 07:27:07 EDT 2007


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



More information about the jboss-user mailing list