how that related to RF 4? you just having some namespaces on the page which not present in the jars.
Thanks for your reply, I add on the following code on the top of the global templet xhtml page.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
And I don't totally understand your meaning. Before migration, I used rf3.3.3 and jsf1.2, then upgrade to rf4 and jsf2.0.
No code changed, why do I include the new jars?
The faces-config.xml is:
<faces-config version="2.0" xmlns="http://java.sun.com/xml/ns/javaee"
Would you please give me a solution for this issue?
This is the snapshot, I guess it's printed by jsf framework.
in your warning, it says there is a <div: something in your page not referenced.
Definitely, the xml mis-read the html tag.
But div and scrpit ... should not be included or declared.
please show complete page code.
Sorry, it's the company's code. And we use twice time template page, so if show them here, it's too big.
That's ok if you cannot find the solution from the existing info.
I hope the other people can provide the simple code when you encounter the same issue.
The same code work in rf3.3.3, there is no problem and I guarantee there is no div:
Letting go and maybe the answer will come here.
The answer comes.
As you said, the pom miss two jars. Thanks!
Have tested your solution but it's not the way to go? taglibs:standard has nothing to do with the problem. It's clearly a lack of standard XHTMl namespace declaration (xmlns="http://www.w3.org/1999/xhtml"). Maybe you get it on your main page but not on the underlying component (composite or taglibs).