Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-17920

Tag Libs are not added when externalizing strings

XMLWordPrintable

      Test case 1
      1. Create JSF 1.2 Kick Start project
      2. Open inputUserName.jsp
      3. Delete line <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
      4. Select "User" string within <title> tag
      5. Click on Externalize selected string... toolitem
      6. Check Create a new properties file check box
      7. Click Next> two times
      8. Select via <f:loadBundle> tag on current page
      9. Click OK

      ERROR: Tag lib defintion for 'f' name space is not added to web page

      Test case 2
      ERROR: The same applies for inputname.xhtml page created within JSF 2.0 Kick Start project

      Test case 3
      1. Create JSF 1.2 Kick Start project
      2. Open inputUserName.jsp
      3. Change taglib prefix in line <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> to "d"
      4. Select "User" string within <title> tag
      5. Click on Externalize selected string... toolitem
      6. Check Create a new properties file check box
      7. Click Next> two times
      8. Select via <f:loadBundle> tag on current page
      9. Click OK

      ASSERT:

      <d:loadBundle tag should be added

      Test case 3
      The same applies for inputname.xhtml page created within JSF 2.0 Kick Start project

            jmaury@redhat.com Jeff MAURY
            vpakan Vlado Pakan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: