Maurice,

Ok, I'll look into it then.. Yeah, that code is a mess. Have you guys ever tried to enforce a common coding style?

Regards,
--Bill

Maurice Parker wrote:
Bill,

It's supposed to work and does on the local copy I'm using. If the code is gone it's a bug. This stuff used to happen in XMLActionConfiguration. Good luck trying to read it.

-Maurice


Bill Lynch wrote:

Maurice,

Nope, that doesn't work. :-\ Looks like there's really no code to assume your suggestion. The real solution will be code this feature for real. I'd be happy to start looking at it as soon as I have an extra hour or two.

Regards,
--Bill

Maurice Parker wrote:

Try this:

   <action>
       <view name="error">error.jsp</view>
       <view name="input">error.jsp</view>
   </action>



Bill Lynch wrote:

All,

Is it possible to have a global view defined in the actions.xml/views.properties file? For example, I'd like to define a global error view like so:

<actions>

<view name="error">error.jsp</view>

<action name="foo">
<view name="bar">bar.jsp</view>
</action>

<action name="foo2">
<view name="your">mom.jsp</view>
<view name="error">custom-error.jsp</view>
</action>

</actions>

Is this possible? If not, what are the thoughts on this feature? From what little I know of Struts, this sort of thing is possible.

Regards,
--Bill



-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork



-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork




-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork



-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork


-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
Opensymphony-webwork mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork

Reply via email to