Filtered to many relationship

2008-05-01 Thread Steve Peery
I am trying to set up a to many relationship in Entity Modeler that filters the destination objects based on a variable in the destination object. For example, in my School object I have an array of Student objects some have a variable that defines them as fulltime. Now in my School object I want

Sorting to many relationship

2008-05-03 Thread Steve Peery
What is the typical way to sort a to many relationship created with Entity Modeler? For example, in my School object I have a to many relationship of Student objects that I want sorted by Student.name(). Steve ___ Do not post admin requests to the

Entity Modeler String Data Types

2008-05-28 Thread Steve Peery
In Entity Modeler, what is the difference between the String data types and when should they be used? String/Stream - String String (RTRIM) - String c String - String S Thanks ___ Do not post admin requests to the list. They will be ignored.

WOXMLDecoder and NSData

2008-07-08 Thread Steve Peery
I am upgrading a WO Application to version 5.4 and everywhere I use WOXMLDecoder to decode a NSData object it generates a NullPointerException. It worked fine before. Any clues? Steve ___ Do not post admin requests to the list. They will be ignored.

Re: WOXMLDecoder and NSData

2008-07-10 Thread Steve Peery
, at 1:05 PM, Steve Peery wrote: I am upgrading a WO Application to version 5.4 and everywhere I use WOXMLDecoder to decode a NSData object it generates a NullPointerException. It worked fine before. Any clues? Steve ___ Do not post admin

queXF and WO

2009-07-28 Thread Steve Peery
Has anyone tried to incorporate any of the functionality of queXF http://quexf.sourceforge.net/ into a WebObjects project? Steve Peery ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev

WOLips 3.4.x Embedding

2009-09-02 Thread Steve Peery
the more advanced instructions. Thank you for all you do, Steve Peery ___ 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

Re: Wonder D2W first app

2009-09-11 Thread Steve Peery
Am 11.09.2009 um 02:45 schrieb Lachlan Deck: On 11/09/2009, at 10:33 AM, Mr. G Brown wrote: Looks like your classpath is not quite right. with regards, -- Lachlan Deck I am guessing classpath too. How are you building it? Wolips-ant? Wolips-maven? Did you put everything that you need on

MS Smart Quotes

2009-11-18 Thread Steve Peery
Does anyone have a neat solution for dealing with MicroSoft's so called Smart Quotes when pasted into a text field on a web page? My app keeps converting them to question marks. Thank you, Steve ___ Do not post admin requests to the list. They will

RE: MS Smart Quotes

2009-11-18 Thread Steve Peery
Forget it. It was just a pre UTF-8 artifact... ___ 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:

SIF and WO

2010-02-01 Thread Steve Peery
Has anyone used SIF, http://www.sifinfo.org, in a WebObjects project? Thanks, Steve ___ 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

Re: SIF and WO

2010-02-01 Thread Steve Peery
wrote: On Feb 1, 2010, at 7:32 PM, Steve Peery wrote: Has anyone used SIF, http://www.sifinfo.org, in a WebObjects project? No, but I have worked with this http://www.acord.org/Pages/default.aspx which seems at least superficially similar. The Design by Committee aspect can yield

Re: Snow Leopard upgrade questions

2010-02-09 Thread Steve Peery
When I upgraded to Snow Leopard with mysql in /usr/local/, mysql didn't work right away. For some reason the install effected one of the mysql directories in /usr/local/. I think it was the link named mysql that lead to the specific version directory. Strange but true... On Feb 9, 2010, at

Re: Q about locked ec

2010-02-18 Thread Steve Peery
Does this apply to ERXLongResponse pages? I have a report that I moved to an ERXLongResponse page and now the app hangs occasionally. Could this be a locking issue? Thanks, Steve On Feb 17, 2010, at 5:21 PM, Anjo Krank wrote: You *can* pass EOs between threads. You just really, wanna make

Re: Q about locked ec

2010-02-18 Thread Steve Peery
That could explain a few things. Thanks, Steve On Feb 18, 2010, at 4:20 PM, Anjo Krank wrote: A long response most of the time locks in start and unlocks on end. If you use the session EC for... well, you figure it out. Cheers, Anjo Am 18.02.2010 um 22:09 schrieb Steve Peery

Re: EOs not in an EC

2010-03-05 Thread Steve Peery
They say you should always put an EO object in an editing context before doing anything else. Therefore, I subclass the decoder and put the editing context in it so it can be used on creation. Something like this: public MyObject(WOXMLDecoder decoder) { super();

Re: EOs not in an EC

2010-03-05 Thread Steve Peery
to do anything with the objects not in an EC. not to worry i'll run through and make the changes required. Shame really as it seems quite logical to me to only insert the ones i want to keep. I'm sure thats just my lack of understanding. Thanks for help Robin On 5 March 2010 14:08, Steve

Re: ideas/method to label lines

2010-04-24 Thread Steve Peery
If you want to store a unique index letter for each record then just store the letter in the database. If the display always starts on A and is based on the current order, you can just bind the repetition index to a variable: ItemRep : WORepetition { list = items; item =

Re: checking for null Noob question

2010-07-31 Thread Steve Peery
Just to avoid confusion and the NullPointerException, I would suggest this: { if (this.dueDateType() == null) { return ; } else if (this.dueDateType().equals(N)) { return ; } return this.dueDateType(); } or this: { if (this.dueDateType() != null) { if

To Many Relationship to String

2010-08-12 Thread Steve Peery
I have an EO object that I want to have a to many relationship to a String object. I could create an EO object to hold the string and do a standard to many relationship but it seems wasteful. Is there a better way? Steve ___ Do not post admin

Re: To Many Relationship to String

2010-08-12 Thread Steve Peery
You are probably right. I too have paid for trying to make it more efficient many times in my coding career. Steve On Aug 12, 2010, at 2:13 PM, David LeBer wrote: On 2010-08-12, at 2:05 PM, Steve Peery wrote: I have an EO object that I want to have a to many relationship to a String

Re: WOWODC 2011 coming to your city

2010-09-08 Thread Steve Peery
Montreal is definitely my first choice. Steve On Sep 8, 2010, at 9:36 AM, David LeBer wrote: On 2010-09-07, at 9:01 PM, Pascal Robert wrote: What? Already? That French Canadian is really crazy, eh? Ok, a lof of people want to have WOWODC in their city. That's fine, but I won't

Re: deploying my first app

2010-09-13 Thread Steve Peery
I know nothing about deployment on Windows, but I would start by embedding all of your frameworks in your project. This way it should not be looking for anything on the server. Right click on the project in Eclipse, select Properties, select WOLips Deployment, and check the boxes to embed

Re: Some installation questions

2010-10-28 Thread Steve Peery
MySQL is convenient if you deploy on OS X Server because it is already installed. Steve On Oct 28, 2010, at 12:01 PM, John Huss wrote: http://pgfoundry.org/projects/pgtune/ On Thu, Oct 28, 2010 at 11:00 AM, Ramsey Gurley ram...@xeotech.com wrote: On Oct 28, 2010, at 11:48 AM,

Re: EOModel needs an easy tweak

2010-11-06 Thread Steve Peery
Is there any shared functionality between Entity A, Entity B, Entity C and Entity D that would justify Abstract Entity Alpha? Steve On Nov 6, 2010, at 7:39 AM, Farrukh Ijaz wrote: Hi EOF-ologists, I've a modelling issue and need to know what could be the suitable fix (or tweak) to fulfil

Re: EOModel needs an easy tweak

2010-11-06 Thread Steve Peery
structure which can have nodes that appear to be symmetric but their underlying user object can be different. Farrukh Sent from my iPhone On 2010-11-06, at 9:58 PM, Steve Peery spe...@me.com wrote: Is there any shared functionality between Entity A, Entity B, Entity C and Entity D

Re: Inserting quote char into generated output

2011-02-17 Thread Steve Peery
Try WOGenericContainer .html: webobject name = GenericContainer/webobject .wod: GenericContainer: WOGenericContainer { elementName = value; name = nameString; } .java: public String nameString() { return ABCD; } result: value name=ABCD/value Steve On Feb

Re: Open Two Components on one click in two windows

2011-02-25 Thread Steve Peery
Just add target = _blank to open a new window. The parent window will remain the same component as before the click. webobject name = Hyperlink1Next Page/webobject Hyperlink1: WOHyperlink { action = goToNextPage; target = _blank; } Steve On Feb 25, 2011, at 12:00 AM,

AjaxTabbedPanel resets values

2011-06-28 Thread Steve Peery
Hi List, Does anyone have a fix for the way AjaxTabbedPanel form values get reset when they are not in the tab that is selected when the dialog is opened? For an example go to: http://services.wocommunity.org/apps/WebObjects/AjaxExample click on the Ajax Tabbed Panel in Modal Dialog link,

Re: AjaxTabbedPanel resets values

2011-06-29 Thread Steve Peery
Thanks Chuck. CCAjaxTabPanel is working well for me. Steve On Jun 28, 2011, at 7:45 PM, Chuck Hill wrote: I think that might be a known issue. You may have better luck using CCAjaxTabPanel or CCTabPanel in the AjaxModalDialog. Chuck On Jun 28, 2011, at 4:38 PM, Steve Peery wrote

EOQualifier from object array

2011-07-13 Thread Steve Peery
Does anybody talk code on this list anymore ;-) I have an array of EO objects and I want to fetch an array with all EO objects that are not in the array. If I were using SQL, it would look something like this: SELECT oid FROM MyEOObject WHERE oid != 1 AND oid != 3 AND oid != 5;

ERXLongResponse and IE

2011-11-28 Thread Steve Peery
else run into this issue? Any ideas? Thank you, Steve Peery ___ 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

Re: ERXLongResponse and IE

2011-12-05 Thread Steve Peery
, it works fine. Has anyone else run into this issue? Any ideas? Thank you, Steve Peery ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update

Re: Switch Component Question

2012-06-21 Thread Steve Peery
ERXNonSynchronizingComponent is very handy: public class YourClass extends ERXNonSynchronizingComponent { public YourClass(WOContext context) { super(context); } } Steve On Jun 21, 2012, at 7:58 PM, Johnny Miller wrote: Thank you, oh wise one. I've updated the

Re: WebObjects IDE

2013-02-11 Thread Steve Peery
http://wiki.wocommunity.org/display/documentation/Getting+Started I'll leave the objective-c to someone who knows the answer. Steve On Feb 11, 2013, at 3:33 PM, zacharyi...@gmail.com wrote: To All, What IDE can I use for WebObjects development? Can you send me installation instructions

Re: WYSIWIG editor with WO

2013-02-12 Thread Steve Peery
Ken, I have not used DreamWeaver, but my experience with WYSIWIG editors like that is they tend to excrete very bulky, unmanageable code. I would lay it out in HTML and and then start looking for snippets on the web. For example: http://www.w3schools.com, http://jqueryui.com,

Re: SOLVED: Immortal… ehm, frozen instances.

2013-04-03 Thread Steve Peery
I strongly agree with the suggestion for a MySQL replication slave server. They are not that hard to set up and then you can dump a backup as often as you like with out effecting the main server and you always have an up to the minute copy incase something happens. I had a problem a couple of

Re: updating my wonder ???

2013-05-03 Thread Steve Peery
I get that kind of thing in eclipse occasionally. I don't think it is necessarily associated with a Wonder update. Something is confused. I just chalk it up to the mysteries of a complex system. Restart, refresh, click on things, etc., etc., etc. Steve On May 3, 2013, at 11:27 AM, Ramsey

Re: Modern Deployment presentation

2016-05-27 Thread Steve Peery
I’m no expert on this, but it sounds like Apache is not able to resolve "/cgi-bin/WebObjects/ASProjectManagement.woa/1” This would suggest your adaptor doesn’t know where to look. Not for the application itself but for wotaskd. In traditional deployment, this was set in the end of the Apache

Re: check whether a relationship is empty, efficiently

2016-02-03 Thread Steve Peery
Are you actually experiencing performance issues? If not, I would just use count == 0. WebObjects is incredibly efficient and I would trust it to do the right thing until it doesn’t. It is easy to waste a lot of time trying to fix things that are not actually a problem. You can always put it

Re: NoClassDefFoundError

2016-02-24 Thread Steve Peery
I would guess a permissions issue. Can everything write to the log directory? Steve > On Feb 24, 2016, at 10:08 PM, Jeff Schmitz wrote: > > Embedding the frameworks did work in that it allowed me to start my app from > the command line (Thanks!) > > However now I’m

Re: Problems Starting Apps

2016-04-21 Thread Steve Peery
When trying to start from Monitor, do the application logs show anything? If no, make sure the application has write access to the directory. If yes, what do what do the logs show? Steve > On Apr 21, 2016, at 5:22 PM, Gino Pacitti wrote: > > I have just set up a new

Re: Class Main exists but is not a subcomponent of WOComponent

2016-05-19 Thread Steve Peery
I have had numerous projects where there is a name conflict with the Main component. If this is what your problem is, an easy fix is to just change the name of your main component. Here is a my override in Application to change the name of my main component from Main to VCAT2Main:

Re: Class Main exists but is not a subcomponent of WOComponent

2016-05-19 Thread Steve Peery
avid.r...@gdit.com> wrote: > > Thanks for the suggestion Steve. I implemented the override but now I am > getting: > > Class 'NewMain' exists but is not a subcomponent of WOComponent > Must be something with the application not seeing the external framework. > > Davi

Re: Closure of WOCommunity Association

2016-05-11 Thread Steve Peery
I just signed up for a Bronze Sponsorship. It is the least I can do to support Pascal and the WOCommunity! Steve > On May 11, 2016, at 6:14 PM, Hugi Thordarson wrote: > > (throws money at screen) > > http://store.wocommunity.org/products/membership > > We all know what an

Re: Can't Add WO Frameworks

2016-05-05 Thread Steve Peery
Also, I notice that you say you "created a new java project”. It should be a new Wonder Application project. > On May 5, 2016, at 2:38 PM, Theodore Petrosky wrote: > > try creating a new workspace and a project. the current workspace may be NFG. > > >> On May 5, 2016, at

Re: Can't Add WO Frameworks

2016-05-05 Thread Steve Peery
nd emails. The point is that that dialog freezes up and so > I can't add the libraries. Is it safe to edit the .classpath directly? (I > noticed the libraries are in there of another project) > > Calven > > >> On May 5, 2016, at 2:50 PM, Steve Peery <

Re: Can't Add WO Frameworks

2016-05-05 Thread Steve Peery
om a batch process in the terminal. Is this not correct? > > BTW, creating a new workspace didn't fix the problem. > > Calven > > >> On May 5, 2016, at 2:42 PM, Steve Peery <spe...@me.com >> <mailto:spe...@me.com>> wrote: >> >> Also, I notice that

Re: Mysql/postgre sql database question

2016-06-28 Thread Steve Peery
What version of MySQL did you upgrade to? I have an xserve running MySQL and was thinking about upgrading. Steve > On Jun 28, 2016, at 3:13 PM, Musall Maik wrote: > > PostgreSQL runs fine on OS X. I recommend homebrew to manage the software > installation, which lets

Re: Best charting?

2016-10-18 Thread Steve Peery
I have also used jFreeChart. If you want to try it, see ERPChart and its subclasses in Wonder. https://jenkins.wocommunity.org/job/WonderIntegration/lastBuild/javadoc/er/plot/ERPChart.html Wonder makes it easy! Steve > On Oct 18, 2016, at 3:43 PM, Morris, Mark

Re: WOWODC17?? a little OT

2017-01-12 Thread Steve Peery
If it happens, I will come. Steve > On Jan 12, 2017, at 1:53 PM, Theodore Petrosky wrote: > > So I take it that there is very little chance of WOWODC17. From the amount of > traffic on the mailing list I feel like things are what they are! > > What are your feelings! >

Re: ERXWOConditional - where does it get installed?

2017-03-14 Thread Steve Peery
Hi Ricardo, > > On 15 Mar 2017, at 12:23 am, Ricardo Parada wrote: > >> Have others experienced a problem where a form is submitted and then during >> takeValuesFtomTequest a condition that was false when the page was rendered >> becomes true all of a sudden causing some

Google Sign-In

2017-04-11 Thread Steve Peery
added to Wonder? Steve Peery ___ 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: https://lists.apple.com/mailman/options/webobjec

Re: New potential project to convert ASP web app

2017-07-01 Thread Steve Peery
I have a new WO product that will go online soon. D2W back end for maintaining a slightly complex data structure with extensive data validation, multiple REST interfaces, WO interface for some things, Ember interface for others. It is working for me! Steve > On Jul 1, 2017, at 1:20 PM, James

Re: deployment observation OT

2017-05-14 Thread Steve Peery
Hey Ted, Thanks for your observations. I plan to set up a new WO deployment on AWS soon. What would you recommend as a starting point for documentation/instructions? Steve > On May 13, 2017, at 8:59 AM, Theodore Petrosky wrote: > > I just want to say that I am gaining

Save order of EO objects to support database foreign key constraints.

2017-05-25 Thread Steve Peery
awkward things, but in this case that would be a total pain. Any suggestions for the best way to deal with this? Thank you, Steve Peery ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev

Re: Google Sign-In

2017-05-02 Thread Steve Peery
ON ROSENZWEIG / Chat 'n Bike <http://www.chatnbike.com/> > e: aa...@chatnbike.com <mailto:aa...@chatnbike.com> t: (301) 956-2319 > > > >> On Apr 11, 2017, at 2:53 PM, Steve Peery <spe...@me.com >> <mailto:spe...@me.com>> wrote:

Re: Save order of EO objects to support database foreign key constraints.

2017-05-25 Thread Steve Peery
pple.com > <mailto:webobjects-dev-bounces+chill=gevityinc@lists.apple.com>> on > behalf of Aaron Rosenzweig <aa...@chatnbike.com <mailto:aa...@chatnbike.com>> > Date: Thursday, May 25, 2017 at 8:32 AM > To: Steve Peery <spe...@me.com <mailto:spe...@me.com&g

AWS Instance Type Suggestions

2017-11-15 Thread Steve Peery
Hi List, I am moving to AWS and wonder if any of you have suggestions concerning what EC2 instance types to use. I have many clients which multiple instances and my WOApps use significant memory. I am currently running aging servers which are packed full of memory so memory use has not been

Re: Development on 1.8 vs Target system 1.7

2017-10-28 Thread Steve Peery
Hi André, If you are building the frameworks as described here: http://wiki.wocommunity.org/display/documentation/Building+and+Installing+a+Framework+with+Ant You need to check the version of java

Optimizing WO use on AWS

2018-01-24 Thread Steve Peery
Hi List, All of my WO applications are now happily running on AWS. I work in education so application use varies dramatically during the year with predictable peaks at the end of each term and almost no use during the summer. I currently use a standard deployment with Monitor and WOTaskd all

Re: [E] Re: Optimizing WO use on AWS

2018-01-25 Thread Steve Peery
n you > create a snapshot > of this instance as a model. > You can then add as many server instances as you wish by restoring your > snapshot and you simply add > all your new servers to the loadbalancer. In that way the front-end URL > doesn't change and you can handle >

Re: Single Sign-On

2018-02-23 Thread Steve Peery
I’m not sure what you have in mind, but the ERGoogleSignIn framework makes it very easy to log into a WO site using a google account. Steve > On Feb 23, 2018, at 2:10 PM, Robert Hanviriyapunt wrote: > > Any useful resources in integrating with SSO services in WebO? > > =

Re: JDBC adaptor on RHEL 7

2018-08-19 Thread Steve Peery
Do you have a connection library included in the application? Even if you are using a framework like MySQLPlugIn, you still a connection library (https://dev.mysql.com/downloads/connector/) in the application . > On Aug 19, 2018, at 10:33 PM, Michael Kondratov > wrote: > > Is the app

Re: Ajax within an repetition

2018-04-26 Thread Steve Peery
That is a good way to do it. I was just about to respond to your request. Glad you found it on your own. Steve > On Apr 26, 2018, at 9:54 AM, Kenan Esau > wrote: > > OK - I found a solution. > I used the index of the Repetition to build an Id for each AOF

Re: Renaming WebServerResources folder

2019-04-22 Thread Steve Peery
Hi Markus, Checkout Application._rewriteResourceURL. One of my apps looks something like this: public String appName() { return “MyApp"; } public String appVersion() { return "0.0.0.0"; } public String _rewriteResourceURL(String url, WODeployedBundle bundle) {

Re: Anything to help implement SSO in WO/WONDER?

2020-08-29 Thread Steve Peery via Webobjects-dev
There is a framework called ERGoogleSignIn which makes using Google Sign-In very easy. Steve > On Aug 29, 2020, at 9:03 AM, Jesse Tayler via Webobjects-dev > wrote: > > Single sign on? What involved? Don’t you just wire up to google or some oauth? > >> On Aug 28, 2020, at 11:45 PM, Robert

Re: How often do you bounce your apps?

2020-08-05 Thread Steve Peery via Webobjects-dev
For years I just let them run. Now I bounce them every night. > On Aug 5, 2020, at 10:37 AM, Ken Anderson via Webobjects-dev > wrote: > > I never bounce them - even with EOF ;) > >> On Aug 5, 2020, at 07:07, Jesse Tayler via Webobjects-dev >> wrote: >> >> What do you use to keep an eye

Re: RDS [was: Re: WOLips Update]

2024-03-17 Thread Steve Peery via Webobjects-dev
Make sure the MySQL driver in your app is new enough to work with the new version of SQL! I tried to upgrade and my apps would not connect.Steve On Mar 16, 2024, at 9:27 PM, Paul Hoadley via Webobjects-dev wrote:Hi Jesse,On 17 Mar 2024, at 11:12 am, Jesse Tayler wrote:I’m

Re: RDS [was: Re: WOLips Update]

2024-03-17 Thread Steve Peery via Webobjects-dev
that adaptor since forever ago — Maybe I should download that first before updating?On Mar 17, 2024, at 9:45 PM, Steve Peery wrote:Make sure the MySQL driver in your app is new enough to work with the new version of SQL! I tried to upgrade and my apps would not connect.Steve On Mar 16, 2024, at 9:27 PM

Re: RDS [was: Re: WOLips Update]

2024-03-18 Thread Steve Peery via Webobjects-dev
a new database, migrate data and test wtih a new adaptor?Can you create new RDS alongside the old? Rather than hitting this update button I can just push things over to the new database?On Mar 17, 2024, at 10:55 PM, Steve Peery wrote:MySQL is retiring a major version and AWS is requiring