myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Çağatay Çivici <cagatay.civ...@gmail.com>
Subject Re: [core] dynamic script before </body> (an equivalent for DialogRequest from Trinidad)
Date Wed, 03 Aug 2011 09:04:58 GMT
Maybe you can override BodyRenderer to implement this.

On Aug 3, 2011, at 11:39 AM, Jakob Korherr wrote:

> Hi,
> 
> Nope, I don't think so. Maybe you can achieve it via a javascript
> event-handler on the client, but I actually don't know for sure. Maybe
> Werner can help you out!
> 
> Regards,
> Jakob
> 
> 2011/8/2 Martin Koci <martin.kocicak.koci@gmail.com>:
>> Hi,
>> 
>> has JSF an official API to achieve similar functionality as [1] ?
>> 
>> Purpose and use case:
>> 
>> 1) JSF process partially view
>> 
>> 2) JSF artifact creates and queues a request "render this script ...
>> before </body>"
>> 
>> 3) new element script is created and rendered before </body>
>> 
>> this is not same same @Resource(target="body"). Also this must work with
>> partial response wihout explicit render="@all"
>> 
>> 
>> Any ideas?
>> 
>> 
>> Thanks,
>> 
>> Kočičák
>> 
>> 
>> [1]
>> https://svn.apache.org/repos/asf/myfaces/trinidad/trunk/trinidad-impl/src/main/java/org/apache/myfaces/trinidadinternal/renderkit/core/DialogRequest.java
>> 
>> 
>> 
>> 
>> 
> 
> 
> 
> -- 
> Jakob Korherr
> 
> blog: http://www.jakobk.com
> twitter: http://twitter.com/jakobkorherr
> work: http://www.irian.at

Çağatay Çivici
Principal Consultant
PrimeFaces Lead | JSF EG Member

Prime Teknoloji
Bilkent Cyberpark, A-303d
06800 Ankara/Turkey
Tel: +90 312 265 05 07
http://www.prime.com.tr


Mime
View raw message