Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#1971 Databind assigned an unallowed uuid format with @ sign

5.0.1
closed-fixed
nobody
Databind (21)
5
2010-04-28
2010-04-27
Jumper Chen
No

For example,

<?init class="org.zkoss.zkplus.databind.AnnotateDataBinderInit" ?>
<zk xmlns:h="http://www.w3.org/1999/xhtml">
Please click each link and the message should only consist of alphanumeric number and underscore (i.e., a-z, A-Z, 0-9 and _).
<zscript>
public class Link {
private String _href;

public Link(String href) {
setLink(href);
}

public String getLink() {
return _href;
}

public void setLink(String href) {
_href = href;
}
}

List links = new ArrayList(3);
links.add(new Link("http://www.zkoss.org"));
links.add(new Link("http://jp.zkoss.org"));
links.add(new Link("http://zh.zkoss.org"));
links.add(new Link("http://www.potix.com"));
</zscript>

<groupbox>
<caption label="grid"/>
<grid model="@{links}">
<rows>
<row each="@{link1}">
<h:a onclick="alert(this.id);"><label value="@{link1.link}"/></h:a>
</row>
</rows>
</grid>
</groupbox>
</zk>

Discussion

  • Henri Chen
    Henri Chen
    2010-04-28

    • status: open --> closed-fixed
     
  • Henri Chen
    Henri Chen
    2010-04-28

    Fixed since Apr 28, 2010.