Re: Updating multiple PropertyModels

2008-04-30 Thread Frank Bille
You don't need the wrapper. If you give PropertyModel a IModel as object it knows how to handle it. I do that all the time: Single backing IModel with lots of different IModel in front (property models, AROM, etc.) Frank On Wed, Apr 30, 2008 at 7:09 AM, Martin Makundi [EMAIL PROTECTED] wrote:

Re: LogoutPage - Responsible for invalidation and redirection to non-wicket page

2008-04-30 Thread mfs
For now, doing an HttpServletResponse.sendRedirect works, but it just logs this error.. ERROR - WebResponse- Unable to redirect to: ?wicket:interface=:1, HTTP Response has already been committed. There has to be a better alternative.. mfs wrote: So you are saying

Re: Wicket 1.4 and Wicketstuff/Dojo/DragAndDrop

2008-04-30 Thread Stefan Lindner
Now it works but I had to specify the javacript libraries explicit in the header section. The auto generated header contribution of libraries did not work. I hat a similar problem with WicketStuff Dojo. Stefan -Ursprüngliche Nachricht- Von: Stefan Lindner [mailto:[EMAIL PROTECTED]

Re: Updating multiple PropertyModels

2008-04-30 Thread Martin Makundi
Hi! Please give me an example: MyData myData = new MyData(name, address); // pseudo add(new Label(name, new PropertyModel(myData, name)); add(new Label(address, new PropertyModel(myData, address)); // now I have an ajax button or something... @Override protected void

Re: Form submit with a FileUploadField appears not to work in a Modal Window

2008-04-30 Thread geke
There is an example. http://www.dooriented.com/blog/2008/04/23/wicket-ajax-like-file-upload-on-a-modal-window/ -- View this message in context: http://www.nabble.com/Form-submit-with-a-FileUploadField-appears-not-to-work-in-a-Modal-Window-tp16795627p16976741.html Sent from the Wicket - User

Re: After Upload File via ModalWindow and IFrame, the TreeModels UserOject Attributes are null

2008-04-30 Thread Cristi Manole
I don't think it's because of the iFrame. If you take it out of the modal page content, will that stop messing up the linktree? can you provide more code? On Mon, Apr 28, 2008 at 2:15 PM, geke [EMAIL PROTECTED] wrote: Hello, I´m upload a file via a modal window and an iFrame. It`s described

Jquery Attached Behaviors Disappearing During Ajax Calls

2008-04-30 Thread carloc
Hi, I'm using JQuery together with Wicket. I have this problem that whenever I update a component through ajax, the behaviors I attached using jquery disappear already. For example I have a textbox which has this $('textbox').click(function() { alert('hello') }) This would work while the

Re: Spring 2.5 and Wicket, our vision about integration (a few explanations)

2008-04-30 Thread Sergio García
igor.vaynberg wrote: anywho. why even talk about this? there is absolutely nothing stopping you from doing this is there? -igor Of course not. I only want to expose another way of doing something. -- View this message in context:

Re: Jquery Attached Behaviors Disappearing During Ajax Calls

2008-04-30 Thread Peter Ertl
Have you tried putting that javascript behavior into an wicket behavior attached to the component? something like... textbox.add(new MyJQueryCustomBehavior()) Am 30.04.2008 um 09:41 schrieb carloc: Hi, I'm using JQuery together with Wicket. I have this problem that whenever I

Re: Spring 2.5 and Wicket, our vision about integration (a few explanations)

2008-04-30 Thread Igor Vaynberg
this way is documented in the Spring wiki page... -igor On Wed, Apr 30, 2008 at 12:47 AM, Sergio García [EMAIL PROTECTED] wrote: igor.vaynberg wrote: anywho. why even talk about this? there is absolutely nothing stopping you from doing this is there? -igor Of course

Re: Is it possible to hide /?wicket:.. from the URLs

2008-04-30 Thread Peter Ertl
A poor man's solution could be: You could rewrite your URL through e.g. a front-end apache and mod_rewrite. response: convert any occurrence of '?wicket' to '?foobar' in url request: convert '?foobar' to '?wicket' Am 30.04.2008 um 03:57 schrieb Johan Compagner: Currently it is not easy

Re: After Upload File via ModalWindow and IFrame, the TreeModels UserOject Attributes are null

2008-04-30 Thread geke
I have attached my source Files. There are a few files, I hope it don`t slay to you;-) If I take out the iFrame from the modal window everything works fine. Hope anyone can help me. Cristi Manole wrote: I don't think it's because of the iFrame. If you take it out of the modal page

ssl post to creditor company

2008-04-30 Thread Mathias P.W Nilsson
Hi! I must integrate my wicket webapplication with a creditor company. It is a https post with a lot of parameters. I need to check all parameters first and the forward the post to the billing company. Any suggestions on how to do that? -- View this message in context:

Re: JmxPanel

2008-04-30 Thread Benjamin Ernst
Hi Paolo, I had just the same problem as you. The display:none has nothing to do with this. It just hides the root of the tree. The problem was that the domain is skipped, because it doesen´t have the same name as my Application. So I removed the the filter part from the

Re: ssl post to creditor company

2008-04-30 Thread Mathias P.W Nilsson
Ok! I guess I'll have to do this outside of wicket. HTTPClient or something like that. Is this correct? -- View this message in context: http://www.nabble.com/ssl-post-to-creditor-company-tp16978155p16979016.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: loadStringResource(Component component, String key) - correct method to check if the component IS a Page?

2008-04-30 Thread Ned Collyer
Sure I can appreciate that :) However I define my panels to accept certain objects to chuck into the model, so thats fine. It means I can provide translations for pojos from non wicket jars using a method similar to wickets nice 1 class, 1 property file approach. Eg, mypanel extends panel {

Re: JmxPanel

2008-04-30 Thread Gerolf Seitz
heh, didn't think of that ;) the correct way would be to override the methode getDomainFilter and return IDomainFilter.ALL (or something like that) Gerolf On Wed, Apr 30, 2008 at 11:49 AM, Paolo Di Tommaso [EMAIL PROTECTED] wrote: YESS! You are right, now it works. Thank you, Paolo On

Re: ssl post to creditor company

2008-04-30 Thread Mathias P.W Nilsson
Still can't get this to work I have a post that is handled in my wicket page. After checking the parameters I try to post it with HTTPClient HttpClient client = new HttpClient(); PostMethod post = new PostMethod(http://URL;); post.addParameter( UserName, test); post.addParameter( Password,

Re: Alternative method to initialise page

2008-04-30 Thread Johan Compagner
That is bad programming anyway. Why make a next page already?? On 4/30/08, John Patterson [EMAIL PROTECTED] wrote: I was thinking that another benefit of initialising the page after construction is less memory use when using redirect to render, when there are many invisible components, or in

Javascript error in wicket

2008-04-30 Thread Vitaly Tsaplin
Hi everyone, Firebug is complaining as follows: [Exception... Component is not available nsresult: 0x80040111 (NS_ERROR_NOT_AVAILABLE) location: JS frame :: file:///C:/Program%20Files/Mozilla%20Firefox/components/nsSessionStore.js :: sss_saveState :: line 1753 data: no] [Break on this

Re: JmxPanel

2008-04-30 Thread Paolo Di Tommaso
YESS! You are right, now it works. Thank you, Paolo On Wed, Apr 30, 2008 at 11:15 AM, Benjamin Ernst [EMAIL PROTECTED] wrote: Hi Paolo, I had just the same problem as you. The display:none has nothing to do with this. It just hides the root of the tree. The problem was that the domain

Re: ssl post to creditor company

2008-04-30 Thread Mathias P.W Nilsson
I think I'm not marking myself very clear. Here is the scenario 1. User fills in wicket form with credit card information delivery method 2. Wicket form handles the post to check that everything is correct 3. A post to an external link must be done. The browser should follow. I must leave my url

Re: ssl post to creditor company

2008-04-30 Thread Jonas
I'm not familiar with your HttpClient class, but I have used java.net.HttpURLConnection as (very simple...) http client in the past, which can be instructed to follow redirects. You can create one of those using java.net.URL(http://whatever.com/;).openConnection(). You'll probably have to

[Announce] Wicketstuff : Wicket Iolite

2008-04-30 Thread Nino Saturnino Martinez Vazquez Wael
Hi Today I want to announce the Wicketstuff Wicket-iolite. Which are a maven archetype much like wicket quickstart archetype. In fact it's based on that one. The main difference is that Iolite has spring and JPA / Hibernate setup for you in its current state, Hibernate can generate the db

Re: [Inmethod-grid] column resize event?

2008-04-30 Thread ChuckDeal
Thanks, that's the right idea, but how can I use that to affect the client? It does not receive the target object from the event. Also, it would be nice if it included which columns changed. Or better yet, add a onColumnChanged method to AbstractColumn and then have SubmitColumnStateBehavior

Re: JmxPanel

2008-04-30 Thread Paolo Di Tommaso
Cool, good to know. Thanks, Paolo On Wed, Apr 30, 2008 at 11:59 AM, Gerolf Seitz [EMAIL PROTECTED] wrote: heh, didn't think of that ;) the correct way would be to override the methode getDomainFilter and return IDomainFilter.ALL (or something like that) Gerolf On Wed, Apr 30, 2008 at

Re: ssl post to creditor company

2008-04-30 Thread Mathias P.W Nilsson
I've read some more and one solution is to make a form with body onload send form. This will however make the page flicker wich is very ugly. -- View this message in context: http://www.nabble.com/ssl-post-to-creditor-company-tp16978155p16981148.html Sent from the Wicket - User mailing list

Re: How to debug Back Button

2008-04-30 Thread Marco Aurélio Silva
That's what I tried, but the page wasn't there :( But, I updated to wicket 1.2.7 and now it is working better... I still getting the page expired but only when click on back and next a lot of time... Thank you for your help! On Tue, Apr 29, 2008 at 3:16 PM, Johan Compagner [EMAIL PROTECTED]

Unable to close modalwindow

2008-04-30 Thread tsuresh
Hello All, I am unable to close modalwindow which contains a panel with the form.My code snippet in page is as follows: . final DataView dataView = new DataView(rows, new ListDataProvider(folderList)) { public void populateItem(final Item item) {

Re: Wicket 1.4 and Wicketstuff/Dojo/DragAndDrop

2008-04-30 Thread Ryan Sonnek
i'll try to test out the example app to see if something is broken with 1.4. On Wed, Apr 30, 2008 at 1:23 AM, Stefan Lindner [EMAIL PROTECTED] wrote: Now it works but I had to specify the javacript libraries explicit in the header section. The auto generated header contribution of libraries

Re: ssl post to creditor company

2008-04-30 Thread Mathias P.W Nilsson
OK! This is the best I have come up with so far. In My AjaxFallbackButton#onSubmit I check the form and I everything was ok I append a javascript target.appendJavascript( makeCallBack( 'http//:new url' )); And in html page function makeCallBack( URL ){ document.forms[ login ].action = URL;

Re: Javascript error in wicket

2008-04-30 Thread Peter Ertl
that's not wicket but firefox... try reading the filename: file:///C:/Program%20Files/Mozilla%20Firefox/components/nsSessionStore.js Am 30.04.2008 um 12:17 schrieb Vitaly Tsaplin: Hi everyone, Firebug is complaining as follows: [Exception... Component is not available nsresult:

wicket-spring-annot 1.4-m1?

2008-04-30 Thread James Carman
Is this gone now that 1.4 is JDK5+? Is this stuff just bundled in with wicket-spring? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Disabling dynamic ajax header contribution

2008-04-30 Thread legol
Hi all! I have problem with multiple ajax header contribution. Is it possible to turn it off and add static reference to ajax js in head? I have pages where I always use ajax so it could be added on start. On my page i have so much ajax components that ajax response grows very large because of

StatelessForm doesn't work with GET method

2008-04-30 Thread Doug Donohoe
As part of my effort to submit a form to a bookmarkable page, I discovered this bug when trying to uses a stateless form with the GET method of a form. I've documented my saga at http://wiki.donohoedigital.com/wiki/Wiki.jsp?page=Bookmarkable%20Form%20Submission%20in%20Wicket The original

wicketstuff-dojo 1.1?

2008-04-30 Thread Jason Froehlich
All, Is there a wicketstuff-dojo project that is based off of dojo 1.1? The only one I could find was based off of dojo 0.4. Thanks, Jason - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Alternative method to initialise page

2008-04-30 Thread John Patterson
Well yeah, I don't do that... don't know how common redirect to render is either. Just thinking of how the delay in initialisation might effect memory. Prob not much for most apps. Johan Compagner wrote: That is bad programming anyway. Why make a next page already?? On 4/30/08, John

Re: submit form to bookmarkable page

2008-04-30 Thread Doug Donohoe
Setting the action to the page URL doesn't quite work with default wicket URLs since they pass information in the query string and browsers ignore anything after the '?' in a GET action. I'd have to set some hidden fields like wicket:bookmarkablePage=[.] as well as the other fields the page

Re: Javascript error in wicket

2008-04-30 Thread Vitaly Tsaplin
This file exists. I can open it... On Wed, Apr 30, 2008 at 2:52 PM, Peter Ertl [EMAIL PROTECTED] wrote: that's not wicket but firefox... try reading the filename: file:///C:/Program%20Files/Mozilla%20Firefox/components/nsSessionStore.js Am 30.04.2008 um 12:17 schrieb Vitaly

Re: wicket-spring-annot 1.4-m1?

2008-04-30 Thread Martijn Dashorst
yes On 4/30/08, James Carman [EMAIL PROTECTED] wrote: Is this gone now that 1.4 is JDK5+? Is this stuff just bundled in with wicket-spring? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: wicket-spring-annot 1.4-m1?

2008-04-30 Thread Leszek Gawron
James Carman wrote: Is this gone now that 1.4 is JDK5+? Is this stuff just bundled in with wicket-spring? yes -- Leszek Gawron http://www.mobilebox.pl/krs.html CTO at MobileBox Ltd. - To

Re: wicket-spring-annot 1.4-m1?

2008-04-30 Thread James Carman
ok, thanks. That makes sense. On Wed, Apr 30, 2008 at 10:32 AM, Leszek Gawron [EMAIL PROTECTED] wrote: James Carman wrote: Is this gone now that 1.4 is JDK5+? Is this stuff just bundled in with wicket-spring? yes -- Leszek Gawron

Re: submit form to bookmarkable page

2008-04-30 Thread Martijn Dashorst
On 4/30/08, Doug Donohoe [EMAIL PROTECTED] wrote: Setting the action to the page URL doesn't quite work with default wicket URLs since they pass information in the query string and browsers ignore anything after the '?' in a GET action. Huh? Query string encoding is how browsers submit

Re: submit form to bookmarkable page

2008-04-30 Thread Doug Donohoe
If you create a form that looks like: lt;form action=?wicket:bookmarkablePage=%3Acom.donohoedigital.poker.pages.Leaderboard method=get gt; When the form is posted, the stuff after the ? in the action is ignored. It is replaced with the form values (hidden or otherwise). -Doug

Re: loadStringResource(Component component, String key) - correct method to check if the component IS a Page?

2008-04-30 Thread Igor Vaynberg
On Wed, Apr 30, 2008 at 2:55 AM, Ned Collyer [EMAIL PROTECTED] wrote: Still - would be nice if the MarkupInheritanceResolver$TransparentWebMarkupContainer somehow indicated it was the the page (and returned the pages model). Component c=...; boolean page=(c==c.getPage()); -igor I

RadiogGroup throws 'SetRenderBodyOnly' related IllegalStateException

2008-04-30 Thread Michael Mehrle
I'm just having too much fun with RadioGroups lately. I've got a RadioGroup inside a panel, that's inside a modal. When clicking and saving the form I get the following exception: RROR RequestCycle] Ajax render cannot be called on component that has setRenderBodyOnly enabled. Component:

Re: Updating multiple PropertyModels

2008-04-30 Thread Martin Makundi
Well. I do not have hierarchical models. I have just one single-level model which is used in several propertymodels. I will try if it works to wrap it. ** Martin 2008/4/30 Per Newgro [EMAIL PROTECTED]: Am Mittwoch, 30. April 2008 08:29:10 schrieb Martin Makundi: Hi! Please give me

Re: Disabling dynamic ajax header contribution

2008-04-30 Thread Igor Vaynberg
no, currently it is not possible. the reason we do not do it is that you can use component replacement to add a new component into the hierarchy which will need to add its own contributions which are not yet on the client. -igor On Wed, Apr 30, 2008 at 7:08 AM, legol [EMAIL PROTECTED] wrote:

Setting component required during runtime?

2008-04-30 Thread Michael Mehrle
I've got RadioGroup A that I need to set to required when another radio in RadioGroup B is selected. Is this possible and how? I imagine 'theoretically' the way to do this is by hooking into the other radio's event handler. However, as the other radio has already been rendered at that point this

Re: RadiogGroup throws 'SetRenderBodyOnly' related IllegalStateException

2008-04-30 Thread Igor Vaynberg
what happened when you called setRenderBodyOnly(false)? -igor On Wed, Apr 30, 2008 at 10:20 AM, Michael Mehrle [EMAIL PROTECTED] wrote: I'm just having too much fun with RadioGroups lately. I've got a RadioGroup inside a panel, that's inside a modal. When clicking and saving the form I get

ListView is not gettting updated

2008-04-30 Thread Patel, Sanjay
Hi, I am using ListView and and each item in the listview is RadioGroup. Now the problem is, If radio1 is selected and I select radio2 and submit the form the selection goes back to radio1. What is wrong with following code? final ListView listView = new ListView(abc, myList) {

Re: Updating multiple PropertyModels

2008-04-30 Thread Per Newgro
Am Mittwoch, 30. April 2008 08:29:10 schrieb Martin Makundi: Hi! Please give me an example: MyData myData = new MyData(name, address); // pseudo add(new Label(name, new PropertyModel(myData, name)); add(new Label(address, new PropertyModel(myData, address)); // now I have an ajax button

Re: ListView is not gettting updated

2008-04-30 Thread Igor Vaynberg
listview.setreuseitems(true), read listview's javadoc -igor On Wed, Apr 30, 2008 at 10:59 AM, Patel, Sanjay [EMAIL PROTECTED] wrote: Hi, I am using ListView and and each item in the listview is RadioGroup. Now the problem is, If radio1 is selected and I select radio2 and submit the

Re: Is it possible to hide /?wicket:.. from the URLs

2008-04-30 Thread Ryan Gravener
Are you worried about what is in the html as well? IE: resources/org.apache.wicket.markup.html.WicketEventReference/wicket-event.js On Wed, Apr 30, 2008 at 3:52 AM, Peter Ertl [EMAIL PROTECTED] wrote: A poor man's solution could be: You could rewrite your URL through e.g. a front-end

RE: RadiogGroup throws 'SetRenderBodyOnly' related IllegalStateException

2008-04-30 Thread Michael Mehrle
Actually, this seems like a false alarm. I set it but didn't do a 'clean' - once I cleaned/restarted the app it was gone. Strange thought that I would have to set it to false in the first place... Thanks! Michael -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent:

RE: ListView is not gettting updated

2008-04-30 Thread Patel, Sanjay
I already tried it but it is not working. I have to do following (which I don't want) to update the listView after I submit the form. listView.setModel(new Model((Serializable) updatedList)); -Original Message- From: Igor Vaynberg [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 30,

Re: wicket-spring-annot 1.4-m1?

2008-04-30 Thread Gerolf Seitz
such information is usually found in the migration notes: http://cwiki.apache.org/WICKET/migrate-14.html Gerolf On Wed, Apr 30, 2008 at 4:49 PM, James Carman [EMAIL PROTECTED] wrote: ok, thanks. That makes sense. On Wed, Apr 30, 2008 at 10:32 AM, Leszek Gawron [EMAIL PROTECTED] wrote:

AjaxSelfUpdatingTimerBehavior with AjaxTabbedPanel and AbstractTab

2008-04-30 Thread rtow
I have a AjaxTabbedPanel contains few AbstractTabs. There is a component (dataPanel) in one of the AbstractTab (say tab#2). dataPanel.add(new AjaxSelfUpdatingTimerBehavior(Duration.seconds(5)){ @Override protected void onPostProcessTarget(AjaxRequestTarget target)

finding out user's original destination

2008-04-30 Thread Andrew Broderick
Hi, In the onSubmit() of my SignInPanel, I have the following: if (!continueToOriginalDestination()) { setResponsePage(getApplication().getSessionSettings().getPageFactory().newPage( getApplication().getHomePage(),

Re: Disabling dynamic ajax header contribution

2008-04-30 Thread legol
Thanks for reply, It turned out that it wasn't main reason why my application works so slow, but it's good to know why it is not possible. Thx, pzdr legol igor.vaynberg wrote: no, currently it is not possible. the reason we do not do it is that you can use component replacement to add a

RE: getter called multiple times on PropertyModel with ListView

2008-04-30 Thread Andrew Broderick
Thanks. It does work, and the load() method only gets called once when the view renders. However, I am still confused as to why it works. In other words, why LoadableDetachableModel only gets called once, whereas PropertyModel gets called multiple times on rendering the ListView. For instance,

Re: getter called multiple times on PropertyModel with ListView

2008-04-30 Thread Martijn Dashorst
Read the models document on the wiki. It has helped many others. /shameless plug: chapter 4 of WIA also explains detachable models in detail. Martijn On 4/30/08, Andrew Broderick [EMAIL PROTECTED] wrote: Thanks. It does work, and the load() method only gets called once when the view renders.

Re: StatelessForm doesn't work with GET method

2008-04-30 Thread Doug Donohoe
I created a JIRA issue: https://issues.apache.org/jira/browse/WICKET-1580 Doug Donohoe wrote: As part of my effort to submit a form to a bookmarkable page, I discovered this bug when trying to uses a stateless form with the GET method of a form. I've documented my saga at

Re: [Wicket 1.3.3] Possible wicket:enclosure regression.

2008-04-30 Thread Alex Jacoby
I just upgraded to 1.3.3 today and I'm having enclosure problems too -- it seems like their state isn't updated after the page is constructed. Is this fixed in trunk? Searched the list but haven't found anything yet. Thanks, Alex Fabio Fioretti wrote: Hi All, I'm experiencing a

Re: Gzipping of pages (HTML output, not only resources)

2008-04-30 Thread Stefan Simik
Hi Artur, I looked at the uploads, but cannot find out, what exactly is the problematic part with closing streams. I find one stream-closing code in FileUpload - #closeStreams() method. This method closes all possibly opened InputStream-s for uploaded file. Here, I don't see any problem in

Re: [Wicket 1.3.3] Possible wicket:enclosure regression.

2008-04-30 Thread Alex Jacoby
Forget it, I found it in JIRA - says it's fixed for 1.4. Now I just need to find where to download it :) https://issues.apache.org/jira/browse/WICKET-1536 Alex On Apr 30, 2008, at 4:32 PM, Alex Jacoby wrote: I just upgraded to 1.3.3 today and I'm having enclosure problems too -- it

Re: [Wicket 1.3.3] Possible wicket:enclosure regression.

2008-04-30 Thread Igor Vaynberg
also fixed for 1.3.4... -igor On Wed, Apr 30, 2008 at 1:37 PM, Alex Jacoby [EMAIL PROTECTED] wrote: Forget it, I found it in JIRA - says it's fixed for 1.4. Now I just need to find where to download it :) https://issues.apache.org/jira/browse/WICKET-1536 Alex On Apr 30, 2008, at

Re: [Wicket 1.3.3] Possible wicket:enclosure regression.

2008-04-30 Thread Alex Jacoby
Thanks. Is this the right place to download 1.3.4? http://wicketstuff.org/maven/repository/org/apache/wicket/wicket/1.3-SNAPSHOT/ Cheers, Alex On Apr 30, 2008, at 4:45 PM, Igor Vaynberg wrote: also fixed for 1.3.4... -igor On Wed, Apr 30, 2008 at 1:37 PM, Alex Jacoby [EMAIL PROTECTED]

Re: Gzipping of pages (HTML output, not only resources)

2008-04-30 Thread Stefan Simik
Hi Igor, thanx for response. I looked at the IResponseFilter class and thoght about , how could I implement the gzipping of the text/html responses. But I have found potential 2 problems, which I am not sure, how to solve from the context of IResponseFilter#filter(...) method only: 1. Only

Caching time of resources - could it be as general setting ?

2008-04-30 Thread Stefan Simik
Hi Wicketeers, Is it possible to take CACHING TIME for resources from some settings ? Now, this time is hardcoded in WebResource#setHeaders(...) method to 1 hour value. I know, wicket is great for creating complex dynamic applications, but I there is often no need to reload the CSS and

mountBookmarkablePage is throwing error when using sitemesh

2008-04-30 Thread venky221
Hi All, We are using Sitemesh2.2.1 along with wicket1.3.1 in our product. The sitemesh JSP page contains SCRIPT and LINK tags to include styles and functions that will determine the header and footer for the wicket pages. When I use the URL like http://localhost.../helpDetails?topic=xyz where

Re: submit form to bookmarkable page

2008-04-30 Thread Catalin Marinas
I got something working with the example code below (Hello.class is bookmarkable and mounted). What we would need in Wicket is a BookmarkableForm class: StatelessForm form = new StatelessForm(form) { @Override protected void

Re: [Wicket 1.3.3] Possible wicket:enclosure regression.

2008-04-30 Thread Igor Vaynberg
i think our bamboo instance might be having problems. so yes you can try there, if that snapshot is too old you can try checking out from source and mvn installing it -igor On Wed, Apr 30, 2008 at 1:50 PM, Alex Jacoby [EMAIL PROTECTED] wrote: Thanks. Is this the right place to download

Re: Disabling dynamic ajax header contribution

2008-04-30 Thread Johan Compagner
The question i have is, are you also constantly repainting all or many components. I dont know if we could enhance this, maybe we could check a state that if it is rendered once we dont have to do it any more... But dont know the problems that could arise then. On 4/30/08, legol [EMAIL

Re: ListView is not gettting updated

2008-04-30 Thread Johan Compagner
And thats logical, your code looks weird. You cant set the model of a radio also on the group. Then the submit will update the selected in the radio groups model. Butthen the radio model is also uopdated. So that one is still selected.. On 4/30/08, Patel, Sanjay [EMAIL PROTECTED] wrote: I

Re: Gzipping of pages (HTML output, not only resources)

2008-04-30 Thread Johan Compagner
Use a custom BufferdResponse. Thats in my eyes the way to go. If we need to fix some api for that please let me know On 4/30/08, Stefan Simik [EMAIL PROTECTED] wrote: Hi Igor, thanx for response. I looked at the IResponseFilter class and thoght about , how could I implement the gzipping of

AJAX fails with error failure code 0x80040111

2008-04-30 Thread Michael Mehrle
I've got a modal with various AJAX components inside a form. I'm suddenly start getting this error, when pressing the save button: ERROR: Exception evaluating AJAX status: [Exception... Component returned failure code: 0x80040111 (NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.status]  nsresult: 

RE: AJAX fails with error failure code 0x80040111

2008-04-30 Thread Michael Mehrle
More info: after a minute or so I see this exception in the console: [DEBUG LoadAdDataInterceptor] Loaded AdData:[EMAIL PROTECTED] [ERROR RequestCycle] After 1 minute the Pagemap null is still locked by: Thread[btpool0-1,5,main], giving up trying to get the page for path:

RE: AJAX fails with error failure code 0x80040111

2008-04-30 Thread Michael Mehrle
I'm also getting 'busy channel - postponing' when I keep clicking on the save button. Anybody? Have no idea how to fix this... The same panel worked just fine 30 minutes ago, have not added any new code and it suddenly started happening. Michael -Original Message- From: Michael

How to run some javascript some # of seconds after page is loaded

2008-04-30 Thread Matthew Young
I have a feedback panel on the page I want to fade way after 7 seconds. I tried adding this to the page: private static AbstractBehavior feedbackSelfDisappear = new AbstractBehavior() { private static final long serialVersionUID = 1L; @Override public void

Re: How to run some javascript some # of seconds after page is loaded

2008-04-30 Thread Igor Vaynberg
window.setTimeout(function() {Effect.Fade('feedback-id');}, 7000) -igor On Wed, Apr 30, 2008 at 6:08 PM, Matthew Young [EMAIL PROTECTED] wrote: I have a feedback panel on the page I want to fade way after 7 seconds. I tried adding this to the page: private static AbstractBehavior

Re: How to run some javascript some # of seconds after page is loaded

2008-04-30 Thread Matthew Young
Alright, that worked. Thanks! On Wed, Apr 30, 2008 at 6:13 PM, Igor Vaynberg [EMAIL PROTECTED] wrote: window.setTimeout(function() {Effect.Fade('feedback-id');}, 7000) -igor On Wed, Apr 30, 2008 at 6:08 PM, Matthew Young [EMAIL PROTECTED] wrote: I have a feedback panel on the page I

Wiket 2.0 time frame

2008-04-30 Thread bhitai
Hi all, First of all, I feel that this forum is great, and the technology being developed by the Wicket folks is simply amazing. I am trying to pitch Wicket to my organization that has a Spring mvc implementation in place (yet the web 2.0 requirements are far beyond what it can handle - hence

Re: Wiket 2.0 time frame

2008-04-30 Thread Igor Vaynberg
wicket has support for stateless components and delayed sessions creation since 1.3. see StatelessForm and StatelessLink. stateless components in wicket are meant to only be used when there is no choice, eg, for parts of the application crawlable by search engines. the main focus will always be

My first Wicket question

2008-04-30 Thread David Chang
I just started to learn Wicket. This question may seem naive to many people and please forgive me. a WebPage component is created for each session and its data members are not shared by different sessions. Correct? Thanks! p.s. Where can I find a useful FAQ list to answer questions similar to

Re: Wiket 2.0 time frame

2008-04-30 Thread Jonathan Locke
there will be no wicket 2.0 (no breaking changes). wicket 1.4 and 1.5 are next. wicket already provides a good amount of support for statelessness in 1.3 and it seems unlikely it will provide much more than it does now. i personally think stateless web ui is nearly always a fantasy or an

Re: My first Wicket question

2008-04-30 Thread Martin Makundi
Here is a tutorial: http://cwiki.apache.org/WICKET/lifecycle-of-a-wicket-application.html 2008/5/1 David Chang [EMAIL PROTECTED]: I just started to learn Wicket. This question may seem naive to many people and please forgive me. a WebPage component is created for each session and its

Re: Updating multiple PropertyModels

2008-04-30 Thread sdmsec
Martin Makundi wrote: Please give me an example: Would the following work for you? It uses a combination of CompoundPropertyModel and setObjectModel. class Address { public String getStreet()... public void setStreet(String street)... public String getCity()... public

Re: Updating multiple PropertyModels

2008-04-30 Thread Martin Makundi
Would the following work for you? It uses a combination of CompoundPropertyModel and setObjectModel. Address address = (Address)form.getModelObject(); someService.updateAddress(address); form.setModelObject(someService.getAddress()); tgt.addComponent(form);