Re: [Wicket-user] Handle String array in PageParameters

2006-08-20 Thread Juergen Donnerstag
I tried to apply the patch provided yesterday but the code obviously has changed. May be you can create a new patch on the latest version? Juergen On 8/20/06, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote: Hi, While we are [1]talking about the hacks required to make Wicket work, there's

Re: [Wicket-user] Handle String array in PageParameters

2006-08-20 Thread Jean-Baptiste Quenot
* Juergen Donnerstag: I tried to apply the patch provided yesterday but the code obviously has changed. May be you can create a new patch on the latest version? OK, I just updated the patch. But the previous one applied successfully for me: $ cd wicket/branches/WICKET_1_2/wicket $ patch

Re: [Wicket-user] Handle String array in PageParameters

2006-08-20 Thread Juergen Donnerstag
Ah, it is a 1.2 patch. I applied it on my laptop. Because it changes bookmarkable URL we'll definitely On 8/20/06, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote: * Juergen Donnerstag: I tried to apply the patch provided yesterday but the code obviously has changed. May be you can create a

Re: [Wicket-user] Handle String array in PageParameters

2006-08-20 Thread Jean-Baptiste Quenot
* Juergen Donnerstag: Ah, it is a 1.2 patch. I applied it on my laptop. Because it changes bookmarkable URL we'll definitely Yes it is in branch 1.2. But tell me, we'll definitely... what? -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/

Re: [Wicket-user] Handle String array in PageParameters

2006-08-20 Thread Johan Compagner
abrupt abort of the sentence?What does that patch break? Our stable bookmarkable urls?johanOn 8/20/06, Juergen Donnerstag [EMAIL PROTECTED] wrote:Ah, it is a 1.2 patch. I applied it on my laptop. Because it changes bookmarkable URL we'll definitelyOn 8/20/06, Jean-Baptiste Quenot [EMAIL

Re: [Wicket-user] Handle String array in PageParameters

2006-08-20 Thread Jean-Baptiste Quenot
* Johan Compagner: abrupt abort of the sentence? What does that patch break? Our stable bookmarkable urls? See attached unit tests output. I kept only the relevant parts. Basically « : » is converted to « %3A », and catching up would require a search and replace in the unit tests. But

[Wicket-user] how to display login page after logout?

2006-08-20 Thread Nili Adoram
Hi all, I want to display Login page right after logout. However, instead of displaying login page an Expired page is displayed. Please advise, Here is the logout page: public class LogoutPage extends SignOutPage { public LogoutPage() { super(); } public

Re: [Wicket-user] how to display login page after logout?

2006-08-20 Thread Martijn Dashorst
Call Session.invalidate() instead: Taken from the javadoc: Invalidates this session at the end of the current request. http://wicket.sourceforge.net/apidocs/wicket/protocol/http/WebSession.html#invalidate() Martijn On 8/20/06, Nili Adoram [EMAIL PROTECTED] wrote: Hi all, I want to

Re: [Wicket-user] Handle String array in PageParameters

2006-08-20 Thread Juergen Donnerstag
Because URL querystrings will change, and because bookmarkable URLs are changed also, that means that some web browser bookmarks won't work anymore. Juergen On 8/20/06, Jean-Baptiste Quenot [EMAIL PROTECTED] wrote: * Johan Compagner: abrupt abort of the sentence? What does that patch

Re: [Wicket-user] Handle String array in PageParameters

2006-08-20 Thread Jean-Baptiste Quenot
* Juergen Donnerstag: Because URL querystrings will change, and because bookmarkable URLs are changed also, that means that some web browser bookmarks won't work anymore. That is not likely to be true. The bookmark will be eg:

[Wicket-user] creating a javascript prompt component

2006-08-20 Thread Hugo Visser
Hi,I'm toying around with wicket some more and I'm working on a kind of editor application for my led-sign which I have at home. Basically it allows you to select a font, color, effect and set some text. For the set text part of it I'd like it to be as simple as clicking on the text, popping up a

Re: [Wicket-user] how to display login page after logout?

2006-08-20 Thread Johan Compagner
as martijn says do use the normal invalidate() method and dont call invalidateNow directly.But that code also can go wrong in more places.You should do a redirect.. And response to a bookmarkable page (you already do that by setting the class instead of the instance of the login page) because

[Wicket-user] dynamic number of columns

2006-08-20 Thread Scott Swank
I'm working on a table that is to contain a combination of static and dynamic columns -- though the dynamic ones aren't too varied. It goes like this: ProductType Category SubCategory Day1 Day2 ... DayN I'm hesitant to use a DataTable or DataGridView because then our html folk can't see much

Re: [Wicket-user] Dynamic Markup

2006-08-20 Thread Jean-Baptiste Quenot
* Tim Fletcher: I'm having a problem however with dynamically creating markups. While most of the components in my app have associated markup, I'm also creating an other component that should construct itself (markup and model) from a database. I use VelocityPanel for that. See

Re: [Wicket-user] Dynamic Markup

2006-08-20 Thread Tim Fletcher
ok found it on the mailing list http://sourceforge.net/mailarchive/message.php?msg_id=36314114 sorry for the noise Tim On 20/08/06, Tim Fletcher [EMAIL PROTECTED] wrote: Hi, I've been playing around with wicket for only a few days, and have done (and particularly, learnt) so much, I'm

Re: [Wicket-user] Close input stream in AbstractResourceStream.asString()

2006-08-20 Thread Jean-Baptiste Quenot
I have to tell more about this one. Fixing this would allow to have dynamic markup generated by Velocity. Dynamic markup is something many users would like to achieve easily, without the hassle of overriding newMarkupStream() and building XML using Java code and string

Re: [Wicket-user] Dynamic Markup

2006-08-20 Thread Gwyn Evans
Note, Nabble (http://www.nabble.com/Wicket---User-f13976.html) is an alternative (and IMO better) way to view the same archive... /Gwyn On 20/08/06, Tim Fletcher [EMAIL PROTECTED] wrote: ok found it on the mailing list http://sourceforge.net/mailarchive/message.php?msg_id=36314114 sorry for

[Wicket-user] Generate HTML file from page

2006-08-20 Thread V. Jenks
I'm adding some features to my blog which I wrote in Wicket a while back. One thing I'd like to be able to do is generate HTML files of blog entries which would be just a snapshot of the detail page of the entry. Is there a slick way to do this? How can I generate a static HTML file of a

Re: [Wicket-user] Generate HTML file from page

2006-08-20 Thread Jean-Baptiste Quenot
* V. Jenks: Is there a slick way to do this? How can I generate a static HTML file of a Wicket WebPage? I suggest taking a look at WicketTester.dumpPage() -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/

Re: [Wicket-user] ListView and AjaxSelfUpdatingTimerBehavior

2006-08-20 Thread Roman Mandeleil
Check some problem in the attached file (some notes in the source) http://www.nabble.com/user-files/235691/ListPage.java ListPage.java igor.vaynberg wrote: yes, it shouldnt be happening thats why i wanted to see your code/markup. have you tried in ffox and ie? sometimes when ajax

Re: [Wicket-user] Handle String array in PageParameters

2006-08-20 Thread Juergen Donnerstag
Though I agree in theory, have you tested it? On which browsers? And the new would be /WicketTester/WicketTester?wicket%3AbookmarkablePage=%3Awicket.markup.html.basic.SimplePage_3 Juergen On 8/20/06, Jean-Baptiste Quenot [EMAIL

Re: [Wicket-user] Handle String array in PageParameters

2006-08-20 Thread Juergen Donnerstag
I asked myself that question as well but URLEncoder/URLDecoder are converting these. Juergen On 8/20/06, Johan Compagner [EMAIL PROTECTED] wrote: do we have to do such ugly urls? i don't like that. is : really a char that has to be encoded? johan On 8/20/06, Juergen Donnerstag [EMAIL

Re: [Wicket-user] Handle String array in PageParameters

2006-08-20 Thread Johan Compagner
do we have to do such ugly urls?i don't like that. is : really a char that has to be encoded?johanOn 8/20/06, Juergen Donnerstag [EMAIL PROTECTED] wrote:Though I agree in theory, have you tested it? On which browsers? And the new would

Re: [Wicket-user] dynamic number of columns

2006-08-20 Thread Igor Vaynberg
in this case you can do something like this - which is a bit of a hack but ok because you have a limited number of rows if you have column x then add the appropriate component - if not add a webmarkup container and set its visibility to false. -Igor On 8/20/06, Scott Swank [EMAIL PROTECTED]

Re: [Wicket-user] ListView and AjaxSelfUpdatingTimerBehavior

2006-08-20 Thread Igor Vaynberg
you cannot repaint listview directly via ajax - this is a common mistake. try putting it into a webmarkup container and repainting that container instead.-IgorOn 8/20/06, Roman Mandeleil [EMAIL PROTECTED] wrote: Check some problem in the attached file (some notes in the

Re: [Wicket-user] dynamic number of columns

2006-08-20 Thread Scott Swank
Thanks. Perhaps I'll create a webmarkup container that is as minimal as possible with visibility false by default -- and then just name it NullComponent. On 8/20/06, Igor Vaynberg [EMAIL PROTECTED] wrote: in this case you can do something like this - which is a bit of a hack but ok because you

Re: [Wicket-user] ListView and AjaxSelfUpdatingTimerBehavior

2006-08-20 Thread Scott Swank
I can vouch for it's common-ness. On 8/20/06, Igor Vaynberg [EMAIL PROTECTED] wrote: you cannot repaint listview directly via ajax - this is a common mistake. try putting it into a webmarkup container and repainting that container instead. -Igor On 8/20/06, Roman Mandeleil [EMAIL

Re: [Wicket-user] dynamic number of columns

2006-08-20 Thread Igor Vaynberg
yeah, the more elegant way is to have a repeater within a repeater imho, but then you are back to how datatable works :)-IgorOn 8/20/06, Scott Swank [EMAIL PROTECTED] wrote:Thanks.Perhaps I'll create a webmarkup container that is as minimal as possible with visibility false by default -- and then

Re: [Wicket-user] dynamic number of columns

2006-08-20 Thread Scott Swank
Thank you. Is there any sort of tag that could fill the roll of a tr tag to define the scope of the repeater?tr td wicket:id=ProductTypeProduct Type A/td td wicket:id=CategoryCategory 100/td ... wicket:magicRepeaterTag id=days td wicket:id=DayN[8/1]/td /wicket:magicRepeaterTag /trOn 8/20/06, Igor

Re: [Wicket-user] dynamic number of columns

2006-08-20 Thread Igor Vaynberg
try RepeatingView in extensions.-IgorOn 8/20/06, Scott Swank [EMAIL PROTECTED] wrote: Thank you. Is there any sort of tag that could fill the roll of a tr tag to define the scope of the repeater? tr td wicket:id=ProductTypeProduct Type A/td td wicket:id=CategoryCategory 100/td ...

Re: [Wicket-user] how to display login page after logout?

2006-08-20 Thread Nili Adoram
as martijn says do use the normal invalidate() method and dont call invalidateNow directly. I tried both options, no success. Then that will not work becaus that form has a call back to the page that is created in a wicket session that was invalidated. Exactly, when the login form is submitted,

Re: [Wicket-user] how to display login page after logout?

2006-08-20 Thread Igor Vaynberg
so onclick() { session.invalidate(); response.redirect('bookmarkable url for login page');}doesnt work?-IgorOn 8/20/06, Nili Adoram [EMAIL PROTECTED] wrote: as martijn says do use the normal invalidate() method and dont callinvalidateNow directly.I tried both options, no success.Then that will

Re: [Wicket-user] how to display login page after logout?

2006-08-20 Thread Nili Adoram
It works!! Thanks!! Igor Vaynberg wrote: so onclick() { session.invalidate(); response.redirect('bookmarkable url for login page'); } doesnt work? -Igor On 8/20/06, * Nili Adoram* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: as martijn says do use the normal