Menu

#96 Validation error in zul alert method

open
nobody
Editor (24)
5
2009-09-02
2009-09-02
Baskar
No

Title: Validation error in zul alert method, when using " instead of "

I have placed the following line in one of my zul file.

<label id="d" value="Validation Checking" onClick="alert("Validation")" />

Eclipse is showing red_line (error mark) in this line. When I right-click and choose validation, it completes with no errors. When I run and check this code, it executes in client browser without any issues.

Where does the problem lies? Is it an error in eclipse or in ZK plugin addon?

============================================================

If I change as shown below, then it doesn't shows any error:

<label id="d" value="Validation Checking" onClick='alert("Validation")' />

============================================================

My software versions:

ZK Studio Plug-in version is 0.9.5.v200907031701
Eclpise Version: 3.4.2, Build id: M20090211-1700

Thanks

Discussion


Log in to post a comment.

MongoDB Logo MongoDB