> -----Original Message----- > From: Felipe Schnack [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 30, 2003 3:34 PM > To: Tomcat Users List > Subject: RE: pass complex object to custom tag > > > The tag shouldn't have rtexexpr set to true in its TLD too? > (specifically for "src" attribute, of course)
Oh yeah, that too :-) -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Washington, DC 20036 Phone 202-463-4860 ext. 258 / Fax 202-463-4863 > > On Thu, 2003-01-30 at 18:31, Tim Moore wrote: > > > > > -----Original Message----- > > > From: Erik Price [mailto:[EMAIL PROTECTED]] > > > Sent: Thursday, January 30, 2003 3:22 PM > > > To: Tomcat Users List > > > Subject: pass complex object to custom tag > > > > > > > > > Is there a way to pass something other than a string to a > custom tag > > > through the attributes? > > > > > > I have a class I've written and I'd love to find a way to > > > pass it to a > > > custom tag for processing. This would separate the display > > > logic from > > > the business logic. > > > > > > <jsp:useBean id="user" class="UserBean" /> > > > > > > <ptcbe:mainpagetable src="<%= user.getBudgetList() %>" /> > > > > This didn't work? Just make your tag handler have a method like > > setSrc(UserBean src) and that should work fine. > > > > -- > > Tim Moore / Blackboard Inc. / Software Engineer > > 1899 L Street, NW / 5th Floor / Washington, DC 20036 > > Phone 202-463-4860 ext. 258 / Fax 202-463-4863 > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- > > Felipe Schnack > Analista de Sistemas > [EMAIL PROTECTED] > Cel.: (51)91287530 > Linux Counter #281893 > > Centro Universit�rio Ritter dos Reis > http://www.ritterdosreis.br > [EMAIL PROTECTED] > > Fone/Fax.: (51)32303341 > > > --------------------------------------------------------------------- > 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]
