Re: table columns ajax update

2009-10-04 Thread vineet semwal
Pedro, does it have or will it have capability to update some columns in a table with ajax timer ? table still is good but good to hear that you are doing major improvement in design ;) thank you ! -- regards, Vineet Semwal On Sun, Oct 4, 2009 at 3:57 AM, Pedro Santos pedros...@gmail.com

DataTable's toolbars broken in 1.4.2 and 1.5-SS

2009-10-04 Thread Leszek Gawron
I have found the issue: https://issues.apache.org/jira/browse/WICKET-2436 and commented there. Still the issue remains in fixed state. Is there anything else I should do? lg -- Leszek Gawron http://lgawron.blogspot.com

Ajax submit timeout?

2009-10-04 Thread Martin Makundi
Hi! If we build an ajax GUI, we would like to detect network problems and give graceful errors and maybe retry (like gmail tries to do). How would it be possible to detect and set these network timeout limits with wicket, and probably allow invoking retry ('automatic' retry after notifying the

Re: Start a panel, border, or page with an XML declaration?

2009-10-04 Thread Phil Housley
2009/10/4 David Chang david_q_zh...@yahoo.com: Hello, I am reading Wicket in Action. The Tip on page 291 says it is good practice to start your panels and  borders (possibly your pages) with an XML declaration to force Wicket to work with them using the proper encoding. Does this mean that

Re: Ajax submit timeout?

2009-10-04 Thread Ernesto Reinaldo Barreiro
Maybe you could use IAjaxCallDecorator, e.g. public class MyCallDecorator implements IAjaxCallDecorator { public CharSequence decorateOnFailureScript(CharSequence script) { return script + ;alert('Server down!'); + JavaScript to relaunch AJAX; } } Ernesto On Sun, Oct 4, 2009 at 12:10 PM,

Re: ModalWindow and LazyLoading Exception

2009-10-04 Thread Albert Romanius
No, The exception happens when the modal is displayed. The problem can be solved using a DetachableModel. ***Maybe***... When u do the ajax call to open the window, the createPage of the modal is called, but not the render. After that, wicket calls the modal url, and this time the render method

Re: Ajax submit timeout?

2009-10-04 Thread Martin Makundi
Hi! Tnx. Few more questsions: 1. By specification, is decorateOnFailureScript invoked when ajax-call fails over network? 2. How can I set the ajax timeout, for example fail after trying for 5 seconds ? 3. JavaScript to relaunch AJAX What do you recommend here? Recursively calling for example

Re: How to store/load strings shared by many (but not all) pages?

2009-10-04 Thread David Chang
Igor, thanks so much for the tip! Cheers! --- On Sun, 10/4/09, Igor Vaynberg igor.vaynb...@gmail.com wrote: From: Igor Vaynberg igor.vaynb...@gmail.com Subject: Re: How to store/load strings shared by many (but not all) pages? To: users@wicket.apache.org Date: Sunday, October 4, 2009,

Re: Ajax submit timeout?

2009-10-04 Thread Ernesto Reinaldo Barreiro
Hi Martin, Few more questsions: 1. By specification, is decorateOnFailureScript invoked when ajax-call fails over network? I'm not 100% sure, nothing about that is said on the Javadoc, but I know it its called when server is unreachable. 2. How can I set the ajax timeout, for example

Move shared wicket components to a base page?

2009-10-04 Thread David Chang
I have two wicket pages, both of which extend a base page. In the first version, each page used a wicket componet as follows: span wicket:id=feedback / In the second version, I moved the above markup to the base page. However, I always got this error from wicket: WicketMessage: The

Re: Move shared wicket components to a base page?

2009-10-04 Thread Igor Vaynberg
quickstart would help, without it we would have to slaughter a chicken and wave it around and take wild guesses. -igor On Sun, Oct 4, 2009 at 8:44 AM, David Chang david_q_zh...@yahoo.com wrote: I have two wicket pages, both of which extend a base page. In the first version, each page used a

Re: Ajax submit timeout?

2009-10-04 Thread Ernesto Reinaldo Barreiro
Yes, JavaScript setTimeOut()... If your script fails the make a setTimeOut combined with a wicket wicketAjaxGet... Example this.dd.onDragDrop = function(e, id) { wicketAjaxGet(this.url+ 'sourceId=' + this.getEl().id + 'targetId=' + id); } This URL was generated by Wicket an points

How to list files by name in Eclipe's Package Explorer?

2009-10-04 Thread David Chang
Hello, I am using Eclipse for devleopment. The files in its Package Explorer are listed by extensions: java files first. This is good for non-wicket development. Now each page's java and markup files are in the same directory and I hope to see them naturally stay together, which means making

Re: Move shared wicket components to a base page?

2009-10-04 Thread David Chang
Hello Igor, I have quickstart installed and looked at it everywhere. It has two application clsses only: WicketApplication and HomePage. I am unable to find anything related to my question. Did I miss something? Thanks! --- On Sun, 10/4/09, Igor Vaynberg igor.vaynb...@gmail.com wrote:

Re: Start a panel, border, or page with an XML declaration?

2009-10-04 Thread David Chang
Phil, Thanks very much for your reply. By XML declaration, you mean something like: ?xml version=1.0 encoding=UTF-8 ? Correct? I found this piece and it may be interesting to all: http://learningtheworld.eu/2008/farewell-xml-declaration/ I prefer to include it in my source, and then have

Re: Move shared wicket components to a base page?

2009-10-04 Thread Igor Vaynberg
yeah... make a quickstart that reproduces your problem and post it somewhere. -igor On Sun, Oct 4, 2009 at 2:06 PM, David Chang david_q_zh...@yahoo.com wrote: Hello Igor, I have quickstart installed and looked at it everywhere. It has two application clsses only: WicketApplication and

export DataTable to csv

2009-10-04 Thread Sam Zilverberg
Hi everyone, I have a DefaultDataTable with a FilterToolbar similar to the one in the phonebook example. I'd like to add a link for exporting the current filtered data table to a CSV file. This csv file should contain the table headers and the table data. My main problem right now is extracting

Re: table columns ajax update

2009-10-04 Thread Pedro Santos
Hi Semwal, it has capability to update some columns. I update HomePage on table-example to show how it can be done now. But it makes no sense, since the model on non editable cells table are static, so the values on table model will not be queried every ajax update. In next version, all table

Wicket + Hibernate without Spring for lazy loading

2009-10-04 Thread Jeffrey Schneller
Is it possible to use Wicket and Hibernate without implementing Spring to do lazy loading of properties through Hibernate? I really don't want to bloat my code to implement Spring but if it is the only way to do it then I will. If that is the case, I guess I need to use

Re: Wicket + Hibernate without Spring for lazy loading

2009-10-04 Thread Igor Vaynberg
see databinder.net -igor On Sun, Oct 4, 2009 at 8:12 PM, Jeffrey Schneller jeffrey.schnel...@envisa.com wrote: Is it possible to use Wicket and Hibernate without implementing Spring to do lazy loading of properties through Hibernate?  I really don't want to bloat my code to implement Spring

Re: Exceptions after Tomcat restart

2009-10-04 Thread niaouli
Hi, I finally solved my problem, just uncommenting this line in my Tomcat context.xml file: !-- Uncomment this to disable session persistence across Tomcat restarts -- Manager pathname= / -- View this message in context:

Re: Wicket + Hibernate without Spring for lazy loading

2009-10-04 Thread Petr Fejfar
On Mon, Oct 5, 2009 at 5:12 AM, Jeffrey Schneller jeffrey.schnel...@envisa.com wrote: I really don't want to bloat my code to implement Spring but if it is the only way to do it then I will. When I've started learning of Wicket few month ago, my position was the similiar: I'd like to avoid