Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.1.1
-
None
-
None
-
Nightly build of myfaces-20050903
Description
t:inputHtml is not working when trying to set 'type' so that it handles the whole HTML document (not fragment)
Tld tolds:
<t:inputHtml value="String"
style="CSSClass"
fallback="
"
type="Constant"
...
type - The type of the value. It can be either fragment for an HTML fragment (default) or document for a full HTML document, with head, title, body, ... tags.
...
When trying to set 'type' to 'document' or 'fragment' (or 'true' or 'false') myfaces throws exception:
'Could not set property type of component HTMLeditor'
If I understood correctly the 'type' is first handled as boolean but later as string...
InputHtmlTag:
protected void setProperties(UIComponent component) {
super.setProperties(component);
setStringProperty(component, "style", style);
setStringProperty(component, "styleClass", styleClass);
setStringProperty(component, "fallback", fallback);
setBooleanProperty(component, "type", type);
...
InputHtml.java:
public String getType()