Re: Problem with implementing borders

2008-08-15 Thread Martin Makundi
Hi! Bug report created and quickstart attached to jIra: https://issues.apache.org/jira/browse/WICKET-1789 Unexpected RuntimeException: WicketMessage: Expected close tag for [markup = file:/C:/workspaces/testspace/border-bug/target/classes/org/wicket/quickstart/HomePage.html ** Martin 2008/

Re: QuickStart 404

2008-08-15 Thread Gregg Bolinger
Got it. Thanks for the tip. On Fri, Aug 15, 2008 at 3:03 PM, Jeremy Thomerson <[EMAIL PROTECTED] > wrote: > Did you click "myproject"? That's where your project is launched. There's > a setting in your POM. > > > On Fri, Aug 15, 2008 at 2:52 PM, Gregg Bolinger <[EMAIL PROTECTED] > >wrote: > >

Mounting with inheritance?

2008-08-15 Thread arneand
I have a client that wants a store application, simple enough, list products, put them in shopping cart and checkout. But he has great amitions, he wants to be able to have multiple stores, one for electronics, one for hiking gear, one for workout and fitness and so on, but he wants everything ma

Dynamic PrependKeywordEncodingStrategy? (making a simple rule for caching with apache)

2008-08-15 Thread Nino Saturnino Martinez Vazquez Wael
Hi I've been fighting a bit with making a EncodingStrategy that can prepend a keyword (cacheable etc) to the url depending on page state, however I cant get the last bits to work heres what I got so far: ApplicationClass: @Override protected IRequestCycleProcessor newRequestCycleProces

Re: [announce] Wicket in Action e-book has been published!

2008-08-15 Thread Nino Saturnino Martinez Vazquez Wael
grats!:) Martijn Dashorst wrote: Almost 3 years of hard work, loosing friends, moving abroad, marrying lovely wives, late nights, early mornings, frustrated family, and all other bad (and good) things that cross one's life is now rewarded with the availability of the e-book edition of Wicket in

url when requestTarget is of type IListenerInterfaceRequestTarget

2008-08-15 Thread miro
if my requestTarget is of type IListenerInterfaceRequestTarget, WebRequestCodingStrategy it calls the method protected CharSequence encode(RequestCycle requestCycle, IListenerInterfaceRequestTarget requestTarget) , this method puts lot of details in url l?wicket:inter

Re: PageParameter question

2008-08-15 Thread Jeremy Thomerson
It may not be the prettiest, but you could come up with a utility method that encodes all of those parameters into one string so that you ultimately have one parameter that represents them all. Then you could even create a subclass of PageParameters that knows to look up the parameter in that stri

Re: PageParameter question

2008-08-15 Thread Mathias P.W Nilsson
I have already solved this using wicket ultimate stateful WebFramework. Customer requires that the site must be google friendly. -- View this message in context: http://www.nabble.com/PageParameter-question-tp1829p19004831.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: PageParameter question

2008-08-15 Thread Mathias P.W Nilsson
Ok, what other stratergy is there 1. A user chooses a Brand. Customer has requested that a top logo, text and background image changes for that particular brand and list all items. 2. Customer continues to filter on a Category. The search is narrowed. Background is preserved but 2 breadcrumbs pat

Suggestion: Make MarkupContainer implement java.lang.Iterable

2008-08-15 Thread ronaldtm
MarkupContainer already has the iterator() method. If it implements Iterable, one can use it directly in the foreach loop :) MarkupContainer container = ...; for (Component c : container) {} -- View this message in context: http://www.nabble.com/Suggestion%3A-Make-MarkupContainer-implement-java

Re: QuickStart 404

2008-08-15 Thread Jeremy Thomerson
Did you click "myproject"? That's where your project is launched. There's a setting in your POM. On Fri, Aug 15, 2008 at 2:52 PM, Gregg Bolinger <[EMAIL PROTECTED]>wrote: > I tried getting the Wicket quickstart up and running via maven today.I > followed the directions here: > > http://wicket.

QuickStart 404

2008-08-15 Thread Gregg Bolinger
I tried getting the Wicket quickstart up and running via maven today.I followed the directions here: http://wicket.apache.org/quickstart.html then ran mvn jetty:run. It shows things running alright. When I go to: http://locahost:8080/ I get a 404: No context on this server matched or handled

don't understand model behaviour for a form and a datatable

2008-08-15 Thread puschteblume
I have a DataTable in a Panel which creates a Subpanel by an AjaxRequest with a form in it. The form shows the double-clicked entry of a DataTable's row, where the objects parameters can be changed by pressing the save button. The form is constructed by a CompoundPropertyModel. And now comes t

Re: Is DynamicImageResource safe for multiple windows?

2008-08-15 Thread Michel Goldstein
Building a sample to show the problem has been harder than I thought. Because on all bare-bones applications that I tried to build, the URLs end up being different (the counter on the interface seems to be working). What could make my larger application not increment the ?wicket:interface=:: count?

Re: session "jumping"?

2008-08-15 Thread Johan Compagner
cant you patch wicket for that specific problem? Is maybe trunk of 1.3 better for you? On Fri, Aug 15, 2008 at 6:59 PM, ChuckDeal <[EMAIL PROTECTED]> wrote: > > OK, I upgraded to 1.3.4 and now I remember what was broken for me. Some of > my pages are having the wrong relative path prepended to

AjaxSelfUpdatingTimerBehavior works one time

2008-08-15 Thread trames
I am using the AjaxSelfUpdatingTimerBehavior on a WebMarkupContainer. A RefreshingView is within the container. When I load the page, the view works fine. On the first Ajax call, it does update the view and loads fine. On the second call I get Ajax GET stopped because of precondition check, u

Wicket 1.4m3 ModalWindow close problem in Opera

2008-08-15 Thread FakeBoy
Hi, I would like to ask you about my problem with modal modal window in Opera. When i close modal window everything works good in java (all listeners ale correctly called). But in browser window i still see some parts of modal window in background of my page. It dispappears only when i refresh pag

AjaxSelfUpdatingTimerBehavior and RepeatingView

2008-08-15 Thread Daryl Handley
Hello, Newbie wicket user, but liking it so far :) Using 1.3.4 I've been trying to get a prototype going which will display a repeating view and regularly update a list of data via Ajax. My constructor for my component (which extends Panel) looks like this. =

Re: session "jumping"?

2008-08-15 Thread ChuckDeal
OK, I upgraded to 1.3.4 and now I remember what was broken for me. Some of my pages are having the wrong relative path prepended to them. Upon further inspection, line 184 of ServletWebRequest is not matching due to an encoding issue where path = jspfs/legacyUrl/peerReview/pr_start.jsp servelt

Re: PageParameter question

2008-08-15 Thread Daniel Freitas
Are you a 100% sure that ordering the parameters is the only way to go? And if yes are you sure you want to rely on the order the browser gives you? I think you should rethink your strategy. 2008/8/15 Mathias P.W Nilsson <[EMAIL PROTECTED]> > > I don't quite know what you mean. I must still pass

Re: PageParameter question

2008-08-15 Thread Michael Sparer
either use IndexedParamUrlCodingStrategy to mount your page. e.g. params.put("0", foo); params.put("1", bar); params.put("2", cux); will result in mountpoint/foo/bar/cux (in that order) or override the strategy you're using to get them in the right order, but i still don't get why you're trying t

Re: PageParameter question

2008-08-15 Thread Mathias P.W Nilsson
I don't quite know what you mean. I must still pass PageParameters to the contructor of a page? How could this help me? -- View this message in context: http://www.nabble.com/PageParameter-question-tp1829p19001494.html Sent from the Wicket - User mailing list archive at Nabble.com. ---

Re: PageParameter question

2008-08-15 Thread Michael Sparer
as far as i remember, you can't easily subclass pageparameters. i'd suggest to implement your own urlcoding strategy that does the ordering stuff for you Mathias P.W Nilsson wrote: > > Well of course, the Wicket ValueMap extends HashMap. OK, to get this > parameters in a correct order I need t

Re: Getting hold of Container's markup

2008-08-15 Thread Ricky
While using Wicket tester for starting a panel and then visiting the components to extract and build the text out of it, we are encountering a session expiration problem; Is it because of DummyWebApplication and new session being created by WicketTester? if so is there a workaround for this? Appr

Re: session "jumping"?

2008-08-15 Thread Johan Compagner
onBeginRequest of your RequestCycle or something like that but first try to upgrade On Fri, Aug 15, 2008 at 4:50 PM, ChuckDeal <[EMAIL PROTECTED]> wrote: > > Sorry, you had asked some questions too: > > I had not verified that it was the same httpsession. it just seemed to be > the same wicket s

Re: PageParameter question

2008-08-15 Thread Mathias P.W Nilsson
Well of course, the Wicket ValueMap extends HashMap. OK, to get this parameters in a correct order I need to roll my own PageParameter? -- View this message in context: http://www.nabble.com/PageParameter-question-tp1829p19000196.html Sent from the Wicket - User mailing list archive at Nabbl

Re: PageParameter question

2008-08-15 Thread Michael Sparer
PageParameters is a hashmap and not a list, thus the hashcode is the decisive factor, not the order the elements are added ... Mathias P.W Nilsson wrote: > > Hi! > > I try to use the page parameters class for passing a lot of queries. Now > it is very important that if I pass > ?Item=13&Gende

Re: session "jumping"?

2008-08-15 Thread ChuckDeal
Sorry, you had asked some questions too: I had not verified that it was the same httpsession. it just seemed to be the same wicket session. Where would you recommend to print the session id (i'm guessing httpsession id?)? Johan Compagner wrote: > > do you really see the same httpsession insta

PageParameter question

2008-08-15 Thread Mathias P.W Nilsson
Hi! I try to use the page parameters class for passing a lot of queries. Now it is very important that if I pass ?Item=13&Gender=female&Category=13 that I get this in the correct order. Used for internal bread crumbs and background image replacement. When I use the PageParameters the parameters

Re: session "jumping"?

2008-08-15 Thread ChuckDeal
I'll make another attempt at upgrading. The last time I tried to upgrade to 1.3.4, I had problem with the relative path adjustments that Wicket was making. I had planned to hold off until our next release because we are at the end of this cycle. But this is a showstopper, so here we go... Joh

Re: session "jumping"?

2008-08-15 Thread Johan Compagner
do you really see the same httpsession instance? or just the wicket session instance? Can you print out the session ids? But first upgrade to 1.3.4: The Apache Wicket team is proud to announce the availability of the fourth maintenance release: Apache Wicket 1.3.4. A lot of bugs have been squash

Re: very confused with url wicket is generating

2008-08-15 Thread Johan Compagner
if you call setResponsePage(Class) then wicket generates a bookmarkable url (mounted or not) and that url has enough information to reconstruct the page when you do a refresh in the browser. Internally if you have a form or links on them (which are not stateless) the links target that specific in

session "jumping"?

2008-08-15 Thread ChuckDeal
Wicket 1.3.3 I am going to attempt to describe what I have experienced in the hopes that a core dev can point me in the right direction. The background: We previously had a complete JSP system in place. We decided to use the Wicket framework, but could not convert the entire system at once, so

Re: very confused with url wicket is generating

2008-08-15 Thread James Carman
This might help you: http://cwiki.apache.org/WICKET/request-processing-overview.html On Fri, Aug 15, 2008 at 9:37 AM, miro <[EMAIL PROTECTED]> wrote: > > Its not just about redirect please help me understand how things work when I > call setResponsePage() just few details on how it actually fin

Re: very confused with url wicket is generating

2008-08-15 Thread miro
Its not just about redirect please help me understand how things work when I call setResponsePage() just few details on how it actually finds the url for the class I pass in setRespopnsePage() ? jwcarman wrote: > > If you want it to redirect, call setRedirect(true) on the request cycle. > > On

Re: very confused with url wicket is generating

2008-08-15 Thread James Carman
If you want it to redirect, call setRedirect(true) on the request cycle. On Fri, Aug 15, 2008 at 9:29 AM, miro <[EMAIL PROTECTED]> wrote: > > please help me understand how this url works. > I have a form, the on submit method calls setResponsePage(foo.class) , > So when a user submits the form my

very confused with url wicket is generating

2008-08-15 Thread miro
please help me understand how this url works. I have a form, the on submit method calls setResponsePage(foo.class) , So when a user submits the form my onSubmit method gets called and i end method with setResponsePage(), after this what happens ? where the control goes, how wicket tries to look

Re: IOException: The handle is invalid - on file upload

2008-08-15 Thread Andrew Moore
Just to follow this up. When using the inputstream and the read() method on the same upload file. The number of lines read before getting in error message changes each time. Could it be a jdk bug? Andrew Moore wrote: > > I'm using wicket 1.3.4 and doing some file uploading and keep > intermitta

Spring Security (née acegi) integration str ategy?

2008-08-15 Thread David Nedrow
In general, when planning to implement Spring Security for authentication, what is generally considered the best way to do so? 1) Implement the app completely with Wicket Security (wasp/swarm/hive) and then add in Spring Security? 2) Start with Spring Security and Wicket Security from the s

IOException: The handle is invalid - on file upload

2008-08-15 Thread Andrew Moore
I'm using wicket 1.3.4 and doing some file uploading and keep intermittantly getting the following error: IOException: The handle is invalid. My form is uploads zips and jpgs and is very similar to the wicket examples. ie in my submit button I do the following: if (uploadFile != null) { // Check