facebook

JSP Designer –
  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #256905 Reply

    paulspencer
    Member

    ME 5.0.1

    The JSP Designer marks <f:convertNumber type=”percent” /> as “Value is not valid”. It does not reconize “percent” as an allowable value. Per the 1.1 spec, jsf-1_1-mr-spec section 9.4.4, tha allowable values are “number”, “currency” and “percent”.

    Is this a bug in ME?

    Paul Spencer

    #256914 Reply

    MyFaces 1.1 TLD declare number, currency or percentage as valid values for this attribute.
    Sun RI does not declare this attribute as enum, but it still has following comment:
    Specifies how the number string will be formatted and parsed. Valid values are “number”, “currency”, and “percentage”. Default value is “number”.

    #256936 Reply

    paulspencer
    Member

    Which is correct?
    o “percent” – Documented in the 1.1 Spec and used by the MyFaces implementation
    o “percentage” – Documented in the 1.1 TLD

    I suspect the TLD is wrong.

    Paul Spencer

    #256939 Reply

    @paulspencer wrote:

    Which is correct?
    o “percent” – Documented in the 1.1 Spec and used by the MyFaces implementation
    o “percentage” – Documented in the 1.1 TLD

    I suspect the TLD is wrong.

    Paul Spencer

    I tested it, “percentage” is not supported. Looks like a bug in MyFaces. We will consider bundling newer MyFaces versions in next MyEclipse releases. It is likely they have this problem fixed.

    #256949 Reply

    paulspencer
    Member

    This message has not been recovered.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: JSP Designer –

You must be logged in to post in the forum log in