Loading ...
Sorry, an error occurred while loading the content.

Serverside image maps and Tomcat 4.1.30 (pl v. 2.31)

Expand Messages
  • Crighton
    Platform: XP (will deploy to linux fedora core 1) AppServer: Tomcat 4.1.30 Browser: Latest stable Firefox Ploticus: 2.31 (win32) Problems: 1) when I click on
    Message 1 of 4 , Feb 19, 2005
    • 0 Attachment
      Platform: XP (will deploy to linux fedora core 1)
      AppServer: Tomcat 4.1.30
      Browser: Latest stable Firefox
      Ploticus: 2.31 (win32)

      Problems:
      1) when I click on my plot image the contents of the image map file
      are displayed, not the url specified in the #proc bar command
      2) The generated image map file does not contain any of my mouseover
      annotation information
      3) when I let my mouse hover on the plot image nothing appears
      (nothing pops up) - result of #2 i'm guessing
      4) when I print the text being specified for annotation information
      the variable (@@1) is not resolved to what's in the datafile

      Questions:
      1) Is additional work required to process the image map file and
      extract the information for the user click location when a server-side
      image map is used? This is part of my ignorance regarding image maps.
      Are client side maps a better solution when using tomcat?
      2) Were image maps enabled in the windows version with ploticus v2.31?
      I was using 2.30 but could never get a map file to generate.
      3) Is there a limitation in tomcat where it doesn't use server-side
      image map data?
      4) Why isn't the @@1 being resolved to the text contents of the first
      datafile field?


      Command line syntax:
      type img.dat | pl -gif -map debug plotscript.pls

      Data file syntax (defect arrival rate info):
      Desktop::Monitor Problem,0,0,3,0,9
      Desktop::Keyboard/Mouse,0,0,1,0,2
      Applications::Word,1,0,0,0,2
      Applications::SharePoint,0,1,0,0,2
      Applications::Outlook,1,3,2,1,10
      JIRA,3,7,17,1,113

      #proc bar syntax (i'm using google.com for debug purposes):
      #proc bars
      lenfield: @I
      cluster: @ICLUST / @NCLUST
      color: @COLOR
      #hideund
      legendlabel: @FNAME
      #showund
      stackfields *
      barwidth: 0.1
      clickmapurl: http://www.google.com
      clickmaplabel: @@1 : @FNAME : @I
      #endproc

      Debug #write stdout output:
      I: 2
      ICLUST: 1
      NCLUST: 1
      COLOR: yellow
      FNAME: Category 1 - Urgent
      STACK: 1
      clickmapurl: http://www.google.com
      clickmaplabel: @1 : Category 1 - Urgent : 2

      Sample contents of generated image map file:
      rect http://www.google.com 561,550 571,550
      rect http://www.google.com 528,550 538,550
      rect http://www.google.com 495,530 504,530
      rect http://www.google.com 461,432 471,452

      Any help greatly appreciated. I'm new to html image maps and would
      appreciate any insight.

      -wc
    • Crighton
      Forgot to include this: HTML snippet:
      Message 2 of 4 , Feb 19, 2005
      • 0 Attachment
        Forgot to include this:

        HTML snippet:
        <a href='images/plot_15694_image.map' >
        <img src='images/plot_15694_image.gif' ismap>
        </a>



        --- In ploticus@yahoogroups.com, "Crighton" <wcrighton@y...> wrote:
        >
        > Platform: XP (will deploy to linux fedora core 1)
        > AppServer: Tomcat 4.1.30
        > Browser: Latest stable Firefox
        > Ploticus: 2.31 (win32)
        >
        > Problems:
        > 1) when I click on my plot image the contents of the image map file
        > are displayed, not the url specified in the #proc bar command
        > 2) The generated image map file does not contain any of my mouseover
        > annotation information
        > 3) when I let my mouse hover on the plot image nothing appears
        > (nothing pops up) - result of #2 i'm guessing
        > 4) when I print the text being specified for annotation information
        > the variable (@@1) is not resolved to what's in the datafile
        >
        > Questions:
        > 1) Is additional work required to process the image map file and
        > extract the information for the user click location when a server-side
        > image map is used? This is part of my ignorance regarding image maps.
        > Are client side maps a better solution when using tomcat?
        > 2) Were image maps enabled in the windows version with ploticus v2.31?
        > I was using 2.30 but could never get a map file to generate.
        > 3) Is there a limitation in tomcat where it doesn't use server-side
        > image map data?
        > 4) Why isn't the @@1 being resolved to the text contents of the first
        > datafile field?
        >
        >
        > Command line syntax:
        > type img.dat | pl -gif -map debug plotscript.pls
        >
        > Data file syntax (defect arrival rate info):
        > Desktop::Monitor Problem,0,0,3,0,9
        > Desktop::Keyboard/Mouse,0,0,1,0,2
        > Applications::Word,1,0,0,0,2
        > Applications::SharePoint,0,1,0,0,2
        > Applications::Outlook,1,3,2,1,10
        > JIRA,3,7,17,1,113
        >
        > #proc bar syntax (i'm using google.com for debug purposes):
        > #proc bars
        > lenfield: @I
        > cluster: @ICLUST / @NCLUST
        > color: @COLOR
        > #hideund
        > legendlabel: @FNAME
        > #showund
        > stackfields *
        > barwidth: 0.1
        > clickmapurl: http://www.google.com
        > clickmaplabel: @@1 : @FNAME : @I
        > #endproc
        >
        > Debug #write stdout output:
        > I: 2
        > ICLUST: 1
        > NCLUST: 1
        > COLOR: yellow
        > FNAME: Category 1 - Urgent
        > STACK: 1
        > clickmapurl: http://www.google.com
        > clickmaplabel: @1 : Category 1 - Urgent : 2
        >
        > Sample contents of generated image map file:
        > rect http://www.google.com 561,550 571,550
        > rect http://www.google.com 528,550 538,550
        > rect http://www.google.com 495,530 504,530
        > rect http://www.google.com 461,432 471,452
        >
        > Any help greatly appreciated. I'm new to html image maps and would
        > appreciate any insight.
        >
        > -wc
      • Stephen C. Grubb
        Hi, a couple of comments: - you need to decide between server-side imagemaps and client-side imagemaps. You can only do one or the other as far as I know.. If
        Message 3 of 4 , Feb 22, 2005
        • 0 Attachment
          Hi, a couple of comments:

          - you need to decide between server-side imagemaps and client-side
          imagemaps. You can only do one or the other as far as I know.. If you
          want tooltip text bubbles (clickmaplabel) then you'll need to use
          client-side.. nothing will happen with server-side. On the command line
          use -map for serverside or -csmap for clientside.

          - Also be sure about where the imagemap info is going (into a file?
          stdout?) and be sure that your html references it correctly

          - in order for server-side imagemaps to work, it sometimes requires that
          your web admin make a change to your web server configuration

          - there is more discussion on this on the ploticus clickmap manual page

          Hope this helps get you on the right track..

          Steve


          On Sun, 20 Feb 2005, Crighton wrote:

          >
          >
          > Platform: XP (will deploy to linux fedora core 1)
          > AppServer: Tomcat 4.1.30
          > Browser: Latest stable Firefox
          > Ploticus: 2.31 (win32)
          >
          > Problems:
          > 1) when I click on my plot image the contents of the image map file
          > are displayed, not the url specified in the #proc bar command
          > 2) The generated image map file does not contain any of my mouseover
          > annotation information
          > 3) when I let my mouse hover on the plot image nothing appears
          > (nothing pops up) - result of #2 i'm guessing
          > 4) when I print the text being specified for annotation information
          > the variable (@@1) is not resolved to what's in the datafile
          >
          > Questions:
          > 1) Is additional work required to process the image map file and
          > extract the information for the user click location when a server-side
          > image map is used? This is part of my ignorance regarding image maps.
          > Are client side maps a better solution when using tomcat?
          > 2) Were image maps enabled in the windows version with ploticus v2.31?
          > I was using 2.30 but could never get a map file to generate.
          > 3) Is there a limitation in tomcat where it doesn't use server-side
          > image map data?
          > 4) Why isn't the @@1 being resolved to the text contents of the first
          > datafile field?
          >
          >
          > Command line syntax:
          > type img.dat | pl -gif -map debug plotscript.pls
          >
          > Data file syntax (defect arrival rate info):
          > Desktop::Monitor Problem,0,0,3,0,9
          > Desktop::Keyboard/Mouse,0,0,1,0,2
          > Applications::Word,1,0,0,0,2
          > Applications::SharePoint,0,1,0,0,2
          > Applications::Outlook,1,3,2,1,10
          > JIRA,3,7,17,1,113
          >
          > #proc bar syntax (i'm using google.com for debug purposes):
          > #proc bars
          > lenfield: @I
          > cluster: @ICLUST / @NCLUST
          > color: @COLOR
          > #hideund
          > legendlabel: @FNAME
          > #showund
          > stackfields *
          > barwidth: 0.1
          > clickmapurl: http://www.google.com
          > clickmaplabel: @@1 : @FNAME : @I
          > #endproc
          >
          > Debug #write stdout output:
          > I: 2
          > ICLUST: 1
          > NCLUST: 1
          > COLOR: yellow
          > FNAME: Category 1 - Urgent
          > STACK: 1
          > clickmapurl: http://www.google.com
          > clickmaplabel: @1 : Category 1 - Urgent : 2
          >
          > Sample contents of generated image map file:
          > rect http://www.google.com 561,550 571,550
          > rect http://www.google.com 528,550 538,550
          > rect http://www.google.com 495,530 504,530
          > rect http://www.google.com 461,432 471,452
          >
          > Any help greatly appreciated. I'm new to html image maps and would
          > appreciate any insight.
          >
          > -wc
          >
          >
          >
          >
          >
          >
          >
          >
          >
          >
          > Yahoo! Groups Links
          >
          >
          >
          >
          >
          >
          >
          >


          Stephen C. Grubb scg@...
          Scientific Software Engineer, The Jackson Laboratory
          600 Main Street Bar Harbor, Maine 04609 USA
        • Crighton
          I went with client side maps and everything started working out for me. Thanks for the reply.
          Message 4 of 4 , Feb 24, 2005
          • 0 Attachment
            I went with client side maps and everything started working out for
            me. Thanks for the reply.

            --- In ploticus@yahoogroups.com, "Stephen C. Grubb" <scg@j...> wrote:
            >
            > Hi, a couple of comments:
            >
            > - you need to decide between server-side imagemaps and client-side
            > imagemaps. You can only do one or the other as far as I know.. If you
            > want tooltip text bubbles (clickmaplabel) then you'll need to use
            > client-side.. nothing will happen with server-side. On the command line
            > use -map for serverside or -csmap for clientside.
            >
            > - Also be sure about where the imagemap info is going (into a file?
            > stdout?) and be sure that your html references it correctly
            >
            > - in order for server-side imagemaps to work, it sometimes requires that
            > your web admin make a change to your web server configuration
            >
            > - there is more discussion on this on the ploticus clickmap manual page
            >
            > Hope this helps get you on the right track..
            >
            > Steve
            >
            >
            > On Sun, 20 Feb 2005, Crighton wrote:
            >
            > >
            > >
            > > Platform: XP (will deploy to linux fedora core 1)
            > > AppServer: Tomcat 4.1.30
            > > Browser: Latest stable Firefox
            > > Ploticus: 2.31 (win32)
            > >
            > > Problems:
            > > 1) when I click on my plot image the contents of the image map file
            > > are displayed, not the url specified in the #proc bar command
            > > 2) The generated image map file does not contain any of my mouseover
            > > annotation information
            > > 3) when I let my mouse hover on the plot image nothing appears
            > > (nothing pops up) - result of #2 i'm guessing
            > > 4) when I print the text being specified for annotation information
            > > the variable (@@1) is not resolved to what's in the datafile
            > >
            > > Questions:
            > > 1) Is additional work required to process the image map file and
            > > extract the information for the user click location when a server-side
            > > image map is used? This is part of my ignorance regarding image maps.
            > > Are client side maps a better solution when using tomcat?
            > > 2) Were image maps enabled in the windows version with ploticus v2.31?
            > > I was using 2.30 but could never get a map file to generate.
            > > 3) Is there a limitation in tomcat where it doesn't use server-side
            > > image map data?
            > > 4) Why isn't the @@1 being resolved to the text contents of the first
            > > datafile field?
            > >
            > >
            > > Command line syntax:
            > > type img.dat | pl -gif -map debug plotscript.pls
            > >
            > > Data file syntax (defect arrival rate info):
            > > Desktop::Monitor Problem,0,0,3,0,9
            > > Desktop::Keyboard/Mouse,0,0,1,0,2
            > > Applications::Word,1,0,0,0,2
            > > Applications::SharePoint,0,1,0,0,2
            > > Applications::Outlook,1,3,2,1,10
            > > JIRA,3,7,17,1,113
            > >
            > > #proc bar syntax (i'm using google.com for debug purposes):
            > > #proc bars
            > > lenfield: @I
            > > cluster: @ICLUST / @NCLUST
            > > color: @COLOR
            > > #hideund
            > > legendlabel: @FNAME
            > > #showund
            > > stackfields *
            > > barwidth: 0.1
            > > clickmapurl: http://www.google.com
            > > clickmaplabel: @@1 : @FNAME : @I
            > > #endproc
            > >
            > > Debug #write stdout output:
            > > I: 2
            > > ICLUST: 1
            > > NCLUST: 1
            > > COLOR: yellow
            > > FNAME: Category 1 - Urgent
            > > STACK: 1
            > > clickmapurl: http://www.google.com
            > > clickmaplabel: @1 : Category 1 - Urgent : 2
            > >
            > > Sample contents of generated image map file:
            > > rect http://www.google.com 561,550 571,550
            > > rect http://www.google.com 528,550 538,550
            > > rect http://www.google.com 495,530 504,530
            > > rect http://www.google.com 461,432 471,452
            > >
            > > Any help greatly appreciated. I'm new to html image maps and would
            > > appreciate any insight.
            > >
            > > -wc
            > >
            > >
            > >
            > >
            > >
            > >
            > >
            > >
            > >
            > >
            > > Yahoo! Groups Links
            > >
            > >
            > >
            > >
            > >
            > >
            > >
            > >
            >
            >
            > Stephen C. Grubb scg@j...
            > Scientific Software Engineer, The Jackson Laboratory
            > 600 Main Street Bar Harbor, Maine 04609 USA
          Your message has been successfully submitted and would be delivered to recipients shortly.