Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

set-property element in Struts

 
jose chiramal
Ranch Hand
Posts: 266
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 368
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

For form beans it is used for DynaActionForm's properties.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 266
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 12617
IntelliJ IDE Ruby
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic