Applcore templates UIShell.jspx JspParseException

Hi,
We use UIShell.jspx as template of our page. When we run the page, we got this exception:
oracle.jsp.parse.JspParseException:
/oracle/apps/fnd/applcore/templates/UIShell.jspx: Line # 57, <pe:pageCustomizable allowLabel="true" id="_UISpageCust" sourceViewSize="#{GlobalAreaBackingBean.sourceViewSize}" toolbarLayout="message newline menu addonpanels custom stretch button" view="#{GlobalAreaBackingBean.editMode}">
Error: Encountered deferred syntax #{ in template text. If intended as a literal, escape it or set directive deferredSyntaxAllowedAsLiteral
Does anyone know what the issue is?
Thanks!
Sa

Hi,
I am getting this issue while doing MDS customization on a jsff page.Before customizing through MDS it is working fine.But after customizing the page say hide a region I am encountering this issue.
Any solution for this?

Similar Messages

  • UISHELL ContextualArea - how to initially show collapsed ?

    I would like to know how to show my page's Contextual Area collapsed when when click on the Task Menu and the page first shows up.
    I tried using the menu attribute: contextualAreaCollapsed="true" contextualAreaWidth="0" but the contextual area still displays. This page is a search region with no results shown initally, so no contextual area should be shown.
    I can otherwise get my contextual region to collapse/show programmatically once we’re in our page ok,. So I know it can be collapsed/shown .
    The doc says just setting the flag in the menu should do that functionality, but the contextual area is always showing when I first bring it up.
    Do you know if there is a known problem in this functionality ? Or another way to get this to work ? Do you see any problems in our code ?
    Here’s our code:
    <itemNode id="AssignmentDetailSearch"
    label="#{adfBundle['oracle.apps.projects.resourceManagement.assignment.resource.PjrAssignmentGenBundle']['Header.ManageProjectResourceAssignments']}"
    focusViewId="/PJRWorkbenchRMWorkarea" rendered="true"
    taskType="dynamicMain"
    taskFlowId="/WEB-INF/oracle/apps/projects/resourceManagement/assignment/ui/flow/AssignmentDetailSearchFlow.xml#AssignmentDetailSearchFlow"
    reuseInstance="false" formUsesUpload="true"
    parametersList="fndWarnChanges=false;"
    contextualAreaCollapsed="true" contextualAreaWidth="0"/>
    <af:pageTemplate viewId="/oracle/apps/fnd/applcore/templates/UIShellMainArea.jspx"
    id="pt1">
    <f:facet name="localArea">
    <fnd:applicationsPanel id="AP1"
    --- rest of the stuff on localArea
    <f:facet name="contextualArea">
    <af:showDetailHeader text="Adjustment Details" disclosed="true" id="sdh2"
    partialTriggers="AP1:AT1:_ATp:resId1">
    <f:facet name="context"/>
    <f:facet name="menuBar"/>
    <f:facet name="toolbar"/>
    <f:facet name="legend"/>
    <f:facet name="info"/>
    <af:panelLabelAndMessage label="#{bindings.NewAssignStartDate1.hints.label}"
    id="plam1">

    Hi,
    if you are from Oracle, you should post this question to your peers in Oracle Apps. If you are an Apps customer you should ask this question to the Oracle Apps forum on OTN. Note that the dynamic tab shell template that is available in Oracle ADF (and thus to public) does not have a context area and thus no contextualAreaCollapsed="true". Though we like to help, we can't test what we think can work as we don't have an apps environment.
    Sorry
    Frank

  • Unexpected Uncommitted Data Warning

    Build JDEVADF_11.1.1.6.0_GENERIC_111205.1733.6192.1
    I have a bounded task flow (The rule TF) wherein I have a table which is backed by a programmatic VO (the rule condition VO). The default page for the rule TF is displayed in the main area of the UI shell template. The rule TF always begins a new transaction and shares data control with the calling task flow.
    From within the rule task flow, I can call a bounded task flow to select a set of products (the select target products TF). The select target products TF used shared transaction ("Always use Existing Transaction") and shares data control with calling task flow. Originally, I wanted to run this as a dialog, but there appears to be some bug in the UI shell that prevents this, so now I have run as dialog "False" and Display type "External Window". The default view for this task flow renders into the main area of the UI shell.
    When I add rule conditions and then invoke the select target products TF, I get an "Uncommitted data warning" when I press the OK button in that task flow, which returns the selected products to the calling task flow. The warning appears to happen after I get the return value from the select target task flow.
    If I don't add any rule conditions and simply invoke the select products TF, I do not see an issue.
    According to http://www.oracle.com/technetwork/developer-tools/adf/unsaveddatawarning-100139.html, calling a bounded task flow from a bounded task flow with shared transaction should NOT cause this.
    Is this a bug? Is there a workaround for this?
    Thanks, -Klaus

    <?xml version='1.0' encoding='UTF-8'?>
    <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:c="http://java.sun.com/jsp/jstl/core">
    <c:set var="ResourcesGenBundle"
    value="#{adfBundle['oracle.apps.common.acr.resource.ResourcesGenBundle']}"/>
    <c:set var="ZspBusinessRulesAttrBundle"
    value="#{adfBundle['oracle.apps.spe.businessRules.resource.ZspBusinessRulesAttrBundle']}"/>
    <c:set var="ZspBusinessRulesGenBundle"
    value="#{adfBundle['oracle.apps.spe.businessRules.resource.ZspBusinessRulesGenBundle']}"/>
    <af:pageTemplate viewId="/oracle/apps/fnd/applcore/templates/UIShellMainArea.jspx"
    id="pt1">
    <f:facet name="localArea">
    <af:panelHeader text="#{pageFlowScope.ManageRuleFolder.title}" id="ph1">
    <f:facet name="menuBar">
    <af:panelFormLayout id="pfl2">
    <af:toolbar id="t2" stretchId="s2" flex="1"
    inlineStyle="background-color:transparent;">
    <af:spacer width="2" height="2" id="s2" clientComponent="true"/>
    <af:commandButton text="#{ResourcesGenBundle['Action.OK']}"
    id="cb1" action="OK"/>
    <af:commandButton text="#{ResourcesGenBundle['Action.Cancel']}"
    id="cb2" action="CANCEL"
    immediate="true"/>
    </af:toolbar>
    </af:panelFormLayout>
    </f:facet>
    <af:panelGroupLayout layout="scroll" id="pgl1">
    <af:panelFormLayout id="pfl-d">
    <af:selectOneRadio id="sor1"
    label="#{ZspBusinessRulesAttrBundle['ColAttr.FolderType.RuleFolderType.RuleFolderEO.RuleTypeName']}"
    value="#{pageFlowScope.ManageRuleFolder.ruleTypeName}"
    autoSubmit="true" required="true"
    disabled="#{pageFlowScope.ManageRuleFolder.ruleFolderId != null}">
    <af:selectItem label="#{ZspBusinessRulesGenBundle['OLabel.Prediction.PredictionRuleType']}"
    value="#{pageFlowScope.ManageRuleFolder.recommendationRuleType}"
    id="si1"/>
    <af:selectItem label="#{ZspBusinessRulesGenBundle['OLabel.Eligibility.EligibilityRuleType']}"
    value="#{pageFlowScope.ManageRuleFolder.eligibilityRuleType}"
    id="si3"/>
    </af:selectOneRadio>
    <af:spacer width="10" height="10" id="s5"/>
    <af:inputText id="id2" columns="50" maximumLength="#{pageFlowScope.ManageRuleFolder.maxNameLength}"
    label="#{ZspBusinessRulesAttrBundle['ColAttr.FolderName.NameofRuleFolder.RuleFolderEO.RuleFolderName']}"
    value="#{pageFlowScope.ManageRuleFolder.name}"
    autoSubmit="true" required="true">
    <af:validateLength maximum="#{pageFlowScope.ManageRuleFolder.maxNameLength}" minimum="1"/>
    </af:inputText>
    <af:spacer width="10" height="10" id="s55"/>
    <af:inputText id="id3" columns="50" maximumLength="#{pageFlowScope.ManageRuleFolder.maxDescriptionLength}" rows="5"
    wrap="soft"
    label="#{ZspBusinessRulesAttrBundle['ColAttr.Description.RuleFolderDescription.RuleFolderEO.Description']}"
    value="#{pageFlowScope.ManageRuleFolder.description}"
    autoSubmit="true" required="true">
    <af:validateLength maximum="#{pageFlowScope.ManageRuleFolder.maxDescriptionLength}" minimum="1"/>
    </af:inputText>
    <af:spacer width="10" height="10" id="s4"/>
    <af:inputDate label="#{ZspBusinessRulesAttrBundle['ColAttr.StartDate.RuleFolderEffectiveStartDate.RuleFolderEO.EffectiveStartDate']}"
    id="id1"
    value="#{pageFlowScope.ManageRuleFolder.effectiveStartDate}"
    autoSubmit="true" required="false">
    <af:convertDateTime pattern="#{applCorePrefs.dateFormatPattern}"/>
    </af:inputDate>
    <af:spacer width="10" height="10" id="s6"/>
    <af:inputDate label="#{ZspBusinessRulesAttrBundle['ColAttr.EndDate.RuleFolderEffectiveEndDate.RuleFolderEO.EffectiveEndDate']}"
    id="id4"
    value="#{pageFlowScope.ManageRuleFolder.effectiveEndDate}"
    autoSubmit="true" required="false">
    <af:convertDateTime pattern="#{applCorePrefs.dateFormatPattern}"/>
    </af:inputDate>
    <af:spacer width="10" height="10" id="s8"/>
    <af:selectBooleanCheckbox text="#{ZspBusinessRulesAttrBundle['ColAttr.Active.IndicatorofActiveRuleFolder.RuleFolderEO.ActiveFlag']}"
    selected="#{pageFlowScope.ManageRuleFolder.activeFlag}"
    label="#{null}" id="sbc1" autoSubmit="true"/>
    </af:panelFormLayout>
    </af:panelGroupLayout>
    </af:panelHeader>
    </f:facet>
    </af:pageTemplate>
    </jsp:root>

  • Encountered deferred syntax #{ in template text.

    Hi All,
    I am using Webcenter application 11.1.1.5. When I run any jspx page form this application I get error:
    <LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6
    javax.faces.FacesException: javax.servlet.ServletException: OracleJSP error:
    oracle.jsp.parse.JspParseException:
    /oracle/webcenter/portalapp/pagetemplates/pageTemplate_globe.jspx: Line # 50, <cust:panelCustomizable id="pt_pc4" inlineStyle="background-image:url(#{facesContext.externalContext.requestContextPath}/images/globe_tab-bkg.png);background-position:center top;background-repeat:repeat-x;padding-top:2px;" rendered="#{!composerContext.inEditMode and attrs.showNavigation and !attrs.isEditingTemplate}">
    Error: Encountered deferred syntax #{ in template text. If intended as a literal, escape it or set directive deferredSyntaxAllowedAsLiteral
    at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:415)
    Caused by: javax.servlet.ServletException: OracleJSP error:
    oracle.jsp.parse.JspParseException:
    /oracle/webcenter/portalapp/pagetemplates/pageTemplate_globe.jspx: Line # 50, <cust:panelCustomizable id="pt_pc4" inlineStyle="background-image:url(#{facesContext.externalContext.requestContextPath}/images/globe_tab-bkg.png);background-position:center top;background-repeat:repeat-x;padding-top:2px;"
    rendered="#{!composerContext.inEditMode and attrs.showNavigation and !attrs.isEditingTemplate}">
    Error: Encountered deferred syntax #{ in template text. If intended as a literal, escape it or set directive deferredSyntaxAllowedAsLiteral
    Every jspx page is build on default page template pageTemplate_globe.jspx
    Amit

    Thanks for your response Hoque.
    Attribute 'showGreetings' already exists in page template.
    What I assume is some thing in the project is corrupted as a result of which below statement for cust:panelCustomizable is giving the error. Please note this is default template from Webcenter with no changes at all.
    rendered="#{!composerContext.inEditMode and attrs.showNavigation and !attrs.isEditingTemplate}
    If I create a new project, same template works fine. So I guess some jar or tag libs are missing. I tried to remove and add 'WebCenter Customizable Components Tag Library' (has prefix cust) again but that didn't worked.
    Any ideas ?
    Thanks. Amit

  • Page designer show small view when using page template and cannot be run

    Dear Experts,
    I need to make some page templates.
    I have build 2 simple page templates, let say template0 & template1 which template1 using template0.
    It show no any problem until I close my Jdeveloper & reopen it.
    When I reopen template1, it show so small in designer (Jdeveloper window).
    Is there any wrong?
    I have build another template, just 1 template.
    When I used it at the first time, no any strange behavior occur.
    After ... (I don't exactly when), it give me the same view in my designer.
    Then I force to use my first tempate (template1 which used template0 inside), I cannot run my application at all.
    After wait several minutes, I found error log in my log messages.
    *#### Server Instance DefaultServer could not be started: Server Instance was terminated.*
    Above the message, I found another error messages:
    *Jun 7, 2009 5:40:19 PM ComponentMetadataHandler _error*
    WARNING: error parsing component tag in file: null/tag:xmlContent/id:dte_160d74a
    org.xml.sax.SAXParseException: <Line 69, Column 7>: XML-20100: (Fatal Error) Expected 'EOF'.
    *     at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:422)*
    Is there anyone that can help me to find out why this error occured?
    Should I raise this problem to metalink or just can post it in this forum?
    Many thanks for your supporting...
    N.B: Below I attach my template0 (AHM000.jspx) and template1 (AHM001.jspx)
    Best regards,
    Dominic Chandra
    AHM000.jspx
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:c="http://java.sun.com/jsp/jstl/core">
    <c:set var="ahmwebtemplateBundleAHM000"
    value="#{adfBundle['com.ahm.lib.view.template.AHMWebTemplateBundle']}"/>
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <af:pageTemplateDef var="attrs">
    <af:panelSplitter orientation="vertical" splitterPosition="60">
    <f:facet name="first">
    <af:decorativeBox theme="dark" topHeight="0px">
    <f:facet name="center">
    <af:panelHeader text="#{attrs.pageTitle}">
    <f:facet name="context"/>
    <f:facet name="menuBar"/>
    <f:facet name="toolbar"/>
    <f:facet name="legend">
    <af:panelGroupLayout>
    <af:outputText value="#{attrs.pageName}"/>
    <af:outputText value="#{sessionScope.userState.userName}"/>
    <f:facet name="separator">
    <af:spacer width="10" height="10"/>
    </f:facet>
    </af:panelGroupLayout>
    </f:facet>
    <f:facet name="info">
    <af:statusIndicator/>
    </f:facet>
    </af:panelHeader>
    </f:facet>
    <f:facet name="top"/>
    </af:decorativeBox>
    </f:facet>
    <f:facet name="second">
    <af:panelSplitter orientation="vertical" positionedFromEnd="true"
    splitterPosition="20">
    <f:facet name="first">
    <af:decorativeBox theme="light" topHeight="0px">
    <f:facet name="center">
    <af:facetRef facetName="mainArea"/>
    </f:facet>
    <f:facet name="top"/>
    </af:decorativeBox>
    </f:facet>
    <f:facet name="second">
    <af:panelGroupLayout inlineStyle="text-align:right;">
    <af:outputText value="#{ahmwebtemplateBundleAHM000.VERSION} #{attrs.appVersion}"
    inlineStyle="color:Navy;"/>
    <af:outputText value="© 2009 PT Astra Honda Motor"
    inlineStyle="color:Navy; font-weight:bold;"/>
    <f:facet name="separator">
    <af:spacer width="10" height="10"/>
    </f:facet>
    </af:panelGroupLayout>
    </f:facet>
    </af:panelSplitter>
    </f:facet>
    </af:panelSplitter>
    <af:xmlContent>
    <component xmlns="http://xmlns.oracle.com/adf/faces/rich/component">
    <display-name>AHM000</display-name>
    <facet>
    <description>Main Area</description>
    <facet-name>mainArea</facet-name>
    </facet>
    <attribute>
    <attribute-name>pageTitle</attribute-name>
    <attribute-class>java.lang.String</attribute-class>
    <default-value>Page Title</default-value>
    <required>true</required>
    </attribute>
    <attribute>
    <attribute-name>
    pageName
    </attribute-name>
    <attribute-class>
    java.lang.String
    </attribute-class>
    <default-value>
    ahmxxyyynnnznn
    </default-value>
    <required>
    true
    </required>
    </attribute>
    <attribute>
    <attribute-name>
    appVersion
    </attribute-name>
    <attribute-class>
    java.lang.String
    </attribute-class>
    <default-value>
    1.0.0
    </default-value>
    </attribute>
    </component>
    </af:xmlContent>
    </af:pageTemplateDef>
    </jsp:root>
    AHM001.jspx
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:c="http://java.sun.com/jsp/jstl/core">
    <c:set var="ahmwebtemplateBundleAHM001"
    value="#{adfBundle['com.ahm.lib.view.template.AHMWebTemplateBundle']}"/>
    <jsp:directive.page contentType="text/html;charset=windows-1252"/>
    <af:pageTemplateDef var="attrs">
    <af:pageTemplate viewId="/template/AHM000.jspx">
    <f:facet name="mainArea">
    <af:panelSplitter splitterPosition="#{attrs.searchAreaPosition}">
    <f:facet name="first">
    <af:facetRef facetName="searchArea"/>
    </f:facet>
    <f:facet name="second">
    <af:panelSplitter positionedFromEnd="true"
    splitterPosition="#{attrs.infoAreaPosition}">
    <f:facet name="first">
    <af:facetRef facetName="mainArea"/>
    </f:facet>
    <f:facet name="second">
    <af:facetRef facetName="infoArea"/>
    </f:facet>
    </af:panelSplitter>
    </f:facet>
    </af:panelSplitter>
    </f:facet>
    <f:attribute name="pageTitle"
    value="#{attrs.pageTitle}"/>
    <f:attribute name="pageName" value="#{attrs.pageName}"/>
    <f:attribute name="appVersion" value="#{attrs.appVersion}"/>
    </af:pageTemplate>
    <af:xmlContent>
    <component xmlns="http://xmlns.oracle.com/adf/faces/rich/component">
    <display-name>AHM001</display-name>
    <facet>
    <description>Search Area</description>
    <facet-name>searchArea</facet-name>
    </facet>
    <facet>
    <description>Main Area</description>
    <facet-name>mainArea</facet-name>
    </facet>
    <facet>
    <description>Info Area</description>
    <facet-name>infoArea</facet-name>
    </facet>
    <attribute>
    <attribute-name>pageTitle</attribute-name>
    <attribute-class>java.lang.String</attribute-class>
    <default-value>Page Title</default-value>
    <required>true</required>
    </attribute>
    <attribute>
    <attribute-name>
    pageName
    </attribute-name>
    <attribute-class>
    java.lang.String
    </attribute-class>
    <default-value>
    ahmxxyyynnnznn
    </default-value>
    <required>
    true
    </required>
    </attribute>
    <attribute>
    <attribute-name>
    appVersion
    </attribute-name>
    <attribute-class>
    java.lang.String
    </attribute-class>
    <default-value>
    1.0.0
    </default-value>
    </attribute>
    <attribute>
    <attribute-name>
    searchAreaPosition
    </attribute-name>
    <attribute-class>
    java.lang.Integer
    </attribute-class>
    <default-value>
    200
    </default-value>
    </attribute>
    <attribute>
    <attribute-name>
    infoAreaPosition
    </attribute-name>
    <attribute-class>
    java.lang.Integer
    </attribute-class>
    <default-value>
    200
    </default-value>
    </attribute>
    </component>
    <af:decorativeBox>
    <f:facet name="center"/>
    <f:facet name="top"/>
    </af:decorativeBox>
    </af:xmlContent>
    </af:pageTemplateDef>
    </jsp:root>

    Hi...
    Thanks for asking....
    As I put in my post before, I include template0 in my template1, as seen in template1 (AHM001):
    <af:pageTemplateDef var="attrs">
    *<af:pageTemplate viewId="/template/AHM000.jspx">*
    I use AHM000 inside AHM001. I use this approach to build many template based on one basic design.
    Actually, I don't think the problem is in page template usage because as I submitted paralel to Metalink, I've already not called template0 in template1 but I copy template0's contents to template1.
    Unfortunately, page designer show small view and below error messages still occured.
    *Jun 7, 2009 10:25:20 PM ComponentMetadataHandler _error*
    WARNING: error parsing component tag in file: /AhmTestTemplate-ViewController1-context-root/template/AHM001.jspx/tag:xmlContent/id:null
    org.xml.sax.SAXParseException: <Line 115, Column 51>: XML-20100: (Fatal Error) Expected 'EOF'.
    Fortunately my application can be run already altough the error message still logged.
    Many thanks,
    Dominic C.

  • Passing parameters through URL in ADF Application with UIShell

    Hi,
    JDeveloper Studio Edition Version 11.1.1.6.0
    The UI in our application is developed with UIShell pageTemplate.
    We have a Home page created with PageTemplace "UIShell.jspx" and this page is placed as a view in adfc-config.xml (the Unbounded Task Flow).
    The other pages for our application are created using Page Fragments and these pages are called from Home_taskmenu.xml through Bounded task flows.
    With this setting, the URL(after SignIn) will look like,
    http://localhost:7101/OperationalPlanning/faces/Home?_afrWindowMode=0&_adf.no-new-window-redirect=true&_afrLoop=6811862222491857&_adf.ctrl-state=29wus7giw_19
    We have a requirement to build the URL which should open a Page Fragment directly after Signing In to the application. And we have a id to be passed as a parameter, so it should open the page fragment with the details based on the id value that we pass.
    The parameters are already registered in the Bounded Task Flow(which has the page fragment) and I could open in the "localArea" using a link in the Home Page.
    Now, I want to directly launch the Bounded task flow by passing a parameter, so that it opens the Page Fragment as a tab once we signIn.
    Let me know if there is any solution for this requirement.
    If there is any document to follow for this kind of requirement in an application which is created using the UIShell, please let me know.
    Thanks,
    Tamil

    hi Frank,
    Thanks for the response. We followed your suggestion and managed to capture URL parameters in afterPhase(LifeCycle.PREPARE_MODEL) and save parameters to ViewScope.
    Then in beforePhase(LifeCycle.PREPARE_RENDER), we retrieve parameters back and invoke FndUIController.openMainTask method to launch the correponding taskflow but nothing happens.
    public static void openTaskflowOnNewTab(String taskflowId) {
    try {
    FacesContext fc = FacesContext.getCurrentInstance();
    ELContext elc = fc.getELContext();
    ExpressionFactory ef = fc.getApplication().getExpressionFactory();
    ValueExpression valExp = ef.createValueExpression(elc,"#{bindings.openMainTask}",Object.class);
    JUCtrlActionBinding methodBinding = (JUCtrlActionBinding)valExp.getValue(elc);
    Map params = methodBinding.getParamsMap();
    params.put("label", "Some Title");
    params.put("taskFlowId", taskflowId);
    params.put("reuseInstance", true);
    methodBinding.invoke();
    } catch (Exception e) {
    e.printStackTrace();
    To prove that this method works, we create a UI button on the page (which binds this method in PageDef.xml), and associate this method to onclick event. At runtime after page is opened, clicking on the button does launch the taskflow on new tab successfully.
    Do you happen to know what I do wrong in the beforePhase() method?
    Thanks
    -Phi

  • TP3 Oracle Three Column Layout Template error

    Hi,
    if I choose for page template: Oracle Three Column Layout and run this page I get blank page with message: Error trying to include:viewId:/oracle/templates/threeColumnTemplate.jspx uri:/oracle/templates/threeColumnTemplate.jspxjavax.servlet.ServletException: Error in servlet
    thanks,
    Branislav

    Hi,
    if I exctract threeColumnTemplate.jspx from oracle-page-templates.jar and store it in my project as a template file it works and it works also with FF 2.0.0.11
    thanks,
    Branislav

  • Including an stylesheet in a jspx

    Greetings, i have made an include of a style sheet on my jpx, the thing is that in IExplorer 6 or higher does not show anything, i see a blank page while in Chromme and FireFox the page is showed correctly
    if a move the include sentence inside de <f:view> tag or the <af:form> tag, the page is showed in every browser, including IExplorer, but the problem is that the displayed area is small, scrolled and in the left upper corner of the browsers, does any body know how can i fix this?, even if a set the line:
    <link rel="stylesheet" type="text/css" href="${pageContext.servletContext.contextPath}/css/estilos.css"/>
    to a .css archive that does not exist, the shrinking of the area happens.
    ...here is my jsx.....thanks for your help
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich"
    xmlns:pe="http://xmlns.oracle.com/adf/pageeditor"
    xmlns:cust="http://xmlns.oracle.com/adf/faces/customizable">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <link rel="stylesheet" type="text/css"
    href="${pageContext.servletContext.contextPath}/css/estilos.css"/>
    <f:view>
    <af:document id="docrt" title="#{pageDocBean.title}" inlineStyle="background-color:White;">
    <af:form usesUpload="true" id="f1">
    <af:pageTemplate viewId="/template/templates/defaultTemplate.jspx"
    value="#{bindings.pageTemplateBinding}" id="pt1">
    <f:facet name="content1">
    <pe:pageCustomizable id="pcl1">
    <af:panelStretchLayout id="psl2"
    styleClass="replace_with_scheme_name"
    inlineStyle="margin:auto;">
    <f:facet name="center">
    <af:panelGroupLayout id="pgl1" layout="scroll">
    <div id="containerpage">
    <jsp:directive.include file="/include/search.jsp"/>
    <div id="contentpage">
    <pe:layoutCustomizable id="lc1"
    showLayoutChanger="#{pageServiceBean.isEditMode}"
    text="#{res['TEMPLATE.CHANGE_LAYOUT']}"
    showIcon="false" type="oneColumn"
    shortDesc="#{res['TEMPLATE.CHANGE_LAYOUT']}"
    inlineStyle="margin:auto;">
    <cust:panelCustomizable id="mainC"/>
    </pe:layoutCustomizable>
    </div>
    <jsp:directive.include file="/include/footer.jsp"/>
    </div>
    </af:panelGroupLayout>
    </f:facet>
    </af:panelStretchLayout>
    <f:facet name="editor">
    <pe:pageEditorPanel id="pep1"/>
    </f:facet>
    </pe:pageCustomizable>
    </f:facet>
    </af:pageTemplate>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    Edited by: Luis_muxhaxho_betancourth on 15/07/2010 03:32 PM

    Hi,
    use af:resource tag to incude CSS references
    Frank

  • Iterate Map on JSPX

    I appreciate if someone can help me to iterate Map on jspx via ADF components.
    package view.mb;
    import java.util.ArrayList;
    import java.util.HashMap;
    import java.util.List;
    import java.util.Map;
    import oracle.adf.model.BindingContext;
    import oracle.adf.model.binding.DCIteratorBinding;
    import oracle.binding.BindingContainer;
    import view.vo.EmployeeVo;
    public class PageController {
    public PageController() {
    private Map<String, EmployeeVo> employees = null;
    public void loadData() {
    employees = new HashMap<String, EmployeeVo>();
    empList = new ArrayList<EmployeeVo>();
    for (int i = 1; i < 10; i++) {
    EmployeeVo vo = new EmployeeVo();
    vo.setId("" + i);
    vo.setName("username-" + i);
    vo.setEmailId("username-" + i + "@yahoo.com");
    employees.put("" + i, vo);
    } // for (int i=0; i<10; i++)
    refreshObject("employeesIterator");
    private void refreshObject(String iterName) {
    BindingContainer bindings =
    BindingContext.getCurrent().getCurrentBindingsEntry();
    DCIteratorBinding iterBind = (DCIteratorBinding)bindings.get(iterName);
    iterBind.executeQuery();
    public void setEmployees(Map<String, EmployeeVo> employees) {
    this.employees = employees;
    public Map<String, EmployeeVo> getEmployees() {
    return employees;
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
    <jsp:directive.page contentType="text/html;charset=UTF-8"/>
    <f:view>
    <af:document id="d1"
    binding="#{backingBeanScope.backing_DisplayMapObjectViaIterator.d1}">
    <af:messages id="m1"/>
    <af:form id="f1"
    binding="#{backingBeanScope.backing_DisplayMapObjectViaIterator.f1}">
    <af:pageTemplate viewId="/oracle/templates/threeColumnTemplate.jspx"
    id="pt1">
    <f:facet name="center">
    <af:panelBox>
    <b>Iterate Map</b>
    <table border="1">
    <tr>
    <th>Id</th>
    <th>Name</th>
    <th>Email</th>
    </tr>
    <tr>
    <td colspan="3">
    // prints on UI as '{3=view.vo.EmployeeVo@16f5633, 2=view.vo.EmployeeVo@84655f, 1=view.vo.EmployeeVo@1b6e66, 7=view.vo.EmployeeVo@ed0022, 6=view.vo.EmployeeVo@1a3f113, 5=view.vo.EmployeeVo@281b56, 4=view.vo.EmployeeVo@11ae18c, 9=view.vo.EmployeeVo@1cde750, 8=view.vo.EmployeeVo@10d5d18}'
    <af:iterator value="#{bindings.employees.collectionModel}"
    var="row"
    rows="#{bindings.employees.rangeSize}">
    <af:outputLabel value="#{row.element}"/>
    </af:iterator>
    </td>
    </tr>
    <tr>
    <td colspan="3">
    <af:iterator value="#{bindings.employees.collectionModel}"
    var="row"
    rows="#{bindings.employees.rangeSize}">
    <af:outputLabel value="#{row.element.labelSet}"/>
    </af:iterator>
    </td>
    </tr>
    <af:iterator value="#{bindings.employees.collectionModel}"
    var="row" rows="#{bindings.employees.rangeSize}">
    <af:iterator value="#{row.element.labelSet}" var="rowVo">
    <tr>
    <td>
    <af:outputText value="#{rowVo.id}"/>
    </td>
    <td>
    <af:outputText value="#{rowVo.name}"/>
    </td>
    <td>
    <af:outputText value="#{rowVo.emailId}"/>
    </td>
    </tr>
    </af:iterator>
    </af:iterator>
    </table>
    </af:panelBox>
    </f:facet>
    </af:pageTemplate>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
    version="11.1.1.59.23" id="DisplayMapObjectViaIteratorPageDef"
    Package="view.pageDefs">
    <parameters/>
    <executables>
    <invokeAction Binds="loadData" id="invoke" Refresh="always"/>
    <variableIterator id="variables"/>
    <iterator Binds="root" RangeSize="25" DataControl="PageController"
    id="PageControllerIterator"/>
    <accessorIterator MasterBinding="PageControllerIterator" Binds="employees"
    RangeSize="25" DataControl="PageController"
    BeanClass="view.vo.EmployeeVo" id="employeesIterator"/>
    <accessorIterator MasterBinding="PageControllerIterator" RangeSize="25"
    DataControl="PageController"
    BeanClass="view.vo.EmployeeVo" id="employeeIterator"/>
    </executables>
    <bindings>
    <methodAction id="loadData" RequiresUpdateModel="true" Action="invokeMethod"
    MethodName="loadData" IsViewObjectMethod="false"
    DataControl="PageController"
    InstanceName="PageController.dataProvider"/>
    <tree IterBinding="employeesIterator" id="employees">
    <nodeDefinition Name="employees0">
    <AttrNames>
    <Item Value="element" >
    <!--
    <tree IterBinding="employeeVoIterator" id="employee">
    <nodeDefinition>
    <AttrNames>
    <Item Value="id" />
    <Item Value="name" />
    </AttrNames>
    </nodeDefinition>
    </tree>
    -->
    </Item>
    </AttrNames>
    </nodeDefinition>
    </tree>
    </bindings>
    </pageDefinition>

    Hi,
    delete previous binding for employee. add an iterator and a tree binding for that iterator in pageDef
    suppose you name the treebinding as employees.
    AFAIK you are trying to display id,name,emailid for each row... is that right ? then go through my following code.
    <af:iterator value="#{bindings.employees.rangeSet}"
    var="row">
    <tr>
    <td>
    <af:outputText value="#{rowVo.id}"/>
    </td>
    <td>
    <af:outputText value="#{rowVo.name}"/>
    </td>
    <td>
    <af:outputText value="#{rowVo.emailId}"/>
    </td>
    </tr>
    </af:iterator>Regards,
    Santosh.

  • White screen for jspx files

    Hello,
    I'm trying to deploy a basic Hello World ADF Faces Rich Client application.
    Any .html files are being served up fine, but any jspx files are just giving me a white screen in the browser. For example:
    http://server1/TestApp/index.html - works fine.
    http://server1/TestApp/faces/testPage.jspx - gives white screen.
    I'm sure I'm missing something ridiculous, but any help gratefully received.
    Running JDeveloper 11.1.1.6 on WLS 11.1.1.6 using either integrated WLS or standalone managed server.
    Thanks

    Timo,
    Many thanks, that seems to have fixed Hello World for me, although I'm unclear from your blog as to why having the bindings set should be causing me a problem, other than potentially memory utilisation.
    The reason I wrote Hello World was because I couldn't get my original demo to work - specifically the one from http://www.oracle.com/webfolder/technetwork/tutorials/obe/jdev/obe11jdev/ps1/ria_application/developriaapplication_long.htm
    My page code is as follows:
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
      <jsp:directive.page contentType="text/html;charset=UTF-8"/>
      <f:view>
        <af:document id="d1" binding="#{backingBeanScope.backing_DeptEmp.d1}">
          <af:messages binding="#{backingBeanScope.backing_DeptEmp.m1}" id="m1"/>
          <af:form id="f1" binding="#{backingBeanScope.backing_DeptEmp.f1}">
            <af:pageTemplate viewId="/oracle/templates/threeColumnTemplate.jspx"
                             id="pt1">
              <f:facet name="center">
                <af:panelSplitter binding="#{backingBeanScope.backing_DeptEmp.ps1}"
                                  id="ps1" orientation="vertical">
                  <f:facet name="first">
                    <af:panelCollection binding="#{backingBeanScope.backing_DeptEmp.pc1}"
                                        id="pc1">
                      <f:facet name="menus"/>
                      <f:facet name="toolbar"/>
                      <f:facet name="statusbar"/>
                      <af:table value="#{bindings.EmpView3.collectionModel}"
                                var="row" rows="#{bindings.EmpView3.rangeSize}"
                                emptyText="#{bindings.EmpView3.viewable ? 'No data to display.' : 'Access Denied.'}"
                                fetchSize="#{bindings.EmpView3.rangeSize}"
                                rowBandingInterval="0"
                                filterModel="#{bindings.EmpView3Query.queryDescriptor}"
                                queryListener="#{bindings.EmpView3Query.processQuery}"
                                filterVisible="true" varStatus="vs"
                                selectedRowKeys="#{bindings.EmpView3.collectionModel.selectedRow}"
                                selectionListener="#{bindings.EmpView3.collectionModel.makeCurrent}"
                                rowSelection="single"
                                binding="#{backingBeanScope.backing_DeptEmp.t1}"
                                id="t1">
                        <af:column sortProperty="Empno" filterable="true"
                                   sortable="true"
                                   headerText="#{bindings.EmpView3.hints.Empno.label}"
                                   id="c6">
                          <af:outputText value="#{row.Empno}" id="ot9">
                            <af:convertNumber groupingUsed="false"
                                              pattern="#{bindings.EmpView3.hints.Empno.format}"/>
                          </af:outputText>
                        </af:column>
                        <af:column sortProperty="Ename" filterable="true"
                                   sortable="true"
                                   headerText="#{bindings.EmpView3.hints.Ename.label}"
                                   id="c2">
                          <af:outputText value="#{row.Ename}" id="ot4"/>
                        </af:column>
                        <af:column sortProperty="Job" filterable="true"
                                   sortable="true"
                                   headerText="#{bindings.EmpView3.hints.Job.label}"
                                   id="c3">
                          <af:outputText value="#{row.Job}" id="ot6"/>
                        </af:column>
                        <af:column sortProperty="Mgr" filterable="true"
                                   sortable="true"
                                   headerText="#{bindings.EmpView3.hints.Mgr.label}"
                                   id="c1">
                          <af:outputText value="#{row.Mgr}" id="ot8">
                            <af:convertNumber groupingUsed="false"
                                              pattern="#{bindings.EmpView3.hints.Mgr.format}"/>
                          </af:outputText>
                        </af:column>
                        <af:column sortProperty="Hiredate" filterable="true"
                                   sortable="true"
                                   headerText="#{bindings.EmpView3.hints.Hiredate.label}"
                                   id="c7">
                          <f:facet name="filter">
                            <af:inputDate value="#{vs.filterCriteria.Hiredate}"
                                          binding="#{backingBeanScope.backing_DeptEmp.id1}"
                                          id="id1"/>
                          </f:facet>
                          <af:outputText value="#{row.Hiredate}" id="ot7">
                            <af:convertDateTime pattern="#{bindings.EmpView3.hints.Hiredate.format}"/>
                          </af:outputText>
                        </af:column>
                        <af:column sortProperty="Sal" filterable="true"
                                   sortable="true"
                                   headerText="#{bindings.EmpView3.hints.Sal.label}"
                                   id="c4">
                          <af:outputText value="#{row.Sal}" id="ot10">
                            <af:convertNumber groupingUsed="false"
                                              pattern="#{bindings.EmpView3.hints.Sal.format}"/>
                          </af:outputText>
                        </af:column>
                        <af:column sortProperty="Comm" filterable="true"
                                   sortable="true"
                                   headerText="#{bindings.EmpView3.hints.Comm.label}"
                                   id="c8">
                          <af:outputText value="#{row.Comm}" id="ot11">
                            <af:convertNumber groupingUsed="false"
                                              pattern="#{bindings.EmpView3.hints.Comm.format}"/>
                          </af:outputText>
                        </af:column>
                        <af:column sortProperty="Deptno" filterable="true"
                                   sortable="true"
                                   headerText="#{bindings.EmpView3.hints.Deptno.label}"
                                   id="c5">
                          <af:outputText value="#{row.Deptno}" id="ot5">
                            <af:convertNumber groupingUsed="false"
                                              pattern="#{bindings.EmpView3.hints.Deptno.format}"/>
                          </af:outputText>
                        </af:column>
                      </af:table>
                    </af:panelCollection>
                  </f:facet>
                  <f:facet name="second">
                    <af:panelTabbed binding="#{backingBeanScope.backing_DeptEmp.pt2}"
                                    id="pt2">
                      <af:showDetailItem text="showDetailItem 1"
                                         binding="#{backingBeanScope.backing_DeptEmp.sdi3}"
                                         id="sdi3">
                        <af:panelFormLayout binding="#{backingBeanScope.backing_DeptEmp.pfl2}"
                                            id="pfl2">
                          <af:inputText value="#{bindings.Empno.inputValue}"
                                        label="#{bindings.Empno.hints.label}"
                                        required="#{bindings.Empno.hints.mandatory}"
                                        columns="#{bindings.Empno.hints.displayWidth}"
                                        maximumLength="#{bindings.Empno.hints.precision}"
                                        shortDesc="#{bindings.Empno.hints.tooltip}"
                                        binding="#{backingBeanScope.backing_DeptEmp.it1}"
                                        id="it1">
                            <f:validator binding="#{bindings.Empno.validator}"/>
                            <af:convertNumber groupingUsed="false"
                                              pattern="#{bindings.Empno.format}"/>
                          </af:inputText>
                          <af:inputText value="#{bindings.Ename.inputValue}"
                                        label="#{bindings.Ename.hints.label}"
                                        required="#{bindings.Ename.hints.mandatory}"
                                        columns="#{bindings.Ename.hints.displayWidth}"
                                        maximumLength="#{bindings.Ename.hints.precision}"
                                        shortDesc="#{bindings.Ename.hints.tooltip}"
                                        binding="#{backingBeanScope.backing_DeptEmp.it2}"
                                        id="it2">
                            <f:validator binding="#{bindings.Ename.validator}"/>
                          </af:inputText>
                          <af:inputText value="#{bindings.Job.inputValue}"
                                        label="#{bindings.Job.hints.label}"
                                        required="#{bindings.Job.hints.mandatory}"
                                        columns="#{bindings.Job.hints.displayWidth}"
                                        maximumLength="#{bindings.Job.hints.precision}"
                                        shortDesc="#{bindings.Job.hints.tooltip}"
                                        binding="#{backingBeanScope.backing_DeptEmp.it3}"
                                        id="it3">
                            <f:validator binding="#{bindings.Job.validator}"/>
                          </af:inputText>
                          <af:inputDate value="#{bindings.Hiredate.inputValue}"
                                        label="#{bindings.Hiredate.hints.label}"
                                        required="#{bindings.Hiredate.hints.mandatory}"
                                        shortDesc="#{bindings.Hiredate.hints.tooltip}"
                                        binding="#{backingBeanScope.backing_DeptEmp.id2}"
                                        id="id2">
                            <f:validator binding="#{bindings.Hiredate.validator}"/>
                            <af:convertDateTime pattern="#{bindings.Hiredate.format}"/>
                          </af:inputDate>
                          <af:inputText value="#{bindings.Sal.inputValue}"
                                        label="#{bindings.Sal.hints.label}"
                                        required="#{bindings.Sal.hints.mandatory}"
                                        columns="#{bindings.Sal.hints.displayWidth}"
                                        maximumLength="#{bindings.Sal.hints.precision}"
                                        shortDesc="#{bindings.Sal.hints.tooltip}"
                                        binding="#{backingBeanScope.backing_DeptEmp.it4}"
                                        id="it4">
                            <f:validator binding="#{bindings.Sal.validator}"/>
                            <af:convertNumber groupingUsed="false"
                                              pattern="#{bindings.Sal.format}"/>
                          </af:inputText>
                          <f:facet name="footer">
                            <af:commandButton text="Submit"
                                              binding="#{backingBeanScope.backing_DeptEmp.cb5}"
                                              id="cb5"/>
                          </f:facet>
                        </af:panelFormLayout>
                      </af:showDetailItem>
                    </af:panelTabbed>
                  </f:facet>
                </af:panelSplitter>
              </f:facet>
              <f:facet name="header">
                <f:verbatim>
                  D
                </f:verbatim>
              </f:facet>
              <f:facet name="start">
                <af:panelAccordion binding="#{backingBeanScope.backing_DeptEmp.pa1}"
                                   id="pa1">
                  <af:showDetailItem text="Departments"
                                     binding="#{backingBeanScope.backing_DeptEmp.sdi1}"
                                     id="sdi1">
                    <af:panelFormLayout binding="#{backingBeanScope.backing_DeptEmp.pfl1}"
                                        id="pfl1">
                      <af:panelLabelAndMessage label="#{bindings.Deptno.hints.label}"
                                               binding="#{backingBeanScope.backing_DeptEmp.plam1}"
                                               id="plam1">
                        <af:outputText value="#{bindings.Deptno.inputValue}"
                                       binding="#{backingBeanScope.backing_DeptEmp.ot1}"
                                       id="ot1">
                          <af:convertNumber groupingUsed="false"
                                            pattern="#{bindings.Deptno.format}"/>
                        </af:outputText>
                      </af:panelLabelAndMessage>
                      <af:panelLabelAndMessage label="#{bindings.Dname.hints.label}"
                                               binding="#{backingBeanScope.backing_DeptEmp.plam2}"
                                               id="plam2">
                        <af:outputText value="#{bindings.Dname.inputValue}"
                                       binding="#{backingBeanScope.backing_DeptEmp.ot2}"
                                       id="ot2"/>
                      </af:panelLabelAndMessage>
                      <af:panelLabelAndMessage label="#{bindings.Loc.hints.label}"
                                               binding="#{backingBeanScope.backing_DeptEmp.plam3}"
                                               id="plam3">
                        <af:outputText value="#{bindings.Loc.inputValue}"
                                       binding="#{backingBeanScope.backing_DeptEmp.ot3}"
                                       id="ot3"/>
                      </af:panelLabelAndMessage>
                      <f:facet name="footer">
                        <af:panelGroupLayout layout="horizontal"
                                             binding="#{backingBeanScope.backing_DeptEmp.pgl1}"
                                             id="pgl1">
                          <af:commandButton actionListener="#{bindings.First.execute}"
                                            text="First"
                                            disabled="#{!bindings.First.enabled}"
                                            partialSubmit="true"
                                            binding="#{backingBeanScope.backing_DeptEmp.cb1}"
                                            id="cb1"/>
                          <af:commandButton actionListener="#{bindings.Previous.execute}"
                                            text="Previous"
                                            disabled="#{!bindings.Previous.enabled}"
                                            partialSubmit="true"
                                            binding="#{backingBeanScope.backing_DeptEmp.cb2}"
                                            id="cb2"/>
                          <af:commandButton actionListener="#{bindings.Next.execute}"
                                            text="Next"
                                            disabled="#{!bindings.Next.enabled}"
                                            partialSubmit="true"
                                            binding="#{backingBeanScope.backing_DeptEmp.cb3}"
                                            id="cb3"/>
                          <af:commandButton actionListener="#{bindings.Last.execute}"
                                            text="Last"
                                            disabled="#{!bindings.Last.enabled}"
                                            partialSubmit="true"
                                            binding="#{backingBeanScope.backing_DeptEmp.cb4}"
                                            id="cb4"/>
                        </af:panelGroupLayout>
                      </f:facet>
                    </af:panelFormLayout>
                  </af:showDetailItem>
                  <af:showDetailItem text="More info"
                                     binding="#{backingBeanScope.backing_DeptEmp.sdi2}"
                                     id="sdi2"/>
                </af:panelAccordion>
              </f:facet>
              <f:facet name="branding"/>
              <f:facet name="copyright"/>
              <f:facet name="status"/>
              <f:attribute name="startColumnSize" value="350"/>
            </af:pageTemplate>
          </af:form>
        </af:document>
      </f:view>
    </jsp:root>Do I just remove all bindings or is there something more subtle that I need to know?
    Thanks

  • JDEV 11G R1 - Customize default template

    Hi,
    I am using default seeded template "threeColumnTemplate.jspx".
    Is there anyway to customize it as per our requirement like removing Oracle logo from it.
    Thanks,
    Kamleshwar

    You can create the template yourself and then make it available for your pages, under the JSF menu you have jsf page template option. The 3 column jspx template should be inside one of the jars of JDeveloper, although it won't take you much to create a similar one from scratch.
    http://download.oracle.com/docs/cd/E12839_01/web.1111/b31974/web_getstarted.htm#ADFFD564
    -Juan Camilo

  • NoSuchElement exception

    When we run our application sometimes we see this error "java.util.NoSuchElementException" and app stops loading. We managed to find that in some places while referring to the attribute bindings we missed ".inputValue", for example instead of bindings.userCanUpdateTerritory.inputValue we call only bindings.userCanUpdateTerritory.
    Question:
    1. Is there any setting in jdev's Java runtime or in web.xml that can help to capture the exact attribute names. Simply by seeing "java.util.NoSuchElementException" we are completely clueless.
    Appreciate some help on this.
    Below is the error:
    ####<Dec 12, 2010 11:15:27 PM PST> <Error> <oracle.adf.view.rich.component.fragment.UIXPageTemplate> <indl144193> <DefaultServer> <ACTIVE ExecuteThread: '14' for queue: 'weblogic.kernel.Default (self-tuning)'> <SALES_ADMIN> <c07b9a7a529f9d0e:-628024b8:12cde87628d:-8000-000000000000029d> <1292224527012> <ADF_FACES-10018> <Tear down of page template context failed due to an unhandled exception.
    java.util.NoSuchElementException
    at java.util.ArrayDeque.removeFirst(ArrayDeque.java:251)
    at java.util.ArrayDeque.pop(ArrayDeque.java:480)
    at oracle.adfinternal.view.faces.context.ApplicationContextManagerImpl.popContextChange(ApplicationContextManagerImpl.java:66)
    at oracle.adf.view.rich.component.fragment.UIXPageTemplate.tearDownVisitingContext(UIXPageTemplate.java:251)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.encodeEnd(ContextSwitchingComponent.java:157)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:415)
    at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:432)
    at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1181)
    at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
    at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:335)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:765)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.__encodeRecursive(UIXComponentBase.java:1515)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeAll(UIXComponentBase.java:785)
    at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)
    at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:266)
    at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:197)
    at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
    at org.apache.myfaces.portlet.faces.application.PortletViewHandlerImpl.renderView(PortletViewHandlerImpl.java:259)
    at org.apache.myfaces.trinidadinternal.facelets.TrinidadFaceletViewHandler.renderView(TrinidadFaceletViewHandler.java:120)
    at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
    at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:777)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:293)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:213)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
    at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.bi.nanserver.adf.servlet.BIADFServletFilter.doFilter(BIADFServletFilter.java:57)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.bi.presentation.runtime.binding.BIRegionBindingFilter.doFilter(BIRegionBindingFilter.java:43)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.webcenter.framework.events.dispatcher.EventDispatcherFilter.doFilter(EventDispatcherFilter.java:44)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:32)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.view.page.editor.webapp.WebCenterComposerFilter.doFilter(WebCenterComposerFilter.java:109)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.apps.fnd.applcore.common.ApplSessionFilter.doFilter(ApplSessionFilter.java:598)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:75)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.webcenter.lifecycle.filter.LifecycleLockFilter.doFilter(LifecycleLockFilter.java:151)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:114)
    at java.security.AccessController.doPrivileged(Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
    at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:97)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:164)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:136)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
    at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:176)
    ####<Dec 12, 2010 11:15:26 PM PST> <Warning> <oracle.adf.view.rich.component.fragment.UIXRegion> <indl144193> <DefaultServer> <ACTIVE ExecuteThread: '14' for queue: 'weblogic.kernel.Default (self-tuning)'> <SALES_ADMIN> <c07b9a7a529f9d0e:-628024b8:12cde87628d:-8000-000000000000029d> <1292224526989> <ADF_FACES-00009> <Error processing viewId: /editProposals-task-flow-definition/EditProposal URI: /oracle/apps/sales/territoryMgmt/territories/ui/page/EditProposal.jsff actual-URI: /oracle/apps/fnd/applcore/patterns/uishell/MainArea.jsff.
    java.lang.IllegalArgumentException: Cannot convert of type class oracle.adfinternal.view.faces.model.binding.FacesCtrlAttrsBinding to class java.lang.Boolean
    at com.sun.el.lang.ELSupport.coerceToBoolean(Unknown Source)
    at com.sun.el.parser.AstNot.getValue(Unknown Source)
    at com.sun.el.parser.AstOr.getValue(Unknown Source)

    Hi,
    exceptions look ugly but they are the most honest view onto a problem. Yours says at its end
    viewId: /editProposals-task-flow-definition/EditProposal URI: /oracle/apps/sales/territoryMgmt/territories/ui/page/EditProposal.jsff actual-URI: /oracle/apps/fnd/applcore/patterns/uishell/MainArea.jsff.
    java.lang.IllegalArgumentException: Cannot convert of type class oracle.adfinternal.view.faces.model.binding.FacesCtrlAttrsBinding to class java.lang.Boolean
    Obviously you use an El reference to the binding layer that you assign to a boolean attribute. Instead of #{bindings.attributeName.*inputValue*} you seem to just use just #{bindings.attributeName}
    Also, it appears the problem is in a page template
    Frank

  • Warning message before deleting notes

    Hello, I'm using Macs Mail program and syncing my notes with icloud. Sometimes I slip up and delete a note too soon and it automatically deletes the note permanently. I remember I used to have a warning come up before it did that, but now, when I delete the note once, it's permanently gone forever. It's not even in the trash or online.
    Does anyone know how to set a warning before you delete a note using mail?
    Thanks
    Mail v. 5.2
    OSX Lion 10.7.2
    Mac Book Pro Intel Quad Core

    Thank you so much for replaying
    I have another question related to creating popup
    I have page template and only one jspx page based on the template named"UIShell.jspx"
    I make a lot of page fragments , I have - untill now- about 15 page fragments.
    all these fragments are shown as dynamic regions within UIShell.jspx"
    My question is
    Should I create popup dialog window in each page fragment in order to display the messages?
    If the answer is "YES" this will not be a good approach - I think.
    Is there a way to create just one popup dialog and use it an any page fragments.
    Regards
    Edited by: ta**** on Apr 17, 2011 8:44 AM

  • How to display warning message before deleting a record?

    Hi all
    I want to display a warning popup message( "Do you realy want to delete the record? Yes - No" ) before user delete a record. My page fragment contains simple <af:table> which display the employees data and operations buttons "commit - delete - rollback"
    I use Jdeveloper release 11.1.4
    Database : oracle 10g
    Thanks in advance

    Thank you so much for replaying
    I have another question related to creating popup
    I have page template and only one jspx page based on the template named"UIShell.jspx"
    I make a lot of page fragments , I have - untill now- about 15 page fragments.
    all these fragments are shown as dynamic regions within UIShell.jspx"
    My question is
    Should I create popup dialog window in each page fragment in order to display the messages?
    If the answer is "YES" this will not be a good approach - I think.
    Is there a way to create just one popup dialog and use it an any page fragments.
    Regards
    Edited by: ta**** on Apr 17, 2011 8:44 AM

  • Clear page definition before generation

    Hi,
    I have created a methodAction bindings on a Page Data Binding Definition that
    get cleared every time I run application generator.
    In JHeadstart tutorial I found that there are two ways to preserve the graph binding that was added to the page definition
    -to uncheck the checkbox "Clear page definition before generation"
    -and to add the binding to the template.
    #macro (CUSTOM_BINDING)
    #end
    ${JHS.pageDefGenerator.addBinding($JHS.page,"<data collection>","#CUSTOM_BINDING()")}In my case I have item that has the type commandButton with no method-call. I changed the genetated jsff page and set the action of the button to managed bean method.
    If I am thinking right I have to add the follow code:
    #macro (CUSTOM_BINDING)
    <methodAction id="f_url_porocila"
    InstanceName="AppModuleDataControl.dataProvider"
    DataControl="AppModuleDataControl" RequiresUpdateModel="true"
    Action="invokeMethod" MethodName="f_url_porocila"
    IsViewObjectMethod="false"
    ReturnName="data.AppModuleDataControl.methodResults.f_url_porocila_AppModuleDataControl_dataProvider_f_url_porocila_result">
    <NamedData NDName="p_sifra_porocila" NDType="java.lang.String"/>
    <NamedData NDName="p_parametri" NDType="java.lang.String"/>
    </methodAction>
    #end
    ${JHS.pageDefGenerator.addBinding($JHS.page,"MetAplikativniModulView1","#CUSTOM_BINDING()")}Where "MetAplikativniModulView1" is the Data Collection of the Detail Group "AplikativniModul".
    Is the <data collection> inside
    ${JHS.pageDefGenerator.addBinding($JHS.page,"<data collection>","#CUSTOM_BINDING()")}right?
    I am looking for the vm template that i have to change so i can have the checkbox "Clear page definition before generation" checked.
    Regards,
    Dejan

    jhsCommonBeans.vm
    ## revision_history
    ## 08-mar-2011   Steven Davelaar
    ## 1.11          Changed MenuTreeBean to pageFlowScope so state is remembered accross shell pages
    ##               also generate it when using TreeMenu template, not just dyn tabs template
    ##               Added removeHiddenMenuItems property to jshDynamicMenu
    ## 28-jan-2011   Steven Davelaar
    ## 1.10          Added parsing of DYNAMIC_TABS_BEANS, exceptionHandlerBean
    ##               Added importedNlsBundles to jhsMessageFactory 
    ##               prefix UIShellPageDef with app name in fallbackContainer property of JhsModelServiceProvider
    ## 02-dec-2010   Steven Davelaar
    ## 1.9           Only set current taskflow name in jhsMainregionManager when no dyn tabs used
    ## 01-nov-2010   Steven Davelaar
    ## 1.8           Added jhsKeyboardMappingHandler and jhsFunctionKeyHandler beans
    ## 01-okt-2010   Steven Davelaar
    ## 1.7           Added enableDeepLinkingFromRequestParams to DynamicRegionManager
    ## 07-sep-2010   Steven Davelaar
    ## 1.6           Added removeHiddenMenuItems property to root menu bean
    ## 13-jul-2010   Steven Davelaar
    ## 1.5           Added MenuTreeBean, added currentSubMenu, useDynamicTabs properties to jhsMainRegionManager
    ## 18-may-2010   Steven Davelaar
    ## 1.4           Added id property to all elements
    ## 16-dec-2008   Paco van der Linden
    ## 1.3           Added jhsMainRegionManager, pendingChangesBean
    ## 03-oct-2008   Sandra Muller
    ## 1.2           removed errorReportingUtils, is now configured in DataBindings.cpx
    ## 19-sep-2008   Steven Davelaar
    ## 1.1           removed jhsPageLifecycle
    ## 05-jul-2008   Steven Davelaar
    ## 1.0           Initial creation for R11
    <?xml version="1.0" #ENCODING_PROP()?>
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <method-call id="CallMenuItem">
        <method id="#NEW_ID("__")">#{jhsDynamicRouter.getOutcome}</method>
        <parameter>
          <class id="#NEW_ID("__")">java.lang.String</class>
          <value id="#NEW_ID("__")">#{requestScope.currentMenuItem}</value>
        </parameter>
        <outcome id="#NEW_ID("__")">
          <to-string/>
        </outcome>
      </method-call>
    #if (${JHS.application.useDynamicTabs})
      <method-call id="LaunchTab">
        <method id="#NEW_ID("__")">#{pageFlowScope.parentContext.jhsDynTabLauncher.launchTab}</method>
        <outcome id="#NEW_ID("__")">
          <fixed-outcome>TabLaunched</fixed-outcome>
        </outcome>
      </method-call>
      <method-call id="CloseCurrentTab">
        <method id="#NEW_ID("__")">#{viewScope.jhsDynTabContext.removeCurrentTab}</method>
        <outcome id="#NEW_ID("__")">
          <fixed-outcome>TabClosed</fixed-outcome>
        </outcome>
      </method-call>
    #end
      <view id="Home">
        <page id="#NEW_ID("__")">${JHS.application.commonPagesDir}Home.jspx</page>
      </view> 
      <view id="UIShell">
        <page id="#NEW_ID("__")">${JHS.application.commonPagesDir}UIShell.jspx</page>
      </view> 
    #if (${JHS.application.runtimeCustomizationMenuAllowed})
      <view id="iFrameMenuItem">
        <page id="#NEW_ID("__")">${JHS.application.commonPagesDir}iFrameMenuItem.jspx</page>
      </view> 
    #end     
      <control-flow-rule id="#NEW_ID("__")">
        <from-activity-id id="#NEW_ID("__")">*</from-activity-id>
        <control-flow-case id="#NEW_ID("__")">
          <from-outcome id="#NEW_ID("__")">CallMenuItem</from-outcome>
          <to-activity-id id="#NEW_ID("__")">CallMenuItem</to-activity-id>
        </control-flow-case>
        <control-flow-case id="#NEW_ID("__")">
          <from-outcome id="#NEW_ID("__")">home</from-outcome>
          <to-activity-id id="#NEW_ID("__")">Home</to-activity-id>
        </control-flow-case>
        <control-flow-case id="#NEW_ID("__")">
          <from-outcome id="#NEW_ID("__")">uishell</from-outcome>
          <to-activity-id id="#NEW_ID("__")">UIShell</to-activity-id>
        </control-flow-case>
    #if (${JHS.application.runtimeCustomizationMenuAllowed})
        <control-flow-case id="#NEW_ID("__")">
          <from-outcome id="#NEW_ID("__")">iFrameMenuItem</from-outcome>
          <to-activity-id id="#NEW_ID("__")">iFrameMenuItem</to-activity-id>
        </control-flow-case>
    #end
    #if (${JHS.application.useDynamicTabs})
        <control-flow-case id="#NEW_ID("__")">
          <from-outcome id="#NEW_ID("__")">LaunchTab</from-outcome>
          <to-activity-id id="#NEW_ID("__")">LaunchTab</to-activity-id>
        </control-flow-case>
        <control-flow-case id="#NEW_ID("__")">
          <from-outcome id="#NEW_ID("__")">CloseCurrentTab</from-outcome>
          <to-activity-id id="#NEW_ID("__")">CloseCurrentTab</to-activity-id>
        </control-flow-case>
    #end
      </control-flow-rule>
    <managed-bean id="#NEW_ID("__")">
      <managed-bean-name id="#NEW_ID("__")">parentContext</managed-bean-name>
      <managed-bean-class id="#NEW_ID("__")">java.util.HashMap</managed-bean-class>
      <managed-bean-scope id="#NEW_ID("__")">pageFlow</managed-bean-scope>
    </managed-bean>
    <managed-bean id="#NEW_ID("__")">
      <managed-bean-name id="#NEW_ID("__")">RootMenu</managed-bean-name>
      <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.JhsXMLMenuModel</managed-bean-class>
      <managed-bean-scope id="#NEW_ID("__")">request</managed-bean-scope>
      #if (!${JHS.application.useJhsPageTemplate})
      ## this poperty MUST be sequenced before source property to work correctly!
      <managed-property id="#NEW_ID("__")">
        <property-name id="#NEW_ID("__")">removeHiddenMenuItems</property-name>
        <value id="#NEW_ID("__")">true</value>
      </managed-property>
      #end
      <managed-property id="#NEW_ID("__")">
        <property-name id="#NEW_ID("__")">source</property-name>
        <property-class id="#NEW_ID("__")">java.lang.String</property-class>
        <value id="#NEW_ID("__")">${JHS.application.rootMenuModel}</value>
      </managed-property>
    </managed-bean>
    #if (!${JHS.application.useJhsPageTemplate})
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">MenuTreeBean</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.TreeBean</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">pageFlow</managed-bean-scope>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">showExpanded</property-name>
          <value id="#NEW_ID("__")">true</value>
        </managed-property>
      </managed-bean>
    #end
    #if (${JHS.application.useDynamicTabs})
      #JHS_PARSE("DYNAMIC_TABS_BEANS" ${JHS.current.model})
    #end
        <managed-bean id="#NEW_ID("__")">
          <managed-bean-name id="#NEW_ID("__")">pendingChangesBean</managed-bean-name>
          <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.PendingChangesBean</managed-bean-class>
          <managed-bean-scope id="#NEW_ID("__")">pageFlow</managed-bean-scope>
        </managed-bean>
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">jhsMainRegionManager</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.DynamicRegionManager</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">pageFlow</managed-bean-scope>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">resetFormUsesUpload</property-name>
          <value id="#NEW_ID("__")">true</value>
        </managed-property>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">enableDeepLinkingFromRequestParams</property-name>
          <value id="#NEW_ID("__")">true</value>
        </managed-property>
    #if ($JHS.application.contentTopLevelMenu=='serviceGroups' && ($JHS.application.useJhsTreeMenuPageTemplate || $JHS.application.useDynamicTabs))
      <managed-property id="#NEW_ID("__")">
        <property-name id="#NEW_ID("__")">currentSubMenu</property-name>
        <property-class id="#NEW_ID("__")">java.lang.String</property-class>
        <value id="#NEW_ID("__")">${JHS.application.allServices.get(0).getName()}Menu</value>
      </managed-property>
    #end
    #if ($JHS.application.useDynamicTabs)
      <managed-property id="#NEW_ID("__")">
        <property-name id="#NEW_ID("__")">useDynamicTabs</property-name>
        <value id="#NEW_ID("__")">true</value>
      </managed-property>
    #else
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">currentTaskFlowName</property-name>
          <value id="#NEW_ID("__")">${JHS.application.firstGroup.name}</value>
        </managed-property>
    #end
      </managed-bean>
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">jhsCommit</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.CommitBean</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">request</managed-bean-scope>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">commitBinding</property-name>
          <value id="#NEW_ID("__")">#{bindings.Commit}</value>
        </managed-property>
      </managed-bean>
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">jhsRollback</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.RollbackBean</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">request</managed-bean-scope>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">rollbackBinding</property-name>
          <value id="#NEW_ID("__")">#{bindings.Rollback}</value>
        </managed-property>
      </managed-bean>
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">jhsLocaleManager</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.LocaleManager</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">session</managed-bean-scope>
        #if (${JHS.application.deriveUserLocale}!='browser')
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">useBrowserLocale</property-name>
          <value id="#NEW_ID("__")">false</value>
        </managed-property>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">calculateLocaleExpression</property-name>
          <value id="#NEW_ID("__")">#{'${JHS.application.deriveUserLocale}'}</value>
        </managed-property>
        #end
      </managed-bean>
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">jhsLookAndFeelBean</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.LookAndFeelBean</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">session</managed-bean-scope>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">currentPageTemplate</property-name>
          <value id="#NEW_ID("__")">/common/pageTemplates/JhsPageTemplate.jspx</value>
        </managed-property>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">currentRegionTemplate</property-name>
          <value id="#NEW_ID("__")">/common/pageTemplates/JhsRegionTemplate.jspx</value>
        </managed-property>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">currentSkin</property-name>
          <value id="#NEW_ID("__")">fusion</value>
        </managed-property>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">pageTemplates</property-name>
            <map-entries id="#NEW_ID("__")">
             <map-entry id="#NEW_ID("__")">
              <key id="#NEW_ID("__")">/common/pageTemplates/JhsPageTemplate.jspx</key>
              <value id="#NEW_ID("__")">Tabbed Menu</value>
             </map-entry>
             <map-entry id="#NEW_ID("__")">
              <key id="#NEW_ID("__")">/common/pageTemplates/JhsTreeMenuPageTemplate.jspx</key>
              <value id="#NEW_ID("__")">Tree Menu</value>
             </map-entry>
            </map-entries>     
        </managed-property>
      </managed-bean>
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">jhsModelServiceProvider</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.JhsModelServiceProvider</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">session</managed-bean-scope>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">fallbackBindingContainerEL</property-name>
                 <value id="#NEW_ID("__")">#{'#{data.${JHS.application.name}_UIShellPageDef}'}</value>
        </managed-property>
      </managed-bean>
      #if (${JHS.application.securityType}!='')
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">In2LoginBean</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">beans.In2LoginBean</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">request</managed-bean-scope>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">useADFWLSAuthentication</property-name>
          #if (${JHS.application.securityType}!='customjhs')
           <value id="#NEW_ID("__")">true</value>
          #else
           <value id="#NEW_ID("__")">false</value>
          #end
        </managed-property>
      </managed-bean>
      #if (${JHS.application.securityType}!='customjhs')  
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">LogoutBean</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.LogoutBean</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">request</managed-bean-scope>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">logoutDestination</property-name>
           <value id="#NEW_ID("__")">/</value>
        </managed-property>
      </managed-bean>
      #end
      #end
      #if (${JHS.application.runtimeCustomizationItemsAllowed} || ${JHS.application.useFlexRegions})
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">jhsPageCustomization</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.PageCustomizationBean</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">session</managed-bean-scope>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">runtimeCustomizationItemsAllowed</property-name>
          <value id="#NEW_ID("__")">${JHS.application.runtimeCustomizationItemsAllowed}</value>
        </managed-property>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">customizeDialogNavigationOutcome</property-name>
          <value id="#NEW_ID("__")">dialog:StartCustomizedStandardItem</value>
        </managed-property>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">customizeItemWindowWidth</property-name>
          <value id="#NEW_ID("__")">400</value>
        </managed-property>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">customizeItemWindowHeight</property-name>
          <value id="#NEW_ID("__")">300</value>
        </managed-property>
      </managed-bean>
      #end
      #if (${JHS.application.runtimeCustomizationMenuAllowed})
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">jhsDynamicMenu</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.DynamicMenuBean</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">session</managed-bean-scope>
      </managed-bean>
      #end
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">nls</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.util.MessageFactoryMap</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">session</managed-bean-scope>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">messageFactory</property-name>
          <value id="#NEW_ID("__")">#{jhsMessageFactory}</value>
        </managed-property>
      </managed-bean>
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">jhsPageText</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.PageTextBean</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">session</managed-bean-scope>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">nlsFactory</property-name>
          <value id="#NEW_ID("__")">#{nls}</value>
        </managed-property>
      </managed-bean>
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">jhsMessageFactory</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.util.MessageFactory</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">application</managed-bean-scope>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">bundleNames</property-name>
          <list-entries id="#NEW_ID("__")">
            <value id="#NEW_ID("__")">${JHS.application.nlsBundle}</value>
            #foreach ($bundle in ${JHS.application.importedNlsBundles})
              <value id="#NEW_ID("__")">${bundle}</value>
            #end
            <value id="#NEW_ID("__")">oracle.jheadstart.exception.JhsUserMessages</value>
            <value id="#NEW_ID("__")">javax.faces.Messages</value>
          </list-entries>
        </managed-property>
      </managed-bean>
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">jsfUtils</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.util.JsfUtils</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">application</managed-bean-scope>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">messageFactory</property-name>
          <value id="#NEW_ID("__")">#{jhsMessageFactory}</value>
        </managed-property>
      </managed-bean>
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">jhsBreadcrumbStack</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.util.breadcrumbs.BreadcrumbStack</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">pageFlow</managed-bean-scope>
      </managed-bean>
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">jhsBreadcrumbManager</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.util.breadcrumbs.BreadcrumbManager</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">application</managed-bean-scope>
      </managed-bean>
      #if (${JHS.application.useAuthorization})
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">jhsUserRoles</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.JhsAuthorizationProxy</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">session</managed-bean-scope>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">authorizationType</property-name>
          <value id="#NEW_ID("__")">${JHS.application.authorizationType}</value>
        </managed-property>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">authorizeUsingPermissions</property-name>
          <value id="#NEW_ID("__")">${JHS.application.useGroupPermissions}</value>
        </managed-property>
      </managed-bean>
      #end
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">jhsTypeConverter</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.TypeConverter</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">application</managed-bean-scope>
      </managed-bean>
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">UIComponentState</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">java.util.HashMap</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">session</managed-bean-scope>
      </managed-bean>
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">jhsPageDefs</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.PageDefAccessorBean</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">session</managed-bean-scope>
      </managed-bean>  
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">jhsDynamicRouter</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.DynamicRouter</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">request</managed-bean-scope>
      </managed-bean>  
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">jhsSetCurrentRow</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.SetCurrentRowBean</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">request</managed-bean-scope>
      </managed-bean>  
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">ExecuteActionAfterConfirmation</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.ExecuteActionAfterConfirmation</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">application</managed-bean-scope>
      </managed-bean>
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">jhsDependsOnItem</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.DependsOnItemBean</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">application</managed-bean-scope>
      </managed-bean>
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">jhsFlexItem</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.FlexItemBean</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">application</managed-bean-scope>
      </managed-bean>
    ## Note thate the FlexRegionDefinitions Task Flow itself also contains a TaskFlowConfigBean
    ## The following bean name therefore starts with 'App' to avoid confusion.
    ## We can't access (and reuse) the bean inside adfc-config-FlexRegionDefinitions.xml because it is added
    ## to the pageFlowScope of the UIShell instead of the current region
    #if( ${JHS.application.useFlexRegions} )
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">AppFlexRegionDefinitionsTaskFlowConfig</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.TaskFlowConfigBean</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">application</managed-bean-scope>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">name</property-name>
          <value id="#NEW_ID("__")">FlexRegionDefinitions</value>
        </managed-property>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">taskFlowId</property-name>
          <value id="#NEW_ID("__")">/flex/adfcConfig/adfc-config-FlexRegionDefinitions.xml#FlexRegionDefinitionsTaskFlow</value>
        </managed-property>
      </managed-bean>
    #end
    #if( ${JHS.application.enableFunctionKeys} )
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">jhsKeyboardMappingHandler</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.KeyboardFunctionMappingHandler</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">view</managed-bean-scope>
        <managed-property id="#NEW_ID("__")">
          <property-name id="#NEW_ID("__")">functionKeyHandler</property-name>
          <value id="#NEW_ID("__")">#{viewScope.jhsFunctionKeyHandler}</value>
        </managed-property>
      </managed-bean>
      #JHS_PARSE("FUNCTION_KEY_HANDLER_BEAN" ${JHS.current.model})
    #end
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">exceptionHandlerBean</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">oracle.jheadstart.controller.jsf.bean.ExceptionHandlerBean</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">request</managed-bean-scope>
      </managed-bean>
      <managed-bean id="#NEW_ID("__")">
        <managed-bean-name id="#NEW_ID("__")">fUrlPorocilaBean</managed-bean-name>
        <managed-bean-class id="#NEW_ID("__")">beans.fUrlPorocilaBean</managed-bean-class>
        <managed-bean-scope id="#NEW_ID("__")">request</managed-bean-scope>
      </managed-bean>
      #macro (POROCILA_BINDING)
      <methodAction id="f_url_porocila"
        InstanceName="AppModuleDataControl.dataProvider"
        DataControl="AppModuleDataControl" RequiresUpdateModel="true"
        Action="invokeMethod" MethodName="f_url_porocila"
        IsViewObjectMethod="false"
        ReturnName="data.AppModuleDataControl.methodResults.f_url_porocila_AppModuleDataControl_dataProvider_f_url_porocila_result">
        <NamedData NDName="p_sifra_porocila" NDType="java.lang.String"/>
        <NamedData NDName="p_parametri" NDType="java.lang.String"/>
      </methodAction>
      #end
      ${JHS.pageDefGenerator.addBinding($JHS.page,"f_url_porocila","#POROCILA_BINDING()")}
    </adfc-config>Regards,
    Dejan

Maybe you are looking for

  • Can I use lightroom on more than one computer

    Am I able to use lightroom on more than one computer. As in if I download it to my PC can I then use the same license for my laptop?

  • ABAP or JAVA

    I have been doing XI for quite sometime now but have not yet had to do any programming. However for my own benefit I have made the decision to learn both Languages.... My question is which one is best to learn first please answer with the following s

  • USING MAC MINI, IPHOTO PICTURES TRANSFER TO EXTERNAL HD

    im using mac mini, how to transfer iphoto pictures to external hard drive?

  • RMI application policy problem..

    Hi; Because i am very new in eclipse and java i will ask you an easy question which is realy hard to find out for me. I created an RMI project in eclipse and i put the codes inside. When i am trying to run it is says Security Manager loaded Exception

  • N80: Bluetooth and firmware

    My N80 doesn't work very wel in bluetooth with my BMW X3. I can hang-up and hang-down with the car, but this is all. I can't brouwse the contact list, and only the phonenumber is show on the screen of my car, not the name of the contact. The firmware