On Wed, 2004-07-28 at 10:38, Gunter D'Hondt wrote:
I've got the following binding definition but the save-form and
load-form is never triggered (or is doesn't have any effect anyway):
bnd:value id=field1 path=field1/value
bnd:on-update
bnd:javascript id=field1
PROTECTED]
To
[EMAIL PROTECTED]
cc
Subject
Re: Woody binding: save/load-form
not triggered
On Wed, 2004-07-28 at 10:38, Gunter D'Hondt wrote:
I've got the following binding definition but the save-form and
load-form is never triggered (or is doesn't have any effect anyway
On Thu, 2004-07-29 at 10:37, Gunter D'Hondt wrote:
I've removed the value binding and just put a javascript-binding
inside my repeater but still no action is triggered (only the other
value bindings are logging). I've got other bindings where the
javascript inside the value binding does work;
]
29/07/2004 10:37
Please respond to
[EMAIL PROTECTED]
To
[EMAIL PROTECTED]
cc
Subject
Re: Woody binding: save/load-form
not triggered
I've removed the value binding and just put a _javascript_-binding
inside my repeater but still no action is triggered (only the other value
I've got the following binding definition
but the save-form and load-form is never triggered (or is doesn't have
any effect anyway):
bnd:value id=field1
path=field1/value
bnd:on-update
bnd:_javascript_
id=field1 path=field1/value
bnd:load-form
var appValue =
/cocoon/woody/binding/1.0;
xmlns:wd=http://apache.org/cocoon/woody/definition/1.0;
path=/page/CONTENT
lenient=true
wb:context path=PRATINFO
wb:value id=IDPRAT path=IDPRAT/
wb:value id=IDAZ path=IDAZ/
/wb:context
wb:context id=body path=response/body
wb:new id=ANAGRAFICHE-CLASS/
wb:class id=ANAGRAFICHE
- Original Message -
From: Christian Rosenberger [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, May 12, 2004 6:16 PM
Subject: Woody binding - How to debug?
Hello!
As mentioned in another posting this morning, I try to use the Woody
binding framework to bind to a XML file got by an java
On 12.05.2004 18:16, Christian Rosenberger wrote:
Hello!
As mentioned in another posting this morning, I try to use the Woody
binding framework to bind to a XML file got by an java class.
My form appears, but without any data filled in.
How can I debug the binding? There is no logging in WEB
I found the cocoon.log.info() method in flowscript to get some values.
This is some kind of help to me. Saw that my input document is null. Now I
have to find out why! ;-)
Thanks!
Regards,
Christian
Joerg Heinicke wrote:
On 12.05.2004 18:16, Christian Rosenberger wrote:
Need to now, why
]
27/04/2004 21:06
Please respond to users
To:
[EMAIL PROTECTED]
cc:
Subject:
Re: newbie question: Woody Binding help
Hi Joerg,
I tried to do exactly that, but I got that error about 'not bound'. In
my form definition, I do have
that line:
wd:selection-list src
I just wrote this but I realized I wasn't signed up for the list first, so let me try
this again so that it goes through:
I'm trying to populate a selection list from the results of a SQL query. I'm kind of
new at Woody and binding in general, and
I'm having trouble getting a good grasp of
What I'd like to do is populate a form selection list with the results of a SQL query.
I'm pretty new at Woody overall, and I
haven't been able to figure out binding using the userdocs. Is there a step-by-step
tutorial of binding anywhere out there, or
can someone help describe to me how
On Tue, 2004-04-27 at 17:51, Billie wrote:
What I'd like to do is populate a form selection list with the results of a SQL
query. I'm pretty new at Woody overall, and I
haven't been able to figure out binding using the userdocs. Is there a step-by-step
tutorial of binding anywhere out
I did look at the WoodyDatatypeReference page, but I didn't understand. When I tried
to
do just what you said there, I got an error 'The prefix wd for element wd:selection-
list is not bound' and I'm not sure what it means. When you say transform it to the
format Woody expects... what format
Hi Joerg,
I tried to do exactly that, but I got that error about 'not bound'. In my form
definition, I do have
that line:
wd:selection-list src=cocoon:/mychoices.xml dynamic=true/
and then the pipeline for mychoices.xml leads to an xml document with this text:
wd:selection-list
wd:item
Hi Billie,
On Tue, 2004-04-27 at 21:06, Billie wrote:
Hi Joerg,
I tried to do exactly that, but I got that error about 'not bound'. In my form
definition, I do have
that line:
wd:selection-list src=cocoon:/mychoices.xml dynamic=true/
and then the pipeline for mychoices.xml leads to
Hello,
Is binding of multivalue fields already supported in Woody? I cannot find any
information on this at the Wiki or anywhere else on the web.
Thanks,
Niels van Kampenhout
Hippo Webworks
Grasweg 35
1031 HW Amsterdam
The Netherlands
Tel +31 (0)20 6345173
Fax +31 (0)20 6345179
Is binding of multivalue fields already supported in Woody? I
cannot find any information on this at the Wiki or anywhere
else on the web.
I already found out myself that it was not supported in 2.1.4, but it is now in the
current CVS snapshot.
-
From: yuanliang liu [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, March 01, 2004 10:03 PM
Subject: How do deal with embeded repeaters in woody
binding? Is there
variable to use?
Hi,
This is my first time of using the cocoon
mailing
list for asking questions. I have
Hi,
Has anyone have tried using JAXB generated object in
woody binding? I use JAXB to ummarshall xml string to
get a java object and use this java object as a bean
in woody binding. It can get data from the jaxb
object without problem. But it failed to save the data
back to the jaxb object
docs.
Regards,
Francis
-Original Message-
From: yuanliang liu [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 02, 2004 5:34 PM
To: [EMAIL PROTECTED]
Subject: use JAXB generated object in woody binding
Hi,
Has anyone have tried using JAXB generated object in
woody binding? I use JAXB
Hi,
This is my first time of using the cocoon mailing
list for asking questions. I have read all FAQ and
links and searched the archive. I want to get in part
in the cocoon mailing list for the future help.
I have problem in using cocoon 2.1.3 woody binding.
If I want to embed repeater inside
[Can you please avoid HTML mails?]
Richard Huegill wrote:
reportLoadForm.showForm(adhoc_reportLoad);
Use:
reportLoadForm.showForm(adhoc_reportLoad, { displayList :
reportList });
I don't think you can use binding for a selection list, you'll have to
explicitly pass the needed
Hi,
We have some flowscript
reports =
BusinessObjectLoadData();
// reports contains a collection called
// public Collection getReportList() {
stuff }
// the objects in this collection have a
getReportId() and getReportName() method.
:reports[i].getReportId(), reportName:
reports[i].getReportName()};
}
reportLoadForm.showForm(adhoc_reportLoad,
data);
-Original
Message-
From: Richard Huegill
[mailto:[EMAIL PROTECTED]
Sent: Thursday,
26 February 2004 12:54
PM
To: [EMAIL PROTECTED]
Subject: Has anyone used woo
Are there any examples of how to use Woody Binding without using FlowScript?
Ralph
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On Feb 12, 2004, at 7:56 AM, Ralph Goers wrote:
Are there any examples of how to use Woody Binding without using
FlowScript?
Try the Form1 example in the Woody samples area.
~ml
-
To unsubscribe, e-mail: [EMAIL PROTECTED
On Thu, 2004-02-12 at 16:56, Ralph Goers wrote:
Are there any examples of how to use Woody Binding without using FlowScript?
* BindingWoodyApple.java
* source of woody2.js might also prove helpful
Basically just lookup the BindingManager, let it create a Binding
object, and use its
On Feb 12, 2004, at 8:34 AM, I wrote:
On Feb 12, 2004, at 7:56 AM, Ralph Goers wrote:
Are there any examples of how to use Woody Binding without using
FlowScript?
Try the Form1 example in the Woody samples area.
d'oh, my bad... belay that, I didn't see Binding in the above.
Must not reply
Hi,
I tried to adapt the sample OJB/JDO/Woody to my auto-incrementation
needs for inserts, but i've got no idea how to proceed. I think both
bean and form should not have any id for employee then
ojbEmployee.insert function should call a class that ask the next id for
next row to insert,but i'm a
Philippe Guillard dijo:
Hi,
I tried to adapt the sample OJB/JDO/Woody to my auto-incrementation
needs for inserts, but i've got no idea how to proceed. I think both
bean and form should not have any id for employee then
ojbEmployee.insert function should call a class that ask the next id for
.
Can anyone give me some pointers?
?xml version="1.0"?wb:context
xmlns:wb="http://apache.org/cocoon/woody/binding/1.0"
xmlns:wd="http://apache.org/cocoon/woody/definition/1.0"
path="/content"
wb:repeater
id="pR" parent-pa
Worked it out.
wb:value id="p" path="t" / needed to be
wb:value id="p" path="." /
Linc
Hi,
I need to bind a woody form to XML, but using namespaces. Unfortunately
the XML binding example uses only default namespace.
I did fallowing binding:
wb:context path=/layout:page-subtitle
xmlns:wb=http://apache.org/cocoon/woody/binding/1.0;
xmlns:wd=http://apache.org/cocoon/woody
Uppps, the flowscript is like this (it doesn't influence the problem):
//...
var document = loadDocument(dirTitlePath);
form.load(document);
form.showForm(/form_templates/dirtitle.xml.html);
form.save(document);
saveDocument(document, dirTitlePath);
//...
Suppose we have a form with a textarea where the user can input some
xml. What are the options to process this form ?
I tried woody but could not figure out how to bind an XML node to the
textarea input field.
Is this possible ?
What would be the @path for such a binding ?
Consider for example
On Mon, 20 Oct 2003 09:59:19 -0500, jcplerm wrote:
Is there a way of having a Woody form being populated through the binding
framework in a way that the form involves just a subtree of the original
XML doc?
For instance, given the following complete XML doc:
root
elem id=100
;
}
}
}
}
Hope this help.
- Original Message -
From: Kamal Dalal [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, January 16, 2004 10:41 AM
Subject: Re: Woody binding on XML subtree
On Mon, 20 Oct 2003 09:59:19 -0500, jcplerm wrote:
Is there a way of having
this value is automatically set to 02.03.2004. How can I change
this behavior? Is there a attribute I can set in the woody binding or
definition file to get the behavior like using the setLenient(false)
method of the class SimpleDateFormat?
not yet, see other thread where you originally posted
Marc Portier dijo:
de nada,
??? Are you learning Spanish? :-DD
Best Regards,
Antonio Gallardo
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
-Ursprüngliche Nachricht-
Von: Marc Portier
Gesendet: Montag, 22. Dezember 2003 12:41
An: [EMAIL PROTECTED]
Betreff: Re: AW: AW: AW: [Woody] Binding problem for missing elements in
source file
Markus Heussen wrote:
Many thanks to you, now everything works fine :-)
yeah
:41
An: [EMAIL PROTECTED]
Betreff: Re: AW: AW: AW: [Woody] Binding problem for missing elements in
source file
Markus Heussen wrote:
Many thanks to you, now everything works fine :-)
yeah, we get there *eventually*
But two questions I still have:
1. Is it possible to control the position
Many thanks to you marc for your full description :-)
-Ursprüngliche Nachricht-
Von: Marc Portier
Gesendet: Montag, 22. Dezember 2003 17:12
An: [EMAIL PROTECTED]
Betreff: Re: AW: AW: AW: AW: [Woody] Binding problem for missing
elements in source file
oh blast,
sorry for being so
, fixed now.
regards,
-marc=
Markus Heussen wrote:
-Ursprüngliche Nachricht-
Von: Upayavira [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 18. Dezember 2003 12:12
An: [EMAIL PROTECTED]
Betreff: Re: AW: [Woody] Binding problem for missing elements in source
file
Markus Heussen wrote
is for example 31.02.2004 after
submission this value is automatically set to 02.03.2004. How can I change
this behavior? Is there a attribute I can set in the woody binding or
definition file to get the behavior like using the setLenient(false)
method of the class SimpleDateFormat?
Thanks for helping me
-Ursprungliche Nachricht-
Von: Upayavira
Gesendet: Mittwoch, 17. Dezember 2003 16:49
An: [EMAIL PROTECTED]
Betreff: Re: [Woody] Binding problem for missing elements in source file
Markus Heussen wrote:
Hi all.
I'm new to the Woody framework but till now it works fine for me. But I
have
-Ursprüngliche Nachricht-
Von: Upayavira [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 18. Dezember 2003 12:12
An: [EMAIL PROTECTED]
Betreff: Re: AW: [Woody] Binding problem for missing elements in source
file
Markus Heussen wrote:
-Ursprungliche Nachricht-
Von
v:Titel (context xpath =
/soap-env:Envelope[1]/soap-env:Body[1]/v:Versicherung[1]/v:Partner[1]/v:Per
son[1])
org.apache.commons.jxpath.JXPathException: No value for xpath: v:Titel
The field is defined in the form definition file and a binding is also
defined in the woody binding file. But in one
Hi:
Is posible to nest repeaters in the binding of a Java Bean?
I am facing a database structure of type master(detailA[detailB]). I need
to present it as:
master (detail A) (detail B) so in order to do that, I need to nest the
repeaters.
Is this posible at all?
Best Regards,
Antonio
Antonio Gallardo wrote:
Hi:
Is posible to nest repeaters in the binding of a Java Bean?
I am facing a database structure of type master(detailA[detailB]). I need
to present it as:
master (detail A) (detail B) so in order to do that, I need to nest the
repeaters.
Is this posible at all?
good
Hi Marc,
thanks for the replay. I found a little trick to do so, but I am currently
testing it. Maybe it would work. Who knows:-D
wb:repeater id=detailA parent-path=. row-path=detailAList
unique-row-id=detA_id unique-path=detA_id
the usual stuff .
/wb:repeater
wb:repeater id=detailB
Antonio Gallardo wrote:
Hi Marc,
thanks for the replay. I found a little trick to do so, but I am currently
testing it. Maybe it would work. Who knows:-D
wb:repeater id=detailA parent-path=. row-path=detailAList
unique-row-id=detA_id unique-path=detA_id
the usual stuff .
/wb:repeater
this and please report back:
wb:value id=your_widget_name path=your_path_to_value
wd:convertor datatype=boolean/
/wb:value
Note that convertor is spelled with or, the less common
spelling, and that convertor is in the wd (woody definition)
namespace, not the wb (woody binding) namespace
that convertor is spelled with or, the less common
spelling, and that convertor is in the wd (woody definition)
namespace, not the wb (woody binding) namespace that the
rest of the binding file uses. Of course this also will mean
that you need to ad the wd namespace declaration somewhere
Hi,
Im trying to use Woody Binding on my XML document (movie
database). Im keeping my deleted rows in my document (for further
use) and thus use the wb:set-attribute tag to do this. When I bind the
XML document, I do not wish to see the rows that are deleted so I use:
wb:repeater id
?
regards,
-marc=
Jan Hoskens wrote:
Hi,
Im trying to use Woody Binding on my XML document (movie database). Im
keeping my deleted rows in my document (for further use) and thus use
the wb:set-attribute tag to do this. When I bind the XML document, I
do not wish to see the rows that are deleted
:[EMAIL PROTECTED]
Gesendet: Donnerstag, 13. November 2003 15:32
An: [EMAIL PROTECTED]
Betreff: Re: AW: [woody binding] insert attribute content into similar
nodes
On Thu, 2003-11-13 at 14:53, Ulrich, Dominik wrote:
Hi
thanks for your fast help!
the problem is, that I have to declare a id
!
ciao
Dominik
-Ursprüngliche Nachricht-
Von: Bruno Dumon [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 13. November 2003 15:32
An: [EMAIL PROTECTED]
Betreff: Re: AW: [woody binding] insert attribute content into similar
nodes
On Thu, 2003-11-13 at 14:53, Ulrich, Dominik
:[EMAIL PROTECTED]
Gesendet: Freitag, 14. November 2003 10:21
An: [EMAIL PROTECTED]
Betreff: Re: AW: AW: [woody binding] insert attribute content into
similarnodes
Could you include the complete stacktrace of that error?
Also, according to what I see in the error message, your XML doc should
have
Hi everybody
it's a rather complicated woody question I have, at least for me :)
I have a data xml file like this:
context
element title=A value=true/
element title=B value=false/
/context
now I want to bind the value of a boolean widget to these elements in @value.
problem: the
On Thu, 2003-11-13 at 14:33, Ulrich, Dominik wrote:
Hi everybody
it's a rather complicated woody question I have, at least for me :)
I have a data xml file like this:
context
element title=A value=true/
element title=B value=false/
/context
now I want to bind the value of
-Ursprüngliche Nachricht-
Von: Bruno Dumon [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 13. November 2003 14:41
An: [EMAIL PROTECTED]
Betreff: Re: [woody binding] insert attribute content into similar nodes
On Thu, 2003-11-13 at 14:33, Ulrich, Dominik wrote:
Hi everybody
it's a rather
An: [EMAIL PROTECTED]
Betreff: Re: [woody binding] insert attribute content into similar nodes
On Thu, 2003-11-13 at 14:33, Ulrich, Dominik wrote:
Hi everybody
it's a rather complicated woody question I have, at least for me :)
I have a data xml file like this:
context
element title
On Tue, 2003-11-04 at 23:29, Nicolas Maisonneuve wrote:
hy ,
- what the xml binding file for this data ?
description
info
email[EMAIL PROTECTED]/email
/info
contacts
contact id=1
firstnameLucien/firstname
phones
phone id=1 nr=+32-2-222/
hy ,
- what the xml binding file for this data
?
description
info
email[EMAIL PROTECTED]/email/info
contacts contact
id="1"
firstnameLucien/firstname
phones phone id="1"
nr="+32-2-222"/ phone
id="2" nr="+32-2-221"/
/phones
/contact contact
id="2"
firstnameJoris/firstname
Olivier Billard Escribio :-)
Hi all !
I have a problem concerning the binding in woody :
I have repeater bound with following structure :
person id=
person_id156/person_id
person_datasome data/person_data
/person
person id=
person_id157/person_id
person_dataother
Hi there,
the application I'm working on at the moment is using woody for some
form handling. I managed to get everything working like I expected and
saving some data works fine -- now I'm asking my self what's best way to
prepopulate fields on typical edit scenarios. Do I have to use the
-Original Message-
From: Patrick Hess [mailto:[EMAIL PROTECTED]
Sent: Monday, October 20, 2003 12:17 PM
To: [EMAIL PROTECTED]
Subject: Woody Binding?
Hi there,
the application I'm working on at the moment is using woody for some
form handling. I managed to get
Reinhard Poetz wrote:
My business logic is implemented in EJB so the binding
frameworks sounds
like the right approach but if possible I would like to start with a
more simple way and migrate to binding later...
you can start with XML files to evaluate Woody wheter it fits your
needs.
That's
On Mon, 2003-10-20 at 16:05, Patrick Hess wrote:
Reinhard Poetz wrote:
My business logic is implemented in EJB so the binding
frameworks sounds
like the right approach but if possible I would like to start with a
more simple way and migrate to binding later...
you can start
From: Patrick Hess
Reinhard Poetz wrote:
My business logic is implemented in EJB so the binding
frameworks sounds
like the right approach but if possible I would like to
start with a
more simple way and migrate to binding later...
you can start with XML files to evaluate
Is there a way of having a Woody form being
populated through the binding framework in a way that the form involves just a
subtree of the original XML doc?
For instance, given the following complete XML
doc:
root
elem
id="100"
namename100/name
addressaddress100/address
/elem
elem
On Mon, 2003-10-20 at 16:59, jcplerm wrote:
Is there a way of having a Woody form being populated through the
binding framework in a way that the form involves just a subtree of
the original XML doc?
For instance, given the following complete XML doc:
root
elem id=100
/cocoon/woody/flow/javascript/woody2.js, Line 211)
at (resource://org/apache/cocoon/woody/flow/javascript/woody2.js, Line
186): java.lang.NoSuchMethodError:
org.apache.avalon.framework.logger.AbstractLogEnabled.access$101(Lorg/apache/cocoon/woody/binding/JXPathBindingManager;)Lorg/apache/avalon
74 matches
Mail list logo