Sounds like a bug in AppGen. Can you please create an issue in JIRA?
If you don't have a JIRA account, please create one at
http://appfuse.org/signup.action and respond with your username so I
can setup your permissions appropriately.
Matt
On 8/25/07, tomeq <[EMAIL PROTECTED]> wrote:
>
> hello,
>
> i use appfuse-jsf-1.9.4, and i've problem with resources produced by appgen:
>
> 1. create new class (Client) that contains element from other class (exactly
> the same like in User class):
>
> protected Address address = new Address();
> /**
> * @hibernate.component
> */
> public Address getAddress() {
> return address;
> }
>
> 2. then after using appgen, setup-db , and deploy application - there is
> problem with a new ClientForm.xhtml:
> a) JSF 'prohibits' usage dots ('.') in the ID of component identifier, e.g.:
> <h:inputText id="addressForm.postalCode" ....
> so i have to change it manually to:
> <h:inputText id="address.postalCode" ....
>
>
> b) appgen creates fields with a wrong name for address e.g.:
> value="#{clientForm.client.addressForm.address}"
> and i also have to change it to the value like in class model:
> value="#{clientForm.client.address.address}"
>
> c) additionally test class also have an error (ClientFormTest):
> it uses wrong name of method :client.getAddressForm() instead of declared
> client.getAddress()
>
>
>
> Is it a problem with appgen or should i create my model in other way?
>
> thanks in advance for reply
>
> tomasz
>
>
> --
> View this message in context:
> http://www.nabble.com/hibernate.component-and-problem-with-form-tf4330146s2369.html#a12332377
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
http://raibledesigns.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]