You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by mm...@apache.org on 2005/12/20 18:13:12 UTC

svn commit: r358043 - /myfaces/examples/trunk/simple/calendar.jsp

Author: mmarinschek
Date: Tue Dec 20 09:13:08 2005
New Revision: 358043

URL: http://svn.apache.org/viewcvs?rev=358043&view=rev
Log:
changes - debugging for problems in IE

Modified:
    myfaces/examples/trunk/simple/calendar.jsp

Modified: myfaces/examples/trunk/simple/calendar.jsp
URL: http://svn.apache.org/viewcvs/myfaces/examples/trunk/simple/calendar.jsp?rev=358043&r1=358042&r2=358043&view=diff
==============================================================================
--- myfaces/examples/trunk/simple/calendar.jsp (original)
+++ myfaces/examples/trunk/simple/calendar.jsp Tue Dec 20 09:13:08 2005
@@ -33,16 +33,17 @@
 
     <t:saveState value="#{calendarBean}"/>
 
-    <h:panelGroup id="body">
+        <h:panelGroup id="body">
 
         <t:messages id="messageList" showSummary="false" showDetail="true" />
 
-        <h:outputText  id="cdt" value="#{example_messages['js_form']}"/>
+        <h:outputText id="cdt" value="#{example_messages['js_form']}"/>
 
         <h:form id="calendarForm">
             <t:inputCalendar monthYearRowClass="yearMonthHeader" weekRowClass="weekHeader"
                 currentDayCellClass="currentDayCell" value="#{calendarBean.firstDate}" />
         </h:form>
+
         <f:verbatim><br/></f:verbatim>
 
         <h:outputText value="#{calendarBean.firstDate}" />
@@ -56,7 +57,30 @@
             <t:outputLabel for="secondOne" value="Second calendar input"/>
             <t:inputCalendar id="secondOne" monthYearRowClass="yearMonthHeader" weekRowClass="weekHeader" popupButtonStyleClass="standard_bold"
                 currentDayCellClass="currentDayCell" value="#{calendarBean.secondDate}" renderAsPopup="true"
-                popupTodayString="#{example_messages['popup_today_string']}" popupWeekString="#{example_messages['popup_week_string']}" helpText="DD.MM.YYYY"/>
+                popupTodayString="#{example_messages['popup_today_string']}" popupWeekString="#{example_messages['popup_week_string']}"/>
+            <h:inputText value="#{calendarBean.text}"/>
+            <h:commandButton value="#{example_messages['js_submit']}" action="#{calendarBean.submitMethod}" />
+        </h:form>
+
+
+    </h:panelGroup>
+    <%--h:panelGroup id="body">
+
+
+        <f:verbatim><br/></f:verbatim>
+
+        <h:outputText value="#{calendarBean.firstDate}" />
+
+        <f:verbatim><br/><br/><br/></f:verbatim>
+
+        <h:outputText value="#{example_messages['js_popup']}"/>
+
+        <h:form id="calendarForm2">
+
+            <t:outputLabel for="secondOne" value="Second calendar input"/>
+            <t:inputCalendar id="secondOne" monthYearRowClass="yearMonthHeader" weekRowClass="weekHeader" popupButtonStyleClass="standard_bold"
+                currentDayCellClass="currentDayCell" value="#{calendarBean.secondDate}" renderAsPopup="true"
+                popupTodayString="#{example_messages['popup_today_string']}" popupWeekString="#{example_messages['popup_week_string']}" helpText="MM/DD/YYYY"/>
             <h:inputText value="#{calendarBean.text}"/>
             <h:commandButton value="#{example_messages['js_submit']}" action="#{calendarBean.submitMethod}" />
         </h:form>
@@ -93,7 +117,7 @@
             <h:commandButton value="#{example_messages['js_submit']}"/>
 
         </h:form>
-    </h:panelGroup>
+    </h:panelGroup--%>
 
 </f:view>