table html malformed

I have a simple report page with a couple of hidden items in a report region. When rendered, the hidden items are in a <table> without any <tr> tags. Like so:
<table summary="" >
<td></td>
<td colspan="1" rowspan="1" align="left">
<input type="hidden" name="p_arg_names" value="1439123868012200" />
<input type="hidden" name="p_t04" value="B" id="P20_ITEM_OF_INTEREST" />
</td>
<td></td>
<td colspan="1" rowspan="1" align="left">
<input type="hidden" name="p_arg_names" value="1526712312766857" />
<input type="hidden" name="p_t05" value="3" id="P20_NEW_QUANTITY" />
</td>
</table>
The rest of the region renders fine. My goal is to have perfect HTML (I know, in a perfect world). I'm using version 2.0.0.00.49 - is this something I could fix? I've reviewed my templates, and this code is not coming from any templates that I can find.
Thanks in advance.

Hello,
Unfortunately that comes from the engine and is beyond your control but it will be fixed in the 2.2 release
Carl

Similar Messages

  • Display a table containing HTML content in mail sent to approver.

    Hi All,
    I am working on a Travel Management workflow where mail needs to be sent to the manager along with the trip details.
    We are displaying data in tables (html format). Now i need to add another such table with details into this already existing workflow but i am facing issues in binding.
    Issue: For already existing tables, the binding is like this,
    Export to task,
    &TRIP& --> &T_SUMMARY##&
    Import to w/f,
    &T_SUMMARY##&  <--- &T_SUMMARY##&.
    But when i am tryin to add my table in binding as, &TRIP& --> &T_MILEAGE##&,
    I am getting a binding error, &T_MILEAGE##& is not available in the container.
    I checked the container both in workflow and in task, both contain multiple devlarations of the variable  &TRIP& which is of type the BO.
    Kindly help me how to proceed further.
    Regards,
    Jose
    Also

    Hi Jose
      why do you want to store data in HTML format. The entier trip detail is availble in PDF format which can used as an attachment. This is not the correct way to do it.
    Regards
    Vijay

  • Read HTML TABLE records

    Hi there,
    I have populate a table(HTML) and I have include a RADIO option, I need to select a record a get all my columns (fields) to work with each one to make some SQLs and QUERYS
    <sql:setDataSource var="datasource"
    driver="com.ibm.as400.access.AS400JDBCDriver"
    url="jdbc:as400:10.1.2.4"
    user="QUSER" password="QUSER"/>
    <sql:query var="OPENCUT99" dataSource="${datasource}">
    SELECT AUT,CUO,LOT,CAST(LOT AS VARCHAR(6)),PLT,
    CAST(PLT AS VARCHAR(2)),DIVSN,CAST(DIVSN AS VARCHAR(2)),
    STY,LEN,TOTCUT,TOTREC,STS157,ODDS,SECONDS,
    THIRDS,FAB,LEN,CLR,CRTDATE
    FROM ESRIOSJ.OPENCUT99,ESRIOSJ.LLOT057OCS
    WHERE PLT=? AND TOTREC<>0 AND STS157<>'P'
    AND PLT=PLT057
    AND STY=STY057 AND FAB=FAB057 AND LEN=LEN057
    AND CLR=CLR057
    AND AUT=AUT057 AND CUO=CUO057 AND LOT=LOT057
    AND STA057<>'C'
    ORDER BY (TOTREC/TOTCUT)
    DESC
    <sql:param value="${param.PLT950}" />
    </sql:query>
    <table border="3" style="font-size:13pt">
    <tr bgcolor="80B9E6">
    <th>Sel</th>
    <th>Auth</th>
    <th>CUT NO</th>
    <th>Style</th>
    <th>Pack</th>
    <th>CUT</th>
    <th>Piec</th>
    <th>Rec</th>
    <th>Piec</th>
    <th>WIP</th>
    <th>Piec</th>
    <th>% Rece</th>
    <th>OST</th>
    <th>Delay</th>
    </tr>
    <c:forEach items="${OPENCUT99.rows}" var="row">
    <tr bgcolor="#E2EAF2">
    <td style="font-size:8pt" bgcolor="80B9E6"><input type="radio" name="AUTO" value="${row.AUT}" /></td>
    <td ><c:out value="${row.AUT}" /></td>
    <td ><c:out value="${row.CUO}" /></td>
    <td ><c:out value="${row.STY}" /></td>
    <td ><c:out value="${row.LEN}" /></td>
    <c:set target="${mycar}" property="totalJSP" value="${row.TOTCUT}" />
    <c:set target="${mycar}" property="totalRJSP" value="${row.TOTREC}"/>
    <c:set target="${mycar}" property="totalODD" value="${row.ODDS}"/>
    <c:set target="${mycar}" property="totalSEC" value="${row.SECONDS}"/>
    <c:set target="${mycar}" property="totalTHIR" value="${row.THIRDS}"/>
    <td ><fmt:formatNumber value="${mycar.docenas }" pattern="########"/></td >
    <td ><fmt:formatNumber value="${mycar.recidue1 }" pattern="########"/></td >
    <td ><fmt:formatNumber value="${mycar.docenas1 }" pattern="########"/></td >
    <td ><fmt:formatNumber value="${mycar.recidue11 }" pattern="########"/></td >
    <td ><fmt:formatNumber value="${mycar.dif }" pattern="########"/></td >
    <td ><fmt:formatNumber value="${mycar.recidue12 }" pattern="########"/></td >
    <c:if test="${mycar.totalcutrec>80.00}">
    <td bgcolor="#CE6369"><c:out value="${mycar.totalcutrec}"/></td>
    </c:if>
    <c:if test="${mycar.totalcutrec<80.00}">
    <td bgcolor="#E2EAF2"><c:out value="${mycar.totalcutrec}"/></td>
    </c:if>
    <c:if test="${mycar.totalOST>0}">
    <td>Typed</td>
    </c:if>
    <c:if test="${mycar.totalOST==0}">
    <td> </td>
    </c:if>
    <c:if test="${((aa-row.CRTDATE)>3)}">
    <td>Delayed</td>
    </c:if>
    <c:if test="${((aa-row.CRTDATE)<=3)}">
    <td> </td>
    </c:if>
    </tr>
    <td><input type="hidden" name="PLT" value="${row.PLT}" /></td>
    <td><input type="hidden" name="PL" value="${row.PLT}" /></td>
    <td><input type="hidden" name="PLT950" value="${row.PLT}" /></td>
    <td><input type="hidden" name="CUO" value="${row.CUO}" /></td>
    </c:forEach>
    </p>
    </table>

    I don't understand this "I have populate a table(HTML) and I have include a RADIO option, I need to select a record a get all my columns (fields) to work with each one to make some SQLs and QUERYS"
    Please provide more details on what you are trying to achieve.

  • How to pass hidden field values on a click of a table row

    hi all,
    href = "bookAndNonBook.do"
    I am very new to struts. I have created a table using displaytable tag which displays results in a tabular format. In addtion, i have a hidden field (prodType), the table rows are getting highlighted when i get my mouse on a particular row.
    Following is the code from the results.jsp file
    <body
    onload="addRowHandlers('row', 'rowMouseOver')"
    bgcolor="#FFFFFF" text="#000000" leftmargin="100" topmargin="50"
    marginwidth="" marginheight="" rightmargin="30">
    <html:form action="/bookAndNonBook" method="post">
    <display:table name="sessionScope.productSearchList" id="row"
    sort="list" export="true" defaultsort="1" defaultorder="ascending"
    pagesize="15" decorator="org.displaytag.decorator.TotalTableDecorator"
    class="dataTable">
    <display:column property="prodType" title="ProdType" class="prodType"
    headerClass="prodType" media="html" />
    <display:column title="Title" property="titleName" sortable="true"
    class="title" headerClass="title" />
    </display:table>
    </html:form>
    </BODY>
    I am calling a funtion addRowHandlers which passes the table id (which is row) and the rowMouseover for highlighting the rows on mouse over.
    the code for function addRowHandlers is
    function addRowHandlers(tableId, rowClassName) {
    var previousClass = null;
    var table = document.getElementById(tableId);
    var rows = table.getElementsByTagName("tr");
    for (i = 1; i < rows.length; i++) {
    rows.onmouseover = function () {
    previousClass = this.className;
    this.className = this.className + " " + rowClassName ;
    this.style.cursor="hand";
    rows.onmouseout = function () {
    this.className = previousClass;
    this.style.cursor='';
    rows.onclick = function (){
    var cell = this.getElementsByTagName("td")[0];
    var ProdType = cell.innerHTML;
    alert("value of prodType = " + ProdType);
    when i run the above code and click on a particular row it returns me the value in the hidden field i.e. prodType for that particular row
    Now where i am having problem is i want that on the basis of prodType my jsp file should call different actions for different prodType as returned....somwhat a function like this
    function submitProduct(prodType) {
    if(prodType == "BK")
    resultsForm.action = "/bookProduct.do";
    else if(prodType == "NB")
    resultsForm.action = "/nonbookProduct.do";
    but i am unable to figure out that how do i this..
    Any help will be really appreciated
    Thanks
    Sam

    can you please suggest some good struts forums where i can post my question
    thanks in advance
    Sam

  • HTML Frames not using custom scrollbar in Flex 3 mx:HTML

    I've been working on an app that uses a custom skin in Flex 3. The app has a help window. The help contains an HTML with frames. Problem is, the main app vertical scrollbar custom skin is being ignored for the HTML Frames scrollbar (what looks like the classic version of Halo - maybe). This only happens with frames. It happens no matter how or where I place my HTML or HTMLLoader. If I dont have frames the custom scrollbar is used. Is there a node im missing in my skin css (obviously not VScrollBar or ScrollBar - the two standard used by Flex)? or some other way to connect the HTML Frames scrollbar to my custom skin.
    I'm not a noob but not an expert.
    Thanks.
    See attached image for example.

    Take the code of the jsp file :
    <%@ page language="java" %>
    <%@ taglib uri="WEB-INF/struts-html.tld" prefix="html" %>
    <html>
       <head>
         <title> First Struts Application </title>
       </head>
         <body>
            <table width="500" border="0" cellspacing="0" cellpadding="0">
            <tr>
              <td> </td>
            </tr>
            <tr bgcolor="#36566E">
              <td height="68" width="48%">
                <div align="left">
                  <img src="images/hht.gif" width="220" height="74">
                </div>
              </td>
            </tr>
            <tr>
             <td> </td>
            </tr>     
           </table>
           <html:form action="Lookup"
                      name="lookupForm"
                      type="wiley.LookupForm" >
           <table width="45%" border="0">
            <tr>
              <td>Symbol:</td>
              <td><html:text property="symbol" /> </td>
            </tr>
             <tr>       
              <td colspan="2" align="center"><html:submit/> </td>
             </tr>       
            </table>              
          </html:form>
         </body>
    </html>

  • How to use tree tables with CRUD operation for begineers ADF 11g

    This is Friday night call for help.
    This is only few sample ressources on the web for tree table and only one with CRUD operation.
    I used this one http://jobinesh.blogspot.com/2010/05/crud-operations-on-tree-table.html because this is the only one that address CRUD.
    And it is shaky. Deletion works fine but insertion not very well. This is working using custom code provided below.
    Depending if the user selection in the tree, the code insert from the master node to the children node.
    Any other options because it is not working well.
    Also where Oracle describes how to use the row, rowset, itorator API? This is really hard to understand like almost if we should not use it.
    then if not how can I insert in tree with two nodes and insert in the parent or children depending the users selection.
    Lately I 'been posting questions on this forum with no response. This hurts. I understand developers cannot spend their time on this but People from Oracle, please help. We pay licenses...
    public void createChildren(RowIterator ri, Key selectedNodeKey) {
    final String deptViewDefName = "model.DepartmentsView";
    final String empViewDefName = "model.EmployeesView";
    if (ri != null && selectedNodeKey != null) {
    Row last = ri.last();
    Key lastRowKey = last.getKey();
    // if the select row is not the last row in the row iterator...
    Row[] found = ri.findByKey(selectedNodeKey, 1);
    if (found != null && found.length == 1) {
    Row foundRow = found[0];
    String nodeDefname =
    foundRow.getStructureDef().getDefFullName();
    if (nodeDefname.equals(deptViewDefName)) {
    RowSet parents =
    (RowSet)foundRow.getAttribute("EmployeesView");
    Row childrow = parents.createRow();
    parents.insertRow(childrow);
    } else {
    RowSet parents =
    (RowSet)foundRow.getAttribute("EmployeesView");
    Row childrow = parents.createRow();
    childrow.setAttribute("DepartmentId",
    foundRow.getAttribute("DepartmentId"));
    parents.insertRow(childrow);
    } else {
    System.out.println("Node not Found for " + selectedNodeKey);
    }

    I am looking for a sample that describe how to design a jsf page with a tree table.
    So you have Department and employees. In the tree first comes Department and if you click the node you see the employees assigned to this department.
    I need to be able to insert a new department or a new employee from the tree table by clicking on a insert button in the panel collection toolbar depending on user selection in the tree.
    I got part of it working but not good enough.
    By problem is the get insertion working
    I have a createChildren method in my AM implementation that get in input a RowIterator and selected node key.
    To goal is to create new records depending of the user selection and the input parameters get populated by the binding like this:
    #{backing_treeSampleBean.selectedNodeRowIterator} #{backing_TreeSampleBean.selectedNodeRowkey} via method binding with parameters.
    Is it the right approach?
    First to be able to insert a parent record, I select nothing in the tree and ri and selectedNodeKey comes to null
    we run this code
    ViewObjectImpl vo = getSchHolidaySchedExceptionsView1();
    //ViewObjectImpl vo = getDepartmentsView1();
    Row foundRow = vo.first();
    Row childrow = vo.createRow();
    vo.insertRow(childrow);
    A new blank entry appears in the parent node and we enter a value.
    The the problem starts when we want to add a child to this parent.
    We select the created parent and press the insert button, this code get executed
    if (nodeDefname.equals(deptViewDefName))
    //list of the children of the parent and create an new row
    RowSet childRows = (RowSet)foundRow.getAttribute("SchHolidayExceptionDatesView");
    Row childrow = childRows.createRow();
    childRows.insertRow(childrow);
    But the new entry does not appear, it is almost like it would be created for a different parent because this is a mandatory field that is not feel in yet and the interface complaints of a missing value. It is created somewhere just not a the right place... This is my guess.
    Do you see something wrong with the code?
    The full code og my create children method is there below
    I am using jdeveloper 11.1.1.3.0 any issues with tree table to know about with this version?
    Thanks for your help
    public void createChildren(RowIterator ri, Key selectedNodeKey) {
    final String deptViewDefName = "com.bcferries.app.pdfroutesched.model.SchHolidaySchedExceptionsView";
    final String empViewDefName = "com.bcferries.app.pdfroutesched.model.SchHolidayExceptionDatesView";
    if (ri != null && selectedNodeKey != null) {
    // last row
    Row last = ri.last();
    Key lastRowKey = last.getKey();
    // if the select row is not the last row in the row iterator...
    Row[] found = ri.findByKey(selectedNodeKey, 1);
    if (found != null && found.length == 1) {
    // foundRow is the row selected
    Row foundRow = found[0];
    // The row selected can be the parent node or the child node
    String nodeDefname = foundRow.getStructureDef().getDefFullName();
    // if parent row
    if (nodeDefname.equals(deptViewDefName))
    //list of the children of the parent and create an new row
    //works but we try to resolve the creation of a parent
    RowSet childRows = (RowSet)foundRow.getAttribute("SchHolidayExceptionDatesView");
    Row childrow = childRows.createRow();
    //childrow.setAttribute("HolidayDate", new java.util.Date().getDate());
    System.out.println("insert child row from master");
    childRows.insertRow(childrow);
    } else
    //RowSet ParentRow = (RowSet)foundRow.getAttribute("SchHolidaySchedExceptionsView");
    //RowSet childRows = (RowSet)ParentRow.first().getAttribute("SchHolidayExceptionDatesView");
    Row childrow = ri.createRow();
    System.out.println("insert child row from child ");
    } else {
    System.out.println("Node not Found for " + selectedNodeKey);
    } else {
    System.out.println(" param null try creating for first row : " +
    ri + " * " + selectedNodeKey);
    ViewObjectImpl vo = getSchHolidaySchedExceptionsView1();
    Row foundRow = vo.first();
    Row childrow = vo.createRow();
    vo.insertRow(childrow);
    }

  • ABAP Report to HTML in BSP

    Hi,
    I have read the very interesting posts about calling ABAP reports from BSP applications.
    Nevertheless, I noticed 2 constraints in order for a Report to be called :
    - the <b>sap/bc/report</b> must be active in Transaction SICF
    - the report must have an <b>Authorization Group</b> defined
    <b>Am i right, so far ?</b>
    Besides, I tried to implement the solution given in the forum as follows :
    DATA: html TYPE TABLE OF w3html. " occurs 10 with header line.
    DATA: html_wa TYPE w3html.
    DATA: listobject TYPE TABLE OF abaplist. " occurs 10.
    DATA: report_name TYPE syrepid.
    DATA: result TYPE string.
    report_name = 'SHOWCOLO'.
    SUBMIT (report_name) EXPORTING LIST TO MEMORY AND RETURN .
    CALL FUNCTION 'LIST_FROM_MEMORY'
      TABLES
        listobject = listobject.
    CALL FUNCTION 'WWW_HTML_FROM_LISTOBJECT'
      EXPORTING
        report_name = 'WEBREPORTING_REPORT'
      TABLES
        html        = html
        listobject  = listobject.
    LOOP AT html INTO html_wa.
      CONCATENATE result html_wa INTO result SEPARATED BY space.
    ENDLOOP.
    The problem is that the 'WWW_HTML_FROM_LISTOBJECT' is fauly. There is a call to the FM 'RECORDER_PLAY_BACK' which itself calls 'ABAPLIST_VERSION %_RFC' and the code stops !
    <b>Any idea why this is happening ?
    Am I missing a service in SICF ?</b>
    Of course, when I do the same code in a classic ABAP Program everything works fine...
    Thanks in advance.
    Cheers,
    Guillaume
    Message was edited by: Guillaume Garcia

    <i> the sap/bc/report must be active in Transaction SICF
    - the report must have an Authorization Group defined</i>
    both the points above are correct, more than that, using sap/bc/report  you cannot pass selection screen values or variants.
    regarding
    'WWW_HTML_FROM_LISTOBJECT'
    i have been using this and no problem at all. where is your BSP you wrote the logic using 'WWW_HTML_FROM_LISTOBJECT'.
    also dose it generate a dump? if so can you give us the gist of the dump analysis.
    REgards
    Raja

  • How to retrieve multiple data from table and represent it in jsp page

    Hi
    The below JavaScript code is used to add row in the table when I want to add multiple row data into table for single entry no field.
      <html>  function addRow()
                i++;
                var newRow = document.all("tblGrid").insertRow();
                var oCell = newRow.insertCell();
                oCell.innerHTML = "<input name='srno"+i+"' type='text' id='srno"+i+"' size=10>";
                oCell = newRow.insertCell();
                oCell.innerHTML = "<input name='itmcd"+i+"' type='text' id='itmcd"+i+"' size='10'>";
                oCell = newRow.insertCell();
                oCell.innerHTML = "<input name='itmnm"+i+"' type='text' id='itmnm"+i+"' size='15'>";
                oCell = newRow.insertCell();
                oCell.innerHTML = "<input name='indentqty"+i+"' type='text' id='indentqty"+i+"' size='10'>";
                oCell = newRow.insertCell();
                    oCell.innerHTML = "<input name='uom"+i+"' type='text' id='uom"+i+"' size='10'><input type='hidden' name='mcode"+i+"'id='mcode"+i+"'>";
                oCell = newRow.insertCell();
                oCell.innerHTML = "<input name='packqty"+i+"' type='text' id='packqty"+i+"' size='10'>";
                oCell = newRow.insertCell();
                oCell.innerHTML = "<input name='packuom"+i+"' type='text' id='packuom"+i+"' size='10'><input type='hidden' name='pack"+i+"' id='pack"+i+"'>";
                oCell = newRow.insertCell();
                oCell.innerHTML = "<input name='rate"+i+"' type='text' id='rate"+i+"' size='10'>";
                oCell = newRow.insertCell();
                oCell.innerHTML = "<input name='dor"+i+"' type='text' id='dor"+i+"' size='0' onClick='"+putdate(this.name)+"'>";           
                oCell = newRow.insertCell();
                oCell.innerHTML = "<input name='bccode"+i+"' type='text' id='bccode"+i+"' size='10'></td><input type='hidden' name='bcc"+i+"' id='bcc"+i+"'>";
                oCell = newRow.insertCell();
                oCell.innerHTML = "<input name='cccode"+i+"' type='text' id='cccode"+i+"' size='10'></td><input type='hidden' name='ccc"+i+"' id='ccc"+i+"'>";
                oCell = newRow.insertCell();
                oCell.innerHTML = "<input name='remark2"+i+"' type='text' id='remark2"+i+"' size='20'>";           
                oCell = newRow.insertCell();
                oCell.innerHTML = "<input type='button' value='Delete' onclick='removeRow(this);' />";
               // oCell = newRow.insertCell();
               // oCell.innerHTML = "<input type='button' value='Clear' onclick='clearRow(this);' />";
            }<html>  Then this data are send to the next Servlet for adding into two table.
    My header portion data are added into one table which added only one row in table. while footer section data are added into the no of rows in another table dependent on No. of
    Rows added into jsp page.
    Here is an code for that logic.
    <html>
    ArrayList<String> mucode = new ArrayList<String>();
                                ArrayList<Integer> serials = new ArrayList<Integer>();
                                ArrayList<Integer> apxrate = new ArrayList<Integer>();
                                ArrayList<Integer> srname = new ArrayList<Integer>();
                                ArrayList<String> itcode = new ArrayList<String>();
                                ArrayList<String> itname = new ArrayList<String>();
                                ArrayList<Integer> iqnty = new ArrayList<Integer>();
                                ArrayList<String> iuom = new ArrayList<String>();
                                ArrayList<Integer> pqnty = new ArrayList<Integer>();
                                ArrayList<String> puom1 = new ArrayList<String>();
                               ArrayList<Integer> arate = new ArrayList<Integer>();
                                ArrayList<String> rdate = new ArrayList<String>();
                                ArrayList<String> bcs = new ArrayList<String>();
                                ArrayList<String> ccs = new ArrayList<String>();
                                ArrayList<String> remarkss = new ArrayList<String>();
                                //ArrayList<Integer> qtyrecs = new ArrayList<Integer>();
                                //ArrayList<String> dors = new ArrayList<String>();
                                //ArrayList<String> remarks = new ArrayList<String>();
                     String entryn = request.getParameter("entryno");       
                        String rows = request.getParameter("rows");
                        out.println(rows);  
                        //String Entryno = request.getParameter("entryno");
                       // out.println(Entryno);
                      int entryno = 0,reqqty = 0,srno = 0,deprequest = 0,rowcount = 0;
                                if(!Entryno.equals("")){
                                        entryno = Integer.valueOf(Entryno);
                                if(!rows.equals("")){
                                        rowcount = Integer.valueOf(rows);
                               for(int i=1;i<=rowcount;i++){
                                        if(request.getParameter("srno"+i)!=null){
                                                serials.add(Integer.valueOf(request.getParameter("srno"+i).trim()));
                                                out.println(serials.size());
                                for(int i=1;i<=rowcount;i++){
                                        if(request.getParameter("srno"+i)!=null){
                                                srname.add(Integer.valueOf(request.getParameter("srno"+i).trim()));
                                out.println(srname.get(0));
                                for(int i=1;i<=rowcount;i++){
                                        if(request.getParameter("itmcd"+i)!=null){
                                                itcode.add(request.getParameter("itmcd"+i).trim());
                                        } //out.println(itcode.get(i));
                                for(int i=1;i<=rowcount;i++){
                                        if(request.getParameter("itmnm"+i)!=null){
                                                itname.add(request.getParameter("itmnm"+i).trim());
                                        }//out.println(itname.get(i));
                                for(int i=1;i<=rowcount;i++){
                                        if(request.getParameter("indentqty"+i)!=null){
                                                iqnty.add(Integer.valueOf(request.getParameter("indentqty"+i).trim()));
                                for(int i=1;i<=rowcount;i++){
                                        if(request.getParameter("uom"+i)!=null){
                                                iuom.add(request.getParameter("uom"+i).trim());
                                        }//out.println(iuom.get(i));
                                for(int i=1;i<=rowcount;i++){
                                        if(request.getParameter("mcode"+i)!=null){
                                                mucode.add(request.getParameter("mcode"+i).trim());
                               for(int i=1;i<=rowcount;i++){
                                        if(request.getParameter("packqty"+i).equals("")){
                                          pqnty.add(0);
                                        }else
                                            pqnty.add(Integer.valueOf(request.getParameter("packqty"+i).trim()));
                                for(int i=1;i<=rowcount;i++){
                                        if(request.getParameter("pack"+i)!=null){
                                                puom1.add(request.getParameter("pack"+i).trim());
                                       }else
                                        puom1.add("");
                               for(int i=1;i<=rowcount;i++){
                                        if(request.getParameter("rate"+i).equals("")){                                     
                                            arate.add(0);
                                        }else
                                        arate.add(Integer.valueOf(request.getParameter("rate"+i).trim()));   
                     /* for(int i=1;i<=rowcount;i++){
                                        if(request.getParameter("rate"+i)!=null){
                                                arate.add(Integer.valueOf(request.getParameter("rate"+i).trim()));
                              for(int i=1;i<=rowcount;i++){
                                        if(request.getParameter("dor"+i)!=null){
                                                try{
                                                        rdate.add(dashdate.format(slashdate.parse(request.getParameter("dor"+i).trim())));
                                                }catch(ParseException p){p.printStackTrace();}
                                        }else
                                           { rdate.add("");}
                                   for(int i=1;i<=rowcount;i++){
                                 if(request.getParameter("bcc"+i)!=null){
                                                bcs.add(request.getParameter("bcc"+i).trim());
                                        }out.println(bcs.get(0));
                                for(int i=1;i<=rowcount;i++){
                                        if(request.getParameter("ccc"+i)!=null){
                                                ccs.add(request.getParameter("ccc"+i).trim());
                                        }out.println(ccs.get(0));
                                for(int i=1;i<=rowcount;i++){
                                    out.println("remark2");
                                        if(request.getParameter("remark2"+i)!=null){
                                                remarkss.add(request.getParameter("remark2"+i).trim());
                                        }out.println(remarkss.get(0));
                        ArrayList<String> Idate = new ArrayList<String>();
                        for(int i=1;i<=rowcount;i++){
                                        if(request.getParameter("dateindent"+i)!=null){
                                                try{
                                                        Idate.add(dashdate.format(dashdate.parse(request.getParameter("dateindent"+i).trim())));
                                                }catch(ParseException p){p.printStackTrace();}
                    String Rdate = dashdate.format(new java.util.Date());
                     String tdate = dashdate.format(new java.util.Date());    
                     // String Indentdate = dashdate.format(new java.util.Date());
                   //  String ApprovedT1 = dashdate.format(new java.util.Date());
                   //  String ApprovedT2 = dashdate.format(new java.util.Date());
                       // String ApprovedT1=" ";
                        //String ApprovedT2="";*/
                    String ApprovedT1= dashdate.format(new java.util.Date());
                   out.println (ApprovedT1);
                      String ApprovedT2=dashdate.format(new java.util.Date());
                       out.println(ApprovedT2);
                    String Indentdate=(dashdate.format(slashdate.parse(request.getParameter("dateindent").trim())));
                       out.println(Indentdate);
                        String Cocode ="BML001";  
                        out.println(Cocode);
                        String Deptcode = request.getParameter("dept1");
                        out.println(Deptcode);
                        String Empcode = request.getParameter("emp");
                        out.println(Empcode);
                        String Refno =request.getParameter("rtype"); 
                         out.println(Refno);
                        String Divcode = request.getParameter("todiv1");
                        out.println(Divcode);
                        String Usercode = "CIRIUS";    
                         String Whcode = request.getParameter("stor");
                        out.println(Whcode);
                        // String Itemgroupcode = request.getParameter("");
                         String Itemgroupcode ="120000";
                         out.println(Itemgroupcode);
                        String Supplytypecode = request.getParameter("stype");
                        out.println(Supplytypecode);
                        String Delcode = request.getParameter("deliverycode");
                        out.println(Delcode);
                        String Itemclass="WS";
                        out.println(Itemclass);
                        // String Itemclass = request.getParameter("iclass");
                       // out.println(Itemclass);
                        String unitcode = request.getParameter("uni");
                        out.println(unitcode);
                         String Todivcode = request.getParameter("todiv1");
                        out.println(Todivcode);
                        String Appxrate = request.getParameter("rate");
                        out.println(Appxrate);
                        String Srno = request.getParameter("srno");
                        out.println(Srno);                
                    /*    String Indqty = request.getParameter("indentqty");
                      out.println(Indqty);*/
                  String Itemcode = request.getParameter("itmcd");
                       out.println(Itemcode);
                       String Othersp = request.getParameter("remark1");
                        out.println(Othersp);
                        String Reqdt = request.getParameter("dor");
                        out.println(Reqdt);
                        String Munitcode = request.getParameter("mcode");
                        out.println(Munitcode);
                        String Packqty = request.getParameter("packqty");
                        out.println(Packqty);               
                        String Packuom = request.getParameter("pack");
                        out.println(Packuom);
                        String Remark2 = request.getParameter("remark2");
                        out.println(Remark2);
                        String BC = request.getParameter("bcc");
                        out.println(BC);
                        String CC = request.getParameter("ccc");
                        out.println(CC);
                        try{
                            st=connection.createStatement();
                            connection.setAutoCommit(false);
                            String sql="INSERT INTO PTXNINDHDR(COCODE,DEPTCODE,EMPCODE,APPROVEDT1,APPROVEDT2,INDDT,ENTRYNO,REFNO,REMARKS,DIVCODE,USERCODE,WHCODE,ITEMGROUPCODE,SUPTYPECODE,DELCODE,UNITCODE,TODIVCODE,ITEMCLASS)VALUES('"+Cocode+"','"+Deptcode+"','"+Empcode+"','"+ApprovedT1+"','"+ApprovedT2+"','"+Indentdate+"',"+Entryno+",'"+Refno+"','"+Othersp+"','"+Divcode+"','"+Usercode+"','"+Whcode+"','"+Itemgroupcode+"','"+Supplytypecode+"','"+Delcode+"','"+unitcode+"','"+Todivcode+"','"+Itemclass+"')";
                            out.println(sql);
                            st.addBatch(sql);
                            for(int i=0;i<serials.size();i++){
                                out.println("Inside the Statement");
                                String query3="test query for u";
                                out.println(query3);
                               String queryx="Insert into PTXNINDDTL(APXRATE,ENTRYNO,BRKNO,INDQTY,ITEMCODE,OTHERSPFCS,MUNITCODE,PACKQTY,PACKUOM,REMARKS,DIMSUBGRPCODE,DIMCODE,REQDT)VALUES("+arate.get(i)+","+entryno+","+srname.get(i)+","+iqnty.get(i)+","+itcode.get(i)+",'"+Othersp+"','"+mucode.get(i)+"',"+pqnty.get(i)+",'"+puom1.get(i)+"','"+remarkss.get(i)+"','"+bcs.get(i)+"','"+ccs.get(i)+"','"+rdate.get(i)+"')";
                               out.println(queryx);
                                st.addBatch(queryx);
                           int[] result=st.executeBatch();
                           connection.commit();
                           for(int k=0;k<result.length;k++)
                           out.println("rows updated by "+(k+1)+"insert sta:"+result[k]+"");
                        catch(BatchUpdateException bue)
                        out.println("error1;"+bue+"");
                        catch(SQLException sql)
                        out.println("error2;"+sql+"");
                        catch(Exception l)
                        out.println("error3;"+l+"");
    </html>
       Now I looking for to retrieve this footer section data available in multiple rows from footer table and present it in jsp page .
    I am finding difficulties in how to show this multiple row data for dynamic no of rows .i.e. variable no. of rows.
    I have able to show the data in Header portions of page in this ways
    here i am adding the part of code which shows the data from header part of table i.e from Header table
      <html>
    <h2 align="center"><b>Indent Preparation</b></h2>
        <div align="left">
            <table width="849" border="0" cellspacing="3" cellpadding="3" align="center">
                <tr>
                    <td ><div align="left"><b>Indent No.</b></div></td>
                    <td ><label>
                            <input name="indentno" type="text" id="indentno" size="15" value="" /><input type="hidden" name="no" id="no">
                    </label></td>
                    <td ><div align="center"><strong>Indent Date</strong></div></td>
                    <td ><label>
                            <div align="center">
                                <input name="dateindent" type="text" id="dateindent"value="<%=date1%>"/><input type="hidden" name="no" id="no">
                            </div>
                    </label></td>
                    <td> </td>
                    <td><div align="right"><strong>Entry No.</strong></div></td>
                     <%if(oper!=null && oper.equals("view") && hdrcode!=null && hdrdetails!=null){%>
            <td><input type="text" value="<%=hdrcode.get(3)%>" size="10"></td>
    <%}else{%>
                   <td><input type="text" name="entryno" id="entryno" value="<%=entryNo%>"/></td>
                             <%}%>
                            <div align="right"></div>
                </tr>
                <tr>
                    <td><b>Division</b></td>
                    <%if(oper!=null && oper.equals("view") && hdrcode!=null && hdrdetails!=null){%>
    <td><input type="text" value="<%=hdrdetails.get(9)%>" size="20"</td>
    <td><input type="hidden" name="div1" id="div1" value='<%=hdrcode.get(10)%>'></td>
    <%}else{%>
                   <td><input type="text" name="div" id="div" /></td>
                   <td><input type="hidden" name="div1" id="div1" /> </td>
              <%}%>
                    <td> </td>
                    <td> </td>
                    <td><div align="right"><strong>Unit</strong></div></td>
                   <%if(oper!=null && oper.equals("view") && hdrcode!=null && hdrdetails!=null){%>
    <td><input type="text" value="<%=hdrdetails.get(14)%>" size="20"</td>
    <td><input type="hidden" name="uni" id="uni" value='<%=hdrcode.get(12)%>'></td>
    <%}else{%>
                   <td><input type="text" name="unit" id="unit" /></td>
                   <td><input type="hidden" name="uni" id="uni" /> </td>
              <%}%>
                </tr>
                <tr>
    </html>
      Any suggestion on any above works is highly appreciated.
    Thanks and regards
    harshal

    Too much code. It's also not well intented nor formatted. I don't see a question either or it got lost in that heap of unformatted code.
    I will only answer the question in the thread's subject:
    How to retrieve multiple data from table and represent it in jsp pageTo retrieve, make use of HttpServletRequest#getParameterValues() and/or #getParameter().
    To display, make use of JSTL's c:forEach.

  • PC's can't see all of my .html page but my mac does.

    RE: http://www.todaysipnchat.sipnchat.ca/table.html
    Can anyone help me figure out why my web page is only partially visible to PC's? I built the page with Site Studio 1.7 on my Linux Server and have a table page with the top and right bottom tables visible to PC's but the contents of the bottom right table (which is an embeded adobe.jpg/.html file) is only visible on my mac.
    {<embed src="http://www.todaysipnchat.sipnchat.ca/0901_06/page1_09_0106.html" width=850 height=1200></embed>}
    (is my HTML code correct for embeding a page within a table)?
    What throws me is why can I go to the URL with Safari on my mac and see the whole page, links and all but PC's can't see the .html file? And if I try to email myself the contents of the page it shows up blank even on my mac....below is the code to my page and my .html file> if that helps.....THANKS IN ADVANCE ANYONE!!!!
    http://www.todaysipnchat.sipnchat.ca/table.html >>>:(
    <!-- BOF: ./personal-templates/show.body -->
    <!-- BOF: ./personal-templates/simple/generic/show -->
    <!-- BOF: ./personal-templates/rtl.html -->
    <!-- Locale=enUS_ISO88591 -->
    <!-- EOF: ./personal-templates/rtl.html -->
    <!-- BOF: ./personal-templates/simple/generic/functions -->
    <!-- BOF: ./personal-templates/simple/generic/navbar --><!-- EOF: ./personal-templates/simple/generic/navbar -->
    <!-- EOF: ./personal-templates/simple/generic/functions -->
    <!-- EOF: ./personal-templates/simple/generic/show -->
    <!-- BOF: ./personal-templates/simple/generic/images -->
    <!-- EOF: ./personal-templates/simple/generic/images -->
    <!-- BOF: ./personal-templates/simple/personal/other/l15.settings.init -->
    <!-- EOF: ./personal-templates/simple/personal/other/l15.settings.init -->
    <!-- BOF: ./personal-templates/simple/personal/layout/l15.wait -->
    <!-- EOF: ./personal-templates/simple/personal/layout/l15.wait -->
    <html>
    <head>
    <meta name="description" content="">
    <meta name="Keywords" content="">
    <!-- personal -->
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="Generator" content="">
    <!-- BOF: ./personal-templates/simple/themes.show -->
    <!-- EOF: ./personal-templates/simple/themes.show -->
    <!--<BASE HREF="http://d8669406.he103.hostexcellence.com/table.html">-->
    <title>Page 1</title></head>
    <body bgcolor="#FFFFFF"
    text="#336633"
    leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0"
    onLoad=""
    link="#000000"
    vlink="#000000"
    alink="#000000"
    <div class="jive-quote">
    <!-- BOF: ./personal-templates/simple/personal/layout/l15.layout -->
    <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td height="101">
    <table dir="LTR" border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr>
    <td align="left" width="492"></td>
    <td align="right" valign="middle" width="100%" background="widgets/gen_1.1.gif" height="79"></td>
    </tr>
    <tr>
    <td colspan="2" width="100%" bgcolor="#336633" align="left" height="16">
    </td>
    </tr>
    <tr><td colspan="2" bgcolor="#FFFFFF" height="2"></td></tr>
    <tr><td colspan="2" bgcolor="#336633" height="4"></td></tr>
    </table>
    </td>
    </tr>
    <tr>
    <td valign="top" width="100%" height="80%">
    <!-- BOF: ./personal-templates/simple/personal/table/html -->
    <table align="left" cellspacing="0">
    <tr> <td colspan=2 rowspan=1 valign="top"><!-- BOF: ./personal-templates/simple/personal/table/cell/html -->
    Sorry Under Construction...Please return in a few [email protected]
    <!-- EOF: ./personal-templates/simple/personal/table/cell/html -->
    </td>
    </tr>
    <tr> <td colspan=1 rowspan=1 valign="top"><!-- BOF: ./personal-templates/simple/personal/table/cell/html -->
    <embed src="http://www.todaysipnchat.sipnchat.ca/0901_06/page1_09_0106.html" width=850 height=1200></embed>
    <!-- EOF: ./personal-templates/simple/personal/table/cell/html -->
    </td>
    <td colspan=1 rowspan=1 valign="top"><!-- BOF: ./personal-templates/simple/personal/table/cell/html -->
    <embed src="http://www.visionblazer.com/xp/users/mickey/movies/project1.swf"
    quality=high width=336 height=280
    swliveconnect = false TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1ProdVersion=ShockwaveFlash">
    </embed><embed src="http://www.visionblazer.com/xp/users/mickey/movies/project2.swf"
    quality=high width=336 height=280
    swliveconnect = false TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1ProdVersion=ShockwaveFlash">
    </embed><embed src="http://www.visionblazer.com/xp/users/mickey/movies/project3.swf"
    quality=high width=336 height=280
    swliveconnect = false TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1ProdVersion=ShockwaveFlash">
    </embed><embed src="http://www.visionblazer.com/xp/users/mickey/movies/project4.swf"
    quality=high width=336 height=280
    swliveconnect = false TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1ProdVersion=ShockwaveFlash">
    </embed>
    <!-- EOF: ./personal-templates/simple/personal/table/cell/html -->
    </td> </tr>
    </table>
    <!-- EOF: ./personal-templates/simple/personal/table/html -->
    <center>
    <nobr>|Today's Sip'n'Chat Online!|</nobr>
    <nobr>|Page 1|</nobr>
    <nobr>|Page 2|</nobr>
    <nobr>|Page 3|</nobr>
    <nobr>|Page 4|</nobr>
    <nobr>|Page 5|</nobr>
    <nobr>|Page 6|</nobr>
    <nobr>|Page 7|</nobr>
    <nobr>|Page 8|</nobr>
    <nobr>|Page 9|</nobr>
    <nobr>|Page 10|</nobr>
    <nobr>|Page 11|</nobr>
    <nobr>|Page 12|</nobr>
    <nobr>|Home|</nobr>
    <nobr>|Archives|</nobr>
    </center>
    <center><table border="0" cellpadding="0" cellspacing="3"><tr><td align="center">
    MtM 2006
    </td></tr></table></center>
    </td>
    </tr>
    <tr>
    <td>
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
    <tr><td bgcolor="#336633" height="3"></td></tr>
    <tr><td align="right" valign="middle" background="widgets/gen_1.1.gif"> </td></tr>
    </table>
    </td>
    </tr>
    </table>
    <!-- EOF: ./personal-templates/simple/personal/layout/l15.layout -->
    <!-- BOF: ./personal-templates/simple/themes.show.body -->
    <!-- EOF: ./personal-templates/simple/themes.show.body -->
    </body>
    <!-- BOF: ./personal-templates/simple/themes.show.end -->
    <!-- EOF: ./personal-templates/simple/themes.show.end -->
    </html>
    <!-- EOF: ./personal-templates/show.body -->
    AND NOW THE .html file>>>>
    <html>
    <head>
    <title>page109_0106</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    <!-- ImageReady Slices (page109_0106.jpg) -->
    <table id="Table_01" width="613" height="792" border="0" cellpadding="0" cellspacing="0">
    <tr>
    <td colspan="5">
    </td>
    <td>
    </td>
    </tr>
    <tr>
    <td colspan="5">
    </td>
    <td>
    </td>
    </tr>
    <tr>
    <td colspan="5">
    </td>
    <td>
    </td>
    </tr>
    <tr>
    <td rowspan="4">
    </td>
    <td rowspan="2">
    </td>
    <td colspan="3">
    </td>
    <td>
    </td>
    </tr>
    <tr>
    <td rowspan="3">
    </td>
    <td rowspan="2">
    </td>
    <td rowspan="3">
    </td>
    <td>
    </td>
    </tr>
    <tr>
    <td rowspan="2">
    </td>
    <td>
    </td>
    </tr>
    <tr>
    <td>
    </td>
    <td>
    </td>
    </tr>
    </table>
    <!-- End ImageReady Slices -->
    </body>
    </html>

    THANK YOU!!! I am just learning how to cut and paste; someone just gave me this solution: <iframe src="http://www.todaysipnchat.sipnchat.ca/0901_06/page1_09_0106.html" width="750" height="800"></iframe>
    I'll give this a try next...I also discovered that my mac is set at 1440 X 900 (I'm new to Macs too) and I was going more on how things looked on my (only computer) when I should have been paying attention to settings for different Browsers. Now I need to figure out what are the best overall sizes and settings to set things at...any sugestions?
    What I have been doing is: taking a .pdf sent to me originally made in Pagemaker Pro 7 --I open it in PhotoShop 8.5 X 11 300dpi I reduce to 72 dpi save for web in slices with images and HTML producing for me a 612 x 792 pixel page... I have a basic 2 col x 2 row table page produced on my hosting server(Site Studio) -in one of three cells I place the header then below left the .html and in the other cell to it's right I place several 336 x 280 flash animations all with the <embed> tags....this obviouly hasn't worked too well...but 750 + 336 is just under 1100 so shouldn't that be ok over all for most of todays Browsers? I don't mind the scroll bar vertically appearing as it makes room for more banner ads down the side (I think).
    A PC opinion of http://www.todaysipnchat.sipnchat.ca/page109_0106.html would be appreciated anyone out there as I don't have one to check things outfirsthand.... Thanks again for all your support - people like me couldn't get off the ground without you!........MtM

  • XML to convert creative html to jsp?

    I am trying to find a way to use XML, XSL, etc., to make the process of building web pages at my company easier between the creative team and developers:
    1.) The creative team creates the images, text, and html (using Dreamweaver). Please note, the creative team barely knows html, much less xml, xsl, or taglibs.
    2.) The creative team then sends me the html pages.
    3.) I then need to "convert" the html into jsps. That is, I remove the mock/dummy dynamic content, and replace it with the scriptlets or taglibs that will produce the real dynamic content.
    This takes alot of time. On top of that, if the creatives ever need to be changed, I need to send the newly converted jsps back to the creative team. They inevitably mess the jsps up, because they do not understand scriptlets or taglibs. Is there some standard way of dealing with this scenario, so that the creative team and I can work better together, and so that I dont constantly "convert" the html pages to jsps? I know one option is Enhydra's xmlc, but I will have a hard time getting the creative team to adopt that.
    thank you,
    David

    y don't u eliminate your jsp from your HTML. you can inculde html files as a header and footer.
    tell to write a comment tag in html <Html code> <table><tr><td> <!--jsp output--></td></tr></table> <Html code>. you can write a small jsp which can String.indexOf("<!--jsp output-->");. you can easily create header and footer files. for your jsp, u can also change your jsp code like this.

  • How can I set the language when sending an e-mail with attachment - 'Html'?

    "Character Broken"
    I made an ALV program, and this convert to "HTML',  and send an e-mail with this.
    Used Process is:
    DATA: gt_abaplist LIKE TABLE OF abaplist,
          gt_html LIKE TABLE OF w3html,
          doc_chng LIKE sodocchgi1,
          objpack LIKE TABLE OF sopcklsti1 WITH HEADER LINE,
          objhead LIKE TABLE OF solisti1 WITH HEADER LINE,
          mail LIKE TABLE OF solisti1 WITH HEADER LINE,
          reclist LIKE TABLE OF somlreci1 WITH HEADER LINE,
          lv_line TYPE i.
    DELETE FROM MEMORY ID '%_LIST'.
    SUBMIT z_template
       AND RETURN EXPORTING LIST TO MEMORY.
    CALL FUNCTION 'LIST_FROM_MEMORY'
      TABLES
        listobject = gt_abaplist
      EXCEPTIONS
        not_found  = 1
        OTHERS     = 2.
    CALL FUNCTION 'WWW_HTML_FROM_LISTOBJECT'
      TABLES
        html       = gt_html
        listobject = gt_abaplist.
    doc_chng-obj_name   = 'URGENT'.
    doc_chng-sensitivty = 'O'.
    doc_chng-obj_descr  = ' '.
    doc_chng-obj_langu  = '3'.
    objhead-line        = ' '.
    APPEND objhead.
    mail[] = gt_html[].
    DESCRIBE TABLE mail LINES lv_line.
    CLEAR: objpack.
    objpack-transf_bin = 'X'.
    objpack-head_start = 1.
    objpack-head_num   = 0.
    objpack-body_start = 1.
    objpack-body_num   = lv_line.
    objpack-doc_type   = 'htm'.
    objpack-obj_descr  = ' '. 
    objpack-doc_size   = lv_line * 255.
    objpack-obj_langu = '3'.
    APPEND objpack.
    CLEAR: reclist.
    reclist-receiver = 'e-mail address'.
    reclist-rec_type = 'U'.
    APPEND reclist.
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
      EXPORTING
        document_data              = doc_chng 
        put_in_outbox              = 'X'
        commit_work                = 'X'
      TABLES
        packing_list               = objpack
        object_header              = objhead
        contents_bin               = mail
        receivers                  = reclist
      EXCEPTIONS
        too_many_receivers         = 1
        document_not_sent          = 2
        document_type_not_exist    = 3
        operation_no_authorization = 4
        parameter_error            = 5
        x_error                    = 6
        enqueue_error              = 7
        OTHERS                     = 8.
    SUBMIT rsconn01 AND RETURN.
    I want to show  this by "Japanese".
    But the character is broken.
    LIke This:
    u01D1u072C          u0205|            u0205u072C          u0508           QC u04B90m
    How can I set the language?  How can I solve "Charancter Broken" ?
    Plesse, let me know.
    Thank you so much.
    Edited by: Jaime White 999 on Nov 21, 2011 8:45 AM
    Edited by: Jaime White 999 on Nov 21, 2011 8:46 AM

    Hi Jaime,
    Are you saying, you are getting junk characters in the email attachment? Then pls check the following. Since you want to send Japanese fonts, please pass language 'J' in both  objpack-obj_langu = '3' & doc_chng-obj_langu  = '3' instead of '3' please replace it with 'J'.
    Another thing which you may have to check is the SCOT device type. As I understand from my basis colleague, this may also affect your attachment fonts since the emails are sent through SCOT. Go to transaction SCOT-> Settings-> Device types for format conversion. Check whether wrong device type is defined for Japanese there. Hope this helps
    Regards,
    Gokul

  • How to get color in the final row of table view( table control)

    Hi,
    iam having a table control displayed with 10 records as output,in that i need to provide a color for the final row since it is total inorder to show difference from other records.
    Kindly advise me on this.
    Thanks & Regards,
    Nehru.

    Hi Nehru,
    Checkout [THIS|Re: set color for a particular row in table view] thread .
    [This |http://www.sapdesignguild.org/resources/htmlb_guidance/table.html#at] Might also help you.
    Regards,
    Anubhav
    Edited by: Anubhav Jain on Jan 4, 2009 7:34 AM

  • ADF Popup for adding a new Row in  table

    Hi All,
    I have VO which is rendering as table on my jsff.I created a button of createInsert to add a new row and after commit it saves the values in Table in DB.
    Works abst fine.
    Now i want to change this feature to that when a New Row should be Added, a pop up should appear in the format of a form, and at the click of OK it should save the data and on Cancel go back to Page.
    What i did was i added a pop up, in the pop up body i again dropped my VO as a form and added a dialoglistener to the pop up which commits on click of OK and Rollback on click of Cancel.
    I am not getting any exception but The Db is not modified with my entries.
    So its simple that i am commiting but nothing is changed till that time.
    How can i get the Task done?????
    Regards
    User

    http://www.oracle.com/technetwork/developer-tools/adf/learnmore/77-ok-cancel-support-in-dialog-351871.pdf
    insert operation using popup
    http://andrejusb.blogspot.com/2009/11/crud-operations-in-oracle-adf-11g-table.html
    Edited by: Erp on Oct 20, 2011 6:47 AM

  • SSMS 2012: Import XML File to SQL Table - 'value' is not a recognized built-in function name!!??

    Hi all,
    I have the following xml file (books1.xml):
    <bookstore>
    <book>
    <BookID>1</BookID>
    <title>Everyday Italian</title>
    <author>Giada De Laurentiis</author>
    <year>2005</year>
    <price>30.00</price>
    </book>
    <book>
    <BookID>2<BookID>
    <title>Harry Potter</title>
    <author>J K. Rowling</author>
    <year>2005</year>
    <price>29.99</price>
    </book>
    <book>
    <BookID>3<BookID>
    <title>XQuery Kick Start</title>
    <author>James McGovern</author>
    <year>2003</year>
    <price>49.99</price>
    </book>
    <book>
    <BookID>4<BookID>
    <title>Learning XML</title>
    <author>Erik T. Ray</author>
    <year>2003</year>
    <price>39.95</price>
    </book>
    </bookstore>
    In my Microsoft SQL Server 2012 Management Studio, I executed the following SQL Query code:
    --XQuery w3schools example using books1.xml in C:\Temp folder
    ---SQL Query W3books Title
    ---9 March 2015
    USE XML_XQUERY
    GO
    CREATE TABLE W3Books(
    BookID INt Primary Key,
    Title VARCHAR(30));
    INSERT INTO W3Books (BookID, Title)
    SELECT x.book.query('BookID'), value('.', 'INT'),
    x.book.query('title'), value('.', 'VARCHAR(30)')
    FROM (
    SELECT CAST(x AS XML)
    FROM OPENROWSET(
    BULK 'C:\Temp\books1.xml',
    SINGLE_BLOB) AS T(x)
    ) AS T(x)
    CROSS APPLY x.nodes('W3Books/book') AS x(book);
    SELECT BookID, Title
    FROM W3Books;
    I got the following error messages:
    Msg 195, Level 15, State 10, Line 7
    'value' is not a recognized built-in function name.
    Msg 156, Level 15, State 1, Line 16
    Incorrect syntax near the keyword 'AS'.
    I don't know why I got the error of 'value' is not a recognized built-in function name. Please kindly help and tell me what is wrong in my code and how to correct the error.
    Thanks, Scott Chang
    P. S.
    (1) I mimicked the xml file and SQL Qeury code of Import XML File to SQL Table in
    http://pratchev.blogspot.com/2008/11/import-xml-file-to-sql-table.html. The xml file and the code of this sample worked in my SSMS 2012 program.
    (2) I am learning the "CAST" and "CROSS APPLY" in the Create Instances of XML Data of Microsoft MSDN - it is very abstract to me.

    Hi Stan210, Thanks for your nice response.
    I corrected my xml file as you pointed out.
    I made some changes in some code statements of my SQLQueryW3BookTitle.sql as you instructed:
    --XQuery w3schools example using books1.xml in C:\Temp folder
    ---SQL Query W3books Title
    ---10 March 2015
    USE XML_XQUERY
    GO
    CREATE TABLE W3Books(
    BookID INt Primary Key,
    Title VARCHAR(30));
    INSERT INTO W3Books (BookID, Title)
    SELECT x.book.value('/BookID[1]', 'INT'),
    x.book.value('/title[1]', 'VARCHAR(30)')
    FROM (
    SELECT CAST(x AS XML)
    FROM OPENROWSET(
    BULK 'C:\Temp\books1.xml',SINGLE_BLOB) AS T(x)
    ) AS T(x)
    CROSS APPLY x.nodes('bookstore/book') AS x(book);
    SELECT BookID, Title
    FROM W3Books;
    I executed my revised sql and I got the following Message and Results:
    Msg 515, Level 16, State 2, Line 6
    Cannot insert the value NULL into column 'BookID', table 'XML_XQUERY.dbo.W3Books'; column does not allow nulls. INSERT fails.
    The statement has been terminated.
    (0 row(s) affected)
    Results:
    BookID    Title
    I don't know why I just got the names of columns in Results and the "Cannot insert the value NULL into column 'BookID', table 'XML_XQUERY.dbo.W3Books'; column does not allow nulls, insert fails." in Messages.  Please kindly help, advise me
    how to correct the errors and respond again.
    Many Thanks again,
    Scott Chang

  • Issue in workflow binding of Table in send mail step

    Hi All,
    I am working on a Travel Management workflow where mail needs to be sent to the manager along with the trip details.
    We are displaying data in tables (html format). Now i need to add another such table with details into this already existing workflow but i am facing issues in binding.
    Issue: For already existing tables, the binding is like this,
    Export to task,
    &TRIP& --> &T_SUMMARY##&
    Import to w/f,
    &T_SUMMARY##& <--- &T_SUMMARY##&.
    But when i am trying to add my table in binding as, &TRIP& --> &T_MILEAGE##&,
    I am getting a binding error, &T_MILEAGE##& is not available in the container.
    I checked the container both in workflow and in task, both contain multiple declarations of the variable &TRIP& which is of type the BO.
    Kindly help me how to proceed further.
    Regards,
    Jose

    Hi Anjan,
    The status of  note  1658491 is also cannot not be implemented.
    I checked the correction given in this note. All changes exists into system.
    Following is code of method SEND ( (CL_SWF_UTL_MAIL_FACADE)
    *- check if document has recipients at all
           lt_recipients = lo_send_request->recipients( ).
           if lt_recipients is initial.
             lo_send_request->delete( ).
             ls_t100msg-msgid = 'WZ'.
             ls_t100msg-msgty = 'E'.
             ls_t100msg-msgno = 619.
             raise exception type cx_swf_run_wim
               exporting
                 t100_msg = ls_t100msg.
           else.
    *-       Send document
             call method lo_send_request->send( ).
           endif.
    The exception is thrown, because lt_recipients table is blank.
    With same parameter the workflow is running successfully if 'Long mail title' is not set in SWPA.
    When is field is active, workflow returns message Document <> could not be sent
    The method "SELFITEM->SendTaskDescription" does not send mail if Long Mail Title" indicator is set .   
    Thanks & Regards,
    Mounj K

Maybe you are looking for

  • Syncing photo's from iphoto adds another 'photo library' without deleting 'camera roll' photo

    Hi there, I found that I can add photo's (without deleting my existing camera roll) to my Iphone 4 from my girlfriends mac to my iphone by syncing from iphoto and selecting the photo events or folder I want. Then pressing 'apply' adds a new photo lib

  • What is error code 9977652 and how to fix it?

    I can't seem to star up my computer and the error code is 9977652, how do I fix this problem? It jets stuck on the apple icon and gets overheated in no time. I am worried, please help.

  • Modal JDialog move only in JFrame

    I need to create dialogs that can only move within the context of the apps JFrame. Any ideas on how to accomplish this?

  • Vofm: how to set condition value.

    i complete a formula routin.and would like to set the price condition value . but when i set the value to xkomv-kbetr, the result don't save. it seems like that xkomv is replaced by rettkomv.

  • Recording Scratch Narration Directly to FCP

    I am about to record some scratch narration and what to know the best way to do it directly into FCP. Is it better to use the capture tool or the Voice Over tool. Also should I invest in a cheap mic and sound card (any suggestions on what to buy?) in