You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Helmut Swaczinna (JIRA)" <de...@myfaces.apache.org> on 2006/12/14 21:23:24 UTC

[jira] Created: (TOBAGO-215) markup attribute for all input components

markup attribute for all input components
-----------------------------------------

                 Key: TOBAGO-215
                 URL: http://issues.apache.org/jira/browse/TOBAGO-215
             Project: MyFaces Tobago
          Issue Type: Improvement
          Components: Core
    Affects Versions: 1.0.8, 1.0.7, 1.0.9, 1.0.9-RC1
         Environment: All
            Reporter: Helmut Swaczinna


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: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Re: [jira] Commented: (TOBAGO-215) markup attribute for all input components

Posted by Volker Weber <v....@inexso.de>.
Hi Helmut.

i'm just fixing this.

wait for the next nightly, or make your markup valuebindings to return
String[] .

Regards,
  Volker

2007/1/22, Helmut Swaczinna (JIRA) <de...@myfaces.apache.org>:
>
>     [ 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
>
>
>

[jira] Commented: (TOBAGO-215) markup attribute for all input components

Posted by "Helmut Swaczinna (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466993 ] 

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

Works now. Thank you!

> 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.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TOBAGO-215) markup attribute for all input components

Posted by "Bernd Bohmann (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12471084 ] 

Bernd Bohmann commented on TOBAGO-215:
--------------------------------------

I test it with charlotteville.

Added this section to tobago-theme.xml

<renderers>
    <renderer>
      <name>SelectBooleanCheckbox</name>
      <supported-markup>
        <markup>modified</markup>
      </supported-markup>
    </renderer>
  </renderers>

and get following html code

<input type="checkbox" value="true" checked="checked" name="page:selectBooleanCheckbox:_idJsp9" class="tobago-selectBooleanCheckbox-default tobago-selectBooleanCheckbox-markup-modified " id="page:selectBooleanCheckbox:_idJsp9"
>

> 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.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TOBAGO-215) markup attribute for all input components

Posted by "Helmut Swaczinna (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466478 ] 

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

The exception is gone, but markup attributes are still not allowed for tc:date and tc:selectOneChoice. (I havn't tested the
other input components yet).

[jsp]:704 - Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: /include/tab/rechteView.jsp(46,6) Attribute markup invalid for tag date according to
TLD

[jsp]:704 - Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: /include/tab/anteile/sendungenPanel.jsp(67,4) Attribute markup invalid for tag selec
OneChoice according to TLD

> 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

        

[jira] Commented: (TOBAGO-215) markup attribute for all input components

Posted by "Helmut Swaczinna (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12471286 ] 

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

Sorry for wasting your time. Was my fault. There still was an old version of the fallback theme.jar.

> 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.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (TOBAGO-215) markup attribute for all input components

Posted by "Bernd Bohmann (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TOBAGO-215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bernd Bohmann resolved TOBAGO-215.
----------------------------------

    Resolution: Fixed

> 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.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TOBAGO-215) markup attribute for all input components

Posted by "Bernd Bohmann (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12469361 ] 

Bernd Bohmann commented on TOBAGO-215:
--------------------------------------

Added Markup for selectBooleanCheckbox and selectMany...

Please add an other issue for the button.

> 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.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TOBAGO-215) markup attribute for all input components

Posted by "Bernd Bohmann (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466469 ] 

Bernd Bohmann commented on TOBAGO-215:
--------------------------------------

Just created a new nightly build.
Can you try it.

> 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

        

[jira] Commented: (TOBAGO-215) markup attribute for all input components

Posted by "Udo Schnurpfeil (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466451 ] 

Udo Schnurpfeil commented on TOBAGO-215:
----------------------------------------

Did you try a clean build?
mvn clean

I've not used markups in the last time, but I've seen a commit: There was changed the markup type from String to String[] to support more than only one markup.

See https://issues.apache.org/jira/browse/TOBAGO-205


> 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

        

[jira] Commented: (TOBAGO-215) markup attribute for all input components

Posted by "Bernd Bohmann (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466229 ] 

Bernd Bohmann commented on TOBAGO-215:
--------------------------------------

Can you verify that all required input components have a markup attribute, please?

> 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

        

[jira] Commented: (TOBAGO-215) markup attribute for all input components

Posted by "Bernd Bohmann (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466228 ] 

Bernd Bohmann commented on TOBAGO-215:
--------------------------------------

Can you verify that all required input components has a markup attribute?

> 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

        

[jira] Reopened: (TOBAGO-215) markup attribute for all input components

Posted by "Helmut Swaczinna (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TOBAGO-215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Helmut Swaczinna reopened TOBAGO-215:
-------------------------------------


Markup for tc:selectBooleanCheckbox doesn't work. I get always this message:

2007-02-07 15:51:15 ERROR - org.apache.myfaces.tobago.context.RenderersConfigImpl - Calling isMarkupSupported selectBooleanCheckbox modified but no configuration found.
2007-02-07 15:51:15 WARN  - org.apache.myfaces.tobago.renderkit.html.HtmlRendererUtil - Unknown markup='modified '

tobago-theme.xml:

    <renderer>
      <name>SelectBooleanCheckbox</name>
      <supported-markup>
        <markup>modified</markup>
      </supported-markup>
    </renderer>

style.css:

.tobago-selectBooleanCheckbox-markup-modified  {
  background-color: #ffffd0;
}  


> 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.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TOBAGO-215) markup attribute for all input components

Posted by "Helmut Swaczinna (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12471146 ] 

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

Adding this section works only in the "toplevel" theme, not in a fallback theme.
All others (Out, In, TextArea, ...) work in a fallback theme.

> 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.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TOBAGO-215) markup attribute for all input components

Posted by "Helmut Swaczinna (JIRA)" <de...@myfaces.apache.org>.
    [ 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

        

[jira] Resolved: (TOBAGO-215) markup attribute for all input components

Posted by "Bernd Bohmann (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TOBAGO-215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bernd Bohmann resolved TOBAGO-215.
----------------------------------

    Resolution: Fixed

> 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.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TOBAGO-215) markup attribute for all input components

Posted by "Helmut Swaczinna (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12468318 ] 

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

How about a markup attribute for selectBooleanCheckbox?
And a markup attribute for button would be nice.

> 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.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TOBAGO-215) markup attribute for all input components

Posted by "Helmut Swaczinna (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TOBAGO-215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12466461 ] 

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

Yes, I tried a cleanbuild (of my app). Doesn't help.

> 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