RE: [Trinidad] Custom Component UINodePropertyKey Missing
I can't believe that I overlooked that! That was exactly what it was! Thanks Adam (Your the MAN!) -Original Message- From: Adam Winer [mailto:[EMAIL PROTECTED] Sent: Friday, June 15, 2007 12:12 PM To: MyFaces Discussion Subject: Re: [Trinidad] Custom Component UINodePropertyKey Missing Have you overridden: protected FacesBean.Type getBeanType() to return your type? -- Adam On 6/15/07, William Hoover <[EMAIL PROTECTED]> wrote: > Using Trinidad 1.0.0 > > The non-customized component contains the UINodePropertyKey. When stepping > through StateUtils > restoreKey(FacesBean.Type type, Object value) the > _KeyList contains a list of UINodePropertyKey. It's using > type.findKey(((Number) value).intValue()) to find the key from the _KeyList > in FacesBean > Type. All of the property keys are within this list except for > the PropertyKeys that are registered in the custom component extension. > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of > Matthias Wessendorf > Sent: Friday, June 15, 2007 8:55 AM > To: MyFaces Discussion > Subject: Re: [Trinidad] Custom Component UINodePropertyKey Missing > > > are you creating the custom component w/ the maven-faces-plugin, like > Trinidad does itself ? > > I think the UINodePropertyKey is deprecated, since it is from pre-jsf-days. > > -M > > On 6/15/07, William Hoover <[EMAIL PROTECTED]> wrote: > > I recently created a custom component that uses extended PropertyKey using > > the new FacesBean.Type(SOME_EXT_COMPONENT.TYPE) and TYPE.registerKey(...) > > registering the all the needed type keys. All the properties have > > accociated getters/setters. Also, all of the extended properties are > > defined in faces-config.xml, but none of the extended type keys > > (UINodePropertyKey) are showing up in the FacesBean > Type when state is > > being restored. Does anyone know what may be causing this? > > > > > > > -- > Matthias Wessendorf > > further stuff: > blog: http://matthiaswessendorf.wordpress.com/ > mail: matzew-at-apache-dot-org > >
Re: [Trinidad] Custom Component UINodePropertyKey Missing
Have you overridden: protected FacesBean.Type getBeanType() to return your type? -- Adam On 6/15/07, William Hoover <[EMAIL PROTECTED]> wrote: Using Trinidad 1.0.0 The non-customized component contains the UINodePropertyKey. When stepping through StateUtils > restoreKey(FacesBean.Type type, Object value) the _KeyList contains a list of UINodePropertyKey. It's using type.findKey(((Number) value).intValue()) to find the key from the _KeyList in FacesBean > Type. All of the property keys are within this list except for the PropertyKeys that are registered in the custom component extension. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Matthias Wessendorf Sent: Friday, June 15, 2007 8:55 AM To: MyFaces Discussion Subject: Re: [Trinidad] Custom Component UINodePropertyKey Missing are you creating the custom component w/ the maven-faces-plugin, like Trinidad does itself ? I think the UINodePropertyKey is deprecated, since it is from pre-jsf-days. -M On 6/15/07, William Hoover <[EMAIL PROTECTED]> wrote: > I recently created a custom component that uses extended PropertyKey using the new FacesBean.Type(SOME_EXT_COMPONENT.TYPE) and TYPE.registerKey(...) registering the all the needed type keys. All the properties have accociated getters/setters. Also, all of the extended properties are defined in faces-config.xml, but none of the extended type keys (UINodePropertyKey) are showing up in the FacesBean > Type when state is being restored. Does anyone know what may be causing this? > > -- Matthias Wessendorf further stuff: blog: http://matthiaswessendorf.wordpress.com/ mail: matzew-at-apache-dot-org
RE: [Trinidad] Custom Component UINodePropertyKey Missing
Using Trinidad 1.0.0 The non-customized component contains the UINodePropertyKey. When stepping through StateUtils > restoreKey(FacesBean.Type type, Object value) the _KeyList contains a list of UINodePropertyKey. It's using type.findKey(((Number) value).intValue()) to find the key from the _KeyList in FacesBean > Type. All of the property keys are within this list except for the PropertyKeys that are registered in the custom component extension. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Matthias Wessendorf Sent: Friday, June 15, 2007 8:55 AM To: MyFaces Discussion Subject: Re: [Trinidad] Custom Component UINodePropertyKey Missing are you creating the custom component w/ the maven-faces-plugin, like Trinidad does itself ? I think the UINodePropertyKey is deprecated, since it is from pre-jsf-days. -M On 6/15/07, William Hoover <[EMAIL PROTECTED]> wrote: > I recently created a custom component that uses extended PropertyKey using > the new FacesBean.Type(SOME_EXT_COMPONENT.TYPE) and TYPE.registerKey(...) > registering the all the needed type keys. All the properties have accociated > getters/setters. Also, all of the extended properties are defined in > faces-config.xml, but none of the extended type keys (UINodePropertyKey) are > showing up in the FacesBean > Type when state is being restored. Does anyone > know what may be causing this? > > -- Matthias Wessendorf further stuff: blog: http://matthiaswessendorf.wordpress.com/ mail: matzew-at-apache-dot-org
Re: [Trinidad] Custom Component UINodePropertyKey Missing
are you creating the custom component w/ the maven-faces-plugin, like Trinidad does itself ? I think the UINodePropertyKey is deprecated, since it is from pre-jsf-days. -M On 6/15/07, William Hoover <[EMAIL PROTECTED]> wrote: I recently created a custom component that uses extended PropertyKey using the new FacesBean.Type(SOME_EXT_COMPONENT.TYPE) and TYPE.registerKey(...) registering the all the needed type keys. All the properties have accociated getters/setters. Also, all of the extended properties are defined in faces-config.xml, but none of the extended type keys (UINodePropertyKey) are showing up in the FacesBean > Type when state is being restored. Does anyone know what may be causing this? -- Matthias Wessendorf further stuff: blog: http://matthiaswessendorf.wordpress.com/ mail: matzew-at-apache-dot-org