Skip navigation elements to page contents in Weblogic standalone server
I'm running JDev 11.1.1.0.1 and 10.3 stand-alone weblogic server. Due to the problem with IE6 and rich text objects, I've redone my application using trinidad components. The rich text version of the app ran fine on both the integrated and stand-alone server (using firefox 3). The trinidad version runs fine in the integrated server, but on the stand-alone server, the following link appears at the top of the page and command buttons do not work (in both firefox and IE 6):
Skip navigation elements to page contents
From faces-config.xml:
<application>
<default-render-kit-id>org.apache.myfaces.trinidad.core</default-render-kit-id>
</application>
From trinidad-config.xml:
<skin-family>minimal</skin-family>
Anyone know what I need to do to get this working on the stand-alone server?
Thanks.
Hi,
correct, this warning is not relevant to the problem
Did you try to delete the existing css file
WEB-INF\temp\adf\styles\cache\oracle-desktop-<....>.css
If this doesn't help, have a look at
Have a look at: 10.1.3.1 : Skip navigation elements to page contents
Though this thread talks about ADF Faces, not Trinidad, the issue with an invalid CSS file might be the same if you added your custom skin. As a last hint to give, how did you replace or convert the af:html, af:body elements (if used). These are handling the skin loading
Frank
Similar Messages
-
How do I remove "Skip navigation elements to page contents" display?
I have a JSF page that displays a message "Skip navigation elements to page contents" at the top of the rendered page. Any idea why this is happening and how to remove?
Strike the copy/paste theory. The issue occurs even with a newly created page when I have a panelpageheader and panelpage combination. Here is the code:
<?xml version='1.0' encoding='windows-1252'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/EA17"
xmlns:afh="http://xmlns.oracle.com/adf/faces/EA17/html">
<jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
doctype-system="http://www.w3.org/TR/html4/loose.dtd"
doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
<jsp:directive.page contentType="text/html;charset=windows-1252"/>
<link media="screen" rel="stylesheet" href="css/blaf.css"/>
<f:view>
<af:form>
<afh:html>
<afh:head title="mainPage">
<meta http-equiv="Content-Type"
content="text/html; charset=windows-1252"/>
<style type="text/css">
body {
background-color: #ffffff;
</style>
</afh:head>
<afh:body>
<af:panelPageHeader binding="#{backing_test.panelPageHeader2}">
<f:facet name="branding">
<af:objectImage binding="#{backing_test.objectImage2}"
source="components/images/corporateBrand.gif"/>
</f:facet>
</af:panelPageHeader>
<af:panelPage title="Title 0" binding="#{backing_test.panelPage1}"/>
</afh:body>
</afh:html>
</af:form>
</f:view>
</jsp:root> -
Drawing problems in Minefield interface elements and page content
Some sort of graphic related problem with Minefield nightly builds.
I'm not an expert, but it looks like the problem is with semi transparent pixel drawing. Might this be related with graphics hardware?
Here is the screenshot, how it looks:
http://img148.imageshack.us/img148/2536/ffinterface1.png
In the picture the problem is well seen on the TAB headers and vertical line with a pattern in a page illustrates the problem in displaying transparent elements in page content.
When interactive interface elements are mouseovered (paticularly "close tab" buton), the distortion around changes.Try the Builds forum over at MozillaZine, that's where all the "testers" hang out.
http://forums.mozillazine.org/viewforum.php?f=23 -
Install weblogic standalone server in my laptop. Need guidelines or any blogs.
Hi,
Am planning to install weblogic stand alone server in my laptop.
Kindly help me if there is any blog to provide step by step intallation tutorial.
regards,
Prasad K T,Hi,
Find the Link with the screenshots of the whole installtion and domain creation process for Weblogic in all the ways
Installing Weblogic in GUI mode - weblogicexpert
Installing Weblogic 10.3.6 in console Mode in windows machine - weblogicexpert
Creating Domain In GUI mode - weblogicexpert
Creating Domain in Console Mode - weblogicexpert
Starting Weblogic Admin Server
Starting/Stoping Weblogic Admin Server - weblogicexpert
Starting Weblogic Managed Server
Starting/Stoping Weblogic Managed Server - weblogicexpert
Configuring Node manger
Configuring NODE MANAGER And Starting Managed Server from Console - weblogicexpert
Deployment process
Deployments - weblogicexpert
Security concepts
Security Concepts and Hands on - weblogicexpert
Installing Weblogic 12.1.2
Weblogic 12c - weblogicexpert
All other basic information are available in the blog
Hope it helps -
Error after starting weblogic standalone server
<Jan 22, 2011 7:32:36 PM AST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<Jan 22, 2011 7:32:36 PM AST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
IntegratedWebLogicServer startup time: 311391 ms.
IntegratedWebLogicServer started.
<Logger><error> ServletContainerAdapter manager not initialized correctly.
plz help...tnx for the reply...
before it doesnt give this error.
i dont know what causes this and cannot run any application maybe im running it with mulitple different applications at the same time.
but i thinked the server can handle multiple stances..
anyway it works now by opening the administration console and i press the button activate changes .
still giving the error on the log. as you say ignored it ...
tnx -
Built-in way to skip navigation or remember browser page position?
Hello,
I've received a request to modify our portal UI so that users with low resolutions do not have to scroll passed the header navigation on every page load. They would like the user's browser to be brought down to the main content of the page.
Is there a built in way to have the Portal keep track of where the user is working on the page, like there is in ASP.NET? This can be done manually with anchors but I'm looking for something more automatic and maintainable.
Thanks for any help,
Bradthe "Scroll To Window" feature added in 9.2 ( IIRC) may solve this issue
Chris Jolley
Portal Architect -
Skip Navigation applying for all pages when disable styles.
Hi All,
I am using APEX 4.0.
I was working on 508 standards for the application, I am having problem seeing "Skip Navigation" link when disable styles through browser (View-style-no style).
I was using "One Level Tabs" template through out the application, I have placed the following code under BODY section
a href="#startcontent" a href="#startcontent" <img src="" height="1" width="1" border="0" alt="Skip Navigation" />
a name="startcontent" /a
when I disable styles the link supposed to show, but right now its not doing that.
Any suggessions , I was also using Breadcrumb Menu Template.
Thanks in Advance.
Edited by: Suma001 on Jul 2, 2012 10:13 AM
Edited by: Suma001 on Jul 2, 2012 10:14 AM
Edited by: Suma001 on Jul 2, 2012 10:14 AMIt worked with this syntax in addition to existing code.
a href="#startcontent" style="display:none" Skip Navigation /a
But not sure why it worked for other theme.
Thank you for the help.
Edited by: Suma001 on Jul 6, 2012 7:48 AM -
OOTB Left Navigation error in Page Layout SharePoint 2013
I created a SharePoint 2013 master page through Design Manager in Sharepoint 2013 and created a page layout like we do trough sharepoint designer as in sharepoint 2010 steps are below
SharePoint Designer--->Page Layouts---->New Page Layout
now i want to insert left navigation in the page layout ,i tried to insert the following snippet in the page layout
<div data-name="QuickLaunch">
<!--CS: Start Vertical Navigation Snippet-->
<!--SPM:<%@Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint,
Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
<!--SPM:<%@Register Tagprefix="PublishingNavigation" Namespace="Microsoft.SharePoint.Publishing.Navigation"
Assembly="Microsoft.SharePoint.Publishing, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
<div id="sideNavBox" class="ms-dialogHidden ms-forceWrap ms-noList">
<!--MS:<SharePoint:AjaxDelta ID="DeltaPlaceHolderLeftNavBar" BlockElement="true" CssClass="ms-core-navigation"
runat="server">-->
<!--MS:<asp:ContentPlaceHolder ID="PlaceHolderLeftNavBar" runat="server">-->
<!--MS:<asp:ContentPlaceHolder ID="PlaceHolderLeftNavBarTop" runat="server">-->
<!--ME:</asp:ContentPlaceHolder>-->
<!--MS:<asp:ContentPlaceHolder ID="PlaceHolderQuickLaunchTop" runat="server">-->
<!--ME:</asp:ContentPlaceHolder>-->
<!--MS:<asp:ContentPlaceHolder ID="PlaceHolderLeftNavBarDataSource" runat="server">-->
<!--ME:</asp:ContentPlaceHolder>-->
<!--MS:<asp:ContentPlaceHolder ID="PlaceHolderCalendarNavigator" runat="server">-->
<!--ME:</asp:ContentPlaceHolder>-->
<!--MS:<asp:ContentPlaceHolder ID="PlaceHolderLeftActions" runat="server">-->
<!--ME:</asp:ContentPlaceHolder>-->
<!--MS:<SharePoint:SPNavigationManager ID="QuickLaunchNavigationManager"
runat="server" QuickLaunchControlId="v4QuickLaunchMenu" ContainedControl="QuickLaunch" EnableViewState="false">-->
<!--MS:<SharePoint:DelegateControl runat="server" ControlId="QuickLaunchDataSource">-->
<!--MS:<Template_Controls>-->
<!--MS:<PublishingNavigation:PortalSiteMapDataSource
runat="server" ID="SiteMapDS" SiteMapProvider="CurrentNavigation" EnableViewState="false" StartFromCurrentNode="true" ShowStartingNode="false" TrimNonCurrentTypes="Heading">-->
<!--ME:</PublishingNavigation:PortalSiteMapDataSource>-->
<!--ME:</Template_Controls>-->
<!--ME:</SharePoint:DelegateControl>-->
<!--MS:<SharePoint:AspMenu ID="V4QuickLaunchMenu" runat="server"
EnableViewState="false" DataSourceId="QuickLaunchSiteMap" UseSimpleRendering="true" Orientation="Vertical" StaticDisplayLevels="3" AdjustForShowStartingNode="true" MaximumDynamicDisplayLevels="0"
SkipLinkText="">-->
<!--ME:</SharePoint:AspMenu>-->
<!--ME:</SharePoint:SPNavigationManager>-->
<!--MS:<SharePoint:SPNavigationManager ID="TreeViewNavigationManagerV4" runat="server"
ContainedControl="TreeView" CssClass="ms-tv-box">-->
<!--MS:<SharePoint:SPLinkButton runat="server" NavigateUrl="~site/{0}/viewlsts.aspx"
ID="idNavLinkSiteHierarchyV4" Text="<%$Resources:wss,treeview_header%>" accesskey="<%$Resources:wss,quiklnch_allcontent_AK%>" CssClass="ms-tv-header">-->
<!--ME:</SharePoint:SPLinkButton>-->
<!--MS:<SharePoint:DelegateControl runat="server" ControlId="TreeViewAndDataSource">-->
<!--MS:<Template_Controls>-->
<!--MS:<SharePoint:SPHierarchyDataSourceControl
runat="server" ID="TreeViewDataSourceV4" RootContextObject="Web" IncludeDiscussionFolders="true">-->
<!--ME:</SharePoint:SPHierarchyDataSourceControl>-->
<!--MS:<SharePoint:SPRememberScroll runat="server"
ID="TreeViewRememberScrollV4" onscroll="javascript:_spRecordScrollPositions(this);" style="overflow: auto;">-->
<!--MS:<SharePoint:SPTreeView
ID="WebTreeViewV4" runat="server" ShowLines="false" DataSourceId="TreeViewDataSourceV4" ExpandDepth="0" SelectedNodeStyle-CssClass="ms-tv-selected" NodeStyle-CssClass="ms-tv-item" SkipLinkText=""
NodeIndent="12" ExpandImageUrl="/{0}/images/tvclosed.png" ExpandImageUrlRtl="/{0}/images/tvclosedrtl.png" CollapseImageUrl="/{0}/images/tvopen.png" CollapseImageUrlRtl="/{0}/images/tvopenrtl.png" NoExpandImageUrl="/{0}/images/tvblank.gif">-->
<!--ME:</SharePoint:SPTreeView>-->
<!--ME:</SharePoint:SPRememberScroll>-->
<!--ME:</Template_Controls>-->
<!--ME:</SharePoint:DelegateControl>-->
<!--ME:</SharePoint:SPNavigationManager>-->
<!--MS:<asp:ContentPlaceHolder ID="PlaceHolderQuickLaunchBottom" runat="server">-->
<hr />
<!--MS:<SharePoint:ClusteredSPLinkButton ID="idNavLinkViewAllV4"
runat="server" Permissions="ViewFormPages" NavigateUrl="~site/{0}/viewlsts.aspx" Text="<%$Resources:wss,quiklnch_allcontent_short%>" accesskey="<%$Resources:wss,quiklnch_allcontent_AK%>"
CssClass="ms-core-listMenu-item">-->
<!--ME:</SharePoint:ClusteredSPLinkButton>-->
<!--ME:</asp:ContentPlaceHolder>-->
<!--ME:</asp:ContentPlaceHolder>-->
<!--ME:</SharePoint:AjaxDelta>-->
</div>
<!--CE: End Vertical Navigation Snippet-->
</div>
but i get the following error when i create page through this page layout
"Content Place holders are only allowed in master page"
Can anyone tell me how do i insert left navigation in page layout which is created through sharepoint designer (.aspx file) but master page is created through design managerHi ,
As the error says, you need to add Content Place holders to Mater Page not the Page Layout.
For inserting left navigation, you can add Vertical Navigation SharePoint component to the master page using Snippets manager:
1.
Open the site then click design manager link from right top corner "Settings".
2.
Click “Edit Master Pages” link.
3.Click your custom mater page. It will open preview page.
4.
Once open the preview page then click Snippets menu from top right side. It will open “Snippet Gallery” in new tab page.
5.
Click the Vertical Navigation menu item in “DESIGN “tab.
6.
In this page we can easy to configure component properties.
After customization must click the update button then only the changes are reflected in the component snippet.
7.
Once click the update button the HTML code automatically generated in the “HTML snippet” box and click “Copy to Clipboard” button.
8.
Open the mapped network drive then open the Mater Page HTML file and paste HTML snippet where you want the navigation to show.
Reference:
http://www.sharepointpals.com/post/Add-snippets-in-Page-layout-using-design-manager
Best Regards,
Eric
Eric Tao
TechNet Community Support -
Frequently when selecting a download directory/filename in the "save to" dialog the entire dialog is overwritten with the active page content. It appears the dialog has closed, but if you tab through the dialog the active field/control is written but the rest of the dialog remains hidden/overwritten. This has also happened with the "open file" dialog. The the drop down menus on the menu bar are occasionally being overwritten after being activated/pulled down. I have not been able to determine a common/specific event causing this problem.
I seem to have fixed it by putting <div class="clearfloat"></div> after the navigation bar?
-
Error: Invalid element 'servlet' in content of 'web-app'
Hi,
I m working on a project that includes JSPs, whenever I wanna add JSP to my project it shows following compilation error:
Invalid element 'servlet' in content of 'web-app', expected elements '[error-page, taglib, resource-env-ref, resource-ref, security-constraint, login-config, security-role, env-entry, ejb-ref, ejb-local-ref]'
I have thoroughly checked the web.xml. It is perfectly alright. It is as follows:
<?xml version = '1.0' encoding = 'windows-1252'?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<description>Empty web.xml file for Web Application</description>
<session-config>
<session-timeout>30</session-timeout>
</session-config>
<mime-mapping>
<extension>html</extension>
<mime-type>text/html</mime-type>
</mime-mapping>
<mime-mapping>
<extension>txt</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
<servlet>
<servlet-name>myServlet</servlet-name>
<servlet-class>com.project.MainServlet</servlet-class>
<init-param>
Long postings are being truncated to ~1 kB at this time.The Complete web.xml is as follows:
<?xml version = '1.0' encoding = 'windows-1252'?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<description>Empty web.xml file for Web Application</description>
<session-config>
<session-timeout>30</session-timeout>
</session-config>
<mime-mapping>
<extension>html</extension>
<mime-type>text/html</mime-type>
</mime-mapping>
<mime-mapping>
<extension>txt</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
<servlet>
<servlet-name>montana</servlet-name>
<servlet-class>com.masstech.montana.boundary.uii.MainServlet</servlet-class>
<init-param>
<param-name>db</param-name>
<param-value>MontanaDS</param-value>
</init-param>
<init-param>
<param-name>user</param-name>
<param-value>MS</param-value>
</init-param>
<init-param>
<param-name>password</param-name>
<param-value>MS</param-value>
</init-param>
</servlet>
<servlet>
<servlet-n[i]Long postings are being truncated to ~1 kB at this time. -
Hi,
1. I have some html and asp.net pages which need to show up inside a region of a portal page. I am able to add hyperlinks to these pages but I am not able to figure out how to have the contents of those pages automatically appear in that region.
To put it another way, i want the contents of a site (e.g. http://mysite/default.aspx) to appear in a region without somebody having to click on a hyperlink to navigate there.
2. I want to maintain portal integrity while navigating amongst the pages of that site. So while I see the submit button of my default page, the page that it takes me to should also show up in that region.
I have tried to find something called a "url folder" to accomplish this and I am logged in as orcladmin but I am just not seeing it.
I would greatly appreciate any help.
Thanks
SaiHi Sai!
I guess i have the solution for your problem.If i am not wrong you want your site contents to appear on the page region without having to click any links.
You can create a dynamic page. try creating a frame on it and you can place your link on that frame.Publish this dynamic page as a portlet and place this portlet on your page region .your site contents will automatically appear on the page. If you have any question please write me back
ashwini -
How to include element on page TOC in dynamic converter
Hi,
I am trying to create TOC in dynamic converter, when I open edit template, select element, and properties, check on include in page TOC, Click OK to close properties window, then come back to take look the change, the check is gone. it happens to all the elements. How to include element in page TOC? are there other steps have to be done before elements can be added? Thanks!
T.J.JSP tags don't add html elements. Add the html and body elements as listed:
<?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"/>
<html>
<body>
<af:pageTemplateDef var="attrs">
<af:xmlContent>
<component xmlns="http://xmlns.oracle.com/adf/faces/rich/component">
<display-name>sampletemplate</display-name>
<facet>
<facet-name>content</facet-name>
</facet>
<attribute>
<attribute-name>hideBreadcrumb</attribute-name>
<attribute-class>java.lang.Boolean</attribute-class>
<default-value>#{false}</default-value>
</attribute>
</component>
</af:xmlContent>
<af:resource type="javascript" source="//scripts/code.js"/>
</af:pageTemplateDef>
</body>
</html>
</jsp:root> -
Why does backbean's method be invoked when page navigation to other page
Hi, All
Why does backbean's method getBeans() be invoked
when current page(list.jsp) navigation to other page(edit.jsp)?
//client list.jsp
<h:dataTable id="items" value="#{userDelegate.beans}"
var="user" rowClasses="oddRow, evenRow" headerClass="tableHeader" >
//server backbean
public class CustomDelegate extends BaseDelegate{
public ListDataModel getBeans(){}
when list.jsp first initialize(first load), jsf invoke getBeans(), is right;
but when from list.jsp navigation to edit.jsp, jsf invoke getBeans() too!
what's the matter with it?How are you invoking the navigation? With a simple h:outputLink which links to another page or with an h:commandLink/h:commandButton which naturally first invokes the backingbean?
If you're using h:outputLink, then this behaviour may not occur. You may review/redesign your JSF and bean logic.
If you're using UICommand link/button, then this is usual behaviour. (re)read the JSF lifecycle for an explanation. If you ONLY want to get the navigation case, then you can 1) replace the methodbinding from action or actionListener by just the navigation case string, or 2) add immediate="true" to the UICommand element.
This article might be of interest: http://balusc.xs4all.nl/srv/dev-jep-djl.html -
AP element on centered content div
I'm trying to position an AP element relative to a content
div centered in the browser window but so far nothing has worked,
and I would rather not use relative positioning.
Any help would be greatly appreciated.> didn't cross my mind to use relative positioning for the
wrapper div
> itself
It should have.
This may help you understand positioning a bit -
There are 4 different types of positioning:
Absolute
Relative
Fixed
Static
Here is a brief explanation of each kind of positioning (with
regard to
placement of elements on the page only)....
Position:absolute (or A/P elements)
This does several things -
1. It 'removes' the element from the flow of the code on
the page so that
it can no longer influence the size or position of any other
page element
(except for those contained within it, of course).
2. The absolutely positioned element takes its position from
the position of
its closest PARENT *positioned* element - in the
absence of any explicitly
positioned parent, this will default to the <body> tag,
which is always
positioned
at 0,0 in the browser viewport.
This means that it doesn't matter where in the HTML code the
layer's code
appears (between <body> and </body>), its
location on the screen will not
change (this assumes that you have not positioned the A/P
element within
a table or another A/P element, of course).
Furthermore, the space in
which
this element would have appeared were it not positioned
is not preserved
on the screen. In other words, absolutely positioned elements
don't take
up any space on the page. In fact, they FLOAT over the page.
Position:relative (or R/P elements)
In contrast to absolute positioning, a relatively positioned
page element is
*not* removed from the flow of the code on the page, so
it will use the
spot
where it would have appeared based on its position in
the code as its
zero point reference. If you then supply top, right,
bottom, or left
positions
to the style for this element, those values will be
used as offsets from
its
zero point.
This means that it DOES matter where in the code the
relatively positioned
element appears (, as it will be positioned in that location
(factoring in
the offsets) on the screen (this is true for any placement in
the code).
Furthermore, the space where this element would have
appeared is
preserved in the display, and can therefore affect the
placement of
succeeding elements. This means that the taller a relatively
positioned element is, the more space it forces on the page.
Position:static
As with relative position, static positions also "go with
the flow". An
element with a static position cannot have values for
offsets (top, right,
left, bottom) or if it has them, they will be ignored. Unless
explicitly
positioned, all div elements default to static positioning.
Position:fixed
A page element with this style will not scroll as the page
content scrolls.
Support for this in elements other than page backgrounds is
quirky
There are several other things you need to know:
1. ANY page element can be positioned - paragraphs, tables,
images, lists,
etc.
2. The <div> tag is a BLOCK level tag. This means that
if it is not
positioned or explicitly styled otherwise, a) it will always
begin on a new
line on the screen, and b) it will always force content to a
new line below
it, and c) it will always take up the entire width of its
container (i.e.,
width:100%).
3. The placement of A/P elements *can* affect the BEHAVIOR of
other
elements
on the page. For example, a 'layer' placed over a hyperlink
will mask that
hyperlink.
You can see a good example of the essential difference
between absolute and
relative positioning here -
http://www.great-web-sights.com/g_layersdemo.asp
You can see a good demonstration of why using layers for a
page layout tool
is dangerous here -
http://www.great-web-sights.com/g_layer-overlap.asp
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"JimHawkins" <[email protected]> wrote in
message
news:[email protected]...
> Thank you! That solved my problem.
>
> By the way, when I said I didn't want to use relative
positioning, I was
> referring to the elements I wanted to position within
the wrapper div; it
> didn't cross my mind to use relative positioning for the
wrapper div
> itself. I
> should have been more clear.
> -
NPE error when navigating to next page based on lov selection
hi there am having problem whn navigating to next page based on lov selection,when i select value and click the button to navigate am geting NPE ERROR
{code}
<DCUtil> <findSpelObject> [598] DCUtil, returning:oracle.jbo.uicli.binding.JUFormBinding, for uam_view_pageDefs_SelectOrgPageDef_WEB_INF_Updatetaskflow_definition_xml_Updatetaskflow_definition
<DCIteratorBinding> <releaseDataInternal> [599] Releasing iterator binding:variables
<DCIteratorBinding> <releaseDataInternal> [600] Releasing iterator binding:UpdUamOrganisationLovIterator
<DCIteratorBinding> <releaseDataInternal> [601] Releasing iterator binding:UpdUamOrganisation1Iterator
<DCIteratorBinding> <releaseDataInternal> [602] Releasing iterator binding:UamUserdetailsViewVo1Iterator
<XmlErrorHandler> <handleError> ADF_FACES-60096:Server Exception during PPR, #1
javax.servlet.ServletException: java.lang.NullPointerException
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
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.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
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:139)
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:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused by: javax.faces.el.EvaluationException: java.lang.NullPointerException
at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
... 38 more
Caused by: java.lang.NullPointerException
at showSelectedOrg(OrgDetails.java:2455)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.el.parser.AstValue.invoke(Unknown Source)
at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
... 45 more
THIS IS THE LINE AM GETING THE ERROR
method.getParamsMap().put("rowKey", newVal);
<af:selectOneChoice value="#{bindings.Orgid1.inputValue}"
required="true"
id="soc1" autoSubmit="true" valuePassThru="true"
contentStyle="width:145px">
<f:selectItems value="#{bindings.Organisationid.items}" id="si1"/>
</af:selectOneChoice>
<af:commandButton text="UpdateOrganisation"
id="cb1"
action="#{pageFlowScope.addMember.showSelectedOrg}"/>
public String showSelectedOrg() {
/* if(getorgids() == null ||getorgids().equals(null)){
JSFUtils.addFacesErrorMessage("Select Atleast One Organisation");
JSFUtils.showFacesErrorMessage("Select Atleast One Organisation");
BindingContext lBindingContext = BindingContext.getCurrent();
BindingContainer bindings = lBindingContext.getCurrentBindingsEntry();
// get the list binding for the Organisation lov
JUCtrlListBinding list = (JUCtrlListBinding)bindings.get("Organisationid");
// get the selected index from the list which is stored in the Orgidd1 attribute
AttributeBinding attr = (AttributeBinding)bindings.getControlBinding("Orgid1");
Integer selid = (Integer)attr.getInputValue();
// load the listdata
Object row = list.getDisplayData();
// get the selected row from the list
Row lFromList = (Row)list.getValueFromList(selid);
// from the row we get the PK the orgnasationId
Object lAttribute = lFromList.getAttribute("Organisationid");
Object orgname = lFromList.getAttribute("Organisationname");
Number newVal = (Number)lAttribute;
String neworg = (String)orgname;
_logger.info("Information: selected Organisation = " + newVal);
System.out.println("neworg " + newVal);
System.out.println("testorg " + neworg);
selectedState = neworg;
// get the MethodAction for setCurrentRowWithKeyValue
OperationBinding method = bindings.getOperationBinding("setCurrentRowWithKeyValue");
// set hte needed parameter as the organisation id
method.getParamsMap().put("rowKey", newVal);
method.execute();
// after execution check for errors
List errors = method.getErrors();
Exception ex = (Exception)errors.get(0);
FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_ERROR, ex.getMessage(), "Select Atleast One Organisationtest");
FacesContext.getCurrentInstance().addMessage(null, msg);
// keep on page in case of an error
// navigate to the next page
return "show";
{code}
am in jdeveloper 11.1.1.6.0adf009, please read the post I posted the link to in my previous replay. The old code format tag don't work in the new forum!
Still the same error. The stack trace still points to it, you only need to read it carefulle
javax.faces.el.EvaluationException: java.lang.NullPointerException
at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
Caused by: java.lang.NullPointerException
OrgDetails.showSelectedOrg(OrgDetails.java:2456)
The origin is
method.execute();
and the real reason is
MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51);
What does it tell you?
Timo
Maybe you are looking for
-
Does Multipoint Server 2012 Support Remote Connections?
I'm currently running Server 2008 R2 Foundation, and am considering an upgrade. I originally thought I'd move to 2012 R2 Essentials, but found that it only allows 2 concurrent users, and RDS is not available (what a joke!). Anyway, someone suggeste
-
Needful / Useful Jobs in SAP XI
Hi @ all, when I was looking toward the going live of our XI system, I asked myself. What kind of jobs should be planed in the system - such as archive messages, restart messages and so on... Does anyone has a tip - or what do you use in your system
-
HT201317 why aren't my photos downloading to phot stream?
take photos with my iphoneand im not sure why they arent uploading to my pc. both photo streams are turned on. please help.....
-
Premiere Pro and After Effects running very slowly
Hi all, I realise that this is a commonly asked question and there are many other threads about it, but as each situation seems so unique, I've given up trawling for answers through other threads (as most of the technical jargon is thoroughly beyond
-
Error message storing.dll missing
After having had some problems with an external back up system I get the message ''error message storing.dll missing''. My question is how to solve this problem? Must I download this file and where and how to install? Please? Floris