jQuery in Action, 2nd edition*
The moose likes Struts and the fly likes set-property element in Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "set-property element in Struts" Watch "set-property element in Struts" New topic
Author

set-property element in Struts

jose chiramal
Ranch Hand

Joined: Feb 12, 2010
Posts: 266
What is the use of set-property element . It is supported by most all of the elements
that define Struts entities such as form-bean, action-mapping, action,
and plug-in.
Shailesh Narkhede
Ranch Hand

Joined: Jul 10, 2008
Posts: 365
Hi,

For form beans it is used for DynaActionForm's properties.

Thanks,
Shailesh
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

It lets you set whatever arbitrary properties are supported by the underlying element.

You know you can just look at the source code, right?
jose chiramal
Ranch Hand

Joined: Feb 12, 2010
Posts: 266
I cam across this :All set-property elements for a given plug-in will be processed prior to calling theplug-in’s init( ) method. This allows the plug-in to use the value of the properties in
the init( ) method.


Any example of this ?
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

http://struts.apache.org/1.x/userGuide/building_view.html#Tiles
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: set-property element in Struts
 
Similar Threads
Struts Validation Plug In
Can I use the paramProperty from a hyperlink in a textfield in the called .jsp-page?
form bean
SSL
Struts - tiles