Af:treeTable component: API to return list of expanded nodes?

Hi,
In my UI design, I am using a tree table (af:treeTable component). Does the framework support API to return (at any given time) a list of all expanded nodes?
I realize that I can build logic to 1. return the currently selected node, then 2. query up all of the child nodes of this selected node. However, I'm wondering if, say at a particular instant, multiple nodes have been expanded, and I need a list of all of these nodes for every level in the tree table?
Thanks in advance,
Monica

Hi John,
I am using 11g. From the javadoc, I see that getDisclosedRowKeys() returns "set of disclosed rows for [tree-table] component" and "each entry in the set is a rowKey."
What exactly is the definition of a "disclosed row"? I'm guessing this means any & all rows shown from UI, which would return all rows (including parent nodes of newly expanded nodes)?
Is there a way to return all child nodes (newly displayed rows) of expanded nodes? To clarify, I'm trying to gather rows level by level. If a node has been expanded at level n, I would like to get a new list of nodes at level (n+1).
Thanks,
Monica

Similar Messages

  • "SOM expression returned list when single result was expected" error trying to display form

    Any Ideas on troubleshooting this error?
    I am using ES2 SP2, on Windows.
    Here is the dump from the log, sorry for the format issue, I was unable to figure out the paste option.
    This is a new but complicated form with many nested subforms.
    It seems to render if I save the form as a PDF, and render it with the standard Process Management "Render PDF Form" service.
    If I save it as an XDP, and try to render it Reader Extended it dies like this.
    Any help or Ideas are greatly appreciated.
    Thanks
    Mark
    ALC-FRM-001-013: XMLFormFactory, PAexecute failure: "(com.adobe.document.xmlform.ReturnStatus@6c0abc13) SOM expression returned list when single result was expected"                 at com.adobe.formServer.FormServer.renderForm(FormServer.java:233)                 at com.adobe.formServer.FormServer.renderForm(FormServer.java:281)                 at com.adobe.formServer.docservice.FormsDocService.renderForm(FormsDocService.java:556)                  at com.adobe.formServer.docservice.FormsDocService.renderForm(FormsDocService.java:470)                  at com.adobe.formServer.docservice.FormsDocService.renderPDFFormCommonCaller(FormsDocService .java:164)                 at com.adobe.formServer.docservice.FormsDocService.renderPDFForm(FormsDocService.java:130)                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)                 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)                 at java.lang.reflect.Method.invoke(Unknown Source)                 at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)                 at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)                 at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:357)                 at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doRequired(Ej bTransactionCMTAdapterBean.java:274)                 at sun.reflect.GeneratedMethodAccessor294.invoke(Unknown Source)                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)                 at java.lang.reflect.Method.invoke(Unknown Source)                 at org.jboss.invocation.Invocation.performCall(Invocation.java:359)                 at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:237)                 at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:158)                 at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:169)                 at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)                  at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)                  at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)                  at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)                 at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)                  at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)                 at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)                 at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)                 at org.jboss.ejb.Container.invoke(Container.java:960)                 at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)                  at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)                  at $Proxy173.doRequired(Unknown Source)                 at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:129)                 at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:188)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)                  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)                  at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)                 at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:93)                 at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:22 5)                 at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)                 at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)                 at com.adobe.workflow.engine.PEUtil.invokeAction(PEUtil.java:885)                 at com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker.transientInvoke(WorkflowDSCInvoker. java:347)                 at com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker.invoke(WorkflowDSCInvoker.java:158)                  at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)                 at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:357)                 at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doRequiresNew (EjbTransactionCMTAdapterBean.java:299)                 at sun.reflect.GeneratedMethodAccessor251.invoke(Unknown Source)                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)                 at java.lang.reflect.Method.invoke(Unknown Source)                 at org.jboss.invocation.Invocation.performCall(Invocation.java:359)                 at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:237)                 at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:158)                 at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:169)                 at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)                  at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)                  at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:404)                  at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)                 at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)                  at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)                 at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)                 at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)                 at org.jboss.ejb.Container.invoke(Container.java:960)                 at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)                  at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)                  at $Proxy173.doRequiresNew(Unknown Source)                 at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:143)                 at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:188)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)                  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)                  at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)                 at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:93)                 at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:22 5)                 at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)                 at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)                 at com.adobe.idp.taskmanager.dsc.service.TaskManagerServiceImpl.renderForm(TaskManagerServic eImpl.java:4646)                 at sun.reflect.GeneratedMethodAccessor12148.invoke(Unknown Source)                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)                 at java.lang.reflect.Method.invoke(Unknown Source)                 at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)                 at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)                 at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:357)                 at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doRequiresNew (EjbTransactionCMTAdapterBean.java:299)                 at sun.reflect.GeneratedMethodAccessor251.invoke(Unknown Source)                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)                 at java.lang.reflect.Method.invoke(Unknown Source)                 at org.jboss.invocation.Invocation.performCall(Invocation.java:359)                 at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:237)                 at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:158)                 at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:169)                 at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)                  at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)                  at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:404)                  at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)                 at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)                  at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)                 at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)                 at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)                 at org.jboss.ejb.Container.invoke(Container.java:960)                 at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)                  at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)                  at $Proxy173.doRequiresNew(Unknown Source)                 at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:143)                 at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:165)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)                  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)                  at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)                 at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:93)                 at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:19 8)                 at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)                 at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)                 at com.adobe.idp.taskmanager.dsc.client.TypedTaskManagerService.invokeWithRetry2(TypedTaskMa nagerService.java:159)                 at com.adobe.idp.taskmanager.dsc.client.TypedTaskManagerService.invokeWithRetry(TypedTaskMan agerService.java:147)                 at com.adobe.idp.taskmanager.dsc.client.TypedTaskManagerService.callRenderService(TypedTaskM anagerService.java:1441)                 at com.adobe.workspace.tasks.TaskActions.render(TaskActions.java:768)                 at sun.reflect.GeneratedMethodAccessor1264.invoke(Unknown Source)                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)                 at java.lang.reflect.Method.invoke(Unknown Source)                 at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:421)                  at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)                  at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1406)                  at flex.messaging.AsyncMessageBroker.routeMessageToService(AsyncMessageBroker.java:571)                  at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1005)                  at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:103)                  at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)                 at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)                 at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)                  at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:165)                  at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:293)                  at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:364)                  at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)                 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:290)                 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)                  at com.adobe.workspace.events.RemoteEventClientLifeCycle.doFilter(RemoteEventClientLifeCycle .java:152)                 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)                 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)                  at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)                 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)                  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)                  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)                  at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.ja va:179)                 at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)                  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)                  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)                  at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java: 157)                 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)                  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)                  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)                  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.ja va:580)                 at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)                 at java.lang.Thread.run(Unknown Source) 2012-01-09 14:58:17,178 INFO  [STDOUT] [LCDS][ERROR] Exception when invoking service 'remoting-service': flex.messaging.MessageException: ALC-WKS-005-028: A problem occurred in the Render Service for Task "8258".  Please review the render orchestration for this process.   incomingMessage: Flex Message (flex.messaging.messages.RemotingMessage)     operation = render     parameters = [44F8A32C-A8D6-102E-B9D6-00000A3085AB, 8258, 0, ASObject(242517833){acrobatVersion=10.0., acroClientType=}]     clientId = D3292091-580B-C7E7-38E3-8E9ECB817F50     destination = task-actions     messageId = 590434A1-5953-17C9-55C4-C443A2F281A3     timestamp = 1326142694104     timeToLive = 0     body = null     hdr(DSId) = D30D08B0-BD1F-B9A8-DCF0-9414276B403E     hdr(DSEndpoint) = workspace-polling-amf   Exception: flex.messaging.MessageException: ALC-WKS-005-028: A problem occurred in the Render Service for Task "8258".  Please review the render orchestration for this process.                 at com.adobe.workspace.AssemblerUtility.createMessageException(AssemblerUtility.java:412)                  at com.adobe.workspace.tasks.TaskActions.render(TaskActions.java:822)                 at sun.reflect.GeneratedMethodAccessor1264.invoke(Unknown Source)                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)                 at java.lang.reflect.Method.invoke(Unknown Source)                 at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:421)                  at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)                  at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1406)                  at flex.messaging.AsyncMessageBroker.routeMessageToService(AsyncMessageBroker.java:571)                  at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:1005)                  at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:103)                  at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)                 at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)                 at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)                  at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:165)                  at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:293)                  at flex.messaging.MessageBrokerServlet.service(MessageBrokerServlet.java:364)                  at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)                 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:290)                 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)                  at com.adobe.workspace.events.RemoteEventClientLifeCycle.doFilter(RemoteEventClientLifeCycle .java:152)                 at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)                 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)                  at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)                  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:235)                 at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)                  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)                  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)                  at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.ja va:179)                 at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)                  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)                  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)                  at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java: 157)                 at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)                  at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)                  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)                  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.ja va:580)                 at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)                 at java.lang.Thread.run(Unknown Source) Caused by: com.adobe.idp.taskmanager.dsc.client.task.TaskManagerException: Error Invoking render Operation For (taskId, formId):(8258 ,0).  Error Message is: ALC-FRM-001-013: XMLFormFactory, PAexecute failure: "(com.adobe.document.xmlform.ReturnStatus@6c0abc13) SOM expression returned list when single result was expected"                 at com.adobe.formServer.FormServer.renderForm(FormServer.java:233)                 at com.adobe.formServer.FormServer.renderForm(FormServer.java:281)                 at com.adobe.formServer.docservice.FormsDocService.renderForm(FormsDocService.java:556)                  at com.adobe.formServer.docservice.FormsDocService.renderForm(FormsDocService.java:470)                  at com.adobe.formServer.docservice.FormsDocService.renderPDFFormCommonCaller(FormsDocService .java:164)                 at com.adobe.formServer.docservice.FormsDocService.renderPDFForm(FormsDocService.java:130)                  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)                 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)                 at java.lang.reflect.Method.invoke(Unknown Source)                 at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)                 at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)                 at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:357)                 at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doRequired(Ej bTransactionCMTAdapterBean.java:274)                 at sun.reflect.GeneratedMethodAccessor294.invoke(Unknown Source)                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)                 at java.lang.reflect.Method.invoke(Unknown Source)                 at org.jboss.invocation.Invocation.performCall(Invocation.java:359)                 at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:237)                 at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:158)                 at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:169)                 at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)                  at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)                  at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350)                  at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)                 at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)                  at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)                 at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)                 at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)                 at org.jboss.ejb.Container.invoke(Container.java:960)                 at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)                  at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)                  at $Proxy173.doRequired(Unknown Source)                 at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:129)                 at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:188)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)                  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)                  at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)                 at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:93)                 at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:22 5)                 at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)                 at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)                 at com.adobe.workflow.engine.PEUtil.invokeAction(PEUtil.java:885)                 at com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker.transientInvoke(WorkflowDSCInvoker. java:347)                 at com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker.invoke(WorkflowDSCInvoker.java:158)                  at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)                 at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:357)                 at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doRequiresNew (EjbTransactionCMTAdapterBean.java:299)                 at sun.reflect.GeneratedMethodAccessor251.invoke(Unknown Source)                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)                 at java.lang.reflect.Method.invoke(Unknown Source)                 at org.jboss.invocation.Invocation.performCall(Invocation.java:359)                 at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:237)                 at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:158)                 at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:169)                 at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)                  at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)                  at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:404)                  at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)                 at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)                  at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)                 at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)                 at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)                 at org.jboss.ejb.Container.invoke(Container.java:960)                 at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)                  at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)                  at $Proxy173.doRequiresNew(Unknown Source)                 at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:143)                 at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:188)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)                  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)                  at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)                 at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:93)                 at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:22 5)                 at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)                 at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)                 at com.adobe.idp.taskmanager.dsc.service.TaskManagerServiceImpl.renderForm(TaskManagerServic eImpl.java:4646)                 at sun.reflect.GeneratedMethodAccessor12148.invoke(Unknown Source)                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)                 at java.lang.reflect.Method.invoke(Unknown Source)                 at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)                 at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)                 at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:357)                 at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doRequiresNew (EjbTransactionCMTAdapterBean.java:299)                 at sun.reflect.GeneratedMethodAccessor251.invoke(Unknown Source)                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)                 at java.lang.reflect.Method.invoke(Unknown Source)                 at org.jboss.invocation.Invocation.performCall(Invocation.java:359)                 at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:237)                 at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:158)                 at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:169)                 at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63)                  at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121)                  at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:404)                  at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181)                 at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168)                  at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205)                 at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:138)                 at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648)                 at org.jboss.ejb.Container.invoke(Container.java:960)                 at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430)                  at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:103)                  at $Proxy173.doRequiresNew(Unknown Source)                 at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:143)                 at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:165)                 at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)                  at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)                 at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)                  at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:129)                 at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:93)                 at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:19 8)                 at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)                 at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)                 at com.adobe.idp.taskmanager.dsc.client.TypedTaskManagerService.invokeWithRetry2(TypedTaskMa nagerService.java:159)                 at com.adobe.idp.taskmanager.dsc.client.TypedTaskManagerService.invokeWithRetry(TypedTaskMan agerService.java:147)                 at com.adobe.idp.taskmanager.dsc.client.TypedTaskManagerService.callRenderService(TypedTaskM anagerService.java:1441)                 at com.adobe.workspace.tasks.TaskActions.render(TaskActions.java:768)                 ... 37 more

    It appears the form had incorrect bindings for a list object that resulted in recursion.
    Once the bindings were corrected the form works properly
    F.Y.I.
    Mark

  • Howto handle persistence API query result list

    Hello.
    I need some advice on how to handle a persistence API query result List since the Object variable returned by the "list.get(i)" method cannot be cast to an EntityClass declared by the EntityClassManager.
    The piece of code below might help you understand my exact problem.
    EntityManagerFactory emf = Persistence.createEntityManagerFactory("SporTakipPU");
    EntityManager em = (EntityManager) emf.createEntityManager();
    Query q1 = em.createQuery( "SELECT d.id, d.date, c.name, c.sirname FROM Log d, Kisi c WHERE d.id = :id AND c.id = :id" );
    q1.setParameter( "id", argument );
    List logList = q1.getResultList();
    Log log = (Log) logList.get(1);
    In this code i cannot cast Object to Log in the last line. Apparently this has something to do with the query.
    Trying to solve this problem i declared two private string variables name and sirname and their set and get methods but this didn't help.
    Thanks...

    Entity Class : ReportView
    ===================
    @Entity
    @Table(name = "dummy")
    public class ReportView implements Serializable {
    @Id
    @Column(name = "id", nullable = false)
    private Integer id;
    // getter , setter
    SessionBean : ReportSessionBean
    ==========================
    public List<ReportView> getReports() {
    Query q = em.createNativeQuery("SELECT ID FROM REPORT", ReportView.class);
    List<ReportView> r=(List<ReportView>)q.getResultList();
    return r;
    JSF / Back Bean : ReportBackBean
    ==========================
    public class ReportBackBean {
    @EJB
    private ReportSessionRemote reportSessionBean;
    /** Creates a new instance of ReportBackBean */
    public ReportBackBean() {
    public List<ReportView> getReports() {
    return reportSessionBean.getReports();
    JSF
    ===
    <f:view>
    <h:dataTable value="#{ReportBackBean.reports}" var="report" border="1">
    <h:column>
    <h:outputText value="#{report.id}"/>
    </h:column>
    </h:dataTable>
    </f:view>
    Regards,
    Telman
    ..

  • How to get value from API which returns parameter in PL/SQL table?

    Hello
    I have below workflow API with returns info in PL/SQL table. I want to get value of 'USER_ORIG_SYSTEM_ID' column. How can i get that value in local variable.
    Please help.
    Thanks
    Avalon
    Wf_Directory.GetRoleInfo2
    Syntax
    procedure GetRoleInfo2
    (Role in varchar2,
    Role_Info_Tbl out wf_directory.wf_local_roles_tbl_type);
    Description
    Returns the following information about a role in a PL/SQL table:
    • Name
    • Display name
    • Description
    • Notification preference (’QUERY’, ’MAILTEXT’, ’MAILHTML’,
    ’MAILATTH’, ’MAILHTM2’, ’SUMMARY’, or, for Oracle
    Applications only, ’SUMHTML’)
    • Language
    • Territory
    • E–mail address
    • Fax
    • Status
    • Expiration date
    • Originating system
    • Originating system ID
    • Parent originating system
    • Parent originating system ID
    • Owner tag
    • Standard Who columns
    *******************************************************

    create a variable RoleXXX wf_directory.wf_local_roles_tbl_type;
    call procedure GetRoleInfo2('TEST_ROLE',RoleXXX)
    use RoleXXX.USER_ORIG_SYSTEM_ID

  • How to use the WebSocket Protocol Component API to 'talk' to a Node.JS server.

    I hope that this posting is in the correct forum, as I am using Visual Studio 2013 I thought this might be the case.
    I have a secure Node.JS server that I want to access from my native windows C++ application and I thought this API would be the cleanest solution as I only need Server 2012 and Windows 8 support. I downloaded from Microsoft the only C++ example
    I could find (Web Socket Protocol Component API sample.zip) but this only served to confuse me as it makes use of both Client and Server connections, and to add to my confusion is the very sparse documentation so the progress I am making is now non-existent.
    Can someone please tell me what I need to do in order to create a usable Web Socket connection to my remote server.
    The code I wrote based on that from the sample zip works but not in the way I was expecting it to as it makes no attempts to contact the remote server.I would really appreciate your help with this.
    Bob

    Hi Bob,
    Thank you for posting in MSND forum.
    Since this issue is related to the Windows Desktop, so we will move this case to Windows Desktop forum:https://social.msdn.microsoft.com/Forums/en-US/home?forum=windowsgeneraldevelopmentissues,
    you will get better support.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Problem in running TreeTable component with Myfaces

    Hi,
    I am trying to run treeTable component of adf with Myfaces.
    The tag is rendered but not functioning properly.
    It shows one level expanded as mentioned below :
    > H1 // H1 has 2 related records
    +> H2 // H2 has 3 related records
    +> H3 //H3 has 1 related record
    but when I click on H2 then It is not expanding.
    Please Help.
    Regards,
    Sachin

    The treeTable component is working.
    The problem is due bcoz of following code::
    <!-- <af:column>
    <f:facet name="header">
    <h:outputText value="Map Link"/>
    </f:facet>
    <h:outputText id="button" value="Map" onclick="showOnMap(this);" />
         <h:inputHidden id="primary-key" value="#{foo.assetId}"/>
    <h:inputHidden id="assetType" value="#{foo.assetType}"/>
    </af:column>
    -->
    when I comment the above mentioned column the page is rendered and treeTabel is working properly.
    Can anybody help why the above mentioned tags are doing problem?
    Regards,
    Sachin

  • TreeTable Component - attributes for $selected[*]

    I am trying to pass some query parameters to a new menu item added to the TreeTable component that drives the main menu in IDM 8. Documentation in the treetablelibrary.xml says:
    <Comments>  Define an action by supplying:
                  - a name (action)
                  - a label to display for the action, usually a message key (label)
                  - the selections required for this action (selectionMode):
                    "none", "oneOrNone" (optionally one selection), "single"
                    (exactly one selection), "multi" (one or more), and "any"
                    (any number of selections, including none).
                  - the types of object this action applies to (selectionTypes)
                  - the URL to route the action to (targetURL)
                  - a map of parameters to pass to the targetURL (targetParameters)
                    You can set session attributes by prefixing the parameter name
                    with "Session:".  You can reference the selected items by using
                    a parameter value of "$selected[name]".
                  - the type of this object for authorization purposes (authType).
                    If omitted, selection type will be used.
                  - the right required on the object to perform this action (requiredRight)
                  - an ACL for the action (actionACL).  If supplied, this overrides
                    authType and requiredRight.
              </Comments>The question I have is: What are the attributes that are available for use with the $selected[*] syntax? I see 'id' and 'name' as examples (selected[id] and selected[name]), but would like to understand what else can be accessed in this way.
    To clarify, here is the type of code I would be writing:
    <argument name='targetParameters'>
                                <Map>
                                    <MapEntry key='id' value='$selected[id]'/>
                                    <MapEntry key='name' value='$selected[name]'/>
                                </Map>
                            </argument>Thanks for the help!

    See if example 61 on the ADF Code corner helps:
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/61search-in-rendered-trees-177577.pdf
    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/index-101235.html#CodeCornerSamples

  • Error in Component Api  Method

    Hi ,
    I getting a error in component Api method.
    Error : The method WDGetContext() is undefined for the type IPrivateDCFAppView
    SO, any body help me out in this regard why this one is happening.
    Thanks,
    William

    Hi,
    Are you trying to access the component controller's context from your view? check if you have added the component controller reference in the "properties" tab of the view.
    Regards,
    Poojith MV

  • Api Function to list port in use

    Hi!I'm looking for an Api Function to list a ports in use in a Essbase Serve.

    Although there is currently no Api function to check the ports in use, if you are using Essbase 6.5 there are a couple other methods that could be used. (Might work in 6.2 but I didn't check).Check out the following functions in Maxl:- display system- display session all "Display system" displays how many ports are available - if you know how many you have then you know how many are in use. "Display session all" displays the users and their tcpip address - allowing you to determine the number of ports in by counting the number of unique user id + tcpip addresses. A worse case scenario to capture this information would be a program that runs the Maxl script to output a file that is then parsed.Hope this helps,- Jay---------------------------Jay NishSenior Business Intelligence ConsultantClarity SystemsEmail: [email protected]: www.claritysystems.com

  • API for Task list create/change

    Hi,
    Is there any API for task list create/change (Transaction IA05/06)?
    Thanks
    Sanket Sethi

    That would be very useful to know for me too. So has anybody an idea?
    Greetings Philip

  • Returning List String or String[][] in JNI

    Hi,
    I am calling a native function in C++ from Java which has to return List<String> or String[][]. Is this possible?
    The java declaration is - private native List<String> GetListNative();
    In C++ the declaration is:
    JNIEXPORT jobject JNICALL Java_com_GetListNative
    (JNIEnv *env, jobject obj);
    Please help!
    Thanks in advance...
    Message was edited by:
    arjundg

    try treating String[][] as array of arrays of strings
    I mean consider your 2D array as a 1D array and each of its elements is an array of Strings
    I think this will work

  • Problem returning list

    Im trying to return the list after it has been stored with contents from a file. I can't seem to return the list so I can use it in anoter method.
    public static ArrayList getArrayList(Object[] a){
            List assList = new ArrayList();
            try{
                FileReader fin = new FileReader(fileName);
                   BufferedReader in = new BufferedReader(fin);
                   int i = 0;
                   String line = in.readLine();
                   while (line != null) {
                        StringTokenizer st = new StringTokenizer(line);
                        while (st.hasMoreTokens()) {
                             String currWord = st.nextToken();
                        assList.add(i, currWord);
                             i++;
                        line = in.readLine();
                System.out.println("This is a test " + i);
                Collections.sort(assList);
            }catch(FileNotFoundException f){
                System.out.println("Where the file at?");
            }catch (Exception e){
                System.out.println("General Exception");
       return list;
    }

    I get error saying::
    Non-static variable 'filename' cannot be referenced from a static context.
    whats that mean?It means: an instance variable ('filename') cannot be referenced from
    a static context (your static method). Either make your 'filename' variable
    static or make your method non-static.
    kind regards,
    Jos

  • Routing-LSMW-Component Allocation to task list

    Hi Gurus,
    I'm creating LSMW to Routing using Standard-Batch Input method, have mapped the required structures.
    But I was unable to map the Component allocation to task list.
    Is it possible in the standard one else I need to go for some sort customisation.
    Can anybody throw some lite on this issue ?
    regards
    Ram Kumar

    Hi,
    You will find BIPMZ Batch input structure for component allocation to task list in the standard structure relations (no customizing required). Use the same for your need.
    Hope it clarifies your query.
    Regards,
    Vivek

  • Configure Coherence REST api to return JSON by default?

    I am using the Coherence REST API  against Coherence 3.7.1 as detailed here: Introducing Coherence Rest and Building Your First Coherence REST Application
    Whenever I attempt to access a URL with a key I get a 404 back unless I append .json to the URL e.g.
    http://localhost:9998/dist-cache/0120250663
    returns a 404. But
    http://localhost:9998/dist-cache/0120250663.json
    Returns the object in JSON format.
    Is there any way to configure the REST api to return JSON by default so that the .json does not need to be appended to the URL?

    I guess what I am looking for is the ContainsAnyMatchFilter as described in the thread below, but accessible through the Coherence REST API. Any ideas? Thanks
    Need example for custom ContainsAnyFilter that performs wildcard matches

  • How to calculate the last selected item in a tree node where we can customize the list to the node.

    Hi,
    I'm new to the Flex field. I got a task where i have a tree (TREE is the id) with X and Y as nodes. In X i have got a list of pages(dataprovider is array collection) added dynamically(means User can configure the pages).On selecting last item(last page) in the list of X node, the  view will be presented with a component say Xlast on the right side which is in view stack. In that component , there is button called NEXT which has to be greyed out for the last page. I tried by calling the below code on viewChange event
    if(viewstack.selectedchild == XlastpageId)
    Nextbtn.enabled = false;
    but this will work only when we know XlastpageId is the lastpage for the tree. but how to implement this when we dont know which is the last page of the X node in a Tree.
    I also tried by calculating the children of the tree on tree click event which is
    if (Tree.selectedItem == TREE.numChildren - 1)
    Nextbtn.enabled = false;
    i know this is wrong because we have 2 children for the tree( X and Y) so it is showing 2-1 and the button is greyed out for the first click.
    Please help me out.
    Thanks in Advance,
    Sw

    Hi,
    According to your post, my understanding is that you want to monitor the last login user’s details.
    There is no out of the box way to achieve it in SharePoint.
    We can use cookie to be a flag for checking whether there is an user just log in. After the page loaded, if the cookie is null, it suggests that there is an user just log in our site, then we
    can get this user’s information using JavaScript Object Model and add the information into a custom list. With this list, we can monitor user’s login details.
    Refer to the following link:
    https://social.technet.microsoft.com/Forums/en-US/0cd4d531-cb61-4d90-aa70-413267f4a735/how-to-know-login-and-logout-details-of-a-user-in-sharepoint-online-2013?forum=sharepointdevelopment
    Besides, here are two similar posts for your reference:
    https://social.technet.microsoft.com/Forums/sharepoint/en-US/1a35283e-0f2a-49b8-b330-801a3cfcd890/programatically-get-all-current-logged-in-users-list-for-a-sharepoint-site?forum=sharepointdevelopmentprevious
    https://social.technet.microsoft.com/Forums/en-US/10953be3-cb1c-40c7-9454-545c8338b551/how-to-know-login-users-count-and-their-details-in-sharepoint-2010-web-application?forum=sharepointgeneralprevious
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

Maybe you are looking for

  • TS3212 can't install iTunes

    I can't install the iTune. It popup and said< "iTunes was not installed correctly. Please reinstall iTunesj Error 7 (Windows error 126). Then I followed the instruction and reinstall, but still can't work. What can I do?

  • How i can generat VHDL or Verilog code from labview code

    how i can generat VHDL or Verilog code from labview code ( i have a labview code and i want to convert it to VHDL or Verilog code how i can do that )

  • Substring Function in formula builder of transfer rule

    Hi Gurus I want to get the domain name from Email address. For eg: if the email address is [email protected], i want to display only "yahoo.com" in the report. For that, shall i use Substring function in transfer rule. If so, please advice me how i c

  • DeNoiser Issue

    After exporting, the denoiser effect I used is not in the video, but I can hear it well in the project. Why is not applied in the video?  I dont know why the denoiser does not work whe exporting my video! [Please choose only a short description for t

  • Threads/Multiple classes - how to update progress/error log

    I have an application where multiple threads may be running at the same time. Different classes need to update the same error/progress log file. Should I create another class with a static method that takes strings as parameter? And then this static