jaroslav@421: package ${package}; jaroslav@141: jaroslav@141: import org.apidesign.bck2brwsr.htmlpage.api.OnClick; jaroslav@141: import org.apidesign.bck2brwsr.htmlpage.api.Page; jaroslav@141: jaroslav@421: /** Edit the index.xhtml file. Use 'id' to name certain HTML elements. jaroslav@421: * Use this class to define behavior of the elements. jaroslav@198: */ jaroslav@421: @Page(xhtml="index.xhtml", className="Index") jaroslav@141: public class App { jaroslav@421: @OnClick(id="hello") jaroslav@421: static void hello() { jaroslav@421: Index.HELLO.setDisabled(true); jaroslav@141: } jaroslav@141: }