com.google.sitebricks
Annotation Type Visible
@Retention(value=RUNTIME)
@Target(value=FIELD)
public @interface Visible
Annotate a field with this marker to denote it
visible in templates. By defauly a property is
read/write. In other words, request parameters
matching the field name will be bound to the
field. Setting readOnly to true will
prevent this from happening and only expose the
field to be read into templates.
- Author:
- dhanji@gmail.com (Dhanji R. Prasanna)
|
Optional Element Summary |
boolean |
readOnly
|
readOnly
public abstract boolean readOnly
- Default:
- false
Copyright © 2014. All rights reserved.