A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
How can we change the button name of a jsp from an action class?
Joined: Feb 15, 2007
Mar 10, 2007 02:53:00
I would like to know how we can change the button name from an action class. Inside the action class a condition is checked and if it becomes true then the submit button in the
should change to edit button. Please give some idea.
Thanks in advance.
Joined: Nov 06, 2000
Mar 10, 2007 06:43:00
Can't you just have the jsp check for this condition and then display the appropriate button?
Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
Joined: Jul 26, 2005
Mar 10, 2007 08:34:00
I guess its not possible from the action class. Instead, add one logic:equal tags to achieve this.
I agree. Here's the link:
subject: How can we change the button name of a jsp from an action class?
reset() funstion is not working
call remote url in struts
Trigger action on combo change
help with struts and a dynamic JSP
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014