Author: akushunin
Date: 2007-07-27 10:57:54 -0400 (Fri, 27 Jul 2007)
New Revision: 1895
Modified:
trunk/sandbox/ui/calendar/src/main/templates/org/richfaces/htmlCalendar.jspx
Log:
Template updating.
Added buttonLabel attribute.
Added onclick with calendar call.
update calendar-sample.
Modified: trunk/sandbox/ui/calendar/src/main/templates/org/richfaces/htmlCalendar.jspx
===================================================================
---
trunk/sandbox/ui/calendar/src/main/templates/org/richfaces/htmlCalendar.jspx 2007-07-27
14:29:16 UTC (rev 1894)
+++
trunk/sandbox/ui/calendar/src/main/templates/org/richfaces/htmlCalendar.jspx 2007-07-27
14:57:54 UTC (rev 1895)
@@ -60,7 +60,9 @@
boolean popup = getUtils().isBooleanAttribute(component, "popup");
if (popup) {]]>
</jsp:scriptlet>
- <span> <input
+ <span
+ id="#{clientId}Popup"
+ > <input
x:passThruWithExclusions="name"
id="#{clientId}Input"
value="#{this:getInputValue(context,component)}"
@@ -76,13 +78,12 @@
size="#{component.attributes['inputSize']}"
style="#{component.attributes['style']}"
tabindex="#{component.attributes['tabindex']}"
- class="#{component.attributes['class']}"
onclick="#{component.attributes['onclick']}">
</input>
<button id="#{clientId}PopupButton"
accesskey="#{component.attributes['accesskey']}"
name="#{clientId}"
- onclick="#{component.attributes['onclick']}"
+ onclick="$(this.form.id+':calendar').component.doSwitch();"
style="#{component.attributes['style']}"
tabindex="#{component.attributes['tabindex']}"
Show replies by date