ICEfaces
  1. ICEfaces
  2. ICE-1011

ice:form does not pass through class attributes

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: 1.5.1
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Operating System: All
      Platform: All

      Description

      This problem came in through the form.
      http://www.icefaces.org/JForum/posts/list/2911.page

      Basically if I have a form that looks like this

      <ice:form class="formClass" style="border: 1px solid red" >
      ....
      </ice:form>

      where
      .formClass{
         border: 1px solid blue;
      }

      The rendered output is as follows:
      <form class="border: 1px solid red" style="border: 1px solid red" ....

      I suspect that there is simple mapping error between the class and style
      attributes.

        Activity

        Hide
        Greg McCleary added a comment -

        This bug has been fixed in the HEAD [rev. 12304]
        ... in 1.5.1 [rev. 12305]

        usage:
        <ice:form styleClass="formClass">
        ....
        </ice:form>

        If the styleClass attribute is not used the binding will not work.

        <ice:form class="formClass">
        ....
        </ice:form>

        When the class attribute is used the default styleClass(iceForm) will be
        rendered and not the class specified in the tag(formClass).

        Show
        Greg McCleary added a comment - This bug has been fixed in the HEAD [rev. 12304] ... in 1.5.1 [rev. 12305] usage: <ice:form styleClass="formClass"> .... </ice:form> If the styleClass attribute is not used the binding will not work. <ice:form class="formClass"> .... </ice:form> When the class attribute is used the default styleClass(iceForm) will be rendered and not the class specified in the tag(formClass).

          People

          • Assignee:
            Greg McCleary
            Reporter:
            Patrick Corless
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: