So then how would the situation outlined below work then? I understand the deployment-settings vs. business login parameter issue, but where would those kinds of parameters be set? I don't think in the HTML URL would be a good idea. I like being able to make two different alias names that are similar (same class) but behave differently based on "settings".
-Pat ----- Original Message ----- From: "Rickard Ã-berg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 02, 2003 10:30 AM Subject: Re: [OS-webwork] Action configuration XML [Commands] > Patrick Lightbody wrote: > > See, I just think it's invaluable for action re-use to be able to lock down > > certain parameters for various aliases, even if the action classs is the > > same. For example: > > > > In my document/workflow management system, we have various businessgroups > > that can create documents. Ideally, there could be a FooCreateDocument and > > BarCreateDocument action aliasing, both maping to com.cisco.CreateDocument. > > The only different would be that each alias would have a different value for > > the "businessGroup" parameter (one has Foo, one has Bar). Yes, this could be > > done with CreateDocument.action?businessGroup=Foo, but then the burdon is on > > the HTML/JSP writers and not the application designer. > > Hm.. but that doesn't sound like an application deployment setting > (which action parameterizing would be). Sounds more like a business > logic parameter to me. > > And if you really want to an action configuration like that, the > Preferences API should do the trick. > > /Rickard > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork