Hi all,

I just ran into a curious problem (WO 5.4.3, Current Wonder)


In a Form, I have a WOTextfield 

aText : WOTextField {
  value = aValue;
  disabled = application.viewOnly;
  WODebug=true;
}


After a request/response cycle (1), there is


Dez 09 19:16:18 HelloText[52423] DEBUG NSLog  - Main ==> aText:WOTextField { 
disabled=application.viewOnly; } value false
Dez 09 19:16:18 HelloText[52423] DEBUG NSLog  - Main <== aText:WOTextField { 
value=aValue; } value "foo"
Dez 09 19:16:18 HelloText[52423] DEBUG NSLog  - Main ==> aText:WOTextField { 
disabled=application.viewOnly; } value true
Dez 09 19:16:18 HelloText[52423] DEBUG NSLog  - Main ==> aText:WOTextField { 
value=aValue; } value "foo"

        application.viewOnly = true 
and 
        aValue = "foo" 
 

Now, application.viewOnly will be set to false (e.g by an other thread) before 
the next request/response cycle.


After the next request/response cycle (2) (caused by a do noting submitAction) 
there is



Dez 09 19:17:49 HelloText[52423] DEBUG NSLog  - Main ==> aText:WOTextField { 
disabled=application.viewOnly; } value false
Dez 09 19:17:49 HelloText[52423] DEBUG NSLog  - Main <== aText:WOTextField { 
value=aValue; } value null
Dez 09 19:17:49 HelloText[52423] DEBUG NSLog  - Main ==> aText:WOTextField { 
disabled=application.viewOnly; } value false
Dez 09 19:17:49 HelloText[52423] DEBUG NSLog  - Main ==> aText:WOTextField { 
value=aValue; } value null

        application.viewOnly = false 
and 
        aValue = null



Has anybody noticed this before?  
Is there workaround?


regards,

René Bock
Software Engineering

--
Salient GmbH  -  the interactive advantage
http://www.salient.de                           http://www.openforms.de

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to