You're going to have to be more specific. Post smaller portions of what you're trying to do, split up into different layers of the app. Post the exact stack traces and/or error messages you're getting. That kind of thing.

Attila wrote:
I'll give up!!!

My problems: I have to write an application in wich users, datas, etc are
Partner dependent ( Every POJO must to have a Partner connection ).
Let's write a real example:
Partner POJO:
public class Partner extends BaseObject implements Serializable {
protected Long id; protected String code;
    protected String name;
/**
     * @return Returns the id.
     * @hibernate.id column="id"
     *  generator-class="native" unsaved-value="null"
     */
    public Long getId() {
        return id;
    }
public void setId(Long id) {
        this.id = id;
    }

....and all setter getter

}


User ( from Appfuse ) is modified only with a new attribute Partner:

...

    private Partner partner ;
/**
     * @struts.validator type="required"
     * @hibernate.many-to-one column="partner"
     */
public Partner getPartner() {
        return partner;
    }
public void setPartner(Partner partner) {
        this.partner= partner;
    }

...


And all other POJO-s like User.

There are root, admin and normal user. Root can manage all of users,
selecting the right Partner from a drop-drown list. I save the selected
Partner too.

I have problems by saving for example the modified User in the Form (
User.xhtml), while User.Partner is never filled out!!! How makes man this
not basic but not difficult thing???

I have generated all things with Appgen from POJOS, than modified managers,
daos to return datas depending on Partner parameter.

I can't test while in many cases when I click on a User to modify, nothing
is happend!! The UserForm is not loading...and only the PartnerChanged
function is called ( binded to drop-drown list )!!! This is very AGRY, I
don't know what happens in the background!!! How can I debug, catch what
happens????????

Please HELP!!!!!

Thanks

Bye bye

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to