user3301669
user3301669

Reputation:

where can I find the complete details of a predefined attributes or parameters

If I want to find the complete details of the attributes of any tag in grails, where can I find it, like the following code

<g:render template="/common/formField"
model="[name:'owner', bean:ownerBean, field:'firstName', label:'First Name']" />

In the above tag its having template and model, template is used to render predefined or user defined form, and model is used to tell which model to apply the template. but in the above code model contains name,bean, field,label parameters, are they predefined If so where does I get all those details I did not find in the API as well as in grails documentation.

Upvotes: 0

Views: 56

Answers (1)

D&#243;nal
D&#243;nal

Reputation: 187499

In general, to discover all the attributes supported by a Grails tag, see the the docs. The tag docs are in the "Quick Reference" sidebar under the "Tags" heading. The attributes of model are not predefined, i.e. you can put any key-value pairs in the model.

Upvotes: 1

Related Questions