[ 
https://issues.apache.org/jira/browse/TOBAGO-215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466444
 ] 

Helmut Swaczinna commented on TOBAGO-215:
-----------------------------------------

Markups don't work anymore. Or is there something I have to change in my pages?

[localhost].[/gena].[jsp]:704 - Servlet.service() for servlet jsp threw 
exception
java.lang.ClassCastException: java.lang.String
        at 
org.apache.myfaces.tobago.component.UIInput.getMarkup(UIInput.java:69)
        at 
org.apache.myfaces.tobago.renderkit.html.HtmlRendererUtil.addMarkupClass(HtmlRendererUtil
.java:508)
        at 
org.apache.myfaces.tobago.renderkit.html.HtmlRendererUtil.updateClassAttribute(HtmlRender
erUtil.java:484)
        at 
org.apache.myfaces.tobago.renderkit.html.HtmlRendererUtil.createClassAttribute(HtmlRender
erUtil.java:431)
        at 
org.apache.myfaces.tobago.renderkit.html.HtmlRendererUtil.createCssClass(HtmlRendererUtil
.java:133)
        at 
org.apache.myfaces.tobago.renderkit.html.HtmlRendererUtil.prepareRender(HtmlRendererUtil.
java:108)
        at 
org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.DefaultLayoutRenderer.p
repareRender(DefaultLayoutRenderer.java:40)
        at 
org.apache.myfaces.tobago.renderkit.RenderUtil.encode(RenderUtil.java:73)
        at 
org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.DefaultLayoutRenderer.e
ncodeChildrenOfComponent(DefaultLayoutRenderer.java:47)
        at 
org.apache.myfaces.tobago.component.UILayout.encodeChildrenOfComponent(UILayout.java:71)
        at 
org.apache.myfaces.tobago.component.UIPanel.encodeChildren(UIPanel.java:45)
        at 
org.apache.myfaces.tobago.renderkit.RenderUtil.encode(RenderUtil.java:77)
        at 
org.apache.myfaces.tobago.renderkit.html.scarborough.standard.tag.GridLayoutRenderer.enco
deChildrenOfComponent(GridLayoutRenderer.java:357)

> markup attribute for all input components
> -----------------------------------------
>
>                 Key: TOBAGO-215
>                 URL: https://issues.apache.org/jira/browse/TOBAGO-215
>             Project: MyFaces Tobago
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.0.7, 1.0.8, 1.0.9
>         Environment: All
>            Reporter: Helmut Swaczinna
>         Assigned To: Bernd Bohmann
>             Fix For: 1.0.10
>
>
> Please provide a markup attribute for all input components.
> I have to set the background color for some individual input components.
> So far, I use a Javascript workaround, but this doesn't work, when the
> component resides on an Ajax loaded part of the page (tc:popup, tc:tab).
> So when the page is initially loaded, I can't access these components via
> Javascript. 
> Nice to have: Specifying a combination of markups for one component, for 
> example markup="number;bold."

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to