Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

jsp code in html source code!

686062Jan 30 2012 — edited Feb 7 2012
Hi all!
I'm using jdev 11.1.2.1, and i'm trying to use jetty as server. I success running a jspx page but i have a problem with "region", and "<jsp:include>" : instead of displaying components, nothing appear.

console error is :
oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer encodeAll
[exec] ATTENTION: Le composant de région portant l'ID pt1:r3 a détecté un fragment de page comportant plusieurs composants racine. Les fragments comportant plusieurs composants racine risquent de ne pas être affichés correctement dans une région et d'avoir un impact négatif sur les performances. Il est recommandé de restructurer le fragment de page de manière à obtenir un seul composant racine.
in english should be :
oracle.adfinternal.view.faces.renderkit.rich.RegionRenderer encodeAll
The region component with ID pt1:r3 has detected a page fragment with multiple root components. Fragments with more than one root component may not display correctly in a region and may have a negative impact on performance. It is recommended that you restructure the page fragment to have a single root component
If i display source code in firefox, i can see jsp tags!

part of HTML source code : (region case)
(...)
<tr id="pt1:sac1:dc_cmi1" class="af_commandMenuItem af_commandMenuItem_menu-item" onclick="return false;" _afrDth="2" _afrGrp="0" tabindex="0" 
(...)
<div class="af_panelBox_content p_AFCore p_AFDefault" id="pt1:pb2::content"><div id="pt1:r3" class="af_region"><?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"></jsp:root>
<div style="display:none"><a id="pt1:r3:0:_afrCommandDelegate" class="af_commandLink" onclick="return false;" href="#"></a></div>
(...)
<div
part of HTML source code : (jsp:include case)
 (...)
<span id="pt2:pt1_62" class="visaStretch af_panelGroupLayout" style="position:absolute;width:auto;height:auto;top:0px;left:0px;bottom:0px;right:0px"><div id="pt2:pt1_63" class="af_panelGroupLayout" style="width:100%;height:100%;overflow:auto;"><div><div id="pt2:pt1_64" class="af_panelGroupLayout" style=" margin-left:25px;">
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
          xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:trh="http://myfaces.apache.org/trinidad/html"
          xmlns:visa="/visaTld">
    <af:group id="g2">
        <af:popup id="popupDemandeOuverte" contentDelivery="lazyUncached"
                  eventContext="launcher" launcherVar="source">
            <af:panelWindow id="pw1" modal="true"
                            title="Demande ouverte pour #{viewScope.prenom} #{viewScope.nom}"
(...)
 </af:navigationPane>
</jsp:root>
<div id="pt2:t1" class="af_toolbar" style="overflow:hidden;width:73.0%;"
(...)
any idea?
thanks in advance

Clément
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Feb 29 2012
Added on Jan 30 2012
4 comments
499 views