Re: [Webwork-devel] DefaultActionFactory change
Brought to you by:
baldree,
rickardoberg
|
From: Matt B. <ma...@sm...> - 2002-01-03 03:25:38
|
Well, I don't think this is a good idea. The problem is several. 1. Multiple Alias proxies. This could be a problem with two caches. 2. Major problem is a possible circular relationship of having an alias with a command and an Action with a command. So, I guess the bottom line is view aliases should just point to JSP or Actions without commands. ----- Original Message ----- From: "Matt Baldree" <ma...@sm...> To: "Webwork-Developer" <web...@li...> Sent: Wednesday, January 02, 2002 5:43 PM Subject: [Webwork-devel] DefaultActionFactory change > I modified DefaultActionFactory to solve the following problem. > > 1. <A href="formtest!default.action">Form test</A> > > For this action, the command needs to be stripped and then the alias looked > up. > > 2. <A href="testfoo.action">Misc. tests</A> - this alias maps to Test!foo > > For this action, the alias needs to looked up and then the command stripped. > > The simplest solution since aliases are cached was to surround command proxy > with alias proxy. This seems to solve the problem and the other tests work. > > -Matt > > > > _______________________________________________ > Webwork-devel mailing list > Web...@li... > https://lists.sourceforge.net/lists/listinfo/webwork-devel > > |