Could you open a JIRA issue with your problem, so we do not forget it?
Thanks,
Bruno
2005/9/5, Vesa Lindfors <[EMAIL PROTECTED]>:
> Hi,
> 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"
> 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.
> ...
>
> When trying to set it to document or fragment (or true or false) I got
> exception:
> '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 ---
>
>
>
>
>
>
>
>
>