Friday, July 20, 2007

ZK + Eclipse: XML schema validation / Content assist

To get Eclipse to use content assist with ZK, I had to declare the schema as follows. This took me a while to figure out for some reason. I use MyEclipse, by the way, so WTP should be similiar.

<window xmlns="http://www.zkoss.org/2005/zul" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.zkoss.org/2005/zul http://www.zkoss.org/2005/zul/zul.xsd">

</window>



No comments: