On Thu, Jan 10, 2002 at 06:15:38PM -0800, Jack Axaopoulos wrote:
> 
> So the correct URL is ../servlet/turbine/template/bank,checking,AccountView.vm
> Ok that works....Cool... this is all coming together now.
> 
> Now what if I want an action to execute before AccountView.vm?
> 
> What would the URL look like?
> 
> The following works, but is there a better way?
> 
>..servlet/turbine/template/bank,checking,AccountView.vm?action=bank.checking.EnterRecord

I'm new to Turbine (haven't actually used it yet), but after silently
hanging out on this mailing list, I think you want pass all your
parameters as key/value pairs separated with a '/' character, so the
preferred way for the above url would be:

..servlet/turbine/template/bank,checking,AccountView.vm/action/bank.checking.EnterRecord

You can also shorten the classname of your action class in the url by
editing your "module.packages" property in TurbineResources.properties
file.  For exmample, add "bank.checking" to the appropriate class path.

I'm not really sure what you meant by "better way", but I hope this
helps.

Thanks,
Pete

-- 
Peter Kazmier                                 http://www.kazmier.com
PGP Fingerprint   4FE7 8DA3 D0B5 9CAA 69DC  7243 1855 BC2E 4B43 5654

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to