Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: 1.6DR#5
    • Fix Version/s: None
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      any

      Description

      Need a new spinner component

        Activity

        Hide
        Georges Goebel added a comment -

        Hi,

        I did some work on integrating the dojo (dijit) toolbox spinner component in icefaces.

        I finally got a working version of a spinner component (custom icefaces tag).
        It works with the current dojo toolbox (1.1.1) but I had to make a modification in a dojo js file inorder to get it workin on firefox.

        Please notice that this is only for development purpose and not for production !

        Feel free to comment or make suggestions.

        In the tar.gz, you find an ant build script which I used. I used it with jboss but it should also work with tomcat (but not tested)

        The following command compiles and copy the war file to the deploy directory of jboss

        ant clean copy.war.jboss

        Then go to http://localhost:8080/customIce/index.iface and test the spinner.

        In the build/jar folder of the tar.gz you also find a working war file which you can copy to jboss (or tomcat) to test

        Georges

        Show
        Georges Goebel added a comment - Hi, I did some work on integrating the dojo (dijit) toolbox spinner component in icefaces. I finally got a working version of a spinner component (custom icefaces tag). It works with the current dojo toolbox (1.1.1) but I had to make a modification in a dojo js file inorder to get it workin on firefox. Please notice that this is only for development purpose and not for production ! Feel free to comment or make suggestions. In the tar.gz, you find an ant build script which I used. I used it with jboss but it should also work with tomcat (but not tested) The following command compiles and copy the war file to the deploy directory of jboss ant clean copy.war.jboss Then go to http://localhost:8080/customIce/index.iface and test the spinner. In the build/jar folder of the tar.gz you also find a working war file which you can copy to jboss (or tomcat) to test Georges
        Hide
        Georges Goebel added a comment -

        A new version with 2 spinners dynamically updated

        Show
        Georges Goebel added a comment - A new version with 2 spinners dynamically updated
        Hide
        Georges Goebel added a comment -

        A new version of 2 spinner components in one page dynamically updated.

        (The 2 older files can be deleted)

        Show
        Georges Goebel added a comment - A new version of 2 spinner components in one page dynamically updated. (The 2 older files can be deleted)
        Hide
        Georges Goebel added a comment -

        Hi,

        My solution has some dependencies and I don't know if it is fully compatible with Icefaces.

        1) depend on the dojo toolkit.
        1.1) Each spinner component will generate some JS code in the html page, where it calls 2 (or n times) the dojo.addOnLoad function.

        2) The dojo, dijit JS libraries have to be included in the project. I don't know where I shoul copy them in the icefaces project. I would be glad if some icefaces guy could respond to this question. Wether to copy them to same place where icefaces-ds.js is located or not.
        2.1) The included dojo librarie is slightly modified by me
        (diji/form/ValidationTextBox.js line 219) to work correctly in FF

        3) Not fully tested with the other icefaces or other jsf components

        Would be glad to get some feedback, because if the concept is ok, then all other dojo, diji components (like fisheye, ...) can be implemented as jsf tags in icefaces

        Georges Goebel

        Show
        Georges Goebel added a comment - Hi, My solution has some dependencies and I don't know if it is fully compatible with Icefaces. 1) depend on the dojo toolkit. 1.1) Each spinner component will generate some JS code in the html page, where it calls 2 (or n times) the dojo.addOnLoad function. 2) The dojo, dijit JS libraries have to be included in the project. I don't know where I shoul copy them in the icefaces project. I would be glad if some icefaces guy could respond to this question. Wether to copy them to same place where icefaces-ds.js is located or not. 2.1) The included dojo librarie is slightly modified by me (diji/form/ValidationTextBox.js line 219) to work correctly in FF 3) Not fully tested with the other icefaces or other jsf components Would be glad to get some feedback, because if the concept is ok, then all other dojo, diji components (like fisheye, ...) can be implemented as jsf tags in icefaces Georges Goebel
        Hide
        Georges Goebel added a comment -

        Check the following page in the forum.

        Now without copying all the dojo JS stuff to your project

        http://www.icefaces.org/JForum/posts/list/8506.page

        Show
        Georges Goebel added a comment - Check the following page in the forum. Now without copying all the dojo JS stuff to your project http://www.icefaces.org/JForum/posts/list/8506.page
        Hide
        Keith Garry Boyce added a comment -

        Here is a set of projects that integrates a more complicated component, the Range Slider. I'm made the integration to be more of a starting point for having a complete dojo jsf library that works in SUN RI and then with an extenstion for use within icefaces..

        Show
        Keith Garry Boyce added a comment - Here is a set of projects that integrates a more complicated component, the Range Slider. I'm made the integration to be more of a starting point for having a complete dojo jsf library that works in SUN RI and then with an extenstion for use within icefaces..
        Hide
        Ken Fyten added a comment -

        Marking as Closed / Invalid as part of legacy ICEfaces ICE / Compat component JIRA cleanup.

        Note: This issue may be resolved in a newer ICEfaces release, available here: http://www.icesoft.org/java/downloads/icefaces-downloads.jsf

        If the issue persists with the current ICEfaces release, please create a new JIRA for it.

        Show
        Ken Fyten added a comment - Marking as Closed / Invalid as part of legacy ICEfaces ICE / Compat component JIRA cleanup. Note: This issue may be resolved in a newer ICEfaces release, available here: http://www.icesoft.org/java/downloads/icefaces-downloads.jsf If the issue persists with the current ICEfaces release, please create a new JIRA for it.

          People

          • Assignee:
            Unassigned
            Reporter:
            Philip Breau
          • Votes:
            21 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: