Any online tutorial for writing a customised tag ?
mraible wrote: > > On 6/7/07, Martin Ravell <[EMAIL PROTECTED]> wrote: >> Thanks Matt. Will check this out. >> >> Another issue: If I have an old taglib which is expecting an object to be >> passed into it is there some syntax I can use in the jsp to get this from >> my Action's ValueStack? (I have a getter in my Action which returns the >> expected object). > > I'm guessing so, unfortunately, I don't know the syntax. > > Matt > >> >> >> Marty >> >> > You might try looking at existing classes in >> > org.apache.struts2.views.jsp >> > >> (http://struts.apache.org/2.0.6/struts2-core/apidocs/org/apache/struts2/views/jsp/package-summary.html). >> > You also might consider extending SimpleTag, which is part of JSP 2.0. >> > >> > http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSPTags7.html >> > >> > Matt >> > >> > On 6/7/07, Martin Ravell <[EMAIL PROTECTED]> wrote: >> >> I'm going to have a crack at building a taglib for my 2m5 application >> >> and >> >> was wondering about maing this understand the Struts2 object graph >> >> (OGNL?) >> >> >> >> Has anyone on the list done anything like this before? If so I'd >> >> appreciate it if you could share any resource URLs, tutorials etc that >> >> you >> >> may have come across. >> >> >> >> >> >> Cheers >> >> Marty >> >> >> >> --------------------------------------------------------------------- >> >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> >> > >> > >> > -- >> > http://raibledesigns.com >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: [EMAIL PROTECTED] >> > For additional commands, e-mail: [EMAIL PROTECTED] >> > >> > >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > > -- > http://raibledesigns.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Struts2-taglibs-tf3882494s2369.html#a11020861 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
