zwwcn

Just another WordPress.com site

rich:calendar a4j:support


<rich:calendar popup="true" id="createdDate" value="#{currentInvoice.createdDate}"
buttonIcon="/images/icons/calendar.gif" datePattern="dd-MM-yy"  required="true">
<a4j:support event="onchanged" reRender="invItemTable" action="#{invoiceDetailAction.setSelectedDate()}" ajxSingle="true"/>
</rich:calendar>

event=”onchanged” will triger the action after you selecting the date

event=”ondateselected” will triger the action after you click the rich calendar component(before you selecting any date)

Advertisements

One response to “rich:calendar a4j:support

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: