RE: XMLForm and DOM node initialization

2002-12-09 Thread Sylvain.Thevoz
Hi Ivelin,

No, thank you.
But it doesn't make any differences!!

Is it right that in the XMLForm Wizard example the initialization of the Bean occurs 
only when you press the Next button from the first form to the following?
I try to understand because I have certainly an initialization problem.

Thank you
Sylvain

-Message d'origine-
De: Ivelin Ivanov [mailto:[EMAIL PROTECTED]]
Date: lundi, 9. décembre 2002 15:55
À: [EMAIL PROTECTED]
Objet: Re: XMLForm and DOM node initialization



Have you noticed that you have a typo in the file.
Rename the "def" attributes to "ref".


Ivelin


- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 09, 2002 4:14 AM
Subject: RE: XMLForm and DOM node initialization


I tried to load this form:

code


http://xml.apache.org/cocoon/xmlform/2002";>

Test

  


  



code

It's still the same: there is the correct number of items in the page but
there are empty (the values aren't set).

The values are not set. Why??

If I don't insert ../document/.. in the path, the correct number of items
are not displayed.


Thank you
Regards
Sylvain


-Message d'origine-
De: Kirchhoff, Lars [mailto:[EMAIL PROTECTED]]
Date: lundi, 9. décembre 2002 10:34
À: '[EMAIL PROTECTED]'
Objet: AW: XMLForm and DOM node initialization


The output statement print just the value of either the bean property or
a dom node. You can look at the example of the xmlform-Howto-Wizard.
The confirm.xml is using it to show all entered values.

The code seemes to be ok, but I think you don't need the document...

Place this without anything in the apropriate xml file and turn of all
xsl stylesheets in the sitemap to see what is happening.

ciao Lars

> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Gesendet: Montag, 9. Dezember 2002 17:23
> An: [EMAIL PROTECTED]
> Betreff: RE: XMLForm and DOM node initialization
>
>
> Yes, I think you have the same problem as me!!
>
> I don't use the xf:output statement. What does it mean?
>
> If I'm right, for testing you create a form.xml file (view)
> with only a repeat statement like this:
>
> code
> 
>   
> 
> 
> 
> 
>   
> 
> code
>
> Is it the right way?
>
> Do you know why this kind of problem happen?
>
> Thank you
> Regards
> Sylvain
>
>
>
> -Message d'origine-
> De: Kirchhoff, Lars [mailto:[EMAIL PROTECTED]]
> Date: lundi, 9. décembre 2002 09:54
> À: '[EMAIL PROTECTED]'
> Objet: AW: XMLForm and DOM node initialization
>
>
> I just went through the same problem an hour before.
> My problem was that not all dom nodes weren't initialized or
> respectivly
> some of the data before the repeat statement wasn't initialized.
>
> sample:
>
> - code -
>   ...
> 
>   
>   
>   
>
> 
> 
> 
> 
> 
>  />
> 
>  />
> 
> 
> 
>   ...
> - /code 
>
> this wasn't working for me, because I forget to set up the pobox and
> pocode node. I experienced the same behaviour like yours, the repeat
> statement was executed and created the correct number of items, but
> non of the values(no,desc,unit,..) where set.
> Try a blank xml file with just the repeat statement. If this works try
> to find out what's maybe missing.
>
> hope that helps.
>
> ciao Lars
>
> > -Ursprüngliche Nachricht-
> > Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
> > Gesendet: Montag, 9. Dezember 2002 16:38
> > An: [EMAIL PROTECTED]
> > Betreff: RE: XMLForm and DOM node initialization
> >
> >
> > Hi Lars,
> >
> > No, it doesn't work!!
> > I'm going to be completely crazy!
> >
> > I think the problem is not on the XPath expression, because
> > there is the exact number of items in the list. But the
> > caption and value fields are empty! And I don't understand why!
> >
> > Thank you
> > Sylvain
> >
> > -Message d'origine-
> > De: Kirchhoff, Lars [mailto:[EMAIL PROTECTED]]
> > Date: lundi, 9. décembre 2002 03:41
> > À: '[EMAIL PROTECTED]'
> > Objet: AW: XMLForm and DOM node initialization
> >
> >
> > Hello Sylvian,
> >
> >   I'm sorry for the last mail, was send to early...
> > outlook is driving
> > me crazy.. 
> >
> > try the following:
> >
> > 
> >   Workstation Type
> >   
> > 
> > 
> >   
> >   
> > 
> >
> >

Re: XMLForm and DOM node initialization

2002-12-09 Thread Ivelin Ivanov

Have you noticed that you have a typo in the file.
Rename the "def" attributes to "ref".


Ivelin


- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, December 09, 2002 4:14 AM
Subject: RE: XMLForm and DOM node initialization


I tried to load this form:

code


http://xml.apache.org/cocoon/xmlform/2002";>

Test

  


  



code

It's still the same: there is the correct number of items in the page but
there are empty (the values aren't set).

The values are not set. Why??

If I don't insert ../document/.. in the path, the correct number of items
are not displayed.


Thank you
Regards
Sylvain


-Message d'origine-
De: Kirchhoff, Lars [mailto:[EMAIL PROTECTED]]
Date: lundi, 9. décembre 2002 10:34
À: '[EMAIL PROTECTED]'
Objet: AW: XMLForm and DOM node initialization


The output statement print just the value of either the bean property or
a dom node. You can look at the example of the xmlform-Howto-Wizard.
The confirm.xml is using it to show all entered values.

The code seemes to be ok, but I think you don't need the document...

Place this without anything in the apropriate xml file and turn of all
xsl stylesheets in the sitemap to see what is happening.

ciao Lars

> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Gesendet: Montag, 9. Dezember 2002 17:23
> An: [EMAIL PROTECTED]
> Betreff: RE: XMLForm and DOM node initialization
>
>
> Yes, I think you have the same problem as me!!
>
> I don't use the xf:output statement. What does it mean?
>
> If I'm right, for testing you create a form.xml file (view)
> with only a repeat statement like this:
>
> code
> 
>   
> 
> 
> 
> 
>   
> 
> code
>
> Is it the right way?
>
> Do you know why this kind of problem happen?
>
> Thank you
> Regards
> Sylvain
>
>
>
> -Message d'origine-
> De: Kirchhoff, Lars [mailto:[EMAIL PROTECTED]]
> Date: lundi, 9. décembre 2002 09:54
> À: '[EMAIL PROTECTED]'
> Objet: AW: XMLForm and DOM node initialization
>
>
> I just went through the same problem an hour before.
> My problem was that not all dom nodes weren't initialized or
> respectivly
> some of the data before the repeat statement wasn't initialized.
>
> sample:
>
> - code -
>   ...
> 
>   
>   
>   
>
> 
> 
> 
> 
> 
>  />
> 
>  />
> 
> 
> 
>   ...
> - /code 
>
> this wasn't working for me, because I forget to set up the pobox and
> pocode node. I experienced the same behaviour like yours, the repeat
> statement was executed and created the correct number of items, but
> non of the values(no,desc,unit,..) where set.
> Try a blank xml file with just the repeat statement. If this works try
> to find out what's maybe missing.
>
> hope that helps.
>
> ciao Lars
>
> > -Ursprüngliche Nachricht-
> > Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]
> > Gesendet: Montag, 9. Dezember 2002 16:38
> > An: [EMAIL PROTECTED]
> > Betreff: RE: XMLForm and DOM node initialization
> >
> >
> > Hi Lars,
> >
> > No, it doesn't work!!
> > I'm going to be completely crazy!
> >
> > I think the problem is not on the XPath expression, because
> > there is the exact number of items in the list. But the
> > caption and value fields are empty! And I don't understand why!
> >
> > Thank you
> > Sylvain
> >
> > -Message d'origine-
> > De: Kirchhoff, Lars [mailto:[EMAIL PROTECTED]]
> > Date: lundi, 9. décembre 2002 03:41
> > À: '[EMAIL PROTECTED]'
> > Objet: AW: XMLForm and DOM node initialization
> >
> >
> > Hello Sylvian,
> >
> >   I'm sorry for the last mail, was send to early...
> > outlook is driving
> > me crazy.. 
> >
> > try the following:
> >
> > 
> >   Workstation Type
> >   
> > 
> > 
> >   
> >   
> > 
> >
> > if your dom is still loaded into selected and is looking like this:
> >
> > 
> >   
> > 
> >   Desktop
> > 
> > 
> >   Laptop
> > 
> > 
> >   Other configuration
> > 
> >   
> > 
> >
> > ciao Lars
> >
> > > -Ursprüngliche Nachricht-
> > > Von: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]
> > > Gesendet: Samstag, 7. Dezember 2002

RE: XMLForm and DOM node initialization

2002-12-09 Thread Sylvain.Thevoz
I tried to load this form:

code


http://xml.apache.org/cocoon/xmlform/2002";> 
   
Test




  
  


code

It's still the same: there is the correct number of items in the page but there are 
empty (the values aren't set).

The values are not set. Why??

If I don't insert ../document/.. in the path, the correct number of items are not 
displayed.


Thank you
Regards
Sylvain


-Message d'origine-
De: Kirchhoff, Lars [mailto:[EMAIL PROTECTED]]
Date: lundi, 9. décembre 2002 10:34
À: '[EMAIL PROTECTED]'
Objet: AW: XMLForm and DOM node initialization


The output statement print just the value of either the bean property or
a dom node. You can look at the example of the xmlform-Howto-Wizard. 
The confirm.xml is using it to show all entered values.

The code seemes to be ok, but I think you don't need the document...

Place this without anything in the apropriate xml file and turn of all
xsl stylesheets in the sitemap to see what is happening. 

ciao Lars

> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Gesendet: Montag, 9. Dezember 2002 17:23
> An: [EMAIL PROTECTED]
> Betreff: RE: XMLForm and DOM node initialization
> 
> 
> Yes, I think you have the same problem as me!!
> 
> I don't use the xf:output statement. What does it mean?
> 
> If I'm right, for testing you create a form.xml file (view) 
> with only a repeat statement like this:
> 
> code
> 
>   
> 
>   
>   
> 
>   
> 
> code
> 
> Is it the right way?
> 
> Do you know why this kind of problem happen?
> 
> Thank you
> Regards
> Sylvain
> 
> 
> 
> -----Message d'origine-
> De: Kirchhoff, Lars [mailto:[EMAIL PROTECTED]]
> Date: lundi, 9. décembre 2002 09:54
> À: '[EMAIL PROTECTED]'
> Objet: AW: XMLForm and DOM node initialization
> 
> 
> I just went through the same problem an hour before. 
> My problem was that not all dom nodes weren't initialized or 
> respectivly 
> some of the data before the repeat statement wasn't initialized.
> 
> sample:
> 
> - code -
>   ...
>   
>   
>   
>   
> 
>   
>   
>   
>   
>   
>/>
>   
>/>
>   
>   
>   
>   ... 
> - /code 
> 
> this wasn't working for me, because I forget to set up the pobox and 
> pocode node. I experienced the same behaviour like yours, the repeat
> statement was executed and created the correct number of items, but 
> non of the values(no,desc,unit,..) where set. 
> Try a blank xml file with just the repeat statement. If this works try
> to find out what's maybe missing.
> 
> hope that helps.
> 
> ciao Lars
> 
> > -Ursprüngliche Nachricht-
> > Von: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]]
> > Gesendet: Montag, 9. Dezember 2002 16:38
> > An: [EMAIL PROTECTED]
> > Betreff: RE: XMLForm and DOM node initialization
> > 
> > 
> > Hi Lars,
> > 
> > No, it doesn't work!!
> > I'm going to be completely crazy!
> > 
> > I think the problem is not on the XPath expression, because 
> > there is the exact number of items in the list. But the 
> > caption and value fields are empty! And I don't understand why!
> > 
> > Thank you
> > Sylvain
> > 
> > -Message d'origine-
> > De: Kirchhoff, Lars [mailto:[EMAIL PROTECTED]]
> > Date: lundi, 9. décembre 2002 03:41
> > À: '[EMAIL PROTECTED]'
> > Objet: AW: XMLForm and DOM node initialization
> > 
> > 
> > Hello Sylvian,
> > 
> >   I'm sorry for the last mail, was send to early... 
> > outlook is driving
> > me crazy.. ----
> > 
> > try the following:
> > 
> > 
> >   Workstation Type
> >   
> > 
> > 
> >   
> >   
> > 
> > 
> > if your dom is still loaded into selected and is looking like this:
> > 
> > 
> >   
> > 
> >   Desktop
> > 
> > 
> >   Laptop
> > 
> > 
> >   Other configuration
> > 
> >   
> > 
> > 
> > ciao Lars
> > 
> > > -Ursprüngliche Nachricht-
> > > Von: [EMAIL PROTECTED] 
> > [mailto:[EMAIL PROTECT

AW: XMLForm and DOM node initialization

2002-12-09 Thread Kirchhoff, Lars
The output statement print just the value of either the bean property or
a dom node. You can look at the example of the xmlform-Howto-Wizard. 
The confirm.xml is using it to show all entered values.

The code seemes to be ok, but I think you don't need the document...

Place this without anything in the apropriate xml file and turn of all
xsl stylesheets in the sitemap to see what is happening. 

ciao Lars

> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Gesendet: Montag, 9. Dezember 2002 17:23
> An: [EMAIL PROTECTED]
> Betreff: RE: XMLForm and DOM node initialization
> 
> 
> Yes, I think you have the same problem as me!!
> 
> I don't use the xf:output statement. What does it mean?
> 
> If I'm right, for testing you create a form.xml file (view) 
> with only a repeat statement like this:
> 
> code
> 
>   
> 
>   
>   
> 
>   
> 
> code
> 
> Is it the right way?
> 
> Do you know why this kind of problem happen?
> 
> Thank you
> Regards
> Sylvain
> 
> 
> 
> -Message d'origine-----
> De: Kirchhoff, Lars [mailto:[EMAIL PROTECTED]]
> Date: lundi, 9. décembre 2002 09:54
> À: '[EMAIL PROTECTED]'
> Objet: AW: XMLForm and DOM node initialization
> 
> 
> I just went through the same problem an hour before. 
> My problem was that not all dom nodes weren't initialized or 
> respectivly 
> some of the data before the repeat statement wasn't initialized.
> 
> sample:
> 
> - code -
>   ...
>   
>   
>   
>   
> 
>   
>   
>   
>   
>   
>/>
>   
>/>
>   
>   
>   
>   ... 
> - /code 
> 
> this wasn't working for me, because I forget to set up the pobox and 
> pocode node. I experienced the same behaviour like yours, the repeat
> statement was executed and created the correct number of items, but 
> non of the values(no,desc,unit,..) where set. 
> Try a blank xml file with just the repeat statement. If this works try
> to find out what's maybe missing.
> 
> hope that helps.
> 
> ciao Lars
> 
> > -Ursprüngliche Nachricht-
> > Von: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]]
> > Gesendet: Montag, 9. Dezember 2002 16:38
> > An: [EMAIL PROTECTED]
> > Betreff: RE: XMLForm and DOM node initialization
> > 
> > 
> > Hi Lars,
> > 
> > No, it doesn't work!!
> > I'm going to be completely crazy!
> > 
> > I think the problem is not on the XPath expression, because 
> > there is the exact number of items in the list. But the 
> > caption and value fields are empty! And I don't understand why!
> > 
> > Thank you
> > Sylvain
> > 
> > -Message d'origine-
> > De: Kirchhoff, Lars [mailto:[EMAIL PROTECTED]]
> > Date: lundi, 9. décembre 2002 03:41
> > À: '[EMAIL PROTECTED]'
> > Objet: AW: XMLForm and DOM node initialization
> > 
> > 
> > Hello Sylvian,
> > 
> >   I'm sorry for the last mail, was send to early... 
> > outlook is driving
> > me crazy.. 
> > 
> > try the following:
> > 
> > 
> >   Workstation Type
> >   
> > 
> > 
> >   
> >   
> > 
> > 
> > if your dom is still loaded into selected and is looking like this:
> > 
> > 
> >   
> > 
> >   Desktop
> > 
> > 
> >   Laptop
> > 
> > 
> >   Other configuration
> > 
> >   
> > 
> > 
> > ciao Lars
> > 
> > > -Ursprüngliche Nachricht-
> > > Von: [EMAIL PROTECTED] 
> > [mailto:[EMAIL PROTECTED]]
> > > Gesendet: Samstag, 7. Dezember 2002 00:53
> > > An: [EMAIL PROTECTED]
> > > Betreff: XMLForm and DOM node initialization
> > > 
> > > 
> > > Hello everybody,
> > > 
> > > I'm using XMLForm and its possibility to access to DOM nodes.
> > > 
> > > Here is the code in the view (form.xml):
> > > 
> > > 
> > >   Workstation Type
> > >nodeset="listValues/document/typeOfWorkstation/item">
> > > 
> > > 
> > >   
> > >   
> >

RE: XMLForm and DOM node initialization

2002-12-09 Thread Sylvain.Thevoz
Yes, I think you have the same problem as me!!

I don't use the xf:output statement. What does it mean?

If I'm right, for testing you create a form.xml file (view) with only a repeat 
statement like this:

code

  




  

code

Is it the right way?

Do you know why this kind of problem happen?

Thank you
Regards
Sylvain



-Message d'origine-
De: Kirchhoff, Lars [mailto:[EMAIL PROTECTED]]
Date: lundi, 9. décembre 2002 09:54
À: '[EMAIL PROTECTED]'
Objet: AW: XMLForm and DOM node initialization


I just went through the same problem an hour before. 
My problem was that not all dom nodes weren't initialized or respectivly 
some of the data before the repeat statement wasn't initialized.

sample:

- code -
  ...
















  ...   
- /code 

this wasn't working for me, because I forget to set up the pobox and 
pocode node. I experienced the same behaviour like yours, the repeat
statement was executed and created the correct number of items, but 
non of the values(no,desc,unit,..) where set. 
Try a blank xml file with just the repeat statement. If this works try
to find out what's maybe missing.

hope that helps.

ciao Lars

> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Gesendet: Montag, 9. Dezember 2002 16:38
> An: [EMAIL PROTECTED]
> Betreff: RE: XMLForm and DOM node initialization
> 
> 
> Hi Lars,
> 
> No, it doesn't work!!
> I'm going to be completely crazy!
> 
> I think the problem is not on the XPath expression, because 
> there is the exact number of items in the list. But the 
> caption and value fields are empty! And I don't understand why!
> 
> Thank you
> Sylvain
> 
> -Message d'origine-
> De: Kirchhoff, Lars [mailto:[EMAIL PROTECTED]]
> Date: lundi, 9. décembre 2002 03:41
> À: '[EMAIL PROTECTED]'
> Objet: AW: XMLForm and DOM node initialization
> 
> 
> Hello Sylvian,
> 
>   I'm sorry for the last mail, was send to early... 
> outlook is driving
> me crazy.. 
> 
> try the following:
> 
> 
>   Workstation Type
>   
> 
> 
>   
>   
> 
> 
> if your dom is still loaded into selected and is looking like this:
> 
> 
>   
> 
>   Desktop
> 
> 
>   Laptop
> 
> 
>       Other configuration
> 
>   
> 
> 
> ciao Lars
> 
> > -Ursprüngliche Nachricht-
> > Von: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]]
> > Gesendet: Samstag, 7. Dezember 2002 00:53
> > An: [EMAIL PROTECTED]
> > Betreff: XMLForm and DOM node initialization
> > 
> > 
> > Hello everybody,
> > 
> > I'm using XMLForm and its possibility to access to DOM nodes.
> > 
> > Here is the code in the view (form.xml):
> > 
> > 
> >   Workstation Type
> >   
> > 
> > 
> >   
> >   
> > 
> > 
> > The problem is when I load the web app page (containing the 
> > node field) for the first time (after a Tomcat or Browser 
> > restart), the "value" and "caption" fields are empty although 
> > the number of  are right.
> > 
> > Here is the HTML source when the fields are empty (first load):
> >  > value=""> > value="">
> > 
> > Here is the HTML source when the fields are OK (not first load):
> >  > value="desktop">Desktop > value="laptop">LaptopOther 
> > configuration
> > 
> > The node is initialized in the Bean (model) conctructor.
> > 
> > 
> > Is anybody could help me to understand what's happen?!?
> > I'm really desparate because I really don't know what could 
> > be the problem!
> > 
> > When a web page is loaded, which methods or actions are called?
> > 
> > 
> > Any suggestions will be greatly appreciated.
> > Thank you
> > Sylvain
> > 
> > 
> -
> > Please check that your question  has not already been 
> answered in the
> > FAQ before posting. 
> <http://xml.apache.org/cocoon/faq/index.html>
> > 
> > To unsubscribe, e-mail: 
> <[EMAIL PROTECT

AW: XMLForm and DOM node initialization

2002-12-09 Thread Kirchhoff, Lars
I just went through the same problem an hour before. 
My problem was that not all dom nodes weren't initialized or respectivly 
some of the data before the repeat statement wasn't initialized.

sample:

- code -
  ...
















  ...   
- /code 

this wasn't working for me, because I forget to set up the pobox and 
pocode node. I experienced the same behaviour like yours, the repeat
statement was executed and created the correct number of items, but 
non of the values(no,desc,unit,..) where set. 
Try a blank xml file with just the repeat statement. If this works try
to find out what's maybe missing.

hope that helps.

ciao Lars

> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Gesendet: Montag, 9. Dezember 2002 16:38
> An: [EMAIL PROTECTED]
> Betreff: RE: XMLForm and DOM node initialization
> 
> 
> Hi Lars,
> 
> No, it doesn't work!!
> I'm going to be completely crazy!
> 
> I think the problem is not on the XPath expression, because 
> there is the exact number of items in the list. But the 
> caption and value fields are empty! And I don't understand why!
> 
> Thank you
> Sylvain
> 
> -Message d'origine-
> De: Kirchhoff, Lars [mailto:[EMAIL PROTECTED]]
> Date: lundi, 9. décembre 2002 03:41
> À: '[EMAIL PROTECTED]'
> Objet: AW: XMLForm and DOM node initialization
> 
> 
> Hello Sylvian,
> 
>   I'm sorry for the last mail, was send to early... 
> outlook is driving
> me crazy.. 
> 
> try the following:
> 
> 
>   Workstation Type
>   
> 
> 
>   
>   
> 
> 
> if your dom is still loaded into selected and is looking like this:
> 
> 
>   
> 
>   Desktop
> 
> 
>   Laptop
> 
> 
>   Other configuration
>     
>   
> 
> 
> ciao Lars
> 
> > -Ursprüngliche Nachricht-
> > Von: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]]
> > Gesendet: Samstag, 7. Dezember 2002 00:53
> > An: [EMAIL PROTECTED]
> > Betreff: XMLForm and DOM node initialization
> > 
> > 
> > Hello everybody,
> > 
> > I'm using XMLForm and its possibility to access to DOM nodes.
> > 
> > Here is the code in the view (form.xml):
> > 
> > 
> >   Workstation Type
> >   
> > 
> > 
> >   
> >   
> > 
> > 
> > The problem is when I load the web app page (containing the 
> > node field) for the first time (after a Tomcat or Browser 
> > restart), the "value" and "caption" fields are empty although 
> > the number of  are right.
> > 
> > Here is the HTML source when the fields are empty (first load):
> >  > value=""> > value="">
> > 
> > Here is the HTML source when the fields are OK (not first load):
> >  > value="desktop">Desktop > value="laptop">LaptopOther 
> > configuration
> > 
> > The node is initialized in the Bean (model) conctructor.
> > 
> > 
> > Is anybody could help me to understand what's happen?!?
> > I'm really desparate because I really don't know what could 
> > be the problem!
> > 
> > When a web page is loaded, which methods or actions are called?
> > 
> > 
> > Any suggestions will be greatly appreciated.
> > Thank you
> > Sylvain
> > 
> > 
> -
> > Please check that your question  has not already been 
> answered in the
> > FAQ before posting. 
> <http://xml.apache.org/cocoon/faq/index.html>
> > 
> > To unsubscribe, e-mail: 
> <[EMAIL PROTECTED]>
> > For additional commands, e-mail:   
> <[EMAIL PROTECTED]>
> > 
> 
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 
> 
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 

-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




RE: XMLForm and DOM node initialization

2002-12-09 Thread Sylvain.Thevoz
Hi Lars,

No, it doesn't work!!
I'm going to be completely crazy!

I think the problem is not on the XPath expression, because there is the exact number 
of items in the list. But the caption and value fields are empty! And I don't 
understand why!

Thank you
Sylvain

-Message d'origine-
De: Kirchhoff, Lars [mailto:[EMAIL PROTECTED]]
Date: lundi, 9. décembre 2002 03:41
À: '[EMAIL PROTECTED]'
Objet: AW: XMLForm and DOM node initialization


Hello Sylvian,

  I'm sorry for the last mail, was send to early... outlook is driving
me crazy.. 

try the following:


  Workstation Type
  


  
  


if your dom is still loaded into selected and is looking like this:


  

  Desktop


  Laptop


  Other configuration

  


ciao Lars

> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Gesendet: Samstag, 7. Dezember 2002 00:53
> An: [EMAIL PROTECTED]
> Betreff: XMLForm and DOM node initialization
> 
> 
> Hello everybody,
> 
> I'm using XMLForm and its possibility to access to DOM nodes.
> 
> Here is the code in the view (form.xml):
> 
> 
>   Workstation Type
>   
> 
> 
>   
>   
> 
> 
> The problem is when I load the web app page (containing the 
> node field) for the first time (after a Tomcat or Browser 
> restart), the "value" and "caption" fields are empty although 
> the number of  are right.
> 
> Here is the HTML source when the fields are empty (first load):
>  value=""> value="">
> 
> Here is the HTML source when the fields are OK (not first load):
>  value="desktop">Desktop value="laptop">LaptopOther 
> configuration
> 
> The node is initialized in the Bean (model) conctructor.
> 
> 
> Is anybody could help me to understand what's happen?!?
> I'm really desparate because I really don't know what could 
> be the problem!
> 
> When a web page is loaded, which methods or actions are called?
> 
> 
> Any suggestions will be greatly appreciated.
> Thank you
> Sylvain
> 
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 

-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>


-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




AW: XMLForm and DOM node initialization

2002-12-08 Thread Kirchhoff, Lars
Hello List,

I've got now a strange behaviour, which I can't explain myself, but which
look 
like it is related to this thread. 

I'm using xmlform and generated some dom data to feed the form with database

values. Tthe dom is created correctly, but I'm having problems referencing
it
or at least a strange behaviour.

I'll tried this one here to output the dom:

- code -











- /code 

but only get this:


 
 
 
  
 
 
 
 


BUT, if I'm using this:

- code -

 












- /code 

the output is filled completely... I didn't noticed it before because I
was using the selectOne statement for debugging reasons, but now I don't
want it anymore. (users and transaction are different dom nodes)

Has anyone an idea why this is behaving like this?

ciao Lars

> -Ursprüngliche Nachricht-
> Von: Kirchhoff, Lars 
> Gesendet: Montag, 9. Dezember 2002 10:41
> An: '[EMAIL PROTECTED]'
> Betreff: AW: XMLForm and DOM node initialization
> 
> 
> Hello Sylvian,
> 
>   I'm sorry for the last mail, was send to early... 
> outlook is driving
> me crazy.. 
> 
> try the following:
> 
> 
>   Workstation Type
>   
> 
> 
>   
>   
> 
> 
> if your dom is still loaded into selected and is looking like this:
> 
> 
>   
> 
>   Desktop
> 
> 
>   Laptop
> 
> 
>   Other configuration
> 
>   
> 
> 
> ciao Lars
> 
> > -----Ursprüngliche Nachricht-
> > Von: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]]
> > Gesendet: Samstag, 7. Dezember 2002 00:53
> > An: [EMAIL PROTECTED]
> > Betreff: XMLForm and DOM node initialization
> > 
> > 
> > Hello everybody,
> > 
> > I'm using XMLForm and its possibility to access to DOM nodes.
> > 
> > Here is the code in the view (form.xml):
> > 
> > 
> >   Workstation Type
> >   
> > 
> > 
> >   
> >   
> > 
> > 
> > The problem is when I load the web app page (containing the 
> > node field) for the first time (after a Tomcat or Browser 
> > restart), the "value" and "caption" fields are empty although 
> > the number of  are right.
> > 
> > Here is the HTML source when the fields are empty (first load):
> >  > value=""> > value="">
> > 
> > Here is the HTML source when the fields are OK (not first load):
> >  > value="desktop">Desktop > value="laptop">LaptopOther 
> > configuration
> > 
> > The node is initialized in the Bean (model) conctructor.
> > 
> > 
> > Is anybody could help me to understand what's happen?!?
> > I'm really desparate because I really don't know what could 
> > be the problem!
> > 
> > When a web page is loaded, which methods or actions are called?
> > 
> > 
> > Any suggestions will be greatly appreciated.
> > Thank you
> > Sylvain
> > 
> > 
> -
> > Please check that your question  has not already been 
> answered in the
> > FAQ before posting. 
> <http://xml.apache.org/cocoon/faq/index.html>
> > 
> > To unsubscribe, e-mail: 
> <[EMAIL PROTECTED]>
> > For additional commands, e-mail:   
> <[EMAIL PROTECTED]>
> > 
> 
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 

-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




AW: XMLForm and DOM node initialization

2002-12-08 Thread Kirchhoff, Lars
Hello Sylvian,

  I'm sorry for the last mail, was send to early... outlook is driving
me crazy.. 

try the following:


  Workstation Type
  


  
  


if your dom is still loaded into selected and is looking like this:


  

  Desktop


  Laptop


  Other configuration

  


ciao Lars

> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Gesendet: Samstag, 7. Dezember 2002 00:53
> An: [EMAIL PROTECTED]
> Betreff: XMLForm and DOM node initialization
> 
> 
> Hello everybody,
> 
> I'm using XMLForm and its possibility to access to DOM nodes.
> 
> Here is the code in the view (form.xml):
> 
> 
>   Workstation Type
>   
> 
> 
>   
>   
> 
> 
> The problem is when I load the web app page (containing the 
> node field) for the first time (after a Tomcat or Browser 
> restart), the "value" and "caption" fields are empty although 
> the number of  are right.
> 
> Here is the HTML source when the fields are empty (first load):
>  value=""> value="">
> 
> Here is the HTML source when the fields are OK (not first load):
>  value="desktop">Desktop value="laptop">LaptopOther 
> configuration
> 
> The node is initialized in the Bean (model) conctructor.
> 
> 
> Is anybody could help me to understand what's happen?!?
> I'm really desparate because I really don't know what could 
> be the problem!
> 
> When a web page is loaded, which methods or actions are called?
> 
> 
> Any suggestions will be greatly appreciated.
> Thank you
> Sylvain
> 
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 

-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




AW: XMLForm and DOM node initialization

2002-12-08 Thread Kirchhoff, Lars
Hello Sylvian,

try the following:


  Workstation Type
  


  
  


if your dom is still:

> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Gesendet: Samstag, 7. Dezember 2002 00:53
> An: [EMAIL PROTECTED]
> Betreff: XMLForm and DOM node initialization
> 
> 
> Hello everybody,
> 
> I'm using XMLForm and its possibility to access to DOM nodes.
> 
> Here is the code in the view (form.xml):
> 
> 
>   Workstation Type
>   
> 
> 
>   
>   
> 
> 
> The problem is when I load the web app page (containing the 
> node field) for the first time (after a Tomcat or Browser 
> restart), the "value" and "caption" fields are empty although 
> the number of  are right.
> 
> Here is the HTML source when the fields are empty (first load):
>  value=""> value="">
> 
> Here is the HTML source when the fields are OK (not first load):
>  value="desktop">Desktop value="laptop">LaptopOther 
> configuration
> 
> The node is initialized in the Bean (model) conctructor.
> 
> 
> Is anybody could help me to understand what's happen?!?
> I'm really desparate because I really don't know what could 
> be the problem!
> 
> When a web page is loaded, which methods or actions are called?
> 
> 
> Any suggestions will be greatly appreciated.
> Thank you
> Sylvain
> 
> -
> Please check that your question  has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail:   <[EMAIL PROTECTED]>
> 

-
Please check that your question  has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




XMLForm and DOM node initialization

2002-12-06 Thread Sylvain.Thevoz
Hello everybody,

I'm using XMLForm and its possibility to access to DOM nodes.

Here is the code in the view (form.xml):


  Workstation Type
  


  
  


The problem is when I load the web app page (containing the node field) for the first 
time (after a Tomcat or Browser restart), the "value" and "caption" fields are empty 
although the number of  are right.

Here is the HTML source when the fields are empty (first load):


Here is the HTML source when the fields are OK (not first load):
DesktopLaptopOther configuration

The node is initialized in the Bean (model) conctructor.


Is anybody could help me to understand what's happen?!?
I'm really desparate because I really don't know what could be the problem!

When a web page is loaded, which methods or actions are called?


Any suggestions will be greatly appreciated.
Thank you
Sylvain

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>