Re: LinkTree : when using a refreshing model, expanding/collapsing nodes not working anymore

2009-04-15 Thread Live Nono
hi I didn't manage to sleep this night so I did a quickstart project with my issue and then... realised how stupid I've been : when refreshing the tree I loose the data about what to open/close, hence my issue. I don't know yet the solution I'll follow, hesitating between informing the user and r

Re: filtering a datatable

2009-04-15 Thread Julien Graglia
Le mercredi 15 avril 2009 à 20:02 +0300, Serkan Camurcuoglu a écrit : > sorry for my previous post.. what i've previously done is: > > - add a filtertoolbar to your datatable > - make some of your columns IFilteredColumn, for example I've used > TextFilteredPropertyColumn but there are also other

Re: AjaxPagingNavigator and 508

2009-04-15 Thread Jonas
to set the title attribute, you can attach an AttributeModifier to the links by overriding AjaxPagingNavigator#newPagingNavigationLink etc. e.g. new AjaxPagingNavigator("foo", pageable) { @Override protected Link newPagingNavigationLink(String id, IPageable pageable, int pageNumbe

Success with cargo-maven2-plugin

2009-04-15 Thread Enrique Rodriguez
Hi, wicket-users, I didn't see any mention in the archives about running multiple Wicket apps with the 'cargo-maven2-plugin', which was recently released as 1.0 (26-Mar-2009), so I figured I'd drop my POM here in case it helps anyone. I have 7 Wicket apps that work together with an 8th "central"

Page content setting on a panel.

2009-04-15 Thread Zenberg Ding
Hi, How can let a page render to a panel component, then I can avoid page inherited and whole page refresh to build my pages layout. Think about this : onNavNodeClicked(AjaxRequestTarget target) { MyPage page = new MyPage(...); Component component = get

AjaxPagingNavigator and 508

2009-04-15 Thread tubin gen
My application should be 508 and was wondering if using AjaxPagingNavigator and AjaxFallbackDefaultDataTable will they cause issue with 508 , because the pagining navigator provides links to pages and can I set the tittle attribute to the anchor created by navigator ? and the sortable column

Re: jetty, wicket and multiple maven modules. refresh class problem.

2009-04-15 Thread Igor Vaynberg
On Wed, Apr 15, 2009 at 2:56 PM, Fernando Wermus wrote: > Igor, >     I avoid to use start.java because I get: > org.apache.wicket.WicketRuntimeException: > Application class com.misPartidos.web.EntretiempoApplication must be a > subclass of WebApplication. you have two wicket jars on your classp

Re: jetty, wicket and multiple maven modules. refresh class problem.

2009-04-15 Thread Fernando Wermus
Igor, I avoid to use start.java because I get: org.apache.wicket.WicketRuntimeException: Application class com.misPartidos.web.EntretiempoApplication must be a subclass of WebApplication. but I am using maven for everything. What am I doing wrong? I outline some of the spec of my projects:

Re: jetty, wicket and multiple maven modules. refresh class problem.

2009-04-15 Thread Igor Vaynberg
and make sure you run mvn eclipse:eclipse from the folder that contains the parent pom of both modules, that way yoru business logic project is on the classpath of the webapp project instead of a jar. -igor On Wed, Apr 15, 2009 at 2:01 PM, Jeremy Thomerson wrote: > Run the Start.java that came w

Re: jetty, wicket and multiple maven modules. refresh class problem.

2009-04-15 Thread Jeremy Thomerson
Run the Start.java that came with the quickstart - but make sure to "debug as -> java application" rather than "start as". This will allow it to pick up changes as you develop. -- Jeremy Thomerson http://www.wickettraining.com On Wed, Apr 15, 2009 at 4:00 PM, Fernando Wermus wrote: > I am. I

Re: jetty, wicket and multiple maven modules. refresh class problem.

2009-04-15 Thread Fernando Wermus
I am. I am trying to solve this problem with jetty-test-plugin. Better option? http://docs.codehaus.org/display/JETTY/Multiple+WebApp+Source+Directory. Eclipse isnt detecting the changes :(. Could it detect the changes by itself? It compiles in webapp/target and business logic/target. Jetty reads

Re: jetty, wicket and multiple maven modules. refresh class problem.

2009-04-15 Thread Igor Vaynberg
are you using eclipse? -igor On Wed, Apr 15, 2009 at 1:05 PM, Fernando Wermus wrote: > Hi, >     I have a web site with wicket + maven. I use a maven module for > business logic and a maven module for webapp. Jetty looks .class files in > webapp/target. Before creating the multiples modules, I w

jetty, wicket and multiple maven modules. refresh class problem.

2009-04-15 Thread Fernando Wermus
Hi, I have a web site with wicket + maven. I use a maven module for business logic and a maven module for webapp. Jetty looks .class files in webapp/target. Before creating the multiples modules, I was debugging and fixing the code all at the same time. Now, I have 2 modules and when I make a

Re: isRequired: Use function instead of boolean

2009-04-15 Thread ChuckDeal
Ok, so I left out the detail that I have an AbstractPredicate in my environment that implements Predicate and Serializable. I honestly don't dare if it is Predicate or not, just that some Class is able to execute the function. I chose Predicate in my environment because I use commons-collections

Re: LinkTree : when using a refreshing model, expanding/collapsing nodes not working anymore

2009-04-15 Thread Live Nono
Small extra precision : using tree.getTreeState().expandAll()/collapseAll() works fine... 2009/4/15 Live Nono > Hi > > I've another issue with the LinkTree. > > Up to recently, it was working all fine. I was creating the LinkTree this > way : > new LinkTree("tree", getTreeModel()) > > But then I

LinkTree : when using a refreshing model, expanding/collapsing nodes not working anymore

2009-04-15 Thread Live Nono
Hi I've another issue with the LinkTree. Up to recently, it was working all fine. I was creating the LinkTree this way : new LinkTree("tree", getTreeModel()) But then I wanted the model to be refreshed at each request. I tried with many refreshing models like for example new LinkTree("tree", ne

Re: isRequired: Use function instead of boolean

2009-04-15 Thread James Carman
It can be. On Wed, Apr 15, 2009 at 2:13 PM, Johan Compagner wrote: > is a Predicate  serializable? > > On Wed, Apr 15, 2009 at 18:05, Charles A Deal wrote: > >> I have a number of Form Components that have a conditional required >> status.  In the past, I've seen recommendations to override the

Re: isRequired: Use function instead of boolean

2009-04-15 Thread Johan Compagner
is a Predicate serializable? On Wed, Apr 15, 2009 at 18:05, Charles A Deal wrote: > I have a number of Form Components that have a conditional required > status. In the past, I've seen recommendations to override the component > and supply a custom implementation of the isRequired function to

Re: LinkTree : how to be notified on any node expansion ?

2009-04-15 Thread Live Nono
hi I've found the method onJunctionLinkClicked, it does the trick. thx 2009/4/15 Live Nono > Hi > > I'm using the LinkTree to display a tree with expand all/collapse all > links. > > I would like to do the following behaviors : > - expand all clicked : expand all link disabled > - any node sel

getAllSession method?

2009-04-15 Thread Matías Tito
Hi, I was trying but I couldn't find a method in my Wicket Aplication like geAllSession. How can I do that? - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.o

Re: filtering a datatable

2009-04-15 Thread Julien Graglia
I reply to myself... I just have found http://www.nabble.com/Problems-with-clearing-of-filter-form-td16098239.html I have to include the table in a form with some form specific components (focus-restore and focus-tracker)

Re: filtering a datatable

2009-04-15 Thread Serkan Camurcuoglu
sorry for my previous post.. what i've previously done is: - add a filtertoolbar to your datatable - make some of your columns IFilteredColumn, for example I've used TextFilteredPropertyColumn but there are also others - make your dataprovider implement IFilterStateLocator - implement the filte

Re: filtering a datatable

2009-04-15 Thread Serkan Camurcuoglu
you can try FilterToolbar Julien Graglia wrote: Hi, I try to filter rows of a datatable : I already have sort the rows very easily (using a SortableDataProvider) but now I need to filter some columns.. which seems to me a rather "classic" task. I have found classes in org.apache.wicket.exten

filtering a datatable

2009-04-15 Thread Julien Graglia
Hi, I try to filter rows of a datatable : I already have sort the rows very easily (using a SortableDataProvider) but now I need to filter some columns.. which seems to me a rather "classic" task. I have found classes in org.apache.wicket.extensions.markup.html.repeater.data.table.filter like Ch

Re: WebApp Freezes

2009-04-15 Thread John Krasnay
Heh, I haven't had to worry about connection leaks since I discovered Spring's JdbcTemplate and Hibernate, so it didn't even cross my mind. But yeah, if the app is doing it's own JDBC connection management then that is very much something J should look at. jk On Wed, Apr 15, 2009 at 05:58:11PM +0

Re: sessionsize of requestlogger

2009-04-15 Thread Igor Vaynberg
On Wed, Apr 15, 2009 at 2:22 AM, Daniele Dellafiore wrote: > On Mon, Jan 12, 2009 at 5:43 PM, carloc wrote: > >> What Page Does Wicket Store in its HttpSession? the last page accessed from every pagemap is stored in httpsession. >> Is it bad to keep a reference to the previous pages in instance

isRequired: Use function instead of boolean

2009-04-15 Thread Charles A Deal
I have a number of Form Components that have a conditional required status. In the past, I've seen recommendations to override the component and supply a custom implementation of the isRequired function to support the proper check. So, in this case, it ignores the boolean that might be set by

Re: WebApp Freezes

2009-04-15 Thread nino martinez wael
I've some similar experiences with c3p0 (although only in test environment), somewhere theres some extra settings about wait time and pool size, you can google it.. Im in the midst of upgrading to ubuntu so I do not have my source available.. You could also try to switch to a more maintained conne

[OT] Wicket spirited conference?

2009-04-15 Thread nino martinez wael
Hi I know this is off topic, but I were wondering if any of you could recommend any conferences (java related), preferably located in EU and with the same easy going spirit that wicket has? It's the time of year where I have to report expected budget for education.. regards Nino

Re: OAuth in Wicket

2009-04-15 Thread Brill Pappin
just like wicket auth roles, which does have a page, but most of the work is done in the panel... easy to extends and modify the UI. - Brill Pappin On 15-Apr-09, at 10:56 AM, Jeremy Thomerson wrote: Not many projects include prebuilt pages because in most apps you are going to want all

Re: WebApp Freezes

2009-04-15 Thread Serkan Camurcuoglu
if all your threads are waiting for connections with no thread using a db connection, I suspect that you either leak connections (i.e. forget to free some connections) or each thread uses (requires) multiple connections during a transaction and at some point all threads need at least one more d

Re: OAuth in Wicket

2009-04-15 Thread Brill Pappin
Sure, I wouldn't mind some working openId code i didn't have to write ;) Seems like a lot of folks are rolling their own in terms of "alternative" security systems... I've been thinking of writing a wicket-sso-roles module similar to wicket-auth-roles. Is there enough interest from people

Re: OAuth in Wicket

2009-04-15 Thread Jeremy Thomerson
Not many projects include prebuilt pages because in most apps you are going to want all of your pages to extend from your base page. You may have prebuilt panels that can be used in your own pages, though. -- Jeremy Thomerson http://www.wickettraining.com On Wed, Apr 15, 2009 at 9:52 AM, Brill

RE: WebApp Freezes

2009-04-15 Thread J
Not just one thread, but that thread dump part (from my first post) is repeated for 149 other threads have the same situation. ( because of tomcats 150 maxthreads). But when looking at the db during a freeze, there is no lock on any table at db level. MySQL Administrator shows that there are 15 th

Re: OAuth in Wicket

2009-04-15 Thread Brill Pappin
yes, i means prebuilt auth session and signin pages etc. - Brill Pappin On 14-Apr-09, at 10:20 PM, David Leangen wrote: Ok. So, what exactly do you mean by "Wicket specific code"? OAuth and Wicket seem to be orthogonal, IMO. Perhaps you're referring to something like a generic OpenID

Re: wsjquery unmaintained?

2009-04-15 Thread Martijn Dashorst
I think the main maintainers went to develop wickext Martijn On Wed, Apr 15, 2009 at 4:44 PM, Jeremy Thomerson wrote: > As long as no one objects in a couple days on this thread, just add to the > existing project and maintain it as if it were your own if you want to. > > -- > Jeremy Thomerson >

Re: Passing hidden parameters / bookmarkable links

2009-04-15 Thread Jeremy Thomerson
You can't - it's either in the URL and accessible or not. If you only want to pass the group name, then the group name needs to be unique so that you can look it up. Otherwise, you have to pass the ID and the name. At that point, the name is just for SEO or prettyness - whatever - because the ID

Re: wsjquery unmaintained?

2009-04-15 Thread Jeremy Thomerson
As long as no one objects in a couple days on this thread, just add to the existing project and maintain it as if it were your own if you want to. -- Jeremy Thomerson http://www.wickettraining.com 2009/4/15 Uwe Schäfer > hi > > looking at the jira of wicketstuff-jquery and its current state,

wsjquery unmaintained?

2009-04-15 Thread Uwe Schäfer
hi looking at the jira of wicketstuff-jquery and its current state, am i right to say it is quite unmaintained right now? i need an advice here: i´d pretty much like to add some simple things and maybe even make it dependent on wicketstuff-jslib (if there is not a good argument against that

RE: WebApp Freezes

2009-04-15 Thread J
-MySQL 5 is configured using defaults, which is max_connections 100 -Tomcat is configured with maxThreads 150 -C3P0 is configured with maxPoolSize 15 I'll increase C3P0's maxPoolSize to 90, to see if that makes any difference in the occurences of freezes. Most of Tomcats threads are used to serve

No ajax-refresh after modalwindow

2009-04-15 Thread Alexander Elsholz
hi, i've different ajax-components (ajax-button) on my page. everytime the feedbackpanel was updated fine. after working with a modal window on my page the feedbackpanel will not update anymore when clicking the button. ajax-debug-console: INFO: Received ajax response (298 characters) INFO: but

Passing hidden parameters / bookmarkable links

2009-04-15 Thread Henrique Boregio
I am developing a system that has "groups" and want to make them accesible via user-friendly urls such as www.mysite.com/group/GROUPNAME On a web page, I have a list of groups which are all links to their group pages, such as: www.mysite.com/group/groupA www.mysite.com/group/groupB ... This is i

Conflict with transparentresolver and wicket:enclosure

2009-04-15 Thread Rik van der Kleij
Hi, When I mark a form as transparentresolver and in that form I surround a component with there is some conflict. The component within the enclosure can not be found. Exception: WicketMessage: Didn't find child component of with id='body'. Component: [MarkupContainer [Component id = en

Re: WebApp Freezes

2009-04-15 Thread John Krasnay
Sounds like you have a thread holding a lock on a critical table and subsequent threads are lining up behind it waiting for it to finish. You should check your MySQL to try and figure out who's holding the lock and why. Note that the culprit thread need not be hung up in the database. Locks are he

Re: WebApp Freezes

2009-04-15 Thread Martijn Dashorst
On Wed, Apr 15, 2009 at 3:41 PM, J wrote: > (Sorry for the empty message. First I tried Gmail, but that doesn't work > with this mailing list. Then I tried GMX webclient, but that client always > sends as HTML, which probably caused the message to be stripped to empty.) gmail just works. dunno wh

LinkTree : how to be notified on any node expansion ?

2009-04-15 Thread Live Nono
Hi I'm using the LinkTree to display a tree with expand all/collapse all links. I would like to do the following behaviors : - expand all clicked : expand all link disabled - any node selected or expanded : expand all link enabled The same goes for collapse all. I already manage to be inform of

Re: WebApp Freezes

2009-04-15 Thread francesco dicarlo
i'm using Gmail... -_- 2009/4/15 J : > (Sorry for the empty message. First I tried Gmail, but that doesn't work > with this mailing list. Then I tried GMX webclient, but that client always > sends as HTML, which probably caused the message to be stripped to empty.) > > > I'm experiencing freezes o

Re: WebApp Freezes

2009-04-15 Thread Martijn Dashorst
your max database connections should mirror the max request threads of tomcat. Otherwise you'll endup in deadlock country... Also make sure you don't have deadlocks in your database. The lack of errors in your tomcat logs don't necessarily mean there are no memory problems. Check with jstat -gc

RE: WebApp Freezes

2009-04-15 Thread J
(Sorry for the empty message. First I tried Gmail, but that doesn't work with this mailing list. Then I tried GMX webclient, but that client always sends as HTML, which probably caused the message to be stripped to empty.) I'm experiencing freezes on a production website. Server specs: -OS: Linu

Re: WebApp Freezes

2009-04-15 Thread francesco dicarlo
Second XD 2009/4/15 francisco treacy : > how *cool* is that! > > 2009/4/15 J : >> >> > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > >

Re: WebApp Freezes

2009-04-15 Thread francisco treacy
how *cool* is that! 2009/4/15 J : > > - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: spring/syringe with wicket

2009-04-15 Thread James Carman
You're trying to use syringe? Syringe is dependent upon Commons Proxy 1.1, which is currently only available in snapshot form (it hasn't been released). I'm working on getting a release out the door in the near future. In the meantime, you download it from the following SVN url and build it: ht

spring/syringe with wicket

2009-04-15 Thread shiraz memon
Thanks again, that works, really amazed about its agility I have another question about Spring IoC. I have tried to scratch the spring with wicket (looks promising), but when trying out something wnd up with the same problem of maven dependencies as before. Although I could see them at http://wick

Re: sessionsize of requestlogger

2009-04-15 Thread Daniele Dellafiore
On Mon, Jan 12, 2009 at 5:43 PM, carloc wrote: > What Page Does Wicket Store in its HttpSession? > Is it bad to keep a reference to the previous pages in instance variables of > new pages? I am really interested in an answer about this two questions. I am using 1.3 so I cannot use Page Reference

Scheduled Wicket courses (Europe) and jWeekend's Global Partner Program

2009-04-15 Thread jWeekend
Our next public Wicket training courses in London are scheduled as follows: May9-10(Sat-Sun), May11-12(Mon-Tue), May14-15(Thu-Fri), May16-17(Sat-Sun) & Jun1-2(Mon-Tue). Full details [1], FAQ [2] and booking [3] are available online. We also organise custom dates/courses [0]. Our partners in Holl