Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-10179 Source editing/navigation in VPE: full support for external custom tags libs
  3. JBIDE-10173

VPE source navigation: open css file for my custom tag implementation does not work (Ctrl + left mouse button)

    Details

      Description

      1) extract 2 demo projects from projects.zip in some folder on you PC intended for such things;
      a) stopka-ui-base - this project contains implementation of several tags which I use in other project stopka-ui-test. stopka-ui-base contains maven build script so you can easy assemble stopka-ui-base-1.0.1.jar to use it in stopka-ui-test;
      b) stopka-ui-test - is a jsp demo project, which is use stopka-ui-base as a custom templates library;
      c) stopka-ui-test\src\main\webapp\WEB-INF\lib\stopka-taglib-0.9.jar - tld description of custom tag for testing;

      2) stopka-ui-base - to assemble stopka-ui-base-1.0.1.jar with maven - use:

      mvn clean install
      

      3) stopka-ui-test\src\main\webapp\WEB-INF\lib contains stopka-taglib-0.9.jar and stopka-ui-base-1.0.1.jar
      for test purposes you should install these jars into you maven repository - stopka-ui-test\install-ui.sh this script contains necessary instructions:
      run

      mvn install:install-file -Dfile=stopka-taglib-0.9.jar -DgroupId=stopka.us -DartifactId=ui-components  -Dversion=0.9 -Dpackaging=jar
      mvn install:install-file -Dfile=stopka-ui-base-1.0.1.jar -DgroupId=stopka.us -DartifactId=stopka-ui-base  -Dversion=1.0.1 -Dpackaging=jar
      

      from stopka-ui-test\src\main\webapp\WEB-INF\lib as a current directory

      4) run Eclipse with JBossTools;
      5) import stopka-ui-test\pom.xml as a maven project;
      6) open stopka-ui-test\src\main\webapp\test.jspx page with VPE:

      <stopka:page xmlns="http://www.w3.org/1999/xhtml"
               xmlns:stopka="http://stopka.us"
               xmlns:jsp="http://java.sun.com/JSP/Page"
               xmlns:c="http://java.sun.com/jsp/jstl/core"
               xmlns:utils="http://stopka.us/ui/utils">
          <jsp:output xmlns:jsp="http://java.sun.com/JSP/Page" omit-xml-declaration="yes"/>
          <c:set var="bannerType" scope="page" value="simple"/>
          <html xmlns="http://www.w3.org/1999/xhtml" lang="en-us">
          <head>
              <title>StopKa filemanager</title>
              <stopka:css file="system/styles/stopka.css" />
              <utils:common-head-data/>
              <stopka:css file="system/styles/filemanager.css" />
          </head>
          <body>
      	    <div class="component">
      	        <div class="subitem">
      	        </div>
      	    </div>
      	<div class="article"/>
              <div class="in_stopka">
              </div>
              <div class="in_filemanager">
              </div>
          </body>
          </html>
      </stopka:page>
      

      7) try to open css files

      <stopka:css file="system/styles/stopka.css" />
      

      and

      <stopka:css file="system/styles/filemanager.css" />
      

      with Ctrl + left mouse button click it does not work;

      I expect VPE context assist could open css files in any case, i.e. if I make an error:

      <stopka:dss file="system/styles/filemanager.css" />
      

      VPE context assist should work and should open filemanager.css.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  akazakov Alexey Kazakov
                  Reporter:
                  vyemialyanchyk Vitali Yemialyanchyk
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: