Re: takeValueFromRequest phase

2007-07-31 Thread Chuck Hill
No. :-) Maybe some more detail on what you are doing would help. These are WOComponent subclasses? Stateless? Stateful? What else do they do? Chuck On Jul 30, 2007, at 11:17 PM, Lachlan Deck wrote: Hi again, I've stripped back the components involved and still no

Java.lang.IllegalStateException: _obtainOpenChannel

2007-07-31 Thread Ute Hoffmann
Hallo, has anyone a hint what could trigger this exception? This happens once in a while. No change to the database or the connection dictionary before it happens. Trust that the database is configured correctly and that the connection dictionary is ok as well. TTADMdaten.java:109 =

Re: WODisplayGroup and checkboxes [solved]

2007-07-31 Thread Jacob Mouka
Ok I found a good solution here: http://www.stepwise.com/Articles/Technical/WOF_Checkboxes.html Thanks for the (indirect) help Chuck ;) Jacob _ Reconnect with Familiar Faces with Windows Live Spaces

Setting a parameter in redirect URL

2007-07-31 Thread Jeff Schmitz
Hello, I'm doing a simple redirect to a DirectAction and want to add a couple parameters to the URL. I do this with the following code: public WORedirect login() { NSMutableDictionary dict = new NSMutableDictionary(); dict.takeValueForKey(username, NICK);

Re: Java.lang.IllegalStateException: _obtainOpenChannel

2007-07-31 Thread Chuck Hill
Could it be a temporary network outage? Chuck On Jul 31, 2007, at 7:01 AM, Ute Hoffmann wrote: Hallo, has anyone a hint what could trigger this exception? This happens once in a while. No change to the database or the connection dictionary before it happens. Trust that the database is

Re: WODisplayGroup and checkboxes

2007-07-31 Thread David LeBer
On 31-Jul-07, at 9:35 AM, Jacob Mouka wrote: Has anyone found a simple way of displaying a checkbox with each EO in a displaygroup, so a user can select a subset of displayedObjects? I have this ugly hack with the EO having a 'selected' boolean, but ... talk about breaking MVC. Like

Re: Setting a parameter in redirect URL

2007-07-31 Thread Zak Burke
Jeff Schmitz wrote on 7/31/07 11:28 AM: However, when I pick up the parameters on the other side, there is a stray amp; being added before the NICK parameter. [...] When I print the dictionary out it shows: login Hyperlink values: {amp;NICK = (FireBreathers); USER = (1004); amp;wosid =

Re: WODisplayGroup and checkboxes

2007-07-31 Thread Chuck Hill
Perhaps you mean AjaxGrid in Wonder's Ajax framework? It is backed with a WODisplayGroup and has multi-line select over multiple pages, auto sort, drag and drop column ordering. Probably other things I have forgotten too. Chuck On Jul 31, 2007, at 8:52 AM, James Cicenia wrote:

Re: Multiple submit button form

2007-07-31 Thread Pierre Bernard
Hi! I have spent the 2 days battling with JavaScript libraries: Prototype, Behaviour, jQuery, modalbox, ... Some do marvelous things. Unfortunately there are also horrible incompatibilities, silent failures, cryptic error messages ... Add to that that I don't understand much of JavaScript

Re: Setting a COOKIE in redirect object

2007-07-31 Thread Jeff Schmitz
Thanks! that worked. Nasty bug in WO. Now, I have a cookie question that seems to cause weird behavior too. I'm setting a cookie with the following code: WOCookie atpCookie = new WOCookie(ATP_PID_1004, encryptedValue); redirect.setUrl(url);

Re: Setting a COOKIE in redirect object

2007-07-31 Thread Jeff Schmitz
Actually, the cookie isn't getting seen at all on the receiving end. That was an old cookie I was seeing. Jeff On Jul 31, 2007, at 11:43 AM, Jeff Schmitz wrote: Thanks! that worked. Nasty bug in WO. Now, I have a cookie question that seems to cause weird behavior too. I'm setting a

Re: WODisplayGroup and checkboxes

2007-07-31 Thread James Cicenia
Great! I will look into it.. It is time to refactor my lists into Web 2.0. On Jul 31, 2007, at 11:02 AM, Chuck Hill wrote: Perhaps you mean AjaxGrid in Wonder's Ajax framework? It is backed with a WODisplayGroup and has multi-line select over multiple pages, auto sort, drag and drop

Re: WODisplayGroup and checkboxes

2007-07-31 Thread James Cicenia
oh ok... Well I will wait.. my app is working great... just getting marketing demands for Web2.0. James On Jul 31, 2007, at 11:00 AM, Mike Schrag wrote: There is not one in Ajax framework, but we have one ... It's just not moved into the core yet. ms On Jul 31, 2007, at 11:52 AM,

Refactoring EOModels

2007-07-31 Thread Pascal Robert
We have some projects who are still using the default package and we want to refactor those projects. Eclipse/WOLips refactoring stuff works great for Java classes, but what's the best way to modify the className attribute in the models ? I guess doing a find replace with a text editor

Re: Refactoring EOModels

2007-07-31 Thread Mike Schrag
Unfortunately refactor doesn't ripple into eomodels because it's really expensive to load models ... It should be actually really simple to do a regex search/replace for the key name though. ms On Jul 31, 2007, at 4:10 PM, Pascal Robert wrote: We have some projects who are still using the

Re: Refactoring EOModels

2007-07-31 Thread Chuck Hill
What if we approached refactoring from the other direction: changing the Entity name in the model does a renaming of the associated Java classes? Chuck On Jul 31, 2007, at 1:12 PM, Mike Schrag wrote: Unfortunately refactor doesn't ripple into eomodels because it's really expensive to

[Reminder] The surveys

2007-07-31 Thread Pascal Robert
I will close the general survey this Friday, so if you didn't answer it, it's now or never : http://www.surveymonkey.com/s.aspx?sm=Rd8PBbh0xxJh3eyuPPvdIg_3d_3d The WOLips survey is a failure, so I will close it tonight. For people who use JavaClient for building their apps, don't

Concurrency question

2007-07-31 Thread Miguel Arroz
Hi! I'm trying to understand what's the best way to do something here. Imagine that I need to get a object from the database, modify some attribute based on itself and save it again. So, we have the method: public void incrementIt() { if( aIsEven() ) { // 1

Re: takeValueFromRequest phase

2007-07-31 Thread Lachlan Deck
Hi again, On 31/07/2007, at 4:20 PM, Chuck Hill wrote: No. :-) Believe me - it irked me doing it, but time for playing is not on my side at the moment... and the problem seems limited to that particular page (which is a relief) so later I'll be able to figure out what's

Re: Concurrency question

2007-07-31 Thread Ken Anderson
Miguel, Is your editing context locked before calling incrementIt() ? I would think that would solve your concurrency issue here. If not, just synchronizing the method should solve the problem. It may seem inelegant, but you really ARE solving 2 different problems... Ken On Jul 31,

takeValuesFromForm Validation

2007-07-31 Thread Owen McKerrow
Hi All, I have an attribute in an entity that has a width of 1500 char. I have over ridden the validate method for it inside the entities java class. public String validateRqfJustification(String newState) throws NSValidation.ValidationException { if ( newState

Re: takeValuesFromForm Validation

2007-07-31 Thread Lachlan Deck
Hi Owen, On 01/08/2007, at 12:18 PM, Owen McKerrow wrote: I have an attribute in an entity that has a width of 1500 char. I have over ridden the validate method for it inside the entities java class. public String validateRqfJustification(String newState) throws