Re: NullPointException in subclass of FormComponentFeedbackBorder

2009-09-27 Thread liny
Hi, I still get exception, even though I just add , I got: WicketMessage: No matching close bracket at position 905 I don't know why it said no close bracket... Altuğ B. Altıntaş wrote: > > > > icon.gif ! > > > > >> >> >> > > Try above . > > Maybe error occurs beca

Re: Can't get attribute from AuthenticatedWebSession for no-role -needed page.

2009-09-09 Thread liny
Hi, "user id" is the username. I want to set user id into session attribute. After I call WebSession.bind(), now the problem is solved. But why MyauthenticatedWebSession is temporary in default? (no session id) Pedro Santos-6 wrote: > > Please, what is "user id" that you refers? > > On Wed,

Re: why is getHomePage called multiple times?

2009-08-31 Thread liny
I have the same issue. Same message appear twice in tomcat log: 2009-09-01 13:04:52,009 INFO [Application] [HelloWorldApplication] init: Wicket core library initializer 2009-09-01 13:04:52,009 INFO [Application] [HelloWorldApplication] init: Wicket core library initializer 2009-09-01 13:04:52

Re: About getSignInPageClass() in AuthenticatedWebApplication class

2009-08-29 Thread liny
Hi, Has someone same requirement? I'd like to know how to solve it. Thank you ~ -- View this message in context: http://www.nabble.com/About-getSignInPageClass%28%29-in-AuthenticatedWebApplication-class-tp25199660p25208388.html Sent from the Wicket - User mailing list archive at Nabble.com. -

Re: Localized error()

2008-07-22 Thread liny
What if I want to pass parameter to message? For example, "You must pay more {0} dollars". I want to set {0} with a parameter. How can I do? Thanks! Gerolf Seitz wrote: > > myComponent.error(getString("my.localized.key")); > > Gerolf > > > -- View this message in context: http://www.n

java.lang.NullPointerException: org/apache/wicket/IDestroyer

2008-07-15 Thread liny
Hi, A strange exception occured, like below: java.lang.NullPointerException: org/apache/wicket/IDestroyer at org.apache.wicket.Application.callDestroyers(Application.java:771) at org.apache.wicket.Application.internalDestroy(Application.java:891) at org.apache.wicket.proto

Re: How to generate html tag

2008-07-14 Thread liny
Thank you, igor! -- View this message in context: http://www.nabble.com/How-to-generate-%3Ca-name%3D%22myQuickLink%22%3E-html-tag-tp18456831p18457636.html Sent from the Wicket - User mailing list archive at Nabble.com. - To un

How to generate html tag

2008-07-14 Thread liny
Hi, I'd like to generate html tag, so reader can quick jump to the position. How can I do? Thanks -- View this message in context: http://www.nabble.com/How-to-generate-%3Ca-name%3D%22myQuickLink%22%3E-html-tag-tp18456831p18456831.html Sent from the Wicket - User mailing list archive at Nab

Re: Multi-validator in one input field?

2008-06-03 Thread liny
or >> >> On Tue, Jun 3, 2008 at 7:16 AM, liny <[EMAIL PROTECTED]> wrote: >>> >>> Hi, >>> >>> I want to have a text field that can validate multi values, like below: >>> >>> FormComponent fc; >>> fc = new RequiredTextFi

Re: continueToOriginalDestination goes to tomcat's index.jsp

2008-06-03 Thread liny
Hi, I finally know why I was redirected to tomcat's home page. It's because wrong setting of WicketFilter's filter mapping in web.xml. Thanks, guys~ liny wrote: > > Hi, Timo: > > I want to do as the same as "Form Example" in wicket-examples-1.3.3 >

Multi-validator in one input field?

2008-06-03 Thread liny
Hi, I want to have a text field that can validate multi values, like below: FormComponent fc; fc = new RequiredTextField("name"); fc.add(StringValidator.minimumLength(8)); fc.add(new PatternValidator("cab\\d{2}")); fc.add(new PatternValidator("[aAxX]\\d{7}")); I hope the value of this text fie

Re: continueToOriginalDestination goes to tomcat's index.jsp

2008-06-03 Thread liny
Hi, Timo: I want to do as the same as "Form Example" in wicket-examples-1.3.3 After copying "Form Example" source and modify it, now it works. Thanks. Timo Rantalaiho wrote: > > On Mon, 02 Jun 2008, liny wrote: >> 1. When I enter data into input field and key u

continueToOriginalDestination goes to tomcat's index.jsp

2008-06-02 Thread liny
Hi, I have a X web page and a login web page. I did add below code in my application class, so when I access X page without login, I will redirect to login page: protected void init() { super.init(); getSecuritySettings().setAuthorizationStrategy(new SimplePageAuthorizationStrategy(Auth

Re: Can't see progress in progressBar

2008-04-24 Thread liny
adrienleroy wrote: > > if you look at the wicket extension javadoc you will find the explanation > : > > in your class extending the WebApplication class you have to override the > newWebRequest method > > @Override > protected WebRequest newWebRequest(HttpServletRequest servletRequ

Re: Can't see progress in progressBar

2008-04-24 Thread liny
igor.vaynberg wrote: > > did you try uploading a reasonably big file ( a few MB ) so the upload > takes more then a few seconds? > > -igor > > Hi~ I wrote my own file upload web page based on "upload - Single file upload." in wicket-examples-1.3.3 and upload 3MB, even 22MB file. But still c

Can't see progress in progressBar

2008-04-23 Thread liny
hy I can't see a bar running from left to right? Thanks -liny- -- View this message in context: http://www.nabble.com/Can%27t-see-progress-in-progressBar-tp16836320p16836320.html Sent from the Wicket - User mailing list archiv

Adding AjaxFormSubmitBehavior to IndicatingAjaxButton problems

2008-04-23 Thread liny
Hi,sir: I am newbie. I have a file upload web page and want to use AJAX to submit form. So I use IndicatingAjaxButton and add an AjaxFormSubmitBehavior to this button. Here is code snippet: ajaxFormSubmitBehavior = new AjaxFormSubmitBehavior(uploadForm, "onclick") { protected void o

Re: How to change the html folder?

2008-04-14 Thread liny
Jeremy Thomerson-3 wrote: > > http://cwiki.apache.org/WICKET/control-where-html-files-are-loaded-from.html > > On Mon, Apr 14, 2008 at 10:09 AM, liny <[EMAIL PROTECTED]> wrote: > >> >> Hi~ >> >> In default, for example, your html and web page

How to change the html folder?

2008-04-14 Thread liny
Hi~ In default, for example, your html and web page class must be together. Can I move my html files to a single folder? And how? Thanks -- View this message in context: http://www.nabble.com/How-to-change-the-html-folder--tp16678545p16678545.html Sent from the Wicket - User mailing list archi