Re: https://issues.apache.org/jira/browse/WICKET-847

2009-04-28 Thread Steve Swinsburg
The fix version for that issue says 1.3.5 so unless people use Jira incorrectly, it's in 1.3.5. Likewise for the previous issue that people want to hold up the 1.3.6 release for, it has a fix version of 1.3.6 so should be in 1.3.6 already. --Steve On 28/04/2009, at 6:48 AM, Douglas

Re: https://issues.apache.org/jira/browse/WICKET-847

2009-04-28 Thread Jeremy Thomerson
There's a comment that says that it's actually NOT in 1.3.5 - implying that the fix version is incorrect. But Igor's comment seems to indicate that it WAS fixed. I don't know which is true, but whoever really wants to know should just try it and see - and then comment on the jira to make it

Re: https://issues.apache.org/jira/browse/WICKET-847

2009-04-28 Thread Martijn Dashorst
The commit was before 1.3.5 was cut, so IMO it should be already in 1.3.5. Martijn On Tue, Apr 28, 2009 at 9:31 AM, Jeremy Thomerson jer...@wickettraining.com wrote: There's a comment that says that it's actually NOT in 1.3.5 - implying that the fix version is incorrect.  But Igor's comment

Re: https://issues.apache.org/jira/browse/WICKET-847

2009-04-28 Thread Steve Swinsburg
Comparing the commits attached to the Jira to what is in the 1.3.5 tag in svn shows it's not. I'm a little confused by that, does the committers not fix in trunk, merge back to the appropriate branches (1.3.x) then cut tags from the branches (1.3.5, 1.3.6)? Steve On 28/04/2009, at 8:36

Re: Logging for performance analysis

2009-04-28 Thread Martijn Dashorst
At my job we were able to connect yourkit to our production server and diagnose the problem in that way. If you have such spikes, it usually is the garbage collector trying to clean up. Martijn On Mon, Apr 27, 2009 at 10:39 PM, Douglas Ferguson doug...@douglasferguson.us wrote: We are

Re: Wicket tree

2009-04-28 Thread vela
Hello, I am facing the same issue. I can't able to get the selected node by this implemenation. I have the code like this TreeModel t = createTreeModel(); tree = new Tree(tree, t) { protected void onNodeLinkClicked(TreeNode node, AjaxRequestTarget target) {

Re: Form values lost in combination of Forms plus ModalWindow

2009-04-28 Thread Vladimir K
Thanks for Martin Makundi suggestion. The following workaround works: Replace your form in ModalWindow with public class ModalWindowFormT extends FormT { public ModalWindowForm(String id) { super(id); } @Override public Form? getRootForm() {

Re: maven-eclipse-plugin 2.6 will break your wicket projects

2009-04-28 Thread Kaspar Fischer
John, thanks for sharing this. It worked for me with the update from Maven 2.0.9 to 2.1.0 on MacOS X. Kaspar On 03.04.2009, at 16:42, John Krasnay wrote: FYI to anyone who's been bitten by this, there's a simple workaround. Just add the following to your pom.xml: build plugins

Re: Update DropDownChoice with ModalWindow

2009-04-28 Thread Vladimir K
The problem is duscussed here http://www.nabble.com/Form-values-lost-in-combination-of-Forms-plus-ModalWindow-td19401595.html#a19401595 http://www.nabble.com/Form-values-lost-in-combination-of-Forms-plus-ModalWindow-td19401595.html#a19401595 Vladimir K wrote: PDiefent, I've came across

Wicket-Guice: Inject into Session

2009-04-28 Thread Jan Torben Heuer
Hi, I'm a Wicket and Guice beginner. I successfully managed Guice to Inject my dependency into a WebPage. Can Guice also inject the dependency into an AuthenticatedWebSession? I'd need a reference to my database in the #authenticate(String, String) method. Jan

Re: Wicket-Guice: Inject into Session

2009-04-28 Thread Steve Flasby
I do this: @Override public Session newSession(Request request, Response response) { Session s = new MySession(request); mInjector.inject(s); return s; } Cheers - Steve Jan Torben Heuer wrote: Hi, I'm a Wicket and

Re: Update DropDownChoice with ModalWindow

2009-04-28 Thread Vladimir K
PDiefent, I've came across similar problem. In my case, and what I'm discovered fits your case as well, the following is happening: ModalWindow is component based. It is rendered in two parts. The first part is all you put into your markup. The second part is dynamically built within a separate

Any RefreshingView-like repeater but with pagination?

2009-04-28 Thread HHB
Hey, Is there any repeater that has the features of RefreshingView but supports paginations? Thanks. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Wicket-Guice: Inject into Session

2009-04-28 Thread Eduardo Nunes
I use Guice to control my servlets, so I can just add objects to session scope. http://code.google.com/p/google-guice/wiki/Servlets On Tue, Apr 28, 2009 at 8:46 AM, Jan Torben Heuer jtn...@mail2004.dnsalias.org wrote: Hi, I'm a Wicket and Guice beginner. I successfully managed Guice to Inject

Re: Wicket-Guice: Inject into Session

2009-04-28 Thread Marc Ende
Hi Jan, the Session (org.apache.wicket.Session) implements Serializable. So I think that wicket is also serializing the session object as other webapps do. In this case you've got to serialize the connection. I don't think that's easy/possible to seralize a database connection. I would go

Re: Any RefreshingView-like repeater but with pagination?

2009-04-28 Thread Manuel Corrales
Have you tried DataView? I use DataView with an AjaxPaginator and it works great. On Tue, Apr 28, 2009 at 7:37 AM, HHB hubaghd...@yahoo.ca wrote: Hey, Is there any repeater that has the features of RefreshingView but supports paginations? Thanks.

How to erase model values?

2009-04-28 Thread HHB
Hey, Usually, I set the model for a form like this: final Form form = new Form(form, new CompoundPropertyModel(new Contact())); But when the panel or the modalwindow that contains the form is rendered again, the model's values are still saved and displayed. So upon successful

Re: DefaultDataTable loses pagination after filtering

2009-04-28 Thread Jason Rosenberg
Great, When do we expect 1.4-rc3 to be available (that's the fixed version, according to the jira listed there) Thanks, Jason Anton Veretennikov wrote: If I'm true, this was solved. https://issues.apache.org/jira/browse/WICKET-2175 On Tue, Apr 28, 2009 at 8:25 AM, Jason Rosenberg

Re: DefaultDataTable loses pagination after filtering

2009-04-28 Thread Anton Veretennikov
I use 1.4-SNAPSHOT and repository idwicket-snaps/id urlhttp://wicketstuff.org/maven/repository/url snapshots /snapshots releases /releases /repository On Tue, Apr 28, 2009 at 11:06 PM, Jason Rosenberg jbrosenb...@gmail.com wrote: Great, When do we

Re: DefaultDataTable loses pagination after filtering

2009-04-28 Thread Jason Rosenberg
Anton, Thanks, this works for me, and the bug is indeed fixed Jason I use 1.4-SNAPSHOT and repository idwicket-snaps/id urlhttp://wicketstuff.org/maven/repository/url snapshots /snapshots releases /releases /repository -- View this message

Re: https://issues.apache.org/jira/browse/WICKET-847

2009-04-28 Thread Johan Compagner
no that one isnt in 1.3.5 The commit is done by igor together with: WICKET-1916, WICKET-1998 On Tue, Apr 28, 2009 at 09:43, Steve Swinsburg s.swinsb...@lancaster.ac.ukwrote: Comparing the commits attached to the Jira to what is in the 1.3.5 tag in svn shows it's not. I'm a little confused

Redirect to a static pdf in popup/new tab

2009-04-28 Thread Warren Bell
I have a situation where a user needs to click on many links on one page and display many static pdfs each in a new tab or popup. The problem is that I need to do some processing on the original page in the Link#onClick before I open up the pdf in a new tab or popup. I do not want the pdfs

Re: Redirect to a static pdf in popup/new tab

2009-04-28 Thread Steve Swinsburg
Could you use PopupSettings to specify it should be a new window and just process whatever you need in the onClick() of the link? cheers, Steve On 28 Apr 2009, at 17:11, Warren Bell wrote: I have a situation where a user needs to click on many links on one page and display many static

Re: DefaultDataTable loses pagination after filtering

2009-04-28 Thread Jeremy Thomerson
Soon hopefully - it was built over the weekend and needs to be tested. -- Jeremy Thomerson http://www.wickettraining.com On Tue, Apr 28, 2009 at 10:06 AM, Jason Rosenberg jbrosenb...@gmail.com wrote: Great, When do we expect 1.4-rc3 to be available (that's the fixed version, according to

Re: Redirect to a static pdf in popup/new tab

2009-04-28 Thread Warren Bell
As far as I can tell, there are no Ajax related links that can use PopupSettings. I need to refresh a component as part of the processing. Steve Swinsburg wrote: Could you use PopupSettings to specify it should be a new window and just process whatever you need in the onClick() of the link?

Re: displaying xml content

2009-04-28 Thread shiraz memon
Just for information. Probably help to those trying to achieve the same thing. I displayed the xml content on html page by converting xml string into nested html lists using ul/li tags and writing new string onto the markup-stream by overriding the onRender method of target panel (in my case).

Data validation and form components

2009-04-28 Thread Peter Dotchev
Hi, Setter methods of my business logic classes perform validation and throw exceptions if given parameter is invalid. I don't have separate methods for data validation. In my wicket form I use CompoundPropertyModel which sets user entered values directly in the business object. If the user

Re: Data validation and form components

2009-04-28 Thread Mauro Ciancio
On Tue, Apr 28, 2009 at 5:40 PM, Peter Dotchev dotc...@gmail.com wrote: Setter methods of my business logic classes perform validation and throw exceptions if given parameter is invalid. I don't have separate methods for data validation. In my wicket form I use CompoundPropertyModel which

Re: Data validation and form components

2009-04-28 Thread Jeremy Thomerson
Many folks on this list will disagree with you. For most CRUD applications, it is perfectly acceptable to directly manipulate domain objects from forms. For these applications, there is no reason to maintain a separate set of value transfer objects. The ROI isn't high enough. Of course, there

Re: Wicket-Guice: Inject into Session

2009-04-28 Thread Jan Torben Heuer
Marc Ende wrote: webapps do. In this case you've got to serialize the connection. I don't think that's easy/possible to seralize a database connection. I would go another approach which uses the session only as a information-container and get those needed information from the database in the

Updating a Label in a Form using AjaxFormComponentUpdatingBehavior

2009-04-28 Thread Ryan Norris
I've been struggling for a while now fighting with AjaxFormComponentUpdatingBehavior and changing the value of a label within form when a certain javascript precondition is met. Code below.     public final class RegistrationForm extends FormRegistration {         private static final long

AjaxTabbedPanel, AjaxLazyLoadPanel and back button

2009-04-28 Thread Rodrigo De Castro
Hey, I've been using AjaxTabbedPanel successfully, but ran into the following problem today: 1. Load page that has multiple tabs 2. Click on the second tab 3. Click on link on the tab panel that takes me to another page 4. Press back button It fails with the following error: WicketMessage:

Re: Updating a Label in a Form using AjaxFormComponentUpdatingBehavior

2009-04-28 Thread Randy Hammelman
I didn't look at your code in detail line by line, but the concept should work. I do similar things all the time. Try setting your own error page to determine if this is an error with the error page or a very weird error with your code. You can also try using the debugger to find the exception

Re: Updating a Label in a Form using AjaxFormComponentUpdatingBehavior

2009-04-28 Thread Jeremy Thomerson
You have the javadocs jar in your classpath. It shouldn't be. That should fix the error page so that you can see your error (which should also be visible in the logs anyway). -- Jeremy Thomerson http://www.wickettraining.com On Tue, Apr 28, 2009 at 8:53 PM, Ryan Norris ryannor...@gmail.com

Re: Wicket-Guice: Inject into Session

2009-04-28 Thread Marc Ende
Hmm... I'm not sure why it's done this way in the AuthenticatedWebSession but nevertheless it's the only task of a session object to keep informations between two requests. From this point of view a authenticate(String,String) doesnt' really make sense in the Class. May be there is someone here

Re: Wicket-Guice: Inject into Session

2009-04-28 Thread Jeremy Thomerson
You shouldn't be using database connections. Use a service from your service layer. Inject the service with wicket-ioc / wicket-guice - it will insert a serializable proxy. -- Jeremy Thomerson http://www.wickettraining.com On Tue, Apr 28, 2009 at 11:49 PM, Marc Ende mli...@e-beyond.de

Re: Update DropDownChoice with ModalWindow

2009-04-28 Thread PDiefent
Hi Vladimir, for the solution, look at http://www.nabble.com/Update-DropDownChoice-td22944165.html Peter Vladimir K wrote: PDiefent, I've came across similar problem. In my case, and what I'm discovered fits your case as well, the following is happening: ModalWindow is component based.

Maintenance of session in SpringWebApplication of Wicket

2009-04-28 Thread Geeta Madhavi
Hi.. Can any one tell me how to maintain the session in wicket while using the springwebapplication. my requirement is i select values in drop down those values should be in session. and those values i should be able to print in the next page. So,Kindly some one help me in this i am newbie to

Re: Update DropDownChoice with ModalWindow

2009-04-28 Thread Geeta Madhavi
Hi, Please go through this link you will find the source code.This is pretty help ful for drop down. http://www.wicket-library.com/wicket-examples/ajax/choice.0 On Wed, Apr 29, 2009 at 11:18 AM, PDiefent pdief...@csc.com wrote: Hi Vladimir, for the solution, look at