Re: Reading an attribute that is set in a CSS file as a class

2008-11-17 Thread Eyal Golan
Stephen, I need this the same reason James needs it. We generate an image (a JFreeChart image) and we want it to have the same background color as the one specified in the CSS file. Eyal Golan [EMAIL PROTECTED] Visit: http://jvdrums.sourceforge.net/ LinkedIn: http://www.linkedin.com/in/egolan74

Loosing page parameters after submit

2008-11-17 Thread Enes Fazli
Hello everybody, following situation: I have a comment panel with a form and a paging navigator to show the comments. I implemented a own version of the PagingNavigator which uses BookmarkablePageLinks for navigation links. Now, if i use this panel in a page that has this url

Re: Page references and serialization

2008-11-17 Thread Johan Compagner
this is exactly how we want it to happen. On Sun, Nov 16, 2008 at 9:24 PM, Mikko Pukki [EMAIL PROTECTED]wrote: Hi, I tried to recreate similar situation where Page A has a link to PageB and PageB holds a reference to PageA. I got similar result with as Cristiano. though I only tried Wicket

AW: Simple GET based stateless form

2008-11-17 Thread Stefan Lindner
In the onSubmit method of your form place something like PageParameters p = new PageParameters(); // add your search parameters here getRequestCycle().setRequestTarget(new RedirectRequestTarget(urlFor(MySearchResults.class, p).toString())); Try out

Re: Adding/Removing a AjaxSelfUpdatingTimerBehavior...

2008-11-17 Thread Ernesto Reinaldo Barreiro
Hi Graeme, I don't know if what follows is the best way... but when I export a file on my applications sometimes I want to display a progress bar to give users some feed back... I have done the following: public abstract class DefaultExportPanel extends Panel { /** * */ private static final

Re: AW: Simple GET based stateless form

2008-11-17 Thread Vinayak Borkar
Stefan, What I see on your site is exactly the behaviour I wish to have. However, using the code you pasted, still gives me this as the end of my URL, the second time.

Re: Simple GET based stateless form

2008-11-17 Thread Johan Compagner
dont use a wicket form But only have the form inside your html not as a component And configure that form to just do a get to the url it is on Then url must be mounted/bookmarked The page must then have a PageParameters constructor where you read your parameters from johan On Mon, Nov 17, 2008

Re: Problem with Crypted URL

2008-11-17 Thread Johan Compagner
i guess this is because we now use sessionid as the seed for the encryption of the urls So when a session times out and that user makes another request to it we cant decrypt it anymore because another seed is used. I already changed the handling of that in trunk so that now a page expired is

Re: Reading an attribute that is set in a CSS file as a class

2008-11-17 Thread Steve Swinsburg
I understand you need to match some attributes, but I don't understand why the CSS can't just have an extra class containing the attributes you need. Where does the CSS come from? Is it fixed or does it change a lot, ie via user specified/uploaded skins etc? cheers, Steve On 17 Nov

Re: AW: Simple GET based stateless form

2008-11-17 Thread FakeBoy
Hi, I have also some problem with stateless form in wicket 1.4-m3. I still don't know where is the problem. My prob is described in http://www.nabble.com/StatelessForm-in-Bookmarkable-Page-problem-to19430608.html#a19430608 Dave Vinayak Borkar wrote: Stefan, What I see on your site is

Re: Reading an attribute that is set in a CSS file as a class

2008-11-17 Thread Ernesto Reinaldo Barreiro
Why don't you just generate the CSS or parse it if that's not possible... With the former approach you will have the color before hand, with the latter you will have to locate it somewhere on the CSS. So, what is the best solution will depend on how you manage CSS on your application... Best,

Re: Bugs in wicket

2008-11-17 Thread jensiator
Cant find a bug number. Heres the url. http://wicketstuff.org/jira/browse/WSCAL-4 Jens Please can you give us the bug number (Wicket-) so we can vote for this bug and follow it? Regards. jensiator wrote: I've reported it to wicket JIRA. Jens TahitianGabriel wrote: Yes it

Re: Reading an attribute that is set in a CSS file as a class

2008-11-17 Thread Eyal Golan
James, Yes, I would like you to send an example of this route. It looks as this is what I need. thanks Eyal Golan [EMAIL PROTECTED] Visit: http://jvdrums.sourceforge.net/ LinkedIn: http://www.linkedin.com/in/egolan74 P Save a tree. Please don't print this e-mail unless it's really necessary

Re: Reading an attribute that is set in a CSS file as a class

2008-11-17 Thread Ernesto Reinaldo Barreiro
Tanks James! At the moment I do not need that code myself but maybe it could be useful to others... Best, Ernesto On Mon, Nov 17, 2008 at 12:20 PM, James Carman [EMAIL PROTECTED]wrote: We're going to go with the generate the CSS route. I'm going to implement that today. If you want me to

Re: Reading an attribute that is set in a CSS file as a class

2008-11-17 Thread James Carman
Perhaps if it's that beneficial to folks, I'll put a wiki page out there in the how to section. On Mon, Nov 17, 2008 at 6:40 AM, Ernesto Reinaldo Barreiro [EMAIL PROTECTED] wrote: Tanks James! At the moment I do not need that code myself but maybe it could be useful to others... Best,

Session / Application : where to put a component

2008-11-17 Thread Eyal Golan
Our application has a base page and we use markup inheritance. In the base page we have a headerWe call it HeaderPanel. HeaderPanel has MainTabsPanel, which consists with the menu links. The situation now is that for each page, the HeaderPanel and MainTabsPanel are constructed in each page

Wicket 1.4 Generics, DefaultDataTable and ChoiceFilteredPropertyColumn

2008-11-17 Thread Dylan Schell
When trying to use the DefaultDataTable in combination i'm running into what I think is a bug in the generification of ChoiceFilteredPropertyColumn, DefaultDataTable is parameterized with type T and the constructor expects IColumnT for it's column types. if I try to parameterize

Re: Unable to load Wicket app in hosting provider

2008-11-17 Thread moraleslos
I gave two things a shot and they both don't work. 1) I changed my context root of my Wicket application to /xyz (instead of the default /) and I put an index.html file in my root that looks like this: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN html head titleXYZ/title meta

Re: Session / Application : where to put a component

2008-11-17 Thread Eyal Golan
OK. Thanks, I'll see if I can do it differently. Eyal Golan [EMAIL PROTECTED] Visit: http://jvdrums.sourceforge.net/ LinkedIn: http://www.linkedin.com/in/egolan74 P Save a tree. Please don't print this e-mail unless it's really necessary On Mon, Nov 17, 2008 at 3:31 PM, Martijn Dashorst

Re: Adding/Removing a AjaxSelfUpdatingTimerBehavior...

2008-11-17 Thread Graeme Knight
Hi. Thanks for that. I was worried about removing behaviors - but thanks for the information. I'm going to look at how easy it is to change time on an AjaxSelfUpdatingTimerBehavior? I need a poll anyway so I am thinking of polling once every five minutes and then when the refresh is occurring

Re: Problem with Crypted URL

2008-11-17 Thread francisco treacy
something _similar_ happens in my logs. ERROR 2008-11-17 14:16:49,170 [http-8080-Processor17] Invalid URL org.apache.wicket.WicketRuntimeException: Unable to decrypt the text '[EMAIL PROTECTED]' at org.apache.wicket.util.crypt.AbstractCrypt.decryptByteArray(AbstractCrypt.java:145)

Re: Adding/Removing a AjaxSelfUpdatingTimerBehavior...

2008-11-17 Thread Ernesto Reinaldo Barreiro
Hi Graeme, On Mon, Nov 17, 2008 at 2:58 PM, Graeme Knight [EMAIL PROTECTED] wrote: Hi. Thanks for that. I was worried about removing behaviors - but thanks for the information. You are welcome! I'm going to look at how easy it is to change time on an AjaxSelfUpdatingTimerBehavior?

Re: Unable to load Wicket app in hosting provider

2008-11-17 Thread Igor Vaynberg
there is always the wicket servlet you can use instead of the filter. -igor On Mon, Nov 17, 2008 at 5:41 AM, moraleslos [EMAIL PROTECTED] wrote: I gave two things a shot and they both don't work. 1) I changed my context root of my Wicket application to /xyz (instead of the default /) and I

Re: Wicket 1.4 Generics, DefaultDataTable and ChoiceFilteredPropertyColumn

2008-11-17 Thread Igor Vaynberg
please open a jira issue. -igor On Mon, Nov 17, 2008 at 4:44 AM, Dylan Schell [EMAIL PROTECTED] wrote: When trying to use the DefaultDataTable in combination i'm running into what I think is a bug in the generification of ChoiceFilteredPropertyColumn, DefaultDataTable is parameterized with

Re: Getting Panel body content

2008-11-17 Thread Igor Vaynberg
instead of wicket:message add a label and whatever model you want. that gives you full control over the text. -igor On Mon, Nov 17, 2008 at 1:34 AM, jensiator [EMAIL PROTECTED] wrote: Hi I've created a Panel that I would like to act as a AjaxLink in the markup. I would like to be able to add

Re: Problem with Crypted URL

2008-11-17 Thread Johan Compagner
I already changed the handling of that in trunk so that now a page expired is thrown when that happens. johan when did you exactly change that? does it also impact my issue? dont know exactly but it is in M1 and the current trunk of 1.3 You dont have it yet if you are on august code

Re: Loosing page parameters after submit

2008-11-17 Thread Igor Vaynberg
your complaint is not that you are losing page parameters, but that you are losing the url. thats just how wicket works... -igor On Mon, Nov 17, 2008 at 12:40 AM, Enes Fazli [EMAIL PROTECTED] wrote: Hello everybody, following situation: I have a comment panel with a form and a paging

Re: mounts and resources

2008-11-17 Thread Craig Tataryn
Sorry, for the late response. The premise is there are two sections to the site. There is the static section which lives at / and the dynamic section that lives at /foo (controlled by wicket). Normally you would just tell the container to mount the webapp to /foo and call it a day, but

Two wicket apps

2008-11-17 Thread Anatoly Kupriyanov
I have two wicket apps: main site and admin site. I want to use them both from one web.xml I made: filter filter-namewicket/filter-name filter-class org.apache.wicket.protocol.http.WicketFilter /filter-class

Re: Two wicket apps

2008-11-17 Thread Igor Vaynberg
you have to tell the admin filter where it is mounted. see wicket-examples - each example is a separate app and there mounts work fine. -igor On Mon, Nov 17, 2008 at 9:41 AM, Anatoly Kupriyanov [EMAIL PROTECTED] wrote: I have two wicket apps: main site and admin site. I want to use them both

Re: Bugs in wicket

2008-11-17 Thread TahitianGabriel
OK, thank you. I was looking for it in the wicket jira (not wicketstuff) : http://issues.apache.org/jira/browse/WICKET. I guess it's the right place to post it anyway... jensiator wrote: Cant find a bug number. Heres the url. http://wicketstuff.org/jira/browse/WSCAL-4 Jens --

wicket:link modify tags

2008-11-17 Thread DVD
Hello: wicket:link lia href=... /wicket:link wicket replace a with span use getMarkupsetting.setDefaultDis would not help. Would it be possible now to tell wicket not to modify/replace any tags/attrs except href? This has been a headache for web designers to figure out what to do

Re: wicket:link modify tags

2008-11-17 Thread Igor Vaynberg
use a bookmarkablepagelink instead -igor On Mon, Nov 17, 2008 at 10:41 AM, DVD [EMAIL PROTECTED] wrote: Hello: wicket:link lia href=... /wicket:link wicket replace a with span use getMarkupsetting.setDefaultDis would not help. Would it be possible now to tell wicket not to

Re: wicket:link modify tags

2008-11-17 Thread DVD
I understand. But there are so many such links which are what the wicket:link is for. All that takes is for the autolink processing NOT to do extra modification of the element except href, which is what autolink is supposed to behave (and only). The extra replacement is nice to have but in many

Re: Firefox 2.0.0.18

2008-11-17 Thread Cristi Manole
Hello, In case somebody else hits the same wall, I wanna say that in my case it was because of the RealPlayer Browser Record Plugin. Disabling / uninstalling it on the client machines fixed things. (my applications were used in an intranet). Have a great day, Cristi Manole On Mon, Nov 17, 2008

overLIB Integration...

2008-11-17 Thread James Carman
Would anyone be interested in a Wicket/overLIB integration library? I've written one for work and wouldn't mind sharing it with folks. It makes it very easy to add overLIB stuff to components, using behaviors... component.add(new OverlibBehavior(This is my tooltip

Re: overLIB Integration...

2008-11-17 Thread Marc Ende
Hi, imho this would be a nice feature. What about the mentioned constructor is it still OverlibBehavior(String) or do you plan also a OverlibBehavior(IModel)? It would be nice to have such a constructor when the contents should be loaded from a model. Marc James Carman schrieb: Would anyone

Re: overLIB Integration...

2008-11-17 Thread Jeremy Thomerson
I also like the idea and would use it. -- Jeremy Thomerson http://www.wickettraining.com On Mon, Nov 17, 2008 at 3:58 PM, Marc Ende [EMAIL PROTECTED] wrote: Hi, imho this would be a nice feature. What about the mentioned constructor is it still OverlibBehavior(String) or do you plan also

swarm wicket 1.4

2008-11-17 Thread Marc Ende
Hi, currently I'm using swarm securing some webpages build on wicket. Now, that's wicket 1.4 is getting nearer, I would like to know if there is something planned with swarm for wicket 1.4. Do you know if it's compatible or is there a new release needed? yours Marc signature.asc

Page Map File Sizes.

2008-11-17 Thread Graeme Knight
Hi. I hope this appropriate for this forum. I am writing a fairly heavy AJAX rich application with two pages - A login page and a work page. I was interested in progress so far regarding serialized page state, so I tracked the size of my page map file as I clicked around the application. Below

Re: overLIB Integration...

2008-11-17 Thread James Carman
On Mon, Nov 17, 2008 at 4:58 PM, Marc Ende [EMAIL PROTECTED] wrote: Hi, imho this would be a nice feature. What about the mentioned constructor is it still OverlibBehavior(String) or do you plan also a OverlibBehavior(IModel)? It would be nice to have such a constructor when the contents

Re: Page Map File Sizes.

2008-11-17 Thread Graeme Knight
I guess I can answer my own question: So let's say our page is 50k. We have 1000 users on a server. With each user having 100 click throughs before cleanup. So I figure roughly (51200x100) * 1000 = 5,120,000,000 So 1000 users clicking 100 times each on a 50k page will take up 5 GB of space.

Re: Why is my page stateless, and how do I make it stateful? (using Wicket 1.4-m3)

2008-11-17 Thread Ilja
Igor,I tried to make a quickstart but the latest wicket version available in any of the quickstart downloads is 1.2. Is there a quickstart for rc1 somewhere? I would try to make it work but work doesn't leave me a lot of time... Ilja On Sun, Nov 16, 2008 at 10:18 PM, Igor Vaynberg [EMAIL

Re: Why is my page stateless, and how do I make it stateful? (using Wicket 1.4-m3)

2008-11-17 Thread Jeremy Thomerson
I wrote a tutorial today on how to create a quickstart. See if this helps: http://www.jeremythomerson.com/blog/2008/11/17/wicket-quickstart-tutorial -- Jeremy Thomerson http://www.wickettraining.com On Mon, Nov 17, 2008 at 8:41 PM, Ilja [EMAIL PROTECTED] wrote: Igor,I tried to make a

Re: Page Map File Sizes.

2008-11-17 Thread Matej Knopp
Hi, the maximal file size of each pagemap file is configurable. -Matej On Tue, Nov 18, 2008 at 3:06 AM, Graeme Knight [EMAIL PROTECTED] wrote: I guess I can answer my own question: So let's say our page is 50k. We have 1000 users on a server. With each user having 100 click throughs before

Re: Page Map File Sizes.

2008-11-17 Thread Graeme Knight
Thanks Matej! That's awesome! I will look into it! Regards, Graeme. Matej Knopp-2 wrote: Hi, the maximal file size of each pagemap file is configurable. -Matej On Tue, Nov 18, 2008 at 3:06 AM, Graeme Knight [EMAIL PROTECTED] wrote: I guess I can answer my own question: So

Re: Page Map File Sizes.

2008-11-17 Thread Matej Knopp
Look at DiskPageStore constructor. But i think the defaults should be sane enough for you usecase. Although 1000 concurrent users would IMHO require quite a beefy server, on which 5gb pagestore should not be problematic. -Matej On Tue, Nov 18, 2008 at 4:16 AM, Graeme Knight [EMAIL PROTECTED]

Re: Page Map File Sizes.

2008-11-17 Thread Graeme Knight
I think you are right! Thanks once again! Matej Knopp-2 wrote: Look at DiskPageStore constructor. But i think the defaults should be sane enough for you usecase. Although 1000 concurrent users would IMHO require quite a beefy server, on which 5gb pagestore should not be problematic.

Re: Why is my page stateless, and how do I make it stateful? (using Wicket 1.4-m3)

2008-11-17 Thread jWeekend
Ilja, I assumed that most people are using Quickstart - I find it very handy. Take a look at http://wicket.apache.org/quickstart.html this or http://herebebeasties.com/2007-10-07/wicket-quickstart/ Al's screencast (which predates the command line generator). It takes 2 minutes (plus

Re: Why is my page stateless, and how do I make it stateful? (using Wicket 1.4-m3)

2008-11-17 Thread Ilja
I made a Quickstart, but I can't reproduce the problem... a I'll play around with it. Ilja On Mon, Nov 17, 2008 at 7:47 PM, jWeekend [EMAIL PROTECTED]wrote: Ilja, I assumed that most people are using Quickstart - I find it very handy. Take a look at

Re: Getting Panel body content

2008-11-17 Thread jensiator
Yes that is what I have done and after your comments I'll keep on doing that. The panel is a ConfirmButton. It contains a AjaxLink and a ModalWindow. When pressing the button the modal will popup and ask for a confirmation and then a the buttonpanel's abstract method onconfirmation will fire.

Re: Bugs in wicket

2008-11-17 Thread jensiator
oops. Missed that... I'll post there as well Jens TahitianGabriel wrote: OK, thank you. I was looking for it in the wicket jira (not wicketstuff) : http://issues.apache.org/jira/browse/WICKET. I guess it's the right place to post it anyway... jensiator wrote: Cant find a bug