Re: How to expand a tree node in AjaxTree

2014-06-10 Thread Freddie Tilley
Hey, I’m not sure if you still need an answer, but I just came across the same issue myself. The way I got it working was by subclassing AjaxTreeModel and overriding setRootTreeNode. All the expanded/collapsed nodes get reset when a different rootTreeNode is set. @Override public void setRootT

Re: Weird relationship issue on Mavericks

2013-11-19 Thread Freddie Tilley
Okay, solved the problem I was apparently deleting the related object in some edge cases, whoops :-D — Freddie On 18 nov. 2013, at 19:01, Freddie Tilley wrote: > Oh, the database I’m using is Postgres 9.3 > > java version "1.6.0_65" > Java(TM) SE Runtime Environment (

Re: Weird relationship issue on Mavericks

2013-11-18 Thread Freddie Tilley
Oh, the database I’m using is Postgres 9.3 java version "1.6.0_65" Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609) Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode) On 18 nov. 2013, at 18:57, Freddie Tilley wrote: > Hi, > > Since upgradin

Weird relationship issue on Mavericks

2013-11-18 Thread Freddie Tilley
using the latest jdbc driver doesn’t seem to resolve the issue. — Freddie Tilley ___ 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

Re: Weird problem with D2W rules

2013-04-02 Thread Freddie Tilley
3, at 11:18 AM, Ramsey Gurley wrote: >> >>> >>> On Mar 29, 2013, at 3:37 PM, Ramsey Gurley wrote: >>> >>>> On Mar 29, 2013, at 2:27 PM, Freddie Tilley wrote: >>>> >>>>> at >>>>> er.modern.directtoweb.comp

Re: Weird problem with D2W rules

2013-03-29 Thread Freddie Tilley
On 29 mrt. 2013, at 22:10, Ramsey Gurley wrote: > > On Mar 29, 2013, at 12:40 PM, Freddie Tilley wrote: > >> Hi, >> >> I'm having a strange issue with a D2w rule. >> >> the left hand side is as follows: >> >> (task = 'edit&

Re: Weird problem with D2W rules

2013-03-29 Thread Freddie Tilley
ou have a base rule that tells the system what to do when it is NOT the > value you're concerned about? > > Sent from my iPad > > On 2013-03-29, at 1:18 PM, David Holt wrote: > >> Are you using the delayed assignment? >> >> Sent from my iPad >> &

Weird problem with D2W rules

2013-03-29 Thread Freddie Tilley
uot;, "entity", "RuleIsDisabled", "object.eventType", "propertyKey") Only deleting the rule will prevent the action from being called. The idea of the rule is to show certain properties for a certain event type. Any idea how to solve this? -- Fre

Re: isEntityDeletable being cached in D2WContext in ERMODListPage

2011-04-27 Thread Freddie Tilley
rom: ERDirectToWeb.framework/Resources overriding this with a er.directtoweb.assignments.delayed.ERDDelayedKeyValueAssignment solves it. Thank you, Freddie Tilley On 22 apr 2011, at 11:59, Freddie Tilley wrote: > When tracing the isEntityDeletable rule, I get > > DEBUG er.directtoweb.rules.isEntityDe

Re: isEntityDeletable being cached in D2WContext in ERMODListPage

2011-04-22 Thread Freddie Tilley
>> >> to your properties file. Once you've done that, you can create the rule >> logging properties really easily on your app's log4j page. >> >> .../YourApp.woa/wa/ERXDirectAction/log4j >> >> Ramsey >> >> On Apr 21, 2011, at 4:16

isEntityDeletable being cached in D2WContext in ERMODListPage

2011-04-21 Thread Freddie Tilley
t the isEntityDeletable property, but after logging in as a different user type the settings of the previous user type remain in the d2w context. Clearing the d2w cache does set the values to the correct property. What can I do to resolve this issue? Thank you, Freddie T

Re: Error with deleting object in WebObjects and Microsoft SQLServer 2005

2009-10-27 Thread Freddie Tilley
> The cascade is working but the ordering is wrong.  SQL Server can't handle > deferred constraints.  The easiest solution is to drop the FK constraint. >  The other solution is to order the delete operations and that is NOT easily > done. Thx, the easy way worked. You were right about SQLServer

Error with deleting object in WebObjects and Microsoft SQLServer 2005

2009-10-26 Thread Freddie Tilley
there a workaround/fix for this problem? I'm using WebObjects 5.4.3 SQLServer 2005 And Chuck Hills MicrosoftPlugIn -- Freddie Tilley ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects

Re: WebObjects 5.4.3 and SQL Server 2005

2009-09-24 Thread Freddie Tilley
2009/9/23 David Avendasora : > > On Sep 22, 2009, at 11:29 AM, Freddie Tilley wrote: > >> Value class of type NSNumber does not work for me, using a value class >> of java.lang.Boolean does. > > What are the results if you use NSNumber? You could also try "Number&

Re: WebObjects 5.4.3 and SQL Server 2005

2009-09-22 Thread Freddie Tilley
l Type: bit > Class: java.lang.Boolean > Data Type: Custom - Custom > External Width: > Value Class: NSNumber > Value Type: c > Factory Method: > ConversionMethod: > Init Argument: > These settings work for me in a current project that talks to a SQL Server > 2000 DB. > Dave &g

Re: WebObjects 5.4.3 and SQL Server 2005

2009-09-22 Thread Freddie Tilley
ly update the external > type when changing to "intBoolean". > > Dave > > On Sep 22, 2009, at 10:25 AM, Freddie Tilley wrote: > >> the EOJDBCSQLServerPrototypes boolean type defaults to bit with a >> custom data type as follows: >> >> External Width:

Re: WebObjects 5.4.3 and SQL Server 2005

2009-09-22 Thread Freddie Tilley
#x27;t believe Microsoft SQL Server has a boolean datatype. What datatype > are you using for the column in the DB? > > Dave > > > On Sep 22, 2009, at 7:32 AM, Freddie Tilley wrote: > >> I have a problem with writing a boolean value to the database, using >> the EOJD

WebObjects 5.4.3 and SQL Server 2005

2009-09-22 Thread Freddie Tilley
bject again and set the boolean value to false. It will show the value as false in the list, but it will remain True in the database. And after this I cannot change the value to True anymore. What's going on here? Freddie Tilley ___ Do not post admi

Re: Default values for new objects d2w

2009-09-15 Thread Freddie Tilley
Okay, I've got it working (finally), I did not know I had to add ERDActionBar to my template manually :) Thanks! Freddie Tilley 2009/9/15 Anjo Krank >> >> Make sure you check out this page too if you haven't already: >> >> http://wiki.objectstyle.org/conf

Re: Default values for new objects d2w

2009-09-14 Thread Freddie Tilley
When I try it with a next page delegate, the validation fails before it reaches the NextPageDelegate because the parent property is not allowed to be null. I set the next page delegate for the edit page. -- Freddie Tilley 2009/9/14 Anjo Krank > Plz stay on the list. > > I'd

Re: Default values for new objects d2w

2009-09-14 Thread Freddie Tilley
ld->parent relationship property from the edit page, since this is not allowed to be changed. -- Freddie Tilley ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com

Default values for new objects d2w

2009-09-14 Thread Freddie Tilley
the post is quite old, I was wondering if there was an easier way -- Freddie Tilley ___ 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

Re: Best Practices - Properties files

2009-06-25 Thread Freddie Tilley
You mean overriding the connection dictionaries of all models? That would be: dbConnectURLGLOBAL=@@url@@ dbConnectUserGLOBAL=@@username@@ dbConnectPasswordGLOBAL= @@password@@ dbConnectDriverGLOBAL=@@driver@@ dbEOPrototypesEntityGLOBAL=@@prototypes@@ Exactly, thanks! _

Re: Best Practices - Properties files

2009-06-25 Thread Freddie Tilley
and in Properties.deploy you can use a wonder simple template format like this which does property resolving/substitution MyEOModel.password = @@secretpassword@@ Perhaps a bit offtopic but is there a way to override all the EOModels in the Application like this?

Re: Application Deployment problem

2009-02-27 Thread Freddie Tilley
On 27 feb 2009, at 16:32, Freddie Tilley wrote: I'm having a little trouble deploying a webobjects application on our osx server It seems that the http adaptor is losing the connection to all the applications every once in a while, even though they are still running in the Monitor

Application Deployment problem

2009-02-27 Thread Freddie Tilley
his a httpadaptor webserver issue? thanks Freddie Tilley ___ 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/ma

Embedding wo: elements within eachother

2009-02-17 Thread Freddie Tilley
n the unified html component format, but found no mention of embedding it in this way. thanks Freddie Tilley ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsub

Re: Help with passing headers in the WORedirect

2009-02-13 Thread Freddie Tilley
On 12 feb 2009, at 19:55, Chuck Hill wrote: On Feb 12, 2009, at 9:55 AM, Freddie Tilley wrote: I wish to pass some header variables to a redirect but I'm having some problems I'm trying to set the header as follows (I found this somewhere) WORedirect redirect = new

Help with passing headers in the WORedirect

2009-02-12 Thread Freddie Tilley
ponse(); r.setHeader("Value","Key"); redirect.appendToResponse(r, context()); But this does not appear to work. Is there a way to call the call the destination page with custom headers? thanks! Freddie Tilley ___ Do not post admin re

Symlinks in WO Explorer

2009-01-29 Thread Freddie Tilley
, it just doesn't show it. Freddie Tilley ___ 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/op

Re: default superclass package for eogen files

2008-11-19 Thread Freddie Tilley
to set the base package value as a default in wolips Freddie Tilley On 19 nov 2008, at 12:16, Stefan Klein wrote: Open your xxx.eogen in the EOGenerator Editor and go to the bottom. Under "Defines" you can add a key value pair like: EOGenericRecord = my.eo.superclass Stefan Fredd

Re: default superclass package for eogen files

2008-11-19 Thread Freddie Tilley
On 19 nov 2008, at 12:16, Stefan Klein wrote: Open your xxx.eogen in the EOGenerator Editor and go to the bottom. Under "Defines" you can add a key value pair like: EOGenericRecord = my.eo.superclass Stefan Freddie Tilley schrieb: Is there way to set a default superclass packag

default superclass package for eogen files

2008-11-19 Thread Freddie Tilley
Is there way to set a default superclass package, so that it doesn't have to be set manually every time I generate an eogen file for a model? Freddie Tilley ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing

How do I get a complete url to a component

2008-10-27 Thread Freddie Tilley
How do I get a complete url to the component as a String, like the url returned by pageWithName? I cannot find a method like directActionURLForActionNamed specific for components Freddie Tilley ___ Do not post admin requests to the list. They will

Upload a very large file to a DirectAction

2008-10-22 Thread Freddie Tilley
ing a large file (2.3GB) it gives the following error even though the documentation says it should be able to handle large files: Unable to parse content- length header: '2472285238'. Unable to parse content- length header: '2472285238'. Is there a solution/workaround

Re: Is it possible to put components into subdirectory of Components

2008-07-02 Thread Freddie Tilley
, I'm not really a master of custom ant build task etc Freddie Tilley ___ 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 Subscrip

Re: Is it possible to put components into subdirectory of Components

2008-07-02 Thread Freddie Tilley
On 2 jul 2008, at 14:07, Mike Schrag wrote: Is this an option that needs to be set, or could my build.xml be too old? If you're not using FBL, then your build.xml is probably too old. If you have to ask "is my build.xml too old," the answer is probably "yes." How do I know if I have the

Is it possible to put components into subdirectory of Components

2008-07-02 Thread Freddie Tilley
Is it possible to put components into a subdirectory of Components It seems to work with running it from eclipse, but when I deploy the wo application (on webobjects 5.4.2) it does not seem to find the files in the subdirectories Freddie Tilley

Re: Disable displaying contents of WOComponent

2008-06-26 Thread Freddie Tilley
I'm currently testing with this code, but the problem is once the elements have been removed, they do not return until I restart the webobjects app. There must be some easier way of doing this Freddie Tilley Hello, I'm trying to build a permission system that will disable the c

Re: Disable displaying contents of WOComponent

2008-06-26 Thread Freddie Tilley
On 26 jun 2008, at 12:17, Thomas wrote: Why not just put a conditional inside the wrapper around the component content? No code is required. I want to allow subclasses, with the permissions working without requiring a conditional Freddie Tilley Regards Thomas On 26/06/2008, at 7:49

Disable displaying contents of WOComponent

2008-06-26 Thread Freddie Tilley
Array(removeElements); } return tmpl; } Freddie Tilley ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubs

is NSNotificationCenter thread safe?

2008-06-04 Thread Freddie Tilley
Is the java version of NSNotificationCenter thread safe? And does it support posting from on thread to another similiar the Object-C version of NSDistributedNotificationCenter Freddie ___ Do not post admin requests to the list. They will be ignored.

Webservice serialization

2008-04-08 Thread Freddie Tilley
result that I would like to have is to have the item look like this: 15 without a reference to the int. Am I missing a configuration option here to set this? Freddie Tilley ___ Do not post admin requests to the list. They will be ignored. Webob

WebObjects printing out file list

2008-04-03 Thread Freddie Tilley
20 value /imgs/closelabel.gif how do I disable this? Freddie Tilley ___ 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

Re: JavaEOGenerator Eclipse

2007-12-03 Thread Freddie Tilley
On 21 nov 2007, at 16:17, Freddie Tilley wrote: When I generate my javaclasses files in Eclipse 3.3 using JavaEOGenerator, all the attributes accessor methods always use data types: com.webobjects.foundation.NSData instead of just String, even though I set the data type in Entity Modeler

Webobjects javadoc with Eclipse

2007-11-29 Thread Freddie Tilley
How do I set the correct location for the javadocs with 10.5, WebObjects 5.4 and Eclipse (latest)? When I started up Eclipse with WOLips for the first time it generates a file in homes Library folder called: wobuild.properties this contains a property called wo.dir.reference.api that points

JavaEOGenerator Eclipse

2007-11-21 Thread Freddie Tilley
When I generate my javaclasses files in Eclipse 3.3 using JavaEOGenerator, all the attributes accessor methods always use data types: com.webobjects.foundation.NSData instead of just String, even though I set the data type in Entity Modeler to String S the JavaEOGenerator template contains