MyEclipse: [Closed] Problem with JSP Localization in Preview

javaexpert - Dec 22, 2005 - 01:23 PM
Post subject: [Closed] Problem with JSP Localization in Preview
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:
Code:
label.password=Password

- create test.jsp

Code:
<%@ 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
support-eugene - Dec 23, 2005 - 09:36 PM
Post subject:
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.
javaexpert - Jan 25, 2006 - 07:45 AM
Post subject:
Thanks for fixing in the new release!

javaexpert
All times are GMT - 6 Hours
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits