• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: D2WQuery Component Frustration
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: D2WQuery Component Frustration


  • Subject: Re: D2WQuery Component Frustration
  • From: Guido Neitzer <email@hidden>
  • Date: Mon, 30 Jan 2006 16:35:21 +0100

On 30.01.2006, at 15:19 Uhr, James Cicenia wrote:

Bottom line is, I just can't figure out how get what the user entered for their query.

If I understand you correctly, you have added (in WOBuilder) a D2WQuery component in your own component, have set up some bindings for it and let it call your own action:


Query: D2WQuery {
queryDataSource = datasource;
	action = myAction;
	entityName = "Test";
}

datasource is a variable in my component Java file:

	protected EODatabaseDataSource datasource;

public Main(WOContext context) {
super(context);
datasource = new EODatabaseDataSource (session ().defaultEditingContext(), "Test");
}

public WOComponent myAction () {

System.out.println ("Test");
System.out.println (datasource.fetchSpecification());

return null;
}


This gives me this output:

...
<class com.webobjects.eocontrol.EOFetchSpecification(entityName=Test,
qualifier=(name caseinsensitivelike 'adsfasdf*'),
isDeep=true, usesDistinct=false,
sortOrdering=null,
hints=null,
_prefetchingRelationshipKeyPaths = null)>
...

Perhaps this helps ...

cug


-- PharmaLine, Essen, GERMANY Software and Database Development


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >D2WQuery Component Frustration (From: James Cicenia <email@hidden>)

  • Prev by Date: Openbase
  • Next by Date: Re: D2WQuery Component Frustration
  • Previous by thread: D2WQuery Component Frustration
  • Next by thread: Re: D2WQuery Component Frustration
  • Index(es):
    • Date
    • Thread