I'm not quite sure what you are after. Can you give a more concrete example?
----- Original Message ----- From: "Aapo Laakkonen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, May 27, 2002 5:37 AM Subject: RE: [Webwork-user] Using views as an action > >> What is the proper way to map an action directly to a view? > >> > >> WebWork examples has one example of this, but it doesn't seem to work > >> on webwork 1.0.3: > >> > >> jspaction.action=jspaction.jsp jspaction.success=jspactionsuccess.jsp > >> jspaction.error=jspactionerror.jsp > > > > Why do you need a mapping? Why not just call jspaction.jsp? > > Let's say I propably want to do something processing in the future with > that action, but do not currently need to do anything. So simply > forwarding to a view. If I have 100 links everywhere in my application > to point that action.jsp... I have to change all of them when I want to > have some processing made prior forwarding to view... so I change all > the 100 refs to action.action. But If I can do this mapping straight via > views.properties or action.xml file then I just need to modify that file > (and of cource propably write an proper action class to do the work). > > I do not want to call action from the view, because I think that it's > not the views work to do manual execution of actions. Instead I want to > them happen transparently to a view. And I that processing gives me some > output, then I update a view to show that information. > > I also do not want to write any dummy classes that justs forwards to a > view, but does not do anything else. > > Cheers > Aapo > > > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > _______________________________________________ > Webwork-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/webwork-user > > _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ Webwork-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webwork-user