Posted by kanth99 <sr...@yahoo.co.in>.
Hi Helmut,
I tried the below solution,still I am getting the old result and part of the
image disappearing.
Thanks,
kanth
Helmut Swaczinna-2 wrote:
>
> Hi,
>
> for the separator issue I suggest using three rows in your layout:
>
> <tc:panel>
> <f:facet name="layout">
> <tc:gridLayout columns="200px;*" rows="fixed;fixed;*/>
> </f:facet>
>
>
> <tc:link action="#{navigation.gotoFirst}" immediate="true"
> image="image/MyLogo.gif" />
> <tc:link label ="Login" action="success"/>
> <tc:cell spanX="2">
> <tc:separator/>
> </tc:cell>
> <tc:cell spanX="2">
> </tc:cell>
>
> </tc:panel>
>
> For the second issue I suggest using three columns:
>
> <tc:panel>
> <f:facet name="layout">
> <tc:gridLayout columns="200px;*;200px" rows="fixed;fixed;*/>
> </f:facet>
>
>
> <tc:link action="#{navigation.gotoFirst}" immediate="true"
> image="image/MyLogo.gif" />
> <tc:cell/>
> <tc:link label ="Login" action="success"/>
> <tc:cell spanX="3">
> <tc:separator/>
> </tc:cell>
> <tc:cell spanX="3">
> </tc:cell>
>
> </tc:panel>
>
> Helmut
>
> kanth99 schrieb:
>> Here is the piece of code I am using i could see the seperator up to
>> middle
>> of the page...
>>
>>
>> <%@ taglib uri="http://myfaces.apache.org/tobago/component" prefix="tc"%>
>> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
>>
>> <f:view>
>> <tc:page label="Home" id="page" width="800px" height="150px">
>> <tc:panel>
>> <f:facet name="layout">
>> <tc:gridLayout columns="200px;*" />
>> </f:facet>
>>
>>
>> <tc:link action="#{navigation.gotoFirst}" immediate="true"
>> image="image/MyLogo.gif" />
>> <tc:link label ="Login" action="success"/>
>> <tc:cell spanX="2">
>> <tc:separator/>
>> </tc:cell>
>>
>> </tc:panel>
>>
>>
>>
>>
>> </tc:page>
>> </f:view>
>>
>>
>>
>> Also I want Login link should appear on the same line as of the image ,
>> at
>> the end of the line.But Login Link appearing just next to the Image.If I
>> increase the column width Login link moving to the next line.Please help
>> me
>> in fixing these two irregularities.
>>
>> Thanks
>> Kanth
>>
>>
>>
>> Richard Yee-3 wrote:
>>> The separator can only be as wide as its parent element. It looks like
>>> you are using it inside of a table.
>>>
>>> Richard
>>>
>>> Sent from my iPhone
>>>
>>> On Jun 8, 2009, at 8:08 AM, kanth99 <sr...@yahoo.co.in>
>>> wrote:
>>>
>>>> Hi All,
>>>>
>>>> i observed <tc:separator size is limited.that means I want to render
>>>> a blank
>>>> line from begining of page to the ending of page through
>>>> <tc:separator ,but
>>>> it is coming till middle of the page.could you plaese help me to
>>>> draw a
>>>> blank line from start to end of the page...
>>>>
>>>> The code iused
>>>>
>>>> <tc:cell spanX="4">
>>>> <tc:separator/>
>>>> </tc:cell>
>>>>
>>>> Thanks,
>>>> Kanth
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/Tobago-separator-%3Ctc%3Aseparator-issue-tp23925880p23925880.html
>>>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>>>
>>>
>>
>
>
--
View this message in context: http://www.nabble.com/Tobago-separator-%3Ctc%3Aseparator-issue-tp23925880p23929324.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.
Re: Tobago separator
Posted by Helmut Swaczinna <my...@wlp-systems.de>.
Hi,
for the separator issue I suggest using three rows in your layout:
<tc:panel>
<f:facet name="layout">
<tc:gridLayout columns="200px;*" rows="fixed;fixed;*/>
</f:facet>
<tc:link action="#{navigation.gotoFirst}" immediate="true"
image="image/MyLogo.gif" />
<tc:link label ="Login" action="success"/>
<tc:cell spanX="2">
<tc:separator/>
</tc:cell>
<tc:cell spanX="2">
</tc:cell>
</tc:panel>
For the second issue I suggest using three columns:
<tc:panel>
<f:facet name="layout">
<tc:gridLayout columns="200px;*;200px" rows="fixed;fixed;*/>
</f:facet>
<tc:link action="#{navigation.gotoFirst}" immediate="true"
image="image/MyLogo.gif" />
<tc:cell/>
<tc:link label ="Login" action="success"/>
<tc:cell spanX="3">
<tc:separator/>
</tc:cell>
<tc:cell spanX="3">
</tc:cell>
</tc:panel>
Helmut
kanth99 schrieb:
> Here is the piece of code I am using i could see the seperator up to middle
> of the page...
>
>
> <%@ taglib uri="http://myfaces.apache.org/tobago/component" prefix="tc"%>
> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
>
> <f:view>
> <tc:page label="Home" id="page" width="800px" height="150px">
> <tc:panel>
> <f:facet name="layout">
> <tc:gridLayout columns="200px;*" />
> </f:facet>
>
>
> <tc:link action="#{navigation.gotoFirst}" immediate="true"
> image="image/MyLogo.gif" />
> <tc:link label ="Login" action="success"/>
> <tc:cell spanX="2">
> <tc:separator/>
> </tc:cell>
>
> </tc:panel>
>
>
>
>
> </tc:page>
> </f:view>
>
>
>
> Also I want Login link should appear on the same line as of the image , at
> the end of the line.But Login Link appearing just next to the Image.If I
> increase the column width Login link moving to the next line.Please help me
> in fixing these two irregularities.
>
> Thanks
> Kanth
>
>
>
> Richard Yee-3 wrote:
>> The separator can only be as wide as its parent element. It looks like
>> you are using it inside of a table.
>>
>> Richard
>>
>> Sent from my iPhone
>>
>> On Jun 8, 2009, at 8:08 AM, kanth99 <sr...@yahoo.co.in>
>> wrote:
>>
>>> Hi All,
>>>
>>> i observed <tc:separator size is limited.that means I want to render
>>> a blank
>>> line from begining of page to the ending of page through
>>> <tc:separator ,but
>>> it is coming till middle of the page.could you plaese help me to
>>> draw a
>>> blank line from start to end of the page...
>>>
>>> The code iused
>>>
>>> <tc:cell spanX="4">
>>> <tc:separator/>
>>> </tc:cell>
>>>
>>> Thanks,
>>> Kanth
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Tobago-separator-%3Ctc%3Aseparator-issue-tp23925880p23925880.html
>>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>>
>>
>
Re: Tobago separator
Posted by kanth99 <sr...@yahoo.co.in>.
Here is the piece of code I am using i could see the seperator up to middle
of the page...
<%@ taglib uri="http://myfaces.apache.org/tobago/component" prefix="tc"%>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<f:view>
<tc:page label="Home" id="page" width="800px" height="150px">
<tc:panel>
<f:facet name="layout">
<tc:gridLayout columns="200px;*" />
</f:facet>
<tc:link action="#{navigation.gotoFirst}" immediate="true"
image="image/MyLogo.gif" />
<tc:link label ="Login" action="success"/>
<tc:cell spanX="2">
<tc:separator/>
</tc:cell>
</tc:panel>
</tc:page>
</f:view>
Also I want Login link should appear on the same line as of the image , at
the end of the line.But Login Link appearing just next to the Image.If I
increase the column width Login link moving to the next line.Please help me
in fixing these two irregularities.
Thanks
Kanth
Richard Yee-3 wrote:
>
> The separator can only be as wide as its parent element. It looks like
> you are using it inside of a table.
>
> Richard
>
> Sent from my iPhone
>
> On Jun 8, 2009, at 8:08 AM, kanth99 <sr...@yahoo.co.in>
> wrote:
>
>>
>> Hi All,
>>
>> i observed <tc:separator size is limited.that means I want to render
>> a blank
>> line from begining of page to the ending of page through
>> <tc:separator ,but
>> it is coming till middle of the page.could you plaese help me to
>> draw a
>> blank line from start to end of the page...
>>
>> The code iused
>>
>> <tc:cell spanX="4">
>> <tc:separator/>
>> </tc:cell>
>>
>> Thanks,
>> Kanth
>> --
>> View this message in context:
>> http://www.nabble.com/Tobago-separator-%3Ctc%3Aseparator-issue-tp23925880p23925880.html
>> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>>
>
>
--
View this message in context: http://www.nabble.com/Tobago-separator-%3Ctc%3Aseparator-issue-tp23925880p23926599.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.
Re: Tobago separator
Posted by Richard Yee <ri...@gmail.com>.
The separator can only be as wide as its parent element. It looks like
you are using it inside of a table.
Richard
Sent from my iPhone
On Jun 8, 2009, at 8:08 AM, kanth99 <sr...@yahoo.co.in>
wrote:
>
> Hi All,
>
> i observed <tc:separator size is limited.that means I want to render
> a blank
> line from begining of page to the ending of page through
> <tc:separator ,but
> it is coming till middle of the page.could you plaese help me to
> draw a
> blank line from start to end of the page...
>
> The code iused
>
> <tc:cell spanX="4">
> <tc:separator/>
> </tc:cell>
>
> Thanks,
> Kanth
> --
> View this message in context: http://www.nabble.com/Tobago-separator-%3Ctc%3Aseparator-issue-tp23925880p23925880.html
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>