Cool On 25/ott/2010, at 14.48, ISHIMOTO Ken wrote:
> Hi Amedeo, > > I know what you mean and I have the some use. > I have tried but it looks there is no easy way. > > But if you change the Source small to fix, then here is the way it goes. > > ERMODEditRelationshipPage.java > > /** > * Perform the displayQueryAction. Sets the inline task to 'query'. > */ > public WOComponent displayQueryAction() { > setInlineTaskSafely("query"); > > // MD by Ken : Start > // do not display the Query Page, go straight ahead to the > Select Page > > if(ERXValueUtilities.booleanValueWithDefault(d2wContext().valueForKey("showListInsteadOfSearch"), > false)) { > EODatabaseDataSource ds = new > EODatabaseDataSource(masterObject().editingContext(), entity().name()); > setSelectDataSource(ds); > setInlineTaskSafely("list"); > } > // MD by Ken : End > > return null; > } > > And the Rule for that has to be like > > 10 : pageConfiguration = 'EditRelationshipEmbeddedxxxx' => > showListInsteadOfSearch = "true" > [com.webobjects.directtoweb.BooleanAssignment] > > Hope that helped, and I am using it so. > > Because I have a table with only about 10-15 Entries and there is no need for > an Querypage for that. > > > On 2010/09/23, at 20:44, Amedeo Mantica wrote: > >> when an entity as a to one relationship by default you have to do Search -> >> Query -> get a list -> select... >> >> hoe to go stright to the list ? I'm unable to find the correct way/rule >> Thanks >> >> Regards >> Amedeo _______________________________________________ >> 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/ken%40ksroom.com >> >> This email sent to k...@ksroom.com > > Thank you > > -------------------------------------------------------- > K's ROOM (ISHIMOTO Ken) > -------------------------------------------------------- > [E-Mail] <k...@ksroom.com> > [iChat:] <ibase_...@mac.com> > [HP] http://www.ksroom.com/ > _____________________________________________________________________ > This e-mail has not been scanned for viruses because it was written on an Mac, > and there are NO Viruses on an Apple Computer. > For further information visit http://www.apple.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