cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "leo leonid" <...@leonid.de>
Subject Re: fixing/completing petstore sample for 2.1.1
Date Fri, 05 Sep 2003 01:35:38 GMT

Christopher Oliver writes:

> Hi Leo,
> 
> Please do.
> 
> Thanks,
> 
> Chris
> 

Hi Chris,

I successfully added such functionality to an application that derived from
the petstore. But I had problems to do it the same way with the original
sample.

The problem with my (maybe completely wrong) approach is, that once you
successfully edited your account information, you can never sign on again
:-/ , even if you didn't change anything.
Anyway, I attached the files I changed or created. It's a bit late now to
get this solved before the release ... hm

/leo


> -----Original Message-----
> From: leo leonid [mailto:tek@leonid.de] 
> Sent: Wednesday, September 03, 2003 7:57 AM
> To: dev@cocoon.apache.org
> Subject: fixing/completing petstore sample for 2.1.1
> 
> hi,
> 
> in the current version of the petstore sample the jxform part does not 
> work.
> If you signed in ad want to change your account informations get errors.
> 
> This can easily be fixed by removing action="petstore" attribute from 
> <xf:form> in the following files:
> petstore/view/jxforms/EditUserInformation.xml
> petstore/view/jxforms/EditAccountInformation.xml
> petstore/view/jxforms/EditProfileInformation.xml
> 
> Further the form can't acces the address fields. To fix this you have 
> to rename address1 and address2 to addr1 and addr2 in the following 
> files
> petstore/view/jxforms/EditAccountInformation.xml
> petstore/flow/PetStoreImpl.js
> 
> Other parts of the application are still pending, like the registration 
> of new users. If there is an interest I can try to implement this.
> 
> /leo
> 




Mime
View raw message