![]() |
|||||||||||||||||
| |
|
|
|||||||||||||||
|
Further qualifying the Query Change the condition of the fetch spec in EOModeler so that we search via the subjects the students is in. So the fecth spec would look like this : This means that the list of students that are returned are enrolled
in a subject that contains "lastName". We want to get the qualifier from web page, not hard coded as we have been doing. i.e. we want the user to be able to type into a textfield the criteria for their search. So we : 1. Add a textfield 2. Add a new key to the component - bindings of type NSMutableDictionary 3. Bind the text entry field - THIS CANT BE DONE GRAPHICALLY
4. Change the action the submit button is bound to so that it includes this code : public WOComponent GetTitle() 5. Modify the Java code
Select from "Art 101", "Computers 101", and "Music 101" in demo5 Lecture 3 Fetch Demo 5 ( Download )
Page updated August 25, 2004 |
||||||||||||||||
|
|
|||||||||||||||||