problem with ERTag and inheritance

2012-07-30 Thread Tim Worman
Anyone with ERTag mojo: Assuming I have a parent entity "Animal" and sub-entities that inherit from it, "Cat" and "Dog" - I can't search for all "Animal" with the tag "fur". It seems that if I tag a Cat EO with "fur" and Dog EO with "fur" the updates for those tags go to the tables cattag and

Re: Is it possible to access the displayGroup of an embedded list page?

2012-07-30 Thread David Holt
On 2012-07-30, at 3:40 PM, David Holt wrote: > Well, this was a strange one. There is yet another utility that comes in > handy: > > ERD2WUtilities.resetContextCache(d2wContext) > > It seemed that nextPageDelegate for the embedded download button became the > nextPageDelegate for the entire

Re: Is it possible to access the displayGroup of an embedded list page?

2012-07-30 Thread David Holt
Well, this was a strange one. There is yet another utility that comes in handy: ERD2WUtilities.resetContextCache(d2wContext) It seemed that nextPageDelegate for the embedded download button became the nextPageDelegate for the entire page because of the cached values. Once empty I needed to set

Re: AjaxModalDialog problems

2012-07-30 Thread Roger Perryman
Unfortunately, I replied only to Chuck so I am including that response in here as well for completeness. I got it working but there were a few things that tripped me up. Some were "operator" errors, while others were a little more devious. On Jul 25, 2012, at 10:04 PM, Chuck Hill wrote: > Hi R

Re: didUpdate?

2012-07-30 Thread Ramsey Gurley
:D <> On Jul 30, 2012, at 2:54 PM, Tim Worman wrote: > Only old high school friends call me "Worman." Most just call me… > > ..."Tim." :-) > > Tim > UCLA GSE&IS > > On Jul 30, 2012, at 6:18 AM, arosenzw...@clinworx.com wrote: > >> Hi Theodore, >> >> I agree with George, I wouldn't do the S

Re: didUpdate?

2012-07-30 Thread Tim Worman
Only old high school friends call me "Worman." Most just call me… ..."Tim." :-) Tim UCLA GSE&IS On Jul 30, 2012, at 6:18 AM, arosenzw...@clinworx.com wrote: > Hi Theodore, > > I agree with George, I wouldn't do the Session way. > > Worman set you on the right track. Ok, it didn't fully give

Re: ERD2W menus not working properly

2012-07-30 Thread Ramsey Gurley
On Jul 30, 2012, at 11:43 AM, Sr. Ângelo Andrade Cirino wrote: > Dear Ramsey, > > Thank you for your answer. I've watched your WOWODC presentation twice so > far, as well as David's presentation. > >> >> Don't put the localized names directly in the nav plist. Localized strings >> go in the

Re: D2W Rules for Joda.LocalDate Edit

2012-07-30 Thread Ramsey Gurley
My guess is the formatter string is bad/wrong. Probably defaulting to a NSTimestamp style formatter instead of a SimpleDateFormat type of formatter. Try adding something like: 25 : ((smartAttribute.className = 'com.webobjects.foundation.NSTimestamp' or (smartAttribute.valueFactoryMethod != nu

Re: D2W Rules for Joda.LocalDate Edit

2012-07-30 Thread Paul Yu
Ramsey I think I added your rule correctly, but of course it is not as I'm getting this. Any ideas? Paul Jul 30 14:19:28 FarmManager[55773] INFO er.r2d2w.components.R2D2WEditDate (InspectFMFarmHouseFlock) - Date is 2011-02-01 Jul 30 14:19:28 FarmManager[55773] INFO er.r2d2w.components.R2D2

Re: ERD2W menus not working properly

2012-07-30 Thread Ramsey Gurley
Hi Angelo :-) On Jul 29, 2012, at 9:08 PM, Sr. Ângelo Andrade Cirino wrote: > I have been trying with little success to design a rather complex (at least > for me as it is my first D2W project) application using D2W and ERModernLook. > I am able to create a list page and inspect or edit an enti

Re: D2W Rules for Joda.LocalDate Edit

2012-07-30 Thread Ramsey Gurley
On Jul 30, 2012, at 5:52 AM, Paul Yu wrote: > Ramsey > > So I'm trying to use you R2 stuff. There are lots of errors in the project, > even after I switched to the integration branch. I think there's some stuff I haven't checked in that's in progress. Or I just forgot. I'll have to look agai

Project Wonder Usage survey

2012-07-30 Thread Pascal Robert
Hi, At WOWODC, we had a couple of discussions about what's next for Wonder. Should we made it Java 1.6-only? Drop some frameworks? Release numbers? So to make a better decision, I created a 7 questions survey about how YOU use Project Wonder. You can answer the survey at: https://www.survs.

Re: [Wonder-disc] sample code of ERCAuditTrail

2012-07-30 Thread Ramsey Gurley
On Jul 29, 2012, at 6:30 PM, Theodore Petrosky wrote: > So if I want to track another EO I need to set up that object as an actor and > add the ERXAuditKeys? Or am I missing something. No, you just add ERXAuditKeys to the user info dictionary. The framework detects that key at startup and sets

Re: didUpdate?

2012-07-30 Thread arosenzweig
Hi Theodore, I agree with George, I wouldn't do the Session way. Worman set you on the right track. Ok, it didn't fully give you the solution but it pointed you where to look. The EOEditingContext knows all. It knows what the current values are (just invoke methods on the EO itself) it also kn

Re: wounit: cannot load model

2012-07-30 Thread hafid ouazib
Hi, My model is in the folder Resources, the source of my test is: package com.acaiq.fondation.acaiqCore; import org.junit.Rule; import org.junit.Test; import com.wounit.annotations.UnderTest; import com.wounit.rules.MockEditingContext; public class ExempleTest { @Rule public MockEditi

Re: change webobject-dev mail style

2012-07-30 Thread Johann Werner
You should have a link like https://lists.apple.com/mailman/options/webobjects-dev/ in the emails you receive. There you can login to change your settings. jw Am 30.07.2012 um 14:37 schrieb Theodore Petrosky: > does anyone know how to change webobject-dev mail list from digest to > individua

change webobject-dev mail style

2012-07-30 Thread Theodore Petrosky
does anyone know how to change webobject-dev mail list from digest to individual mail? I guess I could unsubscribe then resubscribe. Ted ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev

query page access a ERXThreadStorage key

2012-07-30 Thread Theodore Petrosky
my model has: Project toOne ProjectCategory. on my query page, it says: "Project Category" where Category Title is (and a text field to type) I have a key 'currentProjectCategory' in my ERXThreadStorage and I want to populate the text field with currentProjectCategory.categoryTitle from the

Re: didUpdate?

2012-07-30 Thread Theodore Petrosky
Thanks, I remembered that I was fooling around with using the ERD2WDisplayHTML area and there was a problem and my only solution was to muck with the CSS Even after I found it, I could not remember why I did it. But when I got up this morning, I could see clearly. Thanks for looking. Ted --

Re: EOSortOrdering first null

2012-07-30 Thread ALEXANDRE Grégoire
Hi, thanks for your answer, but i don't understand what ERXFrameworkPrincipal work. when is it called? Le 26/07/12 23:17, Ricardo J. Parada a écrit : Hi Grégoire, I don't know if this will help or not. The problem I had is that in-memory sorting treated nulls different that sorting in the d