ICEfaces
  1. ICEfaces
  2. ICE-1045

Effects demo breaks in French locale

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.1
    • Fix Version/s: 1.5.2
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Operating System: Windows XP
      Platform: PC

      Description

      Hi,

      I have the same problem as Alex.
      I try to make the effects running without success...
      I have a brand new Tomcat installation 5.5.20, component-showcase war deployed
      and no effects are working on the effects page. What's weird is
      that the highlight effect is working on the drag & drop page.
      No exceptions are launched, no javascript errors but when I search an object
      'Effect' on the javascript console, nothing is found.

      I've tried with an exemple on my own, the highlight effect works well but when I
      change new HighLight() with something like new Fade() nothing works anymore. I'm
      a little bit disappointed.

      Can you tell me how I can solve this issue ?

      Thanks a lot.

      [Post New]03/12/2006 08:31:24
          Subject: Re:ICEfaces and Tomcat issues
      ***** [Delete] [Up]
      nimgwath
      *****


      Joined: 30/11/2006 00:00:00
      Messages: 2
      Offline
      Hi again,

      Thanks to alex.m and his "onMouseOverEffect on Panelgroup" topic, I've found out
      the problem. The problem comes from the float notation in the generated javascript.
      My user locale is FRENCH so the float notation is with coma (ex: 1,0f), not with
      point like the US notation (ex: 1.0f).
      Javascript generated with FRENCH locale : "duration: 1,0" => javascript error
      because it's interpreted as 2 arguments (duration: 1 and 0).
      Javascript generated with US locale: "duration: 1.0" => no problem.

      That was the reason why highlight effect worked because there is no float
      argument (unless you specify a duration or delay). I switched to US locale and
      everything worked.

      Since it's code generated by ICEFaces and that I can't left my locale to US, how
      can I go beyond that problem ?

      Thanks in advance.

        Activity

        Hide
        Rob Mayhew added a comment -

        Fixed in r12555. For effects Number format, local is focred to US.

        Show
        Rob Mayhew added a comment - Fixed in r12555. For effects Number format, local is focred to US.
        Hide
        Rob Mayhew added a comment -

        verified

        Show
        Rob Mayhew added a comment - verified

          People

          • Assignee:
            Rob Mayhew
            Reporter:
            Philip Breau
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: