How to use IAuthorizationStrategy to control TabbedPanel title?

2009-11-17 Thread Haulyn R. Jason
Hi, I use IAuthorizationStrategy to control all my applications, but I do not know how to control TabbedPanel. I have three panels, I can control the panel itself, but in the same way, I write code to control the tabbledPanel title to display or not, it does not work. Is there a way to control

500 error from server with very quickly click on component

2009-11-17 Thread Haulyn R. Jason
Hi: My architecture is using wicket as UI layer, then use Hessian as RPC web service. I find a problem, everything works well in common condition, if I click a link very quickly twice or more at the same time, the page must be crashed or the server will return 500 error. I try to use JMeter to

Re: 500 error from server with very quickly click on component

2009-11-17 Thread Haulyn R. Jason
Hi, Makundi, I try to set threadpool to the max, always 500 on the way On Wed, Nov 18, 2009 at 3:51 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Not knowing anything about anything.. maybe your threadpool runs short? ** Martin 2009/11/18 Haulyn R. Jason saharab

How to update model when using AjaxFallbackLink

2009-11-12 Thread Haulyn R. Jason
Hi: I am using AjaxFallbackLink. I have a ListView in a container, and a AjaxFallbackLink per row for delete the current row. But When I click the link, I find the data is deleted but the current ListView doesn't refresh. I think that's because the list object didn't be refreshed, but I do not

Re: How to update model when using AjaxFallbackLink

2009-11-12 Thread Haulyn R. Jason
12, 2009 at 10:06 AM, Haulyn R. Jason saharab...@gmail.com wrote: Hi: I am using AjaxFallbackLink. I have a ListView in a container, and a AjaxFallbackLink per row for delete the current row. But When I click the link, I find the data is deleted but the current ListView doesn't

How to get Session in Application

2009-11-07 Thread Haulyn R. Jason
Hi, I want to implement IAuthorizationStrategy in MyApplication, but I do not know how to get WicketSession, I need to get Component Action List from WicketSession. Is there some reference? -- Many thanks! Haulyn Microproduction You can access me via: Location: Shandong Jinan Shumagang 6H-8,

Re: How to get Session in Application

2009-11-07 Thread Haulyn R. Jason
(); On Sat, Nov 7, 2009 at 5:22 AM, Haulyn R. Jason saharab...@gmail.com wrote: Hi, I want to implement IAuthorizationStrategy in MyApplication, but I do not know how to get WicketSession, I need to get Component Action List from WicketSession. Is there some reference? -- Many thanks! Haulyn

Re: How to get Session in Application

2009-11-07 Thread Haulyn R. Jason
the application startup? A session is tied to a user's session as they browse your site.  Who's browsing upon application startup? On Sat, Nov 7, 2009 at 6:42 AM, Haulyn R. Jason saharab...@gmail.com wrote: Hi, I tried this, but I got the following: you can only locate or create sessions

Re: How to get Session in Application

2009-11-07 Thread Haulyn R. Jason
, remove your member variable that holds the session and just use SecuritySession.get() in its place. On Sat, Nov 7, 2009 at 7:23 AM, Haulyn R. Jason saharab...@gmail.com wrote: Hi, James: I just using the following code, then I get that error. getSecuritySettings().setAuthorizationStrategy

Re: Wicket Release Plans for 1.5

2009-10-30 Thread Haulyn R. Jason
I am care about Can I upgrade all my applications from 1.4.3 to 1.5 as easy as possible. On Fri, Oct 30, 2009 at 4:27 PM, Martijn Dashorst martijn.dasho...@gmail.com wrote: I'm still eager to make WicketTester a first class citizen. Martijn On Thu, Oct 29, 2009 at 7:01 PM, dtoffe

Re: Tree markup

2009-10-28 Thread Haulyn R. Jason
Hi, I just want to lear something here. I do not know how to solve your problem, but can you tell me how can you add links to the tree component? Thanks. On Thu, Oct 29, 2009 at 6:52 AM, bvrol...@cmbi.ru.nl wrote: I'm using the wicket tree, which works nice. However, when the tree element is

Re: Tree markup

2009-10-28 Thread Haulyn R. Jason
Hi, I know how to add links. override newLink method. Thanks again. On Thu, Oct 29, 2009 at 7:35 AM, Haulyn R. Jason saharab...@gmail.com wrote: Hi, I just want to lear something here. I do not know how to solve your problem, but can you tell me how can you add links to the tree component

Re: WhiteSpaces in PasswordTextField

2009-10-26 Thread Haulyn R. Jason
You can override it, I think so. On Mon, Oct 26, 2009 at 5:33 PM, vela vela@gmail.com wrote: Hello again, How to change the default value to false -- View this message in context: http://www.nabble.com/WhiteSpaces-in-PasswordTextField-tp26047182p26056628.html Sent from the

Re: Need help with error with in my list code

2009-10-25 Thread Haulyn R. Jason
I do not think JavaReble is a good tool for Wicket. Try Glassfish with hot deploy with netbeans, works very well with Wicket. On Mon, Oct 26, 2009 at 10:50 AM, Lester Chua cicowic...@gmail.com wrote: Update: I found out what the was. I was running Jetty via JavaRebel agent. Somehow JavaRebel

How to do unit test for a session protected wicket page?

2009-10-22 Thread Haulyn R. Jason
Hi, all: I have a page which is protected by MySession.isLogin(). I want to unit test this page and write the following code: --- WicketTester tester = new WicketTester(new

Re: How to do unit test for a session protected wicket page?

2009-10-22 Thread Haulyn R. Jason
Thanks very much, it works! On Thu, Oct 22, 2009 at 6:17 PM, Martin Grigorov mcgreg...@e-card.bg wrote: El jue, 22-10-2009 a las 17:07 +0800, Haulyn R. Jason escribió: Hi, all: I have a page which is protected by MySession.isLogin(). I want to unit test this page and write the following

Re: Wicket 1.4.2 Released!

2009-10-10 Thread Haulyn R. Jason
Congratulations, I will upgrade next week. On Sat, Oct 10, 2009 at 8:05 PM, Giovanni pino_o...@yahoo.com wrote: Wow!!! I will upgrade my project for a major italian bank on coming monday. Thanks a lot for all your efforts in developing this great web framework! Best regards, giovanni

How to implement session validation?

2009-10-08 Thread Haulyn R. Jason
Hi, I read some articles to find how to use session validation to protect my application. When the Admin Login, some pages are protected by session with attribute admin_id, and when the common user login, some other pages are protected by cookie with attribute user_id. I do not want to add code to

Re: confused about component parent field

2009-09-28 Thread Haulyn R. Jason
you will not fall in that exception. You have a list of then right? Use: parent.replace(childChoicedOnListOfPanelToSwap) On Sat, Sep 26, 2009 at 10:24 PM, Haulyn R. Jason saharab...@gmail.com wrote: Hi, all I design a component for display a navigation bar with panel swap tech. I define

confused about component parent field

2009-09-26 Thread Haulyn R. Jason
Hi, all I design a component for display a navigation bar with panel swap tech. I define a Panel as the name of currentPanel and use DashboardPanel to instance it., and define a ListPanel to generate the navigation bar. Other people will transfer the list to my component, and when the Link be

How to dynamic add links to WebMarkupContainer

2009-09-23 Thread Haulyn R. Jason
Hi, all I have a WebMarkupContainer in my page, and I need to create some links to this WebMarkupContainer.But I do not have markup like a wicket:id= foo/a, because I do not know how many links I need to create, but I do not know how to create links without markup. Can anyone help me? Thanks very

Re: How to dynamic add links to WebMarkupContainer

2009-09-23 Thread Haulyn R. Jason
: El mié, 23-09-2009 a las 17:21 +0800, Haulyn R. Jason escribió: Hi, all I have a WebMarkupContainer in my page, and I need to create some links to this WebMarkupContainer.But I do not have markup like a wicket:id= foo/a, because I do not know how many links I need to create, but I

Re: confused about wicket Tree component with panel swapping

2009-08-20 Thread Haulyn R. Jason
can anybody help me? thanks. On Wed, Aug 19, 2009 at 11:15 PM, Haulyn R. Jason saharab...@gmail.comwrote: Hi, all I refactor my pages from inheritance to panel swapping with a tree for navigation. But I can not make the tree work. I add some links like this: add(new Link

Re: [announce] Wicket 1.4.1

2009-08-19 Thread Haulyn R. Jason
congratulations. On Thu, Aug 20, 2009 at 1:21 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: Apache Wicket 1.4.1 Released The Apache Wicket project is proud to announce the first maintenance release of Apache Wicket 1.4. Download Apache Wicket 1.4.1

Re: Need Wicket Book

2009-08-18 Thread Haulyn R. Jason
I have both Pro Wicket and Wicket in Action. They are all great! 2009/8/18 Major Péter majorpe...@sch.bme.hu Yes Wicket In Action is a great book, but there is an another book: Pro Wicket from Karthik Gurumurthy, which could be also helpful. Peter 2009-08-18 08:26 keltezéssel, Jeroen

Re: How can i load my css

2009-08-18 Thread Haulyn R. Jason
Hi, I didn't use this style, but I leave my css in resources folder, and use the following code here:add(CSSPackageResource.getHeaderContribution(AbstractWebPage.class, resources/base.css)); everything works well. On Tue, Aug 18, 2009 at 3:58 PM, Per Newgro per.new...@gmx.ch wrote: Hi *, i

Re: Wicket Job offer

2009-08-18 Thread Haulyn R. Jason
All the things are interesting, but can you share some experience about inject component or model with guice? I am trying Salve solution. On Fri, Aug 14, 2009 at 6:02 PM, Wayne Pope waynemailingli...@googlemail.com wrote: Hello all, We are looking for a long term wicket developer to join our

Re: is there a way to inject service to wicket sortable models?

2009-08-18 Thread Haulyn R. Jason
will deep in it. On Wed, Aug 19, 2009 at 10:27 AM, Haulyn R. Jason saharab...@gmail.comwrote: I do this, but it looks that just work for spring but not Guice. On Wed, Aug 19, 2009 at 10:24 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote: it is possible if you can get a hold

How to use Guice to inject Service to LoadableDetachableModel

2009-08-17 Thread Haulyn R. Jason
Hi, all: I have a class which is likes below: public class DetachableMemberModel extends LoadableDetachableModelMember { private final long id; public DetachableMemberModel(Member m) { this(m.getId()); } public DetachableMemberModel(long id) { if (id == 0) {

Re: How to use Guice to inject Service to LoadableDetachableModel

2009-08-17 Thread Haulyn R. Jason
with guice. I do not know how to solve this. confused by:... done once inside SpringWebApplication subclass's init() method On Tue, Aug 18, 2009 at 12:10 AM, Haulyn R. Jason saharab...@gmail.comwrote: I try to add this line, but it doesn't work. I try to test a simple service binding in guice

how to use wicket tree in extension

2009-08-14 Thread Haulyn R. Jason
Hi,all: I design a page with a tree for page navigation. But I can not find more information from Internet to learn how to use the Tree component. I can display the tree as menu1 |-sub_menu1 |-sub_menu2 menu2 |-sub_menu3 |-sub_menu4 and I remove root node, make all tree expand

Re: how to use wicket tree in extension

2009-08-14 Thread Haulyn R. Jason
No, just use Tree in extension package. On Fri, Aug 14, 2009 at 11:17 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: are you using LinkTree? -igor On Fri, Aug 14, 2009 at 12:15 AM, Haulyn R. Jasonsaharab...@gmail.com wrote: Hi,all: I design a page with a tree for page navigation.