• Testing a user action such as clicking a link can be done using WicketTester's clickLink() method, passing it the link component ID path, and then verifying the rendered page, as shown in Listing 23.

    测试诸如单击链接这样的用户动作可以通过使用WicketTester的clickLink()方法实现,只需为之传递链接组件ID路径,然后再验证所呈现的组件即可,如清单 23 所示。

    youdao

  • This time, the onclick event of the Link component initiates the Ajax request, as Listing 6 shows.

    这时,Link组件的onclick事件初始化了Ajax请求,如清单6所示。

    youdao

  • Drag and drop a Link component from the palette and drop it on the output text component in the Price column.

    从选项板上拖拉一个Link组件,然后将其放到price栏中的输出文本组件中。

    youdao

  • To show or hide the dialog when the user hovers over an item, you can use the onmouseover and onmouseout events of the Link component, as Listing 4 shows.

    为了当用户停留在条目上时显示或隐藏对话框,您可以使用Link组件的onmouseover和onmouseout事件,正如清单4所示。

    youdao

  • To show or hide the dialog when the user hovers over an item, you can use the onmouseover and onmouseout events of the Link component, as Listing 4 shows.

    为了当用户停留在条目上时显示或隐藏对话框,您可以使用Link组件的onmouseover和onmouseout事件,正如清单4所示。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定