You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by hicham abassi <ha...@gmail.com> on 2005/10/04 21:02:02 UTC
Colspan and
Hello,
i have a form with a <h:panelgrid> for my label,input,message components
<h:panelGrid columns="3">
<h:ouputLabel for="inputName">
<h:inputText id="inputName" ...>
<h:message for="inputName" ...>
i want here to put 2 set of components here for example postal code
and town without disturbing the alignement of above components
<h:panelGrid columns="6">
<h:ouputLabel for="inputPC" ...>
<h:inputText id="inputPC" ...>
<h:message for="inputPC" ....>
<h:ouputLabel for="inputTown" ...>
<h:inputText id="inputTown" ...>
<h:message for="inputTown"....>
</h:panelGrid>
<h:panelGroup/>
<h:panelGroup/>
Problem : the input and message of the first row are moved to the right
</h:panelGrid>
Is there a way to do colspan on h:panelGrid row ?
Thanks.
--
hicham ABASSI
habassi@gmail.com
Re: Colspan and
Posted by Mike Kienenberger <mk...@gmail.com>.
As far as I know, there's no colspan.
The only way you'd be able to make this work is to use <h:panelGrid
columns="6"> on your main grid and use
<h:panelGroup/>
<h:panelGroup/>
<h:panelGroup/>
There's no other way to line up the entries in your main group and
your InputPC group.
after every group but the inputPC and inputTown.
I suppose you could use ="4" for the main group, but you're not really
going to gain much doing it that way.
On 10/4/05, hicham abassi <ha...@gmail.com> wrote:
> Hello,
>
> i have a form with a <h:panelgrid> for my label,input,message components
>
> <h:panelGrid columns="3">
>
> <h:ouputLabel for="inputName">
> <h:inputText id="inputName" ...>
> <h:message for="inputName" ...>
>
> i want here to put 2 set of components here for example postal code
> and town without disturbing the alignement of above components
>
> <h:panelGrid columns="6">
> <h:ouputLabel for="inputPC" ...>
> <h:inputText id="inputPC" ...>
> <h:message for="inputPC" ....>
>
> <h:ouputLabel for="inputTown" ...>
> <h:inputText id="inputTown" ...>
> <h:message for="inputTown"....>
> </h:panelGrid>
> <h:panelGroup/>
> <h:panelGroup/>
>
> Problem : the input and message of the first row are moved to the right
>
>
>
> </h:panelGrid>
>
>
>
> Is there a way to do colspan on h:panelGrid row ?
>
> Thanks.
>
>
>
>
>
> --
>
> hicham ABASSI
> habassi@gmail.com
>
Re: Colspan and
Posted by hicham abassi <ha...@gmail.com>.
Thanks Mike,
That's true that header and footers can do implicitly colspan, but
i'll choose a panelGrid with 6 columns.
2005/10/4, Mike Kienenberger <mk...@gmail.com>:
> Note that the example you're pointing at only works for a header or a
> footer row.
>
> Also note that my last should have read:
>
> ======================================
> after every group but the inputPC and inputTown.
>
> There's no other way to line up the entries in your main group and
> your InputPC group.
> ======================================
>
> instead of
>
> ======================================
> There's no other way to line up the entries in your main group and
> your InputPC group.
>
> after every group but the inputPC and inputTown.
> ======================================
>
> On 10/4/05, gramani@intellicare.com <gr...@intellicare.com> wrote:
> >
> > Hi,
> >
> > Check this example out:
> > http://www.exadel.com/tutorial/jsf/jsftags-guide.html
> >
> > I think the example under "UIPanel" should give you the answer.
> >
> > Geeta
> >
> > hicham abassi <ha...@gmail.com> wrote on 10/04/2005 03:02:02 PM:
> >
> >
> > > Hello,
> > >
> > > i have a form with a <h:panelgrid> for my label,input,message components
> > >
> > > <h:panelGrid columns="3">
> > >
> > > <h:ouputLabel for="inputName">
> > > <h:inputText id="inputName" ...>
> > > <h:message for="inputName" ...>
> > >
> > > i want here to put 2 set of components here for example postal code
> > > and town without disturbing the alignement of above components
> > >
> > > <h:panelGrid columns="6">
> > > <h:ouputLabel for="inputPC" ...>
> > > <h:inputText id="inputPC" ...>
> > > <h:message for="inputPC" ....>
> > >
> > > <h:ouputLabel for="inputTown" ...>
> > > <h:inputText id="inputTown" ...>
> > > <h:message for="inputTown"....>
> > > </h:panelGrid>
> > > <h:panelGroup/>
> > > <h:panelGroup/>
> > >
> > > Problem : the input and message of the first row are moved to the right
> > >
> > >
> > >
> > > </h:panelGrid>
> > >
> > >
> > >
> > > Is there a way to do colspan on h:panelGrid row ?
> > >
> > > Thanks.
> > >
> > >
> > >
> > >
> > >
> > > --
> > >
> > > hicham ABASSI
> > > habassi@gmail.com
> > >
> > > --
> > > This message has been scanned for viruses and
> > > dangerous content by MailScanner, and is
> > > believed to be clean.
> > >
> >
> > >
> > > CONFIDENTIALITY NOTICE:This email is intended solely for the person
> > > or entity to which it is addressed and may contain confidential
> > > and/or protected health information. Any duplication,
> > > dissemination, action taken in reliance upon, or other use of this
> > > information by persons or entities other than the intended recipient
> > > is prohibited and may violate applicable laws. If this email has
> > > been received in error, please notify the sender and delete the
> > > information from your system. The views expressed in this email are
> > > those of the sender and may not necessarily represent the views of
> > > IntelliCare.
>
--
hicham ABASSI
habassi@gmail.com
Re: Colspan and
Posted by Mike Kienenberger <mk...@gmail.com>.
Note that the example you're pointing at only works for a header or a
footer row.
Also note that my last should have read:
======================================
after every group but the inputPC and inputTown.
There's no other way to line up the entries in your main group and
your InputPC group.
======================================
instead of
======================================
There's no other way to line up the entries in your main group and
your InputPC group.
after every group but the inputPC and inputTown.
======================================
On 10/4/05, gramani@intellicare.com <gr...@intellicare.com> wrote:
>
> Hi,
>
> Check this example out:
> http://www.exadel.com/tutorial/jsf/jsftags-guide.html
>
> I think the example under "UIPanel" should give you the answer.
>
> Geeta
>
> hicham abassi <ha...@gmail.com> wrote on 10/04/2005 03:02:02 PM:
>
>
> > Hello,
> >
> > i have a form with a <h:panelgrid> for my label,input,message components
> >
> > <h:panelGrid columns="3">
> >
> > <h:ouputLabel for="inputName">
> > <h:inputText id="inputName" ...>
> > <h:message for="inputName" ...>
> >
> > i want here to put 2 set of components here for example postal code
> > and town without disturbing the alignement of above components
> >
> > <h:panelGrid columns="6">
> > <h:ouputLabel for="inputPC" ...>
> > <h:inputText id="inputPC" ...>
> > <h:message for="inputPC" ....>
> >
> > <h:ouputLabel for="inputTown" ...>
> > <h:inputText id="inputTown" ...>
> > <h:message for="inputTown"....>
> > </h:panelGrid>
> > <h:panelGroup/>
> > <h:panelGroup/>
> >
> > Problem : the input and message of the first row are moved to the right
> >
> >
> >
> > </h:panelGrid>
> >
> >
> >
> > Is there a way to do colspan on h:panelGrid row ?
> >
> > Thanks.
> >
> >
> >
> >
> >
> > --
> >
> > hicham ABASSI
> > habassi@gmail.com
> >
> > --
> > This message has been scanned for viruses and
> > dangerous content by MailScanner, and is
> > believed to be clean.
> >
>
> >
> > CONFIDENTIALITY NOTICE:This email is intended solely for the person
> > or entity to which it is addressed and may contain confidential
> > and/or protected health information. Any duplication,
> > dissemination, action taken in reliance upon, or other use of this
> > information by persons or entities other than the intended recipient
> > is prohibited and may violate applicable laws. If this email has
> > been received in error, please notify the sender and delete the
> > information from your system. The views expressed in this email are
> > those of the sender and may not necessarily represent the views of
> > IntelliCare.
Re: Colspan and
Posted by gr...@intellicare.com.
Hi,
Check this example out:
http://www.exadel.com/tutorial/jsf/jsftags-guide.html
I think the example under "UIPanel" should give you the answer.
Geeta
hicham abassi <ha...@gmail.com> wrote on 10/04/2005 03:02:02 PM:
> Hello,
>
> i have a form with a <h:panelgrid> for my label,input,message components
>
> <h:panelGrid columns="3">
>
> <h:ouputLabel for="inputName">
> <h:inputText id="inputName" ...>
> <h:message for="inputName" ...>
>
> i want here to put 2 set of components here for example postal code
> and town without disturbing the alignement of above components
>
> <h:panelGrid columns="6">
> <h:ouputLabel for="inputPC" ...>
> <h:inputText id="inputPC" ...>
> <h:message for="inputPC" ....>
>
> <h:ouputLabel for="inputTown" ...>
> <h:inputText id="inputTown" ...>
> <h:message for="inputTown"....>
> </h:panelGrid>
> <h:panelGroup/>
> <h:panelGroup/>
>
> Problem : the input and message of the first row are moved to the right
>
>
>
> </h:panelGrid>
>
>
>
> Is there a way to do colspan on h:panelGrid row ?
>
> Thanks.
>
>
>
>
>
> --
>
> hicham ABASSI
> habassi@gmail.com
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
>
> CONFIDENTIALITY NOTICE:This email is intended solely for the person
> or entity to which it is addressed and may contain confidential
> and/or protected health information. Any duplication,
> dissemination, action taken in reliance upon, or other use of this
> information by persons or entities other than the intended recipient
> is prohibited and may violate applicable laws. If this email has
> been received in error, please notify the sender and delete the
> information from your system. The views expressed in this email are
> those of the sender and may not necessarily represent the views of
> IntelliCare.