Re: ERExcelLook filename

2009-09-30 Thread Joe Little
Where documentation is scarce, there is source code. Thanks for the info. On Wed, Sep 30, 2009 at 3:10 PM, David LeBer wrote: > > On 2009-09-30, at 5:21 PM, Joe Little wrote: > >> I saw that one can statically name a sheet from a rule, but I both >> want to title an Excel spreadsheet in some way

Re: how different are these urls working?

2009-09-30 Thread Shravan Kumar. M
Thanks for the note Petite. Delete link is a POST action. Thank You, Shravan Kumar. M petite.abei...@gmail.com Wrote: Re: how different are these urls working? Thursday, October 1, 2009 2:17 AM

Re: ERExcelLook filename

2009-09-30 Thread David LeBer
On 2009-09-30, at 5:21 PM, Joe Little wrote: I saw that one can statically name a sheet from a rule, but I both want to title an Excel spreadsheet in some way (via a rule) as well as name the file something more unique than results-#.xls. Anybody with experience setting either the sheet names t

Re: Single-table inheritance error [SOLVED]

2009-09-30 Thread Jon Nolan
Also, in case it matters, resourceType is a javaEnum. Bingo. Changed it to a varchar50/String(RTRIM) and it works exactly as expected. Not too sure if this qualifies as a bug or as a worst practice. Either way, thanks for the brain tweaks as they led me to solving in minutes something whi

Re: Single-table inheritance error [SOLVED]

2009-09-30 Thread Chuck Hill
On Sep 30, 2009, at 2:54 PM, Mike Schrag wrote: Also, in case it matters, resourceType is a javaEnum. Bingo. Changed it to a varchar50/String(RTRIM) and it works exactly as expected. Not too sure if this qualifies as a bug or as a worst practice. Either way, thanks for the brain tweaks a

Re: Single-table inheritance error [SOLVED]

2009-09-30 Thread Mike Schrag
Also, in case it matters, resourceType is a javaEnum. Bingo. Changed it to a varchar50/String(RTRIM) and it works exactly as expected. Not too sure if this qualifies as a bug or as a worst practice. Either way, thanks for the brain tweaks as they led me to solving in minutes something wh

Re: Single-table inheritance error

2009-09-30 Thread Mike Schrag
public void awakeFromInsertion(EOEditingContext ec) { super.awakeFromInsertion(ec); setResourceType(ResourceType.Resource2); } ew. ## Specifies that you want restricting qualifiers "applied" to your newly ## inserted objects. For instance, if you have an entity that is part o

Re: Single-table inheritance error [SOLVED]

2009-09-30 Thread Jon Nolan
public void awakeFromInsertion(EOEditingContext ec) { super.awakeFromInsertion(ec); setResourceType(ResourceType.Resource2); } Also, in case it matters, resourceType is a javaEnum. Bingo. Changed it to a varchar50/String(RTRIM) and it works exactly as expected. Not too s

ERExcelLook filename

2009-09-30 Thread Joe Little
I saw that one can statically name a sheet from a rule, but I both want to title an Excel spreadsheet in some way (via a rule) as well as name the file something more unique than results-#.xls. Anybody with experience setting either the sheet names to some var as well as the filename?

Re: how different are these urls working?

2009-09-30 Thread Petite Abeille
On Sep 30, 2009, at 9:05 PM, Shravan Kumar. M wrote: I have a page with "Delete" links in a list to delete each row. Each row corresponds an EO. When we click on "Delete" link we have to confirm from user if (s)he is sure of doing that. Out of curiosity, that "delete" link, is that a GET o

Re: Single-table inheritance error

2009-09-30 Thread Jon Nolan
Mike Schrag wrote: java.lang.IllegalStateException: Unable to determine subentity of 'AbstractResource' for row: { ...bunch of attributes... }. Check that the attribute 'resourceType' is marked as a class property in the EOModel and that the value satisfies some subentity's restricting quali

Re: how different are these urls working?

2009-09-30 Thread Shravan Kumar. M
You are right Gordon, but for some reason still it is not working. We are exploring the issue!!! --- On Thu, 10/1/09, Gordon Belray wrote: From: Gordon Belray Subject: Re: how different are these urls working? To: "Shravan Kumar. M" Cc: "WebObjects-Dev Mailing List List" , "John Huss" Date:

Re: Single-table inheritance error

2009-09-30 Thread Mike Schrag
This is beyond doubt. I read somewhere once that there's a fluky thing wherein the order of the entities alphabetically within the model matters. Hence my parent entity begins with "A" and is the very first entity in my model. Doesn't help. I don't recall that. I can confirm this is not t

Re: Single-table inheritance error

2009-09-30 Thread Chuck Hill
Hi Jon, On Sep 30, 2009, at 1:10 PM, Jon Nolan wrote: I have something like this modeled in single-table inheritance: AbstractResource Resource1 Resource2 ... ResourceN AbstractResource is marked as abstract and a class attribute named "resourceType" handles the restricting qualifie

Re: Single-table inheritance error

2009-09-30 Thread Mike Schrag
java.lang.IllegalStateException: Unable to determine subentity of 'AbstractResource' for row: { ...bunch of attributes... }. Check that the attribute 'resourceType' is marked as a class property in the EOModel and that the value satisfies some subentity's restricting qualifier. The attr

Single-table inheritance error

2009-09-30 Thread Jon Nolan
I have something like this modeled in single-table inheritance: AbstractResource Resource1 Resource2 ... ResourceN AbstractResource is marked as abstract and a class attribute named "resourceType" handles the restricting qualifier. If I execute this: NSArray resources = Abstr

Re: how different are these urls working?

2009-09-30 Thread Gordon Belray
Hi Shravan, why not add a binding to WOHyperlink: onclick "return confirm('Are you sure you want to delete this?');" Gordon On 30-Sep-09, at 3:05 PM, Shravan Kumar. M wrote: Hi John, I have a page with "Delete" links in a list to delete each row. Each row corresponds an EO. When we click

Re: how different are these urls working?

2009-09-30 Thread Shravan Kumar. M
Hi John, I have a page with "Delete" links in a list to delete each row. Each row corresponds an EO. When we click on "Delete" link we have to confirm from user if (s)he is sure of doing that. So, we have added a confirm() js here and upon clicking ok, we have decided to use window.location.hre

Re: how different are these urls working?

2009-09-30 Thread John Huss
We'll need more info than that. On Wed, Sep 30, 2009 at 1:08 PM, Shravan Kumar. M wrote: > Hi Group, > > This does NOT work, i.e., this does NOT invoke WOComponent action method, > but just invokes appendToResponse(resp, ctx), invokeAction(req, ctx). This > link is generated in a WORepitition: >

how different are these urls working?

2009-09-30 Thread Shravan Kumar. M
Hi Group, This does NOT work, i.e., this does NOT invoke WOComponent action method, but just invokes appendToResponse(resp, ctx), invokeAction(req, ctx). This link is generated in a WORepitition: window.location.href = /MSK/WebObjects/DemoApp.woa/-5/wo/QbBT4uH3SmcSODt3O2rc6g/2.5.11.7.1.0.1.

Re: java.lang.NoSuchMethodError: er.ajax.AjaxResponse.setHeaders

2009-09-30 Thread Alexis Tual
Problem solved, i upgraded to version 5.0.0-r9933 (22 sept. 2009) and it seems to work now... i guess version 5.0.0-9638 was bogus. Alex Le 29 sept. 09 à 18:07, Alexis Tual a écrit : Hi list, i'm using wonder 5.0.0-9638 (5.4 classifier, yes i'm mavenized), webobjects 5.4.3 and get the foll

Re: Can't install subclipse 1.6

2009-09-30 Thread Gustavo Pizano
mmm ok... maybe my mistake, I don't remember what eclipse I had opened then. :PG. On Wed, Sep 30, 2009 at 1:57 PM, Mike Schrag wrote: > It was under 3.4 > > Unsatisfied dependency: [org.eclipse.debug.ui 3.5.1.v20090811_r351] >> requiredCapability: osgi.bundle/org.eclipse.ui.editors/[3.5.0,4.0.0

Re: Can't install subclipse 1.6

2009-09-30 Thread Mike Schrag
It was under 3.4 Unsatisfied dependency: [org.eclipse.debug.ui 3.5.1.v20090811_r351] requiredCapability: osgi.bundle/org.eclipse.ui.editors/[3.5.0,4.0.0) that plugin version number lads me to believe you're running eclipse 3.5 , well I dunno what I did now, but suddenly it decided to install

Re: Can't install subclipse 1.6

2009-09-30 Thread Gustavo Pizano
It was under 3.4, well I dunno what I did now, but suddenly it decided to install .. and when I restarted eclipse a new "Welcome" tab appear showing different options. I hope I can now configure the SVN and see if it really works. I will let you know. On Wed, Sep 30, 2009 at 1:52 PM, Q wrote:

Re: Can't install subclipse 1.6

2009-09-30 Thread Q
On 30/09/2009, at 7:46 PM, Gustavo Pizano wrote: Im trying to install Subclipse 1.6, but it;s telling me : Cannot complete the request. See the details. Unsatisfied dependency: [org.objectstyle.wolips.apple.mavenintegration 3.4.5800] requiredCapability: osgi.bundle/org.maven.ide.eclipse/0

Can't install subclipse 1.6

2009-09-30 Thread Gustavo Pizano
Im trying to install Subclipse 1.6, but it;s telling me : Cannot complete the request. See the details. Unsatisfied dependency: [org.objectstyle.wolips.apple.mavenintegration 3.4.5800] requiredCapability: osgi.bundle/org.maven.ide.eclipse/0.9.6 Unsatisfied dependency: [org.objectstyle.wolips.ap