You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by kiuma <ki...@usa.net> on 2002/09/16 19:20:33 UTC

Re: [STRUTS] tag for... [solved]

I solved the problem this way but I'm not very happy because it's not a 
clean solution (not smart)!


<INPUT type='button' value='<bean:message key="button.edit"/>' 
onclick='<c:out 
value="../usermanipulate.do?method=edit&amp;id=${user.id}"/><bean:write 
name="currentUser" property="id"/>'/>

Victor CHEVALIER wrote:

>I've got this and it works :
>
><a href="javascript:viewStructure('<jsp:getProperty name="structure"
>property="distinguishedName"/>');" class="vpsr" title='<jsp:getProperty
>name="structure" property="description"/>'>
>
>Does this help you ?
>
>-----Message d'origine-----
>De : Eddie Bush [mailto:ekbush@swbell.net]
>Envoye : lundi 16 septembre 2002 18:53
>A : Struts Users Mailing List
>Objet : Re: [STRUTS] tag for...
>
>
>Nope - can't do that :-(
>
>There isn't a way to do it without using the EL.  Unfortunately, the
>JSTL EL is not available in the core struts tags :-( since that would
>make them require a more advanced specification.  One solution you might
>look at is grabbing the Struts-EL taglib contributed by David M. Karr.
> You'll have to grab it out of Bugzilla though; I don't think it's been
>put in contrib yet.  You should be able to get it here:
>
>http://issues.apache.org/bugzilla/show_bug.cgi?id=12365
>
>Scroll all the way down to the bottom.  You'll find where it says David
>created an attachment.  Click that hyperlink and try out his Struts-EL
>taglib.  Be sure you report back your experiences :-)
>
>Regards,
>
>Eddie
>
>Victor CHEVALIER wrote:
>
>>With a <bean:write name="uData" property="id"/>
>>
>>-----Message d'origine-----
>>De : kiuma [mailto:kiuma@usa.net]
>>Envoye : lundi 16 septembre 2002 18:30
>>A : Struts Users Mailing List
>>Objet : [STRUTS] tag for...
>>
>>
>>Hello again!!
>>
>>How do I solve this code with the only use of tags?
>>
>><html:button property="buttonedit"
>>onclick="../usermanipulate.do?method=edit&amp;id=<%=  uData.getId() %>">
>>
>
>
>
>--
>To unsubscribe, e-mail:
><ma...@jakarta.apache.org>
>For additional commands, e-mail:
><ma...@jakarta.apache.org>
>
>
>--
>To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
>For additional commands, e-mail: <ma...@jakarta.apache.org>
>
>.
>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>