Client date time converter does not properly handle quote escaping
------------------------------------------------------------------

                 Key: TRINIDAD-1657
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1657
             Project: MyFaces Trinidad
          Issue Type: Bug
          Components: Components
    Affects Versions:  1.2.12-core
            Reporter: Yee-Wah Lee
            Priority: Minor


1. Create a test page with the following:
<tr:inputDate label="Label 1" id="id1">
            <tr:convertDateTime type="both" dateStyle="long"
timeStyle="full"/>
          </tr:inputDate>

2. Add the following to faces-config.xml
      <supported-locale>en_GB</supported-locale>

3. Run the page with browser language/country set to EN_GB. It should display 
some initial value like "22-Nov-2009 23:33:34 o' clock" 

4. Open the date picker, and pick a value. Notice the new value appears 
something like 22-Nov-2009 23:33:34 oclock, the o'clock has lost its single 
quote. 

5. Try to submit, it gives an error about invalid format. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to