cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ard Schrijvers" <a.schrijv...@hippo.nl>
Subject RE: Access to XML bean elements in flowscript/javaflow
Date Mon, 07 Aug 2006 17:00:35 GMT

> 
> 
> On Aug 7, 2006, at 9:28 AM, Ard Schrijvers wrote:
> 
> > Hmmm, I am confused as well. But why wouldn't there be a 
> Cforms form?
> 
> There is one, but it isn't the object denoted by 'bean' in the OP's 
> code fragment.  Rather, 'bean' is the object he's trying to bind with 
> the form.
> 
> > Anyway, the bean is a normal dom object (for example, 
> > bean.getElementsByTagName("foo")) then, and the bean.lookupWidget 
> > should be form.lookupWidget. That should work isn't?
> 
> I don't follow you there.  If it's a DOM object, it would have no 
> lookupWidget() method — that belongs to forms and (container) widgets.

That's what I meant: if the bean is a dom --> bean.getElementsByTagName("foo")

and I wrote that my former "bean.lookupWidget" should be replaced by "form.lookupWidget"

Right? 

> 
> —ml—
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message