using fr:Datatable within a fr:tabview

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

using fr:Datatable within a fr:tabview

alex sharaz-3
Hi,

I'm trying to standardise my orbeon forms on a two tab fr:tabview setup.

The 1st tab displays information using fr:datatable while the second  
tab is used to input new info into the back-end database.
A snippet is shown at the end of this email.

While everything works, one small problem is that I want to make the  
size of the datatable "tied" to the size of <fr:tabview><fr:tab> . At  
the moment  if you've got a big enough browser window the data table  
sits quite nicely in the <fr:tab> area. If you resize the browser  
window the :<fr:tab> area resizes quite happily but the data table  
doesn't. If possible I'd like te data table to resize as will with  
scrollbars appearing.

Is this doable?
Rgds
Alex


<fr:tabview>
    <fr:tab>
       <fr:label>
View/Delete Client machines
       </fr:label>
<xhtml:p>
<xhtml:center>
  <fr:datatable paginated="true" rowsPerPage="20" scrollable="both"  
width="1050px" height="500px">
              <xhtml:thead>
                 <xhtml:tr>
                         <xhtml:th fr:sortable="true"  
fr:resizeable="true">MAC Address</xhtml:th>
                         <xhtml:th fr:sortable="true"  
fr:resizeable="true">User Id</xhtml:th>
                         <xhtml:th fr:sortable="true"  
fr:resizeable="true">When added</xhtml:th>
                         <xhtml:th fr:sortable="true"  
fr:resizeable="true">Authenticated VLAN</xhtml:th>
                         <xhtml:th fr:sortable="true"  
fr:resizeable="true">Unauthenticated VLAN</xhtml:th>
                         <xhtml:th fr:sortable="true"  
fr:resizeable="true">Comment</xhtml:th>
                 </xhtml:tr>
                 </xhtml:thead>
                 <xhtml:tbody>
                    <xforms:repeat nodeset="instance('netdev-
instance')/radius_devices/radius_client" id="usersRepeat">
                    <xhtml:tr>
                       <xhtml:td>
                         <xforms:output ref="mac_address"/>
                       </xhtml:td>
                       <xhtml:td>
                         <xhtml:center>
                         <xforms:output ref="user_name"/>
                         </xhtml:center>
                       </xhtml:td>
        .........
               </xhtml:tbody>
         </fr:datatable>
   </fr:tab>
    <fr:tab>
       <fr:label>Add a new MAC address</fr:label>
        <xhtml:p>
            <xhtml:group>
                <xhtml:p>Fill in the details of any new client  
machines below</xhtml:p>
.......
</fr:tab>
</fr:tabview>




--
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
|

Out of Office AutoReply: using fr:Datatable within a fr:tabview

pappleby
Out of Office AutoReply: using fr:Datatable within a fr:tabview

I am out of the office until 26th July

***********************************************************************************************

This email, including any attachment, is confidential and may be legally privileged. If you are not the intended recipient or if you have received this email in error, please inform the sender immediately by reply and delete all copies from your system. Do not retain, copy, disclose, distribute or otherwise use any of its contents.

 

Whilst we have taken reasonable precautions to ensure that this email has been swept for computer viruses, we cannot guarantee that this email does not contain such material and we therefore advise you to carry out your own virus checks. We do not accept liability for any damage or losses sustained as a result of such material.

 

Please note that incoming and outgoing email communications passing through our IT systems may be monitored and/or intercepted by us solely to determine whether the content is business related and compliant with company standards.

***********************************************************************************************

The Stationery Office Limited is registered in England No. 3049649 at 10 Eastbourne Terrace, London, W2 6LG

 

Reply | Threaded
Open this post in threaded view
|

Re: using fr:Datatable within a fr:tabview

Alessandro  Vernet
Administrator
In reply to this post by alex sharaz-3
Alex,

Instead of setting width in pixels on the <fr:datatable>, have you
tried setting width="100%"? Would that work in your case?

Alex

On Monday, July 19, 2010, alex sharaz <[hidden email]> wrote:

> Hi,
>
> I'm trying to standardise my orbeon forms on a two tab fr:tabview setup.
>
> The 1st tab displays information using fr:datatable while the second tab is used to input new info into the back-end database.
> A snippet is shown at the end of this email.
>
> While everything works, one small problem is that I want to make the size of the datatable "tied" to the size of <fr:tabview><fr:tab> . At the moment  if you've got a big enough browser window the data table sits quite nicely in the <fr:tab> area. If you resize the browser window the :<fr:tab> area resizes quite happily but the data table doesn't. If possible I'd like te data table to resize as will with scrollbars appearing.
>
> Is this doable?
> Rgds
> Alex
>
>
> <fr:tabview>
>    <fr:tab>
>       <fr:label>
> View/Delete Client machines
>       </fr:label>
> <xhtml:p>
> <xhtml:center>
>  <fr:datatable paginated="true" rowsPerPage="20" scrollable="both" width="1050px" height="500px">
>              <xhtml:thead>
>                 <xhtml:tr>
>                         <xhtml:th fr:sortable="true" fr:resizeable="true">MAC Address</xhtml:th>
>                         <xhtml:th fr:sortable="true" fr:resizeable="true">User Id</xhtml:th>
>                         <xhtml:th fr:sortable="true" fr:resizeable="true">When added</xhtml:th>
>                         <xhtml:th fr:sortable="true" fr:resizeable="true">Authenticated VLAN</xhtml:th>
>                         <xhtml:th fr:sortable="true" fr:resizeable="true">Unauthenticated VLAN</xhtml:th>
>                         <xhtml:th fr:sortable="true" fr:resizeable="true">Comment</xhtml:th>
>                 </xhtml:tr>
>                 </xhtml:thead>
>                 <xhtml:tbody>
>                    <xforms:repeat nodeset="instance('netdev-instance')/radius_devices/radius_client" id="usersRepeat">
>                    <xhtml:tr>
>                       <xhtml:td>
>                         <xforms:output ref="mac_address"/>
>                       </xhtml:td>
>                       <xhtml:td>
>                         <xhtml:center>
>                         <xforms:output ref="user_name"/>
>                         </xhtml:center>
>                       </xhtml:td>
>        .........
>               </xhtml:tbody>
>         </fr:datatable>
>   </fr:tab>
>    <fr:tab>
>       <fr:label>Add a new MAC address</fr:label>
>        <xhtml:p>
>            <xhtml:group>
>                <xhtml:p>Fill in the details of any new client machines below</xhtml:p>
> .......
> </fr:tab>
> </fr:tabview>
>
>
>
--
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
|

Out of Office AutoReply: using fr:Datatable within a fr:tabview

pappleby
Out of Office AutoReply: using fr:Datatable within a fr:tabview

I am out of the office until 26th July

***********************************************************************************************

This email, including any attachment, is confidential and may be legally privileged. If you are not the intended recipient or if you have received this email in error, please inform the sender immediately by reply and delete all copies from your system. Do not retain, copy, disclose, distribute or otherwise use any of its contents.

 

Whilst we have taken reasonable precautions to ensure that this email has been swept for computer viruses, we cannot guarantee that this email does not contain such material and we therefore advise you to carry out your own virus checks. We do not accept liability for any damage or losses sustained as a result of such material.

 

Please note that incoming and outgoing email communications passing through our IT systems may be monitored and/or intercepted by us solely to determine whether the content is business related and compliant with company standards.

***********************************************************************************************

The Stationery Office Limited is registered in England No. 3049649 at 10 Eastbourne Terrace, London, W2 6LG

 

Reply | Threaded
Open this post in threaded view
|

Re: Re: using fr:Datatable within a fr:tabview

alex sharaz-3
In reply to this post by Alessandro Vernet
Magic!!
Works a treat, many thanks
Alex
On 20 Jul 2010, at 03:58, Alessandro Vernet wrote:

> Alex,
>
> Instead of setting width in pixels on the <fr:datatable>, have you
> tried setting width="100%"? Would that work in your case?
>
> Alex
>
> On Monday, July 19, 2010, alex sharaz <[hidden email]> wrote:
>> Hi,
>>
>> I'm trying to standardise my orbeon forms on a two tab fr:tabview  
>> setup.
>>
>> The 1st tab displays information using fr:datatable while the  
>> second tab is used to input new info into the back-end database.
>> A snippet is shown at the end of this email.
>>
>> While everything works, one small problem is that I want to make  
>> the size of the datatable "tied" to the size of  
>> <fr:tabview><fr:tab> . At the moment  if you've got a big enough  
>> browser window the data table sits quite nicely in the <fr:tab>  
>> area. If you resize the browser window the :<fr:tab> area resizes  
>> quite happily but the data table doesn't. If possible I'd like te  
>> data table to resize as will with scrollbars appearing.
>>
>> Is this doable?
>> Rgds
>> Alex
>>
>>
>> <fr:tabview>
>>   <fr:tab>
>>      <fr:label>
>> View/Delete Client machines
>>      </fr:label>
>> <xhtml:p>
>> <xhtml:center>
>>  <fr:datatable paginated="true" rowsPerPage="20" scrollable="both"  
>> width="1050px" height="500px">
>>             <xhtml:thead>
>>                <xhtml:tr>
>>                        <xhtml:th fr:sortable="true"  
>> fr:resizeable="true">MAC Address</xhtml:th>
>>                        <xhtml:th fr:sortable="true"  
>> fr:resizeable="true">User Id</xhtml:th>
>>                        <xhtml:th fr:sortable="true"  
>> fr:resizeable="true">When added</xhtml:th>
>>                        <xhtml:th fr:sortable="true"  
>> fr:resizeable="true">Authenticated VLAN</xhtml:th>
>>                        <xhtml:th fr:sortable="true"  
>> fr:resizeable="true">Unauthenticated VLAN</xhtml:th>
>>                        <xhtml:th fr:sortable="true"  
>> fr:resizeable="true">Comment</xhtml:th>
>>                </xhtml:tr>
>>                </xhtml:thead>
>>                <xhtml:tbody>
>>                   <xforms:repeat nodeset="instance('netdev-
>> instance')/radius_devices/radius_client" id="usersRepeat">
>>                   <xhtml:tr>
>>                      <xhtml:td>
>>                        <xforms:output ref="mac_address"/>
>>                      </xhtml:td>
>>                      <xhtml:td>
>>                        <xhtml:center>
>>                        <xforms:output ref="user_name"/>
>>                        </xhtml:center>
>>                      </xhtml:td>
>>       .........
>>              </xhtml:tbody>
>>        </fr:datatable>
>>  </fr:tab>
>>   <fr:tab>
>>      <fr:label>Add a new MAC address</fr:label>
>>       <xhtml:p>
>>           <xhtml:group>
>>               <xhtml:p>Fill in the details of any new client  
>> machines below</xhtml:p>
>> .......
>> </fr:tab>
>> </fr:tabview>
>>
>>
>>
>
> --
> 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
==========

Time for another Macmillan Cancer Support event. This time its the  
Trans Central America cycle challenge -680Km in 8 days.

Please sponsor me at http://www.justgiving.com/alexsharaz

For route plan see Google Maps

Link: <http://maps.google.com/maps/ms?ie=UTF8&hl=en&msa=0&msid=107842292717531843695.000478a34dfab81e9c373&ll=11.323867,-84.188232&spn=3.791241,6.196289&t=p&z=8 
 >





--
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
|

Out of Office AutoReply: using fr:Datatable within a fr:tabview

pappleby
Out of Office AutoReply: using fr:Datatable within a fr:tabview

I am out of the office until 26th July

***********************************************************************************************

This email, including any attachment, is confidential and may be legally privileged. If you are not the intended recipient or if you have received this email in error, please inform the sender immediately by reply and delete all copies from your system. Do not retain, copy, disclose, distribute or otherwise use any of its contents.

 

Whilst we have taken reasonable precautions to ensure that this email has been swept for computer viruses, we cannot guarantee that this email does not contain such material and we therefore advise you to carry out your own virus checks. We do not accept liability for any damage or losses sustained as a result of such material.

 

Please note that incoming and outgoing email communications passing through our IT systems may be monitored and/or intercepted by us solely to determine whether the content is business related and compliant with company standards.

***********************************************************************************************

The Stationery Office Limited is registered in England No. 3049649 at 10 Eastbourne Terrace, London, W2 6LG

 

Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: using fr:Datatable within a fr:tabview

Alessandro  Vernet
Administrator
In reply to this post by alex sharaz-3
Alex,

Cool. And thanks for confirming this works!

Alex

On Tue, Jul 20, 2010 at 2:04 AM, alex sharaz <[hidden email]> wrote:

> Magic!!
> Works a treat, many thanks
> Alex
> On 20 Jul 2010, at 03:58, Alessandro Vernet wrote:
>
>> Alex,
>>
>> Instead of setting width in pixels on the <fr:datatable>, have you
>> tried setting width="100%"? Would that work in your case?
>>
>> Alex
>>
>> On Monday, July 19, 2010, alex sharaz <[hidden email]> wrote:
>>>
>>> Hi,
>>>
>>> I'm trying to standardise my orbeon forms on a two tab fr:tabview setup.
>>>
>>> The 1st tab displays information using fr:datatable while the second tab
>>> is used to input new info into the back-end database.
>>> A snippet is shown at the end of this email.
>>>
>>> While everything works, one small problem is that I want to make the size
>>> of the datatable "tied" to the size of <fr:tabview><fr:tab> . At the moment
>>>  if you've got a big enough browser window the data table sits quite nicely
>>> in the <fr:tab> area. If you resize the browser window the :<fr:tab> area
>>> resizes quite happily but the data table doesn't. If possible I'd like te
>>> data table to resize as will with scrollbars appearing.
>>>
>>> Is this doable?
>>> Rgds
>>> Alex
>>>
>>>
>>> <fr:tabview>
>>>  <fr:tab>
>>>     <fr:label>
>>> View/Delete Client machines
>>>     </fr:label>
>>> <xhtml:p>
>>> <xhtml:center>
>>>  <fr:datatable paginated="true" rowsPerPage="20" scrollable="both"
>>> width="1050px" height="500px">
>>>            <xhtml:thead>
>>>               <xhtml:tr>
>>>                       <xhtml:th fr:sortable="true"
>>> fr:resizeable="true">MAC Address</xhtml:th>
>>>                       <xhtml:th fr:sortable="true"
>>> fr:resizeable="true">User Id</xhtml:th>
>>>                       <xhtml:th fr:sortable="true"
>>> fr:resizeable="true">When added</xhtml:th>
>>>                       <xhtml:th fr:sortable="true"
>>> fr:resizeable="true">Authenticated VLAN</xhtml:th>
>>>                       <xhtml:th fr:sortable="true"
>>> fr:resizeable="true">Unauthenticated VLAN</xhtml:th>
>>>                       <xhtml:th fr:sortable="true"
>>> fr:resizeable="true">Comment</xhtml:th>
>>>               </xhtml:tr>
>>>               </xhtml:thead>
>>>               <xhtml:tbody>
>>>                  <xforms:repeat
>>> nodeset="instance('netdev-instance')/radius_devices/radius_client"
>>> id="usersRepeat">
>>>                  <xhtml:tr>
>>>                     <xhtml:td>
>>>                       <xforms:output ref="mac_address"/>
>>>                     </xhtml:td>
>>>                     <xhtml:td>
>>>                       <xhtml:center>
>>>                       <xforms:output ref="user_name"/>
>>>                       </xhtml:center>
>>>                     </xhtml:td>
>>>      .........
>>>             </xhtml:tbody>
>>>       </fr:datatable>
>>>  </fr:tab>
>>>  <fr:tab>
>>>     <fr:label>Add a new MAC address</fr:label>
>>>      <xhtml:p>
>>>          <xhtml:group>
>>>              <xhtml:p>Fill in the details of any new client machines
>>> below</xhtml:p>
>>> .......
>>> </fr:tab>
>>> </fr:tabview>
>>>
>>>
>>>
>>
>> --
>> 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
>
> ==========
>
> Time for another Macmillan Cancer Support event. This time its the Trans
> Central America cycle challenge -680Km in 8 days.
>
> Please sponsor me at http://www.justgiving.com/alexsharaz
>
> For route plan see Google Maps
>
> Link:
> <http://maps.google.com/maps/ms?ie=UTF8&hl=en&msa=0&msid=107842292717531843695.000478a34dfab81e9c373&ll=11.323867,-84.188232&spn=3.791241,6.196289&t=p&z=8>
>
>
>
>
>
> --
> 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
|

Out of Office AutoReply: Re: using fr:Datatable within a fr:tabview

pappleby
Out of Office AutoReply: Re: using fr:Datatable within a fr:tabview

I am out of the office until 26th July

***********************************************************************************************

This email, including any attachment, is confidential and may be legally privileged. If you are not the intended recipient or if you have received this email in error, please inform the sender immediately by reply and delete all copies from your system. Do not retain, copy, disclose, distribute or otherwise use any of its contents.

 

Whilst we have taken reasonable precautions to ensure that this email has been swept for computer viruses, we cannot guarantee that this email does not contain such material and we therefore advise you to carry out your own virus checks. We do not accept liability for any damage or losses sustained as a result of such material.

 

Please note that incoming and outgoing email communications passing through our IT systems may be monitored and/or intercepted by us solely to determine whether the content is business related and compliant with company standards.

***********************************************************************************************

The Stationery Office Limited is registered in England No. 3049649 at 10 Eastbourne Terrace, London, W2 6LG