Hi Cagatay,

but shouldn't the component type be the same in the faces-config and in the
tag?

regards,

Martin

On Dec 24, 2007 12:20 PM, Cagatay Civici <[EMAIL PROTECTED]> wrote:

> After checking against ri and spec; I think we do it in the right way.
>
> The component type in htmlcolumntag is javax.faces.column and the
> component-type in standard-config for htmlcolumn is javax.faces.HtmlColumn
> .
>
> The error I get;
>
> Caused by: java.lang.IllegalArgumentException : Component
> javax.faces.component.UIColumn is no HtmlColumn
>     at org.apache.myfaces.taglib.html.HtmlColumnTag.setProperties(
> HtmlColumnTag.java:71)
>
> Happened in testing tomahawk 1.2 with myfaces 1.2.1-snapshot, another test
> with plain myfaces(no tomahawk-1.2 around) worked. So I dont think there's
> a need for a change in the plugins for now.
>
> But I cant figure how this is related to tomahawk though since I just use
> h:datatable and h:column.
>
> On Dec 24, 2007 9:36 AM, Matthias Wessendorf <[EMAIL PROTECTED]> wrote:
>
> > it is just using 1.2.5 of the plugins;
> >
> > -M
> >
> > On Dec 23, 2007 2:48 PM, Matthias Wessendorf <[EMAIL PROTECTED] > wrote:
> > > +1 on that
> > >
> > >
> > > On Dec 23, 2007 2:46 PM, Bruno Aranda <[EMAIL PROTECTED]> wrote:
> > > > True, then reverting the fix for the bug should solve everything and
> >
> > > > would allow us to release properly,
> > > >
> > > > Cheers,
> > > >
> > > > Bruno
> > > >
> > > >
> > > > On 23/12/2007, Matthias Wessendorf < [EMAIL PROTECTED]> wrote:
> > > > > btw. javax.faces.HtmlColumn is correct for HtmlColumn
> > > > >
> > > > > see:
> > > > >
> > http://java.sun.com/javaee/javaserverfaces/1.2_MR1/docs/api/constant-values.html#javax.faces.component.html.HtmlColumn.COMPONENT_TYPE
> > > > >
> > > > >
> > > > >
> > > > > On Dec 23, 2007 1:14 PM, Cagatay Civici < [EMAIL PROTECTED]>
> > wrote:
> > > > > > Ok, I see.
> > > > > >
> > > > > > But the component-type for HtmlColumn in standart faces-config
> > is still
> > > > > > "javax.faces.HtmlColumn".
> > > > > >
> > > > > > I see this strange issue when using h:column and h:datatable;
> > > > > >
> > > > > > Caused by: java.lang.IllegalArgumentException : Component
> > > > > > javax.faces.component.UIColumn is no HtmlColumn
> > > > > >     at
> > > > > > org.apache.myfaces.taglib.html.HtmlColumnTag.setProperties (
> > HtmlColumnTag.java:71)
> > > > > >
> > > > > >
> > > > > >
> > > > > > On Dec 23, 2007 3:09 AM, Bruno Aranda < [EMAIL PROTECTED] >
> > wrote:
> > > > > > > Hi, see https://issues.apache.org/jira/browse/MYFACES-1790
> > > > > > >
> > > > > > > Acording to the release (section 4.1.1.1) the component type
> > for
> > > > > > > UIColumn is "javax.faces.Column", bug which was fixed last
> > week, but
> > > > > > > apparently fixing it has provoked some side effect. And the
> > component
> > > > > > > type in the xml should be that one (I don't understand why
> > what you
> > > > > > > describe happens though).
> > > > > > >
> > > > > > > Cheers,
> > > > > > >
> > > > > > > Bruno
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > On 23/12/2007, Cagatay Civici < [EMAIL PROTECTED]>
> > wrote:
> > > > > > > > Hi,
> > > > > > > >
> > > > > > > > I've noticed this weird thing in impl 1.2 build. In
> > myfaces-build ->
> > > > > > > > HtmlColumn.xml the component type is set as;
> > > > > > > >
> > > > > > > > <component-type>javax.faces.HtmlColumn </component-type>
> > > > > > > >
> > > > > > > > But in the generated HtmlColumnTag.java in myfaces-impl 1.2by 
> > > > > > > > faces
> > > > > > plugin,
> > > > > > > > it is;
> > > > > > > >
> > > > > > > > @Override
> > > > > > > >   public String getComponentType()
> > > > > > > >   {
> > > > > > > >     return " javax.faces.Column";
> > > > > > > >   }
> > > > > > > >
> > > > > > > > Shouldn't it return " javax.faces.HtmlColumn "?
> > > > > > > >
> > > > > > > > Cagatay
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Matthias Wessendorf
> > > > >
> > > > > further stuff:
> > > > > blog: http://matthiaswessendorf.wordpress.com/
> > > > > sessions: http://www.slideshare.net/mwessendorf
> > > > > mail: matzew-at-apache-dot-org
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > >
> > > Matthias Wessendorf
> > >
> > > further stuff:
> > > blog: http://matthiaswessendorf.wordpress.com/
> > > sessions: http://www.slideshare.net/mwessendorf
> > > mail: matzew-at-apache-dot-org
> > >
> >
> >
> >
> > --
> > Matthias Wessendorf
> >
> > further stuff:
> > blog: http://matthiaswessendorf.wordpress.com/
> > sessions: http://www.slideshare.net/mwessendorf
> > mail: matzew-at-apache-dot-org
> >
>
>


-- 

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces

Reply via email to