You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Darren Hill <dh...@724.com> on 2002/09/20 22:00:51 UTC

Whoops .. BRAIN FREEZE!

how do I get the property of a bean into a map?

java.util.Map map = new java.util.Map();
map.put("company",<bean:write name="company" property="name"/>);
map.put("method","view");

<html:link page="/companyDetails.do" name="map">

Darren.

No laughing!

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: Whoops .. BRAIN FREEZE!

Posted by Brandon Goodin <ma...@phase.ws>.
declare a useBean and call the page scope bean and value from your jsp
scriplets.

-----Original Message-----
From: Darren Hill [mailto:dhill@724.com]
Sent: Friday, September 20, 2002 2:01 PM
To: 'Struts Users Mailing List'
Subject: Whoops .. BRAIN FREEZE!


how do I get the property of a bean into a map?

java.util.Map map = new java.util.Map();
map.put("company",<bean:write name="company" property="name"/>);
map.put("method","view");

<html:link page="/companyDetails.do" name="map">

Darren.

No laughing!

--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>