Human Tasks: Create form elements like combobox, radio or checkbox on form

Hi!
The creation of above mentioned elements is not the hard part. But how can I get the information back into my BPEL process? Is there a build-in way that I've missed?
A <select><option></option></select> (aka combobox or dropdown list) marks the selected item by simply writing "selected" into the <option> element. It seems there is no build-in way to get the "selected" or "checked" (for checkboxes) as boolean back into BPEL?
Any ideas?
Best Regards
Sebastian

Okay, that works for me:
private String getTableFieldDropdown(Element payload, Form form, String xpath,
String inloopXPath, String datatype, String refxPath, String valueXPath, String displayXPath) throws Exception {
Field thisField = null;
thisField = form.getField(xpath);
String thisDisabled = "";
String returnString = "";
int len3 = PayloadFormGenerator.selectNodes(payload, refxPath, form.getNamespaceMap()).length;
if (thisField == null || thisField.isEditable())
thisDisabled = "";
else
thisDisabled = "disabled";
returnString = "<td align=\"left\"><select name=\"" + PayloadFormGenerator.constructName(inloopXPath) + "\" dataType=\"" + datatype + "\" " + thisDisabled + ">";
for (int i3 = 1; i3 <= len3; i3++) {
returnString = returnString + "<option value=\"" + PayloadFormGenerator.selectNodeValue(payload, refxPath + "[" + i3 + "]" + valueXPath, form.getNamespaceMap()) + "\" ";
if (PayloadFormGenerator.selectNodeValue(payload, refxPath + "[" + i3 + "]" + valueXPath, form.getNamespaceMap()).equals(PayloadFormGenerator.selectNodeValue(payload, inloopXPath, form.getNamespaceMap())))
returnString = returnString + "selected=\"selected\"";
returnString = returnString + ">" + PayloadFormGenerator.selectNodeValue(payload, refxPath + "[" + i3 + "]" + displayXPath, form.getNamespaceMap()) + "</option>";
returnString = returnString + "</select></td>";
return returnString;
Call this function in your form to create a drop down list: (example for dynamic number of rows where you can select a product in each; for loop not included here - i4 is your for counter)
<%=getTableFieldDropdown(payload, form, "/ns0:task/ns0:payload/ns1:SalesTaskPayload/ns1:SelectedProductList/ns1:Product[*]/ns1:id", "/ns0:task/ns0:payload/ns1:SalesTaskPayload/ns1:SelectedProductList/ns1:Product["+ i4 +"]/ns1:id", "anySimpleType", "/ns0:task/ns0:payload/ns1:SalesTaskPayload/ns1:ProductList/ns1:Product", "/ns1:id", "/ns1:name")%>
parameters explained:
1. payload variable as provided in the auto generated task form
2. form variable as provided in the auto generated task form
3. xpath (the subject of selection)
4. inloopxpath (where your selection should be stored)
5. datatype
6. xpath to the list that delivers combobox information
7. will be concated to 6. -> goes into <option value="{X}">
8. will be concated to 6. -> goes into <option>{X}</option>
Cheers
Sebastian

Similar Messages

  • How can I create the component like ComboBox in flashlite2.0 ?

    How can I create the component like ComboBox in flashlite2.0
    I'm a new man, please gave me an example!
    Thanks.

    I don't see anything special about the play button in MPMoviePlayerController....
    the "glowing" effect icons are all standard UIBarButtonItem objects:
    http://developer.apple.com/iphone/library/documentation/UIKit/Reference/UIBarBut tonItem_Class/Reference/Reference.html

  • When submitting form, form elements like text box are not available in my action page. This occurs only for several times. if i resubmit the form, i can get the form elements in my action page. May be form get submitted twice in firefox 3.6.13

    I have a simple web page with two form elements say, two text box and submit button. when submitting my form, i didn't get the form data in my action page. This occurs only in Firefox 3.6.13 several times. Not always.
    May be form get submitted twice?
    Note: Remember, i am not facing this issue. However my friend is facing this issue.

    I have a simple web page with two form elements say, two text box and submit button. when submitting my form, i didn't get the form data in my action page. This occurs only in Firefox 3.6.13 several times. Not always.
    May be form get submitted twice?
    Note: Remember, i am not facing this issue. However my friend is facing this issue.

  • Using (implementing?) a gui element like the itemlist in the invoice-form

    Hi there,
    I have to add a list of models (Yamaha SR500,Yamaha XT,Honda XL) selected from a userdefined table to the item form (a matrix or whatever). This list is quite huge, so I have to search in this selectionbox like I can do in the items for an invoice.
    I also need to delete these elements from this matrix.
    So, it's sth. like the itemcollection of an invoice.
    Does anyone know how to get sth. like this ????????
    Some sample-code ???
    Quite new but willing
    Regards,
    Holger

    Hi Holger,
    My first advice is trying to piece your problems. And then ask about details, not an overall solution for your problems.
    Then, try to find what you need in the forum. Lots of code is posted.
    You could start looking at this two issues:
    Code for filliong a matrix from a recordset from Sebastian Danober.
    Check this other post with code for adding folder to an existing form.
    There are other post in the forum about how to create a form with a matrix, etc.
    Regards,
    Ibai Peñ

  • Human Task task's parameters as combobox

    Is posible to show a Human Task's parameter as a <select> in its auto-generated form? I mean, without editing the generated jsp manually.
    I'm using SOA Suite 10.1.3.1.0 and JDev 10.1.3.3
    Thanks
    Neuquino
    Message was edited by:
    Neuquino

    Is posible to show a Human Task's parameter as a <select> in its auto-generated form? I mean, without editing the generated jsp manually.
    I'm using SOA Suite 10.1.3.1.0 and JDev 10.1.3.3
    Thanks
    Neuquino
    Message was edited by:
    Neuquino

  • I require a Human Task allowing a null, updatable, payload parameter

    Hello, I hope to get help here for I have been stuck for a while.
    I am developing a BPEL process for employee Onboarding. Several of the Human Task forms contain parameters, like Address2, MIDDLE_NAME, etc, which it is perfectly all right for the parameter to have no value. For my exerts below I will use the MIDDLE_NAME parameter.
    Below is my error message, the assign which is throwing the error, the schema definition DetermineLocation_ht_payload.xsd, and the task definition file DetermineLocation_ht.task
    I have tried various permutations and locations of MinOccurs and nillable. I find it hard to believe that this is such an abnormal requirement, to allow a null element in a Human Task. I am obviously missing something fundemental.
    TheseTask Forms should present data to a user, and allow them to edit the updatable data and Approve. Even the non-updatable elements throw the error if null. Everything else in my process works fine: if I use a single character like a "~" or something when initiating from BPEL Console, all works fine. I hate to use a '~' or something for a "filler", seems so bogus.
    Can someone please help me? I would appreciate it greatly. Thank you in advance.
    Richard
    ERROR MESSAGE
    [2009/04/03 14:27:16] Error in evaluate <from> expression at line "1212". The result is empty for the XPath expression : "/task:task/task:payload/task:EMPLOYEE_MIDDLE".less
    oracle.xml.parser.v2.XMLElement@12cb5f1
    [2009/04/03 14:27:16] "{http://schemas.xmlsoap.org/ws/2003/03/business-process/}selectionFailure" has been thrown.less
    -<selectionFailure xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/">
    -<part name="summary">
    <summary>
    empty variable/expression result.
    xpath variable/expression expression "/task:task/task:payload/task:EMPLOYEE_MIDDLE" is empty at line 1212, when attempting reading/copying it.
    Please make sure the variable/expression result "/task:task/task:payload/task:EMPLOYEE_MIDDLE" is not empty.
    </summary>
    </part>
    </selectionFailure
    ASSIGN CODE
    <copy>
    <from variable="DetermineLocation_ht_1_globalVariable"
    part="payload"
    query="/task:task/task:payload/task:EMPLOYEE_MIDDLE"/>
    <to variable="ReceiveRead_iv" part="Root-Element"
    query="/ns2:Root-Element/ns2:Emp/ns2:EmpMiddle"/>
    </copy>
    DetermineLocation_ht_payload.xsd
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <schema targetNamespace="http://xmlns.oracle.com/bpel/workflow/task" xmlns:tns="http://xmlns.oracle.com/bpel/workflow/task" attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <complexType name="payloadType">
    <sequence>
    <element name="RECRUITER" type="xsd:string"/>
    <element name="RECRUITER_FIRST" type="xsd:string"/>
    <element name="RECRUITER_LAST" type="xsd:string"/>
    <element name="SPACE_ADMIN" type="xsd:string"/>
    <element name="EMPLOYEE_NO" type="xsd:string"/>
    <element name="EMPLOYEE_FIRST" type="xsd:string"/>
    <element name="EMPLOYEE_MIDDLE" type="xsd:string"/>
    <element name="EMPLOYEE_LAST" type="xsd:string"/>
    <element name="START_DATE" type="xsd:string"/>
    <element name="GENDER" type="xsd:string"/>
    <element name="SL_OFFICE" type="xsd:string"/>
    <element name="ASSIGNMENT" type="xsd:string"/>
    <element name="PROJECT_MANAGER" type="xsd:string"/>
    <element name="COMPANY" type="xsd:string"/>
    <element name="BUSINESS_GROUP" type="xsd:string"/>
    <element name="WORKGROUP" type="xsd:string"/>
    <element name="SUPERVISOR" type="xsd:string"/>
    <element name="LOCATION" type="xsd:string"/>
    </sequence>
    </complexType>
    <element name="payload" type="tns:payloadType"/>
    </schema>
    DetermineLocation_ht.task
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <taskDefinition targetNamespace="http://xmlns.oracle.com/DetermineLocation_ht" xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20" xmlns:ora="http://schemas.oracle.com/xpath/extension" xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc" xmlns:task="http://xmlns.oracle.com/bpel/workflow/task" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://xmlns.oracle.com/bpel/workflow/taskDefinition"
    xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:ehdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
    xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath">
    <name>DetermineLocation_ht</name>
    <id>${domain_id}_${process_id}_${process_revision}_DetermineLocation_ht</id>
    <title>Determine Location</title>
    <priority>3</priority>
    <process processId="" processVersion=""/>
    <routingSlip xmlns="http://xmlns.oracle.com/bpel/workflow/routingSlip">
    <globalConfiguration>
    <owner>bpeladmin</owner>
    </globalConfiguration>
    <participants isAdhocRoutingSupported="false">
    <participant name="Assignee1"
    skipCondition="string-length(/task:task/task:payload/task:LOCATION) > 1">
    <resource isGroup="false" type="XPATH">/task:task/task:payload/task:SPACE_ADMIN</resource>
    </participant>
    </participants>
    <onErrorParticipant>
    <resource isGroup="true" type="STATIC">FINALAPPROVERS</resource>
    <resource isGroup="true" type="STATIC">oc4j-administrators</resource>
    </onErrorParticipant>
    <notification includeTaskAttachments="false" actionable="false"
    secureNotifications="false">
    <reminder relativeDate="ASSIGNED" reminderDuration="P1DT"
    recurrence="2"/>
    <action name="ASSIGN" recipient="ASSIGNEES"><![CDATA[concat(string('<table width="100%">
    <TR BGCOLOR=#ededed HEIGHT="100">
    <td>Attention,<br><br>'), /task:task/task:payload/task:EMPLOYEE, string(' has been assigned to '), /task:task/task:payload/task:ASSIGNMENT, string('.  Please click on the link below to enter the location for this new employee.<br><br><br>
    Sincerely,<br><br>
    The BPEL Onboarding Business Process</td></tr></table>'))]]></action>
    <action name="COMPLETE" recipient="CREATOR"><![CDATA[concat(string('Task '), /task:task/task:title, string(' requires your attention. Please access the task from the worklist application.'))]]></action>
    <action name="ERROR" recipient="OWNER"><![CDATA[concat(string('Task '), /task:task/task:title, string(' requires your attention. Please access the task from the worklist application.'))]]></action>
    </notification>
    </routingSlip>
    <workflowConfiguration xmlns="http://xmlns.oracle.com/bpel/workflow/configuration"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <outcomes>
    <outcome>APPROVE</outcome>
    </outcomes>
    <restrictedActions/>
    <payload xmlSchemaDefinition="DetermineLocation_ht_payload.xsd">
    <messageAttribute name="RECRUITER" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="RECRUITER_FIRST" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="RECRUITER_LAST" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="SPACE_ADMIN" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="EMPLOYEE_NO" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="EMPLOYEE_FIRST" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="EMPLOYEE_MIDDLE" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="EMPLOYEE_LAST" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="START_DATE" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="GENDER" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="SL_OFFICE" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="ASSIGNMENT" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="PROJECT_MANAGER" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="COMPANY" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="BUSINESS_GROUP" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="WORKGROUP" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="SUPERVISOR" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    <messageAttribute name="LOCATION" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="true"/>
    </payload>
    <bpelEventListener>false</bpelEventListener>
    </workflowConfiguration>
    </taskDefinition>
    Edited by: rsuchoza on Apr 3, 2009 2:58 PM

    Hi
    Try to make the <messageAttribute name="ASSIGNMENT" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="false"/>
    to
    <messageAttribute name="ASSIGNMENT" attributeType="SIMPLE_TYPE"
    type="xsd:string" updatable="true"/>

  • Simple calculator in html5 using web form elements

    Hello
    I would like to make an educational miniwebsite with my son who is getting interested in internet programming.
    I was wondering if html5 could be used to do simple math in html5 using the input of web form elements, such as radio button (for the choice of math operation: add/sub/mult/div) and two numbers in input fields.
    Then a submit equivalent would generate the output result, preferrably in a field still on the same page (without going to another page, as it is the case with submit).

    I think that you might be looking for something like this:
    http://www.developerdrive.com/2012/06/creating-a-web-page-calculator-using-the-html5-outpu t-element/

  • Workflow API: adding and accessing file Attachments to a Human Task

    Hi there,
    I am using the Workflow Services Java API (11.1.1) for SOA Suite to access and manipulate human tasks. I would like to be able to access and add file attachments to existing human tasks. I am using the methods provided in the AttachmentType interface.
    When adding an attachment, the problem I am running into is that an attachment does created and associated with the task, however it is empty and has no content. I have attempted both setting the input stream of the attachment, as well as the content string and in each case have had no success.
    I have successfully added and accessed an attachment using the worklist application, however when trying to access the content of this attachment through code I receive an object with mostly null/0 values throughout, apart from the attachment name.
    As the API's are not overly rich in documentation I may well be using them incorrectly. I would really appreciate any help/suggestions/alternatives in dealing with BPEL task attachments.
    Thanks
    The code I am using resembles:
    List attachments = taskWithAttachments.getAttachment();
    for(Object o : attachments){
    AttachmentType a = (AttachmentType) o;
    String content = a.getContent(); +// NULL+
    InputStream str = a.getInputStream(); +// NULL+
    String name = a.getName(); +// Has the attachment name+
    String mime = a.getMimeType(); +// Has the mime type+
    long size = a.getSize(); +// 0+
    Edited by: 855489 on May 2, 2011 4:23 PM
    Edited by: 855489 on May 2, 2011 8:48 PM

    I am also facing the same issue, using 11.1.1.6, anyone managed to solve this?
    Regards
    Venkat

  • How to do the same form element alignments on two different regions

    Hi,
    I have two different regions on the same page as the second one is underneath of the first one. Both the regions have some form elements like text field, select list etc. However the alignment of the elements on these two regions are not the same. In the individual regions, it just aligns the input fields based on the maximum length of the label within the region only, so it creates two different vertical alignments per region. How to have the same alignment for the input elements across the regions?
    (I wish to upload the screenshot of the page but there is no provision in this forum to do so).
    Thanks in advance.
    Natarajan

    The basic approach is to set the width of the item labels using a CSS embedded style sheet in the page HTML Header:
    <style type="text/css">
    label {
      display: block;
      width: 15em;
    </style>If you want to limit this to items in specific regions, then give these region(s) static region IDs (such as <tt>region-1</tt>) for use as CSS selectors:
    <style type="text/css">
    #region-1 label,
    #region-2 label {
      display: block;
      width: 15em;
    </style>

  • 'Replace pages' not modifying form element positions - is there another way?

    PDF form design in InDesign, bring pdf into Acrobat to add field validation JS. All good.
    Modify form in InDesign, 'Replace pages' in Acrobat to get new design changes in without losing JS. 
    Good, except Acrobat won't bring across any altered positions of form elements, only non-form elements like text and images.
    Adding the JS to the PDF created by InDesign each time the form changes is time consuming.  Tried adding the JS in one go via "Edit All JavaScripts" but Acrobat won't retain. It seems to want each form field's JS added to it individually.
    Is there another way? Thanks.

    Gilad D (try67) wrote:
    That is exactly the point of the Replace Pages command. It replaces the underlying page while maintaining the objects on top of it in their place.
    If you want to insert a page with all of its objects in tact then you should delete the old page and then use the Insert From File command (under Tools - Pages) to add the new pages. I believe that will do what you're looking for.
    The 'Insert From File' I expected would lose any script I've applied to an element previously on the page, which would be totally understandable. I guess the form elements are in a tricky position, being both an intrinsic part of the design (InDesign) and Interactivity (Acrobat).

  • Error while deploying the ADF task flow project based on a SOA human task

    Hi,
    I created a SOA project with a BPEL process containing Human task, deployed it and could able to test it successfully. I created ADF task flow project based on the Human task created in the earlier project and tried to deploy it. It is giving the following error. The idea is to display the task details in BPM worklist.
    [04:10:53 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application RevisionApprovalMgmtTaskFlow [Version=V2.0] on soa_server1.: null.
    [04:10:53 PM] Weblogic Server Exception: weblogic.application.WrappedDeploymentException
    [04:10:53 PM] See server logs or server console for more details.
    [04:10:53 PM] weblogic.application.WrappedDeploymentException
    [04:10:53 PM] #### Deployment incomplete. ####
    [04:10:53 PM] Deployment Failed
    The server log shows this detailed error.
    java.lang.IllegalArgumentException
         at oracle.xml.xpath.JXPathExpression.evaluate(JXPathExpression.java:178)
         at oracle.xml.xpath.JXPath.evaluate(JXPath.java:288)
         at oracle.security.jps.internal.config.xml.XmlConfigurationFactory.initialize(XmlConfigurationFactory.java:425)
         at oracle.security.jps.internal.config.xml.XmlConfigurationFactory.getConfiguration(XmlConfigurationFactory.java:149)
         at oracle.security.jps.internal.config.deploy.CredentialStoreDeployer.getCredentialStore(CredentialStoreDeployer.java:56)
         at oracle.security.jps.wls.listeners.CredentialDeployment.migrate(CredentialDeployment.java:83)
         at oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener.migrateAppCredential(JpsApplicationLifecycleListener.java:137)
         at oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener.preStart(JpsApplicationLifecycleListener.java:78)
         at weblogic.application.internal.flow.BaseLifecycleFlow$PreStartAction.run(BaseLifecycleFlow.java:277)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.application.internal.flow.BaseLifecycleFlow$LifecycleListenerAction.invoke(BaseLifecycleFlow.java:194)
         at weblogic.application.internal.flow.BaseLifecycleFlow.preStart(BaseLifecycleFlow.java:57)
         at weblogic.application.internal.flow.HeadLifecycleFlow.prepare(HeadLifecycleFlow.java:279)
         at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:609)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
         at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:185)
         at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:53)
         at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
         at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.createAndPrepareContainer(ActivateOperation.java:197)
         at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doPrepare(ActivateOperation.java:89)
         at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepare(AbstractOperation.java:217)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentPrepare(DeploymentManager.java:747)
         at weblogic.deploy.internal.targetserver.DeploymentManager.prepareDeploymentList(DeploymentManager.java:1216)
         at weblogic.deploy.internal.targetserver.DeploymentManager.handlePrepare(DeploymentManager.java:250)
         at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.prepare(DeploymentServiceDispatcher.java:159)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doPrepareCallback(DeploymentReceiverCallbackDeliverer.java:157)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$000(DeploymentReceiverCallbackDeliverer.java:12)
         at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$1.run(DeploymentReceiverCallbackDeliverer.java:45)
         at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Apart from these, I have Model and View Controller projects in the application. If I create the ADF task flow based on a Human task in another sample application, it works fine. Only in this application, it does not work. Not sure what this error is. Any ideas?
    Thanks,
    Manoj

    What I suggest is go into EM and undeploy this composite and all versions. (Only if you don't want the existing ones). Then redeploy your process. This will avoid the version conflict and create a new version. 1.0. Then the next time you try and deploy you need to either specify a new version or check the box to say the version can be over written.
    cheers
    James

  • Removal of af:form element

    Hi all,
    JDeveloper 11.1.1.6.0
    We're in the process of implementing a credit card processing page that will be performing a cross domain form action via jQuery or some other means. One of our primary requirements is to guarantee that form data on this page is not submitted to our server but we would like ADF to render the page to maintain a consistent look and feel for the site.
    Would dropping the af:form element be an effective means of guaranteeing form data is not sent to our WLS server (via post, ajax, server side validation)? Any pitfalls?
    Thanks!

    Hi,
    removing the af:form element will not generate the HTML form element and this not submit anything to the server. So yes, this would work.
    Frank

  • Spry Elements vs Regular Form Elements

    What is the difference between using Spry Validation form elements as opposed to just using regular form elements?
    Which do you prefer and why?
    Thanks

    What is the difference between using Spry Validation form elements as opposed to just using regular form elements?
    Regular form elements are passive elements that wait for information to be entered to subsequently be processed by another mechanism.
    SpryValidation form elements are the same as above except that they have an active validation module attached. There are standard validation rules that can be used (like e-mail address) or you can supply custom validations.
    Because Spry is a JavaScript library, the Spry widgets will only work with JavaScript enabled. The advantage of JavaScript is that it is processed by the browser (client side) and that, in our case, validation is instantaneous. When JS is turned off or the browser is not JS capable, there is no validation. This means that if you require serious validation, you must, in addition/in lieu of, have server side validation.
    Which do you prefer and why?
    I use both client side (Spry) and server side (PHP) validation, the latter to make sure that if Spry fails there is always the safe and trusted method of validation.
    Why Spry? Spry widgets allow for a better user experience.
    I hope this helps.
    Ben

  • Unable to initiate a Human Task after Wait

    I am using Oracle BPEL Version 10.1.3.1.0.
    Issue:
    Human task throws an javax.naming.NameNotFoundException: java:comp/env/ejb/local/TaskServiceBean not found in ActivityManagerBean when it should initiate a Human Task Service.
    Steps:
    In Oracle BPEL workflow
    1. Have a wait state for 30 seconds.
    2. Have a Human Task created after that.
    Expected result
    Create an instance
    Human task should be created after 30 seconds.
    Actual results.
    Exception is thrown
    javax.naming.NameNotFoundException: java:comp/env/ejb/local/TaskServiceBean not found in ActivityManagerBean
    If the wait condition is removed or time is set to 0, the error goes away.
    Domain.log shows
    <2007-05-04 12:00:13,421> <ERROR> <default.collaxa.cube.services> <::> ORABPEL-30029
    <2007-05-04 12:00:13,421> <ERROR> <default.collaxa.cube.services> <::>
    <2007-05-04 12:00:13,421> <ERROR> <default.collaxa.cube.services> <::> Error in invoking task service.
    <2007-05-04 12:00:13,421> <ERROR> <default.collaxa.cube.services> <::> An client side error occured in invoking the task service.
    <2007-05-04 12:00:13,421> <ERROR> <default.collaxa.cube.services> <::> Please check the exception error stack to identify the error. Contact oracle support if error is not fixable.
    <2007-05-04 12:00:13,421> <ERROR> <default.collaxa.cube.services> <::>
    Please advise.

    Yes, it works.
    I can create task and see them in the worklist application.
    Even if I put the time in wait to 0, it works.
    It should be a very simple bug to reproduce. We have been able to do that on two different machines using these steps.
    A wait of 30 seconds.
    A human workflow task.
    Initiate the process, it gives error. Remove the wait. It works.
    Use a pick activity and provide timeout in onAlarm instead of wait approach. The same issue occurs.

  • Human tasks deployment

    All,
    We have 5 human tasks in our BPEL 10.1.3.3 projects and out of those 5 tasks, 2 tasks are having payload input.
    Now my question is do all these 5 human tasks runs as j2ee applications or only tasks having input payload will run as j2ee applications ?
    because when I see production instance we have only few human tasks are available under applications in EM console.
    but actually there are many human tasks created in the instance.
    Regards,
    Praveen

    Hi Anirudh,
    But that seems to be wrong.
    When I observed in our client production. There are actually many human tasks being created but when I login to EM I see only few j2ee applications under ->
    +oc4j Instance
    +Middleware Services
    + BPEL
    +orabpel
    Please advice.
    Thanks,
    Praveen

Maybe you are looking for

  • OBIEE 10g - Office Add-in - MS Office 2010

    We have all users on MS Office 2010 and our BI app is on OBIEE 10g. Unfortunately the OBIEE 10g Office Add-in doesn't install with MS Office 2010 (It works with Office 2003 and 2007 only). Does anyone knows how to resolve this? Other options I tried

  • How do i remove firefox it is not in my add/remove files

    I think my system has been attacked,i cannot access pages that i have always accessed,when i go to these pages i am directed to mallicious sites,not the original sites,and i cannot access the real sites,no matter what i do,even if i use IE,i am eithe

  • Updation of WSDL file in BODS 4.0

    Hi All, The salesforce is upgraded to the latest version and the API version that we currently using is 31. In BODS we are using old version of web service endpoint and when updated to the new web service endpoint  https://eu1.salesforce.com/services

  • Jvm crach when entering debug braekpoint

    When I enable FastSwap and set a breakpoint the jvm crash when the breakpoint is hit. I use Oracle Enterprise Pack for Eclipse 11.1.1.5.0, Eclipse 3.5 Build id: 20100218-1602 I have tried the supplied Jrocket 1.6.0_14 jvm, the supplied JDK 1.6.0_14 a

  • How to send more than one request parameter through a submit button?

    Hi, I want to send two request parameters from the JSP page to the Struts application via following tag: <html-el:submit property="event" value="Assign"/> This piece of code sends only one request parameter to the backend application: The name of the