[Mono-bugs] [Bug 382843] New: Sys.Web.Extensions: onclick attribute rendered when it should not

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Apr 23 11:38:48 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=382843


           Summary: Sys.Web.Extensions: onclick attribute rendered when it
                    should not
           Product: Mono: Class Libraries
           Version: SVN
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Web
        AssignedTo: mhabersack at novell.com
        ReportedBy: juraj at hotfeet.ch
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Recipe:
=======
- extract the attached webapp
- start xsp2 in webapp dir
- request http://localhost:8080
- click on "Show Calendar"

=> popup calender is shown _and_ the buttons onclick handler is called, causing
client validation.

The onclick attribute in the button should not be rendered:

<input id="CalLink" type="submit"
onclick="WebForm_DoPostback("CalLink","",null,false,true,false,false,"")"
value="Show Calendar" name="CalLink"/>

When I request the page, delete the onclick attribute (Firebug magic) before
clicking the button, everything works fine.


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list