Re: More newbie questions: customizing D2W's templates

2014-12-23 Thread Flavio Donadio
Ramsey, Thanks a lot! I was trying to use a rule like this: 100 : task = 'query' => showResults = "true" [com.webobjects.directtoweb.BooleanAssignment] But it didn't work... I was using different code in my MainNavigationController that returned WOComponent instead of ERD2W*Page. Now I have t

Re: More newbie questions: customizing D2W's templates

2014-12-23 Thread Ramsey Gurley
Looks like this should work: String entityName = ... ERD2WQueryPage page = (ERD2WQueryPage)ERD2WFactory.erFactory().queryPageForEntityNamed(entityName, session()); page.setShowResults(true); return page; On Dec 23, 2014, at 1:28 PM, Flavio Donadio wrote: > Ramsey, > > > Here I am, digging

Re: More newbie questions: customizing D2W's templates

2014-12-23 Thread Flavio Donadio
Ramsey, Here I am, digging the archives again... I have used this technique for some time, but now I want to show unfiltered query results when the page loads. Is it possible? I've looked into documentation and code and can't come up with a rule (or a set of rules) for that. Cheers, Flavio

Re: More newbie questions: customizing D2W's templates

2012-10-16 Thread Ramsey Gurley
I usually go with a query config like 100: pageConfiguration = "QueryCompetitorWithFilter" => showListInSamePage = true [BooleanAssignment] Then put whatever filtering attributes you want into the query property keys for that config. 100: pageConfiguration = "QueryCompetitorWithFilter" => disp

More newbie questions: customizing D2W's templates

2012-10-16 Thread Flavio Donadio
Hello, all! I feel like I am polluting the list with newbie questions, but I can't find most of the answers I need on the web (bad google-fu?)... If anyone has a good source of documentation, please tell me! :) Imagine a simple D2W app. Its EOModel has these entities: Competitor <<---> Team

Re: CORRECTION: Re: More newbie questions

2005-11-18 Thread Lachlan Deck
Hi there, On 18/11/2005, at 5:48 PM, Randy Becker wrote: I'm using a WORepetition currently. It displays objects I want it to, Good. Actually this kind of stuff comes up in the Apple tutorials (I think) - so have you been through the "Web Applications" tutorial from the following? http:/

Re: CORRECTION: Re: More newbie questions

2005-11-17 Thread Randy Becker
I'm using a WORepetition currently. It displays objects I want it to, but I need to be able to perform actions on a user-selected subset of the objects it displays. Is a WORepetition not a good way to do this? What should I use? What is this WODisplayGroup? -Randy On Nov 16, 2005, at 3:23

Re: More newbie questions

2005-11-16 Thread Arturo Perez
Randy Becker wrote: On Nov 15, 2005, at 7:59 PM, Lachlan Deck wrote: then you want item.possessor.address Where are you trying to do this? e.g., WebObjects Builder makes it easy to navigate the key-paths and connect the attribute in question to the display... I must be doing something w

CORRECTION: Re: More newbie questions

2005-11-16 Thread Wolfram Stebel
Am 15.11.2005 23:46 Uhr schrieb "Randy Becker" unter <[EMAIL PROTECTED]>: You already received valuable information on the other topics. > And finally, how can I do something like the WOExamples > WXCheckBoxList - I tried importing some of the frameworks in the > examples project, but couldn't ge

Re: More newbie questions

2005-11-16 Thread Wolfram Stebel
Am 15.11.2005 23:46 Uhr schrieb "Randy Becker" unter <[EMAIL PROTECTED]>: You already received valuable information on the other topics. > And finally, how can I do something like the WOExamples > WXCheckBoxList - I tried importing some of the frameworks in the > examples project, but couldn't ge

Re: More newbie questions

2005-11-15 Thread Randy Becker
On Nov 15, 2005, at 7:59 PM, Lachlan Deck wrote: Hi there, On 16/11/2005, at 10:48 AM, Randy Becker wrote: On Nov 15, 2005, at 6:21 PM, Sacha Michel Mallais wrote: On Nov 15, 2005, at 2:46 PM, Randy Becker wrote: but I'd like to do something like String format = "(title caseInsensitiveLi

Re: More newbie questions

2005-11-15 Thread Sacha Michel Mallais
On Nov 15, 2005, at 3:48 PM, Randy Becker wrote: On Nov 15, 2005, at 6:21 PM, Sacha Michel Mallais wrote: On Nov 15, 2005, at 2:46 PM, Randy Becker wrote: Right now I've got: String format = "title caseInsensitiveLike %s"; NSArray args = new NSArray(searchQuery); return EOUtilities.objectsWi

Re: More newbie questions

2005-11-15 Thread Lachlan Deck
Hi there, On 16/11/2005, at 10:48 AM, Randy Becker wrote: On Nov 15, 2005, at 6:21 PM, Sacha Michel Mallais wrote: On Nov 15, 2005, at 2:46 PM, Randy Becker wrote: but I'd like to do something like String format = "(title caseInsensitiveLike %s) OR (title caseInsensitiveLike %s)"; That

Re: More newbie questions

2005-11-15 Thread Randy Becker
On Nov 15, 2005, at 6:21 PM, Sacha Michel Mallais wrote: On Nov 15, 2005, at 2:46 PM, Randy Becker wrote: Firstly, is there an EOUtilities function to return objects that match multiple criteria? Or do I have to use lower level methods? Yes, you're using it below: objectsWithQualifierForma

Re: More newbie questions

2005-11-15 Thread Sacha Michel Mallais
On Nov 15, 2005, at 2:46 PM, Randy Becker wrote: Firstly, is there an EOUtilities function to return objects that match multiple criteria? Or do I have to use lower level methods? Yes, you're using it below: objectsWithQualifierFormat()... Right now I've got: String format = "title caseIns

More newbie questions

2005-11-15 Thread Randy Becker
Well, I've been working on my app for a bit now, and I've come up some more questions. Firstly, is there an EOUtilities function to return objects that match multiple criteria? Or do I have to use lower level methods? Right now I've got: String format = "title caseInsensitiveLike %s"; NSArra