Var JS format within the JS with CF service!
OK - I'll try and explain:I want to use CF (MX6) to format variable inside a function js js:
for example:
< cfoutput >
< script language = "JavaScript" type = "text/javascript" >
function formatSomething() {}
var something = "#DateFormat('02/04/06','dd MMM yyyy') #";
Alert (Something);
}
< /script >
< / cfoutput >
Now it's ok if I hardcode the value of "something". What happens if I want to move 'something'?
< cfoutput >
< script language = "JavaScript" type = "text/javascript" >
function formatSomething (something) {}
Gisèle var = "#DateFormat('"+something+"','dd MMM yyyy') #";
Alert (somethingElse);
}
< /script >
< / cfoutput >
Of course, this does not work! -Do:
var somethingElse = eval ("#DateFormat('"+something+"','dd MMM yyyy') #");
Gisèle var = ' #Evaluate (DateFormat ('"+ something +" "," dd MMM yyyy')) # ";
Gisèle var = eval ("#Evaluate (DateFormat ('" + something + "","dd MMM yyyy')) ' # '");
It's not specifically the dates either - I just want to know if it is possible to do it somehow?
I am currently looking at opening a child window off the screen to do what I want, and pass to the JS function, but it looks like a urrggggghhh how to...
TA for any help...
It is possible. Set your var cf before the body html tag and run your js function in the body onLoad event handler.
Tags: ColdFusion
Similar Questions
-
How to create the new catalog, categories and products within the ACC with the CCI
Hi all
I'm new to atg, I just want to create a new catalog, categories and products within the ACC with a BCC (publishing server) and then I have to browse through my jsp application.for added this requirement what configuration I need to do with VAC. Please help me on this ASAP.
Kind regards
Jyothi.MJThere is nothing you need to do for this.
Go to ACC and create a catalog.In the JSP using droplets CategoryLookUp get the properties of the category and its products of the child to display.
Peace
Shaik -
* Original title: scam or not
I received a call from a woman saying that she was with the ICC with Windows service provider and they received my computer error messages and I wouldn't be able to help me solve it. I asked for a number of 800-373-4609 because he came unknown on my phone.
I wanted to open my computer. I told her I would call her back.
Is it a scam?
(Moved from P & M)
Yes, it's a scam. When someone calls and says they need to talk to you about 'mistakes' in your computer, simply hang up. I just had one of these calls myself about 15 minutes ago.
-
Hello Oracle Community:
I work with an application based on the model of Shell user interface design.
My use case is
#1: start a tab Dynamics from the Navigation pane.
#2: tab loads in the local area. (this works as expected, pictured below)
#3: launch of the additional tabs in the page loading in the step #2. They are triggered by simple links on the .jsff page. (this does not work - please help. This should work? If so, what missing am me?)
Question : Can I launch a new tab from a link component in the local area (page .jsff)?
As you can see I have links on my dashboard and I want that they engage in new tabs when you click. Please test before responding "in theory".
Here's how this link is setup.
Here is my error logs.
[15: 05:23] Application deployed successfully.
[15: 05:23] the constriction of context following URLS have been defined and can be used as a starting point for testing your application:
[15: 05:23] http://192.168.1.154:7001 / MyAST
[15: 05:23] for deployment time: 18 seconds
[15: 05:23]-deployment is complete. ----
Run start time: 18394 ms.
[MyAst12cUpgrade of the application currently running on IntegratedWebLogicServer]
URL - target Http://127.0.0.1:7001 / MyAST/faces/Login
15:05:23.891 [ExecuteThread [ASSET]: '1' for the queue: "(self-adjusting) weblogic.kernel.Default"] c.a.view.utils.MySessionListener DEBUG - # present Session created: xP0oqsMzARHojfj6kJ-MJGW53jzYWYI2swzTPA_zyG6yHi30HJZb! 1821648284! 1439496323891 on Thu Aug 13 15:05:23 CDT 2015
< org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl > < ViewHandlerImpl > < _checkTimestamp > < TIMESTAMP_CHECKING_ENABLED_SHOULDNOT_IN_PRODUCTION >
< org.apache.myfaces.trinidadinternal.skin.SkinStyleSheetParserUtils > < SkinStyleSheetParserUtils > < _createStyleNode > < ALIAS_DEFINITION_NOT_STARTING_WITH_DOT >
< 13 August 2015 3:05:28 PM CDT > < WARNING > < Socket > < BEA-000449 > < close the socket, as no data read on 127.0.0.1:57,456 during the inactive configured timeout of 5 seconds. >
< 13 August 2015 3:05:28 PM CDT > < WARNING > < Socket > < BEA-000449 > < close the socket, as no data read on 127.0.0.1:57,460 during the inactive configured timeout of 5 seconds. >
< 13 August 2015 3:05:28 PM CDT > < WARNING > < Socket > < BEA-000449 > < close the socket, as no data read on 127.0.0.1:57,459 during the inactive configured timeout of 5 seconds. >
< 13 August 2015 3:05:28 PM CDT > < WARNING > < Socket > < BEA-000449 > < close the socket, as no data read on 127.0.0.1:57,457 during the inactive configured timeout of 5 seconds. >
< 13 August 2015 3:05:28 PM CDT > < WARNING > < Socket > < BEA-000449 > < close the socket, as no data read on 127.0.0.1:57,458 during the inactive configured timeout of 5 seconds. >
< oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl > < DiagnosticsDataExtractorImpl > < createADRIncident > < incident created 317 to key problem "DFW-99998 [java.lang.ClassNotFoundException] [oracle.jbo.pool.ResourcePoolMonitor.setLoader] [myAst12cUpgrade]" >
e-mail matched expression
15:06:17.305 [ExecuteThread [ASSET]: '5' for queue: "(self-adjusting) weblogic.kernel.Default"] c.a.view.beans.LoginBean DEBUG [email protected]
CustomAuthenticatorProviderV2.getConfiguration
CustomAuthenticatorProviderV2.getConfiguration options {}
Username CustomAuthenticatorHelper.login [email protected] password *
AstCustomSecurityProviderPlugin within the connection method VER #2, user name:[email protected] | newPwdEncryptFlg #N
loginSucceeded #true
CustomAuthenticatorHelper.lookupUserGroups for the [email protected] user
AstCustomSecurityProviderPlugin getUserRoles for user [email protected]
< 13 August 2015 3:06:23 PM CDT > < WARNING > < Socket > < BEA-000449 > < close the socket, as no data read on 127.0.0.1:57,535 during the inactive configured timeout of 5 seconds. >
< 13 August 2015 3:06:23 PM CDT > < WARNING > < Socket > < BEA-000449 > < close the socket, as no data read on 127.0.0.1:57,533 during the inactive configured timeout of 5 seconds. >
< 13 August 2015 3:06:23 PM CDT > < WARNING > < Socket > < BEA-000449 > < close the socket, as no data read on 127.0.0.1:57,531 during the inactive configured timeout of 5 seconds. >
< 13 August 2015 3:06:23 PM CDT > < WARNING > < Socket > < BEA-000449 > < close the socket, as no data read on 127.0.0.1:57,532 during the inactive configured timeout of 5 seconds. >
< 13 August 2015 3:06:23 PM CDT > < WARNING > < Socket > < BEA-000449 > < close the socket, as no data read on 127.0.0.1:57,534 during the inactive configured timeout of 5 seconds. >
15:06:26.343 [ExecuteThread [ASSET]: '1' for the queue: "(self-adjusting) weblogic.kernel.Default"] c.a.view.beans.ResetPassword DEBUG - result = ##Y
< oracle.adf.view > < TreeRendererUtils > < renderDefaultContextMenu > < context menu child isn't a RichMenu >
< oracle.adf.view > < CellGatherCallback > < processComponent > < PANEL_GRID_LAYOUT_CELL_CANNOT_STRETCH_MULTIPLE_CHILDREN >
< oracle.adf.view > < CellGatherCallback > < processComponent > < PANEL_GRID_LAYOUT_CELL_CANNOT_STRETCH_MULTIPLE_CHILDREN >
< oracle.adf.view > < PanelGridLayoutRenderer > < _encodeAllOrVisitChildrenForEncodingImpl > < PANEL_GRID_LAYOUT_CIRCULAR_HEIGHT_DEFINITION_1 >
< oracle.adf.view > < PanelGridLayoutRenderer > < _encodeAllOrVisitChildrenForEncodingImpl > < PANEL_GRID_LAYOUT_CIRCULAR_HEIGHT_DEFINITION_2 >
< oracle.adf.view > < RichRenderer > < decodeUnknownKey > < ATTEMPT_SYNC_UNKNOWN_KEY >
15:06:37.902 [ExecuteThread [ASSET]: '1' for the queue: "(self-adjusting) weblogic.kernel.Default"] c.a.view.beans.HomePageBean DEBUG -.
Here is the call of the navigation pane to create tab of the surroundings. It is successful.
# HomePageBean.invokeTaskFlow on the inside. About to fire with Params ActivityLauncher = Title: EDGE TaskFlowID table: /flows/homeTab.xml#homeTab NewTab: true
# Launcher._launchActivity () activity inside.
# Declaration of activity Launcher._launchActivity () - try inside
# Launcher._launchActivity () - newTab = true activity inside. Call for TabContext...
< oracle.adf.view > < TreeRendererUtils > < renderDefaultContextMenu > < context menu child isn't a RichMenu >
< oracle.adf.view > < CellGatherCallback > < processComponent > < PANEL_GRID_LAYOUT_CELL_CANNOT_STRETCH_MULTIPLE_CHILDREN >
< oracle.adf.view > < CellGatherCallback > < processComponent > < PANEL_GRID_LAYOUT_CELL_CANNOT_STRETCH_MULTIPLE_CHILDREN >
< oracle.adf.view > < PanelGridLayoutRenderer > < _encodeAllOrVisitChildrenForEncodingImpl > < PANEL_GRID_LAYOUT_CIRCULAR_HEIGHT_DEFINITION_1 >
< oracle.adf.view > < PanelGridLayoutRenderer > < _encodeAllOrVisitChildrenForEncodingImpl > < PANEL_GRID_LAYOUT_CIRCULAR_HEIGHT_DEFINITION_2 >
< oracle.adf.view > < RichRenderer > < decodeUnknownKey > < ATTEMPT_SYNC_UNKNOWN_KEY >
15:06:40.949 [ExecuteThread [ASSET]: '1' for the queue: "(self-adjusting) weblogic.kernel.Default"] c.a.view.beans.HomePageBean DEBUG -.
Here's the same call from the local area. It fails without a throwing an exception.
# HomePageBean.invokeTaskFlow on the inside. About to fire with Params ActivityLauncher = Title: EOTM TaskFlowID: /flows/EOTM.xml#EOTM NewTab: true
# Launcher._launchActivity () activity inside.
# Declaration of activity Launcher._launchActivity () - try inside
# Launcher._launchActivity () - newTab = true activity inside. Call for TabContext...
< oracle.dfw.impl.incident.DiagnosticsDataExtractorImpl > < DiagnosticsDataExtractorImpl > < createADRIncident > < incident created 318 to issue key "ADFC-00032 [ADFc]" >
< oracle.adf.view > < RichExceptionHandler > < _logUnhandledException > < ADF_FACES - 60098:Faces life cycle receives exceptions that are unhandled in phase INVOKE_APPLICATION 5 >
javax.faces.FacesException: #{homePageBean.invokeTaskFlow ('EOTM', 'EOTM_TASKFLOW')}: //C:/Users/tstrepek/AppData/Roaming/JDeveloper/system12.1.3.0.41.140521.1008/o.j2ee/drs/myAst12cUpgrade/ViewControllerWebApp.war/fragments/homeTab.jsff @25,111 action = "#{homePageBean.invokeTaskFlow ('EOTM', 'EOTM_TASKFLOW')}": java.lang.NullPointerException "
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:118)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
at org.apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)
at org.apache.myfaces.trinidad.component.WrapperEvent.broadcastWrappedEvent(WrapperEvent.java:82)
at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:189)
at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:281)
at oracle.adf.view.rich.component.UIXTable.broadcast(UIXTable.java:100)
at oracle.adf.view.rich.component.rich.data.RichTable.broadcast(RichTable.java:121)
at org.apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)
at org.apache.myfaces.trinidad.component.WrapperEvent.broadcastWrappedEvent(WrapperEvent.java:82)
at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:170)
at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:281)
at oracle.adf.view.rich.component.UIXTable.broadcast(UIXTable.java:100)
at oracle.adf.view.rich.component.rich.data.RichTable.broadcast(RichTable.java:125)
at org.apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)
at oracle.adf.view.rich.event.ProxyEvent.broadcastWrappedEvent(ProxyEvent.java:72)
at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:124)
at org.apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)
at org.apache.myfaces.trinidad.component.WrapperEvent.broadcastWrappedEvent(WrapperEvent.java:82)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:111)
at org.apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)
at org.apache.myfaces.trinidad.component.WrapperEvent.broadcastWrappedEvent(WrapperEvent.java:82)
to oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$ 1.run(ContextSwitchingComponent.java:168)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:510)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:171)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:115)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:1074)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:402)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:225)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:280)
to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:254)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:105)
to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:502)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:502)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:327)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:229)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:202)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:137)
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:460)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:220)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3436)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3402)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)
to weblogic.servlet.provider.ContainerSupportProviderImpl$ WlsRequestExecutor.run (ContainerSupportProviderImpl.java:255)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)
Caused by: javax.faces.el.EvaluationException: //C:/Users/tstrepek/AppData/Roaming/JDeveloper/system12.1.3.0.41.140521.1008/o.j2ee/drs/myAst12cUpgrade/ViewControllerWebApp.war/fragments/homeTab.jsff @25,111 action = "#{homePageBean.invokeTaskFlow ('EOTM', 'EOTM_TASKFLOW')}": java.lang.NullPointerException "
at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
... more than 73
Caused by: java.lang.NullPointerException
at com.astcorporation.view.beans.ActivityLauncher._launchActivity(ActivityLauncher.java:54)
at com.astcorporation.view.beans.HomePageBean.invokeTaskFlow(HomePageBean.java:417)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at javax.el.BeanELResolver.invokeMethod(BeanELResolver.java:780)
at javax.el.BeanELResolver.invoke(BeanELResolver.java:529)
at javax.el.CompositeELResolver.invoke(CompositeELResolver.java:257)
at com.sun.el.parser.AstValue.invoke(AstValue.java:248)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:302)
at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
... more than 74
< oracle.adf.view > < PartialResponseUtils > < handleError > < ADF_FACES - 60096:Server Exception during the PPR, #1 >
javax.servlet.ServletException: //C:/Users/tstrepek/AppData/Roaming/JDeveloper/system12.1.3.0.41.140521.1008/o.j2ee/drs/myAst12cUpgrade/ViewControllerWebApp.war/fragments/homeTab.jsff @25,111 action = "#{homePageBean.invokeTaskFlow ('EOTM', 'EOTM_TASKFLOW')}": java.lang.NullPointerException "
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:606)
to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:280)
to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:254)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:136)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:346)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:25)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:192)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:105)
to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:502)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:502)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:327)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:229)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:202)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:137)
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:460)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:120)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:217)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:81)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:220)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:79)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.wrapRun (WebAppServletContext.java:3436)
to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3402)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.provider.WlsSubjectHandle.run(WlsSubjectHandle.java:57)
at weblogic.servlet.internal.WebAppServletContext.doSecuredExecute(WebAppServletContext.java:2285)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2201)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1572)
to weblogic.servlet.provider.ContainerSupportProviderImpl$ WlsRequestExecutor.run (ContainerSupportProviderImpl.java:255)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:311)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:263)
Caused by: javax.faces.el.EvaluationException: //C:/Users/tstrepek/AppData/Roaming/JDeveloper/system12.1.3.0.41.140521.1008/o.j2ee/drs/myAst12cUpgrade/ViewControllerWebApp.war/fragments/homeTab.jsff @25,111 action = "#{homePageBean.invokeTaskFlow ('EOTM', 'EOTM_TASKFLOW')}": 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 org.apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)
at org.apache.myfaces.trinidad.component.WrapperEvent.broadcastWrappedEvent(WrapperEvent.java:82)
at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:189)
at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:281)
at oracle.adf.view.rich.component.UIXTable.broadcast(UIXTable.java:100)
at oracle.adf.view.rich.component.rich.data.RichTable.broadcast(RichTable.java:121)
at org.apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)
at org.apache.myfaces.trinidad.component.WrapperEvent.broadcastWrappedEvent(WrapperEvent.java:82)
at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:170)
at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:281)
at oracle.adf.view.rich.component.UIXTable.broadcast(UIXTable.java:100)
at oracle.adf.view.rich.component.rich.data.RichTable.broadcast(RichTable.java:125)
at org.apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)
at oracle.adf.view.rich.event.ProxyEvent.broadcastWrappedEvent(ProxyEvent.java:72)
at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:124)
at org.apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)
at org.apache.myfaces.trinidad.component.WrapperEvent.broadcastWrappedEvent(WrapperEvent.java:82)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:111)
at org.apache.myfaces.trinidad.component.UIXComponent.broadcastInContext(UIXComponent.java:364)
at org.apache.myfaces.trinidad.component.WrapperEvent.broadcastWrappedEvent(WrapperEvent.java:82)
to oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$ 1.run(ContextSwitchingComponent.java:168)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:510)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:171)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:115)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:794)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:1259)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:1074)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:402)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:225)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:593)
... more than 42
Caused by: java.lang.NullPointerException
at com.astcorporation.view.beans.ActivityLauncher._launchActivity(ActivityLauncher.java:54)
at com.astcorporation.view.beans.HomePageBean.invokeTaskFlow(HomePageBean.java:417)
at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at javax.el.BeanELResolver.invokeMethod(BeanELResolver.java:780)
at javax.el.BeanELResolver.invoke(BeanELResolver.java:529)
at javax.el.CompositeELResolver.invoke(CompositeELResolver.java:257)
at com.sun.el.parser.AstValue.invoke(AstValue.java:248)
at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:302)
at com.sun.faces.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:105)
at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
... more than 74
3 mods are needed
1.) change managed bean to "session."
2.) implement the following class of activity Launcher
3.) implement the following methods of the managed bean
-----------
ManagedBean
-----------
public String invokeTaskFlow (String Title, String taskFlowPropertyName) {}
String taskflowId = PropertiesLoader.getProp (taskFlowPropertyName);
AL ActivityLauncher = new ActivityLauncher();
If (TabContext.getCurrentInstance ()! = null) {}
setTabContext (TabContext.getCurrentInstance ());
Al._launchActivity (title, taskflowId, getTabContext(), null, true);
}
else {}
setNewTabContext (getTabContext ());
Al._launchActivity (title, taskflowId, getNewTabContext(), null, true);
}
Returns a null value.
}
-----------
ActivityLauncher._launchActivity
-----------
5 arguments: title taskFlow newTab, paramsMap, tabContext
public void _launchActivity (String title, String taskflowId, boolean newTab, card
parametersMap, TabContext tab_context) {} If (tab_context! = null) {}
setTabContext (tab_context);
}
try {}
TabContext currentTabContext = TabContext.getCurrentInstance ();
If (currentTabContext == null & tab_context! = null) {}
currentTabContext = getTabContext(); tabContext Set to validate
If {(newTab)
currentTabContext.addTab (title, taskflowId, parametersMap);
} else {}
currentTabContext.addOrSelectTab (title, taskflowId, parametersMap);
}
} else {}
setTabContext (currentTabContext);
If {(newTab)
currentTabContext.addTab (title, taskflowId, parametersMap);
} else {}
currentTabContext.addOrSelectTab (title, taskflowId, parametersMap);
}
}
} catch (TabContext.TabOverflowException feet) {}
System.out.println ("###Exception occurred in launchActivity");
toe.handleDefault ();
}
}
-
Small product problems page format of the table with the unused sections
Hi all
I hope someone can help me identify what it is that I have trouble with my small product catalog pages. I have this problem where I have unused sections or blanks where normally the images/Details of the product would be. I think it can come from my product titles that use more than two lines of characters with these products that I have for sale where the price is bordered by the intermediary with a new price below (extra row of text) where the product is more space than the standard height. It seems to be pushing other products more far more/down to another column/row. I don't know it's somelthing I'm wrong with how the table is set up for the management of the height of each box of product dynamically, but I'm new to this so not sure what you need to fix in the code.
Here is a link to a page problem showing the problem:
http://tigressartscomics.com/CGC-graded-comics
Any help would be greatly appreciated.
Thank you
Kennedy
Hi Kennedy,
Believe that it is caused by your products from the list in varying heights.
Have you tried to add a "height: 400px; ' your '.produits-grid li .productSmall?
Concerning
Mike
-
[MAF - AMPA] Strange behavior of the MAF with REST service
Hi MAF Experts.
I just noticed that there is a strange behavior in my application of the MAF. The first loading of the page, amx:page does not make its contents (of REST). However if I kill the app and relaunch the app, content appears.
Pattern:
- Start of the CRG App
- Opening of session
- Dashboard (the content is rendered)
- Go to any other aspect (lets say a list of products)
- Open product list (content do not get returned)
- Kill the MAF application
- Start of the CRG App
- Dashboard (the content is rendered)
- Go to the product list
- List of products (content gets rendered)
I put a few breakpoints on EntityCRUDService and RestPersistenceManager.
So far it return the list of entities and display the correct data (from watches in debug mode)
Last thing I noticed is the red color below. She defined the EntityList with the new value of REST (This displays a correct value).
TaskExecutor.getInstance (.execute (isDoRemoteReadInBackground ())
, () -> {
Auto Sync all actions pending first, pass false for inBackground because
We want to process actions pending before the reading distance
getDataSynchManager (.synchronize (false));
The list of entities < E > = executeRemoteFindAll();
If (entities! = null)
{
When an error occurs (for example server is not available, the method returns the value zero)
setEntityList (entities);
}
});
Any suggestion?
All the rest service are configured with AutoQuery = true in the persistence - mapping.xml
See you soon,.
Hendry
Hendry,
Thanks your testcase, I was able to understand the problem.
It turns out that MAF 2.1 has problems dealing with the advanced way in which AMPA running background tasks with the help of a thread in all of features.
We have slightly modified the implementation in AMPA to use one thread per function and now the update issue is resolved. I sent you a link to new construction.
We will publish the new generation soon on GitHub so that others can benefit in the same solution.
Steven Davelaar,
Oracle Mobile A-team.
-
register the application with Shared Services
Hello
I copied a planning of a new application application in Essbase. When I go to Shared Services, I don't see the application in Shared Services. I register this app in environmental assessments, but I get this error «Re-registration not allowed on planning of an [ApplicationName] application» I don't know what it takes then to see this app in Shared Services for the provisioning of users. I use 11.1.1.3
Thank you.A quick way is to create the essbase app/db using eas that make sure that it is registered as an essbase in shared services application, and then save the outline of planning essbase on the newly created db db, copy all of the objects that are needed.
See you soon
John
http://John-Goodwin.blogspot.com/ -
Problem of formatting in the content with the horizontal menu widget area
I use a regular horizontal menu widget with several different taps within an empty page. I lived as if the content field under the first tap, for example, is 300 pixels long, all other fields of content under other taps will inherit the same height. Because I have different amounts of text in various taps, I need to be able to REDUCE the height of the text field. But it won't let me.
Any input is much appreciated!
Fred
Hi ACW100,
Please select size spacing: uniform point in the menu dropdown.
It does not resize the tabs separately, but it might serve your purpose (spacing problems).
Kind regards
Akshay
-
adding to the text format within the framework
Hello
Im trying to add text with different styles (for example, font, size, color) of formatting that is not separated by a space:
An example:
'frame' is a textframe
frame.parentStory.insertionPoints.item(-1).contents = "text1";
frame.parentStory.words.lastItem () .appliedFont = "Arial";
frame.parentStory.words.lastItem () .pointSize = 10 ";
frame.parentStory.insertionPoints.item(-1).contents = "text2";
frame.parentStory.words.lastItem () .appliedFont = "Times New Roman";
frame.parentStory.words.lastItem (.pointSize) = 12 ";
After that, "text1text2" is formatted in "Times New Roman., 12Pts.
I tried to separate 'text1' and 'text2' with 'SpecialCharacters.hairSpace', but this did not help.
Someone has an idea?
Thank you!!
Use the ranges of characters rather than words:
frame.parentStory.insertionPoints.item(-1).contents = "text1"; frame.parentStory.words.lastItem().appliedFont= "Arial"; frame.parentStory.words.lastItem().pointSize = 10; endIndex = frame.parentStory.characters.item(-1).index; frame.parentStory.insertionPoints.item(-1).contents = "text2"; frame.parentStory.characters.itemByRange(endIndex+1, frame.parentStory.characters.item(-1).index).appliedFont= "Times New Roman"; frame.parentStory.characters.itemByRange(endIndex+1, frame.parentStory.characters.item(-1).index).pointSize = 12;
.. Although in this case, it is easier to first change of setting in shape from the last insertion point and then insert the text:
frame.parentStory.insertionPoints.item(-1).appliedFont= "Arial"; frame.parentStory.insertionPoints.item(-1).pointSize = 10; frame.parentStory.insertionPoints.item(-1).contents = "text1"; frame.parentStory.insertionPoints.item(-1).appliedFont= "Times New Roman"; frame.parentStory.insertionPoints.item(-1).pointSize = 12; frame.parentStory.insertionPoints.item(-1).contents = "text2";
-
I need to create a document library in descending (from most recent to oldest) for the customer's Web site. Similar to a blog that the message the most recent appears at the top, but without all the photos - it will be just links to documents. I would like to be able to see ten of these documents on a single page and have an archive of older documents with a sorting function without having to duplicate or retyping content. I can't find a widget that allows this functionality.
Can you suggest a 3rd party widget or a workaround?
Here are some examples that are similar to what I'm trying to achieve. Any help would be greatly appreciated!
The Chamber of Commerce of Grand"events
Town of Grand Island, Nebraska: City Council meetings
I have no suggestions, but all the widgets associated with Muse are listed on this page. You can filter by their type and chooose widgets one that best fits your needs.
-
Create customer log in page within the Muse with the 3rd party, free hosting of images
Hello
I create my Web site in Adobe Muse and I have a third party hosting of my site, I want to create a customer login page to view images by customer. What is the best way to do it?
ID.
If you use a third-party free hosting of images and you have already a CRM database and all logic on the side server ready at the end, you can simply create an HTML form and insert in Muse to the object-> the option Insert HTML code.
Also, you can see this post that would give you an extra idea about how to do this with Adobe hosting via Business Catalyst using the widget of forms of Muse.
http://forums.Adobe.com/message/5074927#5074927
Thank you
Vinayak
-
problem of scope within the class with delivery
Hello.. I have a class in which there are properties (IE - _myColor).
Now suppose in my class, I have a defined delivery function...
IE
targetMc.myBtn.onPress = function (): Void {}
trace ("the value is:" + _myColor);
}
Now obviously this won't work because it is out of reach.
What is the right way to access the property of said of the delivery which resides IN the class file as well?
Thank you!You can use a local reference to the current object or use the delegate class. See examples attached.
-
Operate the WMB54G with Vista (Service Pack 1) - it works.
-
Email burst send the report in HTML format in the body of the email
Hello
I have Oracle BI Publisher 10.1.3.4.1 (build # 1101) version installed as part of Oracle Business Intelligence.
I have questions about the email of breaking. Simple observation, I created and I'm bursting it by e-mail. But I want to send the report to HTML format within the body of the email and not as an attachment. I read that it is possible in other versions of the TONE (of BSE) with the help of the burst configuration file. But I can't use this file with my version of BEEP, I can configure bursting life alone SQL query.
Is there a solution?
Thank youIt is a known issue with Outlook Client. Try to open the email with the other guests.
-
Combining the VM with files in the data store
I apologize for the very basic question.
I have a few ESXi servers and I need to associate each VM with the related directory inside the data store and each direxctory within the data with the associated directory store.
With the command:
SE connect-VIServer-Server 192.168.1.1 - user root - < password >
I connect with the server.
With the command
Get - vm
I get a list of all VM with the State and the amount of memory, the number of vCPU
- How can I get path for each computer listed virtual, to the related .vmx file?
- How to browse the data store, the list of the .vmx file and for each .vmx file, get the name of the associated virtual machine?
- What manual download to find the emanations of the arguments of the command get-vm and qualifying?
Concerning
Marius
The Get - VM by default displays a selection of properties.
You can ask all the properties
Get - VM | Select *.
or some specific
Get - VM | Select name, Description
You can even access the real object of the SDK VirtualMachine
Get - VM | Select Name,@{N="VMX; E={$_. Extensiondata.Config.Files.VmPathName}}
PowerCLI comes with a data store provider.
It is documented in the vSphere PowerCLI Admin Guide, which is installed with PowerCLI.
With the provider, you can list the files .vmx on data warehouses.
To find the name of the corresponding client, you will need to retrieve the DisplayName of the .vmx file field.
- How can I get path for each computer listed virtual, to the related .vmx file?
Maybe you are looking for
-
When I scan my regitry with ccleaner a missing reference to typelib is
IBackup locations shellfolder Impl HKCR\interface\Foe3a5d7-80c7-4228-90fe-61df01-c417a5 could not be located. He proposes to delete it. Should I do this? If so, how? Also when I run slowpcfighter I get anywhere from 60 to 90 keys registery empty how
-
HP laptop - 15-ac126tx: 15-ac126tx wifi connection not identified and not Internet
Hello I bought a new laptop with windows 10(64bit) and tried to connect to my wifi at home. But he kept having network as "not identified" with the limited connections icon. Same thing with ethernet connection. I'm sure this isn't my router, I have m
-
It won't let me download anything from Microsoft.
-
I have an HTML page created with web expression 4. It contains only a wmv video. It works perfectly when it is called from a USB stick or SD card, but does not work when they are copied to the hard drive. The results are the same with IE and Firefox.
-
I have a problem of backgammon game download play 65
I get the message that windows has a connection problem when I try to download the game 65, don't know why that I can go into another long fine?