[richfaces-issues] [JBoss JIRA] Reopened: (RF-9376) Time picker doesn't work if the Calendar is created on the backing bean
L A (JIRA)
jira-events at lists.jboss.org
Fri Oct 1 04:51:40 EDT 2010
[ https://jira.jboss.org/browse/RF-9376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
L A reopened RF-9376:
---------------------
calendar.setDatePattern("d/M/yy HH:mm")
calendar.setLocale( PT and EN none work);
String binding = "#{DialogManager.bean.defaultValuesForAllProperties[" + index + "]." + a date variable + "}";
Is this enough?
> Time picker doesn't work if the Calendar is created on the backing bean
> -----------------------------------------------------------------------
>
> Key: RF-9376
> URL: https://jira.jboss.org/browse/RF-9376
> Project: RichFaces
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: component
> Affects Versions: 3.1.6
> Environment: Windows 2003 Server, Eclipse, Firefox 3.6 (probably all web browsers)
> Reporter: L A
>
> When I create a Calendar component on the backing bean the timepicker doesn't work. Directly on the jsp works fine.
> BEAN
> ---------------------
> /** generate the Rich Calendar */
> @SuppressWarnings("unchecked")
> private void generateCalendarForDevaultValue(HtmlPanelGrid container,String bind,int index,String pattern, Locale locale){
> HtmlCalendar calendar = new HtmlCalendar();
> calendar.setId("propertyDefaultValueInput-" + index);
> calendar.setParent(container);
> String binding = "#{DialogManager.bean.defaultValuesForAllProperties[" + index + "]." + bind + "}";
> calendar.setValueBinding("value", FacesContext.getCurrentInstance().getApplication().createValueBinding(binding));
> calendar.setDatePattern(pattern);
> calendar.setLocale(locale);
> calendar.setShowApplyButton(false);
> calendar.setPopup(true);
> container.getChildren().add(calendar);
> }
> parameters:
> calendar.setDatePattern("d/M/yy HH:mm")
> calendar.setLocale( PT and EN none work);
> String binding = "#{DialogManager.bean.defaultValuesForAllProperties[" + index + "]." + a date variable + "}";
> then the calendar is injected on the properties-div with other components.
> JSP
> ------------------------------------------------------------------------------------------------------------------
> <%-- <a: is from alfresco --%>
> <a:panel id="create-properties-panel" border="innerwhite"
> bgcolor="white" titleBorder="lbgrey" expandedTitleBorder="dotted"
> titleBgcolor="white" styleClass="mainSubTitle"
> label="#{msg.create_new_type_properties_panel_title}">
> <a4j:region id="add-new-property-region">
> <a4j:outputPanel id="properties-div" ajaxRendered="true"
> layout="block">
> <h:panelGroup id="propertiesGrid"></h:panelGroup> <%-- this will hold a form for each property for a given type --%>
> </a4j:outputPanel>
> <a4j:commandButton id="addPropertiesButton"
> actionListener="#{DialogManager.bean.addNewProperty}"
> onclick="this.disabled=true"
> oncomplete="document.getElementById('dialog:dialog-body:addPropertiesButton').disabled=false"
> title="#{msg.tooltip_for_add_properties_button}"
> styleClass="addPropertyIcon" value="#{msg.add_new_property}" />
> <%--reRender="dialog:dialog-body:properties-div" image="#{request.contextPath}/images/icons/add_item_large.gif" --%>
> <a4j:status id="statusIcon">
> <f:facet name="start">
> <h:graphicImage styleClass="addPropertyIcon"
> value="#{request.contextPath}/images/icons/ajax_process.gif" />
> </f:facet>
> </a4j:status>
> </a4j:region>
> </a:panel>
> Rendered HTML
> ----------------------------------------------------------------------------------
> <span id="dialog:dialog-body:propertyDefaultValueInput-0Popup"><input readonly="readonly" style="vertical-align: middle;" name="dialog:dialog-body:propertyDefaultValueInput-0InputDate" id="dialog:dialog-body:propertyDefaultValueInput-0InputDate" class="rich-calendar-input" type="text"><img src="/alfresco/faces/a4j_3_1_6.GAorg.richfaces.renderkit.html.iconimages.CalendarIcon/DATB/eAF7--w-w6znAA-pBDQ_" style="vertical-align: middle;" id="dialog:dialog-body:propertyDefaultValueInput-0PopupButton" class="rich-calendar-button"><input value="09/2010" style="display: none;" name="dialog:dialog-body:propertyDefaultValueInput-0InputCurrentDate" id="dialog:dialog-body:propertyDefaultValueInput-0InputCurrentDate" type="hidden"></span><div style="display: none;" id="dialog:dialog-body:propertyDefaultValueInput-0IFrame"></div><table id="dialog:dialog-body:propertyDefaultValueInput-0" class="rich-calendar-exterior rich-calendar-popup" style="display: none; position: absolute; z-index: 3;" border="0" cellpadding="0" cellspacing="0"><tbody>
> <tr><td class="rich-calendar-header" colspan="8" id="dialog:dialog-body:propertyDefaultValueInput-0Header"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td class="rich-calendar-tool"><div onclick="Richfaces.getComponent('calendar',this).prevYear();return true;" class="rich-calendar-tool-btn" onmouseover="this.className='rich-calendar-tool-btn rich-calendar-tool-btn-hover'" onmouseout="this.className='rich-calendar-tool-btn'" onmousedown="this.className='rich-calendar-tool-btn rich-calendar-tool-btn-hover rich-calendar-tool-btn-press'" onmouseup="this.className='rich-calendar-tool-btn rich-calendar-tool-btn-hover'"><<</div></td><td class="rich-calendar-tool"><div onclick="Richfaces.getComponent('calendar',this).prevMonth();return true;" class="rich-calendar-tool-btn" onmouseover="this.className='rich-calendar-tool-btn rich-calendar-tool-btn-hover'" onmouseout="this.className='rich-calendar-tool-btn'" onmousedown="this.className='rich-calendar-tool-btn rich-calendar-tool-btn-hover rich-calendar-tool-btn-press'" onmouseup="this.className='rich-calendar-tool-btn rich-calendar-tool-btn-hover'"><</div></td><td class="rich-calendar-month"><div onclick="Richfaces.getComponent('calendar',this).showDateEditor();return true;" class="rich-calendar-tool-btn" onmouseover="this.className='rich-calendar-tool-btn rich-calendar-tool-btn-hover'" onmouseout="this.className='rich-calendar-tool-btn'" onmousedown="this.className='rich-calendar-tool-btn rich-calendar-tool-btn-hover rich-calendar-tool-btn-press'" onmouseup="this.className='rich-calendar-tool-btn rich-calendar-tool-btn-hover'">Setembro, 2010</div></td><td class="rich-calendar-tool"><div onclick="Richfaces.getComponent('calendar',this).nextMonth();return true;" class="rich-calendar-tool-btn" onmouseover="this.className='rich-calendar-tool-btn rich-calendar-tool-btn-hover'" onmouseout="this.className='rich-calendar-tool-btn'" onmousedown="this.className='rich-calendar-tool-btn rich-calendar-tool-btn-hover rich-calendar-tool-btn-press'" onmouseup="this.className='rich-calendar-tool-btn rich-calendar-tool-btn-hover'">></div></td><td class="rich-calendar-tool"><div onclick="Richfaces.getComponent('calendar',this).nextYear();return true;" class="rich-calendar-tool-btn" onmouseover="this.className='rich-calendar-tool-btn rich-calendar-tool-btn-hover'" onmouseout="this.className='rich-calendar-tool-btn'" onmousedown="this.className='rich-calendar-tool-btn rich-calendar-tool-btn-hover rich-calendar-tool-btn-press'" onmouseup="this.className='rich-calendar-tool-btn rich-calendar-tool-btn-hover'">>></div></td><td class="rich-calendar-tool rich-calendar-tool-close"><div onclick="Richfaces.getComponent('calendar',this).close(false);return true;" class="rich-calendar-tool-btn" onmouseover="this.className='rich-calendar-tool-btn rich-calendar-tool-btn-hover'" onmouseout="this.className='rich-calendar-tool-btn'" onmousedown="this.className='rich-calendar-tool-btn rich-calendar-tool-btn-hover rich-calendar-tool-btn-press'" onmouseup="this.className='rich-calendar-tool-btn rich-calendar-tool-btn-hover'">x</div></td></tr></tbody></table></td></tr><tr id="dialog:dialog-body:propertyDefaultValueInput-0WeekDay"><td class="rich-calendar-days"><br></td><td class="rich-calendar-days" id="dialog:dialog-body:propertyDefaultValueInput-0WeekDayCell0">Seg</td><td class="rich-calendar-days" id="dialog:dialog-body:propertyDefaultValueInput-0WeekDayCell1">Ter</td><td class="rich-calendar-days" id="dialog:dialog-body:propertyDefaultValueInput-0WeekDayCell2">Qua</td><td class="rich-calendar-days" id="dialog:dialog-body:propertyDefaultValueInput-0WeekDayCell3">Qui</td><td class="rich-calendar-days" id="dialog:dialog-body:propertyDefaultValueInput-0WeekDayCell4">Sex</td><td class="rich-calendar-days rich-calendar-weekends" id="dialog:dialog-body:propertyDefaultValueInput-0WeekDayCell5">Sáb</td><td class="rich-calendar-days rich-calendar-weekends rich-right-cell" id="dialog:dialog-body:propertyDefaultValueInput-0WeekDayCell6">Dom</td></tr>
> <tr id="dialog:dialog-body:propertyDefaultValueInput-0WeekNum1"><td class="rich-calendar-week " id="dialog:dialog-body:propertyDefaultValueInput-0WeekNumCell1">36</td><td class="rich-calendar-cell-size rich-calendar-cell rich-calendar-boundary-dates" id="dialog:dialog-body:propertyDefaultValueInput-0DayCell0" onclick="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnClick(event, this);" onmouseover="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOver(event, this);" onmouseout="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOut(event, this);">30</td><td class="rich-calendar-cell-size rich-calendar-cell rich-calendar-boundary-dates" id="dialog:dialog-body:propertyDefaultValueInput-0DayCell1" onclick="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnClick(event, this);" onmouseover="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOver(event, this);" onmouseout="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOut(event, this);">31</td><td class="rich-calendar-cell-size rich-calendar-cell rich-calendar-btn" id="dialog:dialog-body:propertyDefaultValueInput-0DayCell2" onclick="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnClick(event, this);" onmouseover="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOver(event, this);" onmouseout="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOut(event, this);">1</td><td class="rich-calendar-cell-size rich-calendar-cell rich-calendar-btn" id="dialog:dialog-body:propertyDefaultValueInput-0DayCell3" onclick="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnClick(event, this);" onmouseover="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOver(event, this);" onmouseout="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOut(event, this);">2</td><td class="rich-calendar-cell-size rich-calendar-cell rich-calendar-btn" id="dialog:dialog-body:propertyDefaultValueInput-0DayCell4" onclick="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnClick(event, this);" onmouseover="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOver(event, this);" onmouseout="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOut(event, this);">3</td><td class="rich-calendar-cell-size rich-calendar-cell rich-calendar-holly rich-calendar-btn" id="dialog:dialog-body:propertyDefaultValueInput-0DayCell5" onclick="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnClick(event, this);" onmouseover="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOver(event, this);" onmouseout="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOut(event, this);">4</td><td class="rich-calendar-cell-size rich-calendar-cell rich-calendar-holly rich-right-cell rich-calendar-btn" id="dialog:dialog-body:propertyDefaultValueInput-0DayCell6" onclick="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnClick(event, this);" onmouseover="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOver(event, this);" onmouseout="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOut(event, this);">5</td></tr><tr id="dialog:dialog-body:propertyDefaultValueInput-0WeekNum2"><td class="rich-calendar-week " id="dialog:dialog-body:propertyDefaultValueInput-0WeekNumCell2">37</td><td class="rich-calendar-cell-size rich-calendar-cell rich-calendar-btn" id="dialog:dialog-body:propertyDefaultValueInput-0DayCell7" onclick="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnClick(event, this);" onmouseover="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOver(event, this);" onmouseout="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOut(event, this);">6</td><td class="rich-calendar-cell-size rich-calendar-cell rich-calendar-btn" id="dialog:dialog-body:propertyDefaultValueInput-0DayCell8" onclick="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnClick(event, this);" onmouseover="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOver(event, this);" onmouseout="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOut(event, this);">7</td><td class="rich-calendar-cell-size rich-calendar-cell rich-calendar-btn" id="dialog:dialog-body:propertyDefaultValueInput-0DayCell9" onclick="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnClick(event, this);" onmouseover="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOver(event, this);" onmouseout="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOut(event, this);">8</td><td class="rich-calendar-cell-size rich-calendar-cell rich-calendar-btn" id="dialog:dialog-body:propertyDefaultValueInput-0DayCell10" onclick="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnClick(event, this);" onmouseover="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOver(event, this);" onmouseout="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOut(event, this);">9</td><td class="rich-calendar-cell-size rich-calendar-cell rich-calendar-btn" id="dialog:dialog-body:propertyDefaultValueInput-0DayCell11" onclick="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnClick(event, this);" onmouseover="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOver(event, this);" onmouseout="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOut(event, this);">10</td><td class="rich-calendar-cell-size rich-calendar-cell rich-calendar-holly rich-calendar-btn" id="dialog:dialog-body:propertyDefaultValueInput-0DayCell12" onclick="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnClick(event, this);" onmouseover="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOver(event, this);" onmouseout="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOut(event, this);">11</td><td class="rich-calendar-cell-size rich-calendar-cell rich-calendar-holly rich-right-cell rich-calendar-btn" id="dialog:dialog-body:propertyDefaultValueInput-0DayCell13" onclick="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnClick(event, this);" onmouseover="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOver(event, this);" onmouseout="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOut(event, this);">12</td></tr><tr id="dialog:dialog-body:propertyDefaultValueInput-0WeekNum3"><td class="rich-calendar-week " id="dialog:dialog-body:propertyDefaultValueInput-0WeekNumCell3">38</td><td class="rich-calendar-cell-size rich-calendar-cell rich-calendar-btn" id="dialog:dialog-body:propertyDefaultValueInput-0DayCell14" onclick="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnClick(event, this);" onmouseover="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOver(event, this);" onmouseout="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOut(event, this);">13</td><td class="rich-calendar-cell-size rich-calendar-cell rich-calendar-btn" id="dialog:dialog-body:propertyDefaultValueInput-0DayCell15" onclick="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnClick(event, this);" onmouseover="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOver(event, this);" onmouseout="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOut(event, this);">14</td><td class="rich-calendar-cell-size rich-calendar-cell rich-calendar-btn" id="dialog:dialog-body:propertyDefaultValueInput-0DayCell16" onclick="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnClick(event, this);" onmouseover="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOver(event, this);" onmouseout="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOut(event, this);">15</td><td class="rich-calendar-cell-size rich-calendar-cell rich-calendar-btn" id="dialog:dialog-body:propertyDefaultValueInput-0DayCell17" onclick="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnClick(event, this);" onmouseover="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOver(event, this);" onmouseout="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOut(event, this);">16</td><td class="rich-calendar-cell-size rich-calendar-cell rich-calendar-btn" id="dialog:dialog-body:propertyDefaultValueInput-0DayCell18" onclick="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnClick(event, this);" onmouseover="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOver(event, this);" onmouseout="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOut(event, this);">17</td><td class="rich-calendar-cell-size rich-calendar-cell rich-calendar-holly rich-calendar-btn" id="dialog:dialog-body:propertyDefaultValueInput-0DayCell19" onclick="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnClick(event, this);" onmouseover="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOver(event, this);" onmouseout="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOut(event, this);">18</td><td class="rich-calendar-cell-size rich-calendar-cell rich-calendar-holly rich-right-cell rich-calendar-btn" id="dialog:dialog-body:propertyDefaultValueInput-0DayCell20" onclick="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnClick(event, this);" onmouseover="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOver(event, this);" onmouseout="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOut(event, this);">19</td></tr><tr id="dialog:dialog-body:propertyDefaultValueInput-0WeekNum4"><td class="rich-calendar-week " id="dialog:dialog-body:propertyDefaultValueInput-0WeekNumCell4">39</td><td class="rich-calendar-cell-size rich-calendar-cell rich-calendar-btn" id="dialog:dialog-body:propertyDefaultValueInput-0DayCell21" onclick="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnClick(event, this);" onmouseover="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOver(event, this);" onmouseout="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOut(event, this);">20</td><td class="rich-calendar-cell-size rich-calendar-cell rich-calendar-btn" id="dialog:dialog-body:propertyDefaultValueInput-0DayCell22" onclick="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnClick(event, this);" onmouseover="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOver(event, this);" onmouseout="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOut(event, this);">21</td><td class="rich-calendar-cell-size rich-calendar-cell rich-calendar-btn" id="dialog:dialog-body:propertyDefaultValueInput-0DayCell23" onclick="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnClick(event, this);" onmouseover="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOver(event, this);" onmouseout="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOut(event, this);">22</td><td class="rich-calendar-cell-size rich-calendar-cell rich-calendar-btn" id="dialog:dialog-body:propertyDefaultValueInput-0DayCell24" onclick="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnClick(event, this);" onmouseover="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOver(event, this);" onmouseout="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOut(event, this);">23</td><td class="rich-calendar-cell-size rich-calendar-cell rich-calendar-btn" id="dialog:dialog-body:propertyDefaultValueInput-0DayCell25" onclick="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnClick(event, this);" onmouseover="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOver(event, this);" onmouseout="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOut(event, this);">24</td><td class="rich-calendar-cell-size rich-calendar-cell rich-calendar-holly rich-calendar-btn" id="dialog:dialog-body:propertyDefaultValueInput-0DayCell26" onclick="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnClick(event, this);" onmouseover="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOver(event, this);" onmouseout="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOut(event, this);">25</td><td class="rich-calendar-cell-size rich-calendar-cell rich-calendar-holly rich-right-cell rich-calendar-btn" id="dialog:dialog-body:propertyDefaultValueInput-0DayCell27" onclick="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnClick(event, this);" onmouseover="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOver(event, this);" onmouseout="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOut(event, this);">26</td></tr><tr id="dialog:dialog-body:propertyDefaultValueInput-0WeekNum5"><td class="rich-calendar-week " id="dialog:dialog-body:propertyDefaultValueInput-0WeekNumCell5">40</td><td class="rich-calendar-cell-size rich-calendar-cell rich-calendar-btn" id="dialog:dialog-body:propertyDefaultValueInput-0DayCell28" onclick="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnClick(event, this);" onmouseover="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOver(event, this);" onmouseout="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOut(event, this);">27</td><td class="rich-calendar-cell-size rich-calendar-cell rich-calendar-today rich-calendar-btn" id="dialog:dialog-body:propertyDefaultValueInput-0DayCell29" onclick="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnClick(event, this);" onmouseover="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOver(event, this);" onmouseout="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOut(event, this);">28</td><td class="rich-calendar-cell-size rich-calendar-cell rich-calendar-btn" id="dialog:dialog-body:propertyDefaultValueInput-0DayCell30" onclick="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnClick(event, this);" onmouseover="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOver(event, this);" onmouseout="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOut(event, this);">29</td><td class="rich-calendar-cell-size rich-calendar-cell rich-calendar-btn" id="dialog:dialog-body:propertyDefaultValueInput-0DayCell31" onclick="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnClick(event, this);" onmouseover="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOver(event, this);" onmouseout="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOut(event, this);">30</td><td class="rich-calendar-cell-size rich-calendar-cell rich-calendar-boundary-dates" id="dialog:dialog-body:propertyDefaultValueInput-0DayCell32" onclick="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnClick(event, this);" onmouseover="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOver(event, this);" onmouseout="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOut(event, this);">1</td><td class="rich-calendar-cell-size rich-calendar-cell rich-calendar-holly rich-calendar-boundary-dates" id="dialog:dialog-body:propertyDefaultValueInput-0DayCell33" onclick="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnClick(event, this);" onmouseover="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOver(event, this);" onmouseout="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOut(event, this);">2</td><td class="rich-calendar-cell-size rich-calendar-cell rich-calendar-holly rich-right-cell rich-calendar-boundary-dates" id="dialog:dialog-body:propertyDefaultValueInput-0DayCell34" onclick="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnClick(event, this);" onmouseover="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOver(event, this);" onmouseout="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOut(event, this);">3</td></tr><tr id="dialog:dialog-body:propertyDefaultValueInput-0WeekNum6"><td class="rich-calendar-week rich-bottom-cell " id="dialog:dialog-body:propertyDefaultValueInput-0WeekNumCell6">41</td><td class="rich-bottom-cell rich-calendar-cell-size rich-calendar-cell rich-calendar-boundary-dates" id="dialog:dialog-body:propertyDefaultValueInput-0DayCell35" onclick="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnClick(event, this);" onmouseover="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOver(event, this);" onmouseout="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOut(event, this);">4</td><td class="rich-bottom-cell rich-calendar-cell-size rich-calendar-cell rich-calendar-boundary-dates" id="dialog:dialog-body:propertyDefaultValueInput-0DayCell36" onclick="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnClick(event, this);" onmouseover="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOver(event, this);" onmouseout="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOut(event, this);">5</td><td class="rich-bottom-cell rich-calendar-cell-size rich-calendar-cell rich-calendar-boundary-dates" id="dialog:dialog-body:propertyDefaultValueInput-0DayCell37" onclick="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnClick(event, this);" onmouseover="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOver(event, this);" onmouseout="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOut(event, this);">6</td><td class="rich-bottom-cell rich-calendar-cell-size rich-calendar-cell rich-calendar-boundary-dates" id="dialog:dialog-body:propertyDefaultValueInput-0DayCell38" onclick="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnClick(event, this);" onmouseover="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOver(event, this);" onmouseout="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOut(event, this);">7</td><td class="rich-bottom-cell rich-calendar-cell-size rich-calendar-cell rich-calendar-boundary-dates" id="dialog:dialog-body:propertyDefaultValueInput-0DayCell39" onclick="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnClick(event, this);" onmouseover="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOver(event, this);" onmouseout="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOut(event, this);">8</td><td class="rich-bottom-cell rich-calendar-cell-size rich-calendar-cell rich-calendar-holly rich-calendar-boundary-dates" id="dialog:dialog-body:propertyDefaultValueInput-0DayCell40" onclick="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnClick(event, this);" onmouseover="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOver(event, this);" onmouseout="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOut(event, this);">9</td><td class="rich-bottom-cell rich-calendar-cell-size rich-calendar-cell rich-calendar-holly rich-right-cell rich-calendar-boundary-dates" id="dialog:dialog-body:propertyDefaultValueInput-0DayCell41" onclick="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnClick(event, this);" onmouseover="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOver(event, this);" onmouseout="$('dialog:dialog-body:propertyDefaultValueInput-0').component.eventCellOnMouseOut(event, this);">10</td></tr><tr><td class="rich-calendar-footer" colspan="8" id="dialog:dialog-body:propertyDefaultValueInput-0Footer"><table border="0" cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td class="rich-calendar-toolfooter" style="display: none;"></td><td class="rich-calendar-toolfooter" style="display: none;"></td><td class="rich-calendar-toolfooter" style="display: none;"></td><td width="100%"></td><td class="rich-calendar-toolfooter" style="background-image: none;"><div onclick="Richfaces.getComponent('calendar',this).today();return true;" class="rich-calendar-tool-btn" onmouseover="this.className='rich-calendar-tool-btn rich-calendar-tool-btn-hover'" onmouseout="this.className='rich-calendar-tool-btn'" onmousedown="this.className='rich-calendar-tool-btn rich-calendar-tool-btn-hover rich-calendar-tool-btn-press'" onmouseup="this.className='rich-calendar-tool-btn rich-calendar-tool-btn-hover'">Today</div></td><td class="rich-calendar-toolfooter" style="display: none; background-image: none;"></td></tr></tbody></table></td></tr></tbody></table>
> <div style="display: none;" id="dialog:dialog-body:propertyDefaultValueInput-0Script"><script type="text/javascript">//<![CDATA[
> new Calendar('dialog:dialog-body:propertyDefaultValueInput-0', {submitFunction:function(requestValue){A4J.AJAX.Submit('dialog:dialog-body:add-new-propertie-region','dialog',null,{'control':this,'single':true,'oncomplete':function(request,event,data){this.calendar.load(data, true);},'parameters':{'dialog:dialog-body:propertyDefaultValueInput-0':'dialog:dialog-body:propertyDefaultValueInput-0'} ,'calendar':this,'actionUrl':'/alfresco/faces/jsp/dialog/container.jsp?javax.portlet.faces.DirectLink=true'} )},dayListTableId: 'dialog:dialog-body:propertyDefaultValueInput-0Day',
> weekNumberBarId: 'dialog:dialog-body:propertyDefaultValueInput-0WeekNum',
> weekDayBarId: 'dialog:dialog-body:propertyDefaultValueInput-0WeekDay',
> currentDate: new Date(2010,8,28),
> selectedDate: null,
> datePattern: 'dd/M/yy hh:mm',
> jointPoint: 'bottom-left',
> direction: 'bottom-right',
> toolTipMode:'batch',
> boundaryDatesMode:'inactive',
> popup: true,
> enableManualInput: false,
> showInput: true,
> disabled: false,
> ajaxSingle: true,
> verticalOffset:0,
> horizontalOffset: 0,
> style:'z-index: 3; ',
> firstWeekDay: 1,
> minDaysInFirstWeek: 1,
> todayControlMode:'select',
> showHeader:true,
> showFooter:true,
> showWeeksBar:true,
> showWeekDaysBar:true,
> showApplyButton:false,
> labels:{apply:'Apply', today:'Today', clean:'Clean', ok:'OK', cancel:'Cancel', close:'x'},
> 'monthLabels': ['Janeiro','Fevereiro','Março','Abril','Maio','Junho','Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'] ,
> 'monthLabelsShort': ['Jan','Fev','Mar','Abr','Mai','Jun','Jul','Ago','Set','Out','Nov','Dez'] ,
> 'weekDayLabels': ['Domingo','Segunda-feira','Terça-feira','Quarta-feira','Quinta-feira','Sexta-feira','Sábado'] ,
> 'weekDayLabelsShort': ['Dom','Seg','Ter','Qua','Qui','Sex','Sáb'] ,
> onchanged: function(event){if(this.value != ''){ document.getElementById('dialog:dialog-body:propertyMultipleInput-0').disabled=true; document.getElementById('dialog:dialog-body:propertyMandatoryInput-0').disabled=true; document.getElementById('dialog:dialog-body:propertyMultipleInput-0').checked=false; document.getElementById('dialog:dialog-body:propertyMandatoryInput-0').checked=false; }else{ document.getElementById('dialog:dialog-body:propertyMultipleInput-0').disabled=false; document.getElementById('dialog:dialog-body:propertyMandatoryInput-0').disabled=false; document.getElementById('dialog:dialog-body:propertyMultipleInput-0').checked=false; document.getElementById('dialog:dialog-body:propertyMandatoryInput-0').checked=false; }}}).load();
> //
> //]]>
> </script></div>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the richfaces-issues
mailing list