Skip to main content

f:ajax pain

1 reply [Last post]
Joined: 2007-11-12

I have a rather large form that I can't really break up for various reasons. I'm trying to submit a commandLink via ajax and my action is never getting called. I need to know if I'm going nuts.

Here's the command link.

it's within a ui:repeat within a composite component if that makes any difference.

if I set the execute for f:ajax as @this then the ajax stuff occurs, and the form is re-rendered, but the action is never called, and neither are the property action listeners. I've temporarily removed the "required" attribute on other fields in the form so I know it's not a validation problem or anything.

If I set the execute for f:ajax as @form then my action is called, but I need to be able to do this without submitting the entire form. Notice I'm not submitting any inputText or any other input controls, just using the property action listeners to submit the values I need.

I'm hoping some wizard on this list will be able to give me some ideas because I've been fighting this all morning.

Thanks in advance,

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2007-11-12

Well, after spinning my wheels on this for quite some time, I ended up breaking up the form so this stuff is in a different form and I can just submit the entire form. I guess "can't really break up" wasn't really true.