cannot seem to find the WeblogForm.java in the download

2 messages Options
Embed this post
Permalink
Hankb

cannot seem to find the WeblogForm.java in the download

Reply Threaded More More options
Print post
Permalink
I have just read through the wiki on hibernate relationships
I am trying to understand how you implement one-to-many and many-to-many.
 
 
 
I cannot seem to find the WeblogForm.java in the downloaded project ?
 
Also,  why do you do this for the weblog:
 

Manager mgr = (Manager) getBean("manager");

Weblog weblog = (Weblog) mgr.getObject(Weblog.class, Long.valueOf(weblogForm.getWeblogId()));

and yet you use a different approach for Users:
 

UserManager mgr = (UserManager) getBean("userManager");

 
Are there some design reasons for this ??
 

Hank Bozic
--------------------------------------------------------------------- To unsubscribe, e-mail: [hidden email] For additional commands, e-mail: [hidden email]
Matt Raible-3

Re: cannot seem to find the WeblogForm.java in the download

Reply Threaded More More options
Print post
Permalink
This class (and all ActionForms in AppFuse) is generated using XDoclet.

Hope this helps,

Matt

On 2/5/07, Hank Bozic <[hidden email]> wrote:

> I have just read through the wiki on hibernate relationships
> I am trying to understand how you implement one-to-many and many-to-many.
>
> http://raibledesigns.com/wiki/Wiki.jsp?page=HibernateRelationships
>
>
> I cannot seem to find the WeblogForm.java in the downloaded project ?
>
> Also,  why do you do this for the weblog:
>
>
>
> Manager mgr = (Manager) getBean("manager");
>
> Weblog weblog = (Weblog) mgr.getObject(Weblog.class,
> Long.valueOf(weblogForm.getWeblogId()));
> and yet you use a different approach for Users:
>
>
>
> UserManager mgr = (UserManager) getBean("userManager");
>
> Are there some design reasons for this ??
>
>
> Hank Bozic
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [hidden email] For additional
> commands, e-mail: [hidden email]


--
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]