| Author |
struts 1- create tab
|
Rajni Patel
Ranch Hand
Joined: Sep 03, 2009
Posts: 84
|
|
Hi,
I want to create tab in struts1. I google it , and its different way we can create it. Which is the best way to create tab in struts 1.
thanks
|
 |
Joe Ess
Bartender
Joined: Oct 29, 2001
Posts: 8290
|
|
|
The "best" way is the one that meets your requirements. I've written my own tab code and used JQuery and been satisfied with both.
|
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
|
 |
Rajni Patel
Ranch Hand
Joined: Sep 03, 2009
Posts: 84
|
|
Thanks for reply.
i am using struts1, ejb 3 and oracle. new features I can not add. so with org.apache....'s class , how can I create tab
|
 |
Jaimesh M Ponkia
Greenhorn
Joined: Nov 24, 2010
Posts: 21
|
|
|
I dont think struts 1 provides any taglibs to create tabbed panel. You can go for creating a custom tab as per your need. As Joe suggested, you can use JQuery/Ajax for the same.
|
 |
Rajni Patel
Ranch Hand
Joined: Sep 03, 2009
Posts: 84
|
|
So without using jquery, in struts 1 there is no tag library to create tab.
I have to write my own logic, using javascript or whatever , Do i have to create tab?
Do you have any example?
Thanks
|
 |
Joe Ess
Bartender
Joined: Oct 29, 2001
Posts: 8290
|
|
|
There are many examples, this one for instance.
|
 |
Rajni Patel
Ranch Hand
Joined: Sep 03, 2009
Posts: 84
|
|
Thanks for reply.
Now My tab is working. Now I have save button outside of tab. means only one save button for all tab.
This is working well.
And also in 3rd tab I want to put one add button. but When I configure in struts-config.xml , But error is coming.
Is anybody have this type of example or guide me.
Thanks.
|
 |
 |
|
|
subject: struts 1- create tab
|
|
|