-
1. Re: One a4j:status for nested a4j:regions
fdegrigny Jan 13, 2010 8:57 AM (in response to robert.raksi)To use one global a4j:status : you can give it an id, and refer to it explicitly from ajax tags -
2. Re: One a4j:status for nested a4j:regions
robert.raksi Jan 13, 2010 8:55 AM (in response to fdegrigny)Using the status attribute to refer to a given a4j:status in every ajax tag I use on the page is not acceptable. The case is even worse if the file with the nested regions is a template for example:
<a:region>
<a:status id='bar'/>
<ui:insert name='foo1'/>
<a:region>
somecode
<ui:insert name='foo2'/>
</a:region>
<ui:insert name='foo3'/>
somemore code
</a:region>
In foo1,2,3 there can be several ajax tags and in the template itself too.
It would simplify things if a4j:region had a status attribute too.
-
3. Re: One a4j:status for nested a4j:regions
cparker May 26, 2010 12:21 PM (in response to robert.raksi)I'm not really sure why <a4j:region> doesn't have a status attribute. <a4j:form> does have one.
-
4. Re: One a4j:status for nested a4j:regions
ilya_shaikovsky May 27, 2010 1:59 AM (in response to cparker)yes.. that was missed during design and will be corrected in RF 4.
Currently in order to make it easier and more reusable I could only suggest to create facelet tag which will wrap child content with region and plce status inside that region. That will allow to use single tag to add region and status in the same time.