When we are going to generate a related table, only we need to change the
JSF Templates in webapp.action and htmlx in webapp?
We dont need to create a new Dao and DaoHibernate?



2009/5/2 Matt Raible <m...@raibledesigns.com>

> AMP doesn't support one-to-many and man-to-many relationships, so if you
> had those in your POJOs when you generated the code, chances are incorrect
> code was generated. The reason we don't support these is we haven't figured
> out the best pattern and code to generate. I'd be happy to support them if I
> had the knowledge of how to do it.
>
> Matt
>
> 2009/5/1 Leonardo Castaño <leonardo.cast...@gmail.com>
>
> Hello, I have the following error when try to edit the persona item, I have
>> two tables related Persona and Comuna, I have run
>>
>> I have created two related tables in mysql and run followin
>>  mvn appfuse:gen -Dentity=Persona
>> mvn appfuse:gen -Dentity=Comuna
>>
>> all rigth in appfuse log
>> then run
>> mvn jetty:run
>> then the error is when I try to edit one "persona" item by browser
>>
>> An Error Occurred:
>>
>> Exception while calling encodeEnd on component : {Component-Path : [Class:
>> org.ajax4jsf.framework.ajax.AjaxViewRoot,ViewId: /personaForm.xhtml][Class:
>> javax.faces.component.html.HtmlForm,Id: personaForm][Class:
>> javax.faces.component.html.HtmlPanelGrid,Id: j_id2]}
>>
>> Some one help me please !!
>> Tkz
>>
>>
>> --
>> Leonardo Castaño D.
>> Listening http://www.concierto.cl/envivo.asp music of the 
>> 80s<http://www.concierto.cl/envivo.asp>
>>
>>
>


-- 
Leonardo Castaño D.

Reply via email to