on 11-20-2008 12:04 PM
Hai all,
I want to create a tab strip dynamically ie . on a button click event create a tab strip and tab strips content
Can anyone please help me...
Thanks in advance...
Regards,
R.Jude Silvester.
Hi,
Thanks for your idea ..... i am still on the look out for the insertion of some logic in side the tab strip for the tab content... your code was a great help...
Thanks once again...
Regards,
R.Jude silvester
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ayyapa,
Thanks for your code. I tried your code and created a tab in modifyView method. Is it possible to create a tab strip dynamically in onAction method of a view.
Thanks in advance
Regards,
R.Jude silvester
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Following is the code to create a tabstrip,tab and a inputfield as part of it
IWDTabStrip tabStrip = view.createElement(IWDTabStrip.class);
IWDTab tab = view.createElement(IWDTab.class);
IWDAttributeInfo attributeInfo = wdContext.getNodeInfo().getAttribute("<Your Attribute Name>");
IWDInputField inputField = (IWDInputField)view.createElement(IWDInputField.class);
//Binding to context atrribute
inputField.bindValue(attributeInfo);
tab.setContent(inputField);
tabStrip.addTab(tab);
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.