-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 7.1
-
Component/s: Layouts & Widgets, Seam / JSF UI
-
Tags:
-
Backlog priority:600
-
Sprint:Sprint 1_old
I use a widget template (single_document_suggestion_widget_template.xhtml), which contains {field} to reference the defined field.
Using it via nxl:widgetType in a xhtml template (outside any widget / layout) with only field:
<nxl:widgetType name="damSingleDocumentSuggestion" mode="edit" field="#{damImportActions.selectedImportFolderId}" pageProviderName="damImportFolders"/>
I end up with the following error when submitting the form:
value="#{field}": Illegal Syntax for Set Operation
Using it with only value:
<nxl:widgetType name="damSingleDocumentSuggestion" mode="edit" value="#{damImportActions.selectedImportFolderId}" pageProviderName="damImportFolders"/>
I end up with the following error when submitting the form:
value="#{field}": ValueExpression is a literal and not writable: null
Using:
<nxl:widgetType name="damSingleDocumentSuggestion" mode="edit" value="#{damImportActions}" field="selectedImportFolderId" pageProviderName="damImportFolders"/>
=> It works.
Replacing all occurrences of field by fieldOrValue in the template, and using:
<nxl:widgetType name="damSingleDocumentSuggestion" mode="edit" value="#{damImportActions.selectedImportFolderId}" pageProviderName="damImportFolders"/>
=> It works.
- depends on
-
NXP-11142 Allow contributing action types
- Resolved