Start and ADF Application with a non-View Task
I would like my application to start with a non-View task from within Unbounded Task Flow.
For example, I would like a single "Task Flow Call" in the Unbounded Task Flow which will call the first Bounded Task Flow. The first BTF will expose the main application page. The main application page will contain a dynamic region to handle all other bounded task flows.
Is there a better task type to use than the Task Flow Call?
Does the first task in an unbounded task flow need to be a view task?
If so, is possible to simply use this page to redirect to a non-view task (such as a Task Flow Call)?
Any ideas on the best approach for this? The point is that I do not want to start the application with a view task.
Thanks,
Vince
Hi,
you can't start with a non-view acticvity in an unbounded task flow. In your case I suggest to use a bounded task flow that you enable for browser access (property setting) and have it using JSPX pages. You don't need to start with a view in the unbounded task flow to achieve what you want
Frank
Similar Messages
-
Custom ADF Application with Process Instance Details Task Flow
Hi,
I want to use Process Instance Details Task Flow which is referred to in the doc below.
http://download.oracle.com/docs/cd/E21764_01/user.1111/e15175/bpmug_ws_taskflows.htm#BACDBDJA
But I could not find the task flow in the JAR files nor in the libraries described in the doc (Actually I could not find one of the JARs itself, adflibWorkspaceTaskFlows.jar).
Does anyone know where can I find it and how to use it?
It is more convenient if I can create a custom ADF application which contains information on process instance details using Java API for BPM.
So I'd like to also ask whether such API is available or not.
Regards,
Kenji+1
I also can't find the adflibWorkspaceTaskFlows.jar from the specified directory in the [ BPM Users Guide|http://download.oracle.com/docs/cd/E17904_01/user.1111/e15175/bpmug_ws_taskflows.htm#BACBBDCE] : "$FMW_HOME/AS11gR1SOA/soa/modules/oracle.soa.worklist_11.1.1"
When I tinker the OracleBPMWorkspace.ear from the $SOA_HOME\soa\applications, it has the OracleBPMWorkspace.war that contains the adflibWorkspaceTaskFlows.jar in its WEB-INF\lib directory, but the adflibWorkspaceTaskFlows.jar does not contain the "processApplicationsTaskflow.xml" or the "processInstancesTaskflow.xml". Those task flows were present in the WEB-INF itself of the OracleBPMWorkspace.war itself which is not deployed as an ADF library.
Please advice,
Rommel Pino
http://soadev.blogspot.com -
OAM and ADF Security with WebLogic 11
WebLogic Server 11, ADF 11, OAM 10.1.4.3
I understand (and have successfully implemented) an ADF application with application roles tied to enterprise roles which are mapped to OAM groups (and users). This appears to use the OAMAuthenticator and OAMIdentityAsserter authentication providers from OAM installed into the WLS.
However, there appears to be a gap in the authorization component beyond simple group membership. Does WLS support roles and policies defined in OAM as they might pertain to an ADF application? In the Oracle Access Manager Integration Guide, the entire section on integration with WLS has been removed between versions 10.1.4.0.1 and 10.1.4.3 (along with several other chapters). What is the future direction here? What would be the best means to create roles and policies (including dynamic roles) which extend beyond simple group membership?
Regards,
Tom GreshamFor a start JDeveloper 10.1.3 uses an older version of JSF that WebLogic 11g. You would be best upgrading your app with JDeveloper 11g and then re-deploying.
-
Packaging ADF application with Libraries
Hi Experts,
I was exploring on packaging/ bundling an ADF application with all required libraries, so that this application can be deployed on any J2EE server.
I have gone through another thread on similar topic - Error while deploying ADF application to a standalone weblogic server
Above thread says that installation of run-time libraries are must. But I want to dig little deeper into the reasoning.
What are libraries that can't be added into Application WAR file? (Normally J2EE developed application can be bundled and deployed on any of these servers (Weblogic/ tomcat/websphere)).
Is it possible to bundle ADF application with all libraries and then deploy it to Websphere server directly (without installing 3rd party libraries)?
Any help on this is appreciated.
Thanks,
RandhirTimo / Frank / Shay,
Thanks for your help.
Websphere server is being used by other applications. So the intention of bundling libs was to check ADF application funcationality on Websphere server without installing 3rd party ADF libraries (installation may conflict other libraries and some application can stop working).
I gave a try on bundling all libraries with ADF application, but still I can see some error messages about missing libraries.
What is your suggestion on installing 3rd party libs on Websphere server? Will this impact any deployed application?
Thanks,
Randhir -
Hi,
I have questions about "Accounting-Start" and "Accounting-Stop".
1.If a NAS configured to have a primary and a backup RADIUS server. To start with all the “Accounting-Start” records will be in the primary RADIUS server. Later on the primary server goes down (Primary server won’t tell the NAS?). When sessions stop, the NAS sends the “Accounting-Stop” to the secondary. I understand the “Start-Stop” record with the same “user name” and “session-id” ideally should be recorded in the same server. If this situation happens what should both the NAS and RADIUS server do?
2.A NAS configured to have a primary and backup RADIUS server. To start with all the “Accounting-Start” records will be in the primary RADIUS server. Later on the administrator decided to change the primary server (as there are problems with the previous primary). sessions stop, the NAS sends the “Accounting-Stop” to the new primary. This ends up the “Accounting-Start” and “Accounting-Stop” with the same “user name” and “session Id” in two RADIUS servers.
To summarize, how to avoid the ”start-stop” pair ends up in different servers ? If it does, is it an issue for RADIUS application ?
Cheers,
1.If a NAS configured to have a primary and a backup RADIUS server. To start with all the “Accounting-Start” records will be in the primary RADIUS server. Later on the primary server goes down (Primary server won’t tell the NAS?). When sessions stop, the NAS sends the “Accounting-Stop” to the secondary. I understand the “Start-Stop” record with the same “user name” and “session-id” ideally should be recorded in the same server. If this situation happens what should both the NAS and RADIUS server do?
2.A NAS configured to have a primary and backup RADIUS server. To start with all the “Accounting-Start” records will be in the primary RADIUS server. Later on the administrator decided to change the primary server (as there are problems with the previous primary). sessions stop, the NAS sends the “Accounting-Stop” to the new primary. This ends up the “Accounting-Start” and “Accounting-Stop” with the same “user name” and “session Id” in two RADIUS servers.
To summarize, how to avoid the ”start-stop” pair ends up in different servers ? If it does, is it an issue for RADIUS application ?
Cheers,vignesh and BalusC,
following is the code in front controller's doFilter method. is this not thread safe?
HttpServletRequest req = (HttpServletRequest) request;
HttpServletResponse res = (HttpServletResponse) response;
HttpSession session = req.getSession();
somepackage.User user;
if(session.getAttribute("user") == null){
user = new somepackage.User();
session.setAttribute("user", user);
}else{
user = (somepackage.User) session.getAttribute("user");
}user object maintains all information about a user. if it is in session scope, everything should work fine.
another observation is after some time of usage, both people in different systems are getting same session.getId()
in my logout page i am using
session.invalidate();
thanks,
moses -
Oracle ADF application with Teradata as Database
JDeveloper PS5.
Is it possible to integrate Oracle ADF application with Teradata as Database?
If yes, can you please provide some information with respect to the same?
Thanks,
NavaneethDoes teradata have a JDBC driver ? and can it understand SQL92 falvor SQL ?
If yes, then maybe you can do ADF on it.
Take a look at this :
http://www.oracle.com/technetwork/developer-tools/jdev/multidatabaseapp-085183.html
A bunch of ADF features will not be available, primary key generation will be a bit sketchy(all keys for all tables will come from a single sequence of numbers) and you'll have to implement some stuff like the persistence collection manager.
The one thing that doc does not mention is that you also have to make sure your adf-config.xml is set with the correct 'jbo.SQLBuilder' property (SQL92) in the <amconfig-overrrides> section.
Happy hacking ! -
When using my cRIO 9024 on the field, I prefer to be able to start and stop acquisition with push of a physical button on cRIO.
I mean I don't want it to be "as start-up," I don't want cRIO to start acquisition as soon as the power is supplied.
Is that possible?
Solved!
Go to Solution.Hi Cashany,
you surely can read that switch status. But there are easier (but more expensive) ways to switch a button. Fiddling with a pen or small screwdriver to switch USER1 isn't what I call "user friendly"...
- You have atleast 2 voltage inputs on your module available. Use a switch to supply voltage to those inputs. Use a "real" button!
- You have a serial port available. You could set some pins to GND or voltage and check their status inside cRIO/RT target...
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome -
Integrate Workday and ServiceNow applications with SharePoint 2013 online
Hello, we have to integrate Workday and ServiceNow applications with SharePoint 2013 online and need to display data from these applications
to SharePoint 2013 intranet site.
Any information about the integration of Workday and ServiceNow applications with SharePoint 2013 would be greatly appreciated. Thanks!
Regards,
ShailendraHi Shailendra,
I searched a lot, there seems very few information from internet and internal about this topic, I'm not familiar with Workday and ServiceNow applicaitons, I would recommend you may post in the following community sites(which should be offcial
sites) for a better assistance regarding the integration questions between Workday and ServiceNow and SharePoint Online(O365).
https://community.servicenow.com/thread/174050
https://community.workday.com/
http://community.office365.com/en-us/f/154.aspx
Thanks
Daniel Yang
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
attempting to restore ipad, recovery starts and then quits with msg saying ipad cannot be restored, error 3014
Try the troubleshooting on this page : Error 3194, Error 17, or "This device isn't eligible for the requested build".
-
MDSIOException (MDS-00569) when starting updated ADF application
Hello everybody
I am not new to this forum but this is my first post here.
Some context at first. I am developing a ADF application that is used as a inbox for requests. Requests are generated by scanning system and my application shows the requests ordered in inboxes per team or user. Every request has its own documents and history information.
The application is structured into several components. Each componenent has its own application in JDev (its workspace) and is deployed as ADF libraries. A main application is used to reference all libraries and is deployed as EAR file to Weblogic.
User customizations are enabled across sessions using MDS.
I face the following problem. Everytime I changed a component and try to start the newly deployed application I get an exception from MDS (see the stack trace above). The shwon file name is the resource that has been updated in the ADF library. As far as I read in other forum posts, this error can occur randomly. But in my case it's not randomly, it's everytime I start my updated application. The solution is by now to restart Weblogic and redeploy the application. But this can not be the goal.
I wonder if the problem is related to my project structure (multiple components with its own ADF libraries). The MDS configuration is only in the main application I use to deploy the application.
Thank you very much for any information in advance.
JDeveloper: 11.1.1.5
Caused By: oracle.mds.persistence.MDSIOException: MDS-00569: Dokument /ePK_DynamicTabsShell.jspx konnte nicht von "jar:file:C:/Oracle/Middleware/jdeveloper/system11.1.1.5.37.60.13/DefaultDomain/servers/DefaultServer/tmp/_WL_user/ePK_Application_V2.0/i3ngeg/war/WEB-INF/lib/adflibCommonUI.jar!/ePK_DynamicTabsShell.jspx" gelesen werden
at oracle.mds.internal.persistence.PersistenceUtils.readURL(PersistenceUtils.java:804)
at oracle.mds.internal.persistence.file.ClassPathMetadataStoreConnection.readDocument(ClassPathMetadataStoreConnection.java:397)
at oracle.mds.persistence.PDocument.readInternal(PDocument.java:485)
at oracle.mds.persistence.PDocument.read(PDocument.java:318)
at oracle.mds.internal.persistence.file.URLPDocument.setIsXmlAndDocElem(URLPDocument.java:242)
at oracle.mds.internal.persistence.file.URLPDocument.isXML(URLPDocument.java:219)
at oracle.mds.internal.persistence.DelegatingPDocument.isXML(DelegatingPDocument.java:189)
at oracle.mds.core.MetadataObject.getBaseMO(MetadataObject.java:1285)
at oracle.mds.core.MDSSession.getBaseMO(MDSSession.java:3040)
at oracle.mds.core.MDSSession.getMetadataObject(MDSSession.java:1211)
at oracle.mds.core.MDSSession.getMetadataObject(MDSSession.java:1157)
at oracle.mds.xml.MergedXML.getXMLInputStream(MergedXML.java:267)
at oracle.mds.jsp.JSPUtil.getInputStream(JSPUtil.java:475)
at oracle.mds.jsp.MDSJSPProviderHelper.fromStream(MDSJSPProviderHelper.java:90)
at oracle.adf.library.webapp.ADFJspResourceProvider.fromStream(ADFJspResourceProvider.java:333)
at oracle.jsp.parse.XMLUtil.getFromStream(XMLUtil.java:307)
at oracle.jsp.runtimev2.JspPageCompiler.compileBothModes(JspPageCompiler.java:480)
at oracle.jsp.runtimev2.JspPageCompiler.parseAndGetTreeNode(JspPageCompiler.java:457)
at oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:624)
at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:645)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:385)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:802)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:726)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
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.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
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:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:524)
at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:163)
at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:184)
at oracle.adfinternal.view.faces.taglib.region.IncludeTag.__include(IncludeTag.java:442)
at oracle.adfinternal.view.faces.taglib.region.IncludeTag.doEndTag(IncludeTag.java:232)
at oracle.adfinternal.view.faces.taglib.region.PageTemplateTag.doEndTag(PageTemplateTag.java:162)
at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:62)
at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
at oracle.jsp.runtime.tree.OracleJspClassicTagNode.evalBody(OracleJspClassicTagNode.java:87)
at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:58)
at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
at oracle.jsp.runtime.tree.OracleJspNode.execute(OracleJspNode.java:89)
at oracle.jsp.runtimev2.ShortCutServlet._jspService(ShortCutServlet.java:89)
at oracle.jsp.runtime.OracleJspBase.service(OracleJspBase.java:29)
at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:665)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:385)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:802)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:726)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
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.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:524)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at oracle.adfinternal.view.faces.config.rich.RecordRequestAttributesDuringDispatch.dispatch(RecordRequestAttributesDuringDispatch.java:44)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:267)
at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:469)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:140)
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:800)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:294)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:214)
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.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:111)
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:94)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:161)
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:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)Seems like you're missing a class when you deploy:
java.lang.ClassNotFoundException: net.tqana.organization.OrganizationfacadeJohn -
ADF table and ADF form on the same view object
Hi,
As per the ADF demos available on ADF site, I created a jsf page with 2 panels. One panel is an ADF table based on a view object. And the other panel is and ADF form based on the same view object. My requirement is that as I scroll through the records in the ADF table, the ADF Form should dynamically display the details of the record in the ADF table. My understanding is that this should be automatic. However, its not working as expected. What have I missed?Hi,
Apply PPR for form that displays details.
Like :
<af:table id="t3">
</af:table>
<af:panelFormLayout id="pfl2" partialTriggers="t3">
</af:panelFormLayout > -
Error while Portetizing ADF Application with security feature.
Dear All,
I am able to portletise a normal ADF application and is running fine on Portal. But as I add security feature to it I am getting error, For reference i am pasting my web.xml and portlet.xml.
------------------------web.xml-------------------------------------------------------------
<?xml version = '1.0' encoding = 'windows-1252'?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee">
<description>Empty web.xml file for Web Application</description>
<context-param>
<param-name>javax.faces.application.CONFIG_FILES</param-name>
<param-value>/WEB-INF/faces-config.xml,/WEB-INF/portlet.xml</param-value>
</context-param>
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>server</param-value>
</context-param>
<context-param>
<param-name>CpxFileName</param-name>
<param-value>view.DataBindings</param-value>
</context-param>
<filter>
<filter-name>adfFaces</filter-name>
<filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
</filter>
<filter>
<filter-name>adfBindings</filter-name>
<filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>adfFaces</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>FORWARD</dispatcher>
<dispatcher>REQUEST</dispatcher>
</filter-mapping>
<filter-mapping>
<filter-name>adfBindings</filter-name>
<url-pattern>*.jsp</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>adfBindings</filter-name>
<url-pattern>*.jspx</url-pattern>
</filter-mapping>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>adfAuthentication</servlet-name>
<servlet-class>oracle.adf.share.security.authentication.AuthenticationServlet</servlet-class>
<init-param>
<param-name>success_url</param-name>
<param-value>faces/Welcome.jspx</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>resources</servlet-name>
<servlet-class>oracle.adf.view.faces.webapp.ResourceServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>adfAuthentication</servlet-name>
<url-pattern>/adfAuthentication/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>resources</servlet-name>
<url-pattern>/adf/*</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>35</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>
<security-constraint>
<web-resource-collection>
<web-resource-name>adfAuthentication</web-resource-name>
<url-pattern>/adfAuthentication</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>Guest</role-name>
<role-name>oc4j-administrators</role-name>
<role-name>users</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>FORM</auth-method>
<form-login-config>
<form-login-page>Login.jspx</form-login-page>
<form-error-page>Login.jspx</form-error-page>
</form-login-config>
</login-config>
<security-role>
<role-name>Guest</role-name>
</security-role>
<security-role>
<role-name>oc4j-administrators</role-name>
</security-role>
<security-role>
<role-name>users</role-name>
</security-role>
</web-app>
---------------------------------portlet.xml----------------------------------------------
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<portlet-app version="1.0" xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
<portlet>
<portlet-name>UC68PortletKunal</portlet-name>
<display-name>UC68PortletKunal</display-name>
<portlet-class>oracle.portlet.server.bridges.jsf.FacesPortlet</portlet-class>
<init-param>
<name>DefaultPage.view</name>
<value>/SearchInput.jspx</value>
</init-param>
<init-param>
<name>BridgeLifecycleListeners</name>
<value>
oracle.portlet.server.bridges.jsf.adf.ADFFacesBridgeLifecycleListener,oracle.portlet.server.bridges.jsf.adf.BindingFacesBridgeLifecycleListener
</value>
</init-param>
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>VIEW</portlet-mode>
</supports>
<supported-locale>en</supported-locale>
<portlet-info>
<title>UC68PortletKunal</title>
<short-title>UC68PortletKunal</short-title>
</portlet-info>
</portlet>
</portlet-app>
Your reply is most welcomed. I am working for 2 days, if you know just give few minutes to address this issue.Hi,
not sure what the error message is that you get. However, if you access an application through prortal then the security needs to be enforced by the portal, not the application itself because the portal will modify the request headers.
Did you ask the question on the WebCenter or Portal forum here on OTN
WebCenter Portal
Frank -
That worked, however I now get two error messages when I install I Tunes:
o Apple Mobile Device failed to start.
o Apple Application Support not found.
This were of course deleted in the recommended re-install procedure to resolve the dll file, but repeated uninstalls and installs simply bring up these two error messages with a recommendation to install I Tune again. Installing the new I Tunes version seems to be problematic per the discussion groups and has no simple solution. SHould not the Genius bar be able to resolve this at an Apple Store? Want to buy a new I Phone 5S, but this problem effectively stymies this.See Troubleshooting issues with iTunes for Windows updates.
tt2 -
Problem DB Trigger and ADF Application for update a field.
I again,
I have a Data Base table as following :
--Solicitudes*
id number not null,
extern_code integer,
delivery_date timestamp( 6 ),
... and more fields
And a Trigger as following :
create or replace trigger update_delivery_date
before update of on Solicitudes
for each row
begin
if ( :new.extern_code = 9 ) then -- I need update the "delivery_date" to the current date and timestamp
select systimestamp into :new.delivery_date from dual;
end if;
end;
The trigger works fine in the DB, but when I update the 'Solicitudes' data base table through the ADF Application, the 'delivery_date' field is updated to different current systimestamp , for example suppose right now is : 19-JUN-*2012** 10.45.30.773000000 PM -04:00 , it field should be update to this date, but it is not update to that date, it is update to : 10-DEC-*1989* 10.45.30.773000000 PM -04:00.
Why is this ?
I put in the SQL Developer's query editor : select systimestamp from dual; and it show me the correct date and time.
That problem occurs only when I update the table through my ADF Application.Marco,
I don't see any issue with ADF in this. Just tried with a dummy table created with similar structure and tried updating it (have a similar trigger as well). It updated with proper timestamp (tried from SQL Developer, AppModule Tester and in jspx page - all same result).
Can you check the system date on the machine where your DB is hosted. I guess you are using different database for testing the query and the app is using a different db.
If not, try creating a simple testcase (as I mentioned in the first line) and see if you are able to reproduce the issue.
-Arun
P.S : I tried this in 11.2.0.1 DB & JDev 11.1.2.0.0 -
Not able to portletise an ADF application with Security Feature.
Dear All,
I am able to portletise a normal ADF application and is running fine on Portal. But as I add security feature to it I am not able to portletise it, For reference i am pasting my web.xml and portlet.xml. Do i need to include any filter or listener?
------------------------web.xml-------------------------------------------------------------
<?xml version = '1.0' encoding = 'windows-1252'?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee">
<description>Empty web.xml file for Web Application</description>
<context-param>
<param-name>javax.faces.application.CONFIG_FILES</param-name>
<param-value>/WEB-INF/faces-config.xml,/WEB-INF/portlet.xml</param-value>
</context-param>
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>server</param-value>
</context-param>
<context-param>
<param-name>CpxFileName</param-name>
<param-value>view.DataBindings</param-value>
</context-param>
<filter>
<filter-name>adfFaces</filter-name>
<filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
</filter>
<filter>
<filter-name>adfBindings</filter-name>
<filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>adfFaces</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>FORWARD</dispatcher>
<dispatcher>REQUEST</dispatcher>
</filter-mapping>
<filter-mapping>
<filter-name>adfBindings</filter-name>
<url-pattern>*.jsp</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>adfBindings</filter-name>
<url-pattern>*.jspx</url-pattern>
</filter-mapping>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>adfAuthentication</servlet-name>
<servlet-class>oracle.adf.share.security.authentication.AuthenticationServlet</servlet-class>
<init-param>
<param-name>success_url</param-name>
<param-value>faces/Welcome.jspx</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>resources</servlet-name>
<servlet-class>oracle.adf.view.faces.webapp.ResourceServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>adfAuthentication</servlet-name>
<url-pattern>/adfAuthentication/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>resources</servlet-name>
<url-pattern>/adf/*</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>35</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>
<security-constraint>
<web-resource-collection>
<web-resource-name>adfAuthentication</web-resource-name>
<url-pattern>/adfAuthentication</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>Guest</role-name>
<role-name>oc4j-administrators</role-name>
<role-name>users</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>FORM</auth-method>
<form-login-config>
<form-login-page>Login.jspx</form-login-page>
<form-error-page>Login.jspx</form-error-page>
</form-login-config>
</login-config>
<security-role>
<role-name>Guest</role-name>
</security-role>
<security-role>
<role-name>oc4j-administrators</role-name>
</security-role>
<security-role>
<role-name>users</role-name>
</security-role>
</web-app>
---------------------------------portlet.xml----------------------------------------------
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<portlet-app version="1.0" xsi:schemaLocation="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd">
<portlet>
<portlet-name>UC68PortletKunal</portlet-name>
<display-name>UC68PortletKunal</display-name>
<portlet-class>oracle.portlet.server.bridges.jsf.FacesPortlet</portlet-class>
<init-param>
<name>DefaultPage.view</name>
<value>/SearchInput.jspx</value>
</init-param>
<init-param>
<name>BridgeLifecycleListeners</name>
<value>
oracle.portlet.server.bridges.jsf.adf.ADFFacesBridgeLifecycleListener,oracle.portlet.server.bridges.jsf.adf.BindingFacesBridgeLifecycleListener
</value>
</init-param>
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>VIEW</portlet-mode>
</supports>
<supported-locale>en</supported-locale>
<portlet-info>
<title>UC68PortletKunal</title>
<short-title>UC68PortletKunal</short-title>
</portlet-info>
</portlet>
</portlet-app>
Your reply is most welcomed. I am working for 2 days, if you know just give few minutes to address this issue.hi thanks for reply,
I am using 10.1.3.3 version
Steps followed are mentioned in one of the PDF
Oracle WebCenter Framework Tutorial, 10g (10.1.3.2.0)
B31072-02
Here I am tring to secure some page of application as per user role usinf ADF secuiry feature.
The application runs fine in "stand alone" mode.
While tring portletise i am getting portlet unavilable. So i think i need to modify my portlet.xml OR web.xml
From Welcome Page:
I have login and logout link displayed to user not loggged in and logged in user respectively I have done using golink propery.
Also i have some command button as:
On clicking: Go To MyWeather Rendered to #{backing_Welcome.authenticated &&
bindings.permissionInfo['MyWeatherPageDef'].allowsView}
On clicking: Go To MyContent Rendered to #{backing_Welcome.authenticated &&
bindings.permissionInfo['MyContentPageDef'].allowsView}
Maybe you are looking for
-
I've tried to do this several times on several days, on an HP a1620n running Windows XP Media Edition, Version 5.1. Nothing happens after I get the Download Complete message. Thanks.
-
Issue streaming music to AirPort Express
Hey guys. I seem to be having difficulty with the above. I've had my device for around a year and have never had any trouble with it. Over the past week I've been trying to connect iTunes to the remote speakers and it simply freezes at "Connecting to
-
Hai All, My Problem is : Creating Pricing conditions using BDC. My Questation is : I have a doubt on scale screens, I am using 031 Screen for Value scale and 0303 Screen for quanty scale. <b>Why and When we are usin
-
LDAP failover - what happens when the primary LDAP server returns...?
Hi, Got a question regarding LDAP failover... I`m running IMS5.2hf2.09 and when our corporate LDAP server has a hiccup the IMS box succesfully fails over to the next one according to the 'local.ugldaphost' configutil entry and the following entry is
-
DNG Converter vs. Using ACR
If I am going to use the chart feature in DNG PE to make my own profile, is it better to convert my Raw Canon file to the DNG format through the DNG converter or through adobe camera raw using the save feature. What changes made in ACR will be "store