cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "JD Daniels" ...@datatrio.com>
Subject Re: XMLForm Question
Date Sat, 12 Apr 2003 17:38:44 GMT
Thanks for the answer Sylvain....

That was what I had thought... after I restarted my machine, it all started
working.

Is there way to find what and where this stuff is cached? I am pretty much a
java newbie, but I don't think I need to reboot my machine whenever I make
change to a cocoon class do I?

using cocoon-2.1-dev
tomcat 4.1.24
Red hat 7.3

JD


----- Original Message -----
From: <Sylvain.Thevoz@swisscom.com>
To: <cocoon-users@xml.apache.org>
Sent: Saturday, April 12, 2003 3:10 AM
Subject: RE: XMLForm Question


> Hi,
>
> /username is used to get/set your "username" Bean attribute username.
>
> If you write /username, your Bean need to have an attribute "username"
with getter and setter methods. And it's case sensitive.
>
> Hope this help
> Sylvain (T)
>
>
> -----Message d'origine-----
> De: JD Daniels [mailto:jd@datatrio.com]
> Date: samedi, 12. avril 2003 03:10
> À: cocoon-users@xml.apache.org
> Objet: XMLForm Question
>
>
> I am just getting xmlform to go.. I copied one of the many examples, but
> here is something odd:
>
> In my xml files for each stage, i will have say:
>
>     <xf:textbox ref="/username">
>         <xf:caption>Username</xf:caption>
>         <xf:violations class="error"/>
>     </xf:textbox>
>
> now every mention of username in both my action.java and bean.java
reference
> username even my set and get methods.
>
> Now when  compile and try it , when i get to this step i get:
>
> org.apache.cocoon.ProcessingException: Failed to execute pipeline.:
> org.apache.commons.jxpath.JXPathException: No value for xpath: /username
>
>
>
> But when i change it to:
>
>     <xf:textbox ref="/userName">
>         <xf:caption>Username</xf:caption>
>         <xf:violations class="error"/>
>     </xf:textbox>
>
> It works. Ok.. so i continued on , but now i am at the next step, and
> changing the case of any letter does not work. Where the heck are fields
> getting the case/name changed????
>
>
>
> JD
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
>
>


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


Mime
View raw message