Example needed for ERD2WEditToOneRelationshipWithFilter

2011-03-09 Thread Markus Ruggiero
Could someone please give me a short example for the use of ERD2WEditToOneRelationshipWithFilter? The minimalist documentation is (to me) of not much help. Lets say I need to create a toOneRelationship to entity TechnicalDoc where the attribute isReady is true. Relationship to technical docs

Indexes on Postgresql using EOF Modeler

2011-03-09 Thread Paul Dunkler
Hi folks, i'm currently working with WOLipse and the EntityModeler for creating a postgres-driven database model. Everything works fine except the creation of indexes. I can create new indexes on tables, but they aren't included in the sql-output generated by the modeler. Only the indexes on

Re: Indexes on Postgresql using EOF Modeler

2011-03-09 Thread Michael Gargano
I believe Mike S. said that indexes were added in 5.4 and the modeler doesn't support them because there's no API. You have to add them programmatically in your migration script. If you search the archives you can get his exact response. I asked in Oct. or Nov. last year. :) -the other Mike

Re: Apple Maven support and WOLips

2011-03-09 Thread Jim Kinsey
Thanks Lachlan, I'll give this a go over the course of the day and if necessary polish up the wiki. Already it's failing at step 2, but this may be a local settings problem and I'm investigating: $ mvn woboostrap:install [INFO] Scanning for projects... [INFO] Searching repository for plugin

Re: Apple Maven support and WOLips

2011-03-09 Thread Jim Kinsey
On the other hand, maybe I should be installing wobootstrap rather than woboostrap... sorry! On 9 Mar 2011, at 12:11, Jim Kinsey wrote: Thanks Lachlan, I'll give this a go over the course of the day and if necessary polish up the wiki. Already it's failing at step 2, but this may be a

Re: ERCalendar usage

2011-03-09 Thread ISHIMOTO Ken
+100 m( __ __ )m Ken On 2011/03/08, at 20:23, Dan Beatty wrote: +1 Dan On 3/8/11 10:38 AM, Paul D Yu p...@mac.com wrote: I've tried using it, and would be happy to upgrade! Sent from my iPhone On Mar 8, 2011, at 1:12 PM, Pascal Robert prob...@macti.ca wrote: Anyone using

Re: Indexes on Postgresql using EOF Modeler

2011-03-09 Thread John Huss
For what it's worth, WO 5.4 added some methods to EOSchemaGeneration to allow for index creation. These could be implemented in the PostgresqlPlugIn framework in the 5.4 branch and then I think this would work. So it just needs an enterprising individual to step up. John On Wed, Mar 9, 2011 at

Re: Indexes on Postgresql using EOF Modeler

2011-03-09 Thread Ramsey Gurley
On Mar 9, 2011, at 4:32 AM, Michael Gargano wrote: I believe Mike S. said that indexes were added in 5.4 and the modeler doesn't support them because there's no API. You have to add them programmatically in your migration script. To elaborate, I believe you can replace the eogen

Shortened autogenerated names

2011-03-09 Thread arosenzweig
Hello fellow WOrriors, Have you ever looked at the names given to WO input fields such as WOTextFields? They could look like one of the following: name=0.15.37.1.1.1.0.0.3 name=0.15.37.1.5.7.1.21.1.29.270710975.3.1.1.3.8.1.0.5 They tend to get longer the more times they are nested inside of

Re: Shortened autogenerated names

2011-03-09 Thread Mike Schrag
You'll blow up components that rely on the dot notation implying nesting structure (WORepetition begin a notable victim). You might be able to get away with only generating parentid.childid, though? You could also pack these into a value a lot shorter than ascii versions of decimal numbers. On

Re: Shortened autogenerated names

2011-03-09 Thread Ramsey Gurley
On Mar 9, 2011, at 10:35 AM, arosenzw...@clinworx.com wrote: Hello fellow WOrriors, Have you ever looked at the names given to WO input fields such as WOTextFields? They could look like one of the following: name=0.15.37.1.1.1.0.0.3

Re: Shortened autogenerated names

2011-03-09 Thread Mike Schrag
Why couldn't one use a randomly generated unique ID that is ten characters long (or so)? There *could* be name collision but the chances would be small. Alternatively, why not invent a context sequence that starts at 1 and counts up throughout the Request-Response loop? That would

Re: Shortened autogenerated names

2011-03-09 Thread arosenzweig
Ramsey that's a great tip! I didn't know we had such easy access to compression. I took out a sample 20KB row of HTML data we were generating so I could experiment. If I use GREP to manually strip out whitespace and then shorten all autogenerated names to 10 characters long this dropped from

Re: Shortened autogenerated names

2011-03-09 Thread Anjo Krank
Am 09.03.2011 um 19:04 schrieb Mike Schrag: Why couldn't one use a randomly generated unique ID that is ten characters long (or so)? There *could* be name collision but the chances would be small. Alternatively, why not invent a context sequence that starts at 1 and counts up throughout

Useful tip: simulate slow internet access on a fast LAN

2011-03-09 Thread arosenzweig
Hi fellow WOrriors, Thought I'd share a tip that works on Mac OS X to simulate a slow internet connection. Gives you a nice visceral feel for how your app performs in the wild. You need at least two simple scripts: throttle_30kb.sh (simulates fast dialup connection): ===

Re: Useful tip: simulate slow internet access on a fast LAN

2011-03-09 Thread Miguel Arroz
Hi, I have instructions on a blog post for that: http://terminalapp.net/emulating-a-slow-internet-link-for-http/ I can use it to test in the same machine, given, of course, you're accessing apache on the default port (otherwise you need to adjust the ports). However, I think Mike has a

ERXBooleanSelector Error?

2011-03-09 Thread Jeffrey Simpson
I think I found a bug in the ERXBooleanSelector component. If you have an 2 instance of ERXBooleanSelector on a page one as a popup and one as radio buttons the option field was left with false in it. This cause my noSelectionString to end up the same as my noString on the second instance.

Re: ERXBooleanSelector Error?

2011-03-09 Thread Chuck Hill
It is a bug. Can you file a Jira: http://wiki.objectstyle.org/confluence/display/WONDER/Creating+and+Submitting+an+Acceptable+Patch Chuck On Mar 9, 2011, at 11:08 AM, Jeffrey Simpson wrote: I think I found a bug in the ERXBooleanSelector component. If you have an 2 instance of

Problem with multiple aplication

2011-03-09 Thread Oscar González
Hi,I have two applications on the same server, each application connects to a different data base. The two applications work for different companies. Some users can access information on both companies. My problem is that some times a user is working on one application (the application for one

Re: Problem with multiple aplication

2011-03-09 Thread Chuck Hill
My first guess is that you are using cookies and they are stored under the same domain and path. Chuck On Mar 9, 2011, at 1:57 PM, Oscar González wrote: Hi, I have two applications on the same server, each application connects to a different data base. The two applications work for

Re: ERXBooleanSelector Error?

2011-03-09 Thread Jeffrey Simpson
Done I included my patch. Jeffrey Simpson Senior Software Engineer Telephone: 240.235.2144 Fax: 240.235.2174 Youth For Understanding (YFU) prepares young people for their responsibilities and opportunities in a changing, interdependent world. simpson@yfu.orgOn Mar 9, 2011, at 2:45 PM, Chuck

Re: Problem with multiple aplication

2011-03-09 Thread Chuck Hill
You either need different paths or different domains. You can have different domains on the same IP if you are not using HTTPS. You can have different paths on the same domain, but you can't do this if the user is moving between static pages and your app. Check your Session class to see what

[OT] Play! Framework

2011-03-09 Thread Pascal Robert
I saw a demo of the Play! Framework (http://www.playframework.org) at a conference today, and I must say that it's the first time that I saw something that I really want to try out. It seems like a good mix between Ruby on Rails and WO, so I was wondering if someone else here have tried out

Re: [OT] Play! Framework

2011-03-09 Thread Mike Schrag
of the non-wo java web frameworks, Play is the only one that ever looked interesting to me ... definitely inherits a lot of remove the crap from rails, which is nice. i haven't built anything with it, but it looked like a nice framework from the docs and examples. ms On Mar 9, 2011, at 8:41

Re: [OT] Play! Framework

2011-03-09 Thread Pascal Robert
Le 2011-03-09 à 20:57, Mike Schrag a écrit : of the non-wo java web frameworks, Play is the only one that ever looked interesting to me ... definitely inherits a lot of remove the crap from rails, which is nice. i haven't built anything with it, but it looked like a nice framework from

Re: Example needed for ERD2WEditToOneRelationshipWithFilter

2011-03-09 Thread Markus Ruggiero
On 09.03.2011, at 12:00, Markus Ruggiero wrote: Could someone please give me a short example for the use of ERD2WEditToOneRelationshipWithFilter? The minimalist documentation is (to me) of not much help. Lets say I need to create a toOneRelationship to entity TechnicalDoc where the