You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Vinay Konanki <vi...@gmail.com> on 2007/03/15 19:58:48 UTC

[Tobago] Issue with Label Text alignment btw IE and Firefox

Hi all,

I have an issue with label text alignments between IE7 and Firefox. attached
is the file that contains the snapshots both in IE and Firefox.
In IE the label text will be displayed in RHS where as in firefox it will
display on LHS.

Can anyone suggest me how to over come this cross browsers issue.

Thanks in advance,
Vinay

Re: [Tobago] Issue with Label Text alignment btw IE and Firefox

Posted by Vinay Konanki <vi...@gmail.com>.
Hi Volker,

This issue is still there in our application.
we are getting closer to the release. Please help me out in closing this
bug.


we were using an custom theme of our own
don't know where it would be wrong...
and did we miss any styles for label anywhere for IE ...

Thanks,
Vinay

On 3/29/07, Vinay Konanki <vi...@gmail.com> wrote:
>
> Hi Volker,
>
> Thanks for your reply.
> I embedded my registration.jsp in the Tobago demo and it displaying with
> out any alignment problems (Surprised me..!).
> (both in IE and Firefox looks similar)
>
> So, what might be the problem in my case?
> Any thing wrong with my Style/CSS pages?
>
> NB: I used Custom Theme/Styles.
>
> Awaiting your reply,
>
> Thanks in advance,
> Vinay
>
>
> On 3/29/07, Volker Weber <v....@inexso.de> wrote:
> >
> > Hi,
> >
> > Bernd: the problem is the alignment of the labels in IE7.
> >
> > Vinay: can you checkout the example, add your page there and test if
> > the problem occurs please.
> >
> > Another thing: please remove all redundant tc:cell tags:
> >   you can remove every tc:cell where just one child and no span(X/Y)
> > and use the child direct.
> >   you can replace every tc:cell with no span(X/Y) by a tc:panel.
> >
> > The only difference between tc:cell and tc:panel is the ability to add
> > span attributes to the tc:cell.
> >
> > Regards,
> >   Volker
> >
> >
> > 2007/3/29, Bernd Bohmann <be...@atanion.com>:
> > > Hello Vinay,
> > >
> > > is your problem
> > >
> > > http://issues.apache.org/jira/browse/TOBAGO-14 ?
> > >
> > > Regards
> > >
> > > Bernd
> > >
> > > Vinay Konanki wrote:
> > > > Hi all,
> > > > Please help me in this regard.
> > > >
> > > > As i mentioned in my previous mail, i'm still struggling with the
> > label
> > > > Alignment between IE and Firefox (image Attached)
> > > >
> > > > here is my JSP
> > > >
> > > >
> > ==============================================================================
> > > >
> > > >
> > > > <%@ taglib uri=" http://java.sun.com/jsf/core" prefix="f" %>
> > > > <%@ taglib uri="http://myfaces.apache.org/tobago/component"
> > prefix="tc" %>
> > > > <%@ taglib uri="http://myfaces.apache.org/tobago/extension"
> > prefix="tx" %>
> > > > <%@ taglib tagdir="/WEB-INF/tags/layout" prefix="layout" %>
> > > >
> > > >
> > > >
> > > > <layout:loginLayout>
> > > > <jsp:body>
> > > >      <tc:form id="userRegistration">
> > > >             <tc:panel width="#{ bundle.bodyPageWidth}"
> > height="300px">
> > > >                 <f:facet name="layout">
> > > >                     <tc:gridLayout columns="150px;250px;1*"
> > > > rows="40px;20px;20px;20px;20px;20px;20px;20px;80px;20px;20px;40px"
> > > > marginLeft="5px" marginRight="5px" border="0" />
> > > >                 </f:facet>
> > > >                 <tc:cell spanX="3">
> > > >                     <tc:out  value="Registration Form"
> > > > markup="sectionHeader"/>
> > > >                </tc:cell>
> > > >                <tc:cell spanX="3">
> > > >                <tc:messages/>
> > > >                </tc:cell>
> > > >
> > > >                 <tc:cell>
> > > >                 <tc:label value ="#{bundle.firstName}"/>
> > > >                 </tc:cell>
> > > >                <tc:cell>
> > > >                     <tc:in id="fName"
> > > > value="#{userRegistration.firstName}" />
> > > >                 </tc:cell>
> > > >                 <tc:cell/>
> > > >
> > > >                <tc:cell>
> > > >                <tc:label  value="#{bundle.lastName}"/>
> > > >                </tc:cell>
> > > >
> > > >                <tc:cell>
> > > >                     <tc:in id="lName"
> > > > value="#{userRegistration.lastName}" />
> > > >                 </tc:cell>
> > > >                 <tc:cell/>
> > > >
> > > >                <tc:cell>
> > > >                <tc:label value="#{bundle.phone}"/>
> > > >                </tc:cell>
> > > >                <tc:cell>
> > > >                     <tc:in id="phone"
> > > > value="#{userRegistration.phoneNumber}" />
> > > >                 </tc:cell>
> > > >                 <tc:cell/>
> > > >
> > > >                <tc:cell>
> > > >                <tc:label value ="#{bundle.country}"/>
> > > >                </tc:cell>
> > > >                <tc:cell>
> > > >                            <tc:selectOneChoice
> > > > value="#{userRegistration.country}"
> > > > id="country">
> > > >                            <f:selectItem itemLabel="-Select
> > Country-"
> > > > itemValue="none"/>
> > > >                                <f:selectItem itemLabel="United
> > States"
> > > > itemValue="US"/>
> > > >                                <f:selectItem itemLabel="Australia"
> > > > itemValue="AU"/>
> > > >                                <f:selectItem itemLabel="United
> > Kingdom"
> > > > itemValue="UK"/>
> > > >                                <f:selectItem itemLabel="China"
> > > > itemValue="CH"/>
> > > >                            </tc:selectOneChoice>
> > > >                    </tc:cell>
> > > >                 <tc:cell/>
> > > >
> > > >                <tc:cell>
> > > >                <tc:label value = "#{bundle.company}"/>
> > > >                </tc:cell>
> > > >                 <tc:cell>
> > > >                     <tc:in id="company"
> > > > value="#{userRegistration.company}"/>
> > > >                 </tc:cell>
> > > >                 <tc:cell/>
> > > >
> > > >                <tc:cell>
> > > >                <tc:label value ="#{ bundle.emailID}"/>
> > > >                </tc:cell>
> > > >                <tc:cell>
> > > >                     <tc:in id="email" value="#{
> > userRegistration.email}"/>
> > > >                 </tc:cell>
> > > >                 <tc:cell/>
> > > >
> > > >
> > > >                <tc:cell>
> > > >                         <f:facet name="layout">
> > > >                                    <tc:gridLayout rows="20px;*"/>
> > > >                           </f:facet>
> > > >                          <tc:cell>
> > > >                                         <tc:label value
> > > > ="#{bundle.comments}"/>
> > > >                           </tc:cell>
> > > >                           <tc:cell/>
> > > >                  </tc:cell>
> > > >                  <tc:cell>
> > > >                        <tc:textarea id="comments"
> > > > value="#{userRegistration.comments}"></tc:textarea>
> > > >                 </tc:cell>
> > > >                 <tc:cell/>
> > > >
> > > >                <tc:cell/>
> > > >                   <tc:cell/>
> > > >
> > > >                 <tc:cell/>
> > > >
> > > >                 <tc:cell/>
> > > >                <tc:cell>
> > > >                    <f:facet name="layout">
> > > >                        <tc:gridLayout columns="10px;70px;70px;*"
> > > > border="0"/>
> > > >                    </f:facet>
> > > >                    <tc:cell/>
> > > >                    <tc:cell>
> > > >                        <tc:button label="#{bundle.cancel }"
> > > > width="50px" action="goto_login" immediate="true"/>
> > > >                    </tc:cell>
> > > >                    <tc:cell>
> > > >                        <tc:button
> > > > action="#{userRegistration.getRegistered}"
> > > >                                       label="#{bundle.register}"
> > > >                                       width="60px"/>
> > > >                    </tc:cell>
> > > >                </tc:cell>
> > > >                <tc:cell/>
> > > >
> > > >                         <tc:cell/><tc:cell/><tc:cell/>
> > > >             </tc:panel>
> > > >         </tc:form>
> > > > </jsp:body>
> > > > </layout:loginLayout>
> > > >
> > > >
> > ================================================================================================
> >
> > > >
> > > >
> > > >
> > > > I'm running out of time with my project dead line.
> > > > And kind of suggestion will be greatly appreciated.
> > > >
> > > > Thanks,
> > > > Vinay
> > > >
> > > > On 3/21/07, Vinay Konanki <vi...@gmail.com> wrote:
> > > >>
> > > >> Hi,
> > > >>
> > > >> Can anyone help me in this regard,
> > > >> I dont see any problem (for Label text alignment) with cross
> > browsers in
> > > >> live Tobago demo.
> > > >>
> > > >> but in my application I'm struggling with the alignment between IE7
> > and
> > > >> Firefox 2.0.0.3 (Image attached in my previous mail)
> > > >>
> > > >> do i need to do any thing with the Styles and CSS?
> > > >> Please reply me soon.
> > > >>
> > > >> NB: i'm attaching my jsp ( User Registration Form)
> > > >>
> > > >> Any kind of suggestions will be appreciated.
> > > >>
> > > >> Thanks,
> > > >> Vinay
> > > >>
> > > >> On 3/15/07, Vinay Konanki <vinay.tobago@gmail.com > wrote:
> > > >> >
> > > >> >
> > > >> > Hi Arvid,
> > > >> >
> > > >> >
> > > >> > Thanks for your reply. I dont see any problem with live demo.
> > > >> > > but only in my application, here im attaching Registration jsp
> > > >> > >
> > > >> > > Do i need to do any thing with the theme/styles/css?
> > > >> > >
> > > >> > > Awaiting reply.
> > > >> > >
> > > >> > > Vinay
> > > >> > >
> > > >> > > On 3/15/07, Arvid Hülsebus < arvid.huelsebus@atanion.com>
> > wrote:
> > > >> > > >
> > > >> > > > Do you have the same problem with the life demo?
> > > >> > > >
> > > >> > > >
> > > >> http://tobago.atanion.net/tobago-example-demo/faces/overview/layout.jsp
> >
> > > >> > > >
> > > >> > > >
> > > >> > > > Perhaps you can send the JSP page (or whatever view
> > technology you
> > > >> > > > are
> > > >> > > > using).
> > > >> > > >
> > > >> > > > Regards,
> > > >> > > > Arvid
> > > >> > > >
> > > >> > > > Vinay Konanki wrote:
> > > >> > > > > Hi all,
> > > >> > > > >
> > > >> > > > > I have an issue with label text alignments between IE7 and
> > > >> > > > Firefox.
> > > >> > > > > attached is the file that contains the snapshots both in IE
> > and
> > > >> > > > Firefox.
> > > >> > > > > In IE the label text will be displayed in RHS where as in
> > firefox
> > > >> > > > it
> > > >> > > > > will display on LHS.
> > > >> > > > >
> > > >> > > > > Can anyone suggest me how to over come this cross browsers
> > issue.
> > > >> > > > >
> > > >> > > > > Thanks in advance,
> > > >> > > > > Vinay
> > > >> > > > >
> > > >> > > > >
> > > >> > > >
> > > >>
> > ------------------------------------------------------------------------
> > > >> > > > >
> > > >> > > >
> > > >> > >
> > > >> > >
> > > >> > >
> > > >> >
> > > >> >
> > > >>
> > > >>
> > > >
> > >
> >
>
>

Re: [Tobago] Issue with Label Text alignment btw IE and Firefox

Posted by Vinay Konanki <vi...@gmail.com>.
Hi Volker,

Thanks for your reply.
I embedded my registration.jsp in the Tobago demo and it displaying with out
any alignment problems (Surprised me..!).
(both in IE and Firefox looks similar)

So, what might be the problem in my case?
Any thing wrong with my Style/CSS pages?

NB: I used Custom Theme/Styles.

Awaiting your reply,

Thanks in advance,
Vinay


On 3/29/07, Volker Weber <v....@inexso.de> wrote:
>
> Hi,
>
> Bernd: the problem is the alignment of the labels in IE7.
>
> Vinay: can you checkout the example, add your page there and test if
> the problem occurs please.
>
> Another thing: please remove all redundant tc:cell tags:
>   you can remove every tc:cell where just one child and no span(X/Y)
> and use the child direct.
>   you can replace every tc:cell with no span(X/Y) by a tc:panel.
>
> The only difference between tc:cell and tc:panel is the ability to add
> span attributes to the tc:cell.
>
> Regards,
>   Volker
>
>
> 2007/3/29, Bernd Bohmann <be...@atanion.com>:
> > Hello Vinay,
> >
> > is your problem
> >
> > http://issues.apache.org/jira/browse/TOBAGO-14 ?
> >
> > Regards
> >
> > Bernd
> >
> > Vinay Konanki wrote:
> > > Hi all,
> > > Please help me in this regard.
> > >
> > > As i mentioned in my previous mail, i'm still struggling with the
> label
> > > Alignment between IE and Firefox (image Attached)
> > >
> > > here is my JSP
> > >
> > >
> ==============================================================================
> > >
> > >
> > > <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
> > > <%@ taglib uri="http://myfaces.apache.org/tobago/component"
> prefix="tc" %>
> > > <%@ taglib uri="http://myfaces.apache.org/tobago/extension"
> prefix="tx" %>
> > > <%@ taglib tagdir="/WEB-INF/tags/layout" prefix="layout" %>
> > >
> > >
> > >
> > > <layout:loginLayout>
> > > <jsp:body>
> > >      <tc:form id="userRegistration">
> > >             <tc:panel width="#{bundle.bodyPageWidth}" height="300px">
> > >                 <f:facet name="layout">
> > >                     <tc:gridLayout columns="150px;250px;1*"
> > > rows="40px;20px;20px;20px;20px;20px;20px;20px;80px;20px;20px;40px"
> > > marginLeft="5px" marginRight="5px" border="0" />
> > >                 </f:facet>
> > >                 <tc:cell spanX="3">
> > >                     <tc:out  value="Registration Form"
> > > markup="sectionHeader"/>
> > >                </tc:cell>
> > >                <tc:cell spanX="3">
> > >                <tc:messages/>
> > >                </tc:cell>
> > >
> > >                 <tc:cell>
> > >                 <tc:label value ="#{bundle.firstName}"/>
> > >                 </tc:cell>
> > >                <tc:cell>
> > >                     <tc:in id="fName"
> > > value="#{userRegistration.firstName}" />
> > >                 </tc:cell>
> > >                 <tc:cell/>
> > >
> > >                <tc:cell>
> > >                <tc:label  value="#{bundle.lastName}"/>
> > >                </tc:cell>
> > >
> > >                <tc:cell>
> > >                     <tc:in id="lName"
> > > value="#{userRegistration.lastName}" />
> > >                 </tc:cell>
> > >                 <tc:cell/>
> > >
> > >                <tc:cell>
> > >                <tc:label value="#{bundle.phone}"/>
> > >                </tc:cell>
> > >                <tc:cell>
> > >                     <tc:in id="phone"
> > > value="#{userRegistration.phoneNumber}" />
> > >                 </tc:cell>
> > >                 <tc:cell/>
> > >
> > >                <tc:cell>
> > >                <tc:label value ="#{bundle.country}"/>
> > >                </tc:cell>
> > >                <tc:cell>
> > >                            <tc:selectOneChoice
> > > value="#{userRegistration.country}"
> > > id="country">
> > >                            <f:selectItem itemLabel="-Select Country-"
> > > itemValue="none"/>
> > >                                <f:selectItem itemLabel="United States"
> > > itemValue="US"/>
> > >                                <f:selectItem itemLabel="Australia"
> > > itemValue="AU"/>
> > >                                <f:selectItem itemLabel="United
> Kingdom"
> > > itemValue="UK"/>
> > >                                <f:selectItem itemLabel="China"
> > > itemValue="CH"/>
> > >                            </tc:selectOneChoice>
> > >                    </tc:cell>
> > >                 <tc:cell/>
> > >
> > >                <tc:cell>
> > >                <tc:label value = "#{bundle.company}"/>
> > >                </tc:cell>
> > >                 <tc:cell>
> > >                     <tc:in id="company"
> > > value="#{userRegistration.company}"/>
> > >                 </tc:cell>
> > >                 <tc:cell/>
> > >
> > >                <tc:cell>
> > >                <tc:label value ="#{bundle.emailID}"/>
> > >                </tc:cell>
> > >                <tc:cell>
> > >                     <tc:in id="email" value="#{userRegistration.email
> }"/>
> > >                 </tc:cell>
> > >                 <tc:cell/>
> > >
> > >
> > >                <tc:cell>
> > >                         <f:facet name="layout">
> > >                                    <tc:gridLayout rows="20px;*"/>
> > >                           </f:facet>
> > >                          <tc:cell>
> > >                                         <tc:label value
> > > ="#{bundle.comments}"/>
> > >                           </tc:cell>
> > >                           <tc:cell/>
> > >                  </tc:cell>
> > >                  <tc:cell>
> > >                        <tc:textarea id="comments"
> > > value="#{userRegistration.comments}"></tc:textarea>
> > >                 </tc:cell>
> > >                 <tc:cell/>
> > >
> > >                <tc:cell/>
> > >                   <tc:cell/>
> > >
> > >                 <tc:cell/>
> > >
> > >                 <tc:cell/>
> > >                <tc:cell>
> > >                    <f:facet name="layout">
> > >                        <tc:gridLayout columns="10px;70px;70px;*"
> > > border="0"/>
> > >                    </f:facet>
> > >                    <tc:cell/>
> > >                    <tc:cell>
> > >                        <tc:button label="#{bundle.cancel}"
> > > width="50px" action="goto_login" immediate="true"/>
> > >                    </tc:cell>
> > >                    <tc:cell>
> > >                        <tc:button
> > > action="#{userRegistration.getRegistered}"
> > >                                       label="#{bundle.register}"
> > >                                       width="60px"/>
> > >                    </tc:cell>
> > >                </tc:cell>
> > >                <tc:cell/>
> > >
> > >                         <tc:cell/><tc:cell/><tc:cell/>
> > >             </tc:panel>
> > >         </tc:form>
> > > </jsp:body>
> > > </layout:loginLayout>
> > >
> > >
> ================================================================================================
> > >
> > >
> > >
> > > I'm running out of time with my project dead line.
> > > And kind of suggestion will be greatly appreciated.
> > >
> > > Thanks,
> > > Vinay
> > >
> > > On 3/21/07, Vinay Konanki <vi...@gmail.com> wrote:
> > >>
> > >> Hi,
> > >>
> > >> Can anyone help me in this regard,
> > >> I dont see any problem (for Label text alignment) with cross browsers
> in
> > >> live Tobago demo.
> > >>
> > >> but in my application I'm struggling with the alignment between IE7
> and
> > >> Firefox 2.0.0.3 (Image attached in my previous mail)
> > >>
> > >> do i need to do any thing with the Styles and CSS?
> > >> Please reply me soon.
> > >>
> > >> NB: i'm attaching my jsp ( User Registration Form)
> > >>
> > >> Any kind of suggestions will be appreciated.
> > >>
> > >> Thanks,
> > >> Vinay
> > >>
> > >> On 3/15/07, Vinay Konanki <vinay.tobago@gmail.com > wrote:
> > >> >
> > >> >
> > >> > Hi Arvid,
> > >> >
> > >> >
> > >> > Thanks for your reply. I dont see any problem with live demo.
> > >> > > but only in my application, here im attaching Registration jsp
> > >> > >
> > >> > > Do i need to do any thing with the theme/styles/css?
> > >> > >
> > >> > > Awaiting reply.
> > >> > >
> > >> > > Vinay
> > >> > >
> > >> > > On 3/15/07, Arvid Hülsebus < arvid.huelsebus@atanion.com> wrote:
> > >> > > >
> > >> > > > Do you have the same problem with the life demo?
> > >> > > >
> > >> > > >
> > >>
> http://tobago.atanion.net/tobago-example-demo/faces/overview/layout.jsp
> > >> > > >
> > >> > > >
> > >> > > > Perhaps you can send the JSP page (or whatever view technology
> you
> > >> > > > are
> > >> > > > using).
> > >> > > >
> > >> > > > Regards,
> > >> > > > Arvid
> > >> > > >
> > >> > > > Vinay Konanki wrote:
> > >> > > > > Hi all,
> > >> > > > >
> > >> > > > > I have an issue with label text alignments between IE7 and
> > >> > > > Firefox.
> > >> > > > > attached is the file that contains the snapshots both in IE
> and
> > >> > > > Firefox.
> > >> > > > > In IE the label text will be displayed in RHS where as in
> firefox
> > >> > > > it
> > >> > > > > will display on LHS.
> > >> > > > >
> > >> > > > > Can anyone suggest me how to over come this cross browsers
> issue.
> > >> > > > >
> > >> > > > > Thanks in advance,
> > >> > > > > Vinay
> > >> > > > >
> > >> > > > >
> > >> > > >
> > >>
> ------------------------------------------------------------------------
> > >> > > > >
> > >> > > >
> > >> > >
> > >> > >
> > >> > >
> > >> >
> > >> >
> > >>
> > >>
> > >
> >
>

Re: [Tobago] Issue with Label Text alignment btw IE and Firefox

Posted by Volker Weber <v....@inexso.de>.
Hi,

Bernd: the problem is the alignment of the labels in IE7.

Vinay: can you checkout the example, add your page there and test if
the problem occurs please.

Another thing: please remove all redundant tc:cell tags:
  you can remove every tc:cell where just one child and no span(X/Y)
and use the child direct.
  you can replace every tc:cell with no span(X/Y) by a tc:panel.

The only difference between tc:cell and tc:panel is the ability to add
span attributes to the tc:cell.

Regards,
  Volker


2007/3/29, Bernd Bohmann <be...@atanion.com>:
> Hello Vinay,
>
> is your problem
>
> http://issues.apache.org/jira/browse/TOBAGO-14 ?
>
> Regards
>
> Bernd
>
> Vinay Konanki wrote:
> > Hi all,
> > Please help me in this regard.
> >
> > As i mentioned in my previous mail, i'm still struggling with the label
> > Alignment between IE and Firefox (image Attached)
> >
> > here is my JSP
> >
> > ==============================================================================
> >
> >
> > <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
> > <%@ taglib uri="http://myfaces.apache.org/tobago/component" prefix="tc" %>
> > <%@ taglib uri="http://myfaces.apache.org/tobago/extension" prefix="tx" %>
> > <%@ taglib tagdir="/WEB-INF/tags/layout" prefix="layout" %>
> >
> >
> >
> > <layout:loginLayout>
> > <jsp:body>
> >      <tc:form id="userRegistration">
> >             <tc:panel width="#{bundle.bodyPageWidth}" height="300px">
> >                 <f:facet name="layout">
> >                     <tc:gridLayout columns="150px;250px;1*"
> > rows="40px;20px;20px;20px;20px;20px;20px;20px;80px;20px;20px;40px"
> > marginLeft="5px" marginRight="5px" border="0" />
> >                 </f:facet>
> >                 <tc:cell spanX="3">
> >                     <tc:out  value="Registration Form"
> > markup="sectionHeader"/>
> >                </tc:cell>
> >                <tc:cell spanX="3">
> >                <tc:messages/>
> >                </tc:cell>
> >
> >                 <tc:cell>
> >                 <tc:label value ="#{bundle.firstName}"/>
> >                 </tc:cell>
> >                <tc:cell>
> >                     <tc:in id="fName"
> > value="#{userRegistration.firstName}" />
> >                 </tc:cell>
> >                 <tc:cell/>
> >
> >                <tc:cell>
> >                <tc:label  value="#{bundle.lastName}"/>
> >                </tc:cell>
> >
> >                <tc:cell>
> >                     <tc:in id="lName"
> > value="#{userRegistration.lastName}" />
> >                 </tc:cell>
> >                 <tc:cell/>
> >
> >                <tc:cell>
> >                <tc:label value="#{bundle.phone}"/>
> >                </tc:cell>
> >                <tc:cell>
> >                     <tc:in id="phone"
> > value="#{userRegistration.phoneNumber}" />
> >                 </tc:cell>
> >                 <tc:cell/>
> >
> >                <tc:cell>
> >                <tc:label value ="#{bundle.country}"/>
> >                </tc:cell>
> >                <tc:cell>
> >                            <tc:selectOneChoice
> > value="#{userRegistration.country}"
> > id="country">
> >                            <f:selectItem itemLabel="-Select Country-"
> > itemValue="none"/>
> >                                <f:selectItem itemLabel="United States"
> > itemValue="US"/>
> >                                <f:selectItem itemLabel="Australia"
> > itemValue="AU"/>
> >                                <f:selectItem itemLabel="United Kingdom"
> > itemValue="UK"/>
> >                                <f:selectItem itemLabel="China"
> > itemValue="CH"/>
> >                            </tc:selectOneChoice>
> >                    </tc:cell>
> >                 <tc:cell/>
> >
> >                <tc:cell>
> >                <tc:label value = "#{bundle.company}"/>
> >                </tc:cell>
> >                 <tc:cell>
> >                     <tc:in id="company"
> > value="#{userRegistration.company}"/>
> >                 </tc:cell>
> >                 <tc:cell/>
> >
> >                <tc:cell>
> >                <tc:label value ="#{bundle.emailID}"/>
> >                </tc:cell>
> >                <tc:cell>
> >                     <tc:in id="email" value="#{userRegistration.email}"/>
> >                 </tc:cell>
> >                 <tc:cell/>
> >
> >
> >                <tc:cell>
> >                         <f:facet name="layout">
> >                                    <tc:gridLayout rows="20px;*"/>
> >                           </f:facet>
> >                          <tc:cell>
> >                                         <tc:label value
> > ="#{bundle.comments}"/>
> >                           </tc:cell>
> >                           <tc:cell/>
> >                  </tc:cell>
> >                  <tc:cell>
> >                        <tc:textarea id="comments"
> > value="#{userRegistration.comments}"></tc:textarea>
> >                 </tc:cell>
> >                 <tc:cell/>
> >
> >                <tc:cell/>
> >                   <tc:cell/>
> >
> >                 <tc:cell/>
> >
> >                 <tc:cell/>
> >                <tc:cell>
> >                    <f:facet name="layout">
> >                        <tc:gridLayout columns="10px;70px;70px;*"
> > border="0"/>
> >                    </f:facet>
> >                    <tc:cell/>
> >                    <tc:cell>
> >                        <tc:button label="#{bundle.cancel}"
> > width="50px" action="goto_login" immediate="true"/>
> >                    </tc:cell>
> >                    <tc:cell>
> >                        <tc:button
> > action="#{userRegistration.getRegistered}"
> >                                       label="#{bundle.register}"
> >                                       width="60px"/>
> >                    </tc:cell>
> >                </tc:cell>
> >                <tc:cell/>
> >
> >                         <tc:cell/><tc:cell/><tc:cell/>
> >             </tc:panel>
> >         </tc:form>
> > </jsp:body>
> > </layout:loginLayout>
> >
> > ================================================================================================
> >
> >
> >
> > I'm running out of time with my project dead line.
> > And kind of suggestion will be greatly appreciated.
> >
> > Thanks,
> > Vinay
> >
> > On 3/21/07, Vinay Konanki <vi...@gmail.com> wrote:
> >>
> >> Hi,
> >>
> >> Can anyone help me in this regard,
> >> I dont see any problem (for Label text alignment) with cross browsers in
> >> live Tobago demo.
> >>
> >> but in my application I'm struggling with the alignment between IE7 and
> >> Firefox 2.0.0.3 (Image attached in my previous mail)
> >>
> >> do i need to do any thing with the Styles and CSS?
> >> Please reply me soon.
> >>
> >> NB: i'm attaching my jsp ( User Registration Form)
> >>
> >> Any kind of suggestions will be appreciated.
> >>
> >> Thanks,
> >> Vinay
> >>
> >> On 3/15/07, Vinay Konanki <vinay.tobago@gmail.com > wrote:
> >> >
> >> >
> >> > Hi Arvid,
> >> >
> >> >
> >> > Thanks for your reply. I dont see any problem with live demo.
> >> > > but only in my application, here im attaching Registration jsp
> >> > >
> >> > > Do i need to do any thing with the theme/styles/css?
> >> > >
> >> > > Awaiting reply.
> >> > >
> >> > > Vinay
> >> > >
> >> > > On 3/15/07, Arvid Hülsebus < arvid.huelsebus@atanion.com> wrote:
> >> > > >
> >> > > > Do you have the same problem with the life demo?
> >> > > >
> >> > > >
> >> http://tobago.atanion.net/tobago-example-demo/faces/overview/layout.jsp
> >> > > >
> >> > > >
> >> > > > Perhaps you can send the JSP page (or whatever view technology you
> >> > > > are
> >> > > > using).
> >> > > >
> >> > > > Regards,
> >> > > > Arvid
> >> > > >
> >> > > > Vinay Konanki wrote:
> >> > > > > Hi all,
> >> > > > >
> >> > > > > I have an issue with label text alignments between IE7 and
> >> > > > Firefox.
> >> > > > > attached is the file that contains the snapshots both in IE and
> >> > > > Firefox.
> >> > > > > In IE the label text will be displayed in RHS where as in firefox
> >> > > > it
> >> > > > > will display on LHS.
> >> > > > >
> >> > > > > Can anyone suggest me how to over come this cross browsers issue.
> >> > > > >
> >> > > > > Thanks in advance,
> >> > > > > Vinay
> >> > > > >
> >> > > > >
> >> > > >
> >> ------------------------------------------------------------------------
> >> > > > >
> >> > > >
> >> > >
> >> > >
> >> > >
> >> >
> >> >
> >>
> >>
> >
>

Re: [Tobago] Issue with Label Text alignment btw IE and Firefox

Posted by Bernd Bohmann <be...@atanion.com>.
Hello Vinay,

is your problem

http://issues.apache.org/jira/browse/TOBAGO-14 ?

Regards

Bernd

Vinay Konanki wrote:
> Hi all,
> Please help me in this regard.
> 
> As i mentioned in my previous mail, i'm still struggling with the label
> Alignment between IE and Firefox (image Attached)
> 
> here is my JSP
> 
> ============================================================================== 
> 
> 
> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
> <%@ taglib uri="http://myfaces.apache.org/tobago/component" prefix="tc" %>
> <%@ taglib uri="http://myfaces.apache.org/tobago/extension" prefix="tx" %>
> <%@ taglib tagdir="/WEB-INF/tags/layout" prefix="layout" %>
> 
> 
> 
> <layout:loginLayout>
> <jsp:body>
>      <tc:form id="userRegistration">
>             <tc:panel width="#{bundle.bodyPageWidth}" height="300px">
>                 <f:facet name="layout">
>                     <tc:gridLayout columns="150px;250px;1*"
> rows="40px;20px;20px;20px;20px;20px;20px;20px;80px;20px;20px;40px"
> marginLeft="5px" marginRight="5px" border="0" />
>                 </f:facet>
>                 <tc:cell spanX="3">
>                     <tc:out  value="Registration Form" 
> markup="sectionHeader"/>
>                </tc:cell>               
>                <tc:cell spanX="3">
>                <tc:messages/>
>                </tc:cell>
>                               
>                 <tc:cell>
>                 <tc:label value ="#{bundle.firstName}"/>
>                 </tc:cell>
>                <tc:cell>
>                     <tc:in id="fName" 
> value="#{userRegistration.firstName}" />
>                 </tc:cell>
>                 <tc:cell/>
> 
>                <tc:cell>
>                <tc:label  value="#{bundle.lastName}"/>
>                </tc:cell>
> 
>                <tc:cell>
>                     <tc:in id="lName"  
> value="#{userRegistration.lastName}" />
>                 </tc:cell>
>                 <tc:cell/>
> 
>                <tc:cell>
>                <tc:label value="#{bundle.phone}"/>
>                </tc:cell>
>                <tc:cell>
>                     <tc:in id="phone" 
> value="#{userRegistration.phoneNumber}" />
>                 </tc:cell>
>                 <tc:cell/>
> 
>                <tc:cell>
>                <tc:label value ="#{bundle.country}"/>
>                </tc:cell>
>                <tc:cell>
>                            <tc:selectOneChoice 
> value="#{userRegistration.country}"
> id="country">
>                            <f:selectItem itemLabel="-Select Country-"
> itemValue="none"/>
>                                <f:selectItem itemLabel="United States" 
> itemValue="US"/>
>                                <f:selectItem itemLabel="Australia" 
> itemValue="AU"/>
>                                <f:selectItem itemLabel="United Kingdom" 
> itemValue="UK"/>
>                                <f:selectItem itemLabel="China" 
> itemValue="CH"/>
>                            </tc:selectOneChoice>
>                    </tc:cell>
>                 <tc:cell/>
> 
>                <tc:cell>
>                <tc:label value = "#{bundle.company}"/>
>                </tc:cell>
>                 <tc:cell>
>                     <tc:in id="company" 
> value="#{userRegistration.company}"/>
>                 </tc:cell>
>                 <tc:cell/>
> 
>                <tc:cell>
>                <tc:label value ="#{bundle.emailID}"/>
>                </tc:cell>
>                <tc:cell>
>                     <tc:in id="email" value="#{userRegistration.email}"/>
>                 </tc:cell>
>                 <tc:cell/>
> 
> 
>                <tc:cell>
>                         <f:facet name="layout">
>                                    <tc:gridLayout rows="20px;*"/>
>                           </f:facet>
>                          <tc:cell>
>                                         <tc:label value 
> ="#{bundle.comments}"/>
>                           </tc:cell>
>                           <tc:cell/>
>                  </tc:cell>
>                  <tc:cell>
>                        <tc:textarea id="comments"
> value="#{userRegistration.comments}"></tc:textarea>
>                 </tc:cell>
>                 <tc:cell/>
> 
>                <tc:cell/>
>                   <tc:cell/>
> 
>                 <tc:cell/>
> 
>                 <tc:cell/>
>                <tc:cell>
>                    <f:facet name="layout">
>                        <tc:gridLayout columns="10px;70px;70px;*" 
> border="0"/>
>                    </f:facet>
>                    <tc:cell/>
>                    <tc:cell>
>                        <tc:button label="#{bundle.cancel}"
> width="50px" action="goto_login" immediate="true"/>
>                    </tc:cell>
>                    <tc:cell>
>                        <tc:button     
> action="#{userRegistration.getRegistered}"
>                                       label="#{bundle.register}"
>                                       width="60px"/>
>                    </tc:cell>
>                </tc:cell>
>                <tc:cell/>
> 
>                         <tc:cell/><tc:cell/><tc:cell/>
>             </tc:panel>
>         </tc:form>   
> </jsp:body>
> </layout:loginLayout>
> 
> ================================================================================================ 
> 
> 
> 
> I'm running out of time with my project dead line.
> And kind of suggestion will be greatly appreciated.
> 
> Thanks,
> Vinay
> 
> On 3/21/07, Vinay Konanki <vi...@gmail.com> wrote:
>>
>> Hi,
>>
>> Can anyone help me in this regard,
>> I dont see any problem (for Label text alignment) with cross browsers in
>> live Tobago demo.
>>
>> but in my application I'm struggling with the alignment between IE7 and
>> Firefox 2.0.0.3 (Image attached in my previous mail)
>>
>> do i need to do any thing with the Styles and CSS?
>> Please reply me soon.
>>
>> NB: i'm attaching my jsp ( User Registration Form)
>>
>> Any kind of suggestions will be appreciated.
>>
>> Thanks,
>> Vinay
>>
>> On 3/15/07, Vinay Konanki <vinay.tobago@gmail.com > wrote:
>> >
>> >
>> > Hi Arvid,
>> >
>> >
>> > Thanks for your reply. I dont see any problem with live demo.
>> > > but only in my application, here im attaching Registration jsp
>> > >
>> > > Do i need to do any thing with the theme/styles/css?
>> > >
>> > > Awaiting reply.
>> > >
>> > > Vinay
>> > >
>> > > On 3/15/07, Arvid Hülsebus < arvid.huelsebus@atanion.com> wrote:
>> > > >
>> > > > Do you have the same problem with the life demo?
>> > > >
>> > > > 
>> http://tobago.atanion.net/tobago-example-demo/faces/overview/layout.jsp
>> > > >
>> > > >
>> > > > Perhaps you can send the JSP page (or whatever view technology you
>> > > > are
>> > > > using).
>> > > >
>> > > > Regards,
>> > > > Arvid
>> > > >
>> > > > Vinay Konanki wrote:
>> > > > > Hi all,
>> > > > >
>> > > > > I have an issue with label text alignments between IE7 and
>> > > > Firefox.
>> > > > > attached is the file that contains the snapshots both in IE and
>> > > > Firefox.
>> > > > > In IE the label text will be displayed in RHS where as in firefox
>> > > > it
>> > > > > will display on LHS.
>> > > > >
>> > > > > Can anyone suggest me how to over come this cross browsers issue.
>> > > > >
>> > > > > Thanks in advance,
>> > > > > Vinay
>> > > > >
>> > > > >
>> > > > 
>> ------------------------------------------------------------------------
>> > > > >
>> > > >
>> > >
>> > >
>> > >
>> >
>> >
>>
>>
> 

Re: [Tobago] Issue with Label Text alignment btw IE and Firefox

Posted by Vinay Konanki <vi...@gmail.com>.
Hi all,
Please help me in this regard.

As i mentioned in my previous mail, i'm still struggling with the label
Alignment between IE and Firefox (image Attached)

here is my JSP

==============================================================================

<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<%@ taglib uri="http://myfaces.apache.org/tobago/component" prefix="tc" %>
<%@ taglib uri="http://myfaces.apache.org/tobago/extension" prefix="tx" %>
<%@ taglib tagdir="/WEB-INF/tags/layout" prefix="layout" %>



<layout:loginLayout>
<jsp:body>
	 <tc:form id="userRegistration">
			<tc:panel width="#{bundle.bodyPageWidth}" height="300px">
				<f:facet name="layout">
					<tc:gridLayout columns="150px;250px;1*"
rows="40px;20px;20px;20px;20px;20px;20px;20px;80px;20px;20px;40px"
marginLeft="5px" marginRight="5px" border="0" />
				</f:facet>
				<tc:cell spanX="3">
					<tc:out  value="Registration Form" markup="sectionHeader"/>
                </tc:cell>				
                <tc:cell spanX="3">
                <tc:messages/>
                </tc:cell>
                				
                 <tc:cell>
                 <tc:label value ="#{bundle.firstName}"/>
                 </tc:cell>
                <tc:cell>
					<tc:in id="fName" value="#{userRegistration.firstName}" />
				</tc:cell>
				<tc:cell/>

                <tc:cell>
                <tc:label  value="#{bundle.lastName}"/>
                </tc:cell>

                <tc:cell>
					<tc:in id="lName"  value="#{userRegistration.lastName}" />
				</tc:cell>
				<tc:cell/>

                <tc:cell>
                <tc:label value="#{bundle.phone}"/>
                </tc:cell>
                <tc:cell>
					<tc:in id="phone" value="#{userRegistration.phoneNumber}" />
				</tc:cell>
				<tc:cell/>

                <tc:cell>
                <tc:label value ="#{bundle.country}"/>
                </tc:cell>
                <tc:cell>
	   	    			<tc:selectOneChoice value="#{userRegistration.country}"
id="country">
                            <f:selectItem itemLabel="-Select Country-"
itemValue="none"/>
	   	    				<f:selectItem itemLabel="United States" itemValue="US"/>
	   	    				<f:selectItem itemLabel="Australia" itemValue="AU"/>
	   	    				<f:selectItem itemLabel="United Kingdom" itemValue="UK"/>
	   	    				<f:selectItem itemLabel="China" itemValue="CH"/>
	   	    			</tc:selectOneChoice>
	   	    	</tc:cell>
				<tc:cell/>

                <tc:cell>
                <tc:label value = "#{bundle.company}"/>
                </tc:cell>
				<tc:cell>
					<tc:in id="company" value="#{userRegistration.company}"/>
				</tc:cell>
				<tc:cell/>

                <tc:cell>
                <tc:label value ="#{bundle.emailID}"/>
                </tc:cell>
                <tc:cell>
					<tc:in id="email" value="#{userRegistration.email}"/>
				</tc:cell>
				<tc:cell/>


                <tc:cell>
                         <f:facet name="layout">
                                    <tc:gridLayout rows="20px;*"/>
                           </f:facet>
                          <tc:cell>
                                         <tc:label value ="#{bundle.comments}"/>
                           </tc:cell>
                           <tc:cell/>
                  </tc:cell>
                  <tc:cell>
                        <tc:textarea id="comments"
value="#{userRegistration.comments}"></tc:textarea>
				</tc:cell>
				<tc:cell/>

                <tc:cell/>
                   <tc:cell/>

                 <tc:cell/>

                 <tc:cell/>
                <tc:cell>
                    <f:facet name="layout">
                        <tc:gridLayout columns="10px;70px;70px;*" border="0"/>
                    </f:facet>
                    <tc:cell/>
                    <tc:cell>
                        <tc:button label="#{bundle.cancel}"
width="50px" action="goto_login" immediate="true"/>
                    </tc:cell>
                    <tc:cell>
                        <tc:button 	action="#{userRegistration.getRegistered}"
                       				label="#{bundle.register}"
                       				width="60px"/>
                    </tc:cell>
                </tc:cell>
                <tc:cell/>

                         <tc:cell/><tc:cell/><tc:cell/>
			</tc:panel>
		</tc:form>	
</jsp:body>
</layout:loginLayout>

================================================================================================


I'm running out of time with my project dead line.
And kind of suggestion will be greatly appreciated.

Thanks,
Vinay

On 3/21/07, Vinay Konanki <vi...@gmail.com> wrote:
>
> Hi,
>
> Can anyone help me in this regard,
> I dont see any problem (for Label text alignment) with cross browsers in
> live Tobago demo.
>
> but in my application I'm struggling with the alignment between IE7 and
> Firefox 2.0.0.3 (Image attached in my previous mail)
>
> do i need to do any thing with the Styles and CSS?
> Please reply me soon.
>
> NB: i'm attaching my jsp ( User Registration Form)
>
> Any kind of suggestions will be appreciated.
>
> Thanks,
> Vinay
>
> On 3/15/07, Vinay Konanki <vinay.tobago@gmail.com > wrote:
> >
> >
> > Hi Arvid,
> >
> >
> > Thanks for your reply. I dont see any problem with live demo.
> > > but only in my application, here im attaching Registration jsp
> > >
> > > Do i need to do any thing with the theme/styles/css?
> > >
> > > Awaiting reply.
> > >
> > > Vinay
> > >
> > > On 3/15/07, Arvid Hülsebus < arvid.huelsebus@atanion.com> wrote:
> > > >
> > > > Do you have the same problem with the life demo?
> > > >
> > > > http://tobago.atanion.net/tobago-example-demo/faces/overview/layout.jsp
> > > >
> > > >
> > > > Perhaps you can send the JSP page (or whatever view technology you
> > > > are
> > > > using).
> > > >
> > > > Regards,
> > > > Arvid
> > > >
> > > > Vinay Konanki wrote:
> > > > > Hi all,
> > > > >
> > > > > I have an issue with label text alignments between IE7 and
> > > > Firefox.
> > > > > attached is the file that contains the snapshots both in IE and
> > > > Firefox.
> > > > > In IE the label text will be displayed in RHS where as in firefox
> > > > it
> > > > > will display on LHS.
> > > > >
> > > > > Can anyone suggest me how to over come this cross browsers issue.
> > > > >
> > > > > Thanks in advance,
> > > > > Vinay
> > > > >
> > > > >
> > > > ------------------------------------------------------------------------
> > > > >
> > > >
> > >
> > >
> > >
> >
> >
>
>

Re: [Tobago] Issue with Label Text alignment btw IE and Firefox

Posted by Vinay Konanki <vi...@gmail.com>.
Hi,

Can anyone help me in this regard,
I dont see any problem (for Label text alignment) with cross browsers in
live Tobago demo.

but in my application I'm struggling with the alignment between IE7 and
Firefox 2.0.0.3 (Image attached in my previous mail)

do i need to do any thing with the Styles and CSS?
Please reply me soon.

NB: i'm attaching my jsp ( User Registration Form)

Any kind of suggestions will be appreciated.

Thanks,
Vinay

On 3/15/07, Vinay Konanki <vi...@gmail.com> wrote:
>
>
> Hi Arvid,
>
>
> Thanks for your reply. I dont see any problem with live demo.
> > but only in my application, here im attaching Registration jsp
> >
> > Do i need to do any thing with the theme/styles/css?
> >
> > Awaiting reply.
> >
> > Vinay
> >
> > On 3/15/07, Arvid H�lsebus < arvid.huelsebus@atanion.com> wrote:
> > >
> > > Do you have the same problem with the life demo?
> > >
> > > http://tobago.atanion.net/tobago-example-demo/faces/overview/layout.jsp
> > >
> > >
> > > Perhaps you can send the JSP page (or whatever view technology you are
> > > using).
> > >
> > > Regards,
> > > Arvid
> > >
> > > Vinay Konanki wrote:
> > > > Hi all,
> > > >
> > > > I have an issue with label text alignments between IE7 and Firefox.
> > > > attached is the file that contains the snapshots both in IE and
> > > Firefox.
> > > > In IE the label text will be displayed in RHS where as in firefox it
> > > > will display on LHS.
> > > >
> > > > Can anyone suggest me how to over come this cross browsers issue.
> > > >
> > > > Thanks in advance,
> > > > Vinay
> > > >
> > > >
> > > ------------------------------------------------------------------------
> > > >
> > >
> >
> >
> >
>
>

Re: [Tobago] Issue with Label Text alignment btw IE and Firefox

Posted by Vinay Konanki <vi...@gmail.com>.
> Hi Arvid,


Thanks for your reply. I dont see any problem with live demo.
> but only in my application, here im attaching Registration jsp
>
> Do i need to do any thing with the theme/styles/css?
>
> Awaiting reply.
>
> Vinay
>
> On 3/15/07, Arvid H�lsebus <ar...@atanion.com> wrote:
> >
> > Do you have the same problem with the life demo?
> >
> > http://tobago.atanion.net/tobago-example-demo/faces/overview/layout.jsp
> >
> > Perhaps you can send the JSP page (or whatever view technology you are
> > using).
> >
> > Regards,
> > Arvid
> >
> > Vinay Konanki wrote:
> > > Hi all,
> > >
> > > I have an issue with label text alignments between IE7 and Firefox.
> > > attached is the file that contains the snapshots both in IE and
> > Firefox.
> > > In IE the label text will be displayed in RHS where as in firefox it
> > > will display on LHS.
> > >
> > > Can anyone suggest me how to over come this cross browsers issue.
> > >
> > > Thanks in advance,
> > > Vinay
> > >
> > >
> > ------------------------------------------------------------------------
> > >
> >
>
>
>

Re: [Tobago] Issue with Label Text alignment btw IE and Firefox

Posted by Vinay Konanki <vi...@gmail.com>.
Hi Arvid,
Thanks for your reply. I dont see any problem with live demo.
but only in my application, here im attaching Registration jsp

Do i need to do any thing with the themes?

Awaiting reply.

Vinay

On 3/15/07, Arvid H�lsebus <ar...@atanion.com> wrote:
>
> Do you have the same problem with the life demo?
>
> http://tobago.atanion.net/tobago-example-demo/faces/overview/layout.jsp
>
> Perhaps you can send the JSP page (or whatever view technology you are
> using).
>
> Regards,
> Arvid
>
> Vinay Konanki wrote:
> > Hi all,
> >
> > I have an issue with label text alignments between IE7 and Firefox.
> > attached is the file that contains the snapshots both in IE and Firefox.
> > In IE the label text will be displayed in RHS where as in firefox it
> > will display on LHS.
> >
> > Can anyone suggest me how to over come this cross browsers issue.
> >
> > Thanks in advance,
> > Vinay
> >
> > ------------------------------------------------------------------------
> >
>

Re: [Tobago] Issue with Label Text alignment btw IE and Firefox

Posted by Arvid Hülsebus <ar...@atanion.com>.
Do you have the same problem with the life demo?

http://tobago.atanion.net/tobago-example-demo/faces/overview/layout.jsp

Perhaps you can send the JSP page (or whatever view technology you are 
using).

Regards,
Arvid

Vinay Konanki wrote:
> Hi all,
>
> I have an issue with label text alignments between IE7 and Firefox. 
> attached is the file that contains the snapshots both in IE and Firefox.
> In IE the label text will be displayed in RHS where as in firefox it 
> will display on LHS.
>
> Can anyone suggest me how to over come this cross browsers issue.
>
> Thanks in advance,
> Vinay
>
> ------------------------------------------------------------------------
>