EL and quotes for input value

In my Tomcat 6.0.20 container, I have a form value that works great except if the user enters quotes in the form input. Anything in quotes wont show up.
For example if they enter: Here is the "info"
The form value would only show: Here is the
Input example that wont work with quotes:
<input type="text" name="city" value="${dataBean.city}" />If I use tick instead of quotes it works and shows anything in quotes:
<input type="text" name="city" value='${dataBean.city}' />Please advise why this is happening and if there is an alternate solution to this issue?

Evergrean wrote:
In my Tomcat 6.0.20 container, I have a form value that works great except if the user enters quotes in the form input. Anything in quotes wont show up.
For example if they enter: Here is the "info"
The form value would only show: Here is the
Input example that wont work with quotes:
<input type="text" name="city" value="${dataBean.city}" />If I use tick instead of quotes it works and shows anything in quotes:
<input type="text" name="city" value='${dataBean.city}' />Please advise why this is happening Check the generated html page source code.It should explain the behavior.
and if there is an alternate solution to this issue?Try using out tag. For eg:
   <input type="text" name="city" value='<c:out value="${dataBean.city}"/>' />

Similar Messages

  • HT4489 I need more space and quota for my iCloud calendar than only 25.000 events or 24 MB.. What should I do..?

    I need more space and quota for my iCloud calendar than only 25.000 events or 24 MB.. What should I do..?

    It can't be expanded.  You'll have to use a different calendar service if iCloud limits aren't enough.

  • How to hide a varible that is ready for input and personalized for a value

    Hi All,
    Is there anyway to hide a variable in variable screen selection which is ready for input and its personalized value is stored in the ODS.
    Any help greatly appreciated.
    Suresh.

    Hi Roberto,
    Is there anyway to hide that variable from the variable screen(with still option being selected as ready for input).I ried all the options such as replacemetn type & copy from another variable.Always it appears in the varaible screen.
    I don't want user to change the value of this variable.
    Cheers,
    Suresh.

  • Embedd excel in browser, use excel interface for inputing values.

    Embed excel sheet in browser and give application same functionality as excel sheet gives. We can use the excel sheet for input and able to update the values in database.
    Please provides the solution as how to do it. Is there any reply...........

    you can use applet to do this work.
    Jxcell spreadsheet somponent is a excel compatible spreadsheet.
    It can be embed in java applet.support cell format,formula,pic,chart etc,
    all these can exchange with Excel.
    http://www.jxcell.net

  • Sorting and null for monetary values in a report

    All,
    I think this should be an easy one, and I've just missed something obvious.
    I have a standard report in APEX 3.2.1 that includes a column with a monetary amount in it. I want the column to show the UK Pound sign, be sortable, and show nulls where appropriate.
    The issue I have is I can't find a way to achieve all 3 in a satisfctory way. As I see it the options would be:
    1) In the SQL for the report, concat the pound sign to the column required, e.g. SELECT '£'||amount FROM....
    The issue is that this makes this field a CHAR field, so sorting would not sort in the same way as for a number field.
    2) Use the Number format FML999...etc. in the Column Attribute.
    The problem with this is that this is a multi-country database, and the default monetary unit is set to the US dollar.
    3) Use the HTML expression box in the Column attribute to display £#COL#
    This fulfills the pound sign and retaining the number format, but unfortunately a null value is displayed as a £ sign with no numbers. I can't think how to get it to leave that value in the report as completely blank.
    As I said, I'm sure I've missed soemthing obvious. If anyone can spot how to achieve this it'd be much appreciated.
    Regards,
    Jon.

    >
    2) Use the Number format FML999...etc. in the Column Attribute.
    The problem with this is that this is a multi-country database, and the default monetary unit is set to the US dollar.
    >
    The NLS currency symbol can be modified on the fly if you have some means of identifying user location/preference: {thread:id=990848} (ignore the last post)
    However, it probably doesn't make sense to do that&mdash;£100 &ne; $100 (at least I hope not!)&mdash;unless there's some kind of conversion occurring in the report? Is there a currency stored along with the amount?
    >
    3) Use the HTML expression box in the Column attribute to display £#COL#
    This fulfills the pound sign and retaining the number format, but unfortunately a null value is displayed as a £ sign with no numbers. I can't think how to get it to leave that value in the report as completely blank.
    >
    Use 2 columns, one for the amount, and one for the currency, with a switch to include or exclude the latter as necessary:
    select
              ename
            , comm amount
            , nvl2(comm, '£', null) currency
    from
              emp
    where
              job in ('SALESMAN', 'MANAGER')
    ENAME      AMOUNT                 CURRENCY                        
    ALLEN      300                    £                               
    WARD       500                    £                               
    JONES                                                             
    MARTIN     1400                   £                               
    BLAKE                                                             
    CLARK                                                             
    TURNER     0                      £                                Then use both columns in the Amount HTML Expression:
    #CURRENCY##AMOUNT#

  • Any other procedure for inputing values

    hi everybody,
    how to input values via screens in to database other than BDC procedure?
    how to print values of basic list which r get stored in hide command in next secondary list?

    Hi,
    Raja
    welcome to community,
    other than BDC u can use session method or Direct Input method to insert values into database
    u can retrive directly the values tht r stored by using tht HIDE command
    u can write loop at and u can retrive tht values
    if helpfull please reward
    feel free to ask any quiries
    my mail id is [email protected]

  • Recieve a value and search for a value greater than item

    is this code correct if i wanted to recieve a single argument item and search the list for a value greater than item
    public boolean greaterFound(Comparable item)
         int index = 0;
      while (index < numItems && listItems[index].compareTo(item) != 0)
          index++;
      return ((index-1) < (index));
    }

    Okay here are all the errors piece by piece.
    public boolean greaterFound(Comparable item)
         int index = 0;Well to start with this is not an error per se. But I would just return true if I found a match and false otherwise. There may be some who think that is terrible... I disagree.
      while (index < numItems && listItems[index].compareTo(item) != 0)What is numItems?
    That if is shady.
    What you are checking for is flat out wrong.
          index++;I'd be returning true here
    return ((index-1) < (index));This is just nonsense. As it stands will always return true and invalidates the rest of your code.

  • BEx analyzer variable screen Copy  and paste the input values functionality

    Hi all,
    in bw 3.5 we have functionality on the variable screen we can do directly copy the values and paste in the input screen. But in BI 7.0 BEx analyzer I am not able to find it. Is it required to apply any patches?
    Please guide me on this.
    Thanks

    Hello All,
    We have a similar issue only in 2004s query designer when we execute a query via the web. We have the variable set up to accept multiple single values and we can pick multiple single values and add them, however, we cannot paste a list of, for example, personnel numbers from an excel spreadsheet into the web selection box to add multiple single values at one time.  Does this functionality exist?
    Regards,
    Ann Bohn

  • Search row and column for return value

    Dear Sir/Madam,
                               I have a problem for searching spreadsheet and hope you can help me out a bit.  Im pretty new to Labview and Im currently using Labview 8.0.  My task is to search the spreadsheet I have attached in row and column-wise, then return the corresponding value out.  I had an attempt in doing this as you can see from the vi that i have attached.  I try inputting the 'read from measurement file' into an array and using delete, index and search array I will be able to find the index value for the relevant row and column that i searched for by inputting them into an index array with the orginal array from the 'read from measurement file'.
                              So ultimately, when i enter a row value of 0.5 and a column value of 0.3, my output will be 1.688.
                              I can't see any mistakes in my logic but I getting really strange results, like I can read my data has been entered into an array but when i try deleting the first column and put it into another array, the orginal array with nothing deleted is outputted hence making my search to give out -1 value. So could you take a look please and give me any suggestion that can solve my problem or enhance the code a bit.  Thank you for your time.
    Best Regards,
    Coato
    P.s for some reason i can't attached the .lvm file of my data hence i have attached the excel version but i think you need to convert it back to .lvm for the 'read from measurement file' function to work.
    Attachments:
    Backswing compensation.csv ‏10 KB
    Backswing comnpensation2.vi ‏109 KB

    Your VI makes absolutely no sense to me, but maybe I don't understand what you are trying to do.
    You seem to have dynamic data with 6 signals and 48 points/channel. Now you reshape this into an array of dynamic data with 4x13 elements from which you slice out one row or column, resp. "delete from array" is NOT the correct tool to do this, use "Index array" with one index unwired to get a row or column as 1D array.
    So you end up with two 1D arrays of dynamic data that you search for DBL. It is difficult to understand how you want to search for an array element that corresponds to a scalar DBL value of 0.1. Your array elements are NOT DBLs but dynamic data, each containing many signals!
    There are two elements on all your data that are "3", the rest are zero. You will never find anything that is 0.1.
    Maybe you can convert your original dynamic data to a 2D array with "rows are signals" using "convert from dynamic data", then operate on the 2D array.
    Coato wrote:
                              So ultimately, when i enter a row value of 0.5 and a column value of 0.3, my output will be 1.688.
    Sorry, Please explain.
    Please make a VI containing a simple 2D aray as diagram constant that contains e.g. 5x5 typical values. Let us know what kind of result you expect from your algorithm..
    LabVIEW Champion . Do more with less code and in less time .

  • Using @ILSIBLINGS and @ACCUM for YTD values

    Hi all,
    So I'm attempting to use @ACCUM to get year-to-date values of a measure member called TransactionAmt. What I have so far is:
    (Sorry for my bad text-based outline)
    <tt>
    --Outline: simple (Active Alias Table: Default)
    +-Measures (Accounts) <3> (Label Only)
    | -TransactionAmt ()
    | +-Balance (~) [Formula: @ACCUM(TransactionAmt);]
    | +-YTDBalance (~) [Formula: @ACCUM (TransactionAmt, @ILSIBLINGS (@CURRMBR (Dates)));]
    +-Dates (Time) <2>
    | -2008 () <3>
    | | -2008-10 ()
    | | -2008-11 ()
    | | -2008-12 ()
    | -2009 () <2>
    | | -2009-1 ()
    | | -2009-2 ()
    +-Accts
    -a1 ()
    -a2 ()
    -a3 ()
    </tt>
    After filling the db with some fake data and running the default CALC ALL, I get data that is not quite correct (compare the YTDBalances):
    WHAT IT IS
    <pre>
              TransactionAmt     Balance     YTDBalance
    a1     2008-10     10          10     40
         2008-11     20          30     60
         2008-12     30          60     30
         2009-1     40          100     90
         2009-2     50          150     50
    a2     2008-10     2          2     7
         2008-11     3          5     10
         2008-12     5          10     5
         2009-1     7          17     18
         2009-2     11          28     11
    a3     2008-10     3          3     7
         2008-11     1          4     8
         2008-12     4          8     4
         2009-1     1          9     6
         2009-2     5          14     5
    </pre>
    WHAT IT SHOULD BE:
    <pre>
              TransactionAmt     Balance     YTDBalance
    a1     2008-10     10          10     10
         2008-11     20          30     30
         2008-12     30          60     60
         2009-1     40          100     40
         2009-2     50          150     90
    a2     2008-10     2          2     2
         2008-11     3          5     5
         2008-12     5          10     10
         2009-1     7          17     7
         2009-2     11          28     18
    a3     2008-10     3          3     3
         2008-11     1          4     4
         2008-12     4          8     8
         2009-1     1          9     1
         2009-2     5          14     6
    </pre>
    I'm new to calc scripts so I might be missing something that is obvious to you experts out there. @ILSIBLINGS is behaving as though the last member in the list is the first member. Does anybody know why this is or how I can fix it?
    Cheers,
    Marty

    You may have already tried this but if you use @ISIBLINGS instead of @ILSIBLINGS inside your @ACCUM statement it will work.
    Edited by: PTBurke on Mar 16, 2010 6:35 PM

  • Report and ready for input Query, with similar shadings are confusing

    Some customers mix report and planning queries in their templates.
    usually the shades for PLAN Queries are
    o white - ready vor input
    o blue- display data (e.g. LY, calc KPI)
    In a Query with NO INPUT ready Cells the query has a zebra shading, blue and white, row by row.
    That is confusion for users if they believe every Number on a white background can be changed.
    Is it possible to change the shading for reporting queries to blue only?
    Best Regards,
    Georg

    Hi.
    You can cancel zebra by setting off for ALTERNATE_STYLES in properties if analysis item in WAD, BUT it sets all cells as WHITE and not blue.
    I dont know how it will be usefull, but you may try ...
    Regards.

  • Instance name and Var for Input Text fields

    I have several Input Text fields, as a form, linked to a PHP
    script for which I require Var's for each field.
    But I also need Instance names for each field, so I can fix
    the tabIndex.
    Yet, everytime I test my movie, the text fields have their
    Paths (_level0.fName) written in them.
    They are normally blank, and I've tried putting in some text
    of my own, but the Var name is still displayed in the text fields.
    Is there any way I can stop that from happening, and keep
    both the Instance names and Var's in-place.
    As far as I know, I need both the Instance name (for the
    tabIndex) and the Var (for the PHP script) or is there a way that
    the tabIndex and PHP script will work with either of the two?
    Thanks
    Chaz.

    Can you use a different name for ‘instance name’
    and ‘var’? That seems to solve the problem but I
    don’t know if that helps you in your situation.
    For an example;
    Instance name: test_txt
    Var: test

  • Struts and ajax for input validation check

    Hi there
    I am not quite sure where I should post this question. I have a question about using ajax to check input valudation check on a jsp page which uses struts tab libs.
    For example, I want to check if input email has already existed in the database on the sign up page. If it is, a sameEmail jsp page will through out in the span area. Meanwhile, the form on this page should not be allowed to submit.
    Email test field
    <div><html:text property="email" onkeyup="showHint(this.value, 'hint', 'errors/sameEmail.jsp')"/><span id="hint"></span></div>There are two strateies in my mind
    Strategy 1. Disable the submit button when sameEmail.jsp is throwed out.
    I named all buttons operation in sign up page, so LookupDispatchAction page can process all the logical work depends on the value of these buttons. My questions is how I can disable signup submit button in javascript, as I need use this element id or name? Apperantly, I cannot add id into Strut 2 jsp page, plugs all buttons' names are the same on the sign up page.
    For example:
         <html:submit property="operation">
              <bean:message key="adminMainForm.signUpButtonLabel"/>
         </html:submit>
    <html:submit property="operation">
         <bean:message key="adminMainForm.deleteAll" />
         </html:submit> Strategy 2. Write something in the js page, which will block the data transfer.
    Something similar to
    function validateSignupInput(form) {
    if(form.customerEmail.value.exist()){
    return false;
    } Appearntly it doesn't work.
    My question is that how I can write this piece of js code.
    Any idea will be helpful, thank you.
    Ming

    Hi Karan,
    I did not get ur requirement but if the question deals with selection screens, I have an answer for it.
    before u do all these things, first you need to trigger an event called AT SELECTION-SCREEN.
    example code is :
    AT SELECTION-SCREEN.
        IF (fld name) > (value)   -
    > any logic which u need
               message
       endif.

  • And condition for a value within same column

    Hi,
    I would like to select the rows from table which matches key='DKJ' and key='BK5'
    Is it possible to use exists condition here...to get the result only when it contains both the keys. Please could you suggest me alternative query for the below..
    SELECT a.or_no,b.key
    FROM v_sp a,
    v_off b
    WHERE a.or_no = '27422739'
    AND a.key_code = b.key_code
    AND(b.mod = '00K'
    AND(b.key = 'DKJ' OR b.keystroke = 'BK5'))
    Many Thanks,
    Hari

    Hi,
    I would like to select the rows from table which
    matches key='DKJ' and key='BK5'
    Is it possible to use exists condition here...to get
    the result only when it contains both the keys.
    Please could you suggest me alternative query for the
    below..
    SELECT a.or_no,b.key
    FROM v_sp a,
    v_off b
    a.or_no = '27422739'
    AND a.key_code = b.key_code
    AND(b.mod = '00K'
    AND(b.key = 'DKJ' OR b.keystroke = 'BK5'))
    What you say and what you do aren't the same. Please clarify.

  • How to handle in LSMW the validation if 01 and 35 for two values

    in lsmw if we are having in flat file as 01 one entry and other 34.
    size of the field is only two character .
    As of now iam checking to put 0 before one if the value 01 however iam
    getting problem in the case of 34
    case 1 ) if iam having 01 the below code works perfectly
    Concatenate '0' flat_0034  into flat_0034.
    case 2) if iam haivng in the flat file as 35 the code
    concatenate '0' flat_0034  into flat_0034 going into wrong
    as in front of the value
    could any one please let me know how to handle this scenario.
    regards
    syamla

    Dear Naresh Nelapatla 
                   Can you please give me validation example please as it is little urgent.
    thanks &regards
    syamla

Maybe you are looking for