Re: More Embedded D2W Questions...

2013-03-11 Thread Johnny Miller
Well, I don't think I did anything particularly clever but I got what I wanted. I just created a rule that said if pageConfiguration like "EditToMany*" the task is edit. Another rule that says the subtask is pick. Then I created rule that said if task = 'edit' and subtask = 'pick' the repetiti

Re: Pass parameters from One HTML to another HTML

2013-03-11 Thread miriyala srinivas
Thanks to all for valuable suggestions and I looked around and I modified the html code and then it worked fine. Modified code Details.html Details.wod test : WOString { value = username; } On Mon, Mar 11, 2013 at 4:17 PM, Jean Pierre Malrieu wrote: > Your code seems correct to me. > Did you in

Re: More Embedded D2W Questions...

2013-03-11 Thread Johnny Miller
Hello everyone, I'm trying to get my head around the ERXD2WPick. I'm assuming this is the component for displaying a list of objects that will be assigned to a to-many relationship. Is there a good example of displaying the list of potential candidates with a checkbox? I want the ability to

Reminder: WOCommunity Surveys

2013-03-11 Thread Pascal Robert
Hi, If you didn't answer the 2013 surveys, you have until next Sunday to do so. Individual survey: https://www.survs.com/survey/FNKGDKF361 Organization survey: https://www.survs.com/survey/8ZOU47TJC4 Thanks. ___ Do not post admin requests to the list

Re: Lauching WOunit tests with project dependencies

2013-03-11 Thread Alexis Tual
Hi Chuck, thanks for you answer, I've tried it with no success (also I think WOUnit sets it to true). However back home, I've just noticed this specific project has no dependency on ERFoundation, so I've added it and it *seems* to work. I'll try tomorrow at work to declare official success :) Ale

Re: Lauching WOunit tests with project dependencies

2013-03-11 Thread Chuck Hill
Hi Alexis, Are you launching the tests with NSProjectBundleEnabled=true? If not, try that. Chuck On 2013-03-11, at 10:20 AM, Alexis Tual wrote: > Hi all (and Henrique !) > > I have a project A depending on project B which is opened in WOLips. My > workspace has Generates bundles = true > A

Lauching WOunit tests with project dependencies

2013-03-11 Thread Alexis Tual
Hi all (and Henrique !) I have a project A depending on project B which is opened in WOLips. My workspace has Generates bundles = true A has an eomodeld depending on another one in project B. My WOUnit test in project A loads successfully the eomodel but can't resolve a relationship to a project B

Re: Pass parameters from One HTML to another HTML

2013-03-11 Thread Hugi Thordarson
I didn't really answer your question though, did I :-). If printing the username in helloAction and setUser (like Jean Pierre suggested) yields no suspicious results, you might want to check if the Details.wo/Details.html is correctly located in your Components folder. Try adding some content d

Re: Pass parameters from One HTML to another HTML

2013-03-11 Thread Hugi Thordarson
Hi Miryala. Your code looks fine, assuming the rest of it is correct. It's a little old style though, see example below for a nicer, type safe version. This assumes you're using Wonder, which you probably are judging from the syntax in your template. If you're not—well, there's your problem. An

Re: Pass parameters from One HTML to another HTML

2013-03-11 Thread Jean Pierre Malrieu
Your code seems correct to me. Did you inspect (in debugging mode) the value of the username variable in helloAction() and make sure this value is correctly set before handing it the nextPage? It is quite easy to make a typo when retrieving values from a direct action parameters. What happens if

Pass parameters from One HTML to another HTML

2013-03-11 Thread miriyala srinivas
Hi All, I am completely new to WO.Here I am trying to pass user entered values from one html page to another html.I have retrieved user entered values in DirectAction class and I am setting retrieved values to another page using takeValueForKey() method and i am returning the page,but values are

Re: Problems displaying Chinese in WO application

2013-03-11 Thread Þór Sigurðsson
And the price goes to Hugi Thordarson and Bogdan Zlatanov :) Thanks both of you - very much a "Nail, meet Hammer. Hammer, Nail!" moment :) Takk kærlega fyrir! Tack så mycket! Thank you very much! 谢谢您!! ありがとうございます :) Regards, Þór On 11.3.2013, at 09:01, Hugi Thordarson wrote: > Hi Þór!

Re: Problems displaying Chinese in WO application

2013-03-11 Thread Bogdan Zlatanov
Hi, You probably have already tried this, but take a look here: http://en.wikibooks.org/wiki/WebObjects/Web_Applications/Development/Localization_and_Internationalization Cheers On 11 Mar 2013, at 09:50, Þór Sigurðsson wrote: > > Hello Xavier, > > Thank you for your input. > > My browser is

Re: Problems displaying Chinese in WO application

2013-03-11 Thread Hugi Thordarson
Hi Þór! You can either stick this in your Application's Properties file: er.extensions.ERXApplication.DefaultEncoding=utf-8 …or this in your application's constructor: setDefaultEncoding( "UTF-8" ); Cheers, - hugi // Hugi Thordarson // http://www.godurkodi.is/ On 11.3.2013, at 08:50, Þór Sig

Re: Problems displaying Chinese in WO application

2013-03-11 Thread Þór Sigurðsson
Hello Xavier, Thank you for your input. My browser is set to auto-detection (Normally I use Chrome, but once in a while I fire up other browsers for compatibility tests) - and even if I fix it to UTF-8, it makes no change. Looking at the source, I see that WebObjects itself replaced the chine

Re: Problems displaying Chinese in WO application

2013-03-11 Thread Dev WO
Hi, The first thing you could check, is forcing the page to display as UTF-8 in your browser (usually through the View>Text Encoding menu). If it displays the Chinese text correctly, it means you are missing a configuration somewhere: -do you have something like in your page HTML head section?