Re: New AjaxFramework and AjaxSortableList bug

2012-02-17 Thread Johann Werner
Hi James,

with "new Ajax" you mean the new framework MooTools?


Am 18.02.2012 um 03:47 schrieb James Cicenia:

> Ok -
> I tried out the new Ajax on the sortable list and it seems wrong.
> It is setting an "absolute" position after drop instead of "relative"
> position.
> 
> This makes all the dragged items appear at the top.
> 
> It is not in the Java code but can't seem to find it in the js code either.
> 
> James

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: My model is whacked?

2012-02-17 Thread George Domurot
Open your model, then click on the TOSUser.userName attribute.  What are all 
the Properties set to?

-G


On Feb 17, 2012, at 4:44 PM, James Cicenia wrote:

> Unable to convert value of class java.lang.String for attribute 'userName' in 
> entity 'TOSUser' to adaptor type EOAttribute.AdaptorBytesType.  Check the 
> signature of the conversion method null.NotFound().
> 
> 
> This now just starting appearing out of the blue?
> Why is my model to database adaptor fubar'd? I checked
> my model and all was good and nothing changed?
> 
> Thanks
> James
> 
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/george%40boxofficetickets.com
> 
> This email sent to geo...@boxofficetickets.com

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


New AjaxFramework and AjaxSortableList bug

2012-02-17 Thread James Cicenia
Ok -
I tried out the new Ajax on the sortable list and it seems wrong.
It is setting an "absolute" position after drop instead of "relative"
position.

This makes all the dragged items appear at the top.

It is not in the Java code but can't seem to find it in the js code either.

James




smime.p7s
Description: S/MIME cryptographic signature
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


My model is whacked?

2012-02-17 Thread James Cicenia
Unable to convert value of class java.lang.String for attribute 'userName' in 
entity 'TOSUser' to adaptor type EOAttribute.AdaptorBytesType.  Check the 
signature of the conversion method null.NotFound().


This now just starting appearing out of the blue?
Why is my model to database adaptor fubar'd? I checked
my model and all was good and nothing changed?

Thanks
James




smime.p7s
Description: S/MIME cryptographic signature
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: Wrong Session class

2012-02-17 Thread John Huss
I think you should spend a few more weeks on this.  That's the responsible
thing to do.

On Fri, Feb 17, 2012 at 2:06 PM, Ted Archibald wrote:

> Feels like I'm beating a dead horse:
>
> After trying many combinations of changes I finally found one change that
> helps.  If I have wolips generate bundles, everything works perfectly.  But
> I wonder how I can get bundleless builds to work again.
>
> If I have wolips generate bundles, clean the project then run, everything
> is back to normal.  But if I go back to bundleless builds, then the issues
> come back.
>
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Relationship with EO_PK_TABLE

2012-02-17 Thread Xavi Garcia

Hi all,

I have some entity tables without relationship with eo_pk_table and
I need it to autoincrement the primary key id. Somebody knows how to set the 
relationship?

Thanks!
Xavi

Enviat des del meu iPhone
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: WOSessionTimeOut ?

2012-02-17 Thread Ramsey Gurley
On Feb 17, 2012, at 2:21 PM, Theodore Petrosky wrote:

> I see there is a property WOSessionTimeOut. Is this in seconds? Is putting 
> this in a property the 'correctest' place to set the session time out?
> 
> Ted

Hi Ted,

#The number of seconds for which a session may be idle before it times out.
#The default is 3600 seconds (one hour). A value of 0 means sessions never
#time out.
#WOSessionTimeOut=0

A property should work fine

Ramsey

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: ERCaptcha

2012-02-17 Thread Matthew Ness
> Yes it was... but I solved this...
> It does not seem to work if the form was bound to a Direct Action and
> the submit button was static HTML input element.
>

Yes, my apologies. I received your second post (solved) two hours after I
posted my question.

> Once I used a component action it then worked fine...
>
> Don't much like the Gotcha image though HAHA

I changed the height and width of the image to fit with the style of my
app which increased its appeal.


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


WOSessionTimeOut ?

2012-02-17 Thread Theodore Petrosky
I see there is a property WOSessionTimeOut. Is this in seconds? Is putting this 
in a property the 'correctest' place to set the session time out?

Ted
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: ERD2WCustomQueryBoolean uiStyle

2012-02-17 Thread Theodore Petrosky
Oh now the error message makes sense. you use 'true' for true. I am using 1 and 
0 (int booleans). I will have to adjust this.

Ted

> >> 
> >> Message: 7
> >> Date: Sun, 12 Feb 2012 08:09:00 -0600
> >> From: James Cicenia 
> >> To: WebObjects-Dev Mailing List List 
> >> Subject: Re: ERD2WCustomQueryBoolean uiStyle
> >> Message-ID: <4f7a5f8d-c114-4b21-8301-3ae0af177...@jimijon.com>
> >> Content-Type: text/plain; charset="utf-8"
> >> 
> >> Good question. A long time ago I couldn't find one,
> so I
> >> created my own and never looked again.
> >> 
> >> HTH 
> >> James
> >> 
> >> 
> >> binding:
> >> 
> >> PopUpBoolean: WOPopUpButton {
> >>     list = list;
> >>     selection = value;
> >>     noSelectionString = "--
> Select --";
> >>     item = item;
> >> }
> >> 
> >> 
> >> code:
> >> 
> >> 
> >> 
> >> public class TOSD2WQueryBooleanComponent extends
> >> ERDCustomQueryComponent
> >> {
> >> 
> >>     public
> TOSD2WQueryBooleanComponent(WOContext
> >> context)
> >>     {
> >>     
>    super(context);
> >>     }
> >> 
> >>     public NSArray list()
> >>     {
> >>         return list;
> >>     }
> >> 
> >>     public Object value()
> >>     {
> >>     
>    if(displayGroup != null
> >> && displayGroup.queryMatch() != null)
> >>         
>    return
> >>
> displayGroup.queryMatch().objectForKey(propertyKey);
> >>         else
> >>         
>    return null;
> >>     }
> >> 
> >>     public void setValue(String
> newValue)
> >>         throws
> Exception
> >>     {
> >>         if(newValue
> == "don't care")
> >>         {
> >>            
> >> displayGroup.queryMatch().takeValueForKey(null,
> >> propertyKey);
> >>            
> >> displayGroup.queryOperator().takeValueForKey(null,
> >> propertyKey);
> >>         } else
> >>         {
> >>            
> >>
> displayGroup.queryMatch().takeValueForKey(newValue,
> >> propertyKey);
> >>            
> >> displayGroup.queryOperator().takeValueForKey("=",
> >> propertyKey);
> >>         }
> >>     }
> >> 
> >>     public EOEnterpriseObject
> object;
> >>     public String propertyKey;
> >>     public Object item;
> >>     public WODisplayGroup
> displayGroup;
> >>     private static NSArray list
> = new NSArray(new
> >> String[] {
> >>         "true",
> "false"
> >>     });
> >> 
> >> }
> >> 
> >> 
> >> On Feb 11, 2012, at 11:40 PM, Theodore Petrosky
> wrote:
> >> 
> >>> Finally I got the query page rules working. It
> seems
> >> that I misspelled a propertyKey name.
> >>> So, I can not figure out how to control the UI
> style
> >> of:
> >>> ERD2WCustomQueryBoolean
> >>> 
> >>> The default is radio buttons but I would love
> to see a
> >> popup.
> >>> 
> >>> Ted
> >>>
> ___


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Wrong Session class

2012-02-17 Thread Ted Archibald
Feels like I'm beating a dead horse:

After trying many combinations of changes I finally found one change that
helps.  If I have wolips generate bundles, everything works perfectly.  But
I wonder how I can get bundleless builds to work again.

If I have wolips generate bundles, clean the project then run, everything
is back to normal.  But if I go back to bundleless builds, then the issues
come back.

On Fri, Feb 17, 2012 at 5:02 AM, Ted Archibald wrote:

> Now when I call a direct action I keep getting a no such method
> exceptions.  It appears that my DirectAction class is not being used
> instead of the default WODirectionAction.
>
> For instance, if I go to App.woa/wa/test I'll get:
>  java.lang.NoSuchMethodException:
> com.webobjects.appserver.WODirectAction.testAction()
>
> even if I have in my DirectAction class:
> public WOActionResults testAction(){ return null; }
>
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: Webobjects-dev Digest, Vol 9, Issue 120

2012-02-17 Thread James Cicenia
Use this code.. this is more wonder compliant:

package com.tos.widgets;

import com.webobjects.appserver.WOContext;
import com.webobjects.appserver.WODisplayGroup;
import com.webobjects.eocontrol.EOEnterpriseObject;
import com.webobjects.foundation.NSArray;
import com.webobjects.foundation.NSMutableDictionary;
import er.directtoweb.components.ERDCustomQueryComponent;

public class TOSD2WQueryBooleanComponent extends ERDCustomQueryComponent
{

public TOSD2WQueryBooleanComponent(WOContext context)
{
super(context);
}

public NSArray list()
{
return list;
}

public Object value()
{
propertyKey =(String) valueForBinding("propertyKey");
displayGroup = (WODisplayGroup)valueForBinding("displayGroup"); 

if(displayGroup != null && displayGroup.queryMatch() != null)
return displayGroup.queryMatch().objectForKey(propertyKey);
else
return null;
}

public void setValue(String newValue)
throws Exception
{
propertyKey =(String) valueForBinding("propertyKey");   
displayGroup = (WODisplayGroup)valueForBinding("displayGroup");

if(newValue == "don't care")
{
displayGroup.queryMatch().takeValueForKey(null, propertyKey);
displayGroup.queryOperator().takeValueForKey(null, propertyKey);
} else
{
displayGroup.queryMatch().takeValueForKey(newValue, propertyKey);
displayGroup.queryOperator().takeValueForKey("=", propertyKey);
}
}

public EOEnterpriseObject object;
public String propertyKey;
public Object item;
public WODisplayGroup displayGroup;
private static NSArray list = new NSArray(new String[] {
"true", "false"
});

}




On Feb 17, 2012, at 10:02 AM, Theodore Petrosky wrote:

> James,
> 
> I tried to implement this, so I created my own framework, created the 
> component and added it to my project.
> 
> I used the new component in my rules and it shows the popup on the query 
> page. However, if I select 'true' from the popup I get a 
> NullPointerException. 
> 
> Is there something more that I need to bind in? I named my component 
> "TPSD2WQueryBooleanComponent" and I have only one rule:
> 
>100 : (pageConfiguration = 'QueryAdRelease' and propertyKey = 'isClosed') 
> => componentName = TPSD2WQueryBooleanComponent 
> [com.webobjects.directtoweb.Assignment],
> 
> What else do I need?
> 
> Ted
> --
>> 
>> Message: 7
>> Date: Sun, 12 Feb 2012 08:09:00 -0600
>> From: James Cicenia 
>> To: WebObjects-Dev Mailing List List 
>> Subject: Re: ERD2WCustomQueryBoolean uiStyle
>> Message-ID: <4f7a5f8d-c114-4b21-8301-3ae0af177...@jimijon.com>
>> Content-Type: text/plain; charset="utf-8"
>> 
>> Good question. A long time ago I couldn't find one, so I
>> created my own and never looked again.
>> 
>> HTH 
>> James
>> 
>> 
>> binding:
>> 
>> PopUpBoolean: WOPopUpButton {
>> list = list;
>> selection = value;
>> noSelectionString = "-- Select --";
>> item = item;
>> }
>> 
>> 
>> code:
>> 
>> 
>> 
>> public class TOSD2WQueryBooleanComponent extends
>> ERDCustomQueryComponent
>> {
>> 
>> public TOSD2WQueryBooleanComponent(WOContext
>> context)
>> {
>> super(context);
>> }
>> 
>> public NSArray list()
>> {
>> return list;
>> }
>> 
>> public Object value()
>> {
>> if(displayGroup != null
>> && displayGroup.queryMatch() != null)
>> return
>> displayGroup.queryMatch().objectForKey(propertyKey);
>> else
>> return null;
>> }
>> 
>> public void setValue(String newValue)
>> throws Exception
>> {
>> if(newValue == "don't care")
>> {
>>
>> displayGroup.queryMatch().takeValueForKey(null,
>> propertyKey);
>>
>> displayGroup.queryOperator().takeValueForKey(null,
>> propertyKey);
>> } else
>> {
>>
>> displayGroup.queryMatch().takeValueForKey(newValue,
>> propertyKey);
>>
>> displayGroup.queryOperator().takeValueForKey("=",
>> propertyKey);
>> }
>> }
>> 
>> public EOEnterpriseObject object;
>> public String propertyKey;
>> public Object item;
>> public WODisplayGroup displayGroup;
>> private static NSArray list = new NSArray(new
>> String[] {
>> "true", "false"
>> });
>> 
>> }
>> 
>> 
>> On Feb 11, 2012, at 11:40 PM, Theodore Petrosky wrote:
>> 
>>> Finally I got the query page rules working. It seems
>> that I misspelled a propertyKey name.
>>> So, I can not figure out how to control the UI style
>> of:
>>> ERD2WCustomQueryBoolean
>>> 
>>> The default is radio buttons but I would love to see a
>> popup.
>>> 
>>> Ted
>>> ___
>>> Do not post admin requests to the list. They will be
>> ignored.
>>> Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)

Re: ERSolr - under development?

2012-02-17 Thread Travis Britt
Hi, yes, it is alive. Lots of updates I should push. James I'll ping you about 
integrating your stuff.

tb

On Feb 17, 2012, at 1:46 AM, "Brook, James"  wrote:

> Thanks Pascal. That's the version I have been working with. There hasn't been 
> a commit for some months.
> 
> Sent from my iPhone
> 
> On 17 Feb 2012, at 04:02, "Pascal Robert"  wrote:
> 
>> https://github.com/tbritt/wonder/tree/master/Frameworks/EOAdaptors/JavaSolrAdaptor
>> 
>> https://github.com/tbritt/wonder/tree/master/Examples/Misc/ERSolrExample
>> 
>> Maybe Travis will commit it to the main wonder fork repository some day :-)
>> 
>>> Is ERSolr under active development? I started working on it but I wonder 
>>> whether it's worth doing if someone else is already doing the same thing.
>>> 
>>> There are quite a few obvious TODOs in the source, including the ability to 
>>> index and delete documents via the adaptor. If people use ERSolr for 
>>> keeping a relational database and Solr server in sync then it might also be 
>>> interesting to look at code for reindexing all of the data using a document 
>>> collections and bulk commits.
>>> 
>>> --
>>> James
>>> ___
>>> 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:
>>> https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
>>> 
>>> This email sent to prob...@macti.ca
>> 
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/tbritt%40phigment.org
> 
> This email sent to tbr...@phigment.org


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: Webobjects-dev Digest, Vol 9, Issue 120

2012-02-17 Thread Theodore Petrosky
James,

I tried to implement this, so I created my own framework, created the component 
and added it to my project.

I used the new component in my rules and it shows the popup on the query page. 
However, if I select 'true' from the popup I get a NullPointerException. 

Is there something more that I need to bind in? I named my component 
"TPSD2WQueryBooleanComponent" and I have only one rule:

100 : (pageConfiguration = 'QueryAdRelease' and propertyKey = 'isClosed') 
=> componentName = TPSD2WQueryBooleanComponent 
[com.webobjects.directtoweb.Assignment],

What else do I need?

Ted
--
> 
> Message: 7
> Date: Sun, 12 Feb 2012 08:09:00 -0600
> From: James Cicenia 
> To: WebObjects-Dev Mailing List List 
> Subject: Re: ERD2WCustomQueryBoolean uiStyle
> Message-ID: <4f7a5f8d-c114-4b21-8301-3ae0af177...@jimijon.com>
> Content-Type: text/plain; charset="utf-8"
> 
> Good question. A long time ago I couldn't find one, so I
> created my own and never looked again.
> 
> HTH 
> James
> 
> 
> binding:
> 
> PopUpBoolean: WOPopUpButton {
>     list = list;
>     selection = value;
>     noSelectionString = "-- Select --";
>     item = item;
> }
> 
> 
> code:
> 
> 
> 
> public class TOSD2WQueryBooleanComponent extends
> ERDCustomQueryComponent
> {
> 
>     public TOSD2WQueryBooleanComponent(WOContext
> context)
>     {
>         super(context);
>     }
> 
>     public NSArray list()
>     {
>         return list;
>     }
> 
>     public Object value()
>     {
>         if(displayGroup != null
> && displayGroup.queryMatch() != null)
>             return
> displayGroup.queryMatch().objectForKey(propertyKey);
>         else
>             return null;
>     }
> 
>     public void setValue(String newValue)
>         throws Exception
>     {
>         if(newValue == "don't care")
>         {
>            
> displayGroup.queryMatch().takeValueForKey(null,
> propertyKey);
>            
> displayGroup.queryOperator().takeValueForKey(null,
> propertyKey);
>         } else
>         {
>            
> displayGroup.queryMatch().takeValueForKey(newValue,
> propertyKey);
>            
> displayGroup.queryOperator().takeValueForKey("=",
> propertyKey);
>         }
>     }
> 
>     public EOEnterpriseObject object;
>     public String propertyKey;
>     public Object item;
>     public WODisplayGroup displayGroup;
>     private static NSArray list = new NSArray(new
> String[] {
>         "true", "false"
>     });
> 
> }
> 
> 
> On Feb 11, 2012, at 11:40 PM, Theodore Petrosky wrote:
> 
> > Finally I got the query page rules working. It seems
> that I misspelled a propertyKey name.
> > So, I can not figure out how to control the UI style
> of:
> > ERD2WCustomQueryBoolean
> > 
> > The default is radio buttons but I would love to see a
> popup.
> > 
> > Ted
> > ___
> > 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:
> > https://lists.apple.com/mailman/options/webobjects-dev/james%40jimijon.com
> > 


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Entirely independent EOF on Quartz Threads - How to do?

2012-02-17 Thread Paul Dunkler
Hi Philippe,

> I can give you a complete framework I presented at the last WOWODC that 
> allows Quartz integration in a Wonder app.
> Every class is documented, there is a package-info, … and it allows of course 
> the execution of jobs in // There is also a UI (simple) to see the jobs 
> running and the scheduled jobs.

just sent you an email. I will test that!

> I have to put on Github, I know and Pascal is ready to help me so it will 
> come…
> It's based on Quartz 2.0. I have to adapt it to Quartz 2.1 (there are some 
> nice enhancements like stop a running job).

Maybe i can help with that work.

> 
> So let me know. If you are interested to get the source code, send me an 
> email directly at sophiacom.fr (same user)
> 
> Philippe
> @prabier
> 

--
Mit freundlichen Grüßen / Kind regards

Paul Dunkler ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: WebObjects + WOnder on Windows

2012-02-17 Thread Ron X
http://www.global-village.net/chill/ms_sql_server_eof_plugin

Eclipse said that this project already exists in workspace.
But i could not find it!
Ctrl+Shift+T - do not find ERXMicrosoftPlugIn class.

2012/2/17 Pascal Robert 

>
> Le 2012-02-17 à 05:45, Henrique Prange a écrit :
>
> > Hi Kevin,
> >
> > Last time I've developed on Windows I had to avoid white spaces in the
> path of the application (for development and deployment).
>
> And no dashes in the project name too (but that's also a problem on OS X).
>
> > Sent from my iPhone
> >
> > On 16/02/2012, at 21:45, Kevin Hinkson  wrote:
> >
> >> Hi,
> >> I have a new client who's internal software stack is all windows based.
> I have not previously run WebObjects in any kind of Windows environment and
> I get the impression that most of the community is moving away from doing
> so. Can anyone let me know if they currently run WebObjects on a Windows
> stack? I'd be (if there are no issues) running on Windows Small Business
> Server 2008 and interacting with SQL Server 2005. Also are there any
> nuances I should be aware of?
> >>
> >> Any comments would be appreciated. Thanks in advance.
> >>
> >> — K.R.H.
> >>
> >> ___
> >> 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:
> >>
> https://lists.apple.com/mailman/options/webobjects-dev/hprange%40gmail.com
> >>
> >> This email sent to hpra...@gmail.com
> > ___
> > 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:
> >
> https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
> >
> > This email sent to prob...@macti.ca
>
>
>  ___
> 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:
>
> https://lists.apple.com/mailman/options/webobjects-dev/ron.x.by.su%40gmail.com
>
> This email sent to ron.x.by...@gmail.com
>
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


WOHyperlink

2012-02-17 Thread Ron X
Hi everyone.

I have small trouble with WOHyperlink component: it sorts all parameters in
url-string. (in both variants - when i pass tthrough ? in .wod and
through NSDictionary)
This situation makes mash from Google Analytics :-)

How can i solve it?
Thank you.
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: D2W inspect page with custom embedded list

2012-02-17 Thread Philippe Rabier
Hi David, 

I think I have a hack for you. The context is almost the same:
I need to write a QueryDataSourceDelegate which filters EOs when a user click 
on the search button of an ERMODEditRelationshipPage page. The filter is based 
on the parent object who is unknown at this stage (or I didn't find it). 

So when you get the parent object, you get then entity.

In the delegate, I get the sender that is a ERD2WQueryPage object then I use 
the following code (client is an ivar of my delegate):

if (client == null)
{
boolean flag = true;
WOComponent comp = sender.parent();
/* We loop until we find the right component who knows the NOClient 
object.
 * The first one is an instance of ERMODEditRelationshipPage.
 */
do 
{
if (comp == null || comp instanceof ERMODEditRelationshipPage)
flag = false;
else
comp = comp.parent();
} while (flag);
if (comp != null)
client = (NOClient) 
((ERMODEditRelationshipPage)comp).masterObject();
}
if (client != null)
{
NSArray logins = (NSArray) 
client.contractors().valueForKey(NOUser.Keys.LOGIN);
EOQualifier qualClient = NOUser.Keys.CLIENT_KEY.isNot(client);
qual = new EOAndQualifier(new NSArray(new EOQualifier[] {qual, 
NOUser.Keys.LOGIN_KEY.notIn(logins), qualClient}));
}
return qual;

And as you write your own custom component, you should be able to include some 
piece of code like this one.

Philippe - @prabier

On 16 févr. 2012, at 18:59, David Holt wrote:

> Hi all,
> 
> Can I reference the entity in an inspect page (the parent page configuration) 
> from a list embedded in the same page?
> 
> I need to manipulate an array of to-many objects in the inspect page (group 
> them) in code before returning the list. I need to access the 
> parentEntity.toManyRelationship, but I'm not seeing how that might be done.
> 
> I am using a custom component for my embedded list that displays a table per 
> group.
> 
> Thanks,
> David
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/prabier%40me.com
> 
> This email sent to prab...@me.com

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: Entirely independent EOF on Quartz Threads - How to do?

2012-02-17 Thread Philippe Rabier
Hi Paul, 

I can give you a complete framework I presented at the last WOWODC that allows 
Quartz integration in a Wonder app.
Every class is documented, there is a package-info, … and it allows of course 
the execution of jobs in // There is also a UI (simple) to see the jobs running 
and the scheduled jobs.

I have to put on Github, I know and Pascal is ready to help me so it will come…
It's based on Quartz 2.0. I have to adapt it to Quartz 2.1 (there are some nice 
enhancements like stop a running job).

So let me know. If you are interested to get the source code, send me an email 
directly at sophiacom.fr (same user)

Philippe
@prabier

On 16 févr. 2012, at 23:20, Paul Dunkler wrote:

>> And Wonder have ERCayenne :-)
> 
> ... i know - Wonder got everything :D I've learned loving it in it's special 
> way. I will take a look at ERCayenne...
> 
>>> I think it is possible, but not very practical. The last time I looked 
>>> (long time ago admittedly) you could achieve multithreading, at the expense 
>>> of throughput (threads waiting on a shared lock). 
>>> 
>>> I'd use Cayenne for this. Seriously ... there's no tie in to the WO UI in 
>>> case of Quartz headless processor, so it should be much easier switch 
>>> compared to a webapp. I've done a bunch of Cayenne/Quartz projects for 
>>> different customers, and parallel execution has never been a problem.
> 
> I got a mid sized codebase which is highly based on webobjects / wonder and 
> don't have the resources to convert that to a cayenne application. For the 
> first, it would be nice to achieve that with Webobjects/Wonder stuff.
> 
> And for the other postings - I will take a look at these Background Tasks... 
> thanks
> 
>>> 
>>> Just my 0.02
>>> 
>>> Andrus
>>> 
>>> ---
>>> Andrus Adamchik
>>> Apache Cayenne ORM: http://cayenne.apache.org/
>>> Twitter: http://twitter.com/andrus_a
>>> 
>>> 
>>> On Feb 16, 2012, at 1:29 PM, Paul Dunkler wrote:
>>> 
 Hi Community,
 
 i'm currently working on a WebObjects-Application which uses the Quartz 
 Scheduler to schedule and run thousand but thousand of jobs. Every job is 
 doing some work in the database (Like reading, computing and then 
 Updating/Deleting some Details from the database).
 
 This works quite well when i only allow Quartz to start one Single Thread 
 for Job Execution. But when i configure more than one thread, it seams 
 that i have problems with EditingContext / ObjectStoreCoordinator-Locking 
 or something else.
 
 The Question is: What should i do to achieve an entirely independent 
 EOF-Stack per Quartz Thread? If it is possible without ramping up a 
 complete EOF-Stack per Thread, this would be even better ;)
 
 Currently i just tried to Create a new EditingContext per Job at the 
 start, lock the rootObjectStore, do some things and then unlock the 
 rootObjectStore and dispose the editingContext. But that doesn't seem to 
 work for me.
>   // Job Start
>   EOEditingContext anEditingContext = ERXEC.newEditingContext();
>   anEditingContext.rootObjectStore().lock();
 
>   // Job Execution
 
>> // Job End
>   anEditingContext.saveChanges();
>   anEditingContext.rootObjectStore().unlock();
 
 
 It would be nice to get your suggestions about this Topic.
 
 --
 Mit freundlichen Grüßen
 
 Paul Dunkler
>>> 
>>> 
>>> 
>>> 
>>> 
>>> ___
>>> 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:
>>> https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
>>> 
>>> This email sent to prob...@macti.ca
>> 
> 
> --
> Mit freundlichen Grüßen / Kind regards
> 
> Paul Dunkler
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/prabier%40me.com
> 
> This email sent to prab...@me.com

 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: Stable releases of Wonder

2012-02-17 Thread Pascal Robert

Le 2012-02-17 à 08:19, Philippe Rabier a écrit :

> IMO, it would make sense only all commiters agree together on a stable 
> release and if some of us could validate the version. But it won't happen, I 
> guess.

It could happen if people give feedback for the "integration" changes. So far, 
only one guy downloaded the WonderIntegration build, so I don't expect much 
feedback right now :-) If people give feedback and we wait a couple of weeks 
before sending commits from integration to master, we can add tags in master 
saying "this is release x.z.y". If nobody is testing, we can't do much.

> So it turns out that each company has to decide what is a stable release for 
> their needs. That's we are doing at Sophiacom (but I know you know).
> 
> Philippe 
> 
> On 16 févr. 2012, at 19:19, Pascal Robert wrote:
> 
>> Good afternoon,
>> 
>> Every year, a couple of you are asking for "stable releases" of Wonder. I 
>> was wondering what is "stable release" is for you. For example, Jenkins have 
>> a LTS version that is released every 3 months. Does something like that make 
>> sense for Wonder too? 
>> 
>> Thanks.
>> 
>> 
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/prabier%40me.com
>> 
>> This email sent to prab...@me.com
> 


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: WebObjects + WOnder on Windows

2012-02-17 Thread Pascal Robert

Le 2012-02-17 à 05:45, Henrique Prange a écrit :

> Hi Kevin,
> 
> Last time I've developed on Windows I had to avoid white spaces in the path 
> of the application (for development and deployment).

And no dashes in the project name too (but that's also a problem on OS X).

> Sent from my iPhone
> 
> On 16/02/2012, at 21:45, Kevin Hinkson  wrote:
> 
>> Hi,
>> I have a new client who's internal software stack is all windows based. I 
>> have not previously run WebObjects in any kind of Windows environment and I 
>> get the impression that most of the community is moving away from doing so. 
>> Can anyone let me know if they currently run WebObjects on a Windows stack? 
>> I'd be (if there are no issues) running on Windows Small Business Server 
>> 2008 and interacting with SQL Server 2005. Also are there any nuances I 
>> should be aware of?
>> 
>> Any comments would be appreciated. Thanks in advance.
>> 
>> — K.R.H.
>> 
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/hprange%40gmail.com
>> 
>> This email sent to hpra...@gmail.com
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
> 
> This email sent to prob...@macti.ca


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Ajax framework update and MooTools framework

2012-02-17 Thread Pascal Robert
Speaking of, I added more details on how to use pull requests in the wiki:

  
http://wiki.wocommunity.org/display/WONDER/Creating+and+Submitting+an+Acceptable+Patch

It might look like a lot of steps (but most of those are one-timer), but really 
working with forks and pull requests is the way to go.

> And if you work with the source code rather than pre-built frameworks, you 
> can just switch to the integration branch (git checkout integration) for all 
> your development if you want to use the latest and greatest Wonder 
> contributions.
> 
> On Feb 16, 2012, at 7:17 PM, Pascal Robert wrote:
> 
>> Hello everyone,
>> 
>> Johann Werner took some of his time to update Prototype to version 1.7 in 
>> Ajax.framework. Also, Johnny Miller made a nice contribution to Wonder: a 
>> MooTools framework that is replicating the features of the Ajax framework.
>> 
>> Both contributions have been added to a new branch in Wonder, the 
>> "integration" branch. This branch will hold contributions made by the 
>> community so that we can "crowd test" the contributions before pushing them 
>> to the master branch. So if you would like to try out the contributions, you 
>> can download the binary frameworks built by Jenkins here:
>> 
>> http://jenkins.wocommunity.org/job/WonderIntegration/
>> 
>> Johann and Johnny tested their contributions (and they are using them in 
>> their own projects), so everything should work fine. If you find a bug, 
>> please report it on GitHub.
>> 
>> Thanks.
>> 
>> 
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/kelleherk%40gmail.com
>> 
>> This email sent to kelleh...@gmail.com
> 
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
> 
> This email sent to prob...@macti.ca


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: Ajax framework update and MooTools framework

2012-02-17 Thread Pascal Robert

Le 2012-02-17 à 08:12, James Cicenia a écrit :

> Anyone know if this fixes Drag and Drop in AjaxListSorter for IE 9 ?

I don't know. Download the WonderIntegration build from jenkins.wocommunity.org 
and try it out.

> Thanks
> James 
> 
> 
> 
> On Feb 16, 2012, at 6:17 PM, Pascal Robert wrote:
> 
>> Hello everyone,
>> 
>> Johann Werner took some of his time to update Prototype to version 1.7 in 
>> Ajax.framework. Also, Johnny Miller made a nice contribution to Wonder: a 
>> MooTools framework that is replicating the features of the Ajax framework.
>> 
>> Both contributions have been added to a new branch in Wonder, the 
>> "integration" branch. This branch will hold contributions made by the 
>> community so that we can "crowd test" the contributions before pushing them 
>> to the master branch. So if you would like to try out the contributions, you 
>> can download the binary frameworks built by Jenkins here:
>> 
>>  http://jenkins.wocommunity.org/job/WonderIntegration/
>> 
>> Johann and Johnny tested their contributions (and they are using them in 
>> their own projects), so everything should work fine. If you find a bug, 
>> please report it on GitHub.
>> 
>> Thanks.
>> 
>> 
>> ___
>> 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:
>> https://lists.apple.com/mailman/options/webobjects-dev/james%40jimijon.com
>> 
>> This email sent to ja...@jimijon.com
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca
> 
> This email sent to prob...@macti.ca


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Stable releases of Wonder

2012-02-17 Thread Philippe Rabier
IMO, it would make sense only all commiters agree together on a stable release 
and if some of us could validate the version. But it won't happen, I guess.

So it turns out that each company has to decide what is a stable release for 
their needs. That's we are doing at Sophiacom (but I know you know).

Philippe 

On 16 févr. 2012, at 19:19, Pascal Robert wrote:

> Good afternoon,
> 
> Every year, a couple of you are asking for "stable releases" of Wonder. I was 
> wondering what is "stable release" is for you. For example, Jenkins have a 
> LTS version that is released every 3 months. Does something like that make 
> sense for Wonder too? 
> 
> Thanks.
> 
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/prabier%40me.com
> 
> This email sent to prab...@me.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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

Re: Ajax framework update and MooTools framework

2012-02-17 Thread Kieran Kelleher
And if you work with the source code rather than pre-built frameworks, you can 
just switch to the integration branch (git checkout integration) for all your 
development if you want to use the latest and greatest Wonder contributions.

On Feb 16, 2012, at 7:17 PM, Pascal Robert wrote:

> Hello everyone,
> 
> Johann Werner took some of his time to update Prototype to version 1.7 in 
> Ajax.framework. Also, Johnny Miller made a nice contribution to Wonder: a 
> MooTools framework that is replicating the features of the Ajax framework.
> 
> Both contributions have been added to a new branch in Wonder, the 
> "integration" branch. This branch will hold contributions made by the 
> community so that we can "crowd test" the contributions before pushing them 
> to the master branch. So if you would like to try out the contributions, you 
> can download the binary frameworks built by Jenkins here:
> 
>  http://jenkins.wocommunity.org/job/WonderIntegration/
> 
> Johann and Johnny tested their contributions (and they are using them in 
> their own projects), so everything should work fine. If you find a bug, 
> please report it on GitHub.
> 
> Thanks.
> 
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/kelleherk%40gmail.com
> 
> This email sent to kelleh...@gmail.com


 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: Ajax framework update and MooTools framework

2012-02-17 Thread James Cicenia
Anyone know if this fixes Drag and Drop in AjaxListSorter for IE 9 ?

Thanks
James 



On Feb 16, 2012, at 6:17 PM, Pascal Robert wrote:

> Hello everyone,
> 
> Johann Werner took some of his time to update Prototype to version 1.7 in 
> Ajax.framework. Also, Johnny Miller made a nice contribution to Wonder: a 
> MooTools framework that is replicating the features of the Ajax framework.
> 
> Both contributions have been added to a new branch in Wonder, the 
> "integration" branch. This branch will hold contributions made by the 
> community so that we can "crowd test" the contributions before pushing them 
> to the master branch. So if you would like to try out the contributions, you 
> can download the binary frameworks built by Jenkins here:
> 
>  http://jenkins.wocommunity.org/job/WonderIntegration/
> 
> Johann and Johnny tested their contributions (and they are using them in 
> their own projects), so everything should work fine. If you find a bug, 
> please report it on GitHub.
> 
> Thanks.
> 
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/james%40jimijon.com
> 
> This email sent to ja...@jimijon.com



smime.p7s
Description: S/MIME cryptographic signature
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


"Cannot rollback Transcation() while a fetch is in progress" with WO 5.4.3 and Oracle 11

2012-02-17 Thread pavan.jayam

Hi,

I am encountering "Cannot rollback Transcation() while a fetch is in 
progress" issue in my application while logging into the application 
(configured with multiple instances).


I am using Webobjects 5.4.3, Oracle 11 for my application.

Also when this error occurs in my application while performing few 
transactions after then it is not allowing to re login into the same 
application instance.


Help/Feedback on this would be greatly appreciated.

Thanks,
--PJ.

___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: WebObjects + WOnder on Windows

2012-02-17 Thread D Tim Cummings
I use tomcat when deploying on Windows.  I haven't been able to get a ERModern 
Direct to Web app to deploy in tomcat, so for me that rules out Direct to Web 
on Windows.  Could be just me of course.

Tim


On 17/02/2012, at 9:45 AM, Kevin Hinkson wrote:

Hi,
I have a new client who's internal software stack is all windows based. I have 
not previously run WebObjects in any kind of Windows environment and I get the 
impression that most of the community is moving away from doing so. Can anyone 
let me know if they currently run WebObjects on a Windows stack? I'd be (if 
there are no issues) running on Windows Small Business Server 2008 and 
interacting with SQL Server 2005. Also are there any nuances I should be aware 
of?

Any comments would be appreciated. Thanks in advance.

— K.R.H.

___
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:
https://lists.apple.com/mailman/options/webobjects-dev/tim%40triptera.com.au

This email sent to t...@triptera.com.au



smime.p7s
Description: S/MIME cryptographic signature
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: Wrong Session class

2012-02-17 Thread Ted Archibald
Now when I call a direct action I keep getting a no such method exceptions.
 It appears that my DirectAction class is not being used instead of the
default WODirectionAction.

For instance, if I go to App.woa/wa/test I'll get:
 java.lang.NoSuchMethodException:
com.webobjects.appserver.WODirectAction.testAction()

even if I have in my DirectAction class:
public WOActionResults testAction(){ return null; }
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: WebObjects + WOnder on Windows

2012-02-17 Thread Henrique Prange
Hi Kevin,

Last time I've developed on Windows I had to avoid white spaces in the path of 
the application (for development and deployment).

Sent from my iPhone

On 16/02/2012, at 21:45, Kevin Hinkson  wrote:

> Hi,
> I have a new client who's internal software stack is all windows based. I 
> have not previously run WebObjects in any kind of Windows environment and I 
> get the impression that most of the community is moving away from doing so. 
> Can anyone let me know if they currently run WebObjects on a Windows stack? 
> I'd be (if there are no issues) running on Windows Small Business Server 2008 
> and interacting with SQL Server 2005. Also are there any nuances I should be 
> aware of?
> 
> Any comments would be appreciated. Thanks in advance.
> 
> — K.R.H.
> 
> ___
> 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:
> https://lists.apple.com/mailman/options/webobjects-dev/hprange%40gmail.com
> 
> This email sent to hpra...@gmail.com
 ___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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


Re: ERCaptcha

2012-02-17 Thread Gino Pacitti

Yes it was... but I solved this...
It does not seem to work if the form was bound to a Direct Action and  
the submit button was static HTML input element.


Once I used a component action it then worked fine...

Don't much like the Gotcha image though HAHA

Gino
On 16 Feb 2012, at 21:17, Matthew Ness wrote:

Im trying to use ERCaptcha Framework and used a ERCaptcha component  
in

a page...

I have the binding validated  bound to a variable validated in the
component which uses the ERCaptcha yet every attempt at inputting the
text results in false?

Any thoughts or experiences...

WOComponent



WOD FILE
ERCaptcha1: ERCaptcha {
validated = validated;
}

JAVA FILE
   private boolean validated;

public void setValidated(boolean isVal){
validated =  isVal;
}

public boolean validated(){
return validated;
}

public void appendToResponse(WOResponse res,  WOContext
con){

 super.appendToResponse(res, con);
System.out.println("IS VALIDATED "+ validated()); //
always false ?

}



Hi Gino,

Is your ERCaptcha1 component in a WOForm?

Cheers,

Matt

___
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:
https://lists.apple.com/mailman/options/webobjects-dev/ginokris%40me.com

This email sent to ginok...@me.com


___
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:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

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