That works with only HtmlPanelGrid as the base class and not with UIInput or UIPanel.On 2/5/06, Ali Raza <[EMAIL PROTECTED]
> wrote:But i was wondering whether i could exten my component from UIInput or something and add an HTmlPanelGrid to it as a child ??
ThanxAliOn 2/5/06,
Ali Raza <[EMAIL PROT
But i was wondering whether i could exten my component from UIInput or something and add an HTmlPanelGrid to it as a child ??ThanxAliOn 2/5/06,
Ali Raza <[EMAIL PROTECTED]> wrote:
Holas Volker,Thanx a lot for your help. I saw the way u had done it and realized my error. i was extending the compone
Holas Volker,Thanx a lot for your help. I saw the way u had done it and realized my error. i was extending the component from UIPanel and then adding an Html Panel Grid to it as a child which doesnt make sense to begin with. Although even though what i was doing was wrong design wise it still
Hi Ali,
UIPanel for base class should work, did you overwrite encodeChildren()
or encodeEnd() to do nothing?
BTW: don't expect these components between your rendered start and end
comments, they are just created here, the rendering is done in
encodeChildren() method of the superclass.
Just for m
Hey Volker,I tried to add the components as you have instructed but nothing at all gets rendered that way. i wonder if im inheriting my component from the right base class UIPanel in my case any how the code im trying now is:
public void encodeBegin( FacesContext context ) {
MAIL PROTECTED] Auftrag
> von Martin Marinschek
> Gesendet: Freitag, 3. Februar 2006 19:43
> An: MyFaces Discussion
> Betreff: Re: AW: AW: AW: Panel Grid custom component
>
>
> Ok,
>
> I tell you how it would work - maybe you want to try to provide
> that to MyFaces:
>
olker Weber
> > Gesendet: Freitag, 3. Februar 2006 18:36
> > An: MyFaces Discussion
> > Betreff: Re: AW: AW: AW: Panel Grid custom component
> >
> >
> > Hi,
> >
> > You can add as many 'header' components as you need (ie number of
>
to:[EMAIL PROTECTED] Auftrag
> von Volker Weber
> Gesendet: Freitag, 3. Februar 2006 18:36
> An: MyFaces Discussion
> Betreff: Re: AW: AW: AW: Panel Grid custom component
>
>
> Hi,
>
> You can add as many 'header' components as you need (ie number of
> columns)
g a simple HtmlPanelGrid...
>
>
> Regards,
>
> Matthias
>
> > -Ursprüngliche Nachricht-
> > Von: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Auftrag
> > von Volker Weber
> > Gesendet: Freitag, 3. Februar 2006 17:40
> > An: MyFaces Discussion
> >
obuttons (with spread layout) in the remaining
> columns.
>
>
> Regards,
>
> Matthias
>
>
>>-Ursprüngliche Nachricht-
>>Von: [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED] Auftrag
>>von Matthias Kahlau
>>Gesendet: Freitag, 3. Febru
17:40
> An: MyFaces Discussion
> Betreff: Re: AW: AW: AW: Panel Grid custom component
>
>
> Hi,
>
> the header facet of a UIData renders a common header over all columns,
> To render a header for each column you must set a header facet on the
> column component.
> See:
>
Regards,
Matthias
> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Auftrag
> von Matthias Kahlau
> Gesendet: Freitag, 3. Februar 2006 16:24
> An: MyFaces Discussion
> Betreff: AW: AW: AW: Panel Grid custom component
>
>
> Ok,
>
e facet thing of HtmlPanelGrid and HtmlDataTable is
> the same...
>
>
>
> Regards,
>
> Matthias
>
>
> > -Ursprüngliche Nachricht-
> > Von: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED] Auftrag
> > von Volker Weber
> > Gesendet: Freitag
f HtmlPanelGrid and HtmlDataTable is
> the same...
>
>
>
> Regards,
>
> Matthias
>
>
>
>>-Ursprüngliche Nachricht-
>>Von: [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED] Auftrag
>>von Volker Weber
>>Gesendet: Freitag, 3. Februar 2006
eber
> Gesendet: Freitag, 3. Februar 2006 16:04
> An: MyFaces Discussion
> Betreff: Re: AW: AW: Panel Grid custom component
>
>
> Hi,
>
> the masterDetail example uses dataTable not panelGrid.
>
>
> Matthias Kahlau wrote:
> > Thanks Volker,
> >
> > you
quot;header"> ... element is used in more than one column.
>
>
>
> Regards,
>
> Matthias
>
>
>
>
>>-Ursprüngliche Nachricht-
>>Von: [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED] Auftrag
>>von Volker Weber
>>Gesen
TECTED]
> [mailto:[EMAIL PROTECTED] Auftrag
> von Volker Weber
> Gesendet: Freitag, 3. Februar 2006 13:03
> An: MyFaces Discussion
> Betreff: Re: AW: Panel Grid custom component
>
>
> Hi Matthias,
>
> no i don't know.
>
> according to the sun spec this is not
Hi Matthias,
no i don't know.
according to the sun spec this is not possible for h:panelGrid:
http://java.sun.com/j2ee/javaserverfaces/1.1_01/docs/tlddocs/h/panelGrid.html
and i don't find any hint to such an addition in the tomahawk version at:
http://myfaces.apache.org/tlddoc/tomahawk/t/panelG
2006 12:14
> An: MyFaces Discussion
> Betreff: Re: Panel Grid custom component
>
>
> Hi Ali,
>
> there are some things you made wrong:
>
> First, and this seems to be a popular error: you can't add a component
> to another by setting the parent of the child! use
> p
Hi Ali,
there are some things you made wrong:
First, and this seems to be a popular error: you can't add a component
to another by setting the parent of the child! use
parent.getChildren().add(child) instead.
Than: You dont neet to invoke encoding on every component, just create
then component t
Greetings again,Instead of adding components by rendering the htl myself i am adding chilid components and calling their encode methods as following:public void encodeBegin( FacesContext context ) {
try { ResponseWriter writer = context.getResponseWriter(); w
21 matches
Mail list logo