How to take input in arraylist in jsp using spring Frawork tags

hi all i am using this code in my jsp using spring framework ..n in this code i am finding difficulties to take input in arraylist...can any one suggest me proper method for it
<core:forEach items="${addUpcModel.resultList}" var="result">
<td width="4%" class="normal"><core:out value="${result.vendorSize}"/></td>
</core:forEach>
</tr>
<tr class="white">
     <td class="normal">Quantity</td>
<core:forEach items="${addUpcModel.resultList}" var="result">
<spring:bind path="addUpcModel.upcDO.quantityOrder">
          <td class="normal"><span class="normallink">
          <input name="<core:out value="${status.expression}"/>" type="text" size="10" maxlength="10"
          onKeyPress="return numbersonly(this, event)"
          value="<core:out value="${status.value}"/>"/>
          </span></td>
     </spring:bind>          
</core:forEach>     
i want to take quantity order in array format..as how many columns .it will be decide by database ...in arraylist

af:outputText has an attribute escape which you can set try.
You should try af:outputTextFormatted too.
Timo

Similar Messages

  • How to hide input fields on selection screen using variant attribute

    Hello all,
    I want to know how to hide input fields on selection screen using variant attribute conpletely.
    As you know, when setting the attribute of variant "Hide field" checked, the field is temporarily hidden, but when clicking "All Selections(F7)" button on the selection screen, the fileds become appeared.
    I want to hide the field completely. Di you know how to do ?
    Thank you for your support.
    Regards,
    Hideki Kozai

    Use this attribute hide field and save the variant. Then create transaction for this program setting default variant for parameter Start with variant . The user who runs it will have it by defualt set.
    Otherwise
    in PBO simply use LOOP at screen and output = 0 for this field. This will ensure that field is invisible in any case.
    Regards
    Marcin

  • How to take input in one frame and display it in other frame of  same page?

    I need to take input (text) for the comment field in one of the frames and when submit button is pressed it should be displayed in the other frame on the same page.
    I am able to get the input from the user but its not reflected in the other frame which basically is a table...............so let me know if you guys have any suggestions
    I used following code
    <form name="input" action="<%= base_url %>/index.jsp?yr=<%= y %>&mon=<%= m %>&day=<%= d %>" method="post">
    Comment:
    <input type="text" name="comment" size="20"/>

    The trick is to define paintComponent to all applicable panels and pass the Graphics parameter to a separate method which does the drawing for you.
    class Component1 extends JPanel
       //blah blah blah - put your code here
       public void paintComponent(Graphics g)
          //insert setup functions here
          paintStuff(g);
       //more arbitary code
       public void paintStuff(Graphics g)
          //do your drawing here
    }And you would usually want to separate your UI components from the drawing so it doesn't intefere with the client's perception of the program. In other words, don't draw on the content pane, draw on a custom panel and add it to an appropriate part of the content pane.
    Stephen

  • How to take Input from the callers telephone keypad into oracle database

    My client requires to automate a registration task for his customers by telephone. The requirement is the Oracle database should take numeric input from the callers telephone keypad eg 1 or 2 or 3 and the oracle must store this input inside its database and do some required processing with such input and generate a unique numeric id (sequence) and send back this unique numeric ID to the caller who is on hold. Please Note. Is there any electronic device to be installed at the client site to solve the above task eg. any telephone line to be connected to the CPU and etc?
    I completely have zero knowledge. Please can you outline/summarise the instructions how to construct and install to meet my client requirement.
    If this is not possible in Oracle I Can migrate to any database. Please suggest.
    please help me. if you cant help i appretiate if you give me some clues

    You need to start with your telephone system. Normally this situation would involve some sort of PBX or other internal switching equipment. Talk to your vendor. There's likely to be software, etc. available to perform the interaction with the end user.
    It should have programmable "hooks" to interface with various databases. To Oracle it just looks like another program.
    Ken

  • How to take inputs in scheduled job

    Hi all,
    I have a report which is having certain dates to be input on selection screen e.g. Starting date- ending date, Week start date- ending date, and report date.
    Now requirement is to schedule job on daily basis..
    In this , my query is , I have to give dates logic in program itself.. or there is any option after scheduling job dates change can be done automatically. ?
    Thanks in advance to clear my doubts.

    Hi,
    you can define a selection-screen variant. for the dynamic input in date-fields you can use "dynamic date calculation" for your selection field like:
    - current date +/- xxx days
    - First day of next month
    - and so on
    alternative you can use a variable from table TVARVC which you can set with another/previous program
    hope this helps
    regards
    Hans

  • How to take input from scanner machine

    Hello friends
    I am working on a application in which my task is to getting the data from scanner and store in IMAGE format on any particular location on Disk but i am not able to get data from Scanner machine as input and store that as image format
    So Pls help me on this issue ........................
    Thanks BUDDY in ADVANCE....................

    import java.io.*;
    public class getInput {
       String name = null;
       public static void main (String[] args) {
          System.out.println("Enter your name: ");
          BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
          try {
             userName = br.readLine();
          } catch (IOException ioe) {
             System.out.println("IO error!");
             System.exit(1);
          System.out.println("Hello, " + name);
    }  // end of ReadString class

  • How to send the payload to a jsp using receiver Http adapter?

    Hi experts,
    I have this scenario from Legacy to XI to external app server.I have a test jsp to execute that functionality .Its a jsp which has 1 textarea named "test" and when I click on the submit buton I get a response back.This way I am able to test this independently.Now from XI when I am executing my scenario I am getting status code '1250' and message as ' http request(test) is null'.Now in the scenario in http adapter I just provide the target host : ip of server ,
    service number : port no ,
    path: the container or the request handler. But this scenario fails and gives me the above erroneous response.Now Basically I am not able to get how to send the value to the textarea "test"? please provide help as soon as possible.Do we have to put the name of the jsp in the "path" in http adapter and use prolog as test=.I tried this but it doesnt work.
    Is there any way to check the URL that it forms after appending the querystring in the url ...?
    So please provide help on this or suggest a solution to [email protected] as soon as possible.....
    Thanx in advance.
    Akshata

    hey Shekhar,
    thanx for that prompt reply but I have configured the communication channel in the same manner as suggested by u.
    actually I have this jsp page http://xx.xx.xx.xx:8080/abcdef/try/efg.jsp where there is a textarea "test" which has to be filled and there is a submit button.When I test this http client i.e the above jsp page independently then it goes to handler
    http://xx.xx.xx.xx:8080/abcdef/trial/    And it gives a proper response message after clicking on the submit button.
    now I want to carry out the same using receiver http adapter. I need to pass the value for this inputfield names "test" on that jsp . so right now I have configyured the adapter as
    addressing type: url
    target host : xx.xx.xx.xx
    service no:8080
    path : here I have given the path of handler i.e /abcdef/trial I tried giving the jsp page also but logically I guess it should be the handler.
    content type: text/xml; charset=iso-8859-1
    xml code: UTF-8
    Mask special characters (URL escaping) checked.
    now since the name of the inputfield is "test" in the prolog I gave test=
    But it doesnt work I get this error "http request parameter [test] is null" in the response message  which I guess suggests that it is not able to send the value for the field"test" to that handler.Please suggest how to send this and tell me if there are any other configurations that I have to do in the receiver communication channel.
    Thanx ,
    Akshata

  • How to take a photoshop pattern repeat and use it in Illustrator?

    Hi,
    I want to be able to take a pattern I have created in photoshop and bring it into Illustrator and be able to fill an object with the pattern. How do I do this?
    Thanks

    1. Copy the PS pattern to the clipboard and paste into AI.
    2. Drag the pasted object into the Swatch Panel (it becomes a swatch pattern).
    3. Fill any selection with the swatch.

  • How to write this java code in jsp using jstl  tags?

    Can anybody help me on this?
    I dont know how to check the containsKey using jstl tags?
    <%
         LinkedHashMap yearMap     =     (LinkedHashMap)request.getAttribute("yearMap");
         TreeSet nocSet               =     (TreeSet)request.getAttribute("nocSet");
         Iterator     yearMapIt     =     yearMap.keySet().iterator();
         while(yearMapIt.hasNext())
              int yearValue               =     (Integer)yearMapIt.next();
    %>
    <tr>
              <td><%=yearValue%></td>
    <%
              LinkedHashMap monthMap     =     (LinkedHashMap)yearMap.get(yearValue);
              Iterator     nocSetIt     =     nocSet.iterator();
              while(nocSetIt.hasNext())
                   String nCase=(String)nocSetIt.next();
                   if(monthMap.containsKey(nCase))
                        String count     =     (String)monthMap.get(nCase);
    %>
                        <td> <%= count %> </td>
    <%            }
                   else
    %>          
                        <td> 0 </td>     
    <%          
    %>
    </tr>
    <% } %>Edited by: avn_venki on Feb 18, 2008 11:54 PM

    <c:forEach var="yearMap" items="${requestScope.yearMap}">
         <th> <c:out value="${yearMap.key}"/> </th>
    <bean:define id="monthMap" value="${yearMap.value}"/>
    <c:forEach var="nocSet" items="${nocSet}">
    then how to write containsKey using tags??

  • How to execute oracle reports file from jsp using WL as an app server

    I plan to use jsp to accept IN parameters and later want to execute oracle
              report execute stored in some directory and provide results back to the
              client browser window. Is this possible in JSP + WL? If yes, can you
              provide some tips on the code?
              Thanks.
              

    Try
    sqlplus "sys/oracletest as sysdba" @bpk.sql
    Working locally, and having set the ORACLE_SID, you don't need to specify the SqlNet alias (@testdb).
    Remember to put an exit at the end of the bpk.sql script.

  • How to Take source value remove zero and use it In receiver Determination

    Hi
    I am working On IDOc to Soap channel.
    In idoc Fields ,I am using EMPST field from IDOC and accordingly I am putting Condition in Receiver Determination.
    IF EMPST 111 Then Revceive1
    IF EMPST 222 Then Revceive2
    IF EMPST 333 Then Revceive3
    But sometimes values also Come as 000111 or 00111 or 0111 same for Others.
    I have used follwong condition in Receiver Determination.
    IDOC/E1EDK01/EMPST u2248 *111
    But it working fime for leading zero.
    But if values come as 8111 or 78111 it is also routing message to Revceive1.
    same for others.
    Can you plz suggest solution?

    you can use enhanced receiver determination ,, where you can specify your logic in the mapping
    http://wiki.sdn.sap.com/wiki/display/XI/EnhancedReceiverDeterminationinSAP+XI
    http://wiki.sdn.sap.com/wiki/display/SI/StepbyStepguidetoExplainEnhancedReceiver+Determination
    in the UDF you can write the logic to  remove leading zeros if required:
    Re: removing leading zeros

  • How To render content tree flex parent asset using search state tag

    i m creating asset in flex parent and  and i placed this  in a tree tab. i want to get the attribute value inside level2 in content tree.
              For eg:
              1.product
                   2.cctv
                        -480cam    
                         -520 cam
                   2.standalone
                        -hseries
                        -pioneer
    Now i want to get the values of (480,520)if i render cctv...same way retreive attribute value (hseries,pioneert) if i use standalone
                   how this possible using searchstate tag please anyone know help me.This is my code.....
    <searchstate:create name="pro22" op="and"/>
    <searchstate:addstandardconstraint name="pro22" attribute="AssetAttrl2" immediateonly="true" typename="HF_Attribute_A"/>
    <assetset:setsearchedassets name="pro33" assettypes="HF_Product_P" constraint="pro22" fixedlist="true"/>
    <assetset:getassetlist name="pro33" listvarname="imagelist11" list="listout" />
    <ics:if condition='<%= ics.GetList("imagelist11") !=null && ics.GetList("imagelist11").hasData()%>'>
    <ics:then>
    <ics:listloop listname="imagelist11">
    <ics:listget fieldname="assetid" listname="imagelist11" output="imag22"/>
    <render:calltemplate tname="HF_3rdlevelProductPage" c="HF_Product_P" cid='<%=ics.GetVar("imag22") %>' ></render:calltemplate><br/>
    </ics:listloop>
    </ics:then>
    </ics:if>

    WCS flex asset model supports a concept called "inheritance". This means, all the attribute values at parent level can be accessed at child level.  You can use this to search all the Product_C assets using an attribute at parent level.
    <listobject:create name="lo" columns="value" />
    <listobject:addrow name="lo">
    <listobject:argument name="value" value="cctv"/>
    </listobject:addrow>
    <listobject:tolist name="lo" listvarname="matchlist"/>
    <searchstate:create name="pro22" op="and"/>
    <searchstate:addstandardconstraint name="pro22" attribute="AssetAttrl2" list="matchlist" typename="HF_Attribute_A"/>
    <assetset:setsearchedassets name="pro33" assettypes="HF_Product_C" constraint="pro22" fixedlist="true"/>
    The above serach state gives you all the products matching CCTV.
    Hope this helps
    Ravi G

  • How do i query for a html content using cm:select tag

    Hi i want to query the dmsBase directory for any html file(s).
    I am using..
    <cm:select> tag and using query ="mimeType like 'text/*' "
    But it doesnot work
    HELP....

    Thanks for the reply, however I did find that you can test for a NULL with a Velocity #if statement and it works. Here's what I found this at the below website:
    Conditional. Null can be checked for using #if ($obj) obj not null #end syntax.
    http://today.java.net/pub/a/today/2003/12/16/velocity.html
    Regards

  • How to fix "Must be literal" error when using a4j:keepAlive tag?

    Hi everybody,
    When I use <a4j:keepAlive> tag of Richfaces like this:
    <a4j:keepAlive beanName="#{templateController.currentType}"/>I got the an error like this:
    /templates.xhtml @20,91 <a4j:keepAlive beanName="#{templateController.currentType}"> Must be literalIn my class, I have declared as:
    class TemplateController{
        private TemplateType currentType;
        public void setCurrentType(TemplateType type) {
        public TemplateType getCurrentType() {
    }I implemented as guide from Richfaces document but don't know why this happened.
    Could anyone tell me why? Please help me to fix it.
    I really appreciate it,
    Ringo
    Edited by: Ringo.CS on Jun 19, 2008 3:42 AM
    Edited by: Ringo.CS on Jun 19, 2008 3:43 AM

    No, the error message says that the value must be a literal and thus not an EL. I don't know anything about Ajax4jsf (you're in the wrong place to ask questions about it, rather use the forums of the Ajax4jsf manfacturer at jboss.com), but the attributename and errormessage together makes it logical to put just the raw managed bean name in there. If this is not what you're after, then just consult their documentation and forums at jboss.com.

  • How to take a picture the menu???

    I noticed that some of facebook users are uploading the picture of their program or website. I just want to know how to take a picture if I am using iphone 4. My friend said press the power button and menu button at the same time but its not working. What should I do???

    Try this...
    press and hold the home button
    press and release the sleep/power button (you'll hear a shutter click)
    release the home button
    look in your camera roll

Maybe you are looking for

  • My iPhone 4s doesn't work

    Hi, I bought an iPhone 4s via online shop in USA and I have been using it in Turkey.       My phone's IMEI number is 013049008325278. Last week, it was getting warm and then closed. I have tried to open it but couldn't. Then I shown it to the Apple's

  • Help with EventListeners

    ok can someone tell me what I can do to fix this. here is my code package game; import javax.swing.*; import java.awt.*; import java.awt.event.*; public class GameFrame extends JFrame implements EventListener { public int plastic = 75; public int met

  • Software update Please help

    I just downloaded the new ios 5.1, however, it is not upgraded. I turned off the phone and nothing happened.Now when I go to software update there is the number 1 next to it. Like there is something i need to do. But once I click on it. It says downl

  • Verizon iPad 2 Does not work in Alaska

    Well, yesterday I found out my Verizon iPad 2 will not connect with Verizon's system in the State of Alaska (I work here but live in Oregon). No where in Verizon's or Apples web sites could I find a disclaimer that an entire State would be off limits

  • Why sell no more the new iPad but still iPad 2?

    ich habe am 16.04.2012  „the new iPad" gekauft. Ich war zufrieden mit der Technik und Qualität des Produkts und war stolz ein Apple Kunde zu sein. Am 23.10.2012, werde ein anderes Produkt ausgeben und das neue Produkt hat andere Technik. In Apple sho