Hi,
I also noticed this
issue. Impossible to specify any value for the "type"
propertie.
Clément.
-----Message d'origine-----Hi,
De : Vesa Lindfors [mailto:[EMAIL PROTECTED]
Envoyé : lundi 5 septembre 2005 11:17
À : [email protected]
Objet : x:inputHtml question
I have tried to get t:inputHtml working (with latest nightly build) so that it would handle the whole HTML document, not just fragment of it.
From tld I found the 'type' :<t:inputHtml value="String"When trying to set it to document or fragment (or true or false) I got exception:
style="CSSClass"
fallback="{true|false}"
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.
...
'Could not set property type of component HTMLeditor'
I took a short look to code, and if I understood correctly it the 'type' is first handled as boolean but later as string...
In 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);
In InputHtml.java:
public String getType(){
if (_type != null)
return _type;
ValueBinding vb = getValueBinding("type");
return vb != null ? (String)vb.getValue(getFacesContext()) : "fragment";
}
Is that the problem?
--- VLi ---

