Fornax-Platform
Forum

problem running forum example

View: New views
3 Messages — Rating Filter:   Alert me  

problem running forum example

by pdoorr :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all, I'm new to jsf and openarchitectureware and I'm trying to use the forum example named fornax-cartridges-uml2-jsf-jpa-forum-example with the jsf cartridge version 1.2. I can start the web application and I can create User, Forum, Thread and Post. But if I try to edit a User adding him an existing post using the pick-list, once the save button is pressed an exception is fired. The exception is:
Exception while validating component with path : {Component-Path : [Class: org.ajax4jsf.component.AjaxViewRoot,ViewId: /pages/ManageUserBean.xhtml][Class: javax.faces.component.html.HtmlForm,Id: UserEditForm][Class: org.richfaces.component.html.HtmlSimpleTogglePanel,Id: editUserSection][Class: org.richfaces.component.html.HtmlGraphValidator,Id: j_id16][Class: javax.faces.component.html.HtmlPanelGrid,Id: j_id17][Class: javax.faces.component.UIColumn,Id: j_id23][Class: org.richfaces.component.html.HtmlPickList,Id: postInput]}

Caused by:
javax.el.PropertyNotFoundException - /pages/templates/ManageUserBean.template.xhtml @45,124 value="#{manageUserBean.user.post.asList}": The class 'org.hibernate.collection.PersistentSet' does not have the property 'asList'.

I've not changed model and/or generated code... some hints?

Thank you.

Fabio

Re: problem running forum example

by schmeling :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Fabio,

this is caused by a bug in the graphValidator of richfaces. In the
next JSF cartridge version (1.3.0) this bug will be fixed (and
currently is fixed in the 1.3.0-SNAPSHOT).

Please refer to http://fornax.itemis.de/jira/browse/CJF-25

Regards,

Benjamin

On Wed, Sep 16, 2009 at 6:58 PM, pdoorr <fabio.moro@...> wrote:

>
> Hi all, I'm new to jsf and openarchitectureware and I'm trying to use the
> forum example named fornax-cartridges-uml2-jsf-jpa-forum-example with the
> jsf cartridge version 1.2. I can start the web application and I can create
> User, Forum, Thread and Post. But if I try to edit a User adding him an
> existing post using the pick-list, once the save button is pressed an
> exception is fired. The exception is:
> Exception while validating component with path : {Component-Path : [Class:
> org.ajax4jsf.component.AjaxViewRoot,ViewId:
> /pages/ManageUserBean.xhtml][Class: javax.faces.component.html.HtmlForm,Id:
> UserEditForm][Class: org.richfaces.component.html.HtmlSimpleTogglePanel,Id:
> editUserSection][Class: org.richfaces.component.html.HtmlGraphValidator,Id:
> j_id16][Class: javax.faces.component.html.HtmlPanelGrid,Id: j_id17][Class:
> javax.faces.component.UIColumn,Id: j_id23][Class:
> org.richfaces.component.html.HtmlPickList,Id: postInput]}
>
> Caused by:
> javax.el.PropertyNotFoundException -
> /pages/templates/ManageUserBean.template.xhtml @45,124
> value="#{manageUserBean.user.post.asList}": The class
> 'org.hibernate.collection.PersistentSet' does not have the property
> 'asList'.
>
> I've not changed model and/or generated code... some hints?
>
> Thank you.
>
> Fabio
> --
> View this message in context: http://www.nabble.com/problem-running-forum-example-tp25476538s17564p25476538.html
> Sent from the Fornax-Platform mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Fornax-developer mailing list
> Fornax-developer@...
> https://lists.sourceforge.net/lists/listinfo/fornax-developer
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Fornax-developer mailing list
Fornax-developer@...
https://lists.sourceforge.net/lists/listinfo/fornax-developer

Re: problem running forum example

by pdoorr :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ok, thank you so much.

Fabio

schmeling wrote:
Hi Fabio,

this is caused by a bug in the graphValidator of richfaces. In the
next JSF cartridge version (1.3.0) this bug will be fixed (and
currently is fixed in the 1.3.0-SNAPSHOT).

Please refer to http://fornax.itemis.de/jira/browse/CJF-25

Regards,

Benjamin

On Wed, Sep 16, 2009 at 6:58 PM, pdoorr <fabio.moro@vitrociset.it> wrote:
>
> Hi all, I'm new to jsf and openarchitectureware and I'm trying to use the
> forum example named fornax-cartridges-uml2-jsf-jpa-forum-example with the
> jsf cartridge version 1.2. I can start the web application and I can create
> User, Forum, Thread and Post. But if I try to edit a User adding him an
> existing post using the pick-list, once the save button is pressed an
> exception is fired. The exception is:
> Exception while validating component with path : {Component-Path : [Class:
> org.ajax4jsf.component.AjaxViewRoot,ViewId:
> /pages/ManageUserBean.xhtml][Class: javax.faces.component.html.HtmlForm,Id:
> UserEditForm][Class: org.richfaces.component.html.HtmlSimpleTogglePanel,Id:
> editUserSection][Class: org.richfaces.component.html.HtmlGraphValidator,Id:
> j_id16][Class: javax.faces.component.html.HtmlPanelGrid,Id: j_id17][Class:
> javax.faces.component.UIColumn,Id: j_id23][Class:
> org.richfaces.component.html.HtmlPickList,Id: postInput]}
>
> Caused by:
> javax.el.PropertyNotFoundException -
> /pages/templates/ManageUserBean.template.xhtml @45,124
> value="#{manageUserBean.user.post.asList}": The class
> 'org.hibernate.collection.PersistentSet' does not have the property
> 'asList'.
>
> I've not changed model and/or generated code... some hints?
>
> Thank you.
>
> Fabio
> --
> View this message in context: http://www.nabble.com/problem-running-forum-example-tp25476538s17564p25476538.html
> Sent from the Fornax-Platform mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Fornax-developer mailing list
> Fornax-developer@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fornax-developer
>

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Fornax-developer mailing list
Fornax-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fornax-developer