Wesley Lemke said:
> First of all, thanks everyone for the help so far.  I do have working
> code using iterator tags, but the display tags would be much nicer.
>
> When I try your suggestion below:
>
> String pin = (String)(pageContext.getAttribute("row")).getPin();
>
> The compiler is telling me that getPin() is not defined for type
> Object....

You need to cast the object you're getting from the page context to the
appropriate object type:

String pin = ((MyFormBean) pageContext.getAttribute("row")).getPin();

Of course, use whatever that class actually is instead of MyFormBean :^) 
You shouldn't need the (String) cast unless getPin() returns something
that's not a String that needs to be cast explicitly.

-- 
Rick Herrick
[EMAIL PROTECTED]

I haven't got time for inner peace.

Get out of control, but appear under control. It's not bad to alarm other
people, though--it's good for them.--Hunter S. Thompson


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
displaytag-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to