Re: Access to WOComponents of a page

2019-07-25 Thread Chuck Hill via Webobjects-dev
> On Jul 25, 2019, at 12:21 AM, André Rothe via Webobjects-dev > wrote: > > Hi Chuck, > >> If you are trying to clear it after a failed validation attempt, perhaps >> there is simply a bug >> here: >>

Re: Serialize shopping cart

2019-07-25 Thread Jesse Tayler via Webobjects-dev
I would definitely suggest making the cart entries part of your persistent model and not use session variables for that. > On Jul 25, 2019, at 1:32 PM, Gino Pacitti via Webobjects-dev > wrote: > > Hi all > Anyone had any experience with serialising either a shopping cart or perhaps > a

Serialize shopping cart

2019-07-25 Thread Gino Pacitti via Webobjects-dev
Hi all Anyone had any experience with serialising either a shopping cart or perhaps a session to persist for 24 hrs. I’m trying to create an abandoned cart process that will take someone back to the checkout and continue even if session has expired... Gino Follow:

Re: Modern instructions for setting up an environment?

2019-07-25 Thread Theodore Petrosky via Webobjects-dev
did you try this: https://wiki.wocommunity.org/display/WEB/Project+Wonder+Installation Ted > On Jul 25, 2019, at 10:32 AM, Matt Lee via Webobjects-dev > wrote: > > I'm struggling to find modern instructions on setting

Re: Modern instructions for setting up an environment?

2019-07-25 Thread Jesse Tayler via Webobjects-dev
I install Eclipse and use WOLips I think there’s a script called golipse which installs automatically, and might need updating, but you can at least see the steps Maybe that will help get you on the right track > On Jul 25, 2019, at 10:32 AM, Matt Lee via Webobjects-dev > wrote: > > I'm

Modern instructions for setting up an environment?

2019-07-25 Thread Matt Lee via Webobjects-dev
I'm struggling to find modern instructions on setting up a dev environment. Lots of pages are out of date, broken links, etc. Does anyone have a guide they use that they could point me to? Best, matt ___ Do not post admin requests to the list. They

Re: Access to WOComponents of a page

2019-07-25 Thread Morris, Mark via Webobjects-dev
Of course, this is just an example, replace the class name with your superclass class name. ;-) On Jul 25, 2019, at 8:59 AM, Morris, Mark mailto:mark.mor...@experian.com>> wrote: Hi André, If you still want to go the subclass route, try adding this in your subclass (to get it to use the

Re: Access to WOComponents of a page

2019-07-25 Thread Morris, Mark via Webobjects-dev
Hi André, If you still want to go the subclass route, try adding this in your subclass (to get it to use the superclass’s WO template): @Override public WOElement template() { return ERXComponentUtilities.inheritTemplateFrom(ContractCodeMapping.class.getSimpleName(), session().languages()); }

Re: Problem with a few apps in WOMonitor

2019-07-25 Thread Michael Schmiedgen via Webobjects-dev
Hi Lon, On 24.07.2019 02:11, Lon Varscsak via Webobjects-dev wrote: I added JavaXML framework and it seems fine now...weirdly I removed this A LONG time ago and it only recently has been a problem. 路‍♂️ -Lon same here. I replaced JavaXML with up-to-date libraries long time ago. Everything

Re: Access to WOComponents of a page

2019-07-25 Thread André Rothe via Webobjects-dev
Hi, This way I have tried too, but I did not know, which page name I have to use. I'll try this with the class again. > public WOComponent generateCapcha(){ > { > ERCaptcha captcha = pageWithName(ERCaptcha.class); > captcha. setResponse(""); > return captcha; > } > > But

Re: Access to WOComponents of a page

2019-07-25 Thread André Rothe via Webobjects-dev
Hi Chuck, > If you are trying to clear it after a failed validation attempt, perhaps > there is simply a bug > here:  > https://github.com/molequedeideias/wonder/blob/00e813f91664a1df1a84902e03175e4a34cf7d0f/Frameworks/Misc/ERCaptcha/Sources/er/captcha/ERCaptcha.java#L94 > And after that should