Re: [Fwd: Conditional display of components]

2006-06-06 Thread Angelo zerr
Hello, you can use FormView. With FormView you can set a state for a particulary HTML input (butto, text,...). State manage your render (hidden, visible, ,...) for your input. So it's not in your JSP taht you have your condition (logic:equal) but it's your Struts action which decide which input mu

Re: [Fwd: Conditional display of components]

2006-06-05 Thread I HARIKRISHNA
put that contextdto in session I HARIKRISHNA <[EMAIL PROTECTED]> wrote: Create a contextDTO which holds the logged in user credentials like username etc Now in each jsp use logic:equal and decide whether to show or not Pankaj Gupta wrote: Hi, I wish to display some components like buttons an

Re: [Fwd: Conditional display of components]

2006-06-05 Thread I HARIKRISHNA
Create a contextDTO which holds the logged in user credentials like username etc Now in each jsp use logic:equal and decide whether to show or not Pankaj Gupta <[EMAIL PROTECTED]> wrote: Hi, I wish to display some components like buttons and links conditionally meaning if the user is a basi

[Fwd: Conditional display of components]

2006-06-05 Thread Pankaj Gupta
Hi, I wish to display some components like buttons and links conditionally meaning if the user is a basic operator, he should not see a submit button and a link on his page otherwise if a user is an advanced operator he should be allowed to see it. Can somebody please suggest how should I do it.