The name attribute is assumed to be an string, as that would be the
most common use case. Just use %{expr} and it will work as you expect.

musachy

On Jan 10, 2008 6:03 AM, Al Sutton <[EMAIL PROTECTED]> wrote:
> I've got the following in a page inside a displaytag table;
>
> <s:checkbox name="#attr.userPermission.id" theme="simple"
> value="#attr.userPermission.startable"/>
>
> What I would expect to see for an entry with the id 1234 set to true would
> be something along the lines of;
>
> <input type="checkbox" name="1234" value="true"/>
>
> What I actually see is;
>
> <input type="checkbox" name="#attr.userPermission.id" value="true"
> id="UpdateProcessPermissions_#attr_userPermission_id"/>
>
> Shouldn't the name attribute be evaluated?, and if it's not how do I get the
> id of an object to be the name of the checkbox?
>
> Ta,
>
> Al.
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to