JPDK June - Portlet customization sample question
Hi,
I was wondering whether someone could help me out with the customization sample provided in the JPDK distribution of June.
Since BaseCustomization usage is deprecated I'm trying to use subclass the 'NameValuePersonalizationObject' class. However until now I've not been able to change title nor (default) message of the portlet. What am I doing wrong?
Thx.
Jan,
I need a few more details here! Do you mean that you have created your own portlet and are having trouble implementing customization?
Please repost with a few more details, include your usage of NameValuePersonalizationObject and the context in which you are using it.
Regards,
Gareth
Similar Messages
-
The question about portlet customization and synchronization
I have a question about portlet customization and synchronization.
When I call
NameValuePersonalizationObject data = (NameValuePersonalizationObject) PortletRendererUtil.getEditData(portletRenderRequest);
portletRenderRequest.setPortletTitle(str);
portletRenderRequest.putString(aKey, aValue);
PortletRendererUtil.submitEditData(portletRenderRequest, data);
Should I make any synchronization myself (use "synchronized" blocks or something else) or this procedure is made thread-safe on the level of the Portal API?HI Dimitry,
I dont think you have to synchronize the block. i guess the code is synchronized internally.
regards,
Harsha -
Migration of ADF 10g application to ADF 11g(Portlet Customization Error)
Hi,
Currently we are doing a migration of ADF/Webcenter 10g appication to 11g(11.1.1.6) and in the current 10g application portlet is used which contains the file based content and can be customized using a specific role say(admin).
We have almost done the migration using the Jdeveloper 11.1.1.6 and most of the pages along with the portlet content are coming similar to the 10g look and feel but whenever we want to do portlet customization using the specific role we are getting the below exception. The content is file based system and the details of the versions are as below
10g Environment:
OC4J version. Oracle Containers for J2EE 10g (10.1.3.5.0)
JDK version- java version "1.5.0_06"
Webcenter and it’s version : Webcenter 10g(10.1.3.5.0)
ADF version. Oracle ADF 10g
Jdeveloper 10.1.3.3.0
11g Environment: Currently I am using Jdeveloper 11.1.1.6 with Integrated weblogic server
webcenter extension used: oracle.webcenter.framework_bundle/oracle.webcenter.customization_bundle
Error which I am getting during portlet customization:
[2013-02-20T14:47:42.162+05:30] [DefaultServer] [ERROR] [] [oracle.portlet.binding] [tid: [ACTIVE].ExecuteThread: '14' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: portaladmin] [ecid: 39e706a46ad531be:31f43ddc:13cf6ad5231:-8000-0000000000000386,0] [APP:TEST_DEV#V2.0] An error has occured for Portlet Binding portlet3.[[
java.lang.NullPointerException
at oracle.adfinternal.model.portlet.binding.PortletModelImpl.getRequireIframe(PortletModelImpl.java:907)
at oracle.adfinternal.model.portlet.binding.ActivityPortletModelWrapper.getRequireIframe(ActivityPortletModelWrapper.java:71)
at oracle.adf.model.portlet.binding.PortletBinding.prepareRenderPhase(PortletBinding.java:455)
at oracle.adf.model.portlet.binding.PortletBinding._refresh(PortletBinding.java:377)
at oracle.adf.model.portlet.binding.PortletBinding.refresh(PortletBinding.java:969)
at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3273)
at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2876)
at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender(PageLifecycleImpl.java:561)
at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareRender(FacesPageLifecycle.java:82)
at oracle.adf.controller.v2.lifecycle.Lifecycle$9.execute(Lifecycle.java:224)
at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$1000(ADFPhaseListener.java:23)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$5.before(ADFPhaseListener.java:402)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:64)
at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:44)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:352)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:222)
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.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.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:32)
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.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.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
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.webcenter.lifecycle.filter.LifecycleLockFilter.doFilter(LifecycleLockFilter.java:151)
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)
Any hellp or suggestion will be helpful for me to resolve this issue.
Thanks in Advance
ChetanHi,
given its a WebCenter question, you want to post it to the Webcenter forum: WebCenter Portal
Frank -
SAP ABAP Certification Sample Questions
Hi
Can anyone help me in SAP ABAP certification sample questions?
Before giving the exam i wanted to just check mu knowlegde..
Do not ask for sample question on SDN.
Read and respect forum rules.
Edited by: Zubin Shah on Jun 1, 2010 6:08 PMHi
If can answer most of these then you will have no problem with the cert exam: Security interview questions - some fun to tickle your brain. -
Sample questions on SAP NetWeaver-Web Application Develpment certification
hello frnds,
can i find any sample questions on
<i><b>SAP NetWeaver-Web Application Develpment - JAVA</b></i> certification?
what are the books/material should i follow for the same ?
Thank you,
Regards,
Shobhanhi Sobhan
Please try on
braincert.com
Farook -
Java Programming Competition Sample Questions
Hi,
I am interested in participating the Java Programming Competition in my University. For pratice can you point me to some website with sample questions or any question u have in mind.
Thanks
SatishI was thinking of putting up on-forum competitions, winner gets dukes etc.
Someone find an empty forum and we can get on it. -
SCSA 310-014 free sample questions
Can anybody guide me to get SCSA 310-014 free sample questions. Thanks in advance.
Thanks,
Vasanth.The guys over at http://www.unixporting.com/ provide -very- cheap practice exams.
I know: it's not -free-. But their exams are -very- good and actually drive you to learn more than you need to know for the real exam. That way you'll be sure to do well on the test :) -
Plant MAintenance certification sample question
Hi all,
I am due to appear for Plant MAintenance certification thios macrh.It wud be greatful if anyone of u can help with the sample questions .Go through the PM Question & Answer book published by sapcook. It will be of great help to you
Regards,
Ketul -
TCRM10 CRM Fundamentals Certification Sample questions required
Hi Experts,
I am appearing for TCRM10 fundamentals certification.
Please help me with sample certification questions for the same.
Any help would be appreciated n rewarded points.
Please mailto [email protected]
Thanks in advance and best regards,
Vikas
Edited by: Vikas Taneja on Jan 28, 2008 5:54 PMI cannot believe that no one has any sample questions. Please take out little time out of ur schedule and help as the questions would not only help an individual but a team of 20 members.
Many thanks .
Vikas -
Hi Harold and Brian
I would like to know if it is possible to use your samples questions (i.e. http://www.oracle.com/global/us/education/certification/sample_questions/exam_1Z0_046.html) in my next official publications. Would like also to know if we can just write a book about a Oracle certification or shall we also ask Oracle before the book hits the streets?
Who shall I ask before using those questions please? What kind of authorization shall I request?
Thanks.
Regards,
HubHi Aman
Thanks for your question, it is about the Oracle under Linux OCE? I'm working hard to get the chapters written in a new format with Q&A, exercices. Hopefully will be printed next year, after I delivery all the 15 chapters.
unfortunately my co-author was supposed to furnish some chapters dropped the project (besides that he didn't wrote a word for that book) so therefore will the writing / editing take longer time than expected.
I'll keep you informed.
Regards,
Hub -
SCJP 1.5 sample questions
Please let me know, If anyone have SCJP 1.5 sample questions. I already learned to this exam.All though, I need more questions to test SCJP knowledge myself.
This topic was posted in the wrong forum. See
http://forum.java.sun.com/ann.jspa?annID=14 -
Hi All,
I am going for SRM certification in a few days.
Could you please send SRM Certification sample questions?
Please send to [email protected]
Thanks in advance.
Regards,
YoussefHi Atul,
Thanks for sending the docs. Could you send me any sample questions for TSRM10?
Thanks,
Youssef -
SAP Netwevaer - Sample questions
Hello team,
I am planning to take my Netweaver - oracle consultant exam in March.
Can anyone send sample questions to gain my confidence ?
Please send it to [email protected]
Thanks in Advance !
RajIt is against [forum|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] rules to request or provide such information.
Thread is being locked.
-Paul -
SAPCRM 5.0 Certification sample questions
Hi all
Has anyone having sample questions for the "SAP CRM telesales consultant certification"?.I am giving examination on this month end.Please help me by sending some sample questions to my mail.
Mail id :[email protected]
Thanks in Advance
Regards
SurendraI remember that...
it is possible to create a quotation in SAP ECC directly from an Oppotunity as follow-transaction?
regards
Sussie -
SCM MM CERTIFICATE SAMPLE QUESTIONS
Hi friends,
I am planning to take SAP SCM-MM certification exam. Would you please provide me some sample exam question or the link to there?
Thanks in advance !!!
JudyHi Judy,
You can check the following links. May be it will help u.
www.sap-img.com/.../my-sap-mm-certification-experience.htm
www.sap-img.com/mm015.htm
www.sap-basis-abap.com/mm/sap-mm-certification-samples.htm
http://training.saptechies.com/sap-mm-certification-sample-questions-for-materials-management/
Regards
Sunshine
Maybe you are looking for
-
When is Apple going to fix the new OS once and for all?
Since upgrading my iPhone to the new OS, I can no longer: Open internet links contained in emails/messages; set custom ring tones for my contacts (or more accurately, I can set them but the phone will not retain them); get pop-up reminders (even tho
-
I am using XSLT for the first time. I have a relatively easy XML structure based on data coming from the database, I want to transform it into HTML. I am using the latest XALAN in the Websphere Test Environment 4.0. XML: <?xml version="1.0" encoding=
-
It looks Oracle Form/Applet die hard versus J2EE Servlet/JSP/JSF & AJAX
I left the form forum for a while and am busy with transfering our Oracle web forms app to Struts based J2EE application (just because the Oracle EE AS is the moving cause, it's out of my control.). After a year or so on J2EE which I enjoyed the fres
-
Another User Modified the table
Hi, I have a user defined form, which is bound to Master-Data UDO. I have matrices in the form which is bound to its child objects. Following problem happens once in a while: When I press update button, I get the error message 'Another User Modified
-
I keep getting the error below when uploading my muse site to ftp. This recurs overtime I try to upload. This happened after I: - created a new one-page tablet version of my website which includes a menu widget item from Qooqee. - changed all page an