>From: "Ian.Priest" <[EMAIL PROTECTED]> > > > This is driving me mad - can anyone see why my command link isn't > working? > I have a table that lists customers and has an action link in each row > to view customer details. I build all my viws using clay. The clay > components are: > [snippet] > > The table appears to render ok, but when I click on the link the > actionListener method isn't called and my navigation rule is ignored. > (Actually the page with the table goes back to itself, which suggests > the app is seeing null as the outcome of the click). > There are no errors logged. I've even deliberately mis-typed the name of > the actionListener method in the clay-config file and it still didn't > throw an exception, so I'm pretty sure it's not trying to call it! > > I'm a bit stuck as to what else to look for to fix it, so all hints and > tips are welcome! >
My guess is that you are hitting validation errors and you don't have a messages component on the form reporting the errors. Something quick to try is add the immediate flag to bypass validation. <element renderId="1" jsfid="commandLink" id="link"> <attributes> <set name="action" value="showUser" /> <set name="actionListener"value="[EMAIL PROTECTED]" /> <set name="immediate" value="true"/> </attributes> > Cheers, > Ian. > Gary > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] >