tomcat-taglibs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Cooper <mfncoo...@gmail.com>
Subject Re: Integrating Struts with my taglib
Date Thu, 21 Jul 2005 05:35:11 GMT
On 7/19/05, Luca Passani <passani@eunet.no> wrote:
> Martin Cooper wrote:
> 
> >
> >Pointer 1 would be to ask about this on the Struts lists rather than
> >the Taglibs lists, since the Struts taglibs are part of, uh, Struts,
> >not Taglibs. ;-)
> >
> >
> you are right of course. It's just that I knew that you (one of the
> major authors behind the Struts taglibs)
> are on this list too :)

Um, I'm also on the Struts lists, believe it or not... ;-)

> >Pointer 2 would be to create your tag by extending the Struts
> ><html:link> tag. See:
> >
> >http://struts.apache.org/userGuide/struts-html.html#link
> >
> >
> this does not really apply, I am afraid. WALL is for creating apps for
> mobile devices,
> i.e. multiserving WML, XHTML-MP and CHTML to mobile devices, i.e. not HTML.
> 
> http://wurfl.sourceforge.net/java/tutorial.php
> 
> Please note that <wall:a href="url"> could turn into an hyperlink for
> some devices and
> into an <option onpick="url"> for other (WML) devices.
> There is no point for me requiring that WALL users install Struts.The to
> things are independent.
> What I really want is to mimic in my tag what html:link does behind the
> scenes to turn the link to an action
> into an actual link.

You probably want to look at the way the Struts tags are implemented,
and especially the latest code in 'trunk'. The code you want has most
likely already been extracted into the RequestUtils and TagUtils
classes, outside the tags themselves.

--
Martin Cooper


> Thanks
> 
> Luca
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: taglibs-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: taglibs-user-help@jakarta.apache.org
> 
>

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


Mime
View raw message