Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Is the Smart GWT Showcase Split Form example broken?

    I was just researching a form/values manager issue in our system where it appears that only the first form member's values are being sent in the server request even though the Values Manager has multiple form members and all the expected fields.

    The showcase split form example may be having the same problem:

    http://www.smartclient.com/smartgwt/showcase/#layout_form_splitting

    It has an invalid date value (256) by default, but when submitted with that bad date, it fails to catch the validation issue for it (or so it seems). I am wondering if this is the same behavior that I am seeing in our system.

    Any thoughts on this one?

    Thanks.

    P.S. We are also using the latest 2.4 SmartGWT build.

    #2
    The showcase sample http://www.smartclient.com/smartgwt/...form_splitting does not have the problem and the invalid date is correctly reported as a validation error.

    There was a period prior to the 2.4 release where this was broken but it was fixed for the 2.4 release. So make sure you are on the 2.4 release, clean your cache and do a clean rebuild of your project.

    Sanjiv

    Comment


      #3
      Just out of curiosity, what is the expected behavior of the example here:

      http://www.smartclient.com/smartgwt/showcase/#layout_form_splitting

      All I am doing is pressing the submit button once the page has loaded. Are there some other steps required to produce the validation error?

      Comment


        #4
        I asked a colleague to also try testing the form splitting example (http://www.smartclient.com/smartgwt/showcase/#layout_form_splitting) and this is what he reports:

        "I cannot [get it to work]. Clicking on Submit does not appear to do anything at all."

        http://www.smartclient.com/smartgwt/showcase/#layout_form_splitting

        Are you sure that the example if working? Or is it possible that there is something else occurring here? I did reset the cache in both Safari and Firefox before testing, and got the same problem, i.e., no validation response as expected.
        Attached Files

        Comment


          #5
          We're seeing the issue and will look into it. btw which OS are you on?

          Comment


            #6
            I am using Mac OSX 10.5.8.

            HTH,

            - Edward

            Comment


              #7
              I just downloaded the 1/20 nightly build, and it seems this problem is still there... It is still present in the demo (http://www.smartclient.com/smartgwt/showcase/#layout_form_splitting)

              Is there an ETA for a fix?

              Thanks!

              Comment


                #8
                ecruz,
                The sample works fine in the latest nightly. I just downloaded the one from 01-24 and opened the showcase sample in Safari and FF on OSX and it worked fine.

                Please make sure you have cleared your cache. You can temporarily select the option to disable the cache in Safari / FF to confirm the sample works when using the latest build.

                You can open the Safari Web inspector and / or Firebug Net console and inspect the headers of the SmartClient JS files to make sure that the latest one is being picked up.

                If you're still having a problem, try a different browser to see if the problem is reproducible. Safari sometimes does a bad job reading fresh local js if it has it in its cache.

                Also which browser(s) are you seeing this in?

                Sanjiv

                Comment

                Working...
                X