Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JavaServer Faces » Resource bundle cannot be resolved
Resource bundle cannot be resolved [message #472150] Mon, 03 July 2006 12:03 Go to next message
Eclipse UserFriend
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 #472153 is a reply to message #472150] Mon, 03 July 2006 17:20 Go to previous messageGo to next message
Cameron Bateman is currently offline Cameron BatemanFriend
Messages: 481
Registered: July 2009
Senior Member
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.
Re: Resource bundle cannot be resolved [message #472154 is a reply to message #472153] Tue, 04 July 2006 00:52 Go to previous message
Eclipse UserFriend
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 #600813 is a reply to message #472150] Mon, 03 July 2006 17:20 Go to previous message
Cameron Bateman is currently offline Cameron BatemanFriend
Messages: 481
Registered: July 2009
Senior Member
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.
Re: Resource bundle cannot be resolved [message #600819 is a reply to message #472153] Tue, 04 July 2006 00:52 Go to previous message
Eclipse UserFriend
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.
Previous Topic:'xxx' validator is not registered
Next Topic:tutorial problem
Goto Forum:
  


Current Time: Wed Apr 24 17:02:37 GMT 2024

Powered by FUDForum. Page generated in 0.03076 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top