You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by tobagouser <sr...@yahoo.com> on 2010/04/15 18:03:42 UTC

grid layouts in Tobago

HI All,

I am using tobago to put some pages.I have a requirement, Inside a box left
part is having input rows (tc:in) and remaining half right part has a
separate border  and css and has input rows (tc:in and select boxes).

I can not have a single grid layout and have them left rows and right rows
in different columns.because the input rows in the left half and right half
are not in same Order.They are in zigzag manner.so I need to have a separate
gridlayout for left half and separate gridlayout for right half.

Could you please let me know whether it is separate  gridlayouts for left
and right portion of the box (screen).
Please let me know how to implement it.

Thanks
KSK
-- 
View this message in context: http://old.nabble.com/grid-layouts-in-Tobago-tp28257277p28257277.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Re: grid layouts in Tobago

Posted by tobagouser <sr...@yahoo.com>.
Thanks Udo.That worked.



tobagouser wrote:
> 
> Hi Udo,
> 
> Thanks for you reply. if I understand correctly first grid is to to divide
> box in two halfs  left side and right sides , and apply first second grid
> for left half and third grid for right half.
> 
> My requirement is box sould be divided in to two halfs left side ,right
> side.left side has 10 input rows each with height of  30 pixels leaving
> margin top of 10 pixels on top of the box, right hand side has different
> shaded colour , leaving 110 pixels margin top  and will have 3 input rows
> each with 20 pixels of height .
> So In a same box Right hand side layout should be different from left hand
> side.
> 
> I will try your code and will let you know.
> 
> Thanks,
> KSK
> 
> 
> 
> Udo Schnurpfeil wrote:
>> 
>> Hi tobagouser,
>> 
>> you can put 2 <tc:panel> in the box like this:
>> 
>> <tc:box>
>> <f:facet name="layout">
>> <tc:gridLayout columns="*;*"/>
>> </f:facet>
>> 
>> <tc:panel>
>> <f:facet name="layout">
>> <tc:gridLayout rows="fixed;fixed"/>
>> </f:facet>
>> 
>> <tc:in/>
>> <tc:in/>
>> <tc:in/>
>> 
>> </tc:panel>
>> 
>> <tc:panel>
>> <f:facet name="layout">
>> <tc:gridLayout rows="fixed;fixed"/>
>> </f:facet>
>> 
>> <tc:in/>
>> <tc:selectOneChoice/>
>> <tc:in/>
>> 
>> </tc:panel>
>> 
>> </tc:box>
>> 
>> but I'm not sure I understand what you need. If I'm wrong please send a 
>> little picture of the layout you wish.
>> 
>> Regards,
>> 
>> Udo
>> 
>> Am 16.04.10 11:00, schrieb tobagouser:
>>> Any suggestions on this please..
>>>
>>> tobagouser wrote:
>>>    
>>>> HI All,
>>>>
>>>> I am using tobago to put some pages.I have a requirement, Inside a box
>>>> left part is having input rows (tc:in) and remaining half right part
>>>> has a
>>>> separate border  and css and has input rows (tc:in and select boxes).
>>>>
>>>> I can not have a single grid layout and have them left rows and right
>>>> rows
>>>> in different columns.because the input rows in the left half and right
>>>> half are not in same Order.They are in zigzag manner.so I need to have
>>>> a
>>>> separate gridlayout for left half and separate gridlayout for right
>>>> half.
>>>>
>>>> Could you please let me know whether it is separate  gridlayouts for
>>>> left
>>>> and right portion of the box (screen).
>>>> Please let me know how to implement it.
>>>>
>>>> Thanks
>>>> KSK
>>>>
>>>>      
>>>    
>> 
>> 
> 
> 

-- 
View this message in context: http://old.nabble.com/grid-layouts-in-Tobago-tp28257277p28267295.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Re: grid layouts in Tobago

Posted by tobagouser <sr...@yahoo.com>.
Hi Udo,

Thanks for you reply. if I understand correctly first grid is to to divide
box in two halfs  left side and right sides , and apply first second grid
for left half and third grid for right half.

My requirement is box sould be divided in to two halfs left side ,right
side.left side has 10 input rows each with height of  30 pixels leaving
margin top of 10 pixels on top of the box, right hand side has different
shaded colour , leaving 110 pixels margin top  and will have 3 input rows
each with 20 pixels of height .
So In a same box Right hand side layout should be different from left hand
side.

I will try your code and will let you know.

Thanks,
KSK



Udo Schnurpfeil wrote:
> 
> Hi tobagouser,
> 
> you can put 2 <tc:panel> in the box like this:
> 
> <tc:box>
> <f:facet name="layout">
> <tc:gridLayout columns="*;*"/>
> </f:facet>
> 
> <tc:panel>
> <f:facet name="layout">
> <tc:gridLayout rows="fixed;fixed"/>
> </f:facet>
> 
> <tc:in/>
> <tc:in/>
> <tc:in/>
> 
> </tc:panel>
> 
> <tc:panel>
> <f:facet name="layout">
> <tc:gridLayout rows="fixed;fixed"/>
> </f:facet>
> 
> <tc:in/>
> <tc:selectOneChoice/>
> <tc:in/>
> 
> </tc:panel>
> 
> </tc:box>
> 
> but I'm not sure I understand what you need. If I'm wrong please send a 
> little picture of the layout you wish.
> 
> Regards,
> 
> Udo
> 
> Am 16.04.10 11:00, schrieb tobagouser:
>> Any suggestions on this please..
>>
>> tobagouser wrote:
>>    
>>> HI All,
>>>
>>> I am using tobago to put some pages.I have a requirement, Inside a box
>>> left part is having input rows (tc:in) and remaining half right part has
>>> a
>>> separate border  and css and has input rows (tc:in and select boxes).
>>>
>>> I can not have a single grid layout and have them left rows and right
>>> rows
>>> in different columns.because the input rows in the left half and right
>>> half are not in same Order.They are in zigzag manner.so I need to have a
>>> separate gridlayout for left half and separate gridlayout for right
>>> half.
>>>
>>> Could you please let me know whether it is separate  gridlayouts for
>>> left
>>> and right portion of the box (screen).
>>> Please let me know how to implement it.
>>>
>>> Thanks
>>> KSK
>>>
>>>      
>>    
> 
> 

-- 
View this message in context: http://old.nabble.com/grid-layouts-in-Tobago-tp28257277p28266497.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.


Re: grid layouts in Tobago

Posted by Udo Schnurpfeil <ud...@schnurpfeil.de>.
Hi tobagouser,

you can put 2 <tc:panel> in the box like this:

<tc:box>
<f:facet name="layout">
<tc:gridLayout columns="*;*"/>
</f:facet>

<tc:panel>
<f:facet name="layout">
<tc:gridLayout rows="fixed;fixed"/>
</f:facet>

<tc:in/>
<tc:in/>
<tc:in/>

</tc:panel>

<tc:panel>
<f:facet name="layout">
<tc:gridLayout rows="fixed;fixed"/>
</f:facet>

<tc:in/>
<tc:selectOneChoice/>
<tc:in/>

</tc:panel>

</tc:box>

but I'm not sure I understand what you need. If I'm wrong please send a 
little picture of the layout you wish.

Regards,

Udo

Am 16.04.10 11:00, schrieb tobagouser:
> Any suggestions on this please..
>
> tobagouser wrote:
>    
>> HI All,
>>
>> I am using tobago to put some pages.I have a requirement, Inside a box
>> left part is having input rows (tc:in) and remaining half right part has a
>> separate border  and css and has input rows (tc:in and select boxes).
>>
>> I can not have a single grid layout and have them left rows and right rows
>> in different columns.because the input rows in the left half and right
>> half are not in same Order.They are in zigzag manner.so I need to have a
>> separate gridlayout for left half and separate gridlayout for right half.
>>
>> Could you please let me know whether it is separate  gridlayouts for left
>> and right portion of the box (screen).
>> Please let me know how to implement it.
>>
>> Thanks
>> KSK
>>
>>      
>    

Re: grid layouts in Tobago

Posted by tobagouser <sr...@yahoo.com>.
Any suggestions on this please..

tobagouser wrote:
> 
> HI All,
> 
> I am using tobago to put some pages.I have a requirement, Inside a box
> left part is having input rows (tc:in) and remaining half right part has a
> separate border  and css and has input rows (tc:in and select boxes).
> 
> I can not have a single grid layout and have them left rows and right rows
> in different columns.because the input rows in the left half and right
> half are not in same Order.They are in zigzag manner.so I need to have a
> separate gridlayout for left half and separate gridlayout for right half.
> 
> Could you please let me know whether it is separate  gridlayouts for left
> and right portion of the box (screen).
> Please let me know how to implement it.
> 
> Thanks
> KSK
> 

-- 
View this message in context: http://old.nabble.com/grid-layouts-in-Tobago-tp28257277p28264619.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.