Re: Limit Qualifier for FetchSpecification

2012-02-08 Thread Ron X
I do that: ListPage page = .; page.displayGroup().setCurrentBatchIndex(2); - but index actually was not setted and only 1 batch page was displayed... ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list

Re: Eclipse/WOLips Help for Old Noobie

2012-02-08 Thread Pascal Robert
Hi Jerry, Please keep the questions on the mailing list so that others can benefit from the conversation. > Hi, Pascal, > > Thanks for the "welcome" note. It's nice to be back. And even more, thanks > for the very useful URLs. > > Golipse worked perfectly (I think). I'm also following the >

Re: Reminder: Installation and configuration of Jenkins

2012-02-08 Thread Emmanuel Tote Dominguez Torres
Thanks a lot for the time, i wont be able to catch it because of college, but i am looking forward to it, will the recording be available on the screencast section? On Wed, Feb 8, 2012 at 10:05 AM, Pascal Robert wrote: > Quick reminder: I will do a presentation on WebEx on how to install (on > L

isEntityEditable still showing space when false

2012-02-08 Thread Theodore Petrosky
I have a boolean to control isEntityEditable. My users that have this set to false still have a LftActionCell that takes up space. So, If I log in, I can edit rows and I see the Edit button. Jane logs in and can not edit entries. There are no Edit buttons but the space exists. 101 : entity.n

Re: Eclipse/WOLips Help for Old Noobie

2012-02-08 Thread David LeBer
You don't need to download the Golipse source, just the pre-built app. Run it and it will install Eclipse and WOLips and configure things correctly. D -- David LeBer Codeferous Software On 2012-02-08, at 7:54 PM, Ted Archibald wrote: > Golipse will download the proper version of Eclipse and WO

Re: Path for wosid cookie

2012-02-08 Thread Jon Nolan
Perfect. Thanks Chuck. On 2/8/12 6:38 PM, Chuck Hill wrote: Hi Jon, Just override domainForIDCookies() in your Session class. Yes, it says "domain" in the method name, but it is really the path. Chuck On 2012-02-08, at 4:35 PM, Jon Nolan wrote: Is there a Wonder-ish way of having the

Re: Path for wosid cookie

2012-02-08 Thread Chuck Hill
Hi Jon, Just override domainForIDCookies() in your Session class. Yes, it says "domain" in the method name, but it is really the path. Chuck On 2012-02-08, at 4:35 PM, Jon Nolan wrote: > Is there a Wonder-ish way of having the session id cookie path set with "/" > rather than "/cgi-bin/We

Re: Eclipse/WOLips Help for Old Noobie

2012-02-08 Thread Ted Archibald
Golipse will download the proper version of Eclipse and WOLips and set everything up properly for you. On Wed, Feb 8, 2012 at 6:24 PM, Jerry W. Walker wrote: > Hi, Ted, > > First, thanks for your response. All help is appreciated. > > I'm sure you had a reason for adding the URL that you sent to

Re: Path for wosid cookie

2012-02-08 Thread Ted Archibald
and .htaccess would be: RewriteRule ^App/(.*)$ /cgi-bin/WebObjects/App.woa/$1 [NC,PT,L] RewriteRule ^App$ /cgi-bin/WebObjects/App.woa [NC,PT,L] On Wed, Feb 8, 2012 at 6:48 PM, Ted Archibald wrote: > Such as: > > er.extensions.ERXApplication.replaceApplicationPath.pattern=/cgi-bin/WebObjects/App.

Re: Path for wosid cookie

2012-02-08 Thread Ted Archibald
Such as: er.extensions.ERXApplication.replaceApplicationPath.pattern=/cgi-bin/WebObjects/App.woa -er.extensions.ERXApplication.replaceApplicationPath.replace=/App On Wed, Feb 8, 2012 at 6:35 PM, Jon Nolan wrote: > Is there a Wonder-ish way of having the session id cookie path set with > "/" rat

Path for wosid cookie

2012-02-08 Thread Jon Nolan
Is there a Wonder-ish way of having the session id cookie path set with "/" rather than "/cgi-bin/WebObjects/App.woa"? If not, does anyone see a danger in making it so myself? There ABSOLUTELY will not be any other WebObjects apps deployed on the host. Thanks, Jon

Re: bug : nullablePropertyKeys won't work with an array as a property...

2012-02-08 Thread Ramsey Gurley
Is that actually used anywhere? On Feb 7, 2012, at 1:24 PM, James Cicenia wrote: > Here is the code: > > if (null == _nullablePropertyKeys) { > NSMutableArray array = new NSMutableArray(); > String preKey = propertyKey(); > D2WContext d2wContext = d2wC

Re: bug : nullablePropertyKeys won't work with an array as a property...

2012-02-08 Thread Farrukh Ijaz
My bad, I just overlooked you're using d2wContext(). Is this something you're writing? If yes, where exactly? Farrukh On 2012-02-08, at 5:25 PM, James Cicenia wrote: > Not sure that is relevant. > > When instantiating a D2WQueryPage and you pass in "Grouped" or "Sectioned" > property keys it

Re: High resolution PDF generation

2012-02-08 Thread Gaastra Dennis - WO Lists
Hi Matteo, We have a solution that renders dynamic PDF and allows you to put PDF vector graphics in the background, or as logo images. It is free, please let me know if you are interested. Dennis On 08/Feb/12 10:07 AM, Matteo Centro wrote: Hi list, in the past I always generated PDF docume

Re: jQuery framework

2012-02-08 Thread Pascal Robert
Le 2012-02-08 à 15:31, Johnny Miller a écrit : > OK, so just to be clear. > > Name the framework: MooTools > And name the components: MTAjaxUpdateLink etc… Exact. > I'll also take another look at jQuery. It seems like the documentation has > changed since my last attempt. If I start writing

Re: jQuery framework

2012-02-08 Thread Johnny Miller
OK, so just to be clear. Name the framework: MooTools And name the components: MTAjaxUpdateLink etc... I'll also take another look at jQuery. It seems like the documentation has changed since my last attempt. If I start writing a new one what should I use as the naming convention? Aloha, Jo

Re: jQuery framework

2012-02-08 Thread Pascal Robert
Le 2012-02-08 à 15:19, Johnny Miller a écrit : > I understand. And I also looked at writing a jQuery Ajax framework but I > didn't get far into it before I realized it wasn't going to be as easy as the > MooTools one. I think the issues were the documentation and the way the Ajax > object wo

Re: jQuery framework

2012-02-08 Thread Johnny Miller
I understand. And I also looked at writing a jQuery Ajax framework but I didn't get far into it before I realized it wasn't going to be as easy as the MooTools one. I think the issues were the documentation and the way the Ajax object worked. Although, I'm sure a better man than me would have

Re: jQuery framework

2012-02-08 Thread Pascal Robert
Personally, I would go with Dojo since it's really made for data-type apps (but maybe Dojo is more for REST contexts, not for contexts like the current Ajax framework) :-) But the community is asking for jQuery (and almost half of the community is already using it, does everyone have their own j

Re: jQuery framework

2012-02-08 Thread Johnny Miller
Hi Pascal, I think everyone should give one more pass at MooTools. I know that jQuery is very popular right now but MooTools is designed from an object oriented perspective. So for people like us, who are already using Java, MooTools just feels more natural. If you look at the MooTools docum

Re: Eclipse/WOLips Help for Old Noobie

2012-02-08 Thread Ted Archibald
https://github.com/rebeld/Golipse On Wed, Feb 8, 2012 at 12:05 PM, Jerry W. Walker wrote: > Hi all, > > After my long absence, I'm reduced to the level of a rank noobie! > > I've been working on a project for a few years in the backwaters of Xcode > for reasons that are irrelevant here. > > I mad

Re: Eclipse/WOLips Help for Old Noobie

2012-02-08 Thread Pascal Robert
Hi Jerry (and welcome back) To install WOLips, you should use Golipse: https://github.com/downloads/rebeld/Golipse/Golipse.app_build_13.zip You will get Eclipse, WOLips + really useful Eclipse plugins. After that, you can follow those instructions: http://wiki.wocommunity.org/display/WONDE

Re: jQuery framework

2012-02-08 Thread Mike Schrag
LeBer, sorry :) ms On Feb 8, 2012, at 1:35 PM, Pascal Robert wrote: > Which one of the Davids' ? :-) > >> David had been working on a jquery ajax framework, but it was kind of a >> slow-burn project. >> >> ms >> >> On Feb 8, 2012, at 1:06 PM, Pascal Robert wrote: >> >>> Hi everyone, >>> >>

Re: jQuery framework

2012-02-08 Thread Pascal Robert
Which one of the Davids' ? :-) > David had been working on a jquery ajax framework, but it was kind of a > slow-burn project. > > ms > > On Feb 8, 2012, at 1:06 PM, Pascal Robert wrote: > >> Hi everyone, >> >> Looking at the comments and results from the survey, it look like the >> biggest p

Re: jQuery framework

2012-02-08 Thread Mike Schrag
David had been working on a jquery ajax framework, but it was kind of a slow-burn project. ms On Feb 8, 2012, at 1:06 PM, Pascal Robert wrote: > Hi everyone, > > Looking at the comments and results from the survey, it look like the biggest > priority for 2012 is to have a jQuery framework for

High resolution PDF generation

2012-02-08 Thread Matteo Centro
Hi list, in the past I always generated PDF documents on the fly from a WO application by using FOP. Writing a component for FOP is not exactly an amusing task so for a new project I was considering using ERPDFGeneration instead, looks a lot simpler. The problem I'm trying to solve is that I do n

jQuery framework

2012-02-08 Thread Pascal Robert
Hi everyone, Looking at the comments and results from the survey, it look like the biggest priority for 2012 is to have a jQuery framework for WO (for stateful apps, I think the jQuery framework from Ravi Mendis is stateless only). So, I have to ask: who can work on a jQuery framework? I'm aski

Eclipse/WOLips Help for Old Noobie

2012-02-08 Thread Jerry W. Walker
Hi all, After my long absence, I'm reduced to the level of a rank noobie! I've been working on a project for a few years in the backwaters of Xcode for reasons that are irrelevant here. I made an attempt to convert the project to Eclipse/WOLips about 7 months ago. I ran all the code through Pa

Re: Compare Integer with EOObjects using EOQualifier

2012-02-08 Thread John Huss
BigDecimals are not integers so they aren't equals to integers. Compare BigDecimals to BigDecimals and Integers to Integers. On Wed, Feb 8, 2012 at 11:14 AM, Sisi Li wrote: > Hi, > > I got a quick but silly question about EOQualifier, I want to compare a > object key with integer value zero but

Compare Integer with EOObjects using EOQualifier

2012-02-08 Thread Sisi Li
Hi, I got a quick but silly question about EOQualifier, I want to compare a object key with integer value zero but seems I can not get it through, the query I wrote is below: ERXKeyValueQualifier qual = ERXQ.greaterThan(Content.VALUES(), BigDecimal.ZERO); where Content.Values() is a key of obje

Reminder: Installation and configuration of Jenkins

2012-02-08 Thread Pascal Robert
Quick reminder: I will do a presentation on WebEx on how to install (on Linux) and configure Jenkins to build WO frameworks and applications. In English, it's this Friday at 10:30 AM (Montreal time, so 07:30 AM in San Francisco/Vancouver and 16:30 in Paris). To register (you need to register):

Re: handling D2W rules

2012-02-08 Thread Ramsey Gurley
Basically what Farrukh said… DRY: Don't repeat yourself :-) Make rules as specific as necessary, but no more. When you see yourself creating a lot of rules that do essentially the same thing for different cases, try to create a single rule that covers them all. A rule like (propertyType = 'r

Re: ERD2WMultiItemCustomComponent and CSS

2012-02-08 Thread Ramsey Gurley
Never heard of that component :-) Try span.PeoplePermissionsAttrVal input { margin-right: 1em; } Ramsey On Feb 8, 2012, at 5:19 AM, Theodore Petrosky wrote: > I am using ERD2WMultiItemCustomComponent but have a problem targeting the > element's css. > > I don't know what else to say?

Delete confirm within ModalBox list view?

2012-02-08 Thread James Cicenia
Hello - I want my delete to bring up a confirm dialog and then upon confirmation, just refresh the underlying ModalBox list view. Question is, what is the proper approach? I am using a JSConfirmDialog. That works but also removes the modal box from the window as it refreshes the page. Is there

Re: Delay with EO deletion?

2012-02-08 Thread Pascal Robert
Le 2012-02-07 à 20:23, Chuck Hill a écrit : > Hi Pascal, > > On 2012-02-07, at 12:39 PM, Pascal Robert wrote: > >> Hi guys, >> >> I have a problem with an editing context, look like it's a delay when I >> delete objects (objects that are not yet in the database). So in short, >> people creat

Re: Delay with EO deletion?

2012-02-08 Thread Pascal Robert
Le 2012-02-07 à 20:23, Chuck Hill a écrit : > Hi Pascal, > > On 2012-02-07, at 12:39 PM, Pascal Robert wrote: > >> Hi guys, >> >> I have a problem with an editing context, look like it's a delay when I >> delete objects (objects that are not yet in the database). So in short, >> people creat

Re: bug : nullablePropertyKeys won't work with an array as a property...

2012-02-08 Thread James Cicenia
Not sure that is relevant. When instantiating a D2WQueryPage and you pass in "Grouped" or "Sectioned" property keys it will fail: >> String key = (String)keysEnum.nextElement(); James On Feb 8, 2012, at 6:13 AM, Farrukh Ijaz wrote: > Hi James, > > In practice you should use either d2wConte

Re: ERXBrowserFactory - parseVersion does not work correct in some cases

2012-02-08 Thread Stefan Klein
Forgot to remove the extra dots.         // Test if we got a real number         try {         String normalizedVersion = ERXStringUtilities.removeExtraDotsFromVersionString(version);             Double.parseDouble(normalizedVersion);         }   

ERD2WMultiItemCustomComponent and CSS

2012-02-08 Thread Theodore Petrosky
I am using ERD2WMultiItemCustomComponent but have a problem targeting the element's css. I don't know what else to say? when I look at the web inspector in Safari, there don't appear to be any classes to hook onto? The first element has an id but the remaining elements have nothing. there is a

Re: bug : nullablePropertyKeys won't work with an array as a property...

2012-02-08 Thread Farrukh Ijaz
Hi James, In practice you should use either d2wContext.setDynamicPage(...) or d2wContext.setEntity(...) and d2wContext.setTask(...) methods prior to call d2wContext.valueForKey(...). Farrukh On 2012-02-07, at 11:24 PM, James Cicenia wrote: > Here is the code: > > if (null == _nullabl

handling D2W rules

2012-02-08 Thread Theodore Petrosky
How do youse guys who have experience handle rules files that grow. I realize that I am still a neophyte and I have a lot to learn about using (*) to reduce the number of rules. However, I see that as a small project gets even medium sized there are so many rules. I have trouble finding the rul

Re: App switching from https to http port 443 on logout

2012-02-08 Thread Pascal Robert
Hi Jon, > On 2/8/12 5:53 AM, Klaus Berkling wrote: >> >> On Feb 7, 2012, at 7:42 AM, Jon Kleiser wrote: >> >>> This is roughly how we handles the logout (simplified): >>> >>> public WOComponent logout() { >>> WORedirect redirect = new WORedirect(context()); >>> loginUrl = context().directActi

Re: App switching from https to http port 443 on logout

2012-02-08 Thread Paul D Yu
Jon 5.4 Wonder is where it's at Sent from my iPad On Feb 8, 2012, at 6:32 AM, Jon Kleiser wrote: > On 2/8/12 5:53 AM, Klaus Berkling wrote: >> >> >> On Feb 7, 2012, at 7:42 AM, Jon Kleiser wrote: >> >>> This is roughly how we handles the logout (simplified): >>> >>> public WOComponent logo

Re: App switching from https to http port 443 on logout

2012-02-08 Thread Jon Kleiser
On 2/8/12 5:53 AM, Klaus Berkling wrote: On Feb 7, 2012, at 7:42 AM, Jon Kleiser wrote: This is roughly how we handles the logout (simplified): public WOComponent logout() { WORedirect redirect = new WORedirect(context()); loginUrl = context().directActionURLForActionNamed("default", null);

Re: Limit Qualifier for FetchSpecification

2012-02-08 Thread Johann Werner
Hi Ron, what you want is an ERXBatchingDisplayGroup [1] that gives you all that batching stuff out of the box. If you don't want to use a display group as you need only a certain batch for your concrete page then have a look at ERXFetchSpecificationBatchIterator [2]. jw [1] http://jenkins.w