One thing to double check is whether some validation rules are failing,
which would cause the action method call to get bypassed.  The simplest way
to verify this is to add an <h:messages> component to your page, which will
display any validation messages that exist, or nothing if there were no
messages.

It's also possible that an exception is getting eaten somewhere along the
way ... check the log file of your servlet container as well for any stack
traces.

Craig


On 2/10/06, Peter Goetz <[EMAIL PROTECTED]> wrote:
>
> Hi there!
>
> I'm new to Struts, to Shale and to this list, so excuse if I'm asking
> dumb questions.
> I have a simple .jsp (personmaintenance.jsp), backed by a backing bean
> (PersonMaintenance.class.
> In the jsp I have buttons with actions "save", "edit", "delete",
> "create", for which I defined the corresponding methods in the backing
> bean. The backing bean has two attributes, a person (for the form to
> edit) and a persons Collection for an overview table. When calling the
> jsp (personmaintenance.faces), everything is fine. The Collection gets
> filled from the database, the person attribute is null.
> Unfortunately if I hit one of the buttons "edit" or "delete", the
> corresponding method is not being called. If the person attribute is
> filled from the start, everything works fine.
> Can somebody tell me what to do to get the methods executed when I hit
> the button and the argument is null? Or am I missing something elementary?
> Thanks a lot!
>
> Peter
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to