Re: Mootools JS not working in WO project

2009-05-29 Thread Dan Grec
To clarify a little: I think that mootools and prototype both use the javascript '$' notation. You'll have to turn it off in mootools to make them play nicely. I know that jQuery has "noConflict" mode that does exactly that, I have no idea if mootools has an equivalent. -Dan On 29-May

Re: Question on fetching theory

2009-05-21 Thread Dan Grec
On 21-May-09, at 12:00 PM, Chuck Hill wrote: On May 21, 2009, at 12:57 AM, Gustavo Adolfo Pizano wrote: Aha, so, if I use the Cache in memory property in the EO, the framework will not fetch all the time, unless I tell the EO to flushCacheProcessor, and do the fetch again?.. I read the

Re: compacting html, whitespaces

2009-05-20 Thread Dan Grec
If you are using Project Wonder you can set the property: er.extensions.ERXApplication.responseCompressionEnabled=true -Dan On 20-May-09, at 10:29 AM, Amedeo Mantica wrote: Hello, Anyone knows if there is a Property or something similar in order to get a compact html output with withespace

Re: ERXWORepetition sending null iterator item.

2009-04-02 Thread Dan Grec
Sweet, thanks Chuck! -Dan On 1-Apr-09, at 11:03 PM, Chuck Hill wrote: On Apr 1, 2009, at 7:18 AM, Dan Grec wrote: Greg, We use AjaxTabbedPanelTab very heavily in our apps - we were the ones that pushed Mike & Chuck to add an isVisible binding. So far, we've got two ways we

Re: ERXWORepetition sending null iterator item.

2009-04-01 Thread Dan Grec
Greg, We use AjaxTabbedPanelTab very heavily in our apps - we were the ones that pushed Mike & Chuck to add an isVisible binding. So far, we've got two ways we make them behave more dynamically, 1. Just use the isVisible binding. There is a slight hitch with this - The ajax request to switch

Re: Getters without the "get" part

2009-03-31 Thread Dan Grec
On 31-Mar-09, at 9:49 AM, Chuck Hill wrote: On Mar 31, 2009, at 8:31 AM, Simon McLean wrote: Crikey. For a while I've been tempted to suggest that we move the whole of Wonder to use the "get" prefix Grr Can I ask why WO as a whole doesn't use the 'get' prefix? -- Chuck Hill

Re: WOWODC West

2009-03-30 Thread Dan Grec
Another idea for the stack: At WOWODC it was emphasized to create an MVC app. I understand Model and View really well in the WebObjects world - but I'm pretty shady on the Controller. Maybe we can see some sample Controllers and how they work..? -Dan On 30-Mar-09, at 4:45 AM, David Avendas

Re: Check / Force field uniqueness in EOF

2009-03-26 Thread Dan Grec
ar 25, 2009, at 8:51 PM, Chuck Hill wrote: On Mar 25, 2009, at 12:46 PM, Dan Grec wrote: Full of questions today I have an EO that has a field "RemoteSystemID" that must be unique in the DB. I have the constraint in the DB and that works well. What I would like, is a way in EO

Check / Force field uniqueness in EOF

2009-03-25 Thread Dan Grec
"567", it allows them both through. Does anyone have a strategy to catch uniqueness at the EOF level? Or, is it fine to just rely on the DB throwing an SQLException and catch that after ec().saveChanges() ? (I feel like letting that happen is bad, and might leave EOF in an un- happy state

Re: Setting not-nullable field to null - nothing happens

2009-03-25 Thread Dan Grec
On 25-Mar-09, at 12:41 PM, Chuck Hill wrote: On Mar 25, 2009, at 10:09 AM, Dan Grec wrote: Hi everyone, I'm struggling to understand something here and am wondering if it's a *feature* of WO/EOF. It is a feature of your understanding. :-P Are you working on a new book we s

Setting not-nullable field to null - nothing happens

2009-03-25 Thread Dan Grec
hat they were trying to do did not work. Is it a "feature" of WO/EOF that it won't let you set a not-nullable to null? Is there any way I can override this behavior? WO 5.4.3 on 10.5.6 Wonder and WoLips from about 2 weeks ago. Thanks very much, -Dan Grec

Re: Does "cascade delete" drill down multiple teirs?

2009-03-18 Thread Dan Grec
17, 2009, at 6:31 PM, Dan Grec wrote: Hey everyone, Simple setup in the model as follows: A Branch has many Employees with a cascade delete rule. An Employee has many Addresses with a cascade delete rule. When I delete a Branch, I would like EOF to automatically delete all of the associate

Does "cascade delete" drill down multiple teirs?

2009-03-17 Thread Dan Grec
Hey everyone, Simple setup in the model as follows: A Branch has many Employees with a cascade delete rule. An Employee has many Addresses with a cascade delete rule. When I delete a Branch, I would like EOF to automatically delete all of the associated Employees (which it is doing) and then

Re: do you want to blow your mind?

2008-10-20 Thread Dan Grec
On 18-Oct-08, at 8:52 AM, Mike Schrag wrote: All of this finagling on my part was because I wanted to implement a new type of component that would allow you to, for instance, create a component on your page that would act like an "embedded page," where instead of having the result of invokeA

Re: upload via drag and drop

2008-10-09 Thread Dan Grec
Surfing around I just found 20 Excellent AJAX Effects you should know Number 9 Ajax Directory Manager says it does drag-n-drop files and folders I haven't played with it yet, but I'd love to hear if it works. -Dan On 9-Oct-08, at 11:15 AM, John Huss wrote: Google gears may have that capab

Re: [OT] Eclipse class search shortcut

2008-09-19 Thread Dan Grec
I just tried it out, and it also works with Cmd+Shift+R (Open Resource) -Dan On 19-Sep-08, at 1:15 PM, Florijan Stamenkovic wrote: Something I just discovered, if you Cmd+Shift+T in Eclipse, to search for classes, you can search only on capitals, for example if searching for "OutOfMemoryEr

Re: Invalidating objects asynchronously

2008-09-08 Thread Dan Grec
id that JMS will not work, ever. Can you please expand on this? I was under the impression that JMS is used and relied upon heavily in the J2EE world. Will JMS + ERXRemoteSynchronizer be OK? (which I would think is the case, as JMS just delivers messages, the Wonder framework decides what

Invalidating objects asynchronously

2008-09-02 Thread Dan Grec
Hi everyone, We're having an interesting problem in our apps, and I wanted to see if anyone else has solved it. background: We're not using page-based editing contexts. Everything (!) is in the session().defaultEditingContext(). I know, this is bad. We're working hard to fix this for our ne

Re: WOWODC Videos

2008-06-16 Thread Dan Grec
Are the presentation slides online somewhere? Thanks, -Dan On 16-Jun-08, at 9:06 AM, David LeBer wrote: On 16-Jun-08, at 10:57 AM, Pascal Robert wrote: I think I should write a FAQ about that... Look like the recording is ok for the 5 minutes that I looked at, but I will look at it in fu

Disabling a form element server-side

2008-06-12 Thread Dan Grec
All, We're currently using the "disabled" binding (and thus HTML) to stop text entry into fields when a user doesn't have access. (i.e. WOTextField, WOCheckbox, etc) This presents a problem, as users can use an inline proxy or firebug to submit the data anyway, which gets saved. Our custome