I like all the ideas that have been presented so far, keep it up guys! One thing that boxed said here does remind me of an interesting point:
By using package prefixes for a standard file (instead of naming the class completely each time), things like IDEA's refactoring tools can't work as well. Not a huge deal, but something to mentioned. Of course, if you could just not use the package defaults if you want to do that. -Pat ----- Original Message ----- From: "boxed" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 17, 2002 10:37 PM Subject: Re: [OS-webwork] XWork configuration > > I think it will be more obvious if we do something similar to ant : > > > > <actions> > > <package name="standard" prefix="webwork.action.standard" /> > > <package name="weblog" prefix="com.example.weblog.actions" /> > > > > <action name="{weblog}.entry.CreateEntry" alias="CreateEntry"> > > <view name="input">addentry.jsp</view> > > <view name="error">addentry.jsp</view> > > <view name="success">viewentry.jsp</view> > > </action> > > </actions> > > > > This also help to avoid the ambiguity when classes in different package > have > > same name ( Something pretty common actually ). > > I find this rather confusing myself. Why not just do <action > name="com.example.weblog.actions.entry.CreateEntry" alias="CreateEntry"> if > you want to avoid any ambiguitiy? This seems like a lot better idea to me. > Introducing new syntax when the old syntax is clearer and more intuitive > seems like overkill to me. > > // Anders Hovmöller > > > > > ------------------------------------------------------- > This sf.net email is sponsored by: > With Great Power, Comes Great Responsibility > Learn to use your power at OSDN's High Performance Computing Channel > http://hpc.devchannel.org/ > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork ------------------------------------------------------- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork