Thank you for feedback.
Using padding-left would have given the result i needed, but 80% of
our users are using IE or Safari..
Using the optgroup tag does not give quite the result we're after (all
options must be selectable).
Is there any simple way to subclass or in any way modify the behaviour
of how the stripes:option tag outputs data?
Eirik
2008/8/27 Levi Hoogenberg <[EMAIL PROTECTED]>:
> Or you could use the optgroup tag, if that suits your situation.
>
> On Wed, Aug 27, 2008 at 3:29 PM, Levi Hoogenberg <[EMAIL PROTECTED]>
> wrote:
>>
>> Depending on your target audience, setting a padding-left/-right on option
>> tags works in Firefox (but not in Safari or IE6 - IE7 I can't tell at the
>> moment).
>>
>> On Wed, Aug 27, 2008 at 2:56 PM, Eirik Lied <[EMAIL PROTECTED]> wrote:
>>>
>>> Hello.
>>>
>>> I have been using stripes:option and stripes:options-collection to
>>> output some dropdown menus where the menu has sub-options. That is, i
>>> output a number of " " before the actual text so that the users
>>> sees the text a little further to the right:
>>>
>>> <stripes:option
>>> value="${base.id}"> ${base.name}</stripes:option>
>>>
>>> Before upgrading to stripes 1.5, the output was like this:
>>>
>>> <option value="4"> MyBaseName</option>
>>>
>>>
>>> After upgrading to stripes 1.5 it looks like the character '&' is
>>> escaped to & by stripes, and i get the output:
>>>
>>> <option value="4">&nbsp;&nbsp;MyBaseName</option>
>>>
>>> This does not look so nice in the browser. Any suggestions on how to
>>> not escape these characters or how to make this work in another way?
>>>
>>> Thanks!
>>>
>>> Eirik
>>>
>>> -------------------------------------------------------------------------
>>> 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