Re: Ajax and Form#setMultiPart(true)

2009-08-24 Thread Major Péter
I'm not quiet sure, but I think the problem is in a js file. When Firefox caches them, I always get the same behavior for both versions, but when I'm pressing ctrl + F5, then 1.4.0 works, 1.4.1 isn't. 2009-08-23 21:20 keltezéssel, Johan Compagner írta: Pleae try to find out why it broke in

Re: Truncating DataTable content

2009-08-24 Thread Iain Reddick
Create some kind of generic StringTruncatingModel that does the ... truncation on getObject(). In DataTable.populateItem(), wrap the row model in a StringTruncatingModel, before passing to the Label being used to show the string? Linda van der Pal wrote: I thought it would be a cool idea to

Re: Ajax support for multipart forms nested forms in 1.4.1

2009-08-24 Thread Marcin Palka
A JIRA report has been created: https://issues.apache.org/jira/browse/WICKET-2433 cheers, Marcin -- View this message in context: http://www.nabble.com/Ajax-support-for-multipart-forms---nested-forms-in-1.4.1-tp25098452p25112870.html Sent from the Wicket - User mailing list archive at

htmlvalidator / responsefilter not executed through wickettester?

2009-08-24 Thread Antoine van Wel
Hi, HtmlValidator [1] turns out to be a great help for those who care about valid (x)html. Now I'm trying to get it to work in my unit tests, it doesn't seem to be picked up; in fact I wonder if any responsefilter is being executed at all when running from wickettester. What do you think? The

Re: htmlvalidator / responsefilter not executed through wickettester?

2009-08-24 Thread Martijn Dashorst
HtmlValidator was not designed for use in WicketTester, see my response to this question [1]. That said, I'd like to extend HtmlValidator to be useful with wickettester and will gladly accept patches :-) Martijn [1] http://osdir.com/ml/users-wicket.apache.org/2009-08/msg00260.html On Mon, Aug

Re: htmlvalidator / responsefilter not executed through wickettester?

2009-08-24 Thread Antoine van Wel
Thanks for the quick response. Somehow I get the feeling a patch will take quite some effort and time is kind of scarce now... :-) Antoine On Mon, Aug 24, 2009 at 12:00 PM, Martijn Dashorst martijn.dasho...@gmail.com wrote: HtmlValidator was not designed for use in WicketTester, see my

Modal window closed button call back does not work?

2009-08-24 Thread Jade
Hi, I have a modal window in a panel. And, the modal window just displays a label. The modal window x was not closing the modal window, hence I wrote a CloseButtonCallback, which uses the close(..) method of the modal window. Even then, the modal window does not close. The behavior is not

Re: htmlvalidator / responsefilter not executed through wickettester?

2009-08-24 Thread Martijn Dashorst
A quick way to do this is to let wickettester write the output to a file, and use the htmlvalidator to parse that for validity. Martijn On Mon, Aug 24, 2009 at 12:11 PM, Antoine van Welantoine.van@gmail.com wrote: Thanks for the quick response. Somehow I get the feeling a patch will take

Blank page problem

2009-08-24 Thread Arie Fishler
Hi, I have a page rendering all sorts of stuff. I do it on development so I see the Wicket Ajax Debug label. From time to time, not on a constant basis I get a blank page instead of getting the content I expect. A side effect of this is that every time that happens the Wicket Ajax Debug label

How to goto a specific tab in a iframe URL from the parent page

2009-08-24 Thread Keval Patel
Hi, Basically, I have a page with an iframe inside it. The iframe inside it consists of various tab panels. I need a way to be able to include something in the query string of the parent url so i can goto a specific tab inside the iframe, is this possible? Thanks

Re: Regarding datepicker popup when inputfield pressed

2009-08-24 Thread copenhag copenhagen
Hi Thanks for the tip... I looked at wiquery and it looks good. And i may use some nice features from WiQuery later on. The problem is that my datepicker is integrated with the default Wicket datepicker, so it would be to heavy a job to use the WiQuery datepicker. But appearently there is no

Re: at least one-validation?

2009-08-24 Thread James Carman
form-level validator? 2009/8/24 Stefan Malmesjö s.m.mo...@gmail.com: Hi! I have a form that has a number of textfield inputs that are created dynamically from information from a database (depending on the object type selected in a dropdown, different input fields are possible). What I want

Re: How to goto a specific tab in a iframe URL from the parent page

2009-08-24 Thread Arie Fishler
basically I have a similar situation. I pass in the qs a parameter indicating which tab I need to be on focus and then use code to simulate tab selection for this specific tab. We use Jquery tabs integrated into wicket. I also do it for specific location on the page - use anchors in the page and

Re: at least one-validation?

2009-08-24 Thread Stefan Malmesjö
Thanks. Just didn't know what to search for. Looking into it now. Thanks for the nudge :) /Stefan On 2009-08-24 13:50, James Carman wrote: form-level validator? 2009/8/24 Stefan Malmesjös.m.mo...@gmail.com: Hi! I have a form that has a number of textfield inputs that are created

Re: at least one-validation?

2009-08-24 Thread James Carman
Although, what you're talking about might be a cool idea for an ajax component. Basically, you'd have a component that edits a list/set of values using text fields where you can add more via ajax. Someone has to have done this before, I'm sure. Anyone? Did you poke around wicketstuff first?

Re: at least one-validation?

2009-08-24 Thread Stefan Malmesjö
Yeah, that'd be cool, but I haven't checked wicketstuff. I'll see what I find. /Stefan On 2009-08-24 14:04, James Carman wrote: Although, what you're talking about might be a cool idea for an ajax component. Basically, you'd have a component that edits a list/set of values using text fields

Re: Truncating DataTable content

2009-08-24 Thread Linda van der Pal
Thanks for the ideas, but the truncating itself is not the main problem. (I could easily truncate the data in the SortableDataProvider.) The main problem that requires met to dive deeply into the code is my requirement to also show the full data in a tooltip. Regards, Linda Iain Reddick

Re: Blank page problem

2009-08-24 Thread Linda van der Pal
My guess would be that the page doesn't render at all, therefore also not rendering the Wicket Ajax Debug label and link. Regards, Linda Arie Fishler wrote: Hi, I have a page rendering all sorts of stuff. I do it on development so I see the Wicket Ajax Debug label. From time to time, not on

Re: Modal window closed button call back does not work?

2009-08-24 Thread Mathias Nilsson
Please post the code so that we can help! -- View this message in context: http://www.nabble.com/Modal-window-closed-button-call-back-does-not-work--tp25113797p25115332.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: htmlvalidator / responsefilter not executed through wickettester?

2009-08-24 Thread Martin Grigorov
El lun, 24-08-2009 a las 12:00 +0200, Martijn Dashorst escribió: HtmlValidator was not designed for use in WicketTester, see my response to this question [1]. That said, I'd like to extend HtmlValidator to be useful with wickettester and will gladly accept patches :-) This doesn't answer why

Re: Truncating DataTable content

2009-08-24 Thread Iain Reddick
Like this (for a basic html tooltip): cellItem.add( new SimpleAttributeModifier(title, maximalStringModel) ); Or use one of the js-library wrappers from Wicket Stuff for something slicker? Linda van der Pal wrote: Thanks for the ideas, but the truncating itself is not the main problem. (I

RequestCycle bug at urlFor?

2009-08-24 Thread Vytautas Čivilis
Hi. I'm using RequestCycle urlFor method for building my link in this fashion: getRequestCycle().urlFor(this, ILinkListener.INTERFACE, parameters). The idea is to have link with default behavior (implement onclick), but with the explicitly set parameters too. The parameters are being asked by

Re: at least one-validation?

2009-08-24 Thread vineet semwal
It's simple to write a custom form validator for that purpose 1)create a list of form components, 2)add those form components to list which need validation, 3)in your custom form validator ,do validation of those form components. -- regards, Vineet Semwal 2009/8/24 Stefan Malmesjö

Cannot figure out how to download/stream a file from an AjaxFallbackLink onClick method

2009-08-24 Thread Doyle, Mark
I have a Wicket application which is required to retrieve files from the local networks it's connected to. The files can be located on a Windows or Linux file system. My strategy so far is to use JCIFS to grab the file and write it to a temporary local (to the webserver) file which is then

Redirect to Login results in Normal PageExired

2009-08-24 Thread Francisco Diaz Trepat - gmail
Hi All, I have a normal PageExpired redirection, after an Unauthorized user is redirected to the Login page, and then gets distracted looking at butterflies or something. Which is perfectly normal. Though I was asked to look for a way to handle this. If an unauthorized user that began a new

disable back button

2009-08-24 Thread tubin gen
I want to disable back and forward button , Is there a way to do this using wicket ? I donot want user to submit the same page twice so if user clicks on back button i would like to take him to home page, can I do this ? and can I tell wicket to add no cahce headers to all my pages using

Re: disable back button

2009-08-24 Thread Martin Makundi
You can disable double sumit just by using a full-screen busy indicator: http://cwiki.apache.org/WICKET/generic-busy-indicator-for-both-ajax-and-non-ajax-submits.html ** Martin 2009/8/24 tubin gen fachh...@gmail.com: I want to disable back and forward button , Is there a way to do this using

Re: disable back button

2009-08-24 Thread fachhoch
what I mean by double submit is user submits a form goes to next page then uses the browsers back button to come back to the previous page and resubmits the same form i can avoid this If I can disbale back button MartinM wrote: You can disable double sumit just by using a full-screen busy

Re: disable back button

2009-08-24 Thread Martin Makundi
Ok.. did you have a look at these: http://www.nabble.com/Disabling-%27back%27-%27next%27-web-browser-button-usage-in-application-td20222949.html http://www.google.com/search?q=wicket+pagemap+remove+back+button ** Martin 2009/8/24 fachhoch fachh...@gmail.com: what I mean by double submit is

Re: disable back button

2009-08-24 Thread Edward Zarecor
There was a prior discussion about this: http://www.nabble.com/Double-submit-issue---disabling-HTML-submit-button-causes-form-posting-to-be-cancelled-td22698742.html Ed. On Mon, Aug 24, 2009 at 2:52 PM, fachhoch fachh...@gmail.com wrote: what I mean by double submit is user submits a form

Re: Improving maven/wicket deployment process

2009-08-24 Thread Tauren Mills
Igor, Thanks for the suggestion. Definitely looks like a good way to go. Tauren On Sun, Aug 23, 2009 at 5:02 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote: we used to do something like this before we switched to jndi valueclasspath*:/application.properties/value -- prod values

Re: RequestCycle bug at urlFor?

2009-08-24 Thread francisco treacy
Hi Vytautas, Honestly I don't know if it's the same problem but I did went through lots of debugging due to urlFor a couple of months ago. I posted an issue but actually haven't followed its progress (it's still open).

Re: Quick model/user/session question

2009-08-24 Thread Martijn Dashorst
Don't put the models in your session! Session access is not guaranteed to be confined to a single thread - multi window support, resources and such all attach the session to their own threads, making the session non-thread safe. Best option is to put the ID of your entities in your session

Re: Quick model/user/session question

2009-08-24 Thread Dane Laverty
Do you mean that the database should be queried for every persistent session object on every request? On Mon, Aug 24, 2009 at 2:12 PM, Martijn Dashorst martijn.dasho...@gmail.com wrote: Don't put the models in your session! Session access is not guaranteed to be confined to a single thread -

Re: Sending data to a wicket form through a POST from an external site

2009-08-24 Thread Jason Shim
We're trying to figure out this problem (because paypal integration). Anybody knows the key? Please let me know the key. On Mon, Aug 17, 2009 at 1:13 PM, NYSophia nab...@novelution.com wrote: We came across the same question. Did you end-up finding a solution? Thanks Rahul Pilani-3

Re: Quick model/user/session question

2009-08-24 Thread Dane Laverty
I took your advice and added a UserInfo variable to the RequestCycle [1]. Now my pages look for the UserInfo in the RequestCycle. If it's null, the RequestCycle loads it from the ID in Session [2]. However, I still get the LazyInitializationException when a page wants to access a collection from

Re: Sending data to a wicket form through a POST from an external site

2009-08-24 Thread Igor Vaynberg
give paypal a url to a bookmarkable page, you can retrieve the post params from PageParameters. -igor On Wed, Jan 7, 2009 at 11:19 AM, Rahul Pilanirpil...@navigenics.com wrote: I need to get data from an external site via a POST. Is there a way that wicket will trigger a form submit on the

Re: Sending data to a wicket form through a POST from an external site

2009-08-24 Thread Anton Veretennikov
They mean trigger a form submit somehow as if it was a wicket form as I understood. -- Tony On Tue, Aug 25, 2009 at 12:07 PM, Igor Vaynbergigor.vaynb...@gmail.com wrote: give paypal a url to a bookmarkable page, you can retrieve the post params from PageParameters. -igor On Wed, Jan 7,