Re: XMLForm: dynamic content listbox

2002-11-23 Thread Ivelin Ivanov
yes. http://jakarta.apache.org/commons/jxpath/users-guide.html#Containers - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, November 21, 2002 2:54 AM Subject: RE: XMLForm: dynamic content listbox Thanks Alonso. I have read userIdentity.xml

Re: XMLForm: dynamic content listbox

2002-11-23 Thread Ivelin Ivanov
Yes. JXPath is used. The names are matched by JavaBean introspection. - Original Message - From: Josema Alonso [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, November 22, 2002 3:47 AM Subject: RE: XMLForm: dynamic content listbox When you say 'So, but how is the xmlform

RE: XMLForm: dynamic content listbox

2002-11-22 Thread Josema Alonso
; } And that's why is accesssed via /hobby. Please, Ivelin or anyone else, correct me if I'm wrong. Hope it helps. -Mensaje original- De: Kirchhoff, Lars [mailto:[EMAIL PROTECTED]] Enviado el: viernes, 22 de noviembre de 2002 7:20 Para: '[EMAIL PROTECTED]' Asunto: AW: XMLForm: dynamic content

AW: XMLForm: dynamic content listbox

2002-11-22 Thread Kirchhoff, Lars
regards Lars Kirchhoff -Ursprüngliche Nachricht- Von: Josema Alonso [mailto:[EMAIL PROTECTED]] Gesendet: Freitag, 22. November 2002 16:39 An: [EMAIL PROTECTED] Betreff: RE: XMLForm: dynamic content listbox Hi, For what I know, the access to the properties by JXPath relies

RE: XMLForm: dynamic content listbox

2002-11-22 Thread Josema Alonso
too much...maybe we should take a closer look at http://jakarta.apache.org/commons/jxpath/... -Mensaje original- De: Kirchhoff, Lars [mailto:[EMAIL PROTECTED]] Enviado el: viernes, 22 de noviembre de 2002 9:59 Para: '[EMAIL PROTECTED]' Asunto: AW: XMLForm: dynamic content listbox thanks

RE: XMLForm: dynamic content listbox

2002-11-21 Thread Sylvain.Thevoz
: XMLForm: dynamic content listbox Hello. I had a very similar problem a few days ago. The way to go is the itemset tag as used in the wizard demo. Take a look at the 'userIdentity.xml' file where the Hobbies get listed: xf:selectMany ref=/hobby selectUIType=checkbox xf:captionHobbies/xf:caption

RE: XMLForm: dynamic content listbox

2002-11-21 Thread Josema Alonso
If I have well understood, I could replace the hard-coded values of allHobbies by a query to a database. isn't it? Yes. Just fill the appropriate Java structure of your choice with the database values after querying it. What would be the solution if I want to retrieve the allHobbies values from

RE: XMLForm: dynamic content listbox

2002-11-21 Thread Josema Alonso
Yes I'm interested for your complete example! Ok, I'll send the example later this evening. I think that the access to Xindice or to a XML file are nearly the same?!? Well, mostly...let's say you can get XML documents from Xindice. Think about it as a XML documents repository that are stored in

AW: XMLForm: dynamic content listbox

2002-11-21 Thread Kirchhoff, Lars
this to one of my own variable names. regards Lars -Ursprüngliche Nachricht- Von: Josema Alonso [mailto:[EMAIL PROTECTED]] Gesendet: Donnerstag, 21. November 2002 02:50 An: Cocoon-Users Betreff: Re: XMLForm: dynamic content listbox Hello. I had a very similar problem a few days

XMLForm: dynamic content listbox

2002-11-20 Thread Sylvain.Thevoz
Hello, I'm using listbox in XMLForm (with tag xf:selectOne selectUIType=listbox). The content of the listbox (the items listed) is hard-coded in the xml document (view) like that: xf:selectOne selectUIType=listbox xf:item id=unix xf:captionUnix/xf:caption xf:valueUnix/xf:value /xf:item

Re: XMLForm: dynamic content listbox

2002-11-20 Thread Josema Alonso
PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 20, 2002 3:56 PM Subject: XMLForm: dynamic content listbox Hello, I'm using listbox in XMLForm (with tag xf:selectOne selectUIType=listbox). The content of the listbox (the items listed) is hard-coded in the xml document (view) like