tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 29535] - Feature Request: ValidPropertySelect component
Date Sat, 12 Jun 2004 05:42:48 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29535>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29535

Feature Request: ValidPropertySelect component





------- Additional Comments From srinirvasan@fastmail.fm  2004-06-12 05:42 -------
I've also created and attached a simple IPropertySelectionModel implementation
(delegates to a StringPropertySelectionModel internally) that prepends a null to
the String[] passed in. So the component can be used as below...

<component id="selectFred" type="ValidPropertySelection">
  <binding name="model" expression="fredModel" />
  <static-binding name="noSelectionValue" value="-- Select One --" />
  <static-binding name="displayName" value="Fred" />
  <binding name="value" expression="bedrock.fred" />
</component>

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org


Mime
View raw message