Java Web开发框架 wiQuery
fmms
13年前
<p><img alt="Java Web开发框架 wiQuery" src="https://simg.open-open.com/show/459fdd244ed19441df3dd9fda282f342.png" width="236" height="61" /></p> <p>wiQuery是一个将 jQuery 与 jQuery UI 集成到Java Wicket Web开发框架中的开源项目。Wicket 框架提供了一种真正采用面向对象的方式来创建Web应用程序。wiQuery支持的jQuery UI组件包括:</p> <ul> <li>Tabs </li> <li>Dialog </li> <li>Accordion</li> <li>Effects </li> <li>Resizable </li> <li>Draggable </li> <li>Droppable </li> <li>Sortable</li> </ul> <p>一个简单的对话框例子如下:</p> <pre class="brush:java; toolbar: true; auto-links: false;">public class HomePage extends WebPage { public HomePage(final PageParameters parameters) { final Dialog dialog = new Dialog("dialog"); add(dialog); Button button = new Button("open-dialog"); button.add(new WiQueryEventBehavior(new Event(MouseEvent.DBLCLICK) { @Override public JsScope callback() { return JsScope.quickScope(dialog.open().render()); } })); add(button); } }</pre> <p></p> <p><img style="border-bottom:black 1px solid;border-left:black 1px solid;border-top:black 1px solid;border-right:black 1px solid;" alt="Java Web开发框架 wiQuery" src="https://simg.open-open.com/show/73506bd32fe508a190672e162841f0db.png" width="491" height="355" /><br /> <br /> </p> <p><strong>项目主页:</strong><a href="http://www.open-open.com/lib/view/home/1323606352484" target="_blank">http://www.open-open.com/lib/view/home/1323606352484</a></p> <p></p>