Saturday, 30 November 2013

5. Creating Result View - Table View

Go to 'Component Structure Browser' ,
        ->     Select views -> ( Right Click) Select 'Create View',

       




it opens up a wizard, Provide name of the view as 'Result View',  Click 'Continue'.

Now it's time to provide BOL Entity for Model Node, what we have to provide.
Fine, We expect result page should display result object of 'AdvancedSearchObject'
Lets check what is the result object for 'Advancedsearchobject' at GENIL_MODEL_EDITOR.











result object is 'Mobile', So we should provide BOL Entity as 'Mobile' and model node as 'ResultObject' .
Continue... till you get 'Select View Type'.
Now, Select view type as 'Table View', check 'Configurable' properties.
Continue, Complete.

Now, observe, first it creates 'Context class', then 'Context Node', then View Controller, then View Controller implementation class.

Our result view is done. Oops, there are few things still left.

First, of all we will select the fields that we want to display.









Now, click on 'New Configuration' Button.







Select the defaulted entries, what ever you have, continue.






Note*: Configuration determination has its significance when users would like to have different screen element of same UI Component.

Now select the fields which you want to display on result page. By selecting them from Available fields to Display Fields.







Select all of them for our application.

and 'Save' it by clicking on 'save' button above. Unless you save these configuration will not be save with these changes.

We have to display this view in viewset, so, we will create a viewset and will add Search view , and result view. We will perform it in next chapter




No comments:

Post a Comment