Re: How to open a popup in onSubmit() of a Form

2007-12-21 Thread thomas jaeckle
Hi again. I found a solution, but it isn't very nice: First I implemented a AjaxForm like the AjaxButton is implemented (why isn't there a AjaxForm delivered with Wicket?): public abstract class AjaxForm extends Form { public AjaxForm(String id) { super(id); add(new

WebApplication's newSession()

2007-12-21 Thread sp
Hello, I'm new to Wicket and to Java in general. I'm trying to configure a Swarm+Acegi-driven security for my application. Since I need more Spring in future, MyWebApplication extends SpringWebApplication and implements WaspApplication. To make things work, I have to use WaspSession instead of

Re: AjaxEditableLabel not saving

2007-12-21 Thread Advanced Technology®
Try to change Content-Type of Page to text/html; charset=iso-8859-1. 2007/12/21, TahitianGabriel [EMAIL PROTECTED]: I've downgraded to RC1 also, but the accented characters are not handled correctly neither in RC1 or RC2... By the way I'm using Tomcat... Azarias Tomás wrote: I 've

Ajax compatible url strategies?

2007-12-21 Thread Erik van Oosten
Hello, Our client is really into Ajax /and/ bookmarkable URLs. What would be the best way to intercept and interpret anchor parameters (e.g. after the '#' in the URL)? Do I have to write my own UrlCodingStrategy? What would be the best way to change the URL when an Ajax link was clicked? Is

Re: WebApplication's newSession()

2007-12-21 Thread sp
On 21/12/2007, Martijn Dashorst [EMAIL PROTECTED] wrote: There is no need to extend the SpringWebApplication anymore: addComponentInstantiationListener(new SpringComponentInjector(this)); You can read more here: http://cwiki.apache.org/WICKET/spring.html Thanks for the tip, but I don't

Re: WebApplication's newSession()

2007-12-21 Thread Martijn Dashorst
There is no need to extend the SpringWebApplication anymore: class MyApplication extends WebApplication { public void init() { super.init(); addComponentInstantiationListener(new SpringComponentInjector(this)); } } You can read more here:

Re: PageParameter backed models?

2007-12-21 Thread Gabor Szokoli
Hi, We have been happy with the below suggestion for keeping our search criteria in the URL: onsubmit() { setresponsepage(searchpage.class, crit.topageparameterrs()); }; Now we are beginning to experience the downsides: non-parameter backed models on the page (how many rows to

Re: How to open a popup in onSubmit() of a Form

2007-12-21 Thread Thomas Kappler
Do you know about org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow? It seems to do almost what you want, or at least you can look at the source. Cheers, Thomas On Dec 21, 2007 9:56 AM, thomas jaeckle [EMAIL PROTECTED] wrote: Hi again. I found a solution, but it isn't very

Turbine and Wicket co-existence while migrating frameworks

2007-12-21 Thread Jay Lawrence
About 3 1/2 yrs ago we chose Turbine as our web application framework. It has served us well and we've grown an application using it. Last summer we evaluated our options and have decided to give wicket a try. Given the complexity of our app it's not very desirable to make a clean switch - we'd

Re: PageParameter backed models?

2007-12-21 Thread Gabor Szokoli
On Dec 21, 2007 1:09 PM, Johan Compagner [EMAIL PROTECTED] wrote: maybe you could do setResponsePage(new MyPage()) and use HyrbidUrlEncoding for a nice redirect url.. I am unable to find any reference to HyrbidUrlEncoding, could you help me out a notch more with a pointer? Also, we use the

Re: Ajax compatible url strategies?

2007-12-21 Thread Matej Knopp
Hi, sorry, it's not possible to do. The part after # (hash) never gets to the server. It's client only. Unless you e.g. use xmlhttprequest to post it to server after the page has been loaded. And the only way that change url on client without reloading the page is changing window.location.hash

Re: PageParameter backed models?

2007-12-21 Thread Gabor Szokoli
On Dec 21, 2007 2:03 PM, Johan Compagner [EMAIL PROTECTED] wrote: Look at HybridUrlCodingStrategy and mount the pages with that. Found that one, thank you! We'll look at it in detail. I guess you want them on the url so that the user can bookmark it right? Exactly. (You can look at my

Re: Problem with JavaScript when using Wicket AJAX Components

2007-12-21 Thread Matej Knopp
Sorry, it's onRendered in AbstractBehavior. -Matej On Dec 21, 2007 8:13 AM, thomas jaeckle [EMAIL PROTECTED] wrote: Matej Knopp-2 wrote: Try this (it's a bit hacky though): datatable.add(new AbstractBehavior() { public final void afterRender(final Component component) {

Re: Minor Announcement: wicket-googlecharts

2007-12-21 Thread Stefan Fußenegger
Hi Daniel, Last week I did exactly the same as you did here and was also planing to release it as wicketstuff project ... i think this could be called bad timing ;) Maybe we could collaborate on this in the future (I'll have a closer look after Christmas and maybe merge my stuff with yours)

Ottawa Wicket Meetup

2007-12-21 Thread Jay Lawrence
I just added to the Wiki pages ... thought I would drop a note to the list If you're in Ottawa and are interested in meeting up to discuss Wicket, etc., give me a shout. Jay -- View this message in context: http://www.nabble.com/Ottawa-Wicket-Meetup-tp14454416p14454416.html Sent from the

Re: How to open a popup in onSubmit() of a Form

2007-12-21 Thread thomas jaeckle
Thomas Kappler-2 wrote: Do you know about org.apache.wicket.extensions.ajax.markup.html.modal.ModalWindow? It seems to do almost what you want, or at least you can look at the source. Cheers, Thomas Thanks for the tip. But at this place I don't want a ModalWindow, a want a normal

Re: Strange wicket bug in DataView?

2007-12-21 Thread Matej Knopp
Maybe, just maybe, we could look at the accept header, before rendering the page... -Matej On Dec 21, 2007 6:42 AM, Igor Vaynberg [EMAIL PROTECTED] wrote: that is actually in our gotchas wiki page - images with src= cause a request to the page... -igor On Dec 20, 2007 6:54 PM, Tauren

Re: PageParameter backed models?

2007-12-21 Thread Johan Compagner
maybe you could do setResponsePage(new MyPage()) and use HyrbidUrlEncoding for a nice redirect url.. johan On Dec 21, 2007 12:26 PM, Gabor Szokoli [EMAIL PROTECTED] wrote: Hi, We have been happy with the below suggestion for keeping our search criteria in the URL: onsubmit() {

Job Opportunity for Developers, Java Web at Fredhopper

2007-12-21 Thread Vasil Kokareshkov
TOP SOFTWARE PRODUCT COMPANY OFFERS TALENTED JAVA WEB DEVELOPERS A UNIQUE OPPORTUNITY TO BUILD LARGE SCALE WEB APPLICATIONS Company: Fredhopper, Location: Amsterdam or Sofia, Position: Full-time Do you have a talent for seeing a problem and immediately contemplating the likely solution? Are

Re: PageParameter backed models?

2007-12-21 Thread Johan Compagner
Look at HybridUrlCodingStrategy and mount the pages with that. I guess you want them on the url so that the user can bookmark it right? johan On Dec 21, 2007 1:49 PM, Gabor Szokoli [EMAIL PROTECTED] wrote: On Dec 21, 2007 1:09 PM, Johan Compagner [EMAIL PROTECTED] wrote: maybe you could

Wicket: Deliver Your Webapp On Time

2007-12-21 Thread William Hoover
http://www.alphacsp.com/Events/JavaEdge-2007/Presentations/wicket-deliver-your-webapp-on-time.pdf - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Ajax compatible url strategies?

2007-12-21 Thread Erik van Oosten
Hi, The part after # (hash) never gets to the server...Unless you e.g. use xmlhttprequest Ah. Didn't know that. But I can live with that. So I'll have to add a handler on each page to detect # parameters and do a new (perhaps Ajax) submit. Of course the handler should only fire upon a reload or

Re: wicket-datetime-rc2 javascript error in generated event.js

2007-12-21 Thread Wilko Hische
Answering myself. The problem does not occur anymore in yesterday's snapshot. Thanks to whoever fixed it, Wilko Hische -- View this message in context: http://www.nabble.com/wicket-datetime-rc2-javascript-error-in-generated-event.js-tp14438031p14457168.html Sent from the Wicket - User mailing

Re: AjaxEditableLabel not saving

2007-12-21 Thread Johan Compagner
did somebody made a jira issue for this with a small test case then? so that we do fix this for the final On Dec 21, 2007 7:58 AM, TahitianGabriel [EMAIL PROTECTED] wrote: I've downgraded to RC1 also, but the accented characters are not handled correctly neither in RC1 or RC2... By the

Re: AjaxEditableLabel not saving

2007-12-21 Thread Artur W.
Johan Compagner wrote: did somebody made a jira issue for this with a small test case then? so that we do fix this for the final I did. https://issues.apache.org/jira/browse/WICKET-1239 Artur -- View this message in context:

Re: Strange wicket bug in DataView?

2007-12-21 Thread igor . vaynberg
do all browsers send it? -igor On 12/21/07, Matej Knopp [EMAIL PROTECTED] wrote: Maybe, just maybe, we could look at the accept header, before rendering the page... -Matej On Dec 21, 2007 6:42 AM, Igor Vaynberg [EMAIL PROTECTED] wrote: that is actually in our gotchas wiki page - images

Reusable search form - help w/ detail...

2007-12-21 Thread V. Jenks
Hello Wicketeers... I've got a series of pages that all have the same search form and use the same input class, the only thing different about them is where they redirect (since every page is different.) I need a second set of eyes...how do I make this form reusable? The form captures the

Re: suggesting alternative to IndicatingAjaxFallbackLink-class for just changing pointer/cursor

2007-12-21 Thread Kirk Israel
Unfortunately the approach below seems not to work reliably on IE7; for certain kind of changes, the OnSuccess or OnFailure never gets called and so the cursor gets stuck in Busy mode. That stinks! On Dec 18, 2007 11:29 AM, Kirk Israel [EMAIL PROTECTED] wrote: I guess I prefer the convention of

wicket.WicketRuntimeException: Unable to decrypt the text ... ???

2007-12-21 Thread fattymelt
running wicket 1.2.6 and getting the following error. This is somehow triggered (I wish I had a more specific test case) by my login form. But what is really strange is that it isn't just appearing on form submission. Once I see the error in the logs, it occurs even on a page refresh. I am

Re: suggesting alternative to IndicatingAjaxFallbackLink-class for just changing pointer/cursor

2007-12-21 Thread Matej Knopp
The onSuccess script seem to work on http://wicketstuff.org/wicket13/ajax/links example. However the onFailure doesn't, because now we redirect to internalErrorPage. Which doesn't work in IE7, which is kinda weird, will look at it later today. -Matej On Dec 21, 2007 5:14 PM, Kirk Israel [EMAIL

Re: Wicket really dumb? Converting to amp; in password fields?

2007-12-21 Thread fattymelt
-- View this message in context: http://www.nabble.com/Wicket-really-dumb--Converting---to--amp--in-password-fields--tp14460118p14460165.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe,

Wicket really dumb? Converting to amp; in password fields?

2007-12-21 Thread fattymelt
I've been debugging a (hopefully) unrelated problem when I came across this... Someone submits passwrd as a password in my login form and the back-end gets it as passwamp;amp;rd Are you kidding me? Why would that be happening? -- View this message in context:

Re: Wicket: Deliver Your Webapp On Time

2007-12-21 Thread Eelco Hillenius
Nice. You mind adding that reference to the WIKI? Eelco On Dec 21, 2007 4:20 AM, William Hoover [EMAIL PROTECTED] wrote: http://www.alphacsp.com/Events/JavaEdge-2007/Presentations/wicket-deliver-your-webapp-on-time.pdf - To

Wickettester and session?

2007-12-21 Thread Nino Saturnino Martinez Vazquez Wael
Hi There seems to be a problem with wicket tester and the session created (I use my own custom session). I create the wicket tester like this: final ApplicationContext context = new ClassPathXmlApplicationContext( applicationContext.xml); IDBDao base = (IDBDao)

Re: Wicket really dumb? Converting to amp; in password fields?

2007-12-21 Thread Sergey Podatelev
I love the way Wicket community handles such offences :). -- sp

Re: How to flush the markup stream in getMarkupResourceStream() method

2007-12-21 Thread venky221
Thanks Igor, I tired by returning null in getCacheKey() method and is working great. Even 'Matthijs Wensveen' replied to my mail with the same explanation. Thanks, Venkat igor.vaynberg wrote: public class DisplayPage extends WebPage implements IMarkupResourceStreamProvider,

Re: Minor Announcement: wicket-googlecharts

2007-12-21 Thread Daniel Spiewak
Stefan, Collaboration would be great! I imagine my design is not what it could be... :-) Sounds like merging with your stuff might cover the bases where mine is weak. Looking forward to it! Daniel Stefan Fußenegger wrote: Hi Daniel, Last week I did exactly the same as you did here

Re: Wicket really dumb? Converting to amp; in password fields?

2007-12-21 Thread Igor Vaynberg
what version of this dumb framework are you using? -igor On Dec 21, 2007 10:23 AM, fattymelt [EMAIL PROTECTED] wrote: I've been debugging a (hopefully) unrelated problem when I came across this... Someone submits passwrd as a password in my login form and the back-end gets it as

Re: Reusable search form - help w/ detail...

2007-12-21 Thread Igor Vaynberg
public abstract class SearchForm { . protected abstract void onSearch(SearchInput input); ... add(new Button(searchButton) { public void onSubmit() {

Re: Wicket really dumb? Converting to amp; in password fields?

2007-12-21 Thread Igor Vaynberg
pretty hard to misunderstand Wicket really dumb? :) -igor On Dec 21, 2007 10:49 AM, Francisco Diaz Trepat - gmail [EMAIL PROTECTED] wrote: Misunderstandings happen eventually, but Wicket RULEZ, and its community too. :-) my2cents, f(t) On Dec 21, 2007 3:40 PM, Sergey Podatelev [EMAIL

Re: Wicket really dumb? Converting to amp; in password fields?

2007-12-21 Thread fattymelt
Wow. Sorry to have angered the masses. I didn't mean it was a dumb framework overall, I meant that it seemed to be acting dumb in this particular instance. At my place of business we call code dumb all the time when it doesn't do what is typically expected. So, I certainly wasn't trying to insult

[OT] Merry Christmas to the wicket community

2007-12-21 Thread Per Newgro
I had alot fun with you this year. Wicket seems to become a real important framework (Maybe it is already :-). I'm new to web-development and i tried a bit with jsf, jsp, and and and. But since i found wicket, it's realy fun to create webapplications. All i want to say is - thanks to everyone

Re: Wicket really dumb? Converting to amp; in password fields?

2007-12-21 Thread Francisco Diaz Trepat - gmail
Misunderstandings happen eventually, but Wicket RULEZ, and its community too. :-) my2cents, f(t) On Dec 21, 2007 3:40 PM, Sergey Podatelev [EMAIL PROTECTED] wrote: I love the way Wicket community handles such offences :). -- sp

Re: Wicket really dumb? Converting to amp; in password fields?

2007-12-21 Thread fattymelt
I'm using the wicket-auth-roles package. I see the code that returns the password is password.getModelObjectAsString() perhaps that is mucking with it? fattymelt wrote: I've been debugging a (hopefully) unrelated problem when I came across this... Someone submits passwrd as a password

Re: Wicket really dumb? Converting to amp; in password fields?

2007-12-21 Thread Per Newgro
Hmm, strange tone to get an answer for. Cheers Per - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Wicket really dumb? Converting to amp; in password fields?

2007-12-21 Thread Francisco Diaz Trepat - gmail
right On Dec 21, 2007 3:36 PM, Per Newgro [EMAIL PROTECTED] wrote: Hmm, strange tone to get an answer for. Cheers Per - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Wicket really dumb? Converting to amp; in password fields?

2007-12-21 Thread Francisco Diaz Trepat - gmail
Although I think you didn't angered the masses. We don't like to miss the oportunity to support Wicket and its community of users and developers. :-) Any oportunity ;-) f(t) On Dec 21, 2007 3:54 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: pretty hard to misunderstand Wicket really dumb? :)

IE7, loose.dtd, and the default Wicket error pages

2007-12-21 Thread Kirk Israel
So IE7 seems to choke on the default Wicket error pages (such as time out) because it doesn't like the --s inside of http://www.w3.org/TR/html4/loose.dtd Our work around was to override the pages on a case per case basis:

RE: Wicket: Deliver Your Webapp On Time

2007-12-21 Thread William Hoover
Done: http://cwiki.apache.org/confluence/x/wAUB (JavaEdge) -Original Message- From: Eelco Hillenius [mailto:[EMAIL PROTECTED] Sent: Friday, December 21, 2007 1:07 PM To: users@wicket.apache.org Subject: Re: Wicket: Deliver Your Webapp On Time Nice. You mind adding that reference to the

How can i present a busy component

2007-12-21 Thread Per Newgro
Hi *, i have a page with some panels. On one panel there is a button. If this is clicked a long running task is executed. The problem is that the cursor is still a pointer and the browser seems to do nothing. This happens until the long running task is ended. Then the panel components will be

Re: How can i present a busy component

2007-12-21 Thread Gerolf Seitz
hi, depending on what you consider useful, maybe this[0] helps. notice: currently doesn't work for IE. look at the _syncMask function in [1] to see how to make it work. hth, gerolf [0] http://papernapkin.org/pastebin/view/16170/ [1]

Re: How to call the clear() method on MarkupCache class from my webpage

2007-12-21 Thread Eelco Hillenius
Sounds like you should look at the CustomResourceLoadingApplication example, particularly at PageWithCustomLoading. Eelco On Dec 19, 2007 3:15 PM, venky221 [EMAIL PROTECTED] wrote: Hi, I am trying to clear the markupstream as my markup content will keep changing but the container remains

Re: [OT] Merry Christmas to the wicket community

2007-12-21 Thread Eelco Hillenius
On Dec 21, 2007 11:05 AM, Per Newgro [EMAIL PROTECTED] wrote: I had alot fun with you this year. Wicket seems to become a real important framework (Maybe it is already :-). I'm new to web-development and i tried a bit with jsf, jsp, and and and. But since i found wicket, it's realy fun to

Re: [OT] Merry Christmas to the wicket community

2007-12-21 Thread Johan Compagner
Yes have all a few good days last days this year and let 2008 be another super wicket year. I wont be around very much from now on until the 20 of jan. So matej will fix all the bugs for you guys in that time. I will be on a vacation without a laptop... (south africa) Johan On 12/21/07, Per

Re: [OT] Merry Christmas to the wicket community

2007-12-21 Thread Jonathan Locke
You're welcome. Newgro wrote: I had alot fun with you this year. Wicket seems to become a real important framework (Maybe it is already :-). I'm new to web-development and i tried a bit with jsf, jsp, and and and. But since i found wicket, it's realy fun to create webapplications.

Re: AjaxEditableLabel not saving

2007-12-21 Thread TahitianGabriel
I'm already using the iso-8859-1 in a meta tag in my html file. I have also try in the setHeader function and it's not working. Do you have a correct behavior with accented character? Azarias Tomás wrote: Try to change Content-Type of Page to text/html; charset=iso-8859-1. -- View