Re: [Wicket-user] PasswordTextField reset bug

2007-05-29 Thread Martijn Dashorst
It was already reported so you don't have to do that again. Thanks for the suggestion! https://issues.apache.org/jira/browse/WICKET-447 Martijn On 5/29/07, Ingram Chen [EMAIL PROTECTED] wrote: All, In wicket 1.2.6, I try to do passwordTextField.setResetPassword(false). But I found that

Re: [Wicket-user] integrating wicket and cocoon

2007-05-29 Thread Luca Marrocco
2007/5/28, Jean-Baptiste Quenot [EMAIL PROTECTED]: * Luca Marrocco: now. I have tried this example using wicket 1.2.6 and cocoon 2.2. Teorically it must work fine, but i have a trouble (a strange exception) that i'm not understand. Any other people is interesting in this trip

Re: [Wicket-user] Request attributes

2007-05-29 Thread Johan Compagner
So you only need it in the wicket code? then store it in your custom request cycle or request.getRequestParameters().getParamteters().put(xxx,yyy) johan On 5/28/07, Matthieu Casanova [EMAIL PROTECTED] wrote: Hi, no, I'm not integrating with another technology. My problem is that for each

[Wicket-user] Map.Entry and serialization

2007-05-29 Thread Sven Schliesing
Hi, I just ran into problems with a List view. The Model used for this is actually a Map so I put in a entrySet() from the map in the ListView: new ListView(list, new ArrayListMap.EntryIKey, Integer(map.entrySet())) { public void populateItem(final ListItem listItem) { final

Re: [Wicket-user] Map.Entry and serialization

2007-05-29 Thread Sven Schliesing
Btw: I'm using 1.3.0-incubating-SNAPSHOT if that matters. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to

[Wicket-user] More Ajax woes with behaviors and component replacing..

2007-05-29 Thread RedFury
Hi all, My wicket app is coming along very nicely, however I have another ajax problem with switching components in an ajax call. here's a simple example: - I have a page consisting of Panel A. Panel A has a custom component which is a graphical scrollling list. It has custom behavior I wrote

Re: [Wicket-user] Map.Entry and serialization

2007-05-29 Thread Johan Compagner
remove the final keyword of the entry variable. You shouldn't keep entry objects like that then it will become members and an Map.Entry isn't serializeable because the HashMap doesn't serialize those (they aren't meant to be) johan On 5/29/07, Sven Schliesing [EMAIL PROTECTED] wrote: Hi, I

Re: [Wicket-user] Autocomplete - selecting (higlighting) firstoption by default.

2007-05-29 Thread Dipu
I agree, it will be nice to have the ability control this. In my case i had to hard code it in the autocomplete js file and i had to rebuild the wicket extensions. Regards Dipu - Original Message - From: Sean Sullivan To: wicket-user@lists.sourceforge.net Sent: Saturday,

[Wicket-user] Implementing a PopupPanel

2007-05-29 Thread Ravindra Wankar
This looks more like a design question but I think there must be a better, Wicket way. I wrote a PopupPanel that allows you to have a div popup in a page by clicking a link. The contents of the div can be static/loaded via Ajax. The popup part with Ajax is working. The link that activates the

Re: [Wicket-user] Map.Entry and serialization

2007-05-29 Thread Sven Schliesing
So the problem isn't the final keyword but the fact that Maps aren't serializable, right? Johan Compagner wrote: remove the final keyword of the entry variable. You shouldn't keep entry objects like that then it will become members and an Map.Entry isn't serializeable because the HashMap

Re: [Wicket-user] Autocomplete - selecting (higlighting) firstoption by default.

2007-05-29 Thread Ryan Gravener
If you can, submit a patch. I think most of the community would like that functionality. On 29/05/07, Dipu [EMAIL PROTECTED] wrote: I agree, it will be nice to have the ability control this. In my case i had to hard code it in the autocomplete js file and i had to rebuild the wicket

[Wicket-user] Wicket Acegi ?

2007-05-29 Thread Thies Edeling
Hello all, I'm migrating an existing Struts app to Wicket and have now reached the point where I have to add authentication/authorization to it. In the Struts app I used Acegi to add URL-based security. Ideally I'd re-use my existing Acegi config for Wicket but I can't find any documentation on

[Wicket-user] Skin effect in wicket

2007-05-29 Thread Javed
I want to give skin effect to my web application. This means, can I have option to select different html (look and feel) at the runtime depending on the selected skin usinging the java file (page)? if there is any provision in wicket, please let me know. Thanks in advance. -- View this

Re: [Wicket-user] Autocomplete - selecting (higlighting) firstoption by default.

2007-05-29 Thread Erik van Oosten
Yes please! other things that would be great: -1- immediate open of the dropdown window upon entering the field -2- control over the width of the dropdown window I implemented -1- by adding a special class to the field 'immediateOpen' and adapting the javascript (code available for download at

[Wicket-user] Reusable ListToList component

2007-05-29 Thread Alex Bosy
Hi All, I am wondering if there is something like a ListToList component already available in some Wicket-related project (e.g. Wicket Extensions or Wicket Contrib)? A component that contains 2 lists and allows to move items from one list to the other. Thanks in advance!

Re: [Wicket-user] Wicket Acegi ?

2007-05-29 Thread Maurice Marrink
If you are using wicket 1.3 you could try the new wicket security framework swarm. unlike acegi it is not url based but component based. It was designed with simplicity in mind so you should be able to get started right away. You can find documentation here

Re: [Wicket-user] Map.Entry and serialization

2007-05-29 Thread Johan Compagner
no Maps are serializable and yes your problem is the final keyword before that variable. because you make it final so that you can reuse that in an (anonymous) inner class and then that Entry is placed in the session because it becomes a member of that inner class just remove the final keyword

Re: [Wicket-user] RadioGroup Broken(1.2.5+?/whenusingwantOnSelectionChangedNotifications)?

2007-05-29 Thread kubino
Hi, did you try to put process(); in your onSelectionChanged method? Kubino Nino Wael wrote: Igor please answer:) Fra: [EMAIL PROTECTED] på vegne af Nino Wael Sendt: to 26-04-2007 16:01 Til: wicket-user@lists.sourceforge.net;

[Wicket-user] Forms locale(europe) and numbers does not

2007-05-29 Thread Nino Saturnino Martinez Vazquez Wael
Hi I have a form form wicket:id=Form input type=hidden wicket:id=longtitudeNE name=longtitudeNE id=longtitudeNE /form java part: gMapUpdatingForm.add(new HiddenField(longtitudeCenter, new PropertyModel( gMap.getCenter(), longtitude))); If I am in US

Re: [Wicket-user] Skin effect in wicket

2007-05-29 Thread Marc-Andre Houle
The two way I know of : 1. It can be done using variation : http://cwiki.apache.org/WICKET/multiple-markups-per-page.html 2. Also possible by using a Header contributor for CSS... http://wicketframework.org/apidocs/wicket/behavior/HeaderContributor.html Have fun Marc On 5/29/07, Javed [EMAIL

Re: [Wicket-user] Forms locale(europe) and numbers does not

2007-05-29 Thread Ryan Gravener
Hey Nino, remember that I changed longtitude to longitude. So try doing new HiddenField(longitudeCenter, new PropertyModel(gMap.getCenter(),longitude)) . try changing On 29/05/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Hi I have a form form wicket:id=Form

Re: [Wicket-user] Skin effect in wicket

2007-05-29 Thread Dipu
i think you can override getVariation() to do this. Regards Dipu - Original Message - From: Javed [EMAIL PROTECTED] To: wicket-user@lists.sourceforge.net Sent: Tuesday, May 29, 2007 1:10 PM Subject: [Wicket-user] Skin effect in wicket I want to give skin effect to my web

Re: [Wicket-user] Wicket Acegi ?

2007-05-29 Thread Erik van Oosten
There was a thread some time ago. In http://www.nabble.com/forum/ViewPost.jtp?post=7285394framed=y this message I explained how we use Acegi in combination with wicket-auth-roles. Regards, Erik. Mr Mean wrote: I am not sure if there is an existing wicket-acegi framework but i

Re: [Wicket-user] Wicket Acegi ?

2007-05-29 Thread Maurice Marrink
According to your mail, you are only using acegi to do the authentication and let auth-roles handle the authorization. Swarm provides functionality to handle both authentication and authorization and is perfectly capable of delegating to whatever authentication framework you desire. Maurice On

Re: [Wicket-user] Wicket Acegi ?

2007-05-29 Thread Erik van Oosten
Indeed. I was replying to give a reference to using Acegi. I think now, Swarm is the way to go. Regards, Erik. Mr Mean wrote: According to your mail, you are only using acegi to do the authentication and let auth-roles handle the authorization. Swarm provides functionality to

[Wicket-user] Quick double submit problem

2007-05-29 Thread kubino
Hi, I have serious trouble with quick double submit problem. First problem are the submit buttons , especially in combination with radiogroup - (componment hierarchy changed between rendering and form submission) - as I read somewhere, it is neccessary to disable the second click on client. I

Re: [Wicket-user] Wicket Acegi ?

2007-05-29 Thread Thies Edeling
I'm using 1.2.6 so swarm is not in the picture. Will check out auth-roles as I'm on java 1.5, thx! On Tue, 29 May 2007, Maurice Marrink wrote: If you are using wicket 1.3 you could try the new wicket security framework swarm. unlike acegi it is not url based but component based. It was

[Wicket-user] Chicken-and-egg w/ Data Provider

2007-05-29 Thread V. Jenks
I'm trying to use a provider class for a DataView so I can do paging/sorting, etc. It looks like this: public class OrderProvider implements IDataProvider { private transient ListOrder orders; public OrderProvider()

Re: [Wicket-user] Wicket Acegi ?

2007-05-29 Thread Maurice Marrink
Johan, has an excellent point, but we too have a pre wicket 1.3 app so i guess i'll have to make a branche for that app anyhow if i want to replace or old security mechanisme. I don't think it will be much work to backport to 1.2.6. Let me know if you plan on staying with wicket 1.2.x or upgrade

Re: [Wicket-user] Wicket Acegi ?

2007-05-29 Thread Francis Amanfo
Hi Marice, While here may I ask a quick question? I've quickly glanced through the docs at Wiki and could see some reference to Hivemind. Does this implementation employs Apache HiveMind and if so I assume I have to place yet another jar on my classpath. Right or not? Regards, Francis On

Re: [Wicket-user] Wicket Acegi ?

2007-05-29 Thread Maurice Marrink
Francis, Swarm does not use apache hivemind. The hivemind reference you saw in the example code is to an internal class who is coincidentally named like apache hivemind. Swarm only requires the following jars besides wicket: Wasp, commons-logging and Log4j. Maurice On 5/29/07, Francis Amanfo

[Wicket-user] Have to click 2 times to get my search results

2007-05-29 Thread Francisco Diaz Trepat - gmail
Hi all, I have the following behavior: On one side of a Page I have a list of links (acting as a menu :P) that is created by building links by obtaining the page class NameOfThePage.class. That gives me the url:

Re: [Wicket-user] Wicket Acegi ?

2007-05-29 Thread Francis Amanfo
Yes, I thought so too since I couldn't see any package reference to apache hivemind but just the name Hivemind, but to be sure I decided to ask. Thanks for the answer and great work. Francis On 5/29/07, Maurice Marrink [EMAIL PROTECTED] wrote: Francis, Swarm does not use apache hivemind.

Re: [Wicket-user] Wicket Acegi ?

2007-05-29 Thread Maurice Marrink
No problem and thanks. Have you decided yet if you are going to upgrade to wicket 1.3? Maurice On 5/29/07, Francis Amanfo [EMAIL PROTECTED] wrote: Yes, I thought so too since I couldn't see any package reference to apache hivemind but just the name Hivemind, but to be sure I decided to ask.

Re: [Wicket-user] Chicken-and-egg w/ Data Provider

2007-05-29 Thread James McLaughlin
The purpose of size() is to give the DataView an idea of how many pages there will be, so this really won't work. You should fetch size in a separate query as the number of orders total over all pages, and cache that. best, jim On 5/29/07, V. Jenks [EMAIL PROTECTED] wrote: I'm trying to use a

Re: [Wicket-user] Autocomplete - selecting (higlighting) firstoption by default.

2007-05-29 Thread Eelco Hillenius
Yeah. Please open up a JIRA issue (feature request) for it as well. Eelco On 5/29/07, Ryan Gravener [EMAIL PROTECTED] wrote: If you can, submit a patch. I think most of the community would like that functionality. On 29/05/07, Dipu [EMAIL PROTECTED] wrote: I agree, it will be nice

Re: [Wicket-user] Autocomplete - selecting (higlighting)firstoption by default.

2007-05-29 Thread Dipu
here is the patch, for preselecting the first item in the auto complete list. Index: C:/wicket/wicket-svn/releases/wicket-1.2.6/wicket-extensions/src/main/java/wicket/extensions/ajax/markup/html/autocomplete/AbstractAutoCompleteBehavior.java

Re: [Wicket-user] Autocomplete - selecting (higlighting)firstoption by default.

2007-05-29 Thread Eelco Hillenius
Thanks. But could you please attach it to a JIRA issue so that we can properly track it? Thanks, Eelco On 5/29/07, Dipu [EMAIL PROTECTED] wrote: here is the patch, for preselecting the first item in the auto complete list. Index:

Re: [Wicket-user] Reusable ListToList component

2007-05-29 Thread Martijn Dashorst
See the Palette (http://wicketstuff.org/wicket13/compref/?wicket:bookmarkablePage=%3Aorg.apache.wicket.examples.compref.PalettePage) Martijn On 5/29/07, Alex Bosy [EMAIL PROTECTED] wrote: Hi All, I am wondering if there is something like a ListToList component already available in some

Re: [Wicket-user] Wicket Acegi ?

2007-05-29 Thread Martijn Dashorst
On 5/29/07, Maurice Marrink [EMAIL PROTECTED] wrote: Swarm only requires the following jars besides wicket: Wasp, commons-logging and Log4j. You did notice that Wicket now uses slf4j instead of clogging? Martijn -- Join the wicket community at irc.freenode.net: ##wicket Wicket 1.2.6 contains

Re: [Wicket-user] Bookmarkable links with empty href

2007-05-29 Thread Eelco Hillenius
Easiest thing for you to do is to create a custom component that does this. Something like public class MyBookmarkableLink extends WebMarkupContainer { private final Class pageClass; private final PageParameters parameters; ... protected void onComponentTag(final ComponentTag tag) {

Re: [Wicket-user] Wicket Acegi ?

2007-05-29 Thread Jean-Baptiste Quenot
* Thies Edeling: I'm migrating an existing Struts app to Wicket and have now reached the point where I have to add authentication/authorization to it. In the Struts app I used Acegi to add URL-based security. Ideally I'd re-use my existing Acegi config

Re: [Wicket-user] Wicket Acegi ?

2007-05-29 Thread Maurice Marrink
I know martijn and i will fix this, in the meantime i would like to add to my defense that i am not the only stuff project to use log4j :) Maurice On 5/29/07, Martijn Dashorst [EMAIL PROTECTED] wrote: On 5/29/07, Maurice Marrink [EMAIL PROTECTED] wrote: Swarm only requires the following jars

Re: [Wicket-user] Wicket Acegi ?

2007-05-29 Thread Eelco Hillenius
I know martijn and i will fix this, in the meantime i would like to add to my defense that i am not the only stuff project to use log4j :) You mean commons-logging :) Eelco - This SF.net email is sponsored by DB2 Express

Re: [Wicket-user] Wicket Acegi ?

2007-05-29 Thread Thies Edeling
I'm migrating an existing Struts app to Wicket and have now reached the point where I have to add authentication/authorization to it. In the Struts app I used Acegi to add URL-based security. Ideally I'd re-use my existing Acegi config for Wicket but I

Re: [Wicket-user] Wicket Acegi ?

2007-05-29 Thread Maurice Marrink
:) indeed i realized my mistake after i hit the send button :) Maurice On 5/29/07, Eelco Hillenius [EMAIL PROTECTED] wrote: I know martijn and i will fix this, in the meantime i would like to add to my defense that i am not the only stuff project to use log4j :) You mean commons-logging :)

Re: [Wicket-user] [Nuub] Best practise: Navigation Component

2007-05-29 Thread Thomas Singer
Hi Johannes, If you can hard code the links in your markup, it might be worth to try autolinking. Tom Johannes Schneider wrote: Hi, I am new to Wicket and I really like the things I have seen so far. But I also have a few questions. At the moment I create a small page. Therefore I have

[Wicket-user] Swarm - [was Wicket Acegi ?]

2007-05-29 Thread Jan Kriesten
Hi, I followed this thread with great interest and just found out about Swarm. What makes me wonder is, using Acegi as a Filter means not to use component-based authorization. But it should be possible to integrate Acegi into the application and all Filter-gotchas should be resolvable. Or am I

Re: [Wicket-user] Swarm - [was Wicket Acegi ?]

2007-05-29 Thread Maurice Marrink
On 5/29/07, Jan Kriesten [EMAIL PROTECTED] wrote: Why re-invent the wheel with Wasp/Swarm? The same question could be asked when acegi was introduced, or any other security framework for that matter. The simple answer is because it things differently and hopes to solves problems not addressed

Re: [Wicket-user] Swarm - [was Wicket Acegi ?]

2007-05-29 Thread Eelco Hillenius
What makes me wonder is, using Acegi as a Filter means not to use component-based authorization. But it should be possible to integrate Acegi into the application and all Filter-gotchas should be resolvable. Or am I missing something? You're right, if you really want, you can use URL based

Re: [Wicket-user] [Nuub] Best practise: Navigation Component

2007-05-29 Thread Johannes Schneider
I don't want to hard code the links because I use the Component several times with differen links. I also would like to use the component in the next project too. Johannes Schneider Thomas Singer wrote: Hi Johannes, If you can hard code the links in your markup, it might be worth to try

Re: [Wicket-user] Swarm - [was Wicket Acegi ?]

2007-05-29 Thread Jan Kriesten
hi maurice, i didn't want to stat a framework war... ;-) my point was just to understand why you started a new thing. i'm currently in the process of selecting a authentication/authorization framework, too. it should be highly flexible, so it can integrated in very different environments.

Re: [Wicket-user] Quick double submit problem

2007-05-29 Thread Johan Compagner
if you want an event thats before onSubmit then in 1.3 you can use onAttach() (thats called when the page is first used, used is rendered or a listener called) but does the onClick of the radio group doesn't really submit right? it only redirect to your onSelectionChange method but the model

Re: [Wicket-user] Swarm - [was Wicket Acegi ?]

2007-05-29 Thread Jan Kriesten
hi eelco, You're right, if you really want, you can use URL based authorization. you got me wrong, i was thinking to integrate acegi into the app like wasp/swarm is doing and so have an acegi-interface that can be used on component-level. so, best of both worlds. best regards, --- jan.

Re: [Wicket-user] Swarm - [was Wicket Acegi ?]

2007-05-29 Thread Martijn Dashorst
On 5/29/07, Jan Kriesten [EMAIL PROTECTED] wrote: what i was thinking about was - instead of using acegi as a filter and use it on urls - integrate it in the wicket-app and act on top of the components. this sounds like the wasp/swarm-concepts, only that acegi is the base. what i really

Re: [Wicket-user] Swarm - [was Wicket Acegi ?]

2007-05-29 Thread Maurice Marrink
I am sorry if i made you think i was accusing you of starting a framework war, i was merely stating i didn't want to start one :). I am only just reading up on acegi, but what i learned so far is that acegi was designed for spring just like swarm is for wicket so trying to integrate either in the

Re: [Wicket-user] Swarm - [was Wicket Acegi ?]

2007-05-29 Thread Eelco Hillenius
what i was thinking about was - instead of using acegi as a filter and use it on urls - integrate it in the wicket-app and act on top of the components. this sounds like the wasp/swarm-concepts, only that acegi is the base. It's definitively possible to use Acegi ACL stuff with Wicket's auth

Re: [Wicket-user] Have to click 2 times to get my search results

2007-05-29 Thread Johan Compagner
Are you sure that you don't set another page to render in the ajax button submit code?? Because if you a pure ajax call and you don't set anohter response page then the url in your browser shouldn't change johan On 5/29/07, Francisco Diaz Trepat - gmail [EMAIL PROTECTED] wrote: Hi all, I

Re: [Wicket-user] Swarm - [was Wicket Acegi ?]

2007-05-29 Thread Jan Kriesten
hi martijn, what i really dislike about acegi is the spring/xml-stuff. but that's another story... ;-) If you take the spring/xml and the URL based authorization out of Acegi, what is left? Not a stab at Acegi, just asking. hehe - now i'm having to argue pro acegi where i'm not yet

Re: [Wicket-user] Swarm - [was Wicket Acegi ?]

2007-05-29 Thread Jan Kriesten
hi eelco, It's definitively possible to use Acegi ACL stuff with Wicket's auth model. You'll have to build it yourself, but once you know you're way around Acegi and you exactly what your requirements are, implementing it shouldn't be too difficult. see my post to martijn - having the

Re: [Wicket-user] Swarm - [was Wicket Acegi ?]

2007-05-29 Thread Maurice Marrink
True, Swarm does not yet provide blackbox authentication against ldap, cas or whatever else, but it allows you to customize your own authentication allowing you to implement any of those models. And the time not spend on fixing all your urls for acegi can now be spend on implementing cas or ldap

Re: [Wicket-user] Swarm - [was Wicket Acegi ?]

2007-05-29 Thread Eelco Hillenius
On 5/29/07, Jan Kriesten [EMAIL PROTECTED] wrote: hi eelco, It's definitively possible to use Acegi ACL stuff with Wicket's auth model. You'll have to build it yourself, but once you know you're way around Acegi and you exactly what your requirements are, implementing it shouldn't be

Re: [Wicket-user] Swarm - [was Wicket Acegi ?]

2007-05-29 Thread Eelco Hillenius
And the time not spend on fixing all your urls for acegi Acegi is layered. It has auth models that don't depend on URLs. For instance there is a fairly sophisticated (at least at first sight) ACL mechanism last time I looked. Eelco

Re: [Wicket-user] Swarm - [was Wicket Acegi ?]

2007-05-29 Thread Jan Kriesten
hi eelco, Yeah, makes sense. Contributions are welcome of course. We don't mind having competing implementations; it'll only make them better :) hehe, i'll keep you posted. ;-) --- jan. - This SF.net email is

Re: [Wicket-user] Swarm - [was Wicket Acegi ?]

2007-05-29 Thread Maurice Marrink
I don't mind the competition. But it might be a good idea if we can all agree on some common api. for that reason i made wasp. Off course nothing is written in stone so if you have some suggestions I'll be happy to listen to them. Just take a look at wasp, is all i ask. Maurice On 5/29/07, Jan

Re: [Wicket-user] Swarm - [was Wicket Acegi ?]

2007-05-29 Thread Eelco Hillenius
I don't mind the competition. But it might be a good idea if we can all agree on some common api. for that reason i made wasp. Off course nothing is written in stone so if you have some suggestions I'll be happy to listen to them. Just take a look at wasp, is all i ask. Yeah, I agree that

Re: [Wicket-user] Swarm - [was Wicket Acegi ?]

2007-05-29 Thread Maurice Marrink
Don't worry, i like committees about as much as how far i can throw them :) Maurice On 5/29/07, Eelco Hillenius [EMAIL PROTECTED] wrote: I don't mind the competition. But it might be a good idea if we can all agree on some common api. for that reason i made wasp. Off course nothing is

Re: [Wicket-user] I got this : Expected close tag for ...

2007-05-29 Thread James McLaughlin
hmm... I just ran into something similar with fragments. The markup looks like this: wicket:fragment wicket:id=menuItemNoSubMenu a wicket:id=menuItemLink span wicket:id=menuItemLabel[label here]/span /a em

Re: [Wicket-user] Wizard question

2007-05-29 Thread Herman Bovens
OK I didn't look into that example because it was broken on http://wicketstuff.org/wicket13/wizard/ http://wicketstuff.org/wicket13/wizard/ : it gave an Internal Error when starting. Someone fixed that apparently, but it is still broken: if you don't check Assign Roles and press Next, this

[Wicket-user] Bug in 1.3? HeaderContributor.forCss(String)

2007-05-29 Thread Jeremy Thomerson
I consider this a bug, and was wondering if you do as well... If so, I will open a JIRA and attach a patch for it. Just let me know. In my 1.2.6 app, I have the following line: add(HeaderContributor.forCss(/resources/styles/global.css)); which generates this in the markup (correctly): link

[Wicket-user] How to open modal window after Page submit?

2007-05-29 Thread jamieballing
We have a modal window which is backed by a Page. Since this is a non-ajax submit and I don't have an AjaxRequestTarget, I close the modal window after the Page is submitted by writing javascript which we copied from ModalWindow.getCloseJavacript(). This all works fine... The problem is that

Re: [Wicket-user] Chicken-and-egg w/ Data Provider

2007-05-29 Thread Timo Rantalaiho
On Tue, 29 May 2007, James McLaughlin wrote: The purpose of size() is to give the DataView an idea of how many pages there will be, so this really won't work. You should fetch size in a separate query as the number of orders total over all pages, and cache that. I think that in DataGridView

Re: [Wicket-user] Skin effect in wicket

2007-05-29 Thread Javed
Thanks for reply. My real concern is to keep html,images and css in separate folder, so it will be easy to add new html page with its images and css. Can I some how keep each of the html pages in separate folders? Can I locate markup from particular folder dynamically? Marc-Andre Houle wrote:

Re: [Wicket-user] Skin effect in wicket

2007-05-29 Thread Eelco Hillenius
Can I some how keep each of the html pages in separate folders? Can I locate markup from particular folder dynamically? You can, but you'll have to do some extra work. Look at the customresourceloading example in wicket-examples for some ideas. Eelco

[Wicket-user] 1.2.x trunk stack overflow

2007-05-29 Thread Ingram Chen
All, I build 1.2.x trunk today to try some fixed bugs (which found in 1.2.6) . After I deploy I got stack overflow: java.lang.StackOverflowError at java.lang.ThreadLocal.get(ThreadLocal.java:125) at wicket.RequestCycle.get(RequestCycle.java:211) at

Re: [Wicket-user] Skin effect in wicket

2007-05-29 Thread Javed
Thanks for reply. One more thing, Can I have this setting of markup for particular module (Page) and not for whole application? Eelco Hillenius wrote: Can I some how keep each of the html pages in separate folders? Can I locate markup from particular folder dynamically? You can, but

Re: [Wicket-user] Skin effect in wicket

2007-05-29 Thread Eelco Hillenius
Thanks for reply. One more thing, Can I have this setting of markup for particular module (Page) and not for whole application? Yep, see PageWithCustomLoading from that example. Also note that the application scoped setting is a strategy, so with a bit of thinking you can bend it every way