You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Senhaji <os...@wanadoo.fr> on 2002/11/18 12:31:52 UTC
XMLForm JavaBean getter & setter methods
Hello,
In the wizard example, I added some log traces in the UserBean's getter and
setter methods to see what happen behind the scene. When I push the start
button, the getAllHobbies is called many times (>20). The same thing happens
with the getSystem(). However the setSystem() method is never called. Can
some one explain this behaviour?
Thanks,
Senhaji
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: XMLForm JavaBean getter & setter methods
Posted by Senhaji <os...@wanadoo.fr>.
I've got the following errors :
================(1)=================
ERROR (2002-11-23) 21:52.51:646 [sitemap.transformer.xmlform]
(/cocoon/samples/xmlform/wizard) Thread-11/XMLFormTransformer: unknown
element [item]
=================(2)================
ERROR (2002-11-23) 21:52.56:774 [sitemap.transformer.xmlform]
(/cocoon/samples/xmlform/wizard) Thread-11/XMLFormTransformer: pass through
element [group]
=================(3)================
ERROR (2002-11-23) 21:52.56:804 [sitemap.transformer.xmlform]
(/cocoon/samples/xmlform/wizard) Thread-11/XMLFormTransformer: unknown
element [group]
Each one is thrown many times.
-----Message d'origine-----
De : Ivelin Ivanov [mailto:ivelin@apache.org]
Envoyé : samedi 23 novembre 2002 16:34
À : cocoon-users@xml.apache.org
Objet : Re: XMLForm JavaBean getter & setter methods
Does the log suggest something? (look for sitemap.transformer.xmlform).
----- Original Message -----
From: "Senhaji" <os...@wanadoo.fr>
To: <co...@xml.apache.org>
Sent: Wednesday, November 20, 2002 3:17 PM
Subject: RE: XMLForm JavaBean getter & setter methods
Yes, the "system" Node is set correctly. But what about the other bean's
getter methods that are called by the framework many times !
Senhaji
-----Message d'origine-----
De : Ivelin Ivanov [mailto:ivelin@apache.org]
Envoyé : mercredi 20 novembre 2002 04:43
À : cocoon-users@xml.apache.org
Objet : Re: XMLForm JavaBean getter & setter methods
JXpath gets the collection and directly sets its items.
----- Original Message -----
From: "Senhaji" <os...@wanadoo.fr>
To: "Cocoon-Users" <co...@xml.apache.org>
Sent: Monday, November 18, 2002 5:31 AM
Subject: XMLForm JavaBean getter & setter methods
> Hello,
>
> In the wizard example, I added some log traces in the UserBean's getter
and
> setter methods to see what happen behind the scene. When I push the start
> button, the getAllHobbies is called many times (>20). The same thing
happens
> with the getSystem(). However the setSystem() method is never called. Can
> some one explain this behaviour?
>
> Thanks,
>
> Senhaji
>
>
> ---------------------------------------------------------------------
> 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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: XMLForm JavaBean getter & setter methods
Posted by Ivelin Ivanov <iv...@apache.org>.
Does the log suggest something? (look for sitemap.transformer.xmlform).
----- Original Message -----
From: "Senhaji" <os...@wanadoo.fr>
To: <co...@xml.apache.org>
Sent: Wednesday, November 20, 2002 3:17 PM
Subject: RE: XMLForm JavaBean getter & setter methods
Yes, the "system" Node is set correctly. But what about the other bean's
getter methods that are called by the framework many times !
Senhaji
-----Message d'origine-----
De : Ivelin Ivanov [mailto:ivelin@apache.org]
Envoyé : mercredi 20 novembre 2002 04:43
À : cocoon-users@xml.apache.org
Objet : Re: XMLForm JavaBean getter & setter methods
JXpath gets the collection and directly sets its items.
----- Original Message -----
From: "Senhaji" <os...@wanadoo.fr>
To: "Cocoon-Users" <co...@xml.apache.org>
Sent: Monday, November 18, 2002 5:31 AM
Subject: XMLForm JavaBean getter & setter methods
> Hello,
>
> In the wizard example, I added some log traces in the UserBean's getter
and
> setter methods to see what happen behind the scene. When I push the start
> button, the getAllHobbies is called many times (>20). The same thing
happens
> with the getSystem(). However the setSystem() method is never called. Can
> some one explain this behaviour?
>
> Thanks,
>
> Senhaji
>
>
> ---------------------------------------------------------------------
> 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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
RE: XMLForm JavaBean getter & setter methods
Posted by Senhaji <os...@wanadoo.fr>.
Yes, the "system" Node is set correctly. But what about the other bean's
getter methods that are called by the framework many times !
Senhaji
-----Message d'origine-----
De : Ivelin Ivanov [mailto:ivelin@apache.org]
Envoyé : mercredi 20 novembre 2002 04:43
À : cocoon-users@xml.apache.org
Objet : Re: XMLForm JavaBean getter & setter methods
JXpath gets the collection and directly sets its items.
----- Original Message -----
From: "Senhaji" <os...@wanadoo.fr>
To: "Cocoon-Users" <co...@xml.apache.org>
Sent: Monday, November 18, 2002 5:31 AM
Subject: XMLForm JavaBean getter & setter methods
> Hello,
>
> In the wizard example, I added some log traces in the UserBean's getter
and
> setter methods to see what happen behind the scene. When I push the start
> button, the getAllHobbies is called many times (>20). The same thing
happens
> with the getSystem(). However the setSystem() method is never called. Can
> some one explain this behaviour?
>
> Thanks,
>
> Senhaji
>
>
> ---------------------------------------------------------------------
> 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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: XMLForm JavaBean getter & setter methods
Posted by Ivelin Ivanov <iv...@apache.org>.
JXpath gets the collection and directly sets its items.
----- Original Message -----
From: "Senhaji" <os...@wanadoo.fr>
To: "Cocoon-Users" <co...@xml.apache.org>
Sent: Monday, November 18, 2002 5:31 AM
Subject: XMLForm JavaBean getter & setter methods
> Hello,
>
> In the wizard example, I added some log traces in the UserBean's getter
and
> setter methods to see what happen behind the scene. When I push the start
> button, the getAllHobbies is called many times (>20). The same thing
happens
> with the getSystem(). However the setSystem() method is never called. Can
> some one explain this behaviour?
>
> Thanks,
>
> Senhaji
>
>
> ---------------------------------------------------------------------
> 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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@xml.apache.org>
>
---------------------------------------------------------------------
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>