cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Upayavira>
Subject Re: attaching an object to sendpage
Date Mon, 18 Apr 2005 16:37:28 GMT
Jorg Heymans wrote:
> How can i get at the original object using the flowhelper syntax you 
> suggested :
> Object bean = FlowHelper.getContextObject(objectModel)
> bean is of class org.mozilla.javascript.NativeObject, it doesn't look 
> like i can get my original object back from this.
> I think i'll have to just go via the request object.

Have you ever used JXPath? That would be one way. Otherwise, does the 
NativeObject have an 'unwrap' option? Then you could cast the unwrapped 
object. I'm guessing now though.

Regards, Upayavira

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message