On Fri, Apr 17, 2009 at 1:35 PM, Simon Kitching <[email protected]> wrote:
> Matthias Wessendorf schrieb:
>> On Fri, Apr 17, 2009 at 1:12 PM, Simon Kitching <[email protected]> wrote:
>>> Matthias Wessendorf schrieb:
>>>> On Fri, Apr 17, 2009 at 12:41 PM, Ganesh <[email protected]> wrote:
>>>>> Hi,
>>>>>
>>>>> Here's a  question concerning the extension parameters pps, queuesize and
>>>>> errorlevel in conjunction with the f:ajax tag. They form part of the
>>>>> Javascript xhrCore and can be set via jsf.ajax.request(this, event,
>>>>> {execute:'xxx', render:'yyy', myfaces:{pps:true, queuesize:1, errorlevel:
>>>>> 'error'}}).
>>>>>
>>>>> For the ajax tag the extension parameters could reside in an attribute
>>>>> myfaces: myfaces="{pps:true, queuesize:1, errorlevel: 'error'}".
>>>>>
>>>>> Now, should this extension parameter become part of the f:ajax tag or 
>>>>> should
>>>> mf:ajax ?
>>>> By that one could use this "core extension", when using myfaces lib.
>>>>
>>>>
>>>>> we build a t:ajax tomahawk tag?
>>>> -1 this would tie the use really to tomahawk;
>>>> Why not doing a mf:ajax which is a taglib that sits inside the 
>>>> myfaces-impl.jar
>>> But then any web page that uses this mf:ajax tag would not work when run
>>> on a different container (eg mojarra), as that tag would not exist.
>>
>> correct.
>> same would be the case (even worse) if the behavior of f:ajax (silly name 
>> btw)
>> is different than expected.
>
>
> Well, I guess it depends on what these pps/queuesize/errorlevel params
> do. They looked to me like "optimisation tweaks", ie if they weren't
> there then the page would still work.
>
> But if they do fundamentally change the behaviour of the app (ie the app
> won't work as expected if they are ignored) then I would agree that your
> suggested mf:ajax tag would be better than nested f:attribute tags.

at least I understood it that way, if not the attribute makes sense, yes

>
>>> Possibly nested attributes could be used?
>>>  <f:ajax ...>
>>>    <f:attribute name="myfaces:pps" value="true"/>
>>>    <f:attribute name="myfaces:queuesize" value="1"/>
>>>  </f:ajax>
>
>
>
>>
>>> The tomahawk tag sounds better to me. If I understand correctly, a page
>>
>> isn't that big ? including tons of components, extras etc just because of 
>> that ?
>>
>> Or, an myfaces-extension lib ? (good old times... :-) )
>
> Yes, I guess a myfaces-extension lib would be better (smaller) than
> tomahawk. It didn't occur to me because I have never used one (has anyone?).

yes

>
> Regards,
> Simon
>



-- 
Matthias Wessendorf

blog: http://matthiaswessendorf.wordpress.com/
sessions: http://www.slideshare.net/mwessendorf
twitter: http://twitter.com/mwessendorf

Reply via email to