Message-ID: <1876408790.2477.1369301870926.JavaMail.email@example.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_2476_1624747485.1369301870926" ------=_Part_2476_1624747485.1369301870926 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
This property is used to configure the type of relation (one-to-many, ma= ny-to-one, one-to-one) that will be displayed.
A relation "inPlace:true" hasn't external CRUD, the CRUD is pe=
rformed within the editView that contains it.
A relation "inPlace:false" has external CRUD, the CRUD is within = the editView of the related DomainClass.
This property is used when we want a component is visible or not visible= in creationtime
If createView is seted true, the component will visible in creationtime,= if is false not
Like createView but edittime
This property is used when we want set a default value for a property. It can be combined with the properties createView and editView to set the d= efault value of the property when their control is not visible.
GFS generates the necessary code to validate in Frontend some constraint= s, so that it is not necessary to fulfil a request to Backend.
Constraints supported are:
If you want to know more about its use, you can read the Grails' Official Doc
The constraints that are not yet supported by GFS and are supported by G=
rails, we used the error messages sent from the Backend. These error messag=
es are i18n support.
GFS has available some visual controls that offer to the user different = ways of representing the attributes of the DomainClass on the "Flex Vi= ew".=C2=A0=C2=A0=C2=A0
ComboBox - Default Value
NumericStepper - Default Value
TextInput - Default Value
FileUpload upload file
ImageUpload upload file widget image
SnapshotUpload upload image from webcam
Password two text input with password format
CBKDateField - the only control for dates at the moment
one-to-one inPlace:true - Custom Componet that show rel= ation information (at the moment not supported inPlace:false)
many-to-one inPlace:false - ComboBox (at the moment not= supported inPlace:true)
one-to-may inPlace:true - DataGrid (at the moment not s= upported inPlace:false)
Since version 0.2 GFS generated applications have multi-language support=
. This means that for a domain class GFS will generate all the messages for=
the languages set in the properties file.
grails-app/i18n/i18n.properties has all the properties necessary to set =
i18n support. This properties are:
*locale.default=3Den identifies the application default language
*locale.locales=3Dde, es, fr, pt_BR represents all languages that will be s= upported by the application.
generate-i18n is responsable for all the messages generated and it can b=
e used in two ways:
$grails generate-i18n "*"
.properties files are generated for all the languages set in i18n.propertie= s for each domain class
$grails generate-18n aDomainClass
.properties files are generated for all the languages set in i18n.propertie= s for the domain class
When you execute "$generate-all-flex aDomainClass" only the pr=
operties for the default language are generated.
If you need an application with support for more than one language, this sh= ould be the correct way to do it:
This property allows you to define the local for an attribute on your domai= n class.
If it's setted, GFS replace key of message_locale.properties. Otherwise GFS tranlates via google translator.
Since version 0.2, GFS generates the UI necessary to obtain dynamic repo= rts using DJ Report. The UI has an accordion and a JPG display (GFS transfo= rms the PDF file into a JPG image). The accordion holds all the filters nee= ded to perform the query and the columns setup.
The PDF gets displayed inside an iframe. Adobe PDF reader is req=
uired for the application to display the generated report.
Since version 0.2 GFS can upload files. see string widget for it's configuration
If you need to save files into specific folder, you must be set filepath pr= operty in Config.groovy
Since v0.2.2 GFS solves security integration through stark-security (User & Role into DB or LDAP) plugin
The required steps to configure it are:
Edit grails-app/conf/StarkSecurityConfig.config and modify as below
Add to grails-app/conf/BootStrap.groovy as below
Add to grails-app/conf/Config.groovy the following line
Since v0.2.2 GFS supports tab gropping for domain classes. This means th=
at several domain classes (tabs) grouped in one super tab (Thank you
To use this feature you may set a groupName into domain classes as below=
Since v0.2.2 GFS supports actions
It supports two features. multiselection and actions buttons.
Multiselection: allow select one or more items on the d= atagrid (like delete multirows)
Actions buttons: show an action button in each row so y= ou can add bussines logic into method at [DomainClass]Service
create-cairngorm - Creates Cairngorm event and command =
classes for the given base name
$ grails create-cairngorm aCommandAndEventName
flex-tasks - Compiles Flex sources
$ grails flex-tasks
generate-all-flex - Generates all Flex's artifacts for =
the given domain class
$ grails generate-all-flex aDomainClass
$ grails generate-all-flex "*" see Annotations "generate&= quot;
generate-command - Generates Cairngorm's commands for t=
he given domain class (to perform the CRUD)
$ grails generate-command aDomainClass
generate-delegate - Generates business delegate for the=
given domain class
$ grails generate-delegate aDomainClass
generate-event - Generaes Cairngorm's events for the gi=
ven domian class (to perform the CRUD)
$ grails generate-event aDomainClass
generate-i18n - Generates .properties of each locale fo=
r the given domain class
$ grails generate-i18n aDomainClass
$ grails generate-i18n "*"
generate-model - Generates DomainModel for the given do=
main class (to perform the CRUD)
$ grails generate-model aDomainClass
generate-service - Generates a Grails Service CRUD clas=
s for the given domain class
$ grails generate-service aDomainClass
generate-view - Generates MXML views for the given doma=
$ grails generate-view aDomainClass
generate-vo - Generates ActionScript VO class for the g=
iven domain class
$ grails generate-vo aDomainClass