Re: D2W Question: ERXD2WList, how to retain sort order key

2013-02-11 Thread Robert Hanviriyapunt
Is that persisted or per session? On Feb 11, 2013, at 11:11 PM, David Holt wrote: > ERCoreBusinessLogic can save user preferences for sort order. Would something > in there help you? > > Sent from my iPad > > On 2013-02-11, at 9:03 PM, Robert Hanviriyapunt wrote: > >> Hi again, >> >> I hav

Re: D2W Question: ERXD2WList, how to retain sort order key

2013-02-11 Thread David Holt
ERCoreBusinessLogic can save user preferences for sort order. Would something in there help you? Sent from my iPad On 2013-02-11, at 9:03 PM, Robert Hanviriyapunt wrote: > Hi again, > > I have a ERXD2WList [B] in a page/component [A] and have propertyIsSortable = > "true" on all properties.

D2W Question: ERXD2WList, how to retain sort order key

2013-02-11 Thread Robert Hanviriyapunt
Hi again, I have a ERXD2WList [B] in a page/component [A] and have propertyIsSortable = "true" on all properties. The sorting is all ajax-y and works, but when the user clicks a row to view a single item on a new page, then clicks a "back" link to go back to the list page, the sort is lost. H

Re: restrictedChoiceKey to return currentClients ??

2013-02-11 Thread Theodore Petrosky
so I go to bed and of course can't sleep thinking of this crap and it dawns on me: object.client.clientName duh sorry for the answering my own question again. Ted --- On Mon, 2/11/13, Theodore Petrosky wrote: > From: Theodore Petrosky > Subject: restrictedChoiceKey to return currentClie

restrictedChoiceKey to return currentClients ??

2013-02-11 Thread Theodore Petrosky
I have a method in my Client object: public NSArray currentClients() { NSLog.out.appendln(" *currentClients "); return Client.fetchClients(editingContext(), Client.IS_ACTIVE.eq(true), Client.CLIENT_NAME.ascs()); } and of course there are a

Re: Validation .. I found a good page

2013-02-11 Thread Johnny Miller
Got it. I'll re-watch the video. I'm thinking that it would be cool to use a data attribute. Then you could add more information about the error to the input i.e. if you want to add a hover field above the input that contained the error message. On Feb 11, 2013, at 2:18 PM, Chuck Hill wrote

Re: Validation .. I found a good page

2013-02-11 Thread Chuck Hill
If I was doing this, I would want my own inputs that could record their validation errors, show their own validation messages, and set their own CSS styles as needed. My validation presentation at WOWODC 2009 and outlines this. And not, it is not done yet. :-) Chuck On 2013-02-11, at 3:27

Re: Validation .. I found a good page

2013-02-11 Thread Johnny Miller
Hi Chuck, I think I understand what you are saying. But just to be clear... when validationFailedWithException gets called if I could use context().elementID() to get the input that failed? If so I could then use JavaScript to find the the inputs whose name value is in the array I collect and

Re: Validation .. I found a good page

2013-02-11 Thread Chuck Hill
I wouldn't. Use the keypath that is. It might be used by more than one component on a page (e.g. in a repetition). If you can assign an HTML id to each, that is best. Otherwise, context().elementID will suffice. On 2013-02-11, at 12:14 PM, Johnny Miller wrote: > Hi, > > I was wondering if

Re: Validation .. I found a good page

2013-02-11 Thread James Cicenia
That's a good question. Thinking out loud Maybe set the session.addError and pass it a keyPath and value and then in the appendToResponse do some magic? or brute force a bunch of class methods to check for the existence of the keypath? James On Feb 11, 2013, at 2:14 PM, Johnny Miller wrote:

Re:

2013-02-11 Thread Ramsey Gurley
I assume you mean the URL for the 4.2 install site for WOLips. That's at http://jenkins.wocommunity.org/job/WOLips42/lastSuccessfulBuild/artifact/temp/dist/ Ramsey On Feb 11, 2013, at 2:20 PM, Zachary Igielman wrote: > I have Eclipse 4.2, when adding a repository when adding the framework, what

[no subject]

2013-02-11 Thread Zachary Igielman
I have Eclipse 4.2, when adding a repository when adding the framework, what location URL would I put in? The URL on the website is for 3.7. Sent from my iPad 2 ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing li

Re: WebObjects IDE

2013-02-11 Thread Mike Schrag
(cc'ing the mailing list) It doesn't work that way. WebObjects is Java now. You would need to go through a much more complicated process to use Objective-C in your Java app. You need to read up on the JNA framework. Again, I highly recommend not starting out doing this. You will spin your wheels

Re: WebObjects IDE

2013-02-11 Thread Pascal Robert
(don't forget to reply to the list). I'm not sure, but I think you are confusing WebKit and WebObjects. WebObjects is an application server written in Java that Apple wrote. The code you are sending is from WebKit. Very different things. > How do I import the objective c class into an eclipse p

Re: problem with _private.ERXSwitchComponent

2013-02-11 Thread Theodore Petrosky
I found my problem. I had a rule modeler group that I was using. when I double clicked a rule, it opened the correct file and I edited it and saved. I had to select the Resources folder in Eclipse and Refresh. I thought there was a preference so eclipse would auto refresh. maybe I'm wrong. Ted

Re: WebObjects IDE

2013-02-11 Thread Pascal Robert
Le 2013-02-11 à 15:56, Johnny Miller a écrit : > Do you guys think it would make sense if you were looking for a solution like > the one offered by Objective cloud? Maybe, but you would be running on a Mac Mini. It wouldn't put something critical on this unless you do some redundancy, and the

Re: WebObjects IDE

2013-02-11 Thread Johnny Miller
Do you guys think it would make sense if you were looking for a solution like the one offered by Objective cloud? On Feb 11, 2013, at 10:47 AM, Pascal Robert wrote: > > Le 2013-02-11 à 15:45, Mike Schrag a écrit : > What IDE can I use for WebObjects development? Can you send me i

Re: WebObjects IDE

2013-02-11 Thread David LeBer
On 2013-02-11, at 3:45 PM, Mike Schrag wrote: >>> What IDE can I use for WebObjects development? Can you send me installation >>> instructions for mountain lion and a link to a hello world webobjects >>> WEBSITE tutorial? When making a WebObjects WEBSITE, can I call objective-c >>> classes and

Re: WebObjects IDE

2013-02-11 Thread Pascal Robert
Le 2013-02-11 à 15:45, Mike Schrag a écrit : >>> What IDE can I use for WebObjects development? Can you send me installation >>> instructions for mountain lion and a link to a hello world webobjects >>> WEBSITE tutorial? When making a WebObjects WEBSITE, can I call objective-c >>> classes and

Re: WebObjects IDE

2013-02-11 Thread Mike Schrag
>> What IDE can I use for WebObjects development? Can you send me installation >> instructions for mountain lion and a link to a hello world webobjects >> WEBSITE tutorial? When making a WebObjects WEBSITE, can I call objective-c >> classes and functions, if so, how? > > You will need to wrap i

Re: WebObjects IDE

2013-02-11 Thread Pascal Robert
Le 2013-02-11 à 15:33, zacharyi...@gmail.com a écrit : > To All, > > What IDE can I use for WebObjects development? Can you send me installation > instructions for mountain lion and a link to a hello world webobjects WEBSITE > tutorial? When making a WebObjects WEBSITE, can I call objective-c

Re: WebObjects IDE

2013-02-11 Thread Johnny Miller
To call Objective-C classes you will need to use the Java native interface (JNI). In the ERAttachment framework there is an example of using JNI to resize images. Johnny On Feb 11, 2013, at 10:37 AM, Steve Peery wrote: > http://wiki.wocommunity.org/display/documentation/Getting+Started >

Re: WebObjects IDE

2013-02-11 Thread Bogdan Zlatanov
Hi, You might start here: http://wiki.wocommunity.org/display/documentation/Getting+Started Cheers On 11 Feb 2013, at 21:33, zacharyi...@gmail.com wrote: > To All, > > What IDE can I use for WebObjects development? Can you send me installation > instructions for mountain lion and a link to a

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 > instruction

WebObjects IDE

2013-02-11 Thread zacharyi123
To All, What IDE can I use for WebObjects development? Can you send me installation instructions for mountain lion and a link to a hello world webobjects WEBSITE tutorial? When making a WebObjects WEBSITE, can I call objective-c classes and functions, if so, how? Thanks, Zach -

Re: Validation .. I found a good page

2013-02-11 Thread Johnny Miller
Hi, I was wondering if anyone has an example of how to do the following: Using this method... public void validationFailedWithException(Throwable exception, Object value, String keyPath) { super.validationFailedWithException(exception, value, keyPath); session().addError(exception.getMessag

problem with _private.ERXSwitchComponent

2013-02-11 Thread Theodore Petrosky
i don't know that's the problem, but that is the error. I added a popup to my query page with ERD2WQueryToOneRelationship component. here are my rules: 100 : (pageConfiguration = 'QueryAgenda' and propertyKey = 'client') => componentName = "ERD2WQueryToOneRelationship" [com.webobjects.directto

Re: Validation

2013-02-11 Thread Pascal Robert
Le 2013-02-11 à 13:37, Ramsey Gurley a écrit : > > On Feb 11, 2013, at 10:51 AM, James Cicenia wrote: > >> Since this project is new and I want to try to work with all the best >> practices, I now need to pay attention to validation. >> >> Is there a good wiki page I should read or a video I

Re: Validation

2013-02-11 Thread Ramsey Gurley
On Feb 11, 2013, at 10:51 AM, James Cicenia wrote: > Since this project is new and I want to try to work with all the best > practices, I now need to pay attention to validation. > > Is there a good wiki page I should read or a video I should watch? I don't think there's any one stop that expl

Re: Validation .. I found a good page

2013-02-11 Thread James Cicenia
Should probably just be named "Validation." All the EOF stuff threw me off for a while. http://wiki.wocommunity.org/display/documentation/EOF-Using+EOF-Validation ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailin

Validation

2013-02-11 Thread James Cicenia
Since this project is new and I want to try to work with all the best practices, I now need to pay attention to validation. Is there a good wiki page I should read or a video I should watch? I am mixing D2W with Custom Components and I notice something like parent().validationFailedWithExceptio

Re: cheatsheet ?

2013-02-11 Thread Jesse Tayler
whoa! Ramsey! Can we get this process scripted somehow? I haven't yet tried the steps, which I'll do today but I can see this is hugely helpful! I should think that the setup of a new developer machine would ALWAYS benefit from having a standardized WOnder install. On Feb 11, 2013, at 12:23

Re: cheatsheet ?

2013-02-11 Thread Ramsey Gurley
What I do is this: 1) Open Git Repository Exploring perspective in Eclipse. - Window -> Open Perspective -> Other * You'll need eGit installed to do this. 1a) If you don't have eGit - Help -> Install New Software - In the "Work with:" box, type Juno if you're using 4.2. Type Indigo if you're us

Re: cheatsheet ?

2013-02-11 Thread Bastian Triller
Can you explain what do you mean with "finds things for me"? When should eclipse find what for you? Am 11.02.2013 17:38 schrieb "Jesse Tayler" : > > Oh, while we're at this -- I don't have eclipse properly connecting to my > Wonder source such that it finds things for me. > > Is there an easy fix

Re: consuming rest?

2013-02-11 Thread Pascal Robert
http://wiki.wocommunity.org/display/documentation/Consuming+REST+services > is there a good example of ERRest consuming web services? > > or does anyone have a slide of code to share on it? > > > ___ > Do not post admin requests to the list. They will

consuming rest?

2013-02-11 Thread Jesse Tayler
is there a good example of ERRest consuming web services? or does anyone have a slide of code to share on it? ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsu

Re: cheatsheet ?

2013-02-11 Thread Jesse Tayler
Oh, while we're at this -- I don't have eclipse properly connecting to my Wonder source such that it finds things for me. Is there an easy fix for this? D2W would be much easier to debug with at least that. On Feb 11, 2013, at 11:22 AM, Ramsey Gurley wrote: > > On Feb 11, 2013, at 4:52 AM

Re: cheatsheet ?

2013-02-11 Thread Ramsey Gurley
On Feb 11, 2013, at 4:52 AM, Theodore Petrosky wrote: > does anyone have a cheat sheet that lists all the possible bindings in D2W > components. (if its on the wiki I'll just start screaming because I have been > reading in there all weekend) > > Or do you just run to the source of each compon

Re: Wonder 6.0.1 release

2013-02-11 Thread Alexis Tual
Hi Pascal and many thanks for publishing these releases. We're interested in this 6.0.1, in particular this fix : https://github.com/projectwonder/wonder/commit/bed35de926d0fe53c207b2fea7f5e3d1922d0ddb Can Henrique make a maven release of this 6.0.1 and publish it on the community repo ? Thanks

Re: WOCommunity membership and goals

2013-02-11 Thread Pascal Robert
Le 2013-02-11 à 08:43, jazz a écrit : > Hi all, > > I was reading through the comments others made. For me two things are > important: > > 1. How to integrate WebObjects and iOS (mobile apps): client - server > communication without the use of Javascript frameworks on the client > 2. Easy se

Re: [OT] VAT number

2013-02-11 Thread Pascal Robert
Le 2013-02-11 à 08:38, Philippe Willems a écrit : > Hi Pascal, > > Do you have to charge VAT on your export invoices made up to other companies > (i.e. customers with European VAT number) ? > If not, I don't think it matters if there is a VAT number on them or not. > At least not for the compa

Re: WOCommunity membership and goals

2013-02-11 Thread jazz
Hi all, I was reading through the comments others made. For me two things are important: 1. How to integrate WebObjects and iOS (mobile apps): client - server communication without the use of Javascript frameworks on the client 2. Easy setup and deployment like the good old Apple WebObjects Whe

Re: [OT] VAT number

2013-02-11 Thread Philippe Willems
Hi Pascal, Do you have to charge VAT on your export invoices made up to other companies (i.e. customers with European VAT number) ? If not, I don't think it matters if there is a VAT number on them or not. At least not for the company receiving the invoice. But it may be required for your stor

Re: cheatsheet ?

2013-02-11 Thread Pascal Robert
Looks like part of the job was already done: http://jenkins.wocommunity.org/job/WonderIntegration/javadoc/d2wlist.html > The JavaDoc have many of them, for example: > > > http://jenkins.wocommunity.org/job/WonderIntegration/javadoc/er/directtoweb/components/ERD2WStatelessCustomComponentWithArg

ERFreshBooks framework

2013-02-11 Thread Pascal Robert
I have to use FreshBooks (online accounting app) and so I did a simple framework to connect to their APIs (which is XML over POST requests, sadly it's not a real REST service…). https://github.com/pascalrobert/ERFreshBooks It's not complete, but if you need it, grab it and contribute.

Re: cheatsheet ?

2013-02-11 Thread Pascal Robert
The JavaDoc have many of them, for example: http://jenkins.wocommunity.org/job/WonderIntegration/javadoc/er/directtoweb/components/ERD2WStatelessCustomComponentWithArgs.html I guess we would need to pull that out from the JavaDoc and make a list of all keys. > does anyone have a cheat sheet

cheatsheet ?

2013-02-11 Thread Theodore Petrosky
does anyone have a cheat sheet that lists all the possible bindings in D2W components. (if its on the wiki I'll just start screaming because I have been reading in there all weekend) Or do you just run to the source of each component and look to see what is there (including the inherited bindin