struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adolfo Miguelez" <>
Subject Re: write all bean properties
Date Mon, 19 Aug 2002 13:45:00 GMT

What I did was passing another bean as an arrayList with the names of all 
the properties.


<logic:iterate name="NamesBean" id="name">
    <bean:write name="bean" property="<%=name%>"/>

Not too acurate, but if i did not mistake, it works. If you find I cleaner 
solution, let me know. I specially hate the scriplet, but....


>Reply-To: "Struts Users Mailing List" <>
>Subject: write all bean properties
>Date: Mon, 19 Aug 2002 15:35:08 +0200 (MEST)
>I apologize because this is probably a newbie question but I couldn't find
>any answers in the archives, so I'm posting here:
>I'm looking for a way to display all my bean properties.
>So I have this bean that holds all this user information and might change
>but I don't want to change the output page all the time.
>So I'm looking for something like this:
>User-Infos: <bean:write name="user" property="*" scope="request"/>
>but that doesn't work ...
>Any ideas.
>Thanx Matt
>GMX - Die Kommunikationsplattform im Internet.
>To unsubscribe, e-mail:   
>For additional commands, e-mail: 

Chat with friends online, try MSN Messenger:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message