Checkbox fireaction event not calling
hi all,
i have created a checkbox as first column in a table. (no multiselection) i have created a fireaction event on it but the function is not at all calling......
anybody have any idea about this..
prabhakaran.p
Message was edited by:
user630121
prabhakran.p ,
Here are my responses:
the checkbox is now firing in PPR, but i found that when the checkbox column is put as first column in that table it is not firing but when it is put in last column or other it is firing.i dont know y is it happening but anyway let it be last column itself.thats not matter.
This makes sense if checkbox used as first child, it by default beacomes multiple selection child of table bean,. Now since this is a query bean, it might be possible that existing checkbox column functionality is overidden in seeded code.
That is y in case of custom requirements other than just search I always advice to to make ur own search page instead of query bean, as that gives you flexibility to implement any custom logic.
morever i need to call a procedure when the checkbox is clicked and i need to show the status bar in addition to that functionality. my problem now is to show the status bar some value on click of checkbox.
Status bar by %... no such default implementation avaialable,you can use processing page...see dev guide for details.But again implementing it in query region may be a challenge... I would advice to build ur own search page...u can still try!--Mukul
Similar Messages
-
h:CommandLink : Action event not called on the first click
Hi,
I am facing a problem here.
I have a JSF page:
When I first load the page, I have few text boxes and dropdowns. With out doing anything If I click the <h:commandLink I call an action in my pagecode.
But the problem is on the very first load of the page, without doing anything if I click on the command link action event in my pagecode is not called, but If I click on the link the second timethe pagecode actionevent is called.
So I think tried submitting the form in the JSF page onclik of the commandlink it works in my Local IBM RAD. But doesnot work in the WebSphere Portal.
So can you tell me if I can submit the form atleast once when the page loads for the first time
This is my command link:
<tr>
<td colspan="2" align="center">
<h:commandLink styleClass="commandLink" id="lnkBtnCreateUser" action="#{pc_Createuser.doLnkBtnCreateUserAction}">
<hx:graphicImageEx styleClass="graphicImageEx" id="imgBtnCreateUser" value="/theme/images/btnCreateUser.gif" style="border:0;cursor:pointer" onclick="return onFormSubmit();"></hx:graphicImageEx>
</h:commandLink>
</td>
</tr>
function onFormSubmit(){
//enabling all the disable components
So can anybody please help me on this. Why exactly the pageCode action event is not called for the very first click ???seems that a prependID="false" attribute in the respective form was causing the trouble. At least it's working now that I've deleted it.
I introduced it, because last time the component ID's messed up the output of the error/success messages ("j_id:xxx isn't that of a usefull information to the enduser).
Edited by: stger on Apr 9, 2008 5:41 PM -
Button action event not call in dataprovider
hi,
i have JSF table and it's bound to Mysql database table. when i bound the table and run it's working properly but it's button action event is not call action. when i use static jsf table then it's table action event work properly.
my jsp code is
<ui:table binding="#{search.search_table}" id="search_table" lite="true" selectMultipleButton="true" sortPanelToggleButton="true"
style="height: 70px; left: 240px; top: 240px; position: absolute; width: 600px" title="Search Text :" visible="true" width="600">
<ui:tableRowGroup binding="#{search.tableRowGroup1}" id="tableRowGroup1" rows="5" sourceData="#{search.srch_tablevalDataProvider1}" sourceVar="currentRow">
<!-- <ui:tableColumn headerText="Script" id="tableColumn2" width="700">
<ui:staticText id="staticText4" text="#{currentRow.value['search_script']}"/>
</ui:tableColumn>-->
<ui:tableColumn binding="#{search.tableColumn13}" headerText="Search Word" id="tableColumn13" style="#{search.columnStyle}">
<ui:staticText binding="#{search.search_word1}" id="search_word1" text="#{search.search_word1}"/>
</ui:tableColumn>
<ui:tableColumn binding="#{search.tableColumn4}" headerText="#{search_lang['search.contentName']}" height="39" id="tableColumn4"
style="#{search.columnStyle}" width="100">
<ui:staticText id="staticText1" onMouseOver="play_video(this);" text="#{currentRow.value['name']}"/>
</ui:tableColumn>
<ui:tableColumn binding="#{search.tableColumn6}" headerText="#{search_lang['search.srchTag']}" id="tableColumn6"
sort="search_tags" style="#{search.columnStyle}">
<ui:staticText id="staticText3" text="#{currentRow.value['search_tags']}"/>
</ui:tableColumn>
<ui:tableColumn binding="#{search.tableColumn5}" headerText="#{search_lang['search.tpDetail']}" id="tableColumn5" style="#{search.columnStyle}">
<ui:imageHyperlink action="#{search.action}" id="imageHyperlink1" text="#{currentRow.value['details']}"/>
<ui:button action="#{search.button2_action}" id="button2" text="Button"/>
</ui:tableColumn>
</ui:tableRowGroup>
</ui:table>and back bean code is
public String button2_action() {
// TODO: Process the button click action. Return value is a navigation
// case name where null will return to the same page.
System.out.println("Invoke");
return null;
}i don't know what is problem there if found any solution, help me.You need to make sure that the getter of the datatable value returns exactly the same list in the apply request values phase of the form submit as it did during the render response phase of the initial display. Only this way JSF can find out which action which row was been invoked. Alternatively you can also place the data bean in session scope (which may have more impact), or use for example Tomahawk's t:dataTable with preserveDataModel attribute set to "true".
-
NW BPM start event not calling
Hi Experts,
I have deployed below process instance with start event having message trigger - synchronous service interface.
While testing from soapUI it gives error like:
<SOAP:Fault>
<faultcode>SOAP:Server</faultcode>
<faultstring>Server Error</faultstring>
<detail>
<jpr:Fault xmlns:jpr="http://com.sap/aii/proxy/xiruntime/">com.sap.aii.proxy.xiruntime.core.ESPXISystemFaultException: Error encountered during processing of XI request message in inbound ESP; Hint: com.sap.engine.interfaces.webservices.runtime.RuntimeProcessException: Technical difficulties were experienced during process execution.</jpr:Fault>
</detail>
</SOAP:Fault>
I already searched SDN on the above error, but no clue.
So I am pasting complete logs from NWA:
process()
[EXCEPTION]
com.sap.engine.interfaces.webservices.runtime.RuntimeProcessException: Technical difficulties were experienced during process execution.
at com.sap.glx.adapter.app.ucon.UnifiedConnectivityAdapter.invokeProvisionedMethod(UnifiedConnectivityAdapter.java:1021)
at com.sap.glx.adapter.app.ucon.wsprov.GalaxyImplementationContainer.invokeMethod(GalaxyImplementationContainer.java:109)
at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process0(RuntimeProcessingEnvironment.java:710)
at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.preProcess(RuntimeProcessingEnvironment.java:662)
at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process(RuntimeProcessingEnvironment.java:322)
at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process(RuntimeProcessingEnvironment.java:245)
at com.sap.engine.services.webservices.espbase.xi.impl.ESPXIMessageProcessorImpl.process(ESPXIMessageProcessorImpl.java:38)
at com.sap.aii.proxy.xiruntime.core.esp.ESP_XI_MessageAdapter.invokeXI2ESPProcessor(ESP_XI_MessageAdapter.java:430)
at com.sap.aii.proxy.xiruntime.sbeans.esp.xiproxies.SyncInvokeWSInterfaceIn_PortTypeImpl.syncInvokeWSInterfaceIn(SyncInvokeWSInterfaceIn_PortTypeImpl.java:23)
at com.sap.aii.proxy.xiruntime.sbeans.esp.xiproxies.SyncInvokeWSInterfaceIn_PortTypeBean.invokeMethod(SyncInvokeWSInterfaceIn_PortTypeBean.java:71)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:47)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:50)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatefulTransactionAssociation.invoke(Interceptors_StatefulTransactionAssociation.java:45)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:191)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatefulSessionInstanceGetter.invoke(Interceptors_StatefulSessionInstanceGetter.java:37)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:37)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:21)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:25)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:17)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:138)
at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:172)
at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:99)
at com.sun.proxy.$Proxy3245.invokeMethod(Unknown Source)
at com.sap.aii.proxy.xiruntime.core.XmlProxyJ2EE.parallelWSCall(XmlProxyJ2EE.java:649)
at com.sap.aii.proxy.xiruntime.core.XmlProxyJ2EE.call(XmlProxyJ2EE.java:147)
at com.sap.aii.proxy.xiruntime.core.XmlProxy$ProxyBeanCaller.call(XmlProxy.java:206)
at com.sap.aii.proxy.xiruntime.core.XmlProxy.processRequest(XmlProxy.java:181)
at com.sap.aii.proxy.xiruntime.core.XmlInbound.processRequestMessage(XmlInbound.java:115)
at com.sap.aii.proxy.xiruntime.core.XmlInbound.processMessage(XmlInbound.java:78)
at com.sap.aii.proxy.xiruntime.sbeans.JPRBean.onMessage(JPRBean.java:156)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:47)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:50)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatefulTransactionAssociation.invoke(Interceptors_StatefulTransactionAssociation.java:45)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:191)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatefulSessionInstanceGetter.invoke(Interceptors_StatefulSessionInstanceGetter.java:37)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:37)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:21)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:25)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:17)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:138)
at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:172)
at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:99)
at com.sun.proxy.$Proxy3271.onMessage(Unknown Source)
at com.sap.engine.messaging.impl.spi.ServicesImpl.deliver(ServicesImpl.java:362)
at com.sap.aii.adapter.xi.ms.XIEventHandler.onDeliver(XIEventHandler.java:1098)
at com.sap.engine.messaging.impl.core.queue.consumer.RequestConsumer.onMessage(RequestConsumer.java:75)
at com.sap.engine.messaging.impl.core.queue.Queue.run(Queue.java:1033)
at com.sap.engine.messaging.runtime.MSWorkWrapper.run(MSWorkWrapper.java:58)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:185)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:302)
Caused by: com.sap.glx.core.kernel.api.TransitionRollbackException: Exception during prepare, rolling back
at com.sap.glx.core.kernel.mmtx.AbstractTransactionBase.rollback(AbstractTransactionBase.java:701)
at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:196)
at com.sap.glx.core.kernel.mmtx.AbstractTransaction.commit(AbstractTransaction.java:77)
at com.sap.glx.adapter.app.ucon.UnifiedConnectivityAdapter.invokeProvisionedMethod(UnifiedConnectivityAdapter.java:987)
... 77 more
Caused by: com.sap.glx.core.kernel.api.TransitionRollbackException: Exception during prepare, rolling back
at com.sap.glx.core.kernel.mmtx.AbstractTransactionBase.rollback(AbstractTransactionBase.java:701)
at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:196)
at com.sap.glx.core.kernel.mmtx.AbstractTransaction.commit(AbstractTransaction.java:77)
at com.sap.glx.core.kernel.mmtx.PrimaryTransaction.inPrepare(PrimaryTransaction.java:163)
at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:194)
... 79 more
Caused by: com.sap.glx.core.kernel.api.TransitionException: An exception occurred while executing the script "_Ariba_Order_request:START_EVENT_UC_Start(
com.sap.glx.adapter.UnifiedConnectivityAdapter:Request request,
com.sap.glx.adapter.BPMNAdapter:Event_0_Start_5b8dad8a77346e54760570e1d1c8c088 event){
messageId=request:messageId;
initiator=request:initiator;
kicker=request:kicker;
instance=new com.sap.glx.adapter.BPMNAdapter:Instance_0_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(initiator, null, kicker, false, messageId, null);
bridge=new com.sap.glx.adapter.internal.Synchronizer:Bridge_0_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance, null, null, null, null);
bridge:setRequest(request);
token=new com.sap.glx.adapter.BPMNAdapter:Token_0_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance, 2, null, null, null);
delete event;
exit=new com.sap.glx.adapter.BPMNAdapter:Exit();
exit:onActivation("E0B249478BB1FD54F78611E3B53000059A3C7A00", instance, token);
delete exit;
controller=new com.sap.glx.adapter.internal.ExceptionAdapter:ExceptionController();
controller:setContext(token);
delete controller;
scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_1_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance);
view_7=new com.sap.glx.adapter.internal.ContainerAdapter:View_2_TextVariables_5b8dad8a77346e54760570e1d1c8c088(instance, scope, -1, false, false, null);
instance:setContainerObject("TextVariables", view_7);
scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_3_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance);
role_5=new com.sap.glx.adapter.internal.ContainerAdapter:View_0_Ariba_Order_request_PotentialOwners_5b8dad8a77346e54760570e1d1c8c088(instance, scope, -1, false, false, null);
scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_4_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance);
role_8=new com.sap.glx.adapter.internal.ContainerAdapter:View_3_Ariba_Order_request_ExcludedOwners_5b8dad8a77346e54760570e1d1c8c088(instance, scope, -1, false, false, null);
scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_5_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance);
role_6=new com.sap.glx.adapter.internal.ContainerAdapter:View_1_Administrators_5b8dad8a77346e54760570e1d1c8c088(instance, scope, -1, false, false, null);
instance:setContainerObject("Administrators", role_6);
scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_6_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance);
context_2=new com.sap.glx.adapter.internal.ContainerAdapter:Context_1_ProcessInstanceAttributes_5b8dad8a77346e54760570e1d1c8c088(instance, scope, 0, false, false, null);
instance:setContainerObject("ProcessInstanceAttributes", context_2);
scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_7_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance);
context_3=new com.sap.glx.adapter.internal.ContainerAdapter:Context_2_respdata_5b8dad8a77346e54760570e1d1c8c088(instance, scope, 0, false, false, null);
scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_8_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance);
context_1=new com.sap.glx.adapter.internal.ContainerAdapter:Context_0_reqdata_5b8dad8a77346e54760570e1d1c8c088(instance, scope, 0, false, false, null);
scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_11_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance);
context_4=new com.sap.glx.adapter.internal.ContainerAdapter:Context_3_payloadID_5b8dad8a77346e54760570e1d1c8c088(instance, scope, 0, false, false, null);
payload=request:getData();
mapper=new com.sap.glx.adapter.internal.Transformer:DataMapper();
yves_in=new com.sap.glx.adapter.internal.Transformer:Data();
yves_in:setData("", "$cXML", payload, "365B925081E9760C6CFC8AAE6A38BE4A");
yves_out=new com.sap.glx.adapter.internal.Transformer:Data();
data=context_1:getData();
scope=new com.sap.glx.adapter.internal.TypeRegistry:GenericScope(null, "B0A4F97FB4313113B63F888AA86D7449");
copy=scope:copy(data);
delete scope;
yves_out:setData("example.org/orderreq/Ariba_Order_request/Ariba_Order_request", "$example.org/orderreq/Ariba_Order_request/Ariba_Order_request:reqdata", copy, "B0A4F97FB4313113B63F888AA86D7449");
data=context_4:getData();
scope=new com.sap.glx.adapter.internal.TypeRegistry:GenericScope(null, "349213D98BEBBF54C08B2D9F20B3D5C7");
copy=scope:copy(data);
delete scope;
yves_out:setData("example.org/orderreq/Ariba_Order_request/Ariba_Order_request", "$example.org/orderreq/Ariba_Order_request/Ariba_Order_request:payloadID", copy, "349213D98BEBBF54C08B2D9F20B3D5C7");
mapper:map("E0B249478BB72A80F78611E38B9D00059A3C7A00_5b8dad8a77346e54760570e1d1c8c088", yves_in, yves_out);
data=yves_out:getData("example.org/orderreq/Ariba_Order_request/Ariba_Order_request", "$example.org/orderreq/Ariba_Order_request/Ariba_Order_request:reqdata", "B0A4F97FB4313113B63F888AA86D7449");
context_1:setData(data);
data=yves_out:getData("example.org/orderreq/Ariba_Order_request/Ariba_Order_request", "$example.org/orderreq/Ariba_Order_request/Ariba_Order_request:payloadID", "349213D98BEBBF54C08B2D9F20B3D5C7");
context_4:setData(data);
delete yves_in;
delete yves_out;
viewUpdater=new com.sap.glx.adapter.internal.ContainerAdapter:ViewUpdater();
delete viewUpdater;
delete mapper;
extractor=new com.sap.glx.adapter.internal.Transformer:DataExtractor();
yves_in=new com.sap.glx.adapter.internal.Transformer:Data();
data=context_1:getData();
yves_in:setData("example.org/orderreq/Ariba_Order_request/Ariba_Order_request", "$example.org/orderreq/Ariba_Order_request/Ariba_Order_request:reqdata", data, "B0A4F97FB4313113B63F888AA86D7449");
data=context_4:getData();
yves_in:setData("example.org/orderreq/Ariba_Order_request/Ariba_Order_request", "$example.org/orderreq/Ariba_Order_request/Ariba_Order_request:payloadID", data, "349213D98BEBBF54C08B2D9F20B3D5C7");
value1=extractor:extractAs("E0AAACCD28D4CDD4F78711E3840300059A3C7A00_5b8dad8a77346e54760570e1d1c8c088", yves_in, "BOOLEAN");
delete yves_in;
delete extractor;
subscription=new com.sap.glx.adapter.internal.CorrelationAdapter:Subscription_0_Wait_for_response_message_5b8dad8a77346e54760570e1d1c8c088(instance, value1, null, null);
subscription:addModifier(2, context_1);
subscription:addModifier(2, context_4);
new com.sap.glx.adapter.internal.LoggingAdapter:FlightRecorder_0_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance);
eventLogger=new com.sap.glx.adapter.internal.EventLogAdapter:EventLogger_0_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088();
eventLogger:createEntryWithMessageId(1, "E0B249478AE020FCF78611E3925F00059A3C7A00", instance, "E0B249478BB1FD54F78611E3B53000059A3C7A00", kicker, messageId);
delete eventLogger;
at com.sap.glx.core.kernel.execution.transition.ScriptTransition.execute(ScriptTransition.java:83)
at com.sap.glx.core.kernel.execution.transition.Transition.commence(Transition.java:196)
at com.sap.glx.core.kernel.mmtx.DirectNestedTransaction.inPrepare(DirectNestedTransaction.java:69)
at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:194)
... 82 more
Caused by: com.sap.glx.core.kernel.api.TransitionException: An exception occurred while executing the script command "context_3=new com.sap.glx.adapter.internal.ContainerAdapter:Context_2_respdata_5b8dad8a77346e54760570e1d1c8c088(instance, scope, 0, false, false, null)"
at com.sap.glx.core.kernel.trigger.config.Script.execute(Script.java:803)
at com.sap.glx.core.kernel.execution.transition.ScriptTransition.execute(ScriptTransition.java:78)
... 85 more
Caused by: com.sap.glx.core.kernel.api.TransitionRollbackException
at com.sap.glx.core.kernel.mmtx.AbstractTransactionBase.rollback(AbstractTransactionBase.java:701)
at com.sap.glx.core.kernel.mmtx.AbstractTransactionBase.rollback(AbstractTransactionBase.java:710)
at com.sap.glx.core.dock.impl.GalaxyClassImpl.create(GalaxyClassImpl.java:234)
at com.sap.glx.core.kernel.trigger.config.Script$NewInstance.execute(Script.java:368)
at com.sap.glx.core.kernel.trigger.config.Script.execute(Script.java:798)
... 86 more
Caused by: com.sap.glx.core.kernel.api.TransitionException: Cannot find type for :#cXML
at com.sap.glx.core.internaladapter.typeregistry.TypeRegistryImpl.instantiateSDO(TypeRegistryImpl.java:176)
at com.sap.glx.core.internaladapter.typeregistry.TypeRegistryImpl.access$000(TypeRegistryImpl.java:51)
at com.sap.glx.core.internaladapter.typeregistry.TypeRegistryImpl$3.invoke(TypeRegistryImpl.java:372)
at com.sap.glx.core.dock.impl.DockObjectImpl.invokeMethod(DockObjectImpl.java:657)
at com.sap.glx.core.internaladapter.ContainerAdapter$InstanceContainerHandler.onConstruction(ContainerAdapter.java:769)
at com.sap.glx.core.dock.impl.DockObjectImpl.creation(DockObjectImpl.java:284)
at com.sap.glx.core.dock.impl.GalaxyClassImpl.create(GalaxyClassImpl.java:224)
... 88 more
--DivyeshHi Jocelyn,
sorry for OT question.
I`m experiencing Transition exception a lot. But it Transition Exception caused by
Caused by: com.sap.glx.core.kernel.api.CancelTransitionException: java.lang.IllegalArgumentException: Generator skipped on service 'cezdata.corp/wmsintegration/pr/pm/WMSIS019/WMSIS019_pool' operation 'SI_WMSIS019_In'
Let me explain the bug - I have developed application with cca 30 BPM processes. Each of them, of course, has Message Trigger.
But sometimes, that trigger just stops working and when I try to start a process, that exception is logged.
It is quite easy to repair - I have to delete original Message trigger and create a new one from exactly same wsdl - so formally nothing changes.
But it is really annoying, and my customer has grey hair out of that. It is unpredictable which process stops working because of that.
I`m on SAP PO 7.4 SP06 (AEX, BPM, BRM)
Dont you know what causes that problem and how to avoid it?
Thank you -
Hello,
I ask you for advice (assistance). A week ago I re-installed the PC and installed to the computer again Photoshop CS5. Everything works for me except for the function of storing images for web by creating events. Called me constantly destination folder does not exist. The problem I had before. I ask you this advice on how to solve this problem.
Thanks for the advicehi,
i don't know if i integrate your code correctly, but it doens't work for me. I presently create skin for client and this plugin is really usefull for me.
i use win7 64bit home edition, and photoshop cs5
there is how i integrate this :
// EDIT ALEX GRENIER
function getPreferencesFolder() {
var userData = Folder.userData;
if (!userData || !userData.exists) {
userData = Folder("~");
var folder = new Folder(userData + "/xtools");
if (!folder.exists) {
folder.create();
return folder;
function exportChildren(dupObj, orgObj, dupDocRef, folder) {
if (getCSVersion() >= 10) // CS3 Only
// Create assets folder in Flex app's directory
// var tempFolder;
// tempFolder = new Folder (folder + "/assets/");
// tempFolder.create();
// EDIT ALEX GRENIER
var tempFolder;
tempFolder = getPreferencesFolder();
i put the code creating the folder in comment and put your code in place, i also put your function before the function creating file.
With the base code (without modification) photoshop is able to create my folder assets, but when it try to export the png, it export nothing, so i have a empty folder.
thank you,
Alex -
Revision: 16929
Revision: 16929
Author: [email protected]
Date: 2010-07-15 07:38:44 -0700 (Thu, 15 Jul 2010)
Log Message:
Add a class that will register the required class aliases in the event the mxml compiler generation [RemoteClass(alias="")] code is not called because an application does not use the Flex UI framework.
Add a reference to this class in the RPCClasses file so it always gets loaded.
QE notes: Need a remoting and messaging regression test that doesn't use Flex UI.
Bugs: Watson bug 2638788
Modified Paths:
flex/sdk/trunk/frameworks/projects/rpc/src/RPCClasses.as
Added Paths:
flex/sdk/trunk/frameworks/projects/rpc/src/mx/utils/RpcClassAliasInitializer.asGreat exercise to document the problem like this. It got me thinking about how an app with modules would be different from an app that does not use modules. Solution: I moved the dummy reference of PersonPhotoView out to the main application file (as opposed to being inside the module) and it worked. I've probably been lucky not to have experienced this problem earlier, because for most other entities I have an instance attached to my model which is linked / compiled with the main application.
-
Global class event handler not called
I am having a problem where I created a function module that instatiates an application log class. This application log class has methods ON_* for public events of other classes.
The function module then processes its routines and as a result some of these events are raised. Ex: The function module creates a Purchase order and in that class I have a public even PO_CREATED that is raised upon succesfull creation of the PO. The global class APPLICATION_LOG I created has a method ON_PO_CREATED for event PO_CREATED of class ZCL_MAT_PO.
I put a break point in the APPLICATION LOG method but is os not called.
ANy idea of what Iam doing wrong or missing?
Thanks,
LeoHi Leo, did you set the handler method?
SET HANDLER <method_name> FOR <object>.
Regards,
Rich Heilman -
JTable containing checkbox column is not getting updated
My application has a JTable and the first column is made up of checkboxes I have added a mouse listener for this table and implementd mousePressed(MouseEvent) method also. So when the user presses the mouse on these checkboxes I will update my loca data structure. Now the problem is this, when the user presses and drags the mouse to some other place(out of the current cell) then the table is not getting updated(the cell is not changing its value). But my local data structure is getting updated as the event is already fired. Please suggest me a solution for this.
Thanks in advance
Varunthanks for your information. Actually I have seen this tutorial before but I think my case is little different. Sorry for not explaining it completely. My table has got a checkbox column header and another checkbox which is not part of the table. The second column in the table contains a user object. User can select rows by clicking on the checkbox header (select all rows/ deselect all rows), by clicking on individual cells or by clicking on the third checkbox provided for a specific purpose. So whenever the user does this "selection" operation I update one member variable in the user object which is in the second column. I tried putting my code in the setValueAt() method of my table model but couldn't make it work because of my lack of experience in swing or programming. So please tell me whether what you have suggested is valid or not. I added a mouse listener because there was a requirement to show some information to the user when he do a double click on one column of the table.
-
Print iCal Event Notes ("info")
I couldn't believe that my version of iCal (1.5.5 with Panther) can print a calendar, but cannot print the Event Notes from the "info" pane, with the calendar...
Tell me it's not true!
Presumably, a calendar user would use the Event Notes (in the "info" pane) to record important detail about an event: the doctor's office address and phone(s), the conference call number and passcode, and such...
Can Tiger's iCal 2 do this?I haven't figured it out either - kind of makes it worthless to print if you can't see the details, only the header. and you can't iSync the details to a phone or PDA either. huge miss on apple's part if we're not missing something....
-
Hi,
I have a custom visual web part that I've developed for SharePoint 2013 Foundation. I am using Visual Studio 2013 to develop this web part.
In my visual web part I have GridView that I use to update data in a SQL 2008 R@ Server Database. In dev and test the OnRowUpdatingEvent fires properly, but in production it does not. I have the same version of SharePoint running on dev/test/prod.
The main difference between the three environments is the hardware. Production has a much beefier sever than dev and test. Dev and test are also virtual machines where production is.
At first I thought my problem was cache related, and I made adjustments per this article:
http://www.dmcinfo.com/latest-thinking/blog/id/8657/fix-sharepoint-2013-distributed-cache-timeouts
That didn't help because the event is still not firing. I took my test application and pointed it to the production database, and that event still fires in test but not in production. So I believe that eliminates database permission errors since I'm
using the same credentials in both instances.
My guess is that I need to change some settings in the production environment, but I'm not sure at this point what that might be.
Any suggestions on what settings to look at?
Brian
Brian Hochgurtel
My blogTry this solution :
http://stackoverflow.com/questions/5893373/c-sharp-rowupdating-method-not-called-when-update-is-clicked-in-a-gridview -
I noticed that on my iPhone, the notes included with events are cut off for meetings set up by others, and as a result a lot of times critical information, like conference call login information, is cut off with it (my iPad seems to show more, if not all, notes)
For events I set up, there appears to be an "All Notes" button that then shows everything. Events set up by someone else do not have that. Is this new in iOS5? I didn't notice it as an issue before.
Either way, It would be nice to have access to the notes for all events, not that the ones created by me. Am I missing something?Keynote print layout is a bit of a mess, and is well commented on by users, it prints differently than previous versions, eg in handouts the slide image is much smaller than previously, in grid, the slides are off the printable area on the left.
We are hoping this is fixed in the round of scheduled updates. -
Why button can not call its script?
I did very simple work: open Director MX 2004, click the
button icon on the Tool Palette, and draw a button on the stage.
Right click it and menu appear. Click "Scripts..." and script
window opens. MouseUp() event function is there already. Write
something in mouseUp(). Anything is OK. Put a breakpoint on some
line.
OK, then click menu Control-Play to run the movie. Click the
button on stage. At this time, it ought to be broken on the
breakpoint. But it didn't. The mouseUp() was not called!
On the other hand, other controls are OK, such as Text,
Shape, etc.. Only botton can not call its script. Is it a bug of
Director MX 2004?It may be that you're creating flash component buttons. Try
setting the tool palette to 'classic' mode (the dropdown at the top
of the tool palette). The buttons you create once you've done this
will be native director buttons.
I've not really used flash component elements much at all so
I can't offer advice as to why the mouseup isn't working with it.
- Ben -
OCCI AQ Subscription: callback not called
When data changed in table, I want my application to know immediately. So I use the Subsription class. The implements as follows. When I insert row to table set_tab_info, the triggers acts, but the callback not called. What's wrong?
--create multi consumer queue table
BEGIN
dbms_aqadm.create_queue_table (
queue_table => 'hr.table06',
queue_payload_type => 'RAW',
comment => 'multi-consumer',
multiple_consumers => TRUE,
compatible => '8.1.0'
END;
--create multi consumer queue
BEGIN
dbms_aqadm.create_queue (
queue_name => 'queue06',
queue_table=> 'hr.table06'
END;
BEGIN
dbms_aqadm.start_queue(queue_name => 'queue06');
END;
--create table
CREATE TABLE set_tab_info(
flag NUMBER
--create trigger, as a test, the payload is a byte
CREATE OR REPLACE TRIGGER tablechangeNew
AFTER UPDATE OR INSERT OR DELETE
ON set_tab_info
FOR EACH ROW
DECLARE
enqopt dbms_aq.enqueue_options_t;
mprop dbms_aq.message_properties_t;
enq_msgid RAW(16);
rcpt_list dbms_aq.aq$_recipient_list_t;
BEGIN
rcpt_list(0) := sys.aq$_agent('RECEIVER06', null, null);
mprop.recipient_list := rcpt_list;
dbms_aq.enqueue(
queue_name => 'hr.queue06',
enqueue_options => enqopt,
message_properties => mprop,
payload => HEXTORAW('61'),
msgid => enq_msgid);
END;
#include <iostream>
#include <iomanip>
#include <string>
#include <cstdlib>
#include <vector>
using namespace std;
#include "occi.h"
using namespace oracle::occi;
#include "occiAQ.h"
using namespace oracle::occi::aq;
string username("HR");
string password("HR");
string connstr("192.168.8.22:1521/study");
Environment* p_env = NULL;
Subscription* p_sub = NULL;
Connection* p_conn = NULL;
vector<Subscription> sub_vec;
class NotifyRegister
public:
static unsigned int callback(Subscription& sub, NotifyResult* nr)
//nr->getPayload();
//Message msg = nr->getMessage();
//Bytes bt =nr->getMessageId();
cout << "callback was called!" << endl;
return 0;
void notifyTest()
p_env = Environment::createEnvironment(Environment::EVENTS);
p_sub = new Subscription(p_env);
p_sub->setSubscriptionNamespace(Subscription::NS_AQ);
//SCHEMA.QUEUE:CONSUMER_NAME
p_sub->setSubscriptionName("HR.QUEUE06:RECEIVER06");
p_sub->setPresentation(Subscription::PRES_DEFAULT);
p_sub->setProtocol(Subscription::PROTO_CBK);
p_sub->setNotifyCallback(&NotifyRegister::callback);
//what's the context mean, how to set?
p_sub->setCallbackContext((void*)this);
p_env->enableSubscription(*p_sub);
p_conn = p_env->createConnection(username, password, connstr);
sub_vec.push_back(*p_sub);
p_conn->registerSubscriptions(sub_vec);
int main()
NotifyRegister nr;
nr.notifyTest();
pause();
return EXIT_SUCCESS;
I don't know how to set the callback context. so just use this statement:
p_sub->setCallbackContext((void*)this);Thanks, once again. Sorry for my naive questions, but I'm unable to find a good example for this...
After registering the Subscriber, and creating the environment in EVENT mode, it seems like it is picking up the message. Once I send a AQ message, I get an error from visual studio, telling me the variable ESP was not properly saved across a function call. At least it reacts now :)
Could it be that I'm doing something wrong when defining or hooking my callback function? The breakpoint in the callback function is never called....
my registering routine now looks like this:
void aq_connection::create_callback() {
payload = new Bytes(env); //is this the correct way?
Subscription sub(env);
sub.setSubscriptionNamespace(oracle::occi::aq::Subscription::NS_AQ);
sub.setProtocol(oracle::occi::aq::Subscription::PROTO_CBK);
sub.setPayload(*payload);
sub.setCallbackContext((void *)this);
sub.setSubscriptionName(quename + ":" + config->subscribername);
sub.setPresentation(oracle::occi::aq::Subscription::PRES_DEFAULT);
sub.setNotifyCallback(&aq_connection::event_message);
subs.push_back(sub);
conn->registerSubscriptions(subs);
I thought it was ok to create a local Subscription instance, as I put it into the global subs-vector.
Thanks in advance,
Sverre -
As said in thread
reportErrors(PageLifecycleContext ctx) not called
Old Struts 10.1.2 can remain as is and will work in JDev 10.1.3.
For some unexplained reason in my new account registration action, the entity validation method doesn't get called after migration?
This jsp and action are similar to the toyStore new account creation,
10.1.3 trace extract:
as you see prepareToCreateNewAccount
06/07/08 20:20:38 com.photoswing.webview.actions.AccountRegisterAction.prepareModel webAccountAM call to prepareToCreateNewAccount
06/07/08 20:20:38 com.photoswing.model.site.AccountInSiteImpl.create BEGIN
06/07/08 20:20:38 com.photoswing.webview.actions.AccountRegisterAction.prepareModel END
06/07/08 20:20:38 com.photoswing.webview.actions.AccountRegisterAction.processUpdateModel BEGIN
06/07/08 20:20:38 com.photoswing.webview.actions.AccountRegisterAction.processUpdateModel actionForm: oracle.adf.controller.v2.struts.forms.BindingContainerActionForm
06/07/08 20:20:38 com.photoswing.webview.actions.AccountRegisterAction.processUpdateModel curLogin:
06/07/08 20:20:38 com.photoswing.webview.actions.AccountRegisterAction.validateModelUpdates BEGIN skipCycle: false
06/07/08 20:20:38 com.photoswing.webview.actions.AccountRegisterAction.validateModelUpdates mystr: null
06/07/08 20:20:38 com.photoswing.webview.actions.AccountRegisterAction.validateModelUpdates call to super.validateModelUpdates
06/07/08 20:20:38 com.photoswing.webview.actions.AccountRegisterAction.validateModelUpdates after call to super.validateModelUpdates, this.hasErrors(ctx): false
JDev 10.1.2 extract:
06/07/08 20:41:45 com.photoswing.model.site.AccountInSiteImpl.create BEGIN
06/07/08 20:41:45 com.photoswing.webview.actions.AccountRegisterAction.prepareModel END
06/07/08 20:41:45 com.photoswing.webview.actions.AccountRegisterAction.processUpdateModel actionForm: oracle.adf.controller.struts.forms.BindingContainerActionForm
06/07/08 20:41:45 com.photoswing.webview.actions.AccountRegisterAction.processUpdateModel curLogin:
06/07/08 20:41:45 com.photoswing.webview.actions.AccountRegisterAction.validateModelUpdates BEGIN skipCycle: false
06/07/08 20:41:45 com.photoswing.webview.actions.AccountRegisterAction.validateModelUpdates mystr: null
06/07/08 20:41:45 com.photoswing.webview.actions.AccountRegisterAction.validateModelUpdates call to super.validateModelUpdates
06/07/08 20:41:45 com.photoswing.model.site.AccountInSiteImpl.validateEntity BEGIN
etc ...
Thank you for giving me a clue.
FredI traced my program, the action form has all the pending values entered in the jsp page but the View Row isn't updated?
extract of pending values:
06/07/09 12:05:47 com.photoswing.webview.actions.AccountRegisterAction.processUpdateModel actionForm, key: Email, value: [email protected]
06/07/09 12:05:47 com.photoswing.webview.actions.AccountRegisterAction.processUpdateModel actionForm, key: FirstNameLatin, value: aaaxxx
For your info:
Service update 4 was installed.
The navigation event to the review page is not a commit action.
My trace shows that:
-my prepareToCreateNewAccount is called when the jsp is first accessed (no event handling)
- after activating next button:
- no new call to prepareToCreateNewAccount => ok
- processUpdateModel is called
- the ActionForm gets filled => ok
- validateModelUpdates is called
but VO row (based on one Entity) and Entity set and validation methods are not called?
My page def has only one iterator?
Question when and where does the framework copy ActionForm values to underlying VO?
I noticed that there were new ActionForm classes:
oracle.adf.controller.v2.struts.forms.BindingContainerActionForm
Do they work with
<set-property property="v1ActionClass"
value="com.photoswing.webview.actions.AccountRegisterAction"/>
I need a clue!
I'm lost!
Regards
Fred -
HR_IN_LOANS_VALIDATE badi is not called while infotype 45 is changed
Hi all,
I have activated badi:HR_IN_LOANS_VALIDATE implementation: ZHR_VALIDATE and its is working fine for creating Infotype 45 (INS) but when i change(MOD) it is not called. ie it does not enter the badi implementation code.
please see if you can help me.
thanks
Ujjavalhi IA,
I have tried different combination in SWEHR3
E Business event 1001 Relationships A025 Is attended by INS 0 PDOTYPE_E CREATED
E Business event 1001 Relationships A025 Is attended by INS BOKF 0 PDRELA_025 CREATED
E Business event 1001 Relationships A025 Is attended by INS BOKP 0 PDRELA_025 CREATED
E Business event 1001 Relationships A025 Is attended by INS BOKW 0 PDRELA_025 CREATED
E Business event 1001 Relationships A025 Is attended by INS CNOW 0 PDRELA_025 CREATED
E Business event 1001 Relationships A025 Is attended by INS CPRB 0 PDRELA_025 CREATED
E Business event 1001 Relationships A025 Is attended by UPD BOKF 0 PDRELA_025 MODIFIED
E Business event 1001 Relationships A025 Is attended by UPD BOKP 0 PDRELA_025 CREATED
E Business event 1001 Relationships A025 Is attended by UPD BOKW 0 PDRELA_025 CREATED
E Business event 1001 Relationships A025 Is attended by UPD CNOW 0 PDRELA_025 CREATED
i did same thing in SWEHR2....still no luck...
please guide me if have any alternative options
Maybe you are looking for
-
Hi All i have to create a transfer structure. in dso and cube i have 27 fields. but in tranfer structure it is showing 50 fields. i have to select the 27 fields out of 50 or i have to activate 50 fields in transfer structure. Thanks & Regards krishna
-
Hi everybody, I'm trying to deploy a web application with Jdev 10.1.3.3 (target webserver will be OC4J 10.1.3.5). My project has the classical structure, with a "Model" project for ADF-BC and a "ViewController" project for the view layer. To create a
-
Guyz, I configured webutil 6 month before and its working fine till date the only problem with window title. i didnt change anything in formweb.cfg file i use the below code for MDI_FORMS_WINDOW. SET_WINDOW_PROPERTY(FORMS_MDI_WINDOW,WINDOW_STATE,MAXI
-
IPhoto can't click on on options (after OPT-CMD) startup
I am using iPhoto 9.3.2 (670.63) under Mountain Lion (10.8.1). The thumbnails are showing up wrong pictures so I do a OPT-CMD startup of iPhoto. After iPhoto pop up with the dialog box to select the "rebuild thumbnail" option, I cannot click the blue
-
Need Power Connector Cable for ATI Radeon X1900 XT
I need the 6pin power connector/cable for my ATI Radeon X1900 XT to work with my Mac Pro. I can't use the card as I lost the small cable pior to installation and now I can't find one anywhere. It is the 6 pin cable that connects into the Radeon X1900