- Open tabs.jsp modify 'tabNames' add csv of tabs(if the tab-name is same that of your method while clicking the tab will invoke the particular method for example if tab-name specified is "Add Page" it will invoke loadAddPage(then it will load add page) ).
- If a new page have to be loaded then add method for that page in View${Entity}Action.java
- If the display name and methode is defferent then specify particular url for each tabs means
add new attribute in liferay-tag: url0,url1,url2 then append the particular method name to the url, for example if you specify 'New' instead of Add Page in the tag-name then append this code to the particular url(for the first tab it is url0) "&METHOD=Add Page"
Tuesday, April 8, 2008
Tabs
to add a new tab
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment