facebook

[Closed] Problem with JSP Localization in Preview

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #243590 Reply

    javaexpert
    Member

    Hello,

    I have now installed MyEclipse M2 and I have a problem with the new ‘JSP Localization in Preview’ as it it mentioned here:
    http://www.myeclipseide.com/ContentExpress-display-ceid-70.html#preview.

    This functionality doesn’t work in my real project and in a test project:
    – create new MyEclipse WebProject
    – add Struts capabilities (1.2)
    automatically created struts-config.xml looks like this:
    I can’t add it here because then this message will not be sent??
    – edit ApplicationResources.properties:

    label.password=Password

    – create test.jsp

    <%@ page language="java" pageEncoding="ISO-8859-1"%>
    <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
      <head>  
        <title>test.jsp</title>
      </head>  
      <body>
        <bean:message key="label.password"/>: todo
      </body>
    </html>
    

    Now the preview page shows: ???label.password???: todo
    and not Password: todo.

    What make I wrong?

    I have tested the web application. It works correctly.

    Thank you,
    Ralph

    #243650 Reply

    I reproduced the issue, looks like something is broken. This is definately a bug, I added a bugreport to Bugzilla.

    Thank you for your report. I’m sorry for inconvinience.

    #245248 Reply

    javaexpert
    Member

    Thanks for fixing in the new release!

    javaexpert

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: [Closed] Problem with JSP Localization in Preview

You must be logged in to post in the forum log in