_rewriteURL not firing
Hello, I'm not sure exactly when, but somewhere along the line my _rewriteURL method stopped firing. My Application extends ERXApplication and the signature the overriding method is: public String _rewriteURL(String url) but when I put a breakpoint in it, it never gets hit. I do have the rewrite properties in my project Properties file commented out: #er.extensions.ERXApplication.replaceApplicationPath.pattern=/cgi-bin/WebObjects/netBrackets.woa #er.extensions.ERXApplication.replaceApplicationPath.replace=/netBrackets I tried uncommenting them too, but the rewrites still weren't happening. And I do have -WODirectConnectEnabled set to false for both development and deployment (actually it's set to NO for deployment). Any ideas? Thanks, Jeff ___ 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/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: AMD and accessing the parent component
On Feb 24, 2011, at 9:12 AM, Theodore Petrosky wrote: > Thanks guys. now that it is working, I wanted to get an idea if this were the > 'best' way to accomplish my end. > > I am presenting a table with things and I wanted to give some minor search > capability. My user will bring in the AMD and search for a publication > (String) or a Center (String). I am creating the EOQualifier in the AMD and > passing it back to Main with: > > theSearchQualifier = ERXQ.and(theSearchQualifier, > Grid.PUBLICATION.contains(thePubToSearch())); > > ((Main)context().page()).setSearchQualifier(theSearchQualifier); > AjaxModalDialog.close(context()); > return null; > > I then fire the onClose action method of the AMD and update my AUC with the > table. > > Ok, it works. but Stefan makes a comment: > >> But the a better way, is to set the the "main" page via a >> binding in your AMD content component. > > I don't understand this method. I am very interested in learning more. I am not sure how that would work. Chuck > --- On Wed, 2/23/11, Chuck Hill wrote: > > >> I think you probably want to bind the >> onClose action. >> >> Chuck >> >> > > --- On Wed, 2/23/11, Stefan Klein wrote: > >> From: Stefan Klein >> Subject: Re: AMD and accessing the parent component >> To: "Theodore Petrosky" >> Date: Wednesday, February 23, 2011, 4:37 PM >> ((Main)context().page()).setThePubToSearch() >> >> But the a better way, is to set the the "main" page via a >> binding in >> your AMD content component. >> >> Stefan >> >> Am 23.02.11 21:23, schrieb Theodore Petrosky: >>> I have a component "Main". Main has a setter: >>> >>> public void setThePubToSearch(String thePubToSearch) >> { >>> this.thePubToSearch = >> thePubToSearch; >>> } >>> >>> I am displaying an AjaxModalDialog whose content is a >> component. >>> >>> I want to access the setter 'setThePubToSearch' in >> Main before closing the AMD. >>> >>> I know I have done this before I just can not remember >> how. >>> >>> I am just too tired. >>> >>> Ted >>> >>> >>> >>>___ >>> 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/webobjects-dev/stefan.klein%40buero-sde.de >>> >>> This email sent to stefan.kl...@buero-sde.de >>> >> > > > > ___ > 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/webobjects-dev/chill%40global-village.net > > This email sent to ch...@global-village.net -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects 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/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Using Fetch Limits with MySQL
Thank you!!! On Feb 25, 2011, at 3:11 PM, Chuck Hill wrote: > Use ERXEOControlUtilities.objectsInRange > > Chuck > > > On Feb 25, 2011, at 5:07 PM, Johnny Miller wrote: > >> Hi Paul, >> >> No. Right now I'm just using the vanilla WO stuff like EOFetchSpecification >> and EOUtilities. >> >> Should I take a look at ERBathingDisplayGroup? >> >> Thanks again, >> >> >> >> >> On Feb 25, 2011, at 3:02 PM, Paul D Yu wrote: >> >>> ERBatchingDisplayGroup >> >> Johnny Miller >> Kahalawai Media Corp >> http://www.kahalawai.com >> >> >> >> ___ >> 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/webobjects-dev/chill%40global-village.net >> >> This email sent to ch...@global-village.net > > -- > Chuck Hill Senior Consultant / VP Development > > Practical WebObjects - for developers who want to increase their overall > knowledge of WebObjects or who are trying to solve specific problems. > http://www.global-village.net/products/practical_webobjects > > > > > > > Johnny Miller Kahalawai Media Corp http://www.kahalawai.com ___ 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/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Using Fetch Limits with MySQL
Use ERXEOControlUtilities.objectsInRange Chuck On Feb 25, 2011, at 5:07 PM, Johnny Miller wrote: > Hi Paul, > > No. Right now I'm just using the vanilla WO stuff like EOFetchSpecification > and EOUtilities. > > Should I take a look at ERBathingDisplayGroup? > > Thanks again, > > > > > On Feb 25, 2011, at 3:02 PM, Paul D Yu wrote: > >> ERBatchingDisplayGroup > > Johnny Miller > Kahalawai Media Corp > http://www.kahalawai.com > > > > ___ > 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/webobjects-dev/chill%40global-village.net > > This email sent to ch...@global-village.net -- Chuck Hill Senior Consultant / VP Development Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems. http://www.global-village.net/products/practical_webobjects 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/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Using Fetch Limits with MySQL
Yes, ERBatchingDisplayGroup is to help you with pagination of large data sets in and out of the database. Paul Here;s a sample public BoiseBatchingDisplayGroup observationDG() { if (observationDG == null) { EODatabaseDataSource ds = new EODatabaseDataSource(pageEditingContext(), Observation.ENTITY_NAME); observationDG = new BoiseBatchingDisplayGroup(); observationDG.setDataSource(ds); observationDG.setFetchesOnLoad(true); observationDG.setNumberOfObjectsPerBatch(20); ... Qualifiers here... observationDG.setSortOrderings(Observation.DATE_LAST_MODIFIED.descs()); observationDG.qualifyDisplayGroup(); } return observationDG; On Feb 25, 2011, at 8:07 PM, Johnny Miller wrote: > Hi Paul, > > No. Right now I'm just using the vanilla WO stuff like EOFetchSpecification > and EOUtilities. > > Should I take a look at ERBathingDisplayGroup? > > Thanks again, > > > > > On Feb 25, 2011, at 3:02 PM, Paul D Yu wrote: > >> ERBatchingDisplayGroup > > Johnny Miller > Kahalawai Media Corp > http://www.kahalawai.com > > > ___ 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/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Using Fetch Limits with MySQL
Hi Paul, No. Right now I'm just using the vanilla WO stuff like EOFetchSpecification and EOUtilities. Should I take a look at ERBathingDisplayGroup? Thanks again, On Feb 25, 2011, at 3:02 PM, Paul D Yu wrote: > ERBatchingDisplayGroup Johnny Miller Kahalawai Media Corp http://www.kahalawai.com ___ 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/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Using Fetch Limits with MySQL
John Are you using ERBatchingDisplayGroup? Paul On Feb 25, 2011, at 7:59 PM, Johnny Miller wrote: > Hi, > > I have a database with a single table with a lot of rows (millions). I need > to query the database and only return the first few rows. Unfortunately, > using a FetchSpecification with setFetchLimit does not do the trick. I'm > running into a similar problem described here: > http://www.codefab.com/2006/02/11/webobjectseof-patch-better-way-to-limit-fetches-with-openbase/ > > The same is true if I just use EOUtilities.rawRowsForSQL - for some reason > EOF takes out the LIMIT clause I throw in. > > Does anybody know of a work around? > > Thanks in advance, > > Johnny Miller > Kahalawai Media Corp > http://www.kahalawai.com > > > > ___ > 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/webobjects-dev/pyu%40mac.com > > This email sent to p...@mac.com ___ 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/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Using Fetch Limits with MySQL
Hi, I have a database with a single table with a lot of rows (millions). I need to query the database and only return the first few rows. Unfortunately, using a FetchSpecification with setFetchLimit does not do the trick. I'm running into a similar problem described here: http://www.codefab.com/2006/02/11/webobjectseof-patch-better-way-to-limit-fetches-with-openbase/ The same is true if I just use EOUtilities.rawRowsForSQL - for some reason EOF takes out the LIMIT clause I throw in. Does anybody know of a work around? Thanks in advance, Johnny Miller Kahalawai Media Corp http://www.kahalawai.com ___ 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/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Quick survey: who's deploying on VMWare?
We run a large portion of our production infrastructure on VMWare ESX, including WO. It works extremely well but it does take some knowledge and experience to keep it running smoothly. A lot of the issues you hear about bad networking, intermittent drives, time sync, etc. are from either misconfiguration or incompatible hardware. VMWare will run on a lot of hardware but is only stable and reliable for production on a smaller subset. We had zero downtime due to VMware issues last year. I like the idea of having a WO-ready appliance. We use CentOS for our WO boxes, but I think it might be easier to maintain a custom build on Suse using http://susestudio.com/. I *might* be talked in to building and maintaining such a thing if there's no other takers... John On Feb 24, 2011, at 6:52 PM, Pascal Robert wrote: > I didn't use the free version of ESXi 4 (my Dell tower can't run it) > but it should work fine. I do use Xen (3 VMs) and the 3 VMs (all > running CentOS) have been running just fine for months. > > VMWare Server is going to the dodo, I think the last patch was made > two years and I saw a lot of people in the CentOS who had problems > with Server. > > Le 2011-02-24 à 17:53, Timo Hoepfner a écrit : > >> I've one installation on VMWare Server 2.x using Ubuntu Server 8.04 LTS both >> as host and guest OSs. While Ubuntu is fine, I cannot really recommend >> VMWare Server. It interferes a lot with other VMs (one VM with RHEL running >> an Oracle DB and an J2EE app in tomcat and one VM with Win XP) on the same >> host. E.g. the clock of all VMs need to be synced via NTP every few minutes >> to keep up. Before using Ubuntu 8 as the client, I tried Ubuntu 9. It was >> running fine but wouldn't cleanly unmount its file systems on a regular >> shutdown. After spending days trying to figure out what was going on I >> reverted to Ubuntu 8 and the problem vanished. All this couldn't be >> reproduced on Fusion... >> >> I currently don't have the resources to migrate to ESX(i) but would be >> interested in the experiences people have with it. >> >> Talking about virtualization in general, I also cannot recommend VirtualBox >> as I had several cases where the VM terminated with no apparent reason and >> wouldn't restart w/o restarting the host machine. >> >> Timo >> >> >> Am 24.02.2011 um 16:57 schrieb Pascal Robert: >> >>> Quick survey: who is deploying on VMWare (ESX or otherwise)? Maybe we could >>> make a pre-configured VM with CentOS and everything (wotaskd, Monitor, >>> Apache, etc.) needed for WO in a VMWare template? >>> ___ >>> 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/webobjects-dev/th-dev%40onlinehome.de >>> >>> This email sent to th-...@onlinehome.de >> > ___ > 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/webobjects-dev/jours%40mac.com > > This email sent to jo...@mac.com ___ 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/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
[OT] Heads up! Hudson bug :(
Hi all, Hopefully this won't be an issue long since it was patched yesterday, but... http://issues.jenkins-ci.org/browse/JENKINS-8647 This problem caused the new build server I've been setting up to fill the entire disk with junk over the weekend and fall over. Fortunately it was just hudson and our bug tracker. If you start having disk space problems, you may want to set up a hudson job to run every 15 minutes and cp /dev/null /var/log/hudson/hudson.log until the fixed version is available. Ramsey ___ 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/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Open Two Components on one click in two windows
Just add target = "_blank" to open a new window. The parent window will remain the same component as before the click. Next Page Hyperlink1: WOHyperlink { action = goToNextPage; target = "_blank"; } Steve On Feb 25, 2011, at 12:00 AM, pavan.jayam wrote: > Dear List, > > When a user clicks a submit button or hyper link it should open a new window > with second component and the parent window should continue with the third > component is it possible... > > if yes, please suggest.. > -- > Thanks&Regards, > *Pavan Jayam > *Software Trainee > *Prithvi Information Solutions Ltd* > 10Q3A1, Cyber Towers > HITEC City, Madhapur > Hyderabad - 500 081 > > Desk: +091 - 040 - 66846019 XT:304 > http://www.prithvisolutions.com > > ___ > 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/webobjects-dev/speery%40me.com > > This email sent to spe...@me.com ___ 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/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: CaseInsensitive fetch results to ZERO records....
On 25/02/2011, at 3:40 AM, Ramsey Gurley wrote: > Does a case sensitive fetch *really* work?? I believe the ci in > utf8_general_ci stands for 'case insensitive.' <...> > So it looks like you need to switch over to utf8_bin to get something > resembling case sensitivity. <...> > As for a case insensitive search, by default all MySQL queries are case > insensitive. If you do a case insensitive query in WO, the plugin for MySQL > handles this by converting your query string using UPPER. Which ain't the best idea for mysql as it bypasses your indexes. Alternatively, you can provide a custom adaptor (or alter wonder's) to use the 'binary' keyword. I had this working in my own mysql adaptor (which I didn't at the time get around to rolling into Wonder prior to the current mysql adaptor turned up). Whoever's maintaining wonder's mysql adaptor atm can contact me... it's optionally switched on and essentially transforms (with the assumption that the columns are defined as non-bin collations) case-insensitive into 'like' and case-sensitive into 'binary like'. It handles 'order by' clauses also. with regards, - Lachlan Deck ___ 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/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: Linux deployment advice
I have aready made my own set of rpms for automated WO install. It is targeted for AltLinux (russian distribution) but after certain modifications it may work for others Here they are: helloWO is a set of frameworks with a "product" - "Hello WOrld" application. http://sisyphus.ru/en/srpm/Sisyphus/helloWO/get woadaptor and Apache configuration http://sisyphus.ru/en/srpm/Sisyphus/woadaptor/get wotaskd and womonitor init.d scripts and and initial SiteConfig.xml http://sisyphus.ru/en/srpm/Sisyphus/webobjects/get rpm-macros set for building WO-rpms http://sisyphus.ru/en/srpm/Sisyphus/rpm-macros-webobjects/get 2011/2/24 John Baldwin : > I would definitely be interested in such info and presentations. > Alas, WOWODC isn't in the cards for me. But the post-conference videos would > be. > And an RPM would be great. > John > On Wednesday Feb 23 10:11 AM, at 10:11 AM, Pascal Robert wrote: > > Le 2011-02-23 à 12:23, Joe Little a écrit : > > I can help with RPMs. I guess this part is open sourced. We don't need any > jars for java monitor right? > > WO jars are embedded in JavaMonitor and wotaskd, but the license allow > shipping the WO frameworks as part of a product, and for me JavaMonitor and > wotaskd are "products" :-) > > On Feb 23, 2011, at 6:41 AM, Pascal Robert wrote: > > > Le 2011-02-23 à 11:20, Klaus Berkling a écrit : > > On Feb 23, 2011, at 8:14 AM, David LeBer wrote: > > I'm thinking of doing a presentation on the WebEx channel on how to install > a WO deployment environment on Linux (CentOS/RedHat), any interest for this? > > If anyone is interested in our experience with deploying to Ubuntu on Linode > I'd be happy to gush about that over a beer at WOWOWDC. > > I'd be interested in that. Question is how much would I remember over a few > beers? > > We can always do a deployment session at WOWODC that target CentOS, > Ubuntu/Debian and whatever, but I don't think we need 65 minutes for this. > I do plan to make a RPM for CentOS/RedHat that would instead the Apache > module + Monitor + wotaskd. > > Side note. Anyone ever put a WOApp on a Sun Sparc 100 running FreeBSD? > > kib > "We keep moving forward, opening new doors, and doing new things, because > we're curious and curiosity keeps leading us down new paths." > Walt Disney > Klaus Berkling > Web Application Dev. & Systems Administrator > DynEd International, Inc. > www.dyned.com | blog > > > ___ > 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/webobjects-dev/probert%40macti.ca > > This email sent to prob...@macti.ca > > ___ > 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/webobjects-dev/jmlittle%40gmail.com > > This email sent to jmlit...@gmail.com > > ___ > 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/webobjects-dev/johnbaldwinwebobjects%40gmail.com > > This email sent to johnbaldwinwebobje...@gmail.com > > ___ > 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/webobjects-dev/genkush%40rujel.net > > This email sent to genk...@rujel.net > ___ 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/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com