On 4/19/07 12:48 PM, "Skip Hollowell" <[EMAIL PROTECTED]> wrote:
> I am not sure if this is possible, but can I access a bean within a > bean, and grab fields from it within my jsp? Yes, you can, and I do it all the time. Sometimes with multiple levels of nesting (ie: order -> order line item -> order shipment join -> shipment line item -> shipment header -> transport orders) > The AccountBean named account has a Customer Bean named customer, and I > want the first name of that Customer. > <s:property value="account.customer.firstName"/> returns null every time. I assume your action or model has a getAccount() method on it, and account has a getCustomer() method, etc.? > Any ideas? Not really. Just make sure you've got your getX() methods all the way down the chain. Also put lots of <s:property value="..." /> tags down the chain and see where it breaks. Mark --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]