Re: Installing WO on Centos 5.4

2010-02-26 Thread Patrick Robinson
On Feb 26, 2010, at 8:40 PM, Chuck Hill wrote: > On Feb 26, 2010, at 5:26 PM, Patrick Robinson wrote: > >> On Feb 26, 2010, at 2:23 PM, Chuck Hill wrote: >>> Try editing the apache.conf file (the WebObject's one, not httpd.conf). >>> Find these lines: >>> # To change the logging options,

Re: Installing WO on Centos 5.4

2010-02-26 Thread Chuck Hill
On Feb 26, 2010, at 5:26 PM, Patrick Robinson wrote: On Feb 26, 2010, at 2:23 PM, Chuck Hill wrote: Try editing the apache.conf file (the WebObject's one, not httpd.conf). Find these lines: # To change the logging options, read the following comments: # The option name is "WebObjectsLog"

Re: Installing WO on Centos 5.4

2010-02-26 Thread Patrick Robinson
On Feb 26, 2010, at 2:23 PM, Chuck Hill wrote: > Try editing the apache.conf file (the WebObject's one, not httpd.conf). Find > these lines: > >> # To change the logging options, read the following comments: >> # The option name is "WebObjectsLog" and the first value indicates the path >> of th

Re: Derived Attributes [SOLVED]

2010-02-26 Thread Chuck Hill
ackets . like this "(oid)" ... and that works too - great! http://idisk.me.com/kelleherk/Public/Pictures/Skitch/spaceneeded-20100226-175822.jpg -Kieran PS. John, I did try your suggestion of entering columnName = "" in the plist directly first - that was not the sol

Re: Derived Attributes [SOLVED]

2010-02-26 Thread Kieran Kelleher
27;t like a space, just surround it with brackets . like this "(oid)" ... and that works too - great! http://idisk.me.com/kelleherk/Public/Pictures/Skitch/spaceneeded-20100226-175822.jpg -Kieran PS. John, I did try your suggestion of entering columnName = "" in the pl

Re: Eclipse: Generate Getters and Setters

2010-02-26 Thread Mike Schrag
nope On Feb 26, 2010, at 6:30 PM, James Cicenia wrote: > Can eclipse do "macros" ? Maybe a little regex magic? > > > On Feb 26, 2010, at 4:20 PM, David Avendasora wrote: > >> Hi Shravan, >> >> A possible work-around is to manually create the variable/field first, then >> when Eclipse give

Re: Eclipse: Generate Getters and Setters

2010-02-26 Thread James Cicenia
Can eclipse do "macros" ? Maybe a little regex magic? On Feb 26, 2010, at 4:20 PM, David Avendasora wrote: > Hi Shravan, > > A possible work-around is to manually create the variable/field first, then > when Eclipse gives you a warning saying "The field MyClass.myField is never > read loca

Re: Javascript Question

2010-02-26 Thread Andrew R. Kinnie
Actually, I tried that and was able to get that working to some extent, but I actually managed to get it finally to work using AjaxObserveField. Previously it didn't work when I tabbed out, and now it does. In the first case I had an AjaxObserveField wrapping all of the textfields, but it did

Re: Javascript Question

2010-02-26 Thread Travis Britt
In general you can always define an AjaxUpdateLink with an action binding and a functionName and then assign that JS function to any handler as if it where any other JS function (b/c it is) which will then fire the bound method in your app and update whatever container you need. tb On Feb 26,

Re: Installing WO on Centos 5.4

2010-02-26 Thread Fabián Montealegre Carvajal
> > Now try going to your app once or twice to get the error message. Then > look in /Library/WebObjects/Logs/WebObjects.log > > The first thing to look for is if the host name it is using is the one you > have configured in JavaMonitor and the application. > That's weird... The file is empty.

Re: Eclipse: Generate Getters and Setters

2010-02-26 Thread Mike Schrag
you can set the prefix for fields so it will generate _name, but you can't make it do name() instead of getName(). Prefs=>Java=>Code Style change Fields Prefix to _ ms On Feb 26, 2010, at 5:11 PM, David Holt wrote: > > On 2010-02-26, at 1:54 PM, Shravan Kumar. M wrote: > >> Hi Group, >> >>

Re: Eclipse: Generate Getters and Setters

2010-02-26 Thread Ramsey Gurley
On Feb 26, 2010, at 4:59 PM, Mike Schrag wrote: Is there any setting I can modify to achieve this? Please advise. no ms If you are dealing with a WOComponent java file, you can sorta do it. In order to generate the getter, setter, and member, switch to the component editor, then select

Re: Eclipse: Generate Getters and Setters

2010-02-26 Thread David Holt
On 2010-02-26, at 1:54 PM, Shravan Kumar. M wrote: > Hi Group, > > When ever I use Source -> Generate Getters and Setters... function in Eclipse > it generates getter method as of Java Bean style like: > > private String name; My favourite is that it changes variable names too! For example if

Re: Eclipse: Generate Getters and Setters

2010-02-26 Thread Mike Schrag
> Is there any setting I can modify to achieve this? Please advise. no ms ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http:

Eclipse: Generate Getters and Setters

2010-02-26 Thread Shravan Kumar. M
Hi Group, When ever I use Source -> Generate Getters and Setters... function in Eclipse it generates getter method as of Java Bean style like: private String name; public String getName() { return name; } public void setName(String name) { this.name = name; } But I wish the getter met

Re: Installing WO on Centos 5.4

2010-02-26 Thread Patrick Robinson
This sounds to me *just like* what happens when you run wotaskd with "-WOHost localhost", but forget to run your app with the same parameter (i.e. either put WOHost=localhost in your app's Properties, or add -DWOHost=localhost to your app's run config program or vm arguments). If you run any of

Javascript Question

2010-02-26 Thread Andrew R. Kinnie
Greetings all, OK, I have generally been successfully able to avoid using javascript directly because of the wonders of WO and . . . um . . . Wonder. However, now I have an issue that seems to scream out for an obvious answer. I have a WOPopUpButton for the user to select a preferred phone num

Derived Attributes

2010-02-26 Thread Kieran Kelleher
Hi all, I tried adding a simple derived attribute to a model, as shown here: http://idisk.me.com/kelleherk/Public/Pictures/Skitch/derived_attribute-20100226-125124.jpg However EOF falls over as soon as I touch that entity with an error like the following. This is WO 5.3.3 btw. Looking at the

Re: Installing WO on Centos 5.4

2010-02-26 Thread Chuck Hill
Hi Fabián, On Feb 26, 2010, at 10:33 AM, Fabián Montealegre Carvajal wrote: If you reverse DNS lookup the IP address, does it give you that host name? What does http://HOST:1085 show? DNS look up gives the correct hostname. Still no clue what to do What is the ServerName in Apache? T

Re: Installing WO on Centos 5.4

2010-02-26 Thread Fabián Montealegre Carvajal
> If you reverse DNS lookup the IP address, does it give you that host name? > > What does http://HOST:1085 show? > DNS look up gives the correct hostname. Still no clue what to do This is what wotaskd shows: *Wotaskd for WebObjects 5.3: centos Site Config as written to disk

Re: High Availability options for a webobjects application

2010-02-26 Thread Chuck Hill
On Feb 26, 2010, at 8:19 AM, Matt Stokes wrote: Looking for HA options for a WebObjects application. Is it possible to have a HA (high availability) web server Something like this? http://www.ibm.com/developerworks/linux/library/l-linux-ha/ pointing to 'n' number of sites with a web server

High Availability options for a webobjects application

2010-02-26 Thread Matt Stokes
Looking for HA options for a WebObjects application. Is it possible to have a HA (high availability) web server pointing to 'n' number of sites with a web server/instances/database setup for each of the "n" sites. Users could get routed to any site when they go to www.example.com, which will redi

Re: How do I increase Eclipse's Memory?

2010-02-26 Thread Dev WO
Hi james, The second suggested answer, is actually the one I'm using: http://wiki.eclipse.org/FAQ_How_do_I_increase_the_heap_size_available_to_Eclipse%3F It appears I couldn't go more than 768m even with a 8G machine though Xavier On 26 févr. 2010, at 16:34, James Cicenia wrote: > now that was

Re: How do I increase Eclipse's Memory?

2010-02-26 Thread James Cicenia
That even taught me a new trick on OS X. Right click on something to reveal the package info... I never could figure out how to see the contents of a .wo file before! Three tricks from one email! This is the best list ever. James On Feb 26, 2010, at 9:30 AM, David Avendasora wrote: > htt

Re: How do I increase Eclipse's Memory?

2010-02-26 Thread James Cicenia
now that was very funny thanks. On Feb 26, 2010, at 9:30 AM, David Avendasora wrote: > http://lmgtfy.com/?q=How+do+I+increase+Eclipse%27s+Memory%3F > > :-) > > Dave > > On Feb 26, 2010, at 10:23 AM, James Cicenia wrote: > >> Hello - >> >> I am getting error messages about heapspace, et

Re: How do I increase Eclipse's Memory?

2010-02-26 Thread David Avendasora
http://lmgtfy.com/?q=How+do+I+increase+Eclipse%27s+Memory%3F :-) Dave On Feb 26, 2010, at 10:23 AM, James Cicenia wrote: > Hello - > > I am getting error messages about heapspace, etc., after I debug and launch > the app again from Eclipse. > So, how do I allocate it more memory? > > Thanks

Re: Oh the joys of Eclipse...

2010-02-26 Thread Hugi Thordarson
Hudson is a favorite up here - with it's live input validation, combined with actual, helpful suggestions. <> - hugi ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) He

How do I increase Eclipse's Memory?

2010-02-26 Thread James Cicenia
Hello - I am getting error messages about heapspace, etc., after I debug and launch the app again from Eclipse. So, how do I allocate it more memory? Thanks James ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing

Re: Oh the joys of Eclipse...

2010-02-26 Thread Simon
Preferences as follows: > > http://idisk.me.com/kelleherk/Public/Pictures/Skitch/Preferences-20100226-085614.png > > You can also filter out packages using Add Packages or just include * > wildcards in the Add... option > > On Feb 26, 2010, at 8:39 AM, Simon wrote: > >> i

Re: Oh the joys of Eclipse...

2010-02-26 Thread Kieran Kelleher
Yeah, that's a PITA. That's there because there is a icu4j jar in ERjars. However you can filter out that stupid ibm math BigDecimal in your code-assist easily in Preferences as follows: http://idisk.me.com/kelleherk/Public/Pictures/Skitch/Preferences-20100226-085614.png You can a

Re: Oh the joys of Eclipse...

2010-02-26 Thread Simon
i love this one: http://img.skitch.com/20100226-bi19h71d3jr3rwh9fy8i6p13jg.jpg why offer me com.ibm.icu.math.BigDecimal before the java.math variety ? i would save a gazillion key strokes a year if that were the other way round! simon On 25 February 2010 19:30, Don Lindsay wrote: > I agree

Re: [SOLVED] Re: Stripping Microsoft Word bad characters ( some dashes and quotes )

2010-02-26 Thread Amedeo Mantica
I'm sorry to inform you that your code doesn't work when the result is sent via email Regards Amedeo On 30/dic/2009, at 21.50, Jon Nolan wrote: > Amedeo Mantica wrote: >> here the map... >> On 30/dic/2009, at 21.10, Amedeo Mantica wrote: >> >>> Hello, >>> >>> I remember that there is a class