I'd also look at SecureVelocityScreen and doing this in the isAuthorized method (if you're using the built in stuff).
> -----Original Message----- > From: Edgar Gonz�lez [mailto:[EMAIL PROTECTED] > Sent: Monday, June 30, 2003 1:08 PM > To: Turbine Users List > Subject: Re: getting parameters of screen > > > Hi, > > I don't know if I undertand your requirement, but, are you tried: > data.getParameters().getString("par2") > > Hope this help you > > Edgar > > > ----- Original Message ----- > From: "Zamek" <[EMAIL PROTECTED]> > To: "Turbine Users List" <[EMAIL PROTECTED]> > Sent: Monday, June 30, 2003 9:18 AM > Subject: getting parameters of screen > > > > Hello All, > > > > When I call a screen with parameters forexample: > > > > http://server/app/servlet/app/template/screen.vm/par1/xx/par2/yy/.. > > ../parn/nnn > > > > how can I get parameters part of this url in string format? > > "par1/xx/par2/yy.. ../parn/nnn" > > > > I need it, because if user doesn't has permission to run this screen, I > have > > to forward it to Login.vm, and after a succesfully login I need it to > forward > > to original screen. > > > > I can put screen with: > > data.getUser().setTemp(NEXT_SCREEN, data.getScreenTemplate()); > > but I cannot pass parameters to this. > > > > -- > > TIA, > > Zoltan Zidarics programmer > > PTE University Pecs, Hungary > > icq: 43288694 > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
