--
PedroRio - 27 Apr 2010
The xeo:formEdit component is designed to support a viewer to edit a single XEO object, it has a special
ToolBar (
EditToolBar) that provides buttons for common options when editing a single XEO Object (save, remove, etc...) and must be backed by a
XEOEditBean or a bean that extends the
XEOEditBean
XML Definition
<xeo:formEdit>
.....
</xeo:formEdit>
Propriedades:
Property |
Description |
Type |
Possible Values |
Default Value |
Usage |
Example |
targetObject |
The target XEO object (netgest.bo.runtime.boObject) that's associated to the edit form |
EL/boObject |
|
#{viewBean.targetObject} |
Required |
|
renderToolBar |
Whether or not the default edit toolbar is rendered |
EL / Boolean |
True / False |
True |
Optional |
|
renderViewerTitle |
Whether or not the title of the viewer should be rendered |
EL / Boolean |
True / False |
True |
Optional |
|
renderViewerMessages |
Whether or not viewer messages (XUIMessage) are rendered in the form |
EL / Boolean |
True / False |
True |
Optional |
|
renderWindow |
|
EL / Boolean |
True / False |
True |
Optional |
|
windowHeight |
The height of the window in which the form should be rendered (if it's to be rendered in a separate window and not in a tab) |
EL / Integer |
Any positive value |
400 |
Optional |
|
windowWidth |
The width of the window in which the form should be rendered (if it's to be rendered in a separate window and not in a tab) |
EL / Integer |
Any positive value |
600 |
Optional |
|
showDifferences |
Whether or not the "Show Differences" button should be shown when a user tries to close a tab with an unsaved object, that button allows the user to see the differences between the saved object and the current state of the object in the form |
EL / Boolean |
True / False |
False |
Optional |
|
orphanMode |
Whether or not the object associated to this form should be edited in orphan mode. |
EL / Boolean |
True / False |
#{viewBean.editInOrphanMode} |
Optional |
|
nonOrphanFullScreen |
Whether a non-orphan object should be presented in full screen (i.e. the window will ocupy all the parent viewer's screen space |
EL / Boolean |
True / False |
False |
Optional |
|
Extends From