Re: Postgresql connection issue

2013-11-17 Thread Joe Kramer
ther. In that case, you'll need to create both. > >>> > >>> As the user running the postgres database (logged-in user if > "Postgres.app" or "postgres","psql" or other db-centric user of the OS the > DB is running on: > >>>

Re: Postgresql connection issue

2013-11-12 Thread Joe Kramer
2013, at 4:19 PM, Ramsey Gurley wrote: >> >> Is the db on the same machine as the app? If not, this won’t work. You need >> to add the IP of your app server. Something like... >> >> hostall all 192.168.0.100trust >>

Re: Postgresql connection issue

2013-11-12 Thread Joe Kramer
Using PGAdmin to connect and the DB is up and running. On Tue, Nov 12, 2013 at 1:09 PM, Theodore Petrosky wrote: > did you confirm that the database is running? > > what do you use to talk directly to the database? psql, pgadmin? > > Ted > > > On Nov 12, 2013, at 4:

Re: Postgresql connection issue

2013-11-12 Thread Joe Kramer
; yet "md5". If you want a trust-level connection, set it to "trust". > > On 12.11.2013, at 09:58, Joe Kramer wrote: > > > Hi all, > > > > It has been some time since I have done any WebObjects development and I > am trying to resurrect an old project on a

Postgresql connection issue

2013-11-12 Thread Joe Kramer
ld be appreciated. Thanks, Joe Kramer Nov 12 01:49:37 GALApplication[9199] WARN NSLog - An exception occurred while trying to open a channel: N/A Nov 12 01:49:37 GALApplication[9199] INFO er.transaction.adaptor.Exceptions - Database Exception occured: java.lang.IllegalStateExce

Re: EOQualifier and to-many relationships

2012-12-14 Thread Joe Kramer
with the qualifier and does so one at a time. > > On Dec 14, 2012, at 5:08 PM, Joe Kramer wrote: > > Weird... putting it in it's own class file works just fine. Turns out it > was not my qualifier, but something to do with the way I am using an > ERXDisplayGroup. > >

Re: EOQualifier and to-many relationships

2012-12-14 Thread Joe Kramer
public: public > com.webobjects.foundation.NSArray > > > :D Looks public to me. > > Try making the delegate an actual class in its own java file then. > > Ramsey > > On Dec 14, 2012, at 4:26 PM, Joe Kramer wrote: > > Hi Ramsey, > > Adding that code I get the following stack. Did I

Re: EOQualifier and to-many relationships

2012-12-14 Thread Joe Kramer
Hi again, Changing the method signature to be protected instead of public gets me passed the issue, but a breakpoint i set in the method never gets hit. Anything else I can try? Thanks, Joe On Fri, Dec 14, 2012 at 3:26 PM, Joe Kramer wrote: > Hi Ramsey, > > Adding that code

Re: EOQualifier and to-many relationships

2012-12-14 Thread Joe Kramer
Hi Ramsey, Adding that code I get the following stack. Did I miss anything? IllegalArgumentException: method is not public: public com.webobjects.foundation.NSArray com.example.app.Application$1.editingContextShouldFetchObjects(com.webobjects.eocontrol.EOEditingContext,com.webobjects.eocontrol.E

EOQualifier and to-many relationships

2012-12-14 Thread Joe Kramer
Hi all, I have a pretty simple model with a person object that has a to-many relationship to addresses. There are about ~30,000 people in the DB. I am trying to find people who have addresses that have a specific postal code. My first attempt at writing the qualifier is horribly slow: EOQualifie

Re: Unable to build Wonder source

2012-05-23 Thread Joe Kramer
that ant might be finding an old version of woproject.jar. Check > the ant/lib directory and the Java/Extensions directories. > > > Chuck > > > On 2012-05-23, at 2:19 PM, Joe Kramer wrote: > > > Hi all, > > > > I have *really* old versions of the project wo

Unable to build Wonder source

2012-05-23 Thread Joe Kramer
Hi all, I have *really* old versions of the project wonder frameworks installed on my machine and I thought I would update to the latest and greatest and build from source before I start this new side project that I have in mind. I checked out the source from git, but when I go to build I am getti

Re: Conditionally Opening AjaxModalDialog

2011-06-08 Thread Joe Kramer
Hi Chuck, When you say it like that it seems so easy... :-) Thanks for the help! Joe On Wed, Jun 8, 2011 at 7:17 PM, Chuck Hill wrote: > Hi Joe, > > > On Jun 8, 2011, at 6:30 PM, Joe Kramer wrote: > > > Hi all, > > > > I feel like this should be eas

Conditionally Opening AjaxModalDialog

2011-06-08 Thread Joe Kramer
Hi all, I feel like this should be easy, but I am struggling. I have an AjaxModalDialogOpener inside of a form. When I click the opener, I want to save the data from that form by calling a server side action. If the save is successful, I want to open the AjaxModalDialog, but if the save fails I wa

Re: AjaxAutoComplete ?

2011-03-30 Thread Joe Kramer
plete ul li.selected { background-color: #ffb; } .auto_complete ul li { list-style-type:none; display:block; margin:0; padding:5px; cursor:pointer; } Hope that helps. Joe Joe Kramer jkra...@cyberapps.net On Wed, Mar 30, 2011 at 6:48 AM, Theodore Petrosky wrote: > anyone have an example of

Re: Are generated SQL index name truncations harmless?

2011-03-15 Thread Joe Kramer
I ran into this issue with Postgres as well. Because of my entity/relationship names and gigantic model, I ended up with several naming conflicts where two different index names were truncated to the same thing. It was kind of a pain, but it wasn't too hard to work around the issue. I don't think i

Re: Amazon EC2 Image

2011-02-24 Thread Joe Kramer
astic. I did a couple updates to the > AMI's, they were barely used, so I stopped supporting them. Thanks, Joe *Joe Kramer* Junior Software Engineer Übermind, Inc. jkra...@ubermind.com www.ubermind.com On Wed, Feb 23, 2011 at 5:11 PM, Paul Hoadley wrote: > I agree with Jesse'

Re: JUnit Test Initialization

2011-02-01 Thread Joe Kramer
r_loc_WOLips:YOURPROJECT} for this to work. > > John > > On Tue, Feb 1, 2011 at 3:44 PM, Joe Kramer wrote: > >> Hi Everyone, >> >> I'm writing my first JUnit test for a WebObjects Application and I've hit >> a roadblock. I need acc

JUnit Test Initialization

2011-02-01 Thread Joe Kramer
Hi Everyone, I'm writing my first JUnit test for a WebObjects Application and I've hit a roadblock. I need access to some of the data in the database. When I just try to run the test I get an error: "java.lang.IllegalArgumentException: An object store for the entity "Account" could not be found.

Re: Changes in Component HTML Not Immediately Showing Up

2011-01-14 Thread Joe Kramer
ull clean and build on the app. >>> >>> Chuck >>> >>> >>> >>> On Jan 11, 2011, at 7:03 PM, John Huss wrote: >>> >>> > Make sure you have Project->"Build Automatically" turned on in Eclipse. >>> > &

Re: Changes in Component HTML Not Immediately Showing Up

2011-01-11 Thread Joe Kramer
to make it rebuild. Also if you > make changes to the html or java code, you should be able to see some > activity in the status bar of your eclipse right after Cmd+S. > > > > Farrukh > > > > On 2011-01-12, at 8:49 AM, Joe Kramer wrote: > > > >> Thanks for

Re: Changes in Component HTML Not Immediately Showing Up

2011-01-11 Thread Joe Kramer
ening when Eclipse and / or the app gets > messed up. Try restarting Eclipse and do a full clean and build on the app. > > Chuck > > > > On Jan 11, 2011, at 7:03 PM, John Huss wrote: > > > Make sure you have Project->"Build Automatically" turned on in

Changes in Component HTML Not Immediately Showing Up

2011-01-11 Thread Joe Kramer
Hi all, I have a project that is no longer immediately showing changes that I make to the component html file while the app is running (from debugger). I used to be able to make a change, save, build, and then refresh the page and see the changes. Something changed somewhere and now this is no l

Re: WOLips deadlock

2010-12-17 Thread Joe Kramer
I'm having the same problem. I turned off automatic building and just manually run builds and haven't had a problem since. Joe On Fri, Dec 17, 2010 at 8:28 AM, Pascal Robert wrote: > I'm getting the exact same problem. Does your deadlocks occurs when you > save changes made in a component? > >

Re: Quick (Hopefully) D2W Deployment Question

2010-12-10 Thread Joe Kramer
Thanks Chuck, That did the trick. Joe On Fri, Dec 10, 2010 at 10:38 AM, Joe Kramer wrote: > Thanks for the replies. > > This is a Wonder based app, so I will give that a try. > > Thanks again, > > Joe > > > On Fri, Dec 10, 2010 at 10:21 AM, Chuck Hill wrote:

Re: Quick (Hopefully) D2W Deployment Question

2010-12-10 Thread Joe Kramer
frameworksBaseURL=/WebObjects/MyApp.woa/Frameworks > > That works for Wonder based apps. If yours is not Wonder based, there is > one more hack you need. > > Chuck > > > On Dec 10, 2010, at 9:29 AM, Joe Kramer wrote: > > > Hi all, > > > > I am deploying my first

Quick (Hopefully) D2W Deployment Question

2010-12-10 Thread Joe Kramer
it to point to something like " http://www.example.com/MyApp.woa/Frameworks/ERModernDirectToWeb.framework/WebServerResources/reset_base_fonts.css";. How do I make that happen? Thanks for the help! Joe Kramer ___ Do not post admin requests

Re: D2W Noob Question

2010-11-17 Thread Joe Kramer
Thanks Henrique and David, I'm doing this as a super basic admin app to fill out some data in our model, so the easiest solution was the best :) I ended up just putting it in the ERXNavigationMenu. Thanks again! I really appreciate your quick replies! Joe Kramer On Wed, Nov 17, 2010 at

D2W Noob Question

2010-11-17 Thread Joe Kramer
Hi All, I'm trying my first D2W app... This should be easy to find, and I'm almost embarrassed to ask, but I need to get this working ASAP. I'm wondering how to make it so that you can create new entities from the list page. What rule should I add to make that happen? Than

Re: Ant Build Outside Eclipse

2010-10-07 Thread Joe Kramer
Yeah... you can just ignore my last message... I cleaned my project from within Eclipse and then did the "Run As..." > "Ant Build..." and everything worked fine. Regards, Joe On Thu, Oct 7, 2010 at 1:13 AM, Joe Kramer wrote: > Hi All, > > I'm trying to d

Ant Build Outside Eclipse

2010-10-07 Thread Joe Kramer
Hi All, I'm trying to deploy an app for the first time on my own and I'm realizing that Eclipse does a lot for me. If I just try to build the app using "ant build" I get the error: "class org.objectstyle.woproject.ant.WOCompile cannot be found". If I then try "ant build -lib /path/to/woproject.j

Re: Consuming Remote XML

2010-08-20 Thread Joe Kramer
+1 for Digester. I am in the midst of getting it to work on the gigantic ACORD standard for the insurance industry. I've found Digester to be pretty easy to use and works efficiently enough for our purposes. Joe Kramer CyberApps, Inc. On Fri, Aug 20, 2010 at 4:24 PM, David Holt wrote:

Re: Safari Extension

2010-07-14 Thread Joe Kramer
Thanks Ken! Joe Kramer CyberApps, Inc. On Wed, Jul 14, 2010 at 12:49 AM, ISHIMOTO Ken wrote: > Hi all, > > I am playing around with Safari Extensions, and made my first one. > Mostly it was made for making my Life easier with searches, but maybe other > User likes to have a WO

Re: EOQualifier to qualify NSTimestamp by month

2010-06-01 Thread Joe Kramer
see that it is deprecated. It looks like using EOFetchSpecification.setHints() should do the trick in this case. Thanks for weighing in! Regards, Joe On Tue, Jun 1, 2010 at 3:53 PM, Chuck Hill wrote: > > On Jun 1, 2010, at 3:30 PM, Joe Kramer wrote: > > Hi all, >> >>

EOQualifier to qualify NSTimestamp by month

2010-06-01 Thread Joe Kramer
use that value as the qualifier. Just curious what others think. Thanks, Joe Kramer CyberApps, Inc. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Up

[SOLVED] Ajax List Filtering

2010-05-29 Thread Joe Kramer
Hi all, Thanks for all the help. Adding a binding "fullSubmit = true;" to my AjaxObserveField did the trick. Thanks again to everyone who helped me out. Regards, Joe On Sat, May 29, 2010 at 9:57 PM, Joe Kramer wrote: > Hi Chuck, > > Honestly, I'm not sure. I was

Re: Ajax List Filtering

2010-05-29 Thread Joe Kramer
Hi Chuck, Honestly, I'm not sure. I was just following the "Live Search" example from the ajax examples in Project Wonder. How would I tell? Thanks, Joe On Sat, May 29, 2010 at 7:43 PM, Chuck Hill wrote: > On May 29, 2010, at 6:09 PM, Joe Kramer wrote: > > Hi

Re: Ajax List Filtering

2010-05-29 Thread Joe Kramer
Hi all, Spoke to soon... This all works if I am doing a full Wonder app, but unfortunately I am not extending ERXApplication, ERXSession, and ERXComponent in my application. Is there a way to get this to work without going fully Wonder? Thanks, Joe Kramer CyberApps, Inc. On Sat, May 29

Re: Ajax List Filtering

2010-05-29 Thread Joe Kramer
Hi Ricardo, I started a new project and just copied everything below and it works fine. So there is something screwy in my actual project. I will have to figure out what is causing the issue. Thanks for all the help! Joe Kramer CyberApps, Inc. On Sat, May 29, 2010 at 5:03 PM, Ricardo J

Re: Ajax List Filtering

2010-05-29 Thread Joe Kramer
I do have this whole component wrapped in a WOForm. In addition to the fields I described there are a couple of WOSubmitButtons that submit the whole form (cancel and save type actions). Thanks, Joe Kramer CyberApps, Inc. On Sat, May 29, 2010 at 10:45 AM, Ricardo J. Parada wrote: > Do

Re: Ajax List Filtering

2010-05-29 Thread Joe Kramer
ere I just won't do anything in the setter if the value is being set to null, but the issue there is if the user deletes all the text in an input field, then the result list will not get updated to display all the values. Thanks again for any help, Joe Kramer CyberApps, Inc. On Sat, May 29,

Re: Ajax List Filtering

2010-05-29 Thread Joe Kramer
Hi everyone, Sorry to be a bother, but I was wondering if anyone had any ideas for me on this issue. If it would help, I could attach a small example app that demonstrates this behavior. Thanks for any help, Joe Kramer CyberApps, Inc. On Thu, May 27, 2010 at 8:00 AM, Joe Kramer wrote: >

Fwd: Ajax List Filtering

2010-05-27 Thread Joe Kramer
sitive("personInfo.firstName", _firstNameFilter + "*"); } else { firstNameQual = ERXQ.likeInsensitive("personInfo.firstName", "*"); } EOQualifier qual = ERXQ.and(lastNameQual, firstNameQual); _filteredArray = EOSortOrdering.sortedArrayUsingKeyOrderArr

Re: qualifierWithQualifierFormat ???

2010-05-04 Thread Joe Kramer
itle = %@ and client = %@)", args); readyToBillJobList = Job.fetchDistinctJobs(jobListEC, openVersionsQualifier, null); Hope that helps, Joe Joe Kramer CyberApps, Inc. On Tue, May 4, 2010 at 8:55 AM, Theodore Petrosky wrote: > NSMutableArray args = new NSMutableArray(); &g

Re: OT; Blackberry "friendly" site

2010-04-16 Thread Joe Kramer
Hi Kieran, I have found this useful for detecting if a user is on a mobile device and then redirecting them to the mobile friendly version of the site, switching css, etc. http://blog.mobileesp.com/ Hope that helps, Joe On Fri, Apr 16, 2010 at 10:36 AM, Kieran Kelleher wrote: > Customer has r

Re: Session object in concurrent threads

2009-12-07 Thread Joe Kramer
3 PM, Guido Neitzer wrote: > > On 7. Dec. 2009, at 13:39 , Joe Kramer wrote: >> >> I was hoping someone could give me some pointers on how to access a >>> session from concurrent threads. >>> >> >> You don't. This is asking for trouble. >>

Session object in concurrent threads

2009-12-07 Thread Joe Kramer
Any help on this would be greatly appreciated. Regards, Joe Kramer CyberApps, Inc. jkra...@cyberapps.net ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubsc

Deleting All Objects in a Database

2009-10-27 Thread Joe Kramer
easy way to delete all the objects in a database in webobjects? Thanks in advance, Joe Kramer, CyberApps, Inc. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help

Re: WOPopUpButton Defaults

2009-07-17 Thread Joe Kramer
On Fri, Jul 17, 2009 at 4:36 PM, Chuck Hill wrote: > > On Jul 17, 2009, at 3:32 PM, Joe Kramer wrote: > > Hi Chuck, >> >> Bummer. Basically the pop up button doesn't set just the value for one >> object, it sets the value for each object in an array. So i

Re: WOPopUpButton Defaults

2009-07-17 Thread Joe Kramer
e new object(s) in the array. I think I can hack my way through a work around for this, but I was hoping there was an easy way. :( Oh well... thanks for your help. Joe Kramer CyberApps, Inc. On Fri, Jul 17, 2009 at 4:19 PM, Chuck Hill wrote: > Hi Joe, > > > > On Jul 17, 2009, at

WOPopUpButton Defaults

2009-07-17 Thread Joe Kramer
hanks, Joe Kramer CyberApps, Inc. ___ 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://lists.apple.com/mailman/options/webob

Superfluous Session Creation

2009-01-28 Thread Joe Kramer
ed. Thanks in advance for any help. Regards, Joe Kramer P.S. I am using Eclipse 3.4 and WebObjects 5.4. ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) He