I'm sure you can only pass args in scripting code <% String bankst = customerResults.getBanks(bankCode) %> <bean:write name="banks" />
I curious why you can't add a method to your action class that makes this unnecessary in the jsp? Keith. --- "Strichartz, Beth" <[EMAIL PROTECTED]> wrote: > Please...seriously need some help with this. > > -----Original Message----- > From: Strichartz, Beth > [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 18, 2001 3:41 PM > To: [EMAIL PROTECTED] > Subject: Help with bean:write\bean:define whn > property requires an > argumen t > > > Hi, > > I need to call a method in my Formbean that returns > an object but, requires > a string as an argument > > For example: > > <bean:define id="bankCode" > name="customerResults" property="bankID"/> > > <bean:write name="customerResults" > property="banks(bankCode)" > filter="true"/> > > > How can I pass arguments ?? or cant I? > > Thanks...please help > > > > > This message contains information which may be > confidential and privileged. > Unless you are the addressee (or authorized to > receive for the addressee), > you may not use, copy or disclose to anyone the > message or any information > contained in the message. If you have received the > message in error, please > advise the sender by reply e-mail, and delete or > destroy the message. > > Thank you. > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > This message contains information which may be > confidential and privileged. > Unless you are the addressee (or authorized to > receive for the addressee), > you may not use, copy or disclose to anyone the > message or any information > contained in the message. If you have received the > message in error, please > advise the sender by reply e-mail, and delete or > destroy the message. > > Thank you. > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > __________________________________________________ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>