Maurice,

Well when you're ready to address it let me know. I'm officially volunteering to scrub the code and style it however we decide. I personally think the current style is hard to read and pretty non-standard from what I've seen of code out there. It was a *definite* obsticle to my understanding of WW.

Regards,
--Bill

Maurice Parker wrote:

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


Kinda. I always tried to make my code look as much like Rickard's as possible, but he uses a three-space tab and starts new braces on a newline. Since that's different than what most people use (four-space tab and brace on same line) it's always been difficult for follow. I hate having to reconfigure my editor when switching projects.

Standardizing the code format is something I wanted to address, but was putting off until other more pressing matters were handled.

-Maurice

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



-------------------------------------------------------
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