[Wicket-user] How to use AuthenticatedWebApplication together with AnnotSpringWebAppli

2006-06-09 Thread itsliang
I'd like to use annotation for spring in my wicket application, and I know I can get that working by extending AnnotSpringWebApplication. I would also like to use wicket auth roles as well, and it can be done by extending AuthenticatedWebApplication. But what if I want to use both of them

[Wicket-user] How to add components nested in the list view to a IFormValidator?

2006-06-23 Thread itsliang
Hi, I have a form that uses ListView to generate some form components, but I don't know how to use a form validator to validate those nested components. Here is the example: public class TestForm extends Form { public TestForm(String arg0) { ListView lv = new

Re: [Wicket-user] How to add components nested in the list view to a IFormValidator?

2006-06-23 Thread itsliang
I tried, however, I got an exception: WicketMessage: Method onFormSubmitted of interface wicket.markup.html.form.IFormSubmitListener targeted at component [MarkupContainer [Component id = form, page = test.TestPage, path = 0:form.TestPage$TestForm, isVisible = true, isVersioned = true]] threw an

Re: [Wicket-user] How to add components nested in the list view to a IFormValidator?

2006-06-24 Thread itsliang
This is my first time to use wicket. Hence, I don't know whether I did it right or wrong. Anyway, I have reproduced my case below, the first part is java code, and the second part is markup file. Any idea is appreciated, Thanks a lot!! import java.io.Serializable; import java.util.ArrayList;

Re: [Wicket-user] How to add components nested in the list view to a IFormValidator?

2006-06-26 Thread itsliang
Hi Igor, You are right. It works very well now. Next time I'll spend more time to read javadoc. Anyway, thanks a lot!! Kind regards, C Chang -- View this message in context: http://www.nabble.com/How-to-add-components-nested-in-the-list-view-to-a-IFormValidator--tf1834645.html#a5059465 Sent

[Wicket-user] How to update the data of DataTable?

2006-06-28 Thread itsliang
Hi all, I am having a page contains a Form component and a DataTable component. There is only one TextArea component and one submit button within my Form. Below that Form, there is my DataTable. The DataTable is primarily used to show the data from database. The TextArea, of course, is used to

[Wicket-user] How to change theme/skin/style on the fly by using ajax?

2006-08-02 Thread itsliang
Hi there, I can use the example code below to change the skin (a.k.a theme, style) of my web pages. I, however, wonder to know if it is possible to change my skin by using ajax link. Any idea would be appreciated. Link link = new Link(example) { public void onClick() {

[Wicket-user] How to change servlet location

2006-08-11 Thread itsliang
Hi there, Recently, I bought a web space from JavaServletHosting and tring to deploy my wicket application to my web space. However, after deploying my application, it didn't work well. The problem is although the context root of my application is something like http://my_web_space/;, the

[Wicket-user] A problem with BookmarkablePageLink

2006-08-11 Thread itsliang
Hi there, I've got a problem when I using BookmarkablePageLink. I wrote a very simple example to try out BookmarkablePageLink. In exmaple, you can find three web pages. In each web page, there are two links that can be used to link to the other two pages. And I only mount my second page as a

Re: [Wicket-user] A problem with BookmarkablePageLink

2006-08-15 Thread itsliang
approache You can run in the root just fine but don't specify the wicket servlet to /* That is only the best way for 2.0 where we have a filter. johan On 8/12/06, itsliang [EMAIL PROTECTED] wrote: Hi there, I've got a problem when I using BookmarkablePageLink. I wrote a very