Re: Simplifying struts-config.xml

2004-07-09 Thread Michael McGrady
Thanks, Bill Siggelkow At 10:14 AM 7/9/2004, you wrote: http://struts.apache.org/userGuide/building_controller.html#action_mapping_wildcards - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PR

Re: Simplifying struts-config.xml

2004-07-09 Thread Don Brown
http://struts.apache.org/userGuide/building_controller.html Section 4.10 Don On Fri, 09 Jul 2004 10:12:28 -0700, Michael McGrady <[EMAIL PROTECTED]> wrote: > At 07:57 AM 7/9/2004, you wrote: > > > The new wildcard support would also work, but only if all the root > > paths worked this way. > > >

Re: Simplifying struts-config.xml

2004-07-09 Thread Bill Siggelkow
http://struts.apache.org/userGuide/building_controller.html#action_mapping_wildcards Michael McGrady wrote: At 07:57 AM 7/9/2004, you wrote: > The new wildcard support would also work, but only if all the root paths worked this way. > > > > > path='/*' > > type='com.crackwillow.struts.action.Forw

Re: Simplifying struts-config.xml

2004-07-09 Thread Michael McGrady
At 07:57 AM 7/9/2004, you wrote: > The new wildcard support would also work, but only if all the root paths worked this way. > > > > > path='/*' > > type='com.crackwillow.struts.action.ForwardAction' > > parameter='{1}'/> Does anyone have a quick reference to some documentation on this "new wil

Re: Simplifying struts-config.xml

2004-07-09 Thread Michael McGrady
At 03:16 PM 7/8/2004, you wrote: Sounds like you should get a new xml editor if you care about file real estate. BAL Hi, BAL, Highball? A fundamental aspect of good programming is to avoid mindless repetition. That is what this post was about. You have focused on another unrelated aspect. I pr

Re: Simplifying struts-config.xml

2004-07-09 Thread Don Brown
Yes, this is the exact use case for the wildcard feature. The search order when trying to find an action mapping goes 'exact match' -> 'wildcard in order listed' -> 'unknown'. Therefore, you could define several generic wildcard mappings to match most requests but still be able to write specific

Re: Simplifying struts-config.xml

2004-07-09 Thread Joe Germuska
ly the use case for that feature. Joe BAL - Original Message - From: "Michael McGrady" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, July 08, 2004 5:44 PM Subject: Simplifying struts-config.xml Is there a way to do t

Re: Simplifying struts-config.xml

2004-07-09 Thread Brian Alexander Lee
Sounds like you should get a new xml editor if you care about file real estate. BAL - Original Message - From: "Michael McGrady" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, July 08, 2004 5:44 PM Subject: Simp

Re: Simplifying struts-config.xml

2004-07-08 Thread Ted Husted
One thing people do is setup the unknown action The ForwardToForwardToAction would example the request to see what path was requested and extract it for use with your ForwardAction. The new wildcard support would also work, but only if all the root paths worked this way. > path='/*' > type=

Re: Simplifying struts-config.xml

2004-07-08 Thread Nick Heudecker
Look into the wildcard plugin. http://www.twdata.org/struts-wildcard/ Michael McGrady wrote: Is there a way to do the following using less real-estate in struts-config.xml? If not, there should be: --

RE: Simplifying struts-config.xml

2004-07-08 Thread Jim Barrows
McGrady [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 08, 2004 2:45 PM > To: Struts Users Mailing List > Subject: Simplifying struts-config.xml > > > Is there a way to do the following using less real-estate in > struts-config.xml? If not, there should be: > > > &

Simplifying struts-config.xml

2004-07-08 Thread Michael McGrady
Is there a way to do the following using less real-estate in struts-config.xml? If not, there should be: - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-