Uploaded image for project: 'MyFaces Tobago'
  1. MyFaces Tobago
  2. TOBAGO-781

Splitbar component

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.0.22
    • None
    • Sandbox
    • None
    • All

    Description

      I've created a splitbar component in the sandbox. Sources (for 1.0.22) and more examples are attached.

      Example:

      <tc:page id="testPage" width="500px" height="100px">
      <tc:panel>
      <f:facet name="layout">
      <tc:gridLayout rows="*" columns="#

      {controller.splitbarState1.layoutTokensPixel}

      " />
      </f:facet>
      <tc:panel>
      <tc:in value="Left"/>
      </tc:panel>
      <tcs:splitbar orientation="vertical" state="#

      {controller.splitbarState1}

      "/>
      <tc:panel>
      <tc:in value="Right"/>
      </tc:panel>
      </tc:panel>
      </tc:page>

      Controller.java

      SplitbarState splitbarState1 = new SplitbarStateImpl(";5px;");
      public SplitbarState getSplitbarState1() {
      return splitbarState1;
      }

      Attachments

        1. splitbar.tgz
          7 kB
          Helmut Swaczinna

        Activity

          People

            Unassigned Unassigned
            swaczinna Helmut Swaczinna
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: