Hello,

I have the following requirement I would like to realize and I ask myself
whether it is possible with struts2 tabbed pane (right now after some
attempts I was not successful):

I have hierarchical data which are shown in tabs.

Sample: <ObjectA> have Collection of <ObjectB>

now presentation of that is the following:

- ViewA for <ObjectA> has tabed pane with:
* tab 1: (local) main information of <ObjectA>
* tab 2: (remote) other information of <ObjectA>
* tab 3: (remote) list of <ObjectB>, by clicking on special <ObjectB> you
are forwarded to:

- ViewB for <ObjectB> has tabed pane with:
* tab 1: (local) main information of <ObjectB>
* tab 2: (remote) other information of <ObjectB>

Now here in this view I would like to add a special tab3:
* tab 3: label something like "back", which will forward the user
immediately to ViewA
(in addition it would be nice if this special tab could have some extra css
formating, for instance shown on right side and so on ...)

So what I mean is pretty much the same like an anchor (<s:a>-tag), but
rendering as "special tab" on a user friendly position and styled comparable
to the normal tabs ...

Can anybody tell me whether this is possible
a) with configuring tabbed panes / divs
or
b) some workaround which could realize most of the requirement? 

meanwhile I was able to realize the requirement, but it is really a dirty
hack and render only in firefox:

...
<s:url id="goback" value="/traegerData_traeger_show.action" />
 
<!-- really a hack, temporary -->
<div class="dojoTab current" style="float:right;">
<div>
<s:a href="%{goback}"><s:text name="back.title" /></s:a>
</div>
</div>
 
<s:tabbedPanel id="tabpanel_einrichtung" >
<s:div ...
...


Its really dirty (simulates an dojo tab), but from gui perspective it shows
exactly what I want ...


Thank you very much for any recommendations in advance,
Basti
-- 
View this message in context: 
http://www.nabble.com/tabbed-panel%3A-tab-which-directly-calls-other-view-%28like-anchor%29--tf4640952.html#a13254946
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to