WebCenter Pagelets issue

127 views
Skip to first unread message

chandra.m...@accenture.com

unread,
Aug 24, 2012, 1:36:39 AM8/24/12
to webcen...@googlegroups.com

Hi,

 

I am trying to create one pagelet and consume the pagelet in WebCenter page(JSF page).

 

I have followed to configure the Pagelet producer and creating the pagelet as given in the link http://docs.oracle.com/cd/E25178_01/webcenter.1111/e10148/jpsdg_pagelet.htm

I have added the pagelet to one WebCenter JSF page in JDeveloper by dragging the pagelet from the application resources.

 

The pagelet source application is J2EE spring MVC application. The application has two views with one simple transaction. The first view(jsp) has one form for capturing user input. When user clicks submit button in the first view then it displays confirmation message with user entered data in the second view(jsp). The source URL is accessible to pagelet producer and not required any authentication. The source application is a legacy application and we can’t modify the source application.

 

Issue: The WebCenter page is loading but the pagelet is not showing on the page.  If I add the pagelet script to the page then the pagelet is showing in Firefox but IE failing to show the page.

 

If I configure the same pagelet in WebCenter spaces page then the pagelet appearing in both IE and Firefox but its failing the form submit.

When I trace the submit request then I observed that the submit request was successful and the page also received the confirmation. Only thing is that the page is unable to refresh the content with confirmation message which is received after the submit.

 

Can someone help me over this.

 

Thanks & Regards,

Chandra



Subject to local law, communications with Accenture and its affiliates including telephone calls and emails (including content), may be monitored by our systems for the purposes of security and the assessment of internal compliance with Accenture policy.
______________________________________________________________________________________

www.accenture.com

Nelson Maia

unread,
Aug 27, 2012, 12:31:34 PM8/27/12
to webcen...@googlegroups.com, <webcenter-emg@googlegroups.com>
Hi Candra,

In your IE, do you have some JavaScript error? You can check in Firefox Script console also, maybe there's some error.

Nelson Maia 
--
You received this message because you are subscribed to the WebCenter Enterprise Methodology Group (http://groups.google.com/group/webcenter-emg). To unsubscribe send email to webcenter-em...@googlegroups.com
 
All content to the WebCenter EMG lies under the Creative Commons Attribution 3.0 Unported License (http://creativecommons.org/licenses/by/3.0/). Any content sourced must be attributed back to the WebCenter EMG with a link to the Google Group (http://groups.google.com/group/webcenter-emg).

chandra.m...@accenture.com

unread,
Sep 3, 2012, 3:59:04 AM9/3/12
to webcen...@googlegroups.com

Hi Nelson Maia,

 

There is no javascript error for the custom portal page but I see couple of javascript errors for the WebCenter spaces page.

 

Following are javascript errors:

 

Error: syntax error

Source File: http://xxx:8888/webcenter/js/pagelet-util.js

Line: 1, Column: 1

Source Code:

var PageletUtils = {};

 

Warning: An unbalanced tree was written using document.write() causing data from the network to be reparsed. For more information https://developer.mozilla.org/en/Optimizing_Your_Pages_for_Speculative_Parsing

Source File: xxxx

Line: 127

 

Error: NS_ERROR_XPC_CANT_MODIFY_PROP_ON_WN: Cannot modify properties of a WrappedNative

Source File: chrome://global/content/bindings/autocomplete.xml

Line: 916

 

Thanks & Regards,

Chandra

Reply all
Reply to author
Forward
0 new messages