jsr372-experts@javaserverfaces-spec-public.java.net

[jsr372-experts] Re: Partial Execution with Non-Ajax

From: Hazem Saleh <HAZEMS_at_eg.ibm.com>
Date: Fri, 16 Jan 2015 01:08:08 +0200

Hi Cagatay,

I think this is a nice suggestion. In MyFaces Tomahawk, something similiar

to what you mean
was handled using <t:subform> tag.

For example:
If you want to only validate and update the set of components in a
specific form, you include them
inside a subform and then specify the subform id in the extended UICommand

actionFor attribute.
<h:form>
   <t:subForm id="subFormId">
       <h:inputText value="#{bean.value}" />
   </t:subForm>
   <t:commandButton value="Submit subForm" actionFor="subFormId"/>
</h:form>

Is this what you propose or I miss something?

Thanks and Best regards,
_________________________
___________
Hazem Saleh
Advisory Software Engineer
Certified Expert IT Specialist L2
...................................................................................................................................
 


       hazems_at_eg.ibm.com
      My Bio
      My Books
 
       +201066698446
        ibm.com/mobilefirst Connect with IBM Mobile on:
      Find me within IBM on:





From: Cagatay Civici <cagatay.civici_at_gmail.com>
To: jsr372-experts_at_javaserverfaces-spec-public.java.net,
Date: 01/15/2015 11:53 AM
Subject: [jsr372-experts] Partial Execution with Non-Ajax



Hi,

I wonder why partial lifecycle execution is only specific to ajax
requests?

What can?t we do something like;

<h:commandButton execute=?_at_this someinput? value=?Cancel? />

It should be easy to support by sending a parameter to the server and
override isPartial() in PartialViewContext.

Do I miss something?

Regards,

Cagatay Civici
PrimeFaces Lead
PrimeTek Informatics
www.primefaces.org




picture
(image/jpeg attachment: 01-part)

picture
(image/jpeg attachment: 02-part)

picture
(image/gif attachment: 03-part)

picture
(image/jpeg attachment: 04-part)

picture
(image/gif attachment: 05-part)

picture
(image/gif attachment: 06-part)

picture
(image/gif attachment: 07-part)

picture
(image/gif attachment: 08-part)

picture
(image/gif attachment: 09-part)

picture
(image/gif attachment: 10-part)

picture
(image/gif attachment: 11-part)