This is almost exactly how it works now, with one slight twist.
You've shown the idea that if you don't supply a label the value
should be used as the label - and it's implemented the other way
around. If no value is specified, the label is used as the value.
The label in turn is looked for first as body content of the tag, and
if there's no body, then the label="" attribute is used.
-t
On Sep 18, 2008, at 10:28 AM, Nathan Maves wrote:
you are correct... not sure how that changes the request in my first
email :)
On Wed, Sep 17, 2008 at 11:52 PM, Leonard Gestrin <[EMAIL PROTECTED]
> wrote:
Stripes:option works as inner tag of stripes:select.
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
] On Behalf Of Nathan Maves
Sent: Wednesday, September 17, 2008 9:30 PM
To: Stripes Users List
Subject: [Stripes-users] Option tag
This may be the most simple request ever seen on the list :)
for the option tag I would think that it should work as state below...
<stripes:option value="foo">bar</stripes:option> == <option
value="foo">bar<option>
<stripes:option value="foo" label="bar" /> == <option
value="foo">bar<option>
<stripes:option value="foo" /> == <option value="foo">foo<option>
what do the rest of you think :)
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win
great prizes
Grand prize is a trip for two to an Open Source event anywhere in
the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win
great prizes
Grand prize is a trip for two to an Open Source event anywhere in
the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users