At 3:48 PM -0400 8/3/05, Dave Newton wrote:
Dave Newton wrote:

I have a custom RequestProcessor that wants some initialization values. If I use <property.../> I'm assuming I need JavaBean getter/setters (but I don't event know if that's true). Is there (or can there easily be?) a catch-all for properties defined like this without a getter/setter?

Is this something that reading the JavaBean stuff would tell me?

No, but reading the Struts documentation might help me out :/

Not general-purpose properties (dagnabbit) so I guess I'll have to shoot for a different config file to get what I need.

Struts 1.3 has introduced "general-purpose properties" to most of the configuration objects, settable with a variation of <set-property>

<set-property key="foo" value="bar" />

see http://svn.apache.org/viewcvs.cgi/struts/core/trunk/conf/share/struts-config_1_3.dtd?rev=169898&view=log

Sorry, no plans to back-port this to the Struts 1.2 line.

Joe

--
Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com "Narrow minds are weapons made for mass destruction" -The Ex

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to