EntityModler - EOEntityIndex

2009-11-03 Thread Ramsey Lee Gurley
Hi all, Is there any way to make use of EOEntityIndex in Entity Modeler? http://developer.apple.com/legacy/mac/library/documentation/InternetWeb/Reference/WO_BundleReference/Articles/EOModelBundle.html#//apple_ref/doc/uid/TP40004837-SW16 Ramsey smime.p7s Description: S/MIME cryptographic sig

Re: Customising D2W - adding filtering to list pages

2009-11-02 Thread Ramsey Lee Gurley
or so would be nice. Is there such a thing, and how do I use it? Thank you, Dan On Nov 1, 2009, at 3:45 PM, Ramsey Lee Gurley wrote: On Nov 1, 2009, at 6:37 PM, Ramsey Lee Gurley wrote: Hi Mark, If you're starting with ERNeu then you could always display the result list embedded in

Re: Customising D2W - adding filtering to list pages

2009-11-01 Thread Ramsey Lee Gurley
On Nov 1, 2009, at 6:37 PM, Ramsey Lee Gurley wrote: Hi Mark, If you're starting with ERNeu then you could always display the result list embedded in your query page with the showListInSamePage d2w key. That way, your search results simply load embedded in your query page and if

Re: Customising D2W - adding filtering to list pages

2009-11-01 Thread Ramsey Lee Gurley
Hi Mark, If you're starting with ERNeu then you could always display the result list embedded in your query page with the showListInSamePage d2w key. That way, your search results simply load embedded in your query page and if you'd like to add/update query parameters, they're right there.

Re: Actions from D2W pages

2009-10-26 Thread Ramsey Lee Gurley
On Oct 26, 2009, at 9:28 AM, Anjo Krank wrote: You mean ERXComponentActionRedirector.Restorable ERXComponentActionRedirector by itself is (for good reason!) "considered highly experimental"... Cheers, Anjo About that ... Do you have any ideas on what can be done to make it less experi

Re: Actions from D2W pages

2009-10-26 Thread Ramsey Lee Gurley
On Oct 26, 2009, at 7:53 AM, Mark Wardle wrote: Hi all, Would be grateful for advice regarding invoking actions from D2W pages, specifically, List and Inspect pages. I don't know if this is exactly what you want, but you might want to check out ERXComponentActionRedirector. I'd like t

Re: [OT] Pre-selecting a printer?

2009-10-25 Thread Ramsey Lee Gurley
No, that would be crazy, even for me (^_^) I was just wondering if it were possible to set up a client Mac to print automatically to a specific printer based on characteristics of the print job. So, let's say I have a color inkjet printer, a black and white laser printer, and a star receip

Re: [OT] Pre-selecting a printer?

2009-10-25 Thread Ramsey Lee Gurley
On Oct 25, 2009, at 4:26 PM, Andrew Lindesay wrote: Hi Ramsey; Are you able to just print directly to the printer from the application server? cheers. Is it possible, if I have control of the client machines, to select a printer based on the printed page size? Also, is it possible to

[OT] Pre-selecting a printer?

2009-10-25 Thread Ramsey Lee Gurley
Is it possible, if I have control of the client machines, to select a printer based on the printed page size? Also, is it possible to bypass the print dialog? I tried searching the Apple printing list but didn't come up with a lot of answers... Ramsey smime.p7s Description: S/MIME cryp

Re: 2009 surveys results

2009-10-25 Thread Ramsey Lee Gurley
On Oct 25, 2009, at 7:28 AM, Pascal Robert wrote: - "Chuck Hill" a écrit : On Oct 24, 2009, at 11:57 AM, Don Lindsay wrote: I agree with Robert, I created several tutorials for WebObjects as well as an installer for windows and linux. This is something that I use my spare time

Re: WOSwitchComponent question

2009-10-22 Thread Ramsey Lee Gurley
After reading your explanation Katya, the behavior of WOSwitchComponent makes perfect sense. What would happen if it removed the components from subcomponents after the WOComponent name changed? Well, for one, WOSwitchComponent would probably be unusable in a WORepetition. So, I don't th

Re: WOSwitchComponent question

2009-10-22 Thread Ramsey Lee Gurley
I'm a bit surprised by the behavior myself, and I'm not sure why it does that. I would imagine using a stateless component might help reduce the number of cached components. You can also simply return a clean page like public WOActionResults goToPageOne() { System.o

Re: WOActionResults

2009-10-20 Thread Ramsey Lee Gurley
On Oct 20, 2009, at 3:50 PM, Simon wrote: are you using a component to render xml ? if so, i think it's kind of asking for trouble. you better hope nobody ever hits ctrl-shift-f on that component or it might just screw everything up without anyone realising... Are you seeing errors with

Re: Snow Leopard and TimeZones

2009-10-19 Thread Ramsey Lee Gurley
On Oct 19, 2009, at 9:41 PM, David LeBer wrote: On 2009-10-19, at 9:36 PM, Michael Halliday wrote: On 2009-10-19, at 4:41 PM, David LeBer wrote: On 2009-10-13, at 3:58 PM, Michael Halliday wrote: It shows the following: michael$ date Tue 13 Oct 2009 15:57:50 EDT Michael, did you fin

Any way to remove a WOLips toolbar

2009-10-17 Thread Ramsey Lee Gurley
Hi all, I'm wondering if there's some secret to disabling the WOLips toolbar. The one with the purple buttons "Insert WOString" "Insert WOConditional" etc. If I right click the toolbar's drag thing and click customize perspective, then I can see options to disable/enable all the buttons

Re: Hudson and setupWorkspace.sh

2009-10-15 Thread Ramsey Lee Gurley
On Oct 15, 2009, at 8:38 AM, David Avendasora wrote: On Oct 14, 2009, at 8:54 PM, Ramsey Lee Gurley wrote: I tried to go all workspace not too long ago, and found that I could not get the frameworks to build properly with nothing Wonder related in the /Library/Frameworks folder. If I

Re: Community machine

2009-10-14 Thread Ramsey Lee Gurley
On Oct 13, 2009, at 7:36 PM, Pascal Robert wrote: Hello everyone, I'm about to create a Xen virtual machine that people can use to host their own WO open source projects/tools. I was planning to install: - Apache httpd 2.2 - WO 5.4.3 with Wonder's version of JavaMonitor and wotaskd - Fro

Re: Hudson and setupWorkspace.sh

2009-10-14 Thread Ramsey Lee Gurley
On Oct 14, 2009, at 4:22 PM, David Avendasora wrote: On Oct 14, 2009, at 4:05 PM, Mr. Frank Cobia wrote: Mike's setupWorkspace.sh simply grabs the framework's tar.gz file and extracts the framework into your project's Root/Library/ Frameworks (if I remember correctly). Obviously you could

Re: WO alternatives

2009-10-09 Thread Ramsey Lee Gurley
I say this with the utmost respect of the work put into the open source ORM frameworks out there, but if I were to look at tech outside of WO, it would probably be something other than a "me too" ORM framework. I can't say I've looked much, but I've yet to find anything outside of WO that

Re: HTTPS Connection

2009-09-27 Thread Ramsey Lee Gurley
Another good link you might want to check out, http://homepage.mac.com/kelleherk/iblog/C149402102/E773353034/index.html (^_^) Ramsey On Sep 21, 2009, at 11:41 AM, Kieran Kelleher wrote: Don't waste your time with WOHttpConnection. Use Apache HttpClient. http://hc.apache.org/httpclient-3.x/

D2W query broken

2009-09-26 Thread Ramsey Lee Gurley
Hi all, but mainly Travis, I've noticed a new query validation delegate has made it into ERDirectToWeb. I like the potential to filter out searches based on input. However, this implementation is breaking what I have. Empty queries no longer work. May I suggest returning a null delegate

Re: Updated to 3.5 and now lots of html errors

2009-09-24 Thread Ramsey Lee Gurley
/1999/xhtml";; } On Sep 24, 2009, at 8:01 AM, Mike Schrag wrote: i'm surprised you can't do CheckboxWrapper : WOGenericContainer { // VALID On Sep 24, 2009, at 7:48 AM, Ramsey Lee Gurley wrote: On Sep 23, 2009, at 11:45 PM, Ramsey Lee Gurley wrote: Of cours

Re: Updated to 3.5 and now lots of html errors

2009-09-24 Thread Ramsey Lee Gurley
On Sep 23, 2009, at 11:45 PM, Ramsey Lee Gurley wrote: Of course, this works fine, but it gives me a red X. The trick that worked before was... CheckboxWrapper //VALID : WOGenericContainer { That was a bit of overkill because it disabled validation on the whole WOD, but it did work

Re: Updated to 3.5 and now lots of html errors

2009-09-23 Thread Ramsey Lee Gurley
On Sep 23, 2009, at 11:16 PM, Mike Schrag wrote: I just updated to 3.5. It's very fast. I like it a lot (^_^) However, I'm getting *lots* of red Xs in ERExtensions and ERDirectToWeb regarding unclosed ... that sort of thing. Now, for my stuff, I like that... but for the wonder framewor

Updated to 3.5 and now lots of html errors

2009-09-23 Thread Ramsey Lee Gurley
Hi all, I just updated to 3.5. It's very fast. I like it a lot (^_^) However, I'm getting *lots* of red Xs in ERExtensions and ERDirectToWeb regarding unclosed ... that sort of thing. Now, for my stuff, I like that... but for the wonder frameworks, some of those things are correct bec

Re: WebObjects 5.4.3 and SQL Server 2005

2009-09-22 Thread Ramsey Lee Gurley
On Sep 22, 2009, at 2:05 PM, Chuck Hill wrote: On Sep 22, 2009, at 9:57 AM, David Avendasora wrote: On Sep 22, 2009, at 12:19 PM, Chuck Hill wrote: On Sep 22, 2009, at 9:07 AM, David Avendasora wrote: On Sep 22, 2009, at 11:29 AM, Freddie Tilley wrote: Value class of type NSNumber doe

Re: Help: D2W attributes' defaults when via relationships

2009-09-19 Thread Ramsey Lee Gurley
On Sep 19, 2009, at 10:45 AM, Mr. G Brown wrote: Hi, ER/D2W will pick an attribute for a related entity. Often, I find, it picks an attribute I don't want. : < ( Is there any good general way to choose which attribute gets thrown up in edit/inspect tasks? 100: entity.name = 'MyEntity' =>

Re: Localization

2009-09-17 Thread Ramsey Lee Gurley
("$ #,##0.00"); numberFormatter.setLocalizesPattern(true); numberFormatter.setCurrencySymbol("€"); But this is the rendered html: ? 3.500,00 Francesco Il giorno 17/set/2009, alle ore 13.49, Ramsey Lee Gurley ha scritto: Hi Francesco, Where is the EURO sign failing? Is it st

Re: Localization

2009-09-17 Thread Ramsey Lee Gurley
have different .nib files..plus using the .string file for "programmatic" localization). And.. what about the EURO sign? Why I can't render it?? Il giorno 17/set/2009, alle ore 01.24, Ramsey Lee Gurley ha scritto: Hi Francesco, I'll second what Pascal is saying. U

Re: Localization

2009-09-16 Thread Ramsey Lee Gurley
Hi Francesco, I'll second what Pascal is saying. Unless you really _need_ a localized component, stick to localized strings. You'll just end up making your app *a lot* harder to maintain with lots of localized WOComponents. It's simple math... two components = twice the work. :-) Ramse

Re: Default values for new objects d2w

2009-09-14 Thread Ramsey Lee Gurley
Yep, that's your problem :-) The submit action attempts to save before calling next page. Try setting the relationship as you go into the edit page. How are you getting in there? Also, are child and parent the same or different entities? Ramsey On Sep 14, 2009, at 10:30 AM, Freddie

Re: Where to put D2W Rules FAQ ?

2009-09-12 Thread Ramsey Lee Gurley
On Sep 12, 2009, at 11:15 AM, David LeBer wrote: On 2009-09-12, at 10:09 AM, Mr. G Brown wrote: On Sep 11, 2009, at 7:05 PM, Ted Archibald wrote: It might be useful to include a simple version of the rules as the full version might be confusing to some e.g.: 101: task='edit' => pageWra

Re: D2W: How to turn on relationship editing? SOLVED!

2009-09-09 Thread Ramsey Lee Gurley
From a security standpoint, I'd say Wonder gets it right. I'd rather have to turn things on, rather than forget/be unaware of something and be left exposed by the defaults. Just my 2 cents though... Ramsey On Sep 9, 2009, at 5:17 PM, Greg Brown wrote: Should the default rules that ship wi

Re: WOTable does not work for me with WO 5.4.2

2009-09-08 Thread Ramsey Lee Gurley
ut in this case i does not see this it works now fine. Frank Am 08.09.2009 um 13:31 schrieb Ramsey Lee Gurley: On Sep 8, 2009, at 4:37 AM, Francisc Simon wrote: HIi @all, i've followed this tutorial: http://wotutorial.furfly.com/downloads.html to create an WOTable but it does not s

Re: WOTable does not work for me with WO 5.4.2

2009-09-08 Thread Ramsey Lee Gurley
On Sep 8, 2009, at 4:37 AM, Francisc Simon wrote: HIi @all, i've followed this tutorial: http://wotutorial.furfly.com/downloads.html to create an WOTable but it does not show any results. The results are in the NSArray object but they does not be displayed: # WO ###

Re: D2W: How to turn on relationship editing?

2009-09-07 Thread Ramsey Lee Gurley
On Sep 7, 2009, at 6:49 PM, Mr. G Brown wrote: Hello, On Sep 7, 2009, at 11:32 AM, David LeBer wrote: Are they being displayed but are not editable in an edit form? They are displayed, if there is a linked record in the linked-to- table, it lists the attributes, but not a way that enabl

Re: KeyValueConditional

2009-09-07 Thread Ramsey Lee Gurley
If you're using Wonder, have a look at ERXKeyValueCodingUtilities. http://webobjects.mdimension.com/hudson/job/Wonder53/javadoc/er/extensions/foundation/ERXKeyValueCodingUtilities.html You could just plant a handle to this thing in your application subclass public NSKeyValueCodingAdditions stat

Re: WO Deployment [was:A WebObjects article on Appleinsider]

2009-09-01 Thread Ramsey Lee Gurley
On Jul 9, 2009, at 10:11 AM, Mr. Pierre Frisch wrote: Andrew, There was some test made 3 years ago to use the mod_proxybalancer for WO and it works well. There 2 issues to fix: one is trivial the session id key is "sessionid" and not "wosid" 5.4 and later support changing that key. The o

Re: Snow Leopard Development and Deployment

2009-08-31 Thread Ramsey Lee Gurley
On Aug 31, 2009, at 6:21 PM, Mike Schrag wrote: Please provide links and installation instructions to download the new WebObjects 5.5, for both: There is no public WebObjects 5.5 release yet. ms I think *really soon* is a safe bet though... Notice the URL on the latest API docs lately?

MySQL plugin used in the WOWODC demo today

2009-08-29 Thread Ramsey Lee Gurley
http://issues.objectstyle.org/jira/browse/WONDER-339 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/Unsubscr

Re: D2W User Presentable Description

2009-08-27 Thread Ramsey Lee Gurley
On Aug 27, 2009, at 7:35 AM, Don Lindsay wrote: Hello; I am working on my first D2W application, Web Objects 5.4. I have a D2WEditToManyFault, the only option I have in Target Key is userPresentableDescription, in the assistant. How can I set the target key, without having to create cl

Re: D2W to one relationship sort ordering and display

2009-08-20 Thread Ramsey Lee Gurley
On Aug 20, 2009, at 3:24 AM, Mark Wardle wrote: Hi all, Struggling with this: Can't get the destination sorted properly using D2W. I have FormEdss <<-> EdssScore (task = 'edit' and entity.name = 'FormEdss' and propertyKey = 'edssScore') -> componentName = "D2WEditToOneRelationship" (task

Re: D2W Question, Embedding D2WList in non D2W Component

2009-08-17 Thread Ramsey Lee Gurley
path the three frameworks per apple docs to enable d2w integration. I'm working under the assumption that I'm missing a step. Thanks, Mark Sent from my iPhone On 17 Aug 2009, at 13:30, Ramsey Lee Gurley wrote: The select component would be useful if you are setting up something

Re: D2W Question, Embedding D2WList in non D2W Component

2009-08-17 Thread Ramsey Lee Gurley
The select component would be useful if you are setting up something like a master detail interface. You would have a select component followed by an inspect component bound to the selected object. Please give more details regarding how the inspect button is not functioning. Is it not vis

Re: D2W - Component to edit a many-to-many relationship with a meaningful attributes in the join table

2009-08-17 Thread Ramsey Lee Gurley
Hi James, Off the top of my head, you can edit a to-many relationship in couple of ways. If you use an edit to many fault component, you will edit the relationship in the EditRelationship page of your app. If you use an edit to many relationship component, you'll typically get a list of

Re: Follow up on Rule Modeler and Repetitions

2009-08-14 Thread Ramsey Lee Gurley
61ea/Direct_To_Web_Tutorial.html . It is a work in progress. Furthermore, would anyone like to help coach and guide me in finishing this example? I would like to make it available for community benefit when finished. Thank you, Dan On Aug 13, 2009, at 6:24 PM, Ramsey Lee Gurley wrote:

Re: Follow up on Rule Modeler and Repetitions

2009-08-13 Thread Ramsey Lee Gurley
I don't think you're going to find a plethora of components to - display- a list using a WOBrowser. Being a form control, it implies submitting a value. Using it outside of a form is completely non standard and counter intuitive to end users. The only standard components that use it which

Re: Trouble disabling/nulling href of a WOHyperlink using JavaScript

2009-08-12 Thread Ramsey Lee Gurley
On Aug 11, 2009, at 2:20 PM, Matthew Kidd wrote: I'm attempting to copy and store the href attached to a WOHyperlink so that I can deactivate a "button" on a form. Numerous attempts have resulted in the closest attempt being a link that appears to refer to the previous page. Is there a

Re: Service return limited to 100

2009-08-03 Thread Ramsey Lee Gurley
I'm going to guess and say it is the 'fetchLimit' key. It looks like it's set in the framework's d2wmodel at /System/Library/Frameworks/JavaWebServicesGeneration.framework/ Resources/d2w.d2wmodel Ramsey On Aug 3, 2009, at 12:36 PM, Mat Johnson wrote: I am using WO 5.3 and MySQL 5.0.2. I

Re: CalDAV and WebCalendars

2009-08-02 Thread Ramsey Lee Gurley
On Aug 2, 2009, at 6:21 AM, Klaus Berkling wrote: On Jul 21, 2009, at 5:23 PM, Amedeo Mantica wrote: Now I need to create an html page for displaying the events in a beautiful calendar like look. Do you (and all readers) know if there is already a Wonder Element that do this?? If not,

Re: CSS with images

2009-07-14 Thread Ramsey Lee Gurley
work fine now.. thanks Rukmal On 14 Jul 2009, at 17:48, Ramsey Lee Gurley wrote: Oops, just noticed... you are using background-repeat in background- image. The browser will drop that line as a result. Use just background: url("test.jpg") repeat-x; Ramsey On Jul 14, 2009, at

Re: CSS with images

2009-07-14 Thread Ramsey Lee Gurley
.jpg") repeat-x; height: 130px; font-size = 30pt; } yes style sheet and the image is in the same folder, i.e WebServerResources Other options works fine such as font-size etc, and only the image is missing.. thanks Rukmal On 14 Jul 2009, at 17:30, Ramsey Lee Gurley wrote:

Re: CSS with images

2009-07-14 Thread Ramsey Lee Gurley
On Jul 14, 2009, at 6:12 AM, Rukmal Dias wrote: hi, I need to use css with images (e.g: background-image: "../ image.gif";) I used ERXStyleSheet and checked, but images are not applied as back-grounds etc. SSCSS : ERXStyleSheet{ filename = "viewport_dragresize.css"; fram

Re: 2 New Tutorials

2009-06-25 Thread Ramsey Lee Gurley
Wow! Those are awesome David. I've been wanting to do a little of both recently, so your tutorials will be a big kick in the pants to get me started (^^) Thanks for posting them! Ramsey On Jun 25, 2009, at 4:23 PM, David Avendasora wrote: Hey all, I've uploaded two new tutorials to the

WOLips - Eclipse compatibility?

2009-06-24 Thread Ramsey Lee Gurley
Hi all, I'm wondering what versions of Eclipse are currently compatible with WOLips. I ask because I just started looking at the Android SDK and the Eclipse Classic environment is specifically listed as not supported. Does WOLips work with Eclipse for Java Developers, JEE, or RCP versio

Re: How can I use a components code?

2009-06-20 Thread Ramsey Lee Gurley
Hi James, So you want to start with the list results? It sounds like you should be able to set that up using the startupTask, startupEntityName, and restrictingFetchSpecification keys in your rule file. Ramsey On Jun 19, 2009, at 10:22 AM, James Cicenia wrote: Hello - I am not thinking

Re: D2WQueryPage queryBindings creating an "OR" vs an "AND"

2009-06-15 Thread Ramsey Lee Gurley
Using Wonder? If so, I think you should be able to pull it off by overriding ERD2WQueryPage's qualifier() method. Ramsey On Jun 15, 2009, at 5:42 PM, James Cicenia wrote: You did? Hmmm. So does that mean I can't? Which documentation? Thanks On Jun 15, 2009, at 4:31 PM, David Holt wrote:

Re: .WO woes

2009-05-31 Thread Ramsey Lee Gurley
Okay, all are filed. Thanks guys. Ramsey On May 31, 2009, at 8:28 AM, Mike Schrag wrote: I have run into three separate issues with WO editing recently in WOLips and I'm wondering if there's some setting I've missed or accidently turned off in Eclipse. I'm using WOLips 5800 nightly. Iss

.WO woes

2009-05-30 Thread Ramsey Lee Gurley
Hi everyone, I have run into three separate issues with WO editing recently in WOLips and I'm wondering if there's some setting I've missed or accidently turned off in Eclipse. I'm using WOLips 5800 nightly. Issue 1: No content assist between the : and { in the wod file. Issue 2: (Notice

Re: D2W: article at stepwise.com, references in wiki

2009-05-11 Thread Ramsey Lee Gurley
Did you see this one? I hope to work on more when time allows... http://wiki.objectstyle.org/confluence/pages/viewpage.action?pageId=4129115 Ramsey On May 11, 2009, at 7:03 AM, Paul Hoadley wrote: Hello, The images for the article "The Best Kept Secret of The Best Kept Secret" at: http:

Re: Passing a wrapper component to a page-level component

2009-05-06 Thread Ramsey Lee Gurley
On May 6, 2009, at 11:15 PM, Paul Hoadley wrote: On 06/05/2009, at 9:57 AM, Paul Hoadley wrote: On 06/05/2009, at 9:02 AM, Ramsey Lee Gurley wrote: If you wanted, you could set up a page configuration to use your EditFooPage component and have D2W return it like it would any other page

Re: Passing a wrapper component to a page-level component

2009-05-05 Thread Ramsey Lee Gurley
On May 5, 2009, at 8:27 PM, Paul Hoadley wrote: On 06/05/2009, at 9:02 AM, Ramsey Lee Gurley wrote: If you wanted, you could set up a page configuration to use your EditFooPage component and have D2W return it like it would any other page component. However, if your EditFooPage.wo does

Re: Passing a wrapper component to a page-level component

2009-05-05 Thread Ramsey Lee Gurley
On May 5, 2009, at 8:38 AM, Paul Hoadley wrote: Hi Ramsey, On 05/05/2009, at 8:24 AM, Ramsey Lee Gurley wrote: What I want to do is simple: have the general (non-app) page-level components wrapped by the (app-specific) LAF.wo. At the moment, I'm doing this by creating a proxy page-

Re: Passing a wrapper component to a page-level component

2009-05-04 Thread Ramsey Lee Gurley
On May 2, 2009, at 5:24 AM, Paul Hoadley wrote: Hello, Say I have an application that depends on some frameworks containing some more general code and components. Some of the general components are page-level components. Every page-level component in the application contains a wrapper

Re: ERXMigrationDatabase and postUpgrade

2009-04-11 Thread Ramsey Lee Gurley
On Apr 11, 2009, at 1:18 AM, Sanford Selznick wrote: At 2:22 PM -0700 4/10/09, Mike Schrag wrote: PS - Wouldn't it be cool if the migration generator in Entity Modeler would use the string constants from the model for table and column names instead of in-line strings? :-) it can't for two

Re: Project templates failing to load in nightly?

2009-04-05 Thread Ramsey Lee Gurley
Answering one of my two questions... no, this does not seem to affect the latest stable. On Apr 5, 2009, at 5:28 PM, Ramsey Lee Gurley wrote: Is anyone else experiencing this? I'm trying to create a new project in 5713 nightly and it fails, giving me this in the Console.app Apr 5

Project templates failing to load in nightly?

2009-04-05 Thread Ramsey Lee Gurley
Is anyone else experiencing this? I'm trying to create a new project in 5713 nightly and it fails, giving me this in the Console.app Apr 5 17:12:17 ramchu [0x0-0x63063].org.eclipse.eclipse[0]: !ENTRY org.objectstyle.wolips.templateengine.TemplateEnginePluginResources 4 4 Apr 5 17:12:17 ramc

Re: What's the safe way to round?

2009-03-01 Thread Ramsey Lee Gurley
Have you tried EOAttribute's validateValue? Ramsey On Mar 1, 2009, at 4:36 PM, Joe Moreno wrote: Hi all, I have set my database Scale on all floats to 7. Sometimes, due to match or rounding, the scale goes beyond that and I get the following exception: [2009-03-01 13:26:28 PST] : Exce

Re: Wonder Templates simple question?

2009-02-21 Thread Ramsey Lee Gurley
The _WonderEntity.java and WonderEntity.java? are there? Gus On 21.2.2009, at 15:51, Ramsey Lee Gurley wrote: Also on the wiki :-) http://wiki.objectstyle.org/confluence/pages/viewpage.action?pageId=2655245 On Feb 21, 2009, at 9:46 AM, Gustavo Pizano wrote: YEs i know that, what I mean, is that if I ne

Re: Wonder Templates simple question?

2009-02-21 Thread Ramsey Lee Gurley
WOLips), if they are not, where are they uploaded? I can't find them... Don't ask me why. :P Gus On 21.2.2009, at 15:26, Ramsey Lee Gurley wrote: You can set them in your eogen file too. Rather than change the defaults for every project, I generally just use a folder in the workspa

Re: Wonder Templates simple question?

2009-02-21 Thread Ramsey Lee Gurley
You can set them in your eogen file too. Rather than change the defaults for every project, I generally just use a folder in the workspace like so... http://wiki.objectstyle.org/confluence/display/WOL/Using+custom+eogen+templates On Feb 21, 2009, at 3:58 AM, Gustavo Pizano wrote: Hello, we

Re: New D2W Overview

2009-02-15 Thread Ramsey Lee Gurley
(^_^) Thank you! I take that as a big compliment David. I hope to add more to the D2W docs in the near future. Ramsey On Feb 13, 2009, at 1:03 PM, David Holt wrote: Hey all, I've got to congratulate Ramsey for writing the clearest overview of D2W I have ever seen. If you haven't read it,

Re: D2W: Rules for the sub components of the EditRelationship page

2009-01-06 Thread Ramsey Lee Gurley
On Jan 6, 2009, at 6:41 AM, Kamal D Shah wrote: Hi, The EditRelationship page has a list, query and select sub- components. What rules can I specify to modify the behavior of the sub components? For example, I would like to specify the displayPropertyKeys of the list sub component. It c

Re: 'object' not getting initialized in D2WCustomComponent sub class

2009-01-06 Thread Ramsey Lee Gurley
The values for object and key should be getting passed to the component by your page. Making them public might get them to synchronize... If you just bind your string value to ^object.name in the wod file, I think it should work for you. If you really need to do it in the java file, you

Re: Recording and looking up dates, when day-wide precision is required

2008-12-31 Thread Ramsey Lee Gurley
On Dec 31, 2008, at 11:09 AM, Stamenkovic Florijan wrote: On Dec 30, 2008, at 21:03, Lachlan Deck wrote: No. Whether it's a web app or JC is irrelevant. Really? How strange... I would assume it is substantially different, for a whole range of reasons. But I'll take your word for it, seein

Re: [OT] New WO Years Resolutions.

2008-12-30 Thread Ramsey Lee Gurley
On Dec 19, 2008, at 10:03 PM, Q wrote: This is my list of new WO years resolutions currently: - Watch all the WOWODC videos - Use Click-To-Open / Click-To-Debug more - Use JavaRebel more - Learn Direct 2 Web - Start using ERSelenium - Check out using JavaClient / JBND - Check out using GWT + W

Re: Distinct set of objects?

2008-12-11 Thread Ramsey Lee Gurley
setUsesDistinct()? http://developer.apple.com/documentation/DeveloperTools/Reference/WO541Reference/index.html On Dec 11, 2008, at 4:05 PM, James Cicenia wrote: Ok - Brain cramps must be contagious... but no matter how hard I try, I can't eliminate duplicate objects. I have tried set unions

Re: Couting the objects that would be returned by a fetchspecification

2008-12-11 Thread Ramsey Lee Gurley
And veogen templates to make all of your EOs do it based on that method... http://wiki.objectstyle.org/confluence/display/WOL/Count+To-Many+Objects+without+Loading Ramsey On Dec 11, 2008, at 5:55 AM, Alan Zebchuk wrote: Of course if you're using wonder there's ERXEOControlUtilities.objectC

Re: WO Community Surveys are coming up!

2008-12-10 Thread Ramsey Lee Gurley
Hi Pascal, Would it be possible to add a question to gauge community interest in Apple providing some kind of WO cloud service through mobileme/dotmac or some other means? Deployment is generally the biggest kludge and if I had a deployment folder in my iDisk and a monitor page on my me.

Re: Hyperlink in Image Map?

2008-12-10 Thread Ramsey Lee Gurley
,412,111"> SearchElement: WOGenericElement{ shape="rect"; coords="358,96,412,111"; elementName = "area"; alt="search" ; invokeAction = search; onClick = "EditForm.submit();return false;"; titl

Re: Hyperlink in Image Map?

2008-12-10 Thread Ramsey Lee Gurley
Hi James, I think you need to use invokeAction. There is no action binding on WOGenericElement http://developer.apple.com/documentation/WebObjects/Reference/DynamicElements/WOGenericElement/chapter_16_section_3.html#/ /apple_ref/doc/uid/TP30001055-CH17-TPXREF103 Ramsey On Dec 10, 2008, a

Re: Question about UI technique for adding a new object to a list

2008-12-08 Thread Ramsey Lee Gurley
And if you're using wonder... ERXGenericRecord's isNewObject()... :) Ramsey On Dec 8, 2008, at 5:07 PM, David Nahodil wrote: Heya, If you have an isNew() method on your EOs to check if they are new in their editing context you could try filtering using that too. Something like this (or th

Re: Custom Type for NSTimestamp

2008-12-08 Thread Ramsey Lee Gurley
NSTimestamp's getTime()? Ramsey On Dec 8, 2008, at 4:07 PM, David Avendasora wrote: Hi all, I'm trying to work with an existing database where they have stored date/time information as a Long Integer in the database. I'm trying to figure out the best way to use a Custom Type in the Enti

Re: 5.4 puts absolute URL in form path

2008-12-06 Thread Ramsey Lee Gurley
I think secure binding allows you to submit a form in a secure fashion from an otherwise insecure page. I'm not sure why you're seeing complete URLs, but have you tried context().generateRelativeURLs()? If that works, maybe you could override WOApplication's createContextForRequest method

Re: D2W and Ajax

2008-12-04 Thread Ramsey Lee Gurley
On Dec 4, 2008, at 9:21 PM, Ted Archibald wrote: When I put the update container on my inspect/edit page outside of the property repetition everything works fine, but inside the property repetition, it fails. I'm sure it fails because of the D2W generation/rendering process, and I'm not really

Re: Wonder prototypes docs ?

2008-12-03 Thread Ramsey Lee Gurley
On Dec 3, 2008, at 4:49 AM, Simon McLean wrote: As far as how Wonder uses prototypes differently, Wonder (and now 5.4) have vendor-specific prototypes, meaning you can define EOJDBCFrontBasePrototypes (or is it EOFrontBaseJDBCPrototypes ... I never remember) and Entity Modeler and the run

Re: Wonder prototypes docs ?

2008-12-02 Thread Ramsey Lee Gurley
There's not anything particularly different or special about Wonder's prototypes that I know of... they're just pre-configured prototypes for several different databases. That makes them incredibly convenient. How to use prototypes in general is documented here: http://developer.apple.com/

Re: Localization problem, hello world too [solved]

2008-12-02 Thread Ramsey Lee Gurley
On Dec 2, 2008, at 2:53 AM, Anjo Krank wrote: Am 02.12.2008 um 08:04 schrieb Anjo Krank: If it doesn't, rewrite the method so it re-orders the nsarray so that it still has all items from _expectedLanguages, but the ones from nsarray come first and in order and post a patch. I checked in

Re: Localization problem, hello world too

2008-12-01 Thread Ramsey Lee Gurley
en if English is the default) So this makes me think that either I'm missing something or something is broken... Does anybody use localized components successfully? Is this totally unsupported? In our legacy apps, the former developper made heavy use of localized components :-( PHiL

Re: Localization problem

2008-11-28 Thread Ramsey Lee Gurley
Are you sure you have a session? If you don't have one, the app will go with the server's default language no matter what you set in the browser. http://wiki.objectstyle.org/confluence/display/WO/Web+Applications-Development-Localization+and+Internationalization Try the method near the bott

Re: WO eats HTML comments?

2008-11-25 Thread Ramsey Lee Gurley
itzer wrote: setIncludeCommentsInResponses(true) in your application. cug On 25.11.2008, at 11:52, Ramsey Lee Gurley wrote: Hi all, I'm trying to do something using IE's conditional comments (http://juicystudio.com/article/object-paranoia.php ) and what starts as Comes

Re: WO eats HTML comments?

2008-11-25 Thread Ramsey Lee Gurley
aping turned off, I think, but not sure). Yours Miguel Arroz On 2008/11/25, at 18:52, Ramsey Lee Gurley wrote: Hi all, I'm trying to do something using IE's conditional comments (http://juicystudio.com/article/object-paranoia.php ) and what starts as Comes out on the page looking like:

WO eats HTML comments?

2008-11-25 Thread Ramsey Lee Gurley
Hi all, I'm trying to do something using IE's conditional comments (http://juicystudio.com/article/object-paranoia.php ) and what starts as Comes out on the page looking like:

Re: Backtracking error while using Wonder Ajax components

2008-11-24 Thread Ramsey Lee Gurley
Storing session IDs as cookies and then blocking cookies perhaps? Ramsey On Nov 24, 2008, at 12:50 PM, J Stephanos wrote: >Are your Application and Session classes extending ERXApplication and ERXSession? Yes I am extending ERXApplication and ERXSession. --JSt On Mon, Nov 24, 2008 at 12:3

Re: directActionURLForActionNamed should not escape the URL

2008-11-23 Thread Ramsey Lee Gurley
WOActionURL? Ramsey On Nov 23, 2008, at 6:06 PM, Miguel Arroz wrote: Hi! Is there any way to make WOContext's directActionURLForActionNamed method NOT escape the URL? This seems pretty dumb, as I might not want to use the URL in an HTML document... replacing & for & is a workaround tha

Re: Error generating SQL in WOLips

2008-11-19 Thread Ramsey Lee Gurley
I should clarify that the process fails after clicking the (Execute SQL) button. The actual generation seems to work okay. If no one else has any reports good or bad about this, I will go ahead and file a bug on JIRA tomorrow. Ramsey On Nov 19, 2008, at 2:12 PM, Ramsey Lee Gurley wrote

Re: Error generating SQL in WOLips

2008-11-19 Thread Ramsey Lee Gurley
same project successful again. The only change made was an upgrade from 5503 to 5547. Removing the change removed the problem. Ramsey On Nov 19, 2008, at 12:37 PM, Ramsey Lee Gurley wrote: Yes On Nov 19, 2008, at 4:23 AM, Q wrote: Check the build path of the project that model is in

Error generating SQL in WOLips

2008-11-18 Thread Ramsey Lee Gurley
I'm using the latest nightly build of WOLips and I'm getting the following error when attempting to generate SQL in Entity Modeler. It appears that class was modified recently (5525). Is anyone else having difficulty with SQL generation on WOLips nightly? java.lang.NoClassDefFoundError: c

Re: NSMacOSRomanStringEncoding UnsupportedEncodingException

2008-11-18 Thread Ramsey Lee Gurley
I'm in the midst of upgrading my dev environment and I'm actually seeing a bit of weirdness related to this. I'm using wonder source and for some reason all my WOO files automatically converted in Eclipse from MacRoman to UTF-8... but only in ERExtensions build 8627. In ERDirectToWeb, all

Re: NSMacOSRomanStringEncoding UnsupportedEncodingException

2008-11-18 Thread Ramsey Lee Gurley
Okay, so I've tried this twice now, and both bounced immediately. I hope three of these don't show up on the list, but I think the problem must have been how my mobileme System preference automatically set up my email account's reply address. Trying one more time... On Nov 17, 2008, at 4:

<    1   2   3   >