You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Julian Ray (JIRA)" <de...@myfaces.apache.org> on 2006/05/06 23:04:21 UTC
[jira] Commented: (TOMAHAWK-417) Spinner Control
[ http://issues.apache.org/jira/browse/TOMAHAWK-417?page=comments#action_12378249 ]
Julian Ray commented on TOMAHAWK-417:
-------------------------------------
faces-config
<component>
<component-type>org.apache.myfaces.Spinner</component-type>
<component-class>org.apache.myfaces.custom.spinner.Spinner</component-class>
</component>
<renderer>
<component-family>javax.faces.Input</component-family>
<renderer-type>org.apache.myfaces.SpinnerRenderer</renderer-type>
<renderer-class>org.apache.myfaces.custom.spinner.SpinnerRenderer</renderer-class>
</renderer>
myfaces_sandbox.tld
<!-- Spinner -->
<tag>
<name>spinner</name>
<tag-class>org.apache.myfaces.custom.spinner.SpinnerTag</tag-class>
<body-content>JSP</body-content>
<description>Provides a spinner control for integer values</description>
<attribute>
<name>maximum</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
<description>Maximum value for the spinner. Integer</description>
</attribute>
<attribute>
<name>minimum</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
<description>Minimum value for the spinner. Integer</description>
</attribute>
<attribute>
<name>stepSize</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
<description>Amount to increment/decrement the value with each click. Default = 1</description>
</attribute>
<attribute>
<name>buttonUpStyleClass</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
<description>Style class for the increment button.</description>
</attribute>
<attribute>
<name>buttonDownStyleClass</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
<description>Style class for the decrement button.</description>
</attribute>
<attribute>
<name>mode</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
<description>Value to be displayed.</description>
</attribute>
&standard_input_text_attributes;
&user_role_attributes;
</tag>
> Spinner Control
> ---------------
>
> Key: TOMAHAWK-417
> URL: http://issues.apache.org/jira/browse/TOMAHAWK-417
> Project: MyFaces Tomahawk
> Type: New Feature
> Reporter: Julian Ray
> Priority: Trivial
> Attachments: Spinner.java, SpinnerRenderer.java, SpinnerTag.java
>
> This is a first draft of a spinner control for enhancing UI by providing a controlled numeric input where the user can increment/decrement a value using configurable step sizes. Can operate with either client or server side updates.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira