• 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
Help with subclassing a EOQueryController!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help with subclassing a EOQueryController!


  • Subject: Help with subclassing a EOQueryController!
  • From: Alexander Lamb <email@hidden>
  • Date: Tue, 08 Apr 2003 17:32:05 +0200

Hello,

Even after reading several times the documentation, I can't get the
following to work:

If I call:


EOControllerFactory.sharedControllerFactory().queryWithEntityName("DicMedica
ment");

And nothing else is configured (e.g. No special rule for queries, etc...), I
get the perfect queryWindow with the fields to query on and the table view
to see the results and select a record.

If I create a subclass of EOQueryController (as explained in the
documentation) to simply add an action, and then add the rule:

LHS ((task='query') AND (entity.name='DicMedicament'))
KEY className
RHS "OrMedEditor.client.QueryController"

I then get the window, with my additional action as I specified in my
QueryController class, but no way to get the query fields. I only get the
table view!

I tried several permutations such as calling:

EOControllerFactory.sharedControllerFactory().openWindowForTaskName("queryWi
ndow");

But no change!

Do I really need to freeze my XML to achieve this?

Thanks,

Alex



--
Alexander Lamb
Groupe Serveurs Applicatifs
Division d'Informatique Midicale
Htpitaux Universitaires de Genhve
21 rue Micheli-du-Crest
CH-1211 Genhve 4 / Switzerland
Tel: +41-22 372.48.46 Fax: +41-22 382.86.80
email@hidden / http://www.hcuge.ch
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: action binding with conditionals
  • Next by Date: Re: action binding with conditionals
  • Previous by thread: Re: action binding with conditionals
  • Next by thread: Re: Help with subclassing a EOQueryController!
  • Index(es):
    • Date
    • Thread