Re: [Wicket-user] How to pass the parameter without submit

2007-01-18 Thread Nino Wael
just pass your model when creating the popup window? And use a image button? Fra: [EMAIL PROTECTED] på vegne af (?) ?? ?? Sendt: to 18-01-2007 05:19 Til: wicket-user@lists.sourceforge.net Emne: [Wicket-user] How to pass the parameter without submit

Re: [Wicket-user] creating a mountBookmarkablePage with PageMap

2007-01-18 Thread Johan Compagner
if you change that. Then do that on more places: BookmarkablePageLink (set the page map also needs the pagemap itself) And that is also stupid. The pagemap shouldn't be created when creating the link, only when clicking on it. and the urlFor methods? johan On 1/18/07, Igor Vaynberg [EMAIL

Re: [Wicket-user] ApacheCon Europe 2007

2007-01-18 Thread Johannes Fahrenkrug
Since the registry page is blank I can't find out how much the prices are. Can anyone enlighten me? - Johannes Martijn Dashorst wrote: As you all probably know, the Apache conference Apache Con Europe 2007 is getting closer (read more about it here: http://apachecon.com) We can try to

Re: [Wicket-user] Impossible to customize multi-part POST-s from Form-s in Wicket due to final methods

2007-01-18 Thread beboris
I tried overriding newWebRequest() [and defining our custom MultipartWebRequest] on the application level and it seems to work for us. Also, I extracted the base StreamUploadField class (which doesn't rely on File-s being the result of the upload) from FileUploadField and used that extracted

Re: [Wicket-user] DataView modelChanged

2007-01-18 Thread Tim Squires
Thanks Igor, the DataProvider /was/ caching the results. Do you know if there's a nice way of retrieving the iterator and size without retrieving the results twice? i.e. I currently have public Iterator iterator(int first, int count) { return

Re: [Wicket-user] DataView modelChanged

2007-01-18 Thread Martijn Dashorst
Cache it in your dataprovider, and have your dataprovider implement IDetachable where in detach() you reset the cached query result. Martijn On 1/18/07, Tim Squires [EMAIL PROTECTED] wrote: Thanks Igor, the DataProvider /was/ caching the results. Do you know if there's a nice way of

Re: [Wicket-user] DataView modelChanged

2007-01-18 Thread Martijn Dashorst
Also, why do you retrieve all tasks? Isn't it more cost efficient to apply the first/count to the query itself? Martijn On 1/18/07, Martijn Dashorst [EMAIL PROTECTED] wrote: Cache it in your dataprovider, and have your dataprovider implement IDetachable where in detach() you reset the cached

Re: [Wicket-user] DataView modelChanged

2007-01-18 Thread Tim Squires
Ooooh detach() - I like that, not used it before but it sounds perfect, thanks Martijn. The query is part of the Jboss Rules package and while it would be nice to add a custom query to retrieve first/count results, my current job is to just replace the skin with a Wicket based web site. It's now

[Wicket-user] Need example for a custom component that can take nested / child components

2007-01-18 Thread Peter Thomas
Hi, I was able to find an example on how to create a custom component (so you don't need wicket:panel markup) on the wicket site here: http://wicketframework.org/ExampleStockQuote.html But this is a simple example where it extends WebComponent, as there are no nested components. I need to

Re: [Wicket-user] ContainerFeedbackMessageFilter

2007-01-18 Thread jan_bar
https://issues.apache.org/jira/browse/WICKET-217. Jan Igor Vaynberg [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] makes sense to me, go ahead -igor On 1/17/07, jan_bar [EMAIL PROTECTED] wrote: Hi, ContainerFeedbackMessageFilter filters out messages for the container (for

Re: [Wicket-user] Need example for a custom component that can take nested / child components

2007-01-18 Thread Martijn Dashorst
When you are combining multiple components, use a Panel instead. Look for a very complete example in the SignInPanel, I think it is in wicket-examples. You can also find it in wicket-auth-roles iirc. Martijn On 1/18/07, Peter Thomas [EMAIL PROTECTED] wrote: Hi, I was able to find an example

Re: [Wicket-user] Custom web form in Wicket

2007-01-18 Thread Filippo Diotalevi
On 1/16/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Ah, ok. In that case, you should move the project from trunk to the 1.3 branch in the wicket-stuff project. Trunk is reserved for 2.0 projects. I regularly update those projects (like last weekend) when there are API breaks. Hi, I moved the

Re: [Wicket-user] Custom web form in Wicket

2007-01-18 Thread Paolo Di Tommaso
Filippo, I've also commited a ViewBeanPanel. It's a very simple gadget but useful to display a bean in a fast way. Paolo On 1/18/07, Filippo Diotalevi [EMAIL PROTECTED] wrote: On 1/16/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Ah, ok. In that case, you should move the project from trunk to

[Wicket-user] Problem adding css with ajax in Firefox

2007-01-18 Thread Alberto Bueno
Hello, I'm trying to load css files with ajax, but the problem is that the rendering of the components are executed before the loading of the css files. This problem means that if I have to use styles in the component updated, these styles are not executed, because when the component is

Re: [Wicket-user] Problem adding css with ajax in Firefox

2007-01-18 Thread Matej Knopp
This doesn't really make sense. You can't create panel in the onClick handler without placing it anywhere in page. You can either create the panel in advance (and hide it) or create another component and replace it by the new panel panel. -Matej Alberto Bueno wrote: Hello, I'm trying to

Re: [Wicket-user] Problem adding css with ajax in Firefox

2007-01-18 Thread Nino Wael
or have a listview. And switch contents of the collection, to make the correct panel... -Nino Fra: [EMAIL PROTECTED] på vegne af Matej Knopp Sendt: to 18-01-2007 15:43 Til: wicket-user@lists.sourceforge.net Emne: Re: [Wicket-user] Problem adding css with

Re: [Wicket-user] Problem adding css with ajax in Firefox

2007-01-18 Thread Alberto Bueno
The most important is not the example, the important is the concept. The file is loaded after the rendering of the component. Another example: TogglePanePage.class public class TogglePanePage extends WebPage { private static final long serialVersionUID = 1L; private MyPanel panel =

Re: [Wicket-user] DataView modelChanged

2007-01-18 Thread Igor Vaynberg
im not really sure what/where/why would be asked for twice? dataview caches the size() for the duration of the request, and iterator() is only called once per request... -igor On 1/18/07, Tim Squires [EMAIL PROTECTED] wrote: Thanks Igor, the DataProvider /was/ caching the results. Do you

[Wicket-user] Issue of ModalView in firefox

2007-01-18 Thread Carfield Yim
The top bar with close button are missing, is it a know bug or only my problem? - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT

Re: [Wicket-user] Fwd: FW: UI Framework selection

2007-01-18 Thread Scott Swank
Thank you both. On 1/17/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Good luck! Keep us informed, and of course I hope Wicket will be good for you :) Eelco On 1/17/07, Scott Swank [EMAIL PROTECTED] wrote: Wish me luck. Vegas.com will be selecting our web UI framework in the next few

Re: [Wicket-user] Impossible to customize multi-part POST-s from Form-s in Wicket due to final methods

2007-01-18 Thread Eelco Hillenius
If you could open up a feature request for that Boris, we can put it in the next version. Eelco Also, please let me know what your plans for making method protected are (starting with which version)... - Take Surveys.

Re: [Wicket-user] Issue of ModalView in firefox

2007-01-18 Thread Matej Knopp
No, it's not a known bug. Probably some css conflict problem. Can you please provide a stripped down testcase? (quickstart) -Matej Carfield Yim wrote: The top bar with close button are missing, is it a know bug or only my problem?

Re: [Wicket-user] WicketFilter problem with isWicketRequest()

2007-01-18 Thread ChuckDeal
I feel like I just saw some some messages, not exactly like my problem, but still about resolving urls properly (perhaps on the apache list). Anyway, I was just curious if there was something else I can do to help. I don't know that submitting a quickstart will help because it should happen

Re: [Wicket-user] AjaxSubmitButton and not adding it to a Form

2007-01-18 Thread ChuckDeal
I don't mean to bump this, but was not quickstart not good enough to show the problem? If necessary, I can take another stab at it to make it more useful. Chuck ChuckDeal wrote: Here is a test case the shows the problem. I have two identical pages. The only difference is that one page

Re: [Wicket-user] WicketFilter problem with isWicketRequest()

2007-01-18 Thread Al Maw
I've tried to replicate this using the 1.x branch, but can't. Are you using 2.x? There have been some fixes recently related to URL parsing. If you're using 1.x, try updating and let me know how you get on. If you're still having issues, please do zip up a quickstart and attach it to a JIRA

Re: [Wicket-user] Impossible to customize multi-part POST-s from Form-s in Wicket due to final methods

2007-01-18 Thread beboris
Done (issue ID=12360795) Eelco Hillenius wrote: If you could open up a feature request for that Boris, we can put it in the next version. Eelco Also, please let me know what your plans for making method protected are (starting with which version)...

Re: [Wicket-user] WicketFilter problem with isWicketRequest()

2007-01-18 Thread Al Maw
Al Maw wrote: I've tried to replicate this using the 1.x branch, but can't. Are you using 2.x? Argh. Just seen your second post that says you're using 1.3. Also, I take it back - I can replicate it (needed to back out some other changes that probably fix this too, which I'm working on). See

Re: [Wicket-user] Impossible to customize multi-part POST-s from Form-s in Wicket due to final methods

2007-01-18 Thread Martijn Dashorst
Where did you create this issue? in Jira at apache? The issue id doesn't seem to fit the profile. For the core projects (found at the download site at http://sf.net/projects/wicket) we exclusively use JIRA at apache. Martijn On 1/18/07, beboris [EMAIL PROTECTED] wrote: Done (issue

Re: [Wicket-user] Impossible to customize multi-part POST-s from Form-s in Wicket due to final methods

2007-01-18 Thread Eelco Hillenius
It's this http://issues.apache.org/jira/browse/WICKET-220 Eelco On 1/18/07, Martijn Dashorst [EMAIL PROTECTED] wrote: Where did you create this issue? in Jira at apache? The issue id doesn't seem to fit the profile. For the core projects (found at the download site at

Re: [Wicket-user] AjaxSubmitButton and not adding it to a Form

2007-01-18 Thread Igor Vaynberg
bumping is ok if something slips through the cracks like it has now, matej is looking into it right now... -igor On 1/18/07, ChuckDeal [EMAIL PROTECTED] wrote: I don't mean to bump this, but was not quickstart not good enough to show the problem? If necessary, I can take another stab at it

Re: [Wicket-user] AjaxSubmitButton and not adding it to a Form

2007-01-18 Thread Matej Knopp
Hi, it really was problem with AjaxSubmitButton, can you please test if it works now for you? -Matej ChuckDeal wrote: I don't mean to bump this, but was not quickstart not good enough to show the problem? If necessary, I can take another stab at it to make it more useful. Chuck

Re: [Wicket-user] Impossible to customize multi-part POST-s from Form-s in Wicket due to final methods

2007-01-18 Thread beboris
Yes, it is. I am sorry. I guess I confused some transaction ID with an issue ID... Eelco Hillenius wrote: It's this http://issues.apache.org/jira/browse/WICKET-220 Eelco On 1/18/07, Martijn Dashorst [EMAIL PROTECTED] wrote: Where did you create this issue? in Jira at apache? The

Re: [Wicket-user] Problem adding css with ajax in Firefox

2007-01-18 Thread Matej Knopp
We process the stylesheet reference before replacing elements. But what we do is that we create a link element and add it to header (so the browser is responsible for loading the stylesheet). The stylesheet loading is asynchronous so it is possible that it gets loaded after the component is

[Wicket-user] Missing wicket.properties in wicket-extensions-2.0-SNAPSHOT

2007-01-18 Thread Aaron Hiniker
I built wicket and wicket-extensions 2.0 from source today, and when I deploy the application, wicket complains that it cannot find wicket.properties in the wicket-extensions jarfile. Do I need to manually provide this file or override it's location via a system property? Or is the file supposed

Re: [Wicket-user] Missing wicket.properties in wicket-extensions-2.0-SNAPSHOT

2007-01-18 Thread Aaron Hiniker
Nevermind, I did a clean install and it's now present in the jar Aaron Aaron Hiniker wrote: I built wicket and wicket-extensions 2.0 from source today, and when I deploy the application, wicket complains that it cannot find wicket.properties in the wicket-extensions jarfile. Do I need to

Re: [Wicket-user] How to pass the parameter without submit

2007-01-18 Thread ?
thanks. but, I want to following 1. click image botton(bookmarkpagebleLink) 2. get form's information(check box ,text etc.) 3. pop up window and pass the 2's information. How to pass the model? Nino Wael wrote: just pass your model when creating the popup window? And use a image button?

[Wicket-user] Race Conditions and Detachable Models

2007-01-18 Thread Ryan
I don't want to alarm anyone in that I have not seen this in the wild however I came across a problem in my code recently that got me thinking about race conditions and detachable models. I had a detachable model that I was storing in my session object and decided that Session.detach() and

Re: [Wicket-user] Race Conditions and Detachable Models

2007-01-18 Thread Igor Vaynberg
this is sort of a gray area just because we havent come up with a formal contract. usually during processing of a request the session is used as the lock object to sync threads, so during those times the session and page are threadsafe (thats why you dont need to worry about syncs in your

[Wicket-user] Setting html-tags properties

2007-01-18 Thread Juha Alatalo
Is there any way to set html components property values in html file based on resource file? For example text can be set nicely using wicket:message wicket:message key=hereSomething/. However as far as I know for tag properties input wicket:id=somethingButton type=submit value=hereSomething/ has

Re: [Wicket-user] Setting html-tags properties

2007-01-18 Thread Igor Vaynberg
input wicket:id=somethingButton type=submit value=hereSomething wicket:message=value=key/ make sure you have WicketMessageTagHandler added to markupparser. -igor On 1/18/07, Juha Alatalo [EMAIL PROTECTED] wrote: Is there any way to set html components property values in html file based on