Resource bundle cannot be resolved [message #472150] |
Mon, 03 July 2006 12:03 |
Eclipse User |
|
|
|
Originally posted by: blacksnow666.gmail.com
I keep getting this warning
msg cannot be resolved
these are the first 12 lines of my page
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="f" uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h" uri="http://java.sun.com/jsf/html"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="t" uri="http://myfaces.apache.org/tomahawk"%>
<f:loadBundle var="msg" basename="ResourceBundle" />
<f:view>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title><h:outputText value="#{msg['title.info.index']}" /></title>
and i get the warning on this line
<title><h:outputText value="#{msg['title.info.index']}" /></title>
is this a bug?
or i have to configure eclipse to recognize
<f:loadBundle var="msg" basename="ResourceBundle" />
please help me,
the page would be launched and displayed correctly, nothing wrong, it
would just be better if i had no warning, when there is nothing wrong.
|
|
|
|
Re: Resource bundle cannot be resolved [message #472154 is a reply to message #472153] |
Tue, 04 July 2006 00:52 |
Eclipse User |
|
|
|
Originally posted by: blacksnow666.gmail.com
Cameron Bateman wrote:
> Hi Titi,
>
> This problem is logged as bug
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=144525
>
> The workaround is to place the bundle in a package other than the
> default package. For example, you could create a package called
> "org.me" and place your resource bundle file in that package, change the
> loadBundle basename and this should get rid of the warning.
>
>
> --Cam
>
> Titi Wangsa wrote:
>
>> I keep getting this warning
> ..
>> the page would be launched and displayed correctly, nothing wrong, it
>> would just be better if i had no warning, when there is nothing wrong.
>
>
yeah that worked.
<f:loadBundle var="msg" basename="gov.jcs.elx.ResourceBundle" />
<title><h:outputText value="#{msg['title.info.index']}" /></title>
no warning. thanx.
|
|
|
|
Re: Resource bundle cannot be resolved [message #600819 is a reply to message #472153] |
Tue, 04 July 2006 00:52 |
Eclipse User |
|
|
|
Originally posted by: blacksnow666.gmail.com
Cameron Bateman wrote:
> Hi Titi,
>
> This problem is logged as bug
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=144525
>
> The workaround is to place the bundle in a package other than the
> default package. For example, you could create a package called
> "org.me" and place your resource bundle file in that package, change the
> loadBundle basename and this should get rid of the warning.
>
>
> --Cam
>
> Titi Wangsa wrote:
>
>> I keep getting this warning
> ..
>> the page would be launched and displayed correctly, nothing wrong, it
>> would just be better if i had no warning, when there is nothing wrong.
>
>
yeah that worked.
<f:loadBundle var="msg" basename="gov.jcs.elx.ResourceBundle" />
<title><h:outputText value="#{msg['title.info.index']}" /></title>
no warning. thanx.
|
|
|
Powered by
FUDForum. Page generated in 0.04976 seconds