Re: cannot get value using request.getParameter in struts tiles layout file

2006-09-27 Thread Uday Chandra Karrothi
HI vinod, its not the value of print that you need to make hidden. The variable name Print or whatever value you are passing. Try having that varaible as a hiddden property in the form. I hope that helps. I solved one of the problems liek that. But this may not work for you. Thanks Uday On 9/27/

Re: cannot get value using request.getParameter in struts tiles layout file

2006-09-27 Thread Vinod Kumar
Yes, but its showing null. basically, request.getParameter("print") is returning Null even when I pass a value of 1. thanks Vinod --- Antonio Petrelli <[EMAIL PROTECTED]> wrote: > Vinod Kumar ha scritto: > > <% > > > > String printParm1 = request.getParameter( "print" > ); > > > > System.out.pr

Re: cannot get value using request.getParameter in struts tiles layout file

2006-09-27 Thread Antonio Petrelli
Vinod Kumar ha scritto: <% String printParm1 = request.getParameter( "print" ); System.out.println("printParm1 = "+printParm1); %> This may be a stupid question but You suppose to see the "print" parameter value in the console, right? Ciao Antonio -

Re: cannot get value using request.getParameter in struts tiles layout file

2006-09-26 Thread Vinod Kumar
Actually, value of "print" variable is not fixed. It can be 0 (not printable) or 1 (printable version). So unless, I could get this value from request.getParameter, I can't even make it hidden. Thanks Vinod --- Uday Chandra Karrothi <[EMAIL PROTECTED]> wrote: > Can you use the formBean? > Someth

Re: cannot get value using request.getParameter in struts tiles layout file

2006-09-26 Thread Uday Chandra Karrothi
Can you use the formBean? Something like pgForm.getPrint(); // i am not sure though or you can try this. Declare Print as a hidden variable in the jsp page. That way i think you will be able to access the variable. try this. I hope that works. Uday On 9/26/06, Vinod Kumar <[EMAIL PROTECTED]>