Re: new system: all installed, but eogeneration is a no-op

2012-01-23 Thread Joe Little
Solved myself looking at the list. Its the 3.7 refresh issue as well as the defaults of eogen setting complete paths to the source tree and not just Sources. On Mon, Jan 23, 2012 at 9:29 PM, Joe Little wrote: > So, I haven't brought the full old config with all my frameworks over > to my macbook

new system: all installed, but eogeneration is a no-op

2012-01-23 Thread Joe Little
So, I haven't brought the full old config with all my frameworks over to my macbook air. Time to start a new project with an old model, so I got Eclipse 3.7, the matching wolips, and the latest Wonder binaries (Jan 19th apparently). All in place, Wonder project builds find. However, creating a Won

Re: Class 'Main' exists but is not a subclass of WOComponent.

2012-01-23 Thread Lachlan Deck
It's usually a classpath ordering problem. But, to be certain you get the one you want... public class Application extends ERXApplication { @Override public void installPatches() { ERXPatcher.setClassForName(Main.class.getName(), "Main"); ... } } On 24/01/2012, at 5:31 AM, James

Re: Webobjects Begginer Question.

2012-01-23 Thread Ramsey Gurley
On Jan 23, 2012, at 11:59 AM, Emmanuel Tote Dominguez Torres wrote: > sorry. > noob issues i guess. > Emmanuel Dominguez Torres. > > On Mon, Jan 23, 2012 at 12:56 PM, Pascal Robert wrote: > Hi Emmanuel, > > Don't forget to send your questions to the mailing list :-) > > > well, it was faster

Re: Detecting POST vs GET

2012-01-23 Thread Kieran Kelleher
Have a look at WORequest API. Looks like some methods there may help you, such as WORequest.method() WORequest.queryString() On Jan 23, 2012, at 12:46 PM, Klaus Berkling wrote: > This question may be elementary, but... > > How can you tell if a form's submit method was PO

Re: Detecting POST vs GET

2012-01-23 Thread Pascal Robert
context().request().method() have the answer > This question may be elementary, but... > > How can you tell if a form's submit method was POST or GET? I need to make > sure that my form data was not submitted with GET, i.e. where the form data > shows up in the URL. > > I would have to check

Re: Webobjects Begginer Question.

2012-01-23 Thread Emmanuel Tote Dominguez Torres
sorry. noob issues i guess. Emmanuel Dominguez Torres. On Mon, Jan 23, 2012 at 12:56 PM, Pascal Robert wrote: > Hi Emmanuel, > > Don't forget to send your questions to the mailing list :-) > > > well, it was faster than i expected to be back, so i will just reply > here as i think anybody has wa

Re: Detecting POST vs GET

2012-01-23 Thread Alan Ward
if ("POST".equals(request().method())) { } Alan On Jan 23, 2012, at 10:46 AM, Klaus Berkling wrote: > This question may be elementary, but... > > How can you tell if a form's submit method was POST or GET? I need to make > sure that my form data was not submitted with GET, i.e. where the for

Re: Rule to access security

2012-01-23 Thread David Holt
Hi Ted, Are you sure you don't have a rule overriding this one? D2WTraceRuleFiringEnabled true will turn on rule logging. I usually just do a text find on the console output for the rule I'm looking for. David On 2012-01-23, at 9:53 AM, Theodore Petrosky wrote: > by itself ERDDelayedBoolean

Class 'Main' exists but is not a subclass of WOComponent.

2012-01-23 Thread James Cicenia
Down to my last show stopper.. Class 'Main' exists but is not a subclass of WOComponent. PATH: /Users/jcicenia/Documents/workspace/TOSDevelopment/build/TOSDevelopment.woa/Contents/Resources/Java /Users/jcicenia/Library/Frameworks/MyEOPrototypes.framework/Resources/Java/myeoprototypes.jar /User

Re: Detecting POST vs GET

2012-01-23 Thread Petite Abeille
On Jan 23, 2012, at 6:46 PM, Klaus Berkling wrote: > How can you tell if a form's submit method was POST or GET? WORequest.method()? ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@l

Re: Rule to access security

2012-01-23 Thread Ramsey Gurley
Make sure you have log4j.logger.er.directtoweb.rules.ERD2WTraceRuleFiringEnabled=DEBUG In your App/Resources/Properties.dev file. There's a nifty way to enable/disable this logger in ERModern, but I never dev without it. Once you've done that, click the log4j link in your debugging utilities

Re: Rule to access security

2012-01-23 Thread Theodore Petrosky
by itself ERDDelayedBooleanAssignment did nothing. I am going to reread the wiki on caching. You said to, "loggers for isEntityEditable". I hope you don't think it too silly, but how do I turn on this level of logging? Ted --- On Mon, 1/23/12, Ramsey Gurley wrote: > From: Ramsey Gurley > Sub

Reminder: 2012 surveys are in da house

2012-01-23 Thread Pascal Robert
We are up to 47 organizations, still 39 less than last year! I see some big names missing :-) - Good morning everyone, The annual surveys are now available: Organization (e.g., your business answers): https://www.survs.com/survey/XLRMBX7JB7 Individual (e.g., your personal answers) : htt

Re: Dynamically append CSS class in D2W

2012-01-23 Thread Fabian Peters
> I'm open to suggestions, but I don't think ERMDDefaultCSSAssignment currently > supports CSS appending. Ok, thanks! I wasn't sure whether I overlooked something. > Could you do something like: > > 100 : (pageConfiguration = 'EditProduct' and object.isEditingClone = 1) => > classForHeader = "

Detecting POST vs GET

2012-01-23 Thread Klaus Berkling
This question may be elementary, but... How can you tell if a form's submit method was POST or GET? I need to make sure that my form data was not submitted with GET, i.e. where the form data shows up in the URL. I would have to check that there was no GET data. I can see the POST data in requ

Re: Rule to access security

2012-01-23 Thread Ramsey Gurley
And if that doesn't work, enable your rule loggers for isEntityEditable. Just looking at the rule, that looks to me like it *should* work with a caching assignment too. Ramsey On Jan 23, 2012, at 8:46 AM, David LeBer wrote: > Ted, > > You probably want try ERDDelayedBooleanAssignment so that

Re: What it means

2012-01-23 Thread Ramsey Gurley
Looks like it might be an optimistic locking exception. Make sure you are using an auto-locking editing context (EOEditingContext ec = ERXEC.newEditingContext()) and that you don't have columns locked that shouldn't be (date time columns on MSSQL for instance). Ramsey On Jan 23, 2012, at 6:00

Re: What causes a white screen response from ListPageInterface?

2012-01-23 Thread Ramsey Gurley
If you put a breakpoint into that method, is it actually getting called? Ramsey On Jan 21, 2012, at 7:31 AM, James Cicenia wrote: > While trying to get my project working again after my Wonder source > conversion, > I tried to just initiate a real ListPage vs the embedded one to see if I > cou

Re: my embedded ERXD2WList crashes.

2012-01-23 Thread Ramsey Gurley
I recently updated ERXResourceManager to allow for the use of SVG files in WO. Part of that change involved making a new file called AdditionalMimeType.plist to hold mime types not listed in JavaWebObjects/Resources/MIME.plist. If you've updated ERXExtensions, it should be located in your ERX

Re: Dynamically append CSS class in D2W

2012-01-23 Thread David LeBer
I'm open to suggestions, but I don't think ERMDDefaultCSSAssignment currently supports CSS appending. Could you do something like: 100 : (pageConfiguration = 'EditProduct' and object.isEditingClone = 1) => classForHeader = "Header EditHeader EditProductHeader EditProductHeaderClone" D -- Davi

Dynamically append CSS class in D2W

2012-01-23 Thread Fabian Peters
Hi, I'm setting a CSS class via a rule like: 100 : (task = 'edit' and object.isEditingClone = 1) => classForHeader = editingClone [com.webobjects.directtoweb.Assignment] The above works fine, but it of course removes all existing classes on the header div: => Is there a "pretty good pr

Re: Rule to access security

2012-01-23 Thread Jesse Tayler
look at the part about rule caching http://wiki.wocommunity.org/display/WO/The+D2W+Rule+System to ensure a key's rules are fired each time the key is requested is referred to as a significant key, Wonder may have some advancements on this idea that someone might better explain, but it sounds li

Re: Rule to access security

2012-01-23 Thread David LeBer
Ted, You probably want try ERDDelayedBooleanAssignment so that the rule is evaluated every time. D -- David LeBer Codeferous Software On 2012-01-23, at 10:29 AM, Theodore Petrosky wrote: >100 : (pageConfiguration = 'ListPerson' and > session.user.security.canEditPerson = 'true') => isEn

Rule to access security

2012-01-23 Thread Theodore Petrosky
100 : (pageConfiguration = 'ListPerson' and session.user.security.canEditPerson = 'true') => isEntityEditable = true [com.webobjects.directtoweb.BooleanAssignment], So I have this rule to access the security of my user. This must be wrong, because if I login as user1 and user1 has permissi

Re: queryAll page and Advanced

2012-01-23 Thread David LeBer
I don't know. Are you trying to use an ERD2WEditToOneRelationship on a query page? D -- David LeBer Codeferous Software On 2012-01-23, at 9:33 AM, Theodore Petrosky wrote: > When I click the advanced button on the Search All page for an EO I get this > error: > > '[ er.directtoweb.component

queryAll page and Advanced

2012-01-23 Thread Theodore Petrosky
When I click the advanced button on the Search All page for an EO I get this error: takeValueForKey()]: attempt to assign value to unknown key: 'displayGroup'. This WOComponent does not have an instance variable of the name displayGroup or _displayGroup, nor a method of the name setDisplayGrou

Re: D2W and the Search All page

2012-01-23 Thread David LeBer
Typed into mail: task= 'queryAll' => visibleEntityNames = (Foo,Bar,Baz) D -- David LeBer Codeferous Software On 2012-01-23, at 6:56 AM, Theodore Petrosky wrote: > Following Ramsey's wonderful 2010 presentation (HelloD2W), I have implemented > Preferences from ERCoreUserInterface into my app.

Re: INSTALL_MODE_FLAG

2012-01-23 Thread Pascal Robert
I'm going to assume that this variable is for setting permissions? If yes, with Ant, use the chmod task: http://ant.apache.org/manual/Tasks/chmod.html > Hi .. > > XCode had a variable to set called INSTALL_MODE_FLAG which was set to a+rX > > Is there a similar variable and if there is where

INSTALL_MODE_FLAG

2012-01-23 Thread Gino Pacitti
Hi .. XCode had a variable to set called INSTALL_MODE_FLAG which was set to a +rX Is there a similar variable and if there is where is it? Gino ___ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webob

What it means

2012-01-23 Thread murali
while updating the status with in AjaxModalDialog and click on save button got the follwing exception.Can any one suggest me wht's the problem -- com.webobjects.eoaccess.EOGeneralAdaptorException: updateValuesInRowDescribedByQualifier -- com.webobjects.jdbcadaptor.JDBCChannel method failed to upd

Job available @ Beijing

2012-01-23 Thread Schoenenberger Dominique
My company is looking for a WebObjects developer to work in our office in Beijing (http://www.nagra.com). The development (intranet application) is on Mac. We use pretty cool technologies: Eclipse + WOLips, Wonder, Hudson, Selenium, Ajax, DirectToWeb with XHTML + CSS and

Fw: D2W and the Search All page

2012-01-23 Thread Theodore Petrosky
Right after I pushed the send button I thought about the CSS and display: none; works like a charm. Ted --- On Mon, 1/23/12, Theodore Petrosky wrote: > From: Theodore Petrosky > Subject: D2W and the Search All page > To: "WebObjects Development" > Date: Monday, January 23, 2012, 6:56 AM >

D2W and the Search All page

2012-01-23 Thread Theodore Petrosky
Following Ramsey's wonderful 2010 presentation (HelloD2W), I have implemented Preferences from ERCoreUserInterface into my app. But of course, it added a lot to the search all page. I don't see how to control what is on this page? I will look (listen through) the examples but if someone could t

Community Roadmap

2012-01-23 Thread Pascal Robert
Good morning everyone, I made a draft of a "Community Roadmap", based on comments made in the surveys and other places in the last 5 years (yes, some stuff was comments made 5 years and that are still valid). http://wiki.wocommunity.org/display/WOCOM/Community+Roadmap If you didn't answer th