Uploaded image for project: 'JBoss Portal'
  1. JBoss Portal
  2. JBPORTAL-1569

Adding window properties with names starting with one of the letters from the range 'a-t'

    Details

    • Workaround:
      Workaround Exists
    • Workaround Description:
      Hide

      Name the properties with the prefix of one of the letters 't-z' like "z.variable" or "t.variable" ...

      Show
      Name the properties with the prefix of one of the letters 't-z' like "z.variable" or "t.variable" ...

      Description

      When trying to add a window property of some window with the key name starting with letters a-s (upper or lower) you get an exception:
      Cause: javax.portlet.PortletException: Expected submitted value of type Boolean for Component :

      {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /WEB-INF/jsf/editProperties.xhtml][Class: javax.faces.component.html.HtmlForm,Id: _id55jbpns_2fadmin_2fdefault_2fAdminPortletWindowsnpbj][Class: javax.faces.component.html.HtmlSelectBooleanCheckbox,Id: _id111jbpns_2fadmin_2fdefault_2fAdminPortletWindowsnpbj]}

      Message: Expected submitted value of type Boolean for Component :

      {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /WEB-INF/jsf/editProperties.xhtml][Class: javax.faces.component.html.HtmlForm,Id: _id55jbpns_2fadmin_2fdefault_2fAdminPortletWindowsnpbj][Class: javax.faces.component.html.HtmlSelectBooleanCheckbox,Id: _id111jbpns_2fadmin_2fdefault_2fAdminPortletWindowsnpbj]}

      StackTrace:

      javax.portlet.PortletException: Expected submitted value of type Boolean for Component :

      {Component-Path : [Class: javax.faces.component.UIViewRoot,ViewId: /WEB-INF/jsf/editProperties.xhtml][Class: javax.faces.component.html.HtmlForm,Id: _id55jbpns_2fadmin_2fdefault_2fAdminPortletWindowsnpbj][Class: javax.faces.component.html.HtmlSelectBooleanCheckbox,Id: _id111jbpns_2fadmin_2fdefault_2fAdminPortletWindowsnpbj]}

      at org.apache.myfaces.portlet.MyFacesGenericPortlet.handleExceptionFromLifecycle(MyFacesGenericPortlet.java:253)
      at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:399)
      at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:265)
      at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:133)
      at javax.portlet.GenericPortlet.render(GenericPortlet.java:306)
      at org.jboss.portal.faces.portlet.JSFMetaBridgePortlet.render(JSFMetaBridgePortlet.java:125)
      ......

      This does not happen with properties that the key starts with letters t-z.

      looks like it is somehow linked to the alphabetical position of the added key in relation to already existing window properties "Partial refresh" and "Region order". The key names that produced the exception are located before these properties in the list and the ones that did not generate the exception are located after these native properties.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                theute Thomas Heute
                Reporter:
                nystaa Pavel Myshkin
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: