Hi Mike,

Thanks for you quick reply again. I am trying sandbox and is working very well but for one problem. My commandlink is not working at all! My commandButton works well but not for commandLink. I got the following error:

 

caiaLicenceForm:_idcl is null or not an object

 

where "caiaLicenceForm" is my form name. Can you shed some light on this as well? Thanks alot!


From: "Mike Kienenberger" <[EMAIL PROTECTED]>
Reply-To: "MyFaces Discussion" <[email protected]>
To: "MyFaces Discussion" <[email protected]>
Subject: Re: How to submit multiple forms
Date: Thu, 10 Aug 2006 11:36:09 -0400
>On 8/10/06, Mak Nern Fatt Melvin <[EMAIL PROTECTED]> wrote:
>>Yes you are right Mike. I need to put the child section in another
>>form due
>>to selective validation. I do not want the parent components to be
>>validated
>>or reloaded when the child section is been submitted. You talked of
>>a
>>workaround, so is that a way that i can use a single form but
>>attain
>>selective validation n reloading of child and parent data
>>respectively?
>
>Yes, but it's a tricky subject :-)
>
>If this is your only case of selective validation, you can mark both
>the child add button and the child input field as immediate="true"
>and they will validate independently of the other elements.
>
>If it's more complicated than that, the most common way to solve the
>problem is to use a subform component. There's one available in
>the
>MyFaces Tomahawk sandbox and I think there's also one available as
>part of Oracle ADFFaces (also available as MyFaces Trinidad which is
>a
>source code dump of ADFFaces undergoing incubation at Apache).
>
>If you're not already using ADFFaces, I'd recommend using the
>sandbox
>one instead.
>
>http://myfaces.apache.org/sandbox/subForm.html

Reply via email to