The tab's url attribute is working as expected. The tab component extends
from the hyperlink component and hence when you try to assign an url
attribute to the tab component, navigation kicks in and it redirects you to
the url referred to in the tab. If you want to display different pages in
each tab, you could try putting an iframe inside each tab of the tabset and
assign the url of fthe page you want to navigate to, in that iframe.
<webuijsf:tabset ...>
<webuijsf:tab ...>
<webuijsf:iframe url="
http://google.com" />
</webuijsf:tab>
...
...
</webuijsf:tabset>
-Venky
On Sat, Jul 26, 2008 at 3:27 AM, Rebecca Searls <Rebecca.Searls_at_sun.com>wrote:
>
>
> -------- Original Message --------
> Subject: Re: problem displaying content in a webuijsf:tab
> Date: Fri, 25 Jul 2008 17:24:39 -0400
> From: Dan Labrecque <Dan.Labrecque_at_Sun.COM>
> To: Rebecca.Searls_at_Sun.COM
> CC: Roger Kitain <Roger.Kitain_at_Sun.COM>
> References: <488A2137.50108_at_Sun.COM> <488A274E.6020109_at_sun.com>
>
> I'm not familiar with the workings of tab, but you can try the
> users_at_woodstock.dev.java.net alias. Ratnadeep Bhattacharjee was the
> person who created this particular widget, whom is still at Sun.
> Unfortunately, the Woodstock team was reassigned during the latest re-org.
>
> Dan
>
> Roger Kitain wrote:
>
>> Hi Rebecca,
>>
>> I'm not up on the Woodstock component set. Your bet would
>> be to contact someone on the Project Woodstock team.
>>
>> Dan - is there someone Rebecca can contact?
>>
>> Thanks, Roger.
>>
>> Rebecca Searls wrote:
>>
>>> Roger,
>>>
>>> I'm proto-typing some screens for MEP. I'm using the webuijsf
>>> components.
>>> I've defined a tabset with 2 tabs. For the time being I want each tab
>>> to display a jsp page I have created. I've having trouble getting
>>> this
>>> working properly. If I define the jsp page in the url attribute of
>>> the
>>> tabs, the active (top) tab does not display the jsp page contents.
>>> Any
>>> other tab selected will jump to the jsp page, loosing the tabs; not
>>> quite
>>> what I wanted. If I define the url in the target attribute of the tab
>>> the
>>> jsp page content is not displayed but I can select all the tabs. How
>>> can
>>> I get this to work without fully coding this?
>>>
>>> I'm also trying to jump to a jsp page when "onclick" of a webuijsf
>>> button
>>> without success. Can you advise how to fix this?
>>>
>>>
>>>
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_woodstock.dev.java.net
> For additional commands, e-mail: users-help_at_woodstock.dev.java.net
>
>