fr:tabview question

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

fr:tabview question

Frank
Hi all,

I am upgrading an orbeon app to version 3.8. I note in the release notes (for tabview) that:

Limitations

  • Children of fr:tabview can only be fr:tab elements. Other XForms markup is not support at this point; a consequence, you can't dynamically generate tabs by using an xforms:repeat around fr:tab.

my question:
Can fr:tab elements contain fr:tabview elements (ie can we still have nested tabs as in previous versions of orbeon)?

Thanks in advance,
Franco



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: fr:tabview question

Alessandro  Vernet
Administrator
Frank,

Yes, you can nest tabviews, i.e. you can have a <fr:tabview> inside an
<fr:tab> of an outer <fr:tabview>. From Orbeon Forms perspective, you
can nest tabviews as deeply as you want, even if after a few levels
your users might get a bit confused :).

Alex

On Thu, Sep 23, 2010 at 6:57 PM, Frank <[hidden email]> wrote:

> Hi all,
> I am upgrading an orbeon app to version 3.8. I note in the release notes
> (for tabview) that:
>
> Limitations
>
> Children of fr:tabview can only be fr:tab elements. Other XForms markup is
> not support at this point; a consequence, you can't dynamically generate
> tabs by using an xforms:repeat around fr:tab.
>
> my question:
> Can fr:tab elements contain fr:tabview elements (ie can we still have nested
> tabs as in previous versions of orbeon)?
> Thanks in advance,
> Franco
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing
> list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Re: fr:tabview question

Frank
Thanks Alex,

Thats interesting - I will try again. But there maybe a little bug.

The reason I asked is that when I tried to nest them, Say an outer tab group with 4 tabs and an inner tab group with
3 tabs then when I select an inner tab (lets say the 3rd inner tab, then the 3rd outer tab would get highlighted (as well as the 3rd inner tab). 
Seems like the code/css etc that handles highlighting the selected tab was getting confused. The tabs work in that the correct tab contents are displayed, but the wrong tab headers are highlighted.

Please find attached a very simple testcase which does not behave as expected on my installation 
(Orbeon Forms Orbeon Forms 3.8.0.201005141856 CE - tomcat 6.0.26)

I would be interested to know if this works as expected for you.




Thanks again,
Frank

On 22/10/2010, at 11:43 AM, Alessandro Vernet wrote:

Frank,

Yes, you can nest tabviews, i.e. you can have a <fr:tabview> inside an
<fr:tab> of an outer <fr:tabview>. From Orbeon Forms perspective, you
can nest tabviews as deeply as you want, even if after a few levels
your users might get a bit confused :).

Alex

On Thu, Sep 23, 2010 at 6:57 PM, Frank <[hidden email]> wrote:
Hi all,
I am upgrading an orbeon app to version 3.8. I note in the release notes
(for tabview) that:

Limitations

Children of fr:tabview can only be fr:tab elements. Other XForms markup is
not support at this point; a consequence, you can't dynamically generate
tabs by using an xforms:repeat around fr:tab.

my question:
Can fr:tab elements contain fr:tabview elements (ie can we still have nested
tabs as in previous versions of orbeon)?
Thanks in advance,
Franco


--
You receive this message as a subscriber of the [hidden email] mailing
list.
To unsubscribe: [hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws





--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet

--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

viewTest.xhtml (2K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: fr:tabview question

Alessandro  Vernet
Administrator
Frank,

This is bug, and thank you for the test case. I fixed this, and the
fix will be in the next nightly build. When you get a chance to try
this out, you'll let us know if this works for you. For reference, the
bug is:

http://forge.ow2.org/tracker/index.php?func=detail&aid=315571&group_id=168&atid=350207

Alex

On Thu, Oct 21, 2010 at 9:27 PM, Frank <[hidden email]> wrote:

> Thanks Alex,
> Thats interesting - I will try again. But there maybe a little bug.
> The reason I asked is that when I tried to nest them, Say an outer tab group
> with 4 tabs and an inner tab group with
> 3 tabs then when I select an inner tab (lets say the 3rd inner tab, then the
> 3rd outer tab would get highlighted (as well as the 3rd inner tab).
> Seems like the code/css etc that handles highlighting the selected tab was
> getting confused. The tabs work in that the correct tab contents are
> displayed, but the wrong tab headers are highlighted.
> Please find attached a very simple testcase which does not behave as
> expected on my installation
> (Orbeon Forms Orbeon Forms 3.8.0.201005141856 CE - tomcat 6.0.26)
> I would be interested to know if this works as expected for you.
>
>
> l
> Thanks again,
> Frank
> On 22/10/2010, at 11:43 AM, Alessandro Vernet wrote:
>
> Frank,
>
> Yes, you can nest tabviews, i.e. you can have a <fr:tabview> inside an
> <fr:tab> of an outer <fr:tabview>. From Orbeon Forms perspective, you
> can nest tabviews as deeply as you want, even if after a few levels
> your users might get a bit confused :).
>
> Alex
>
> On Thu, Sep 23, 2010 at 6:57 PM, Frank <[hidden email]> wrote:
>
> Hi all,
>
> I am upgrading an orbeon app to version 3.8. I note in the release notes
>
> (for tabview) that:
>
> Limitations
>
> Children of fr:tabview can only be fr:tab elements. Other XForms markup is
>
> not support at this point; a consequence, you can't dynamically generate
>
> tabs by using an xforms:repeat around fr:tab.
>
> my question:
>
> Can fr:tab elements contain fr:tabview elements (ie can we still have nested
>
> tabs as in previous versions of orbeon)?
>
> Thanks in advance,
>
> Franco
>
>
> --
>
> You receive this message as a subscriber of the [hidden email] mailing
>
> list.
>
> To unsubscribe: mailto:[hidden email]
>
> For general help: mailto:[hidden email]?subject=help
>
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>
>
>
>
> --
> Orbeon Forms - Web forms, open-source, for the Enterprise -
> http://www.orbeon.com/
> My Twitter: http://twitter.com/avernet
>
> --
> You receive this message as a subscriber of the [hidden email] mailing
> list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing
> list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
Orbeon Forms - Web forms, open-source, for the Enterprise -
http://www.orbeon.com/
My Twitter: http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
--
Follow Orbeon on Twitter: @orbeon
Follow me on Twitter: @avernet
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: fr:tabview question

Frank
Alex,

Tabs now work as expected. Thanks again,

Frank

On 24/10/2010, at 5:02 AM, Alessandro Vernet wrote:

> Frank,
>
> This is bug, and thank you for the test case. I fixed this, and the
> fix will be in the next nightly build. When you get a chance to try
> this out, you'll let us know if this works for you. For reference, the
> bug is:
>
> http://forge.ow2.org/tracker/index.php?func=detail&aid=315571&group_id=168&atid=350207
>
> Alex
>
> On Thu, Oct 21, 2010 at 9:27 PM, Frank <[hidden email]> wrote:
>> Thanks Alex,
>> Thats interesting - I will try again. But there maybe a little bug.
>> The reason I asked is that when I tried to nest them, Say an outer tab group
>> with 4 tabs and an inner tab group with
>> 3 tabs then when I select an inner tab (lets say the 3rd inner tab, then the
>> 3rd outer tab would get highlighted (as well as the 3rd inner tab).
>> Seems like the code/css etc that handles highlighting the selected tab was
>> getting confused. The tabs work in that the correct tab contents are
>> displayed, but the wrong tab headers are highlighted.
>> Please find attached a very simple testcase which does not behave as
>> expected on my installation
>> (Orbeon Forms Orbeon Forms 3.8.0.201005141856 CE - tomcat 6.0.26)
>> I would be interested to know if this works as expected for you.
>>
>>
>> l
>> Thanks again,
>> Frank
>> On 22/10/2010, at 11:43 AM, Alessandro Vernet wrote:
>>
>> Frank,
>>
>> Yes, you can nest tabviews, i.e. you can have a <fr:tabview> inside an
>> <fr:tab> of an outer <fr:tabview>. From Orbeon Forms perspective, you
>> can nest tabviews as deeply as you want, even if after a few levels
>> your users might get a bit confused :).
>>
>> Alex
>>
>> On Thu, Sep 23, 2010 at 6:57 PM, Frank <[hidden email]> wrote:
>>
>> Hi all,
>>
>> I am upgrading an orbeon app to version 3.8. I note in the release notes
>>
>> (for tabview) that:
>>
>> Limitations
>>
>> Children of fr:tabview can only be fr:tab elements. Other XForms markup is
>>
>> not support at this point; a consequence, you can't dynamically generate
>>
>> tabs by using an xforms:repeat around fr:tab.
>>
>> my question:
>>
>> Can fr:tab elements contain fr:tabview elements (ie can we still have nested
>>
>> tabs as in previous versions of orbeon)?
>>
>> Thanks in advance,
>>
>> Franco
>>
>>
>> --
>>
>> You receive this message as a subscriber of the [hidden email] mailing
>>
>> list.
>>
>> To unsubscribe: mailto:[hidden email]
>>
>> For general help: mailto:[hidden email]?subject=help
>>
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>>
>>
>>
>> --
>> Orbeon Forms - Web forms, open-source, for the Enterprise -
>> http://www.orbeon.com/
>> My Twitter: http://twitter.com/avernet
>>
>> --
>> You receive this message as a subscriber of the [hidden email] mailing
>> list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email] mailing
>> list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>
>
>
> --
> Orbeon Forms - Web forms, open-source, for the Enterprise -
> http://www.orbeon.com/
> My Twitter: http://twitter.com/avernet
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws