myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dj Apal [GR]" <dja...@gmail.com>
Subject Trinidad inputDate popup
Date Fri, 19 Nov 2010 13:47:08 GMT
Hello all.
Does anyone know if we can have a popup near the date icon and not in the
middle of the page?
The nearest i could get was this

<tr:panelHorizontalLayout>
<tr:inputDate value="#{aBean.dateTo}"
chooseId="pickerToApproval" label="#{resour.to}"
inlineStyle="padding-left:1px"
onkeydown="if(event.keyCode==13)
document.getElementById('approvalsSearch').click();" />
<tr:spacer width="5px" />
<tr:panelPopup title="#{resour.chooseDate}">
<f:facet name="trigger">
<tr:icon name="af|inputDate::launch-icon" />
</f:facet>
<tr:chooseDate id="pickerToApproval"
 />
</tr:panelPopup>
</tr:panelHorizontalLayout>

but this doesn't close the calendar when you choose a date.
Any ideas?
Thnx!

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message