Request in Reply Payload Problem

I am attempting to build a component which takes our common xml payload, passes it through a Mediator and then off to an external service. In the response I need to copy values from the request object and pass back to caller. In my mediation activity I have selected the "Include request in the reply payload" which added an initial.request parameter, I am able to do a mapping and even the test comes out the way I expect it but when I deploy I get an
error:
Caused by: javax.xml.transform.TransformerException: XML-22036: (Error) Cannot convert result tree fragment to NodeSet.

this shouldn't happen. if you are opening a new window and calling your jsp you obviously should get a new session. but if you are opening a new page without closing your browser your session shouldn't get killed.
post your jsp so that we can have a look. remember that navigator and ie are very different.
cem.

Similar Messages

  • TS2776 An error message keeps appearing when I have I tunes open, saying could not complete request. Any similar problems or ideas to resolve?

    An error message keeps appearing when I have I tunes open, saying could not complete request. Any similar problems or ideas to resolve?

    Also I now can`t access any of my itunes library and am concerned that if I remove it from my computer I will lose everything as I have no option of accessing and therefore backing anything up. Any ideas?

  • Sample of Request and Reply in Jco Interface - problem

    Hi
    I created a transaction with JCO interface and generated a sample of req and reply for a custom BAPI. A day later my co-worker added 2 new parameters in the BAPI and in this case I need to regenerate the req and reply sample.
    After I regenerated them ( I also tried delete the Jco Interface and insert new Jco action block); however the new parameters were not showing up.
    I do have another MII system (free from using this BAPI) and tested with the new BAPI. I received the new parameters in the new MII system.
    So it looks like MII is caching this Req and Repl.
    Question
    1. How do I clear the cache manually?
    - edited: I found the answer in forum .... to use http://<SERVER>:<PORT>/XMII/JCOProxy?Mode=Reset . This solve my problem. Do anyone knows any side effect if I use this ?
    2. Where does MII save this Req & Rep? in MII Database?
    3. In MII JCO interface config page, there is a parameter call retention time in Days. Does this parameters related to my problem?
    (there is no documentation about this parameter)
    any answer is greatfully appreciated
    Edited by: Seng Kiang Hoe on Jan 11, 2011 2:42 PM

    This issue has come up  before in the last 12 months.  I would search back further than the standard90 days to find what they did to refresh the NW or possibly ECC cache of the BAPI structure.
    Regards,
    Mike

  • Complete Task with Payload Problem  -- no Human Task Drop Handler

    I'm reading section 26.4.1 of Developer’s Guide for Oracle SOA Suite 11g Release 1 (11.1.1) E10224-01 where it refers to figure 26-5 Human Task Drop Handler for Creating the Task Display Form of section 26.4 Creating a Task Display Form.
    I've generated taskDetails1.jspx. I highlight Task as in the figure and right click in askDetails1.jspx (design tab) but I don't get a Create JSF page dialog as in the figure.
    I get a dialog with Insert Before Show Detail Spacer ... etc (no Create /Human Task/Complete Task with payload etc)
    Do I need to position within a particular element ? or is this a bug ? wrongly documented?

    Hi Diana, thanks for your reply.
    You're probably right about 2 different error messages.
    To the 1st one: I'm sure that status task is Assigned (to me). I received an email and I also reply on that email.
    To error log: I found out that error log appears when I enable email endpoint on Complete Task service. But I managed to solve this problem. I set wrong user. Now I have here the same user as is written in login-config.xml so log seems to be ok.
    So I created new task and tried to complete it via email. Now I receive email with another error:
    LiveCycle ES has tried to process your request and encountered the following error:
    com.adobe.idp.dsc.provider.service.email.impl.EmailProviderException: Error getting user context
    This response to your original email
    Subject:RE:Task Assignment - Process: WorkFlowClient/Test. Task 92 has been assigned to you.
    Date Sent:Thursday, October 27, 2011 3:05 PM
    Body:Complete
    DO-NOT-DELETE: MTIxMSExNjAzITIwMTE=!
    Attachments:
    And to the last point: email endpoint is set up with TestPOP3@mydomain and user receiving email has jpetrla@mydomain. I use Lotus Notes as email client, I tried another account with gmail, but the result was same.
    Now I really don't know to do...
    Jan

  • IOS 5 problems [reply all problems HERE]

    Please reply all iOS 5 problems here so Apple can read them and fix.
    my iOS 5 problem is that I can't listen my music on iphone.
    when i click play nothing happens.

    Yesterday, I wanted to update both my iPhone 4 and our iPad to ios 5 and boy this turned out to be a 5 hour affair with only the iPhone successfully installed. Initially, I had to update my iTunes to 10.5 which requested a PC reboot. Coincidentally Microsoft also had 8 updates requiring installation when I rebooted - already 45 mins lost. With iTunes 10.5 successfully installed, we then proceeded to install ios 5 on the iPad. The software downloaded OK (700MB plus and lots of activity on the Apple servers), the download speeds were slow. OK, an hour later and now ready to install, except there was an error after error after ........error message, all completely meaningless and then something about not being able to make contact with the Apple servers to verify ..... whatever.
    Against my better judgement, now tried to install ios 5 on my iPhone 4. And again, the 700MB download (another 60 mins), backup of the iPhone and then installation and then for some reason the restore was interrupted/continued three to four times. Sometimes the Apple device lost connection with my laptop (was the cable faulty? Never before...., sometimes an uninitiated reboot was required (and not requested) to keep things moving along.
    Apple, are you there? What went wrong? We're just as devasted as you all are that Steve is no longer around but is this a tribute? This kind of performance is what Microsoft provided a decade ago! Is this good enough?
    A slightly less Apple enthusiast today!

  • Requests (No vendor assigned ) problem

    Hi all,
    we are trying SRM 5.0 standalone scenario
    we were successful at configuring Self-Service Procurement, all our shopping carts take the right way from it's forming till getting invoice.
    Now we try the Requests menu. We go to Requests. We fill all fields with product id and others. then i open Assign Vendors/Service Agents window, and i can't see and choose any vendors. there is a message:
    "No vendor assigned 
       The request cannot be made because there are no vendors that can be assigned" 
    Why it is so? Why it is impossible to choose any vendors, and in shopping carts all is OK?
    will award points for helpful answers

    Hi,
    I have exactly the same problem. From which transaction I can create a vendor list?
    I have tried with BPH but I can not see the vendor list.
    Cheers,
    Elo

  • My "Apple ID has been disabled" keeps coming up even though I have changed my  apple password, as requested, to solve the problem. What do I do now?

    My "Apple ID has been disabled" keeps occurring even though I changed my Apple ID password, as requested to be the thing to do to solve this problem.  This is also doing the same on my iMac at home... which uses the same Apple ID and Apple ID password as my iPad...What do I do now?

    Read the details here and see if any of them relate to these emails.   If they do, follow the instructions included.
    Identifying fraudulent "phishing" email

  • When trying to write a text on a photo I get this as soon as I draw the textbox"Could not complete your request because of an problem error" then "An unexpected and unrecoverable problem has occurred. Photoshop Elements will now exit."

    After updating my macbook to Maverick, PS 7 I had for years stop working. I then download the Elements 12. It has been a few weeks and I can't do anything on it. I quit every time but tI had to come forward because a friend asked to do her wedding invitation. I downloading an image and background, put everything together, and when saving it... BAM! I've that first message "could not complete your request..." I tried several solutions i found on forums, somehow the image is saved as I wanted, it took all day long working on it, i don't even know what got it right. Now I am working on the writing and every time I draw the text box, i get the "could not complete your request..." then I hot "OK" and I get the "an unexpected and unrecoverable problem occurred..." photoshop quits!
    About my mac OSX 10.9.4
    2 GHZ Intel Core 2 Duo
    4 GB 1067 MHz DDR3
    72.62 GB free out of 159.18
    Please Help!!!
    Error Code:      0x02000148
    Trap Number:     133

    After updating my macbook to Maverick, PS 7 I had for years stop working. I then download the Elements 12. It has been a few weeks and I can't do anything on it. I quit every time but tI had to come forward because a friend asked to do her wedding invitation. I downloading an image and background, put everything together, and when saving it... BAM! I've that first message "could not complete your request..." I tried several solutions i found on forums, somehow the image is saved as I wanted, it took all day long working on it, i don't even know what got it right. Now I am working on the writing and every time I draw the text box, i get the "could not complete your request..." then I hot "OK" and I get the "an unexpected and unrecoverable problem occurred..." photoshop quits!
    About my mac OSX 10.9.4
    2 GHZ Intel Core 2 Duo
    4 GB 1067 MHz DDR3
    72.62 GB free out of 159.18
    Please Help!!!
    Error Code:      0x02000148
    Trap Number:     133

  • BPM: collect payload problem

    hi all.....
    i created BPM pattern collect payload.
    BPM steps are...
    in loop receive-contaner1(append the recmsg to recmsg_multi)-container2(increment the counter)-loopend, transfermation-send
    And the container elements are.....
    counter.....simple type
    recmsg.....abs intrface
    recmsg_multi..........abs intrface (multi line)
    sendmsg...............abs intrface
    but in testing , i got the msg in information area as fallows..
    "container element 'recmsg' in step Receive is initialized but is not used"
    and in sxi_cache the return code is 99.
    how can i resolve this problem...
    can anybody help me?
    thanks,
    Kumar

    Hi,
    this message is just an information and will not cause the error.
    You should compare your process with the collectPayload pattern (SAP Basis -> System Patterns).
    Reactivate the process in the IR and you could also try to refresh the process in sxi_cache manually with "Repeat Activation".
    Regards
    Patrick

  • Transport request main task releasing problem

    Hi friends,
    Environment is Linux, ECC5.0, Two system landscape,
    I have problem with Transport Request task releasing when I am going to release the subtask that willbe released success fully when I am trying to releasing the main task that task is not released and at that time the system wil hang( mesg on the status bar is tp is connected success fully) thats it we wait for long time then also that looks thats only no log will be generating in usr/sap/trans/log there will be a log on this one that log is
    WARNING:/usr/sap/trans/tmp/<username.LOS>is already in use (10), I'm waiting 3 sec(20070326124305). My name:pid 7265 on test(sd1adm)
    after saw the this mesg I kill the 7265 pid then also same proablem.
    I change the ownet of the request then the request is released but not uppeard in the import que. whn i am trying to import in que as manually that will appear in que but not importing when i press the import button the error is tp error 0203.
    I check the both users authorizations also bothe authorizations also same then why it wil happening ???
    then I check the nfc also that service also running ok the six services are 1.off 2.off 3.on 4. on 5.on 6.off.
    I mount the trans dir also the mounting points also ok tms configuration is also ok
    wt can i do plz help me with ur valuable suggessions
    Thankyou
    Ranjith

    Hello Ranjith,
    This is usually because the tp transport buffer lock file remains locked by the
    operating system (OS).
    You should be able to move or delete this file from the DIR_TRANS/tmp dir.
    After that the tp should run fine after.
    Thanks,
    George

  • Urgent Helping Request, Kindly Reply to ME ASAP

    Dears
    Good day,
    My name is Abd, and I am student in beginner level in java, I am trying to implement multi-video players which playing multi-types of videos and especially .avi
    Basically, I have many eye-data data as a videos files (.avi) and each file of them has a really big size (at least 3 GB) So my application must contains 6 video players combined together and for sure each one of them has its own seek-bar and later on I will try to do one seek bar for each 2 players which can control the frames in both players so I will touch in somehow video synchronization problems and those stuff, but currently I am still in the first phase and I just would like to play those videos (.avi) files and deal with them.
    Therefore, I was searching about Java videos-programming stuff and I found the following links:
    http://forum.java.sun.com/thread.jspa?threadID=5137239&messageID=9501229
    https://lethe.koumbit.net/trac/drone/browser/trunk/plugins /drone.jmf/src/actors?rev=830
    https://lethe.koumbit.net/trac/drone/changeset/814
    http://trac.openmicroscopy.org.uk/shoola/browser/trunk/SRC/org/openmicroscopy/shoola/agents/imviewer/util/MoviePlayer.java?rev=3456
    http://rsb.info.nih.gov/ij/plugins/jmf-player.html
    http://snippets.dzone.com/tag/avi
    http://www.koders.com/java/fidBDB1AF254551A78640049131F2BCDD66E99399C3.aspx
    http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=45&t=001985
    http://www.cs.duke.edu/courses/spring06/cps001/class/06 _Sound/bookClasses/
    http://staff.science.uva.nl/~horus/dox/horus1.1/refidljava/html/interfaceVideoPlayer.html
    and I tested all of them but unfortunately non of them can plays .avi files or big files
    So I will be grateful for you and I will appreciate if you could help me and support me with correct source codes I can benefit from it in my application at least just video player for big files from type .avi
    Kindly consider and reply to me as soon as possible, because I am really badly waiting for your help.
    Thank you,
    Kind Regards,
    Abd

    stop cross posting

  • Process On Value Request with Search Help Problem

    I have a screen with a field that has a custom search help attached to it.  I am using Process On Value-Request which ultimately uses function module F4IF_FIELD_VALUE_REQUEST to return the selected value from the search help. The value is then moved to the screen field.
    THE PROBLEM: If I enter a value in a field on the screen, then use the search help from a different field the first value I entered gets cleared. Here is a code sample. Any suggestions as to why this is happening?
    NOTE: The values that get cleared are fields on the screen that I do not reference at all in user_command_2501.
    *****SCREEN 2500 FLOW LOGIC*********
    PROCESS BEFORE OUTPUT.
      MODULE status_2500.
    PROCESS AFTER INPUT.
      MODULE user_command_2500.
    PROCESS ON VALUE-REQUEST.
      FIELD makt-matnr MODULE user_command_2501.
    MODULE user_command_2501 INPUT.
      ok_code = sy-ucomm.
      CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
           EXPORTING
                searchhelp      = 'ZWS_ASSETMATR'
                fieldname       = ' '
                tabname         = ' '
           TABLES
                return_tab      = search_itab
           EXCEPTIONS
                no_values_found = 1.
      MOVE search_itab-fieldval TO: makt-matnr.
      REFRESH search_itab.
      SELECT SINGLE maktg FROM makt INTO crea_description
        WHERE matnr = search_itab-fieldval.
      MOVE 'I' TO scrn_attr_sw.
      sy-ucomm = 'ENTER'.
      LEAVE SCREEN.
      CALL SCREEN 2500.
    ENDMODULE.                 " user_command_2501  INPUT
    Message was edited by: Jason DeLuca
    Message was edited by: Jason DeLuca

    Hi Jason
    It seems you should first revise your code since your POV is not implemented so good.
    Regards
    *--Serdar <a href="https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=qbk%2bsag%2bjiw%3d">[ BC ]</a>

  • Signature and Reply spacing problems in Mail

    2 minor problems I can't seem to fix. Outside of these, my switch from about 8 years of Entourage has been fairly painless.
    When I reply to a message, Mail leaves just enough space for the cursor, but the return message I'm typing is right on top of the reply's history. My other mail program would have an extra return added. In fact, when I forward an email in Mail, the extra return is there, just not when I reply. I can't find any kind of Preference setting or logic for this. Any ideas how to force the extra return in there?
    I've had nothing but bizarre behavior from the signatures. Here's 2 of them:
    I have numerous signatures for my numerous accounts. It seems when I go to do a minor tweak, the spacing beneath the signature changes. Also, I have selected, "Always match my default signature font" (verdana 12). Sometimes it does, sometimes it doesn't.
    Any ideas?
    Thanks,
    Dave

    For 2 make sure this is off:
    Sorry, don't know the answer to 1.
    Regards,
    Colin R.

  • Reply icon problems in Mail, and Opening Apps Word, Excel

    Hi
    I have two major problems with Lion.
    1.) In Lion if a conversation email is open and lets say I've replied to the first email, if i get a new email from that person it shows it as being replied to. (Unless you open the collosapable icon then it shows which ones have been replied to.)
    This is very annoying as all my business staff, when glansing at emails think they've replied to some, when in fact they have not.
    How can we fix this or sort this problem out?
    2.) When we open Excel or Word, it seems to open any recent documents we've had open and this is very frustrating. Especially if your showing someone a document and you don't want private documents popping up. Any ideas?
    Really appreciate your helps
    Mark Brown

    For 2 make sure this is off:
    Sorry, don't know the answer to 1.
    Regards,
    Colin R.

  • Payload problem

    hey devima this is my payload check it for me please:
    <!-- Custom -->
    <!-- custom -->
                        <!-- Today field -----------------------------------------------------------
    Today:03/09/06 <br> -->
    <%
    thisField = form.getField("/ns0:task/ns0:payload/ns1:travelRequest/ns1:generalInfo/ns1:today");
    if (thisField == null || thisField.isEditable()) {
    thisDisabled = "";
    else {
    thisDisabled = "disabled";
                             %>
    <table cellpadding="0" cellspacing="3">
    <tr><th align="left">Today<font class="payloadAsterick"> *</font></th>
                                  <td align="left"> <%=PayloadFormGenerator.selectNodeValue(payload, "/ns0:task/ns0:payload/ns1:travelRequest/ns1:generalInfo/ns1:today", form.getNamespaceMap(),"date", context.getLocale())%> </td>
                                  <input name="<%=PayloadFormGenerator.constructDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:generalInfo/ns1:today")%>" type="hidden" value="<%=PayloadUtil.getElementDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:generalInfo/ns1:today",form,context.getLocale(),task)%>"></input>
                                  <input name="<%=PayloadFormGenerator.constructDataTypeName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:generalInfo/ns1:today")%>" type="hidden" value="date"></input>
                                  </tr>
    </table>
    <!-- ----------------------------------------------------------------------->
    <!--general info ----------------------------------------------------------->
    <fieldset>
    <legend>General Information</legend>
    <table border = 0 width = 100%>
    <tr>
    <!-- Name field -----------------------------------------------------------
    <td> Name: <input type="text" name="date" value="08/03/06" size="8" > </td> -->
    <%
                             thisField = form.getField("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:name");
                             if (thisField == null || thisField.isEditable()) {
                                  thisDisabled = "";
                             else {
                                  thisDisabled = "disabled";
                             %>
    <td><table border = "0" width="100%">
                                  <tr><th align="left">Name<font class="payloadAsterick"> *</font></th>
                                  <td align="left"><%=PayloadFormGenerator.selectNodeValue(payload, "/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:name", form.getNamespaceMap(),"string", context.getLocale())%></td>
                                  <input name="<%=PayloadFormGenerator.constructDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:name")%>" type="hidden" value="<%=PayloadUtil.getElementDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:name",form,context.getLocale(),task)%>"></input>
                                  <input name="<%=PayloadFormGenerator.constructDataTypeName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:name")%>" type="hidden" value="string"></input>
                                  </tr>
    </table> </td>
    <!-- ----------------------------------------------------------------------->
    <!-- Rank field -----------------------------------------------------------
    <td> Rank: <input type="text" name="date" value="08/03/06" size="8" > </td> -->
    <%
                             thisField = form.getField("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:rank");
                             if (thisField == null || thisField.isEditable()) {
                                  thisDisabled = "";
                             else {
                                  thisDisabled = "disabled";
                             %>
    <td><table border = "0" width = "100%">
                                  <tr><th align="left">Rank<font class="payloadAsterick"> *</font></th>
                                  <td align="left"><%=PayloadFormGenerator.selectNodeValue(payload, "/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:rank", form.getNamespaceMap(),"string", context.getLocale())%></td>
                                  <input name="<%=PayloadFormGenerator.constructDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:rank")%>" type="hidden" value="<%=PayloadUtil.getElementDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:rank",form,context.getLocale(),task)%>"></input>
                                  <input name="<%=PayloadFormGenerator.constructDataTypeName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:rank")%>" type="hidden" value="string"></input>
                                  </tr>
    </table></td>
    <!-- ----------------------------------------------------------------------->
    <!-- idNo field -----------------------------------------------------------
    <td> idNo: <input type="text" name="date" value="08/03/06" size="8" > </td> -->
    <%
                             thisField = form.getField("/ns0:task/ns0:payload/ns1:travelRequest/ns1:generalInfo/ns1:idNo");
                             if (thisField == null || thisField.isEditable()) {
                                  thisDisabled = "";
                             else {
                                  thisDisabled = "disabled";
                             %>
    <td><table border = "0" width = "100%">
                                  <tr><th align="left">Id No<font class="payloadAsterick"> *</font></th>
                                  <td align="left"><%=PayloadFormGenerator.selectNodeValue(payload, "/ns0:task/ns0:payload/ns1:travelRequest/ns1:generalInfo/ns1:idNo", form.getNamespaceMap(),"string", context.getLocale())%></td>
                                  <input name="<%=PayloadFormGenerator.constructDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:generalInfo/ns1:idNo")%>" type="hidden" value="<%=PayloadUtil.getElementDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:generalInfo/ns1:idNo",form,context.getLocale(),task)%>"></input>
                                  <input name="<%=PayloadFormGenerator.constructDataTypeName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:generalInfo/ns1:idNo")%>" type="hidden" value="string"></input>
                                  </tr>
    </table></td>
    <!-- ----------------------------------------------------------------------->
    </tr>
    <tr>
    <!-- Company field -----------------------------------------------------------
    <td> Company: <input type="text" name="date" value="08/03/06" size="8" > </td> -->
    <%
                             thisField = form.getField("/ns0:task/ns0:payload/ns1:travelRequest/ns1:generalInfo/ns1:company");
                             if (thisField == null || thisField.isEditable()) {
                                  thisDisabled = "";
                             else {
                                  thisDisabled = "disabled";
                             %>
    <td><table border = "0" width = "100%">
                                  <tr><th align="left">Company<font class="payloadAsterick"> *</font></th>
                                  <td align="left"><%=PayloadFormGenerator.selectNodeValue(payload, "/ns0:task/ns0:payload/ns1:travelRequest/ns1:generalInfo/ns1:company", form.getNamespaceMap(),"string", context.getLocale())%></td>
                                  <input name="<%=PayloadFormGenerator.constructDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:generalInfo/ns1:company")%>" type="hidden" value="<%=PayloadUtil.getElementDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:generalInfo/ns1:company",form,context.getLocale(),task)%>"></input>
                                  <input name="<%=PayloadFormGenerator.constructDataTypeName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:generalInfo/ns1:company")%>" type="hidden" value="string"></input>
                                  </tr>
    </table></td>
    <!-- ----------------------------------------------------------------------->
    <!-- Destination field -----------------------------------------------------------
    <td> Destination: <input type="text" name="date" value="08/03/06" size="8" > </td> -->
    <%
                             thisField = form.getField("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:destination");
                             if (thisField == null || thisField.isEditable()) {
                                  thisDisabled = "";
                             else {
                                  thisDisabled = "disabled";
                             %>
    <td><table border = "0" width = "100%">
    <tr><th align="left">Destination<font class="payloadAsterick"> *</font></th>
                                  <td align="left"><%=PayloadFormGenerator.selectNodeValue(payload, "/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:destination", form.getNamespaceMap(),"string", context.getLocale())%></td>
                                  <input name="<%=PayloadFormGenerator.constructDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:destination")%>" type="hidden" value="<%=PayloadUtil.getElementDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:destination",form,context.getLocale(),task)%>"></input>
                                  <input name="<%=PayloadFormGenerator.constructDataTypeName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:destination")%>" type="hidden" value="string"></input>
                                  </tr>
    </table></td>
    <!-- ----------------------------------------------------------------------->
    <!-- Class field -----------------------------------------------------------
    <td> Class:
    <select name="Class">
    <option>F</option>
    <option>C</option>
    <option>Y</option>
    </select></td> -->
    <%
                             thisField = form.getField("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:class");
                             if (thisField == null || thisField.isEditable()) {
                                  thisDisabled = "";
                             else {
                                  thisDisabled = "disabled";
                             %>
    <td><table border = "0" width = "100%">
    <tr><th align="left">Class<font class="payloadAsterick"> *</font></th>
                                  <td align="left"><%=PayloadFormGenerator.selectNodeValue(payload, "/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:class", form.getNamespaceMap(),"string", context.getLocale())%></td>
                                  <input name="<%=PayloadFormGenerator.constructDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:class")%>" type="hidden" value="<%=PayloadUtil.getElementDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:class",form,context.getLocale(),task)%>"></input>
                                  <input name="<%=PayloadFormGenerator.constructDataTypeName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:class")%>" type="hidden" value="string"></input>
                                  </tr>
    </table></td>
    <!-- ----------------------------------------------------------------------->
    </tr>
    <tr>
    <!-- Date Of Birth field -----------------------------------------------------------
    <td> Contact address: <textarea name="address" cols="10" rows="3" > </textarea> </td> -->
    <%
                             thisField = form.getField("/ns0:task/ns0:payload/ns1:travelRequest/ns1:generalInfo/ns1:dateOfBirth");
                             if (thisField == null || thisField.isEditable()) {
                                  thisDisabled = "";
                             else {
                                  thisDisabled = "disabled";
                             %>
    <td><table border = "0" width = "100%">
    <tr><th align="left">Date Of Birth<font class="payloadAsterick"> *</font></th>
                                  <td align="left"> <%=PayloadFormGenerator.selectNodeValue(payload, "/ns0:task/ns0:payload/ns1:travelRequest/ns1:generalInfo/ns1:dateOfBirth", form.getNamespaceMap(),"date", context.getLocale())%> </td>
                                  <input name="<%=PayloadFormGenerator.constructDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:generalInfo/ns1:dateOfBirth")%>" type="hidden" value="<%=PayloadUtil.getElementDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:generalInfo/ns1:dateOfBirth",form,context.getLocale(),task)%>"></input>
                                  <input name="<%=PayloadFormGenerator.constructDataTypeName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:generalInfo/ns1:dateOfBirth")%>" type="hidden" value="date"></input>
                                  </tr>
    </table></td>
    <!-- ----------------------------------------------------------------------->
    <!-- space field ----------------------------------------------------------->
    <td> </td>
    <!-- ----------------------------------------------------------------------->
    <!-- space field ----------------------------------------------------------->
    <td> </td>
    <!-- ----------------------------------------------------------------------->
    </tr>
    <tr>
    <!-- Passport No field -----------------------------------------------------------
    <td> Passport No: <input type="text" name="date" value="08/03/06" size="8" > </td> -->
    <%
                             thisField = form.getField("/ns0:task/ns0:payload/ns1:travelRequest/ns1:generalInfo/ns1:passportNo");
                             if (thisField == null || thisField.isEditable()) {
                                  thisDisabled = "";
                             else {
                                  thisDisabled = "disabled";
                             %>
    <td><table border = "0" width = "100%">
    <tr><th align="left">Passport No<font class="payloadAsterick"> *</font></th>
                                  <td align="left"><%=PayloadFormGenerator.selectNodeValue(payload, "/ns0:task/ns0:payload/ns1:travelRequest/ns1:generalInfo/ns1:passportNo", form.getNamespaceMap(),"string", context.getLocale())%></td>
                                  <input name="<%=PayloadFormGenerator.constructDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:generalInfo/ns1:passportNo")%>" type="hidden" value="<%=PayloadUtil.getElementDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:generalInfo/ns1:passportNo",form,context.getLocale(),task)%>"></input>
                                  <input name="<%=PayloadFormGenerator.constructDataTypeName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:generalInfo/ns1:passportNo")%>" type="hidden" value="string"></input>
                                  </tr>
    </table></td>
    <!-- ----------------------------------------------------------------------->
    <!-- Remarks field -----------------------------------------------------------
    <td> Remarks: <input type="text" name="date" value="08/03/06" size="8" > </td> -->
    <%
                             thisField = form.getField("/ns0:task/ns0:payload/ns1:travelRequest/ns1:generalInfo/ns1:remarks");
                             if (thisField == null || thisField.isEditable()) {
                                  thisDisabled = "";
                             else {
                                  thisDisabled = "disabled";
                             %>
    <td><table border = "0" width = "100%">
    <tr><th align="left">Remarks<font class="payloadAsterick"> *</font></th>
                                  <td align="left"><%=PayloadFormGenerator.selectNodeValue(payload, "/ns0:task/ns0:payload/ns1:travelRequest/ns1:generalInfo/ns1:remarks", form.getNamespaceMap(),"string", context.getLocale())%></td>
                                  <input name="<%=PayloadFormGenerator.constructDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:generalInfo/ns1:remarks")%>" type="hidden" value="<%=PayloadUtil.getElementDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:generalInfo/ns1:remarks",form,context.getLocale(),task)%>"></input>
                                  <input name="<%=PayloadFormGenerator.constructDataTypeName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:generalInfo/ns1:remarks")%>" type="hidden" value="string"></input>
                                  </tr>
    </table></td>
    <!-- ----------------------------------------------------------------------->
    <!-- space field ----------------------------------------------------------->
    <td> </td>
    <!-- ----------------------------------------------------------------------->
    </tr>
    <tr>
    <!-- Purpose of trip field -----------------------------------------------------------
    <td> Purpose of trip: <input type="text" name="date" value="08/03/06" size="8" > </td> -->
    <%
                             thisField = form.getField("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:purposeOfTrip");
                             if (thisField == null || thisField.isEditable()) {
                                  thisDisabled = "";
                             else {
                                  thisDisabled = "disabled";
                             %>
    <td><table border = "0" width = "100%">
    <tr><th align="left">Purpose Of Trip<font class="payloadAsterick"> *</font></th>
                                  <td align="left"><%=PayloadFormGenerator.selectNodeValue(payload, "/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:purposeOfTrip", form.getNamespaceMap(),"string", context.getLocale())%></td>
                                  <input name="<%=PayloadFormGenerator.constructDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:purposeOfTrip")%>" type="hidden" value="<%=PayloadUtil.getElementDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:purposeOfTrip",form,context.getLocale(),task)%>"></input>
                                  <input name="<%=PayloadFormGenerator.constructDataTypeName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:purposeOfTrip")%>" type="hidden" value="string"></input>
                                  </tr>
    </table></td>
    <!-- ----------------------------------------------------------------------->
    <!-- Departure field -----------------------------------------------------------
    <td> Departure: <input type="text" name="date" value="08/03/06" size="8" > </td> -->
    <%
                             thisField = form.getField("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:departure");
                             if (thisField == null || thisField.isEditable()) {
                                  thisDisabled = "";
                             else {
                                  thisDisabled = "disabled";
                             %>
    <td><table border = "0" width = "100%">
    <tr><th align="left">Departure<font class="payloadAsterick"> *</font></th>
                                  <td align="left"><%=PayloadFormGenerator.selectNodeValue(payload, "/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:departure", form.getNamespaceMap(),"date", context.getLocale())%></td>
                                  <input name="<%=PayloadFormGenerator.constructDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:departure")%>" type="hidden" value="<%=PayloadUtil.getElementDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:departure",form,context.getLocale(),task)%>"></input>
                                  <input name="<%=PayloadFormGenerator.constructDataTypeName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:departure")%>" type="hidden" value="date"></input>
                                  </tr>
    </table></td>
    <!-- ----------------------------------------------------------------------->
    <!-- Return field -----------------------------------------------------------
    <td> Return: <input type="text" name="date" value="08/03/06" size="8" > </td> -->
    <%
                             thisField = form.getField("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:return");
                             if (thisField == null || thisField.isEditable()) {
                                  thisDisabled = "";
                             else {
                                  thisDisabled = "disabled";
                             %>
    <td><table border = "0" width = "100%">
    <tr><th align="left">Return<font class="payloadAsterick"> *</font></th>
                                  <td align="left"><%=PayloadFormGenerator.selectNodeValue(payload, "/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:return", form.getNamespaceMap(),"date", context.getLocale())%></td>
                                  <input name="<%=PayloadFormGenerator.constructDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:return")%>" type="hidden" value="<%=PayloadUtil.getElementDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:return",form,context.getLocale(),task)%>"></input>
                                  <input name="<%=PayloadFormGenerator.constructDataTypeName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:return")%>" type="hidden" value="date"></input>
                                  </tr>
    </table></td>
    <!-- ----------------------------------------------------------------------->
    </tr>
    </tr>
    <tr>
    <!-- trip leader field -----------------------------------------------------------
    <td> Purpose of trip: <input type="text" name="date" value="08/03/06" size="8" > </td> -->
    <%
                             thisField = form.getField("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:tripLeader/ns1:name");
                             if (thisField == null || thisField.isEditable()) {
                                  thisDisabled = "";
                             else {
                                  thisDisabled = "disabled";
                             %>
    <td><table border = "0" width = "100%">
    <tr><th align="left">Name<font class="payloadAsterick"> *</font></th>
                                  <td align="left"><%=PayloadFormGenerator.selectNodeValue(payload, "/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:tripLeader/ns1:name", form.getNamespaceMap(),"string", context.getLocale())%></td>
                                  <input name="<%=PayloadFormGenerator.constructDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:tripLeader/ns1:name")%>" type="hidden" value="<%=PayloadUtil.getElementDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:tripLeader/ns1:name",form,context.getLocale(),task)%>"></input>
                                  <input name="<%=PayloadFormGenerator.constructDataTypeName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:tripLeader/ns1:name")%>" type="hidden" value="string"></input>
                                  </tr>
    </table></td>
    <!-- ----------------------------------------------------------------------->
    <!-- Rank field -----------------------------------------------------------
    <td> Rank: <input type="text" name="date" value="08/03/06" size="8" > </td> -->
    <%
                             thisField = form.getField("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:tripLeader/ns1:rank");
                             if (thisField == null || thisField.isEditable()) {
                                  thisDisabled = "";
                             else {
                                  thisDisabled = "disabled";
                             %>
    <td><table border = "0" width = "100%">
    <tr><th align="left">Rank<font class="payloadAsterick"> *</font></th>
                                  <td align="left"><%=PayloadFormGenerator.selectNodeValue(payload, "/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:tripLeader/ns1:rank", form.getNamespaceMap(),"string", context.getLocale())%></td>
                                  <input name="<%=PayloadFormGenerator.constructDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:tripLeader/ns1:rank")%>" type="hidden" value="<%=PayloadUtil.getElementDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:tripLeader/ns1:rank",form,context.getLocale(),task)%>"></input>
                                  <input name="<%=PayloadFormGenerator.constructDataTypeName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:tripLeader/ns1:rank")%>" type="hidden" value="string"></input>
                                  </tr>
    </table></td>
    <!-- ----------------------------------------------------------------------->
    <!-- space field ----------------------------------------------------------->
    <td> </td>
    <!-- ----------------------------------------------------------------------->
    </tr>
    <tr>
    <!-- Visa field -----------------------------------------------------------
    <td> Visa Required: <input type="checkbox" name="date" > </td> -->
    <%
                             thisField = form.getField("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:visa");
                             if (thisField == null || thisField.isEditable()) {
                                  thisDisabled = "";
                             else {
                                  thisDisabled = "disabled";
                             %>
    <td><table border = "0" width = "100%">
    <tr><th align="left">Visa<font class="payloadAsterick"> *</font></th>
                                  <td align="left"><input name="<%=PayloadFormGenerator.constructName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:visa")%>" type="text" value="<%=PayloadFormGenerator.selectNodeValue(payload, "/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:visa", form.getNamespaceMap(),"boolean", context.getLocale())%>" <%=thisDisabled%> dataType="boolean">
    </input></td>
                                  <input name="<%=PayloadFormGenerator.constructDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:visa")%>" type="hidden" value="<%=PayloadUtil.getElementDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:visa",form,context.getLocale(),task)%>"></input>
                                  <input name="<%=PayloadFormGenerator.constructDataTypeName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:visa")%>" type="hidden" value="boolean"></input>
                                  </tr>
    </table></td>
    <!-- ----------------------------------------------------------------------->
    <!-- space field ----------------------------------------------------------->
    <td> </td>
    <!-- ----------------------------------------------------------------------->
    <!-- space field ----------------------------------------------------------->
    <td> </td>
    <!-- ----------------------------------------------------------------------->
    </tr>
    <tr>
    <!-- Hotel field -----------------------------------------------------------
    <td> Hotel Reservation: <input type="checkbox" > </td> -->
    <%
                             thisField = form.getField("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:hotel/ns1:reservation");
                             if (thisField == null || thisField.isEditable()) {
                                  thisDisabled = "";
                             else {
                                  thisDisabled = "disabled";
                             %>
    <td><table border = "0" width = "100%">
    <tr><th align="left">Hotel Reservation<font class="payloadAsterick"> *</font></th>
                                  <td align="left"><input name="<%=PayloadFormGenerator.constructName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:hotel/ns1:reservation")%>" type="text" value="<%=PayloadFormGenerator.selectNodeValue(payload, "/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:hotel/ns1:reservation", form.getNamespaceMap(),"boolean", context.getLocale())%>" <%=thisDisabled%> dataType="boolean"></input></td>
                                  <input name="<%=PayloadFormGenerator.constructDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:hotel/ns1:reservation")%>" type="hidden" value="<%=PayloadUtil.getElementDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:hotel/ns1:reservation",form,context.getLocale(),task)%>"></input>
                                  <input name="<%=PayloadFormGenerator.constructDataTypeName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:hotel/ns1:reservation")%>" type="hidden" value="boolean"></input>
                                  </tr>
    </table></td>
    <!-- ----------------------------------------------------------------------->
    <!-- Suggested hotel field -----------------------------------------------------------
    <td> Suggested Hotel: <input type="text" name="date" value="08/03/06" size="8" > </td> -->
    <%
                             thisField = form.getField("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:hotel/ns1:suggestedHotel");
                             if (thisField == null || thisField.isEditable()) {
                                  thisDisabled = "";
                             else {
                                  thisDisabled = "disabled";
                             %>
    <td><table border = "0" width = "100%">
    <tr><th align="left">Suggested Hotel<font class="payloadAsterick"> *</font></th>
                                  <td align="left"><%=PayloadFormGenerator.selectNodeValue(payload, "/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:hotel/ns1:suggestedHotel", form.getNamespaceMap(),"string", context.getLocale())%></td>
                                  <input name="<%=PayloadFormGenerator.constructDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:hotel/ns1:suggestedHotel")%>" type="hidden" value="<%=PayloadUtil.getElementDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:hotel/ns1:suggestedHotel",form,context.getLocale(),task)%>"></input>
                                  <input name="<%=PayloadFormGenerator.constructDataTypeName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:hotel/ns1:suggestedHotel")%>" type="hidden" value="string"></input>
                                  </tr>
    </table></td>
    <!-- ----------------------------------------------------------------------->
    <!-- space field ----------------------------------------------------------->
    <td> </td>
    <!-- ----------------------------------------------------------------------->
    </tr>
    <tr>
    <!-- Car Rent field -----------------------------------------------------------
    <td> Car Rent: <input type="checkbox" > </td> -->
    <%
                             thisField = form.getField("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:carRental");
                             if (thisField == null || thisField.isEditable()) {
                                  thisDisabled = "";
                             else {
                                  thisDisabled = "disabled";
                             %>
    <td><table border = "0" width = "100%">
    <tr><th align="left">Car Rental<font class="payloadAsterick"> *</font></th>
                                  <td align="left"><%=PayloadFormGenerator.selectNodeValue(payload, "/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:carRental", form.getNamespaceMap(),"boolean", context.getLocale())%></td>
                                  <input name="<%=PayloadFormGenerator.constructDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:carRental")%>" type="hidden" value="<%=PayloadUtil.getElementDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:carRental",form,context.getLocale(),task)%>"></input>
                                  <input name="<%=PayloadFormGenerator.constructDataTypeName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:carRental")%>" type="hidden" value="boolean"></input>
                                  </tr>
    </table></td>
    <!-- ----------------------------------------------------------------------->
    <!-- space field ----------------------------------------------------------->
    <td> </td>
    <!-- ----------------------------------------------------------------------->
    <!-- space field ----------------------------------------------------------->
    <td> </td>
    <!-- ----------------------------------------------------------------------->
    </tr>
    <tr>
    <!-- Other Reservation field -----------------------------------------------------------
    <td> Other Reservation: <input type="checkbox" > </td> -->
    <%
                             thisField = form.getField("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:otherReservations/ns1:required");
                             if (thisField == null || thisField.isEditable()) {
                                  thisDisabled = "";
                             else {
                                  thisDisabled = "disabled";
                             %>
    <td><table border = "0" width = "100%">
    <tr><th align="left">Other Reservation Required<font class="payloadAsterick"> *</font></th>
                                  <td align="left"><%=PayloadFormGenerator.selectNodeValue(payload, "/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:otherReservations/ns1:required", form.getNamespaceMap(),"boolean", context.getLocale())%></td>
                                  <input name="<%=PayloadFormGenerator.constructDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:otherReservations/ns1:required")%>" type="hidden" value="<%=PayloadUtil.getElementDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:otherReservations/ns1:required",form,context.getLocale(),task)%>"></input>
                                  <input name="<%=PayloadFormGenerator.constructDataTypeName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:otherReservations/ns1:required")%>" type="hidden" value="boolean"></input>
                                  </tr>
    </table></td>
    <!-- ----------------------------------------------------------------------->
    <!-- description field -----------------------------------------------------------
    <td> Description: <input type="text" name="date" value="08/03/06" size="8" > </td> -->
    <%
                             thisField = form.getField("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:otherReservations/ns1:description");
                             if (thisField == null || thisField.isEditable()) {
                                  thisDisabled = "";
                             else {
                                  thisDisabled = "disabled";
                             %>
    <td><table border = "0" width = "100%">
    <tr><th align="left">Description<font class="payloadAsterick"> *</font></th>
                                  <td align="left"><%=PayloadFormGenerator.selectNodeValue(payload, "/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:otherReservations/ns1:description", form.getNamespaceMap(),"string", context.getLocale())%></td>
                                  <input name="<%=PayloadFormGenerator.constructDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:otherReservations/ns1:description")%>" type="hidden" value="<%=PayloadUtil.getElementDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:otherReservations/ns1:description",form,context.getLocale(),task)%>"></input>
                                  <input name="<%=PayloadFormGenerator.constructDataTypeName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:otherReservations/ns1:description")%>" type="hidden" value="string"></input>
                                  </tr>
    </table></td>
    <!-- ----------------------------------------------------------------------->
    <!-- space field ----------------------------------------------------------->
    <td> </td>
    <!-- ----------------------------------------------------------------------->
    </tr>
    <tr>
    <!-- Advance field -----------------------------------------------------------
    <td> Advance: <input type="checkbox" > </td> -->
    <%
                             thisField = form.getField("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:advance/ns1:required");
                             if (thisField == null || thisField.isEditable()) {
                                  thisDisabled = "";
                             else {
                                  thisDisabled = "disabled";
                             %>
    <td><table border = "0" width = "100%">
    <tr><th align="left">Advance Required<font class="payloadAsterick"> *</font></th>
                                  <td align="left"><input name="<%=PayloadFormGenerator.constructName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:advance/ns1:required")%>" type="text" value="<%=PayloadFormGenerator.selectNodeValue(payload, "/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:advance/ns1:required", form.getNamespaceMap(),"boolean", context.getLocale())%>" <%=thisDisabled%> dataType="boolean"></input></td>
                                  <input name="<%=PayloadFormGenerator.constructDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:advance/ns1:required")%>" type="hidden" value="<%=PayloadUtil.getElementDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:advance/ns1:required",form,context.getLocale(),task)%>"></input>
                                  <input name="<%=PayloadFormGenerator.constructDataTypeName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:advance/ns1:required")%>" type="hidden" value="boolean"></input>
                                  </tr>
    </table></td>
    <!-- ----------------------------------------------------------------------->
    <!-- Amount field -----------------------------------------------------------
    <td> Amount: <input type="text" name="date" value="08/03/06" size="8" > </td> -->
    <%
                             thisField = form.getField("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:advance/ns1:amount");
                             if (thisField == null || thisField.isEditable()) {
                                  thisDisabled = "";
                             else {
                                  thisDisabled = "disabled";
                             %>
    <td><table border = "0" width = "100%">
    <tr><th align="left">Amount<font class="payloadAsterick"> *</font></th>
                                  <td align="left"><%=PayloadFormGenerator.selectNodeValue(payload, "/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:advance/ns1:amount", form.getNamespaceMap(),"double", context.getLocale())%></td>
                                  <input name="<%=PayloadFormGenerator.constructDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:advance/ns1:amount")%>" type="hidden" value="<%=PayloadUtil.getElementDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:advance/ns1:amount",form,context.getLocale(),task)%>"></input>
                                  <input name="<%=PayloadFormGenerator.constructDataTypeName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:advance/ns1:amount")%>" type="hidden" value="double"></input>
                                  </tr>
    </table></td>
    <!-- ----------------------------------------------------------------------->
    <!-- space field ----------------------------------------------------------->
    <td> </td>
    <!-- ----------------------------------------------------------------------->
    </tr>
    <tr>
    <!-- Contact address field -----------------------------------------------------------
    <td> Contact address: <textarea name="address" cols="10" rows="3" > </textarea> </td> -->
    <%
                             thisField = form.getField("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:contactAddress");
                             if (thisField == null || thisField.isEditable()) {
                                  thisDisabled = "";
                             else {
                                  thisDisabled = "disabled";
                             %>
    <td><table border = "0" width = "100%">
    <tr><th align="left">Contact Address<font class="payloadAsterick"> *</font></th>
                                  <td align="left"><%=PayloadFormGenerator.selectNodeValue(payload, "/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:contactAddress", form.getNamespaceMap(),"string", context.getLocale())%></td>
                                  <input name="<%=PayloadFormGenerator.constructDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:contactAddress")%>" type="hidden" value="<%=PayloadUtil.getElementDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:contactAddress",form,context.getLocale(),task)%>"></input>
                                  <input name="<%=PayloadFormGenerator.constructDataTypeName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelApproval/ns1:contactAddress")%>" type="hidden" value="string"></input>
                                  </tr>
    </table></td>
    <!-- ----------------------------------------------------------------------->
    <!-- space field ----------------------------------------------------------->
    <td> </td>
    <!-- ----------------------------------------------------------------------->
    <!-- space field ----------------------------------------------------------->
    <td> </td>
    <!-- ----------------------------------------------------------------------->
    </tr>
    </table>
    </fieldset>
    <!-- ----------------------------------------------------------------------->
    <!-- Flight Details -------------------------------------------------------->
    <%
    len4 = PayloadFormGenerator.selectNodes(payload, "/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:flightDetails", form.getNamespaceMap()).length;
    %>
    <fieldset><legend> Flight Details </legend>
    <table class="payloadTable" id="<%=PayloadFormGenerator.constructName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:flightDetails")%>">
                                  <thead><tr class="payloadSectionTitle">Flight Details</tr></thead>
                                  <tbody><tr>
                                       <th align="left">From<font class="payloadAsterick"> *</font><font class="payloadDataType"> </font></th>
                                  <input name="<%=PayloadFormGenerator.constructDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:flightDetails[*]/ns1:from")%>" type="hidden" value="<%=PayloadUtil.getElementDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:flightDetails[*]/ns1:from",form,context.getLocale(),task)%>"></input>
                                  <input name="<%=PayloadFormGenerator.constructDataTypeName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:flightDetails[*]/ns1:from")%>" type="hidden" value="string"></input>
                                       <th align="left">To<font class="payloadAsterick"> *</font><font class="payloadDataType"> </font></th>
                                  <input name="<%=PayloadFormGenerator.constructDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:flightDetails[*]/ns1:to")%>" type="hidden" value="<%=PayloadUtil.getElementDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:flightDetails[*]/ns1:to",form,context.getLocale(),task)%>"></input>
                                  <input name="<%=PayloadFormGenerator.constructDataTypeName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:flightDetails[*]/ns1:to")%>" type="hidden" value="string"></input>
                                       <th align="left">Flight Date<font class="payloadAsterick"> *</font><font class="payloadDataType"> </font></th>
                                  <input name="<%=PayloadFormGenerator.constructDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:flightDetails[*]/ns1:flightDate")%>" type="hidden" value="<%=PayloadUtil.getElementDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:flightDetails[*]/ns1:flightDate",form,context.getLocale(),task)%>"></input>
                                  <input name="<%=PayloadFormGenerator.constructDataTypeName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:flightDetails[*]/ns1:flightDate")%>" type="hidden" value="date"></input>
                                       <th align="left">Air Line<font class="payloadAsterick"> *</font><font class="payloadDataType"> </font></th>
                                  <input name="<%=PayloadFormGenerator.constructDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:flightDetails[*]/ns1:airLine")%>" type="hidden" value="<%=PayloadUtil.getElementDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:flightDetails[*]/ns1:airLine",form,context.getLocale(),task)%>"></input>
                                  <input name="<%=PayloadFormGenerator.constructDataTypeName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:flightDetails[*]/ns1:airLine")%>" type="hidden" value="string"></input>
                                       <th align="left">Flight No<font class="payloadAsterick"> *</font><font class="payloadDataType"> </font></th>
                                  <input name="<%=PayloadFormGenerator.constructDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:flightDetails[*]/ns1:flightNo")%>" type="hidden" value="<%=PayloadUtil.getElementDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:flightDetails[*]/ns1:flightNo",form,context.getLocale(),task)%>"></input>
                                  <input name="<%=PayloadFormGenerator.constructDataTypeName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:flightDetails[*]/ns1:flightNo")%>" type="hidden" value="string"></input>
                                       <th align="left">Comments<font class="payloadAsterick"> *</font><font class="payloadDataType"> </font></th>
                                  <input name="<%=PayloadFormGenerator.constructDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:flightDetails[*]/ns1:comments")%>" type="hidden" value="<%=PayloadUtil.getElementDisplayName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:flightDetails[*]/ns1:comments",form,context.getLocale(),task)%>"></input>
                                  <input name="<%=PayloadFormGenerator.constructDataTypeName("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:flightDetails[*]/ns1:comments")%>" type="hidden" value="string"></input>
                                  </tr><%                              for (int i4 = 1; i4 <= len4; i4++) {
                                       %>
                                            <tr>
                                       <%
                                       %>
                                       <%
                                            thisField = form.getField("/ns0:task/ns0:payload/ns1:travelRequest/ns1:travelReservation/ns1:flightDetails[*]/ns1:from");
                                            if (thisField == null || thisField.isEditable())
                                                 thisDisabled = "";
                                            else
                                                 thisDisabled = "disabled";
                                       %>
                                            <td align="left"><input name="<%=PayloadFormGenerator.constructName("/ns0:task/ns0:payload/ns1

    Hi,
    Take a look at this blog,
    /people/michal.krawczyk2/blog/2006/01/02/xi-sxmbmoni--controlling-access-to-message-display
    Regards,
    Bhavesh

Maybe you are looking for