Menu

#2772 ZK EE with native failed to invalidate (JS error)

5.0.7
closed
nobody
5
2011-07-14
2011-07-08
Tom M. Yeh
No

Test Code:
<window id="wnd" title="Test of inline html tags" border="normal">
<button label="invalidate window" onClick="self.parent.invalidate()"/>
<n:ul xmlns:n="native">
<n:li id="direct"><!-- inline's id shall not be part of ID space -->
Some random text shall be consider part of inline.
<!-- a comment -->Something after comment.<n:br/>
Window title: ${wnd.title}
</n:li>
<n:li id="direct"><!-- it is OK to have the same ID if inine -->
<textbox id="tb" onChanging="i1.value = event.value"/>
text in between
<combobox id="i1"/>
</n:li>
<n:li style="color:blue">
Mixed with
<datebox onChange="tb.value = org.zkoss.lang.Objects.toString(self.value)"/>
<n:br/>
and inline text.
</n:li>
</n:ul>
</window>

Discussion

  • Tom M. Yeh

    Tom M. Yeh - 2011-07-14

    The cause is the specification of ID in a native component.

     
  • Tom M. Yeh

    Tom M. Yeh - 2011-07-14
    • status: open --> closed
     
  • Tom M. Yeh

    Tom M. Yeh - 2011-07-14

    Fixed since July 14
    ---
    HtmlNativeComponent shall also implement RawId

     
  • Tom M. Yeh

    Tom M. Yeh - 2011-07-14
    • status: closed --> open
     
  • Tom M. Yeh

    Tom M. Yeh - 2011-07-14

    Fixed since July 14
    ---
    HtmlNativeComponent shall not implement RawId (as 5.0.7 did)
    But zk.Native shall not be rawId either

     
  • Tom M. Yeh

    Tom M. Yeh - 2011-07-14
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB