Didn't like the JSTL Result suggestion, I guess ;-). As a JavaBean,
BasicDynaBean only exposes two properties: "dynaClass" and "class" (both are
read-only). So, that's all JSTL can get out of a BasicDynaBean instance. The
Struts tags, on the other hand, leverage BeanUtils/PropertyUtils so they're
perfectly capable of dealing with DynaBean properties. This is the Struts
equivalent to your JSTL snippet, but it'll actually work if "person" is a DynaBean:

<bean:define id="seq" name="person" property="seq"/>

Quoting jack beany <[EMAIL PROTECTED]>:

> Short and simple this time,
> 
> What's best practice on displaying (in either jstl or struts) values from 
> within a BasicDynaBean?
> 
> Ideally want a working version of <c:set var="seq" value="${person.seq}"/>
> 
> RowSetDynaClass is one of the best things in struts but has to be one of the
> 
> worst documented.
> 
> Thanks!

-- 
Kris Schneider <mailto:[EMAIL PROTECTED]>
D.O.Tech       <http://www.dotech.com/>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to