wicket
Testing Wicket panels with constructor arguments
I got a page with several panels that takes several parameters in their constructors. One of them being a menu that takes a list for the different buttons in the menu.[详细]
2023-04-13 05:47 分类:问答WICKET: how to get client's ip/address
I\'m using wicket 1.5开发者_JAVA技巧.1, couldn\'t figure this out. public class MyPage extends WebPage {[详细]
2023-04-13 05:36 分类:问答Wicket wants to serialize my Panel
When I access a specific page of my Wicket application, I get a NotSerializableException: java.io.NotSerializableException: my.package.MyPanel$1[详细]
2023-04-13 04:42 分类:问答MVC - Should the View be allowed to interact directly with the Services without going through Controller
My architecture looks like this: View - Controller - Services Think of one of the views as a Person details page. The controller calls[详细]
2023-04-13 02:28 分类:问答wicket textarea in listview is cleared when unset the ajaxcheckbox
I created one checkbox and one textfield for each line using wicket listview. When the user selects the checkbox I am able to set the related boolean value[详细]
2023-04-12 23:15 分类:问答How can I change the content of a combo box based on the content of the previous one?
I have a page containing two combo boxes. I want to make them in a way that when I change the first combo box the content of the second combo box, which is got from database, is c开发者_如何转开发hang[详细]
2023-04-12 19:13 分类:问答Need a strategy to lookup property for dynamically generated dropdown component
I need to set the null value string for a dropDownChoice component. The default value for null choice is \"Choose One\", which is hardcoded in the Wicket AbstractSingleChoice class.[详细]
2023-04-12 12:46 分类:问答How can I right-align a cell in a Wicket table column?
I\'d like to have a PropertyColumn of a DataTable right-aligne开发者_开发百科d. But if I try to add a new SimpleAttributeModifier(\"align\", \"right\") to the cell item, it is added to a span within t[详细]
2023-04-12 02:33 分类:问答wicket date range (From-To) validation
I have a form where I need to validate DateFrom and DateTo. I have done like this: // start date RequiredTextField<Date> startdateField =[详细]
2023-04-10 20:21 分类:问答How to use Wicket's DownloadLink with a file generated on the fly?
DownloadLink is nice and handy for creating a button/link for downloading a file, along these lines: add(new DownloadLink(\"downloadButton\", getReportFile(), \"report.pdf\"));[详细]
2023-04-10 18:20 分类:问答