Re: [Wicket-user] AjaxFormComponentUpdatingBehavior w / RadioChoice

2007-04-24 Thread Johan Compagner
https://issues.apache.org/jira/browse/WICKET-470 And already an implementation attached that works. just need to test that for multiply situations johan On 4/24/07, Eelco Hillenius [EMAIL PROTECTED] wrote: That's a good point. How about opening a feature request for this (though no promise

Re: [Wicket-user] Help: Creating a Apache-licensed Wysiwyg-Textarea for Wicket

2007-04-24 Thread Johan Compagner
And I also admit that I don't have the same patience as yours, providing code snippets all the time, answering to every question with such accuracy :-) Congratulations, Igor! +1 Igor for president! - This SF.net

[Wicket-user] Replace non-wicket attributed sections of a html document

2007-04-24 Thread Andrew Moore
Hi, I'm currently writing a CMS in wicket. One of the things I'm wanting to do is make it nice and flexible to be able to design new templates for rendering the page. I'm looking at producing an image gallery at the moment. For the moment I'm using dummy.jpg or something similar in the html

Re: [Wicket-user] Which toolkit to use?

2007-04-24 Thread David Leangen
Peter, Thank you for sharing your experience with me. I'm beginning to come to the same conclusions, so it's nice to hear the experiences of others. I've looked a little bit into mootools, yui, scriptaculous, and dojo. mootools: unless I'm blind, I can't find any docs. Since I'm not a js guru,

Re: [Wicket-user] Replace non-wicket attributed sections of a html document

2007-04-24 Thread Erik van Oosten
Hi Andrew, Your use-case is exactly what Wicket is about. In the template file, use wicket:id attributes on the img tag. Place these tags in some kind of container (span or div element) to be able to repeat it. In the code you can attach an instance of Image (or variations, see javadoc). Use a

Re: [Wicket-user] Replace non-wicket attributed sections of a html document

2007-04-24 Thread Andrew Moore
Hi, Thanks for your reply. I'm familiar with wicket (reasonably anyway), that may not have been clear from the post. The admin of the CMS system is all using wicket, and I'm fairly happy with that. The situation is where the CMS content template pages are unknown in structure, but I just want to

[Wicket-user] General question on DetachableModel, edit form for based on set and components

2007-04-24 Thread Francois Armand
Hello everybody, I'm quite new to Wicket, and to web component framework to. Until now I just try simple examples, which seem to work (really) fine. So now, I want to pass to a little more complexe one, to try to understand how things work in Wicket (version 1.3). I work on LDAP directories,

Re: [Wicket-user] Update to Using frames page on Wiki

2007-04-24 Thread Johan Compagner
updated On 4/24/07, JulianS [EMAIL PROTECTED] wrote: Update to Using frames on the Wicket Wiki: http://cwiki.apache.org/WICKET/using-frames.html I'm using 1.2.5 and I've found the syntax has changed slightly. Instead of: FRAME src=myapp?pagemap=leftframebookmarkablePage=

Re: [Wicket-user] Replace non-wicket attributed sections of a html document

2007-04-24 Thread Erik van Oosten
Hi Andrew, I see. Yes that makes it quite different. I am not knowledgeable enough on dynamic templates. So other could help you better. There are a few other attempt to write Wicket components for a CMS. Perhaps you can learn from those. http://burgerweeshuis.sourceforge.net/

[Wicket-user] why AbstractRestartResponseException is abstract?

2007-04-24 Thread Andrew Klochkov
I want to start responce step immediately and I have to use the following strange code: throw new AbstractRestartResponseException() { }; Why is this class abstract? -- Andrew Klochkov - This SF.net email is

Re: [Wicket-user] why AbstractRestartResponseException is abstract?

2007-04-24 Thread Martijn Dashorst
Because the exception is meant to be abstract. Use RestartResponseException instead. The generated javadoc [1] clearly tells the direct subclasses, and your IDE should also be able to tell which are the subclasses (Eclipse: press f4 on the AbstractRestartResponseException). Martijn [1]

[Wicket-user] Getting error java.lang.ClassCastException: wicket.util.tester.WicketTester

2007-04-24 Thread Akshat
Providing the source class and its corresponding Test class package com.bsideinc.bsidecom.wicket.pages.sections; import com.bsideinc.bsidecom.wicket.pages.DefaultBsidePage; /** * User: gutter * Date: Feb 8, 2007 * Time: 1:38:03 PM */ public class DefaultHomePage extends DefaultBsidePage {

[Wicket-user] onGoingBack2Page(+innerForm) = innerForm.fields = empty!?

2007-04-24 Thread manu
Dear Sirs, The scenario is the following: - Page1 Form1 (innerClass) input1(String)... inputN(String) - Page2 Link/Button (whatever for going back to Page1 - has a reference object of Page1) ... - PageN Link/Button (idem) It happens that, when flowing-back from Page2, or... PageN, to

[Wicket-user] Difficulty with TextFields in ListView

2007-04-24 Thread Jesse Barnum
This example renders correctly, but every time I edit one of the values and hit the submit button, the TextFields are reverting to their initial value. The desired behavior is that the 'strings' list will be updated with whatever I enter into the text fields. What am I doing wrong? I am

Re: [Wicket-user] Difficulty with TextFields in ListView

2007-04-24 Thread Martijn Dashorst
Sorry to make a short note: http://cwiki.apache.org/WICKET/listview-and-other-repeaters.html Basically you need to setReuseItems(true) or use a repeater. Martijn On 4/24/07, Jesse Barnum [EMAIL PROTECTED] wrote: This example renders correctly, but every time I edit one of the values and hit

Re: [Wicket-user] Wicket 1.2.6 has been released

2007-04-24 Thread ZedroS Schwart
I'm now using Wicket 1.3 but, still, thanks for this release, especially this part : this interim release is provided outside of the ASF, solely as a service to existing Wicket users to resolve existing bugs in the Wicket product. It really shows how great a team you're ! Keep up the good work

Re: [Wicket-user] stateless and/ or bookmarkable pages in Wicket 1.3

2007-04-24 Thread ZedroS Schwart
Thanks for your answers. I've read that one can override the method getStatelessHint() as following : protected boolean getStatelessHint() { return true; } to have a stateless form/component. However, in the SignInForm

Re: [Wicket-user] Difficulty with TextFields in ListView

2007-04-24 Thread Jesse Barnum
Thanks, that's what I needed. --Jesse Barnum, President, 360Works http://www.360works.com (770) 234-9293 On Apr 24, 2007, at 8:53 AM, Martijn Dashorst wrote: Sorry to make a short note: http://cwiki.apache.org/WICKET/listview-and-other-repeaters.html Basically you need to

[Wicket-user] RadioGroup, not only the radios inside

2007-04-24 Thread kubino
Hello, I tried to search through the forum, but I couldnt find answer, I hope it is easy. Consider html page where is a filtering form with this possibilities: input type=radio / No filter input type=radio / FiltrSpecific : input type=text / input type=radio / Filtr all In java code, I

Re: [Wicket-user] NPE rendering ListView Item in 1.3

2007-04-24 Thread jamieballing
Thanks... Where is the best place to keep up to date on the snapshots? Are you versioning them yet and is there a current recommended snapshot or should we plan to keep up to date with the latest? Jamie igor.vaynberg wrote: first start off by showing your code. second, update to the latest

Re: [Wicket-user] Replace non-wicket attributed sections of a html document

2007-04-24 Thread Eelco Hillenius
Hi, Thanks for your reply. I'm familiar with wicket (reasonably anyway), that may not have been clear from the post. The admin of the CMS system is all using wicket, and I'm fairly happy with that. The situation is where the CMS content template pages are unknown in structure, but I just

[Wicket-user] Updating items of a Set...

2007-04-24 Thread ZedroS Schwart
Hi all As I'm new to wicket, I often wonder (especially when I encounter hurdles ;)) if the approach I take is the good one. So, if you don't mind, I will quickly introduce what I try to do, then present the solution I've retained up to now and, finally, the current hurdle ;). Feel free to

Re: [Wicket-user] Replace non-wicket attributed sections of a html document

2007-04-24 Thread Andrew Moore
I've had a go with the freemarker panel, and can get a simple example going. The thing is, instead of having a panel with a span tag, I'd like to actually parse the whole .html template file that gets generated by wicket. Does anyone know if it's possible to do that? Is there a way of getting

Re: [Wicket-user] General question on DetachableModel, edit form for based on set and components

2007-04-24 Thread Igor Vaynberg
On 4/24/07, Francois Armand [EMAIL PROTECTED] wrote:i only have time to help you with one, so here goes (I think that the printing of an entry would work on the same model, say : * given an entry { print the dn ; for each attribute { select a formatting method; for each value {

Re: [Wicket-user] onGoingBack2Page(+innerForm) = innerForm.fields = empty!?

2007-04-24 Thread Igor Vaynberg
you cannot navigate from page1-page2 via a link because that will not submit the form, and so you will lose all your values. try submitlink and make sure there are no form errors - ie all models have been updated with proper values - and then navigate to page2. -igor On 4/24/07, manu [EMAIL

Re: [Wicket-user] RadioGroup, not only the radios inside

2007-04-24 Thread Igor Vaynberg
you can put any kind of component into your RadioGroup container, it only exists as a boundary for Radio components inside it. so to make it short add the textfields into the radiogroup. -igor On 4/24/07, kubino [EMAIL PROTECTED] wrote: Hello, I tried to search through the forum, but I

Re: [Wicket-user] NPE rendering ListView Item in 1.3

2007-04-24 Thread Igor Vaynberg
you best bet is to stay current via our svn. there is also a maven repo with our stuff, but we make no guarantees about it. http://wicketstuff.org/maven/repository/ -igor On 4/24/07, jamieballing [EMAIL PROTECTED] wrote: Thanks... Where is the best place to keep up to date on the

Re: [Wicket-user] Replace non-wicket attributed sections of a html document

2007-04-24 Thread Igor Vaynberg
see IResponseFilter, install your own and you are good to go. -igor On 4/24/07, Andrew Moore [EMAIL PROTECTED] wrote: I've had a go with the freemarker panel, and can get a simple example going. The thing is, instead of having a panel with a span tag, I'd like to actually parse the whole

Re: [Wicket-user] RadioGroup, not only the radios inside

2007-04-24 Thread kubino
Shame on me, I didnt try this. Thanks a lot. igor.vaynberg wrote: you can put any kind of component into your RadioGroup container, it only exists as a boundary for Radio components inside it. so to make it short add the textfields into the radiogroup. -igor On 4/24/07, kubino

Re: [Wicket-user] How do I show/hide row

2007-04-24 Thread john . mattucci
I tried what you suggested i.e. swap a different fragment in but I can't seem to get it to work. I have the following. When I click on the delete link I want fragment1 to be replaced with fragment2. However fragment2 remains and is shifted to the right. What am I missing or doing wrong? Thanks

[Wicket-user] Sending Emails Via Wicket?

2007-04-24 Thread fattymelt
I DID search in the forums, and couldn't find reference to sending emails from within the framework. I did find a post where someone mentioned writing there own class for doing this. Does that mean there isn't any built-in classes that handle sending of emails from within Wicket? If not, can

Re: [Wicket-user] Sending Emails Via Wicket?

2007-04-24 Thread Eelco Hillenius
For the actual sending, you need to use Java's normal mail API (http://java.sun.com/products/javamail/) or e.g. Spring's mail module. If you want to create emails based on templates with some variable substibution, I'd recommend you use e.g. Velocity for that. Eelco I DID search in the

Re: [Wicket-user] Sending Emails Via Wicket?

2007-04-24 Thread fattymelt
I understand. I'm using the wicket-contrib-velocity package for some page generation, but I am unsure how I would generate a template /just/ for an email. Would you have an example of that? Or be able to point me to a tutorial, etc.? Much appreciated. Eelco Hillenius wrote: For the actual

[Wicket-user] DropDownChoice Ajax to render 1 of 3 forms

2007-04-24 Thread John Carlson
I have a page with a DropDownChoice box and 3 Forms. The Forms and DropDownChoice belong to the same Panel. I would like to only show one Form at a time via the selection made on the DropDownChoice box. I have added a AjaxFormComponentUpdatingBehavior onchange to the DropDownChoice and

Re: [Wicket-user] DropDownChoice Ajax to render 1 of 3 forms

2007-04-24 Thread Igor Vaynberg
do forms start out as invisible when the page renders first? if so try calling setoutputmarkupplaceholdertag(true) on them, or repaint their common parent. -igor On 4/24/07, John Carlson [EMAIL PROTECTED] wrote: I have a page with a DropDownChoice box and 3 Forms. The Forms and

[Wicket-user] What's the easiest way to do a pageable/sortable list screen?

2007-04-24 Thread mraible
What's the easiest way to do a pageable/sortable list with Wicket? Looking at the following example, there's quite a few files required to replicate the DisplayTag's functionality. http://www.wicket-library.com/wicket-examples/displaytag Is this packaged up as a component I can use? The other

Re: [Wicket-user] Sending Emails Via Wicket?

2007-04-24 Thread Nathan Hamblen
This is not a particularly beautiful, finished, or even properly-indented (not sure how that happened) implementation but it does manage to send me text emails with templated contents including URLs going back into Wicket:

Re: [Wicket-user] Help: Creating a Apache-licensed Wysiwyg-Textarea for Wicket

2007-04-24 Thread Thomas R. Corbin
On Tuesday 24 April 2007 2:14 am, Johan Compagner escreveu: And I also admit that I don't have the same patience as yours, providing code snippets all the time, answering to every question with such accuracy :-) Congratulations, Igor! +1 Igor for president! +1 Thanks to

Re: [Wicket-user] What's the easiest way to do a pageable/sortable list screen?

2007-04-24 Thread Igor Vaynberg
see http://wicketstuff.org/wicket13/repeater/ namely the datatable example -igor On 4/24/07, mraible [EMAIL PROTECTED] wrote: What's the easiest way to do a pageable/sortable list with Wicket? Looking at the following example, there's quite a few files required to replicate the

Re: [Wicket-user] question on localization

2007-04-24 Thread John Krasnay
You might want to make it so you can dynamically generate a page title where you need to, instead of always requiring a static page title. The trick is to return an IModel from the getPageTitle method in your base page. Here's how I've done it: title wicket:id=pageHeaderTitleFoo/title public

Re: [Wicket-user] Sending Emails Via Wicket?

2007-04-24 Thread Nick Heudecker
This should get you started: http://www.theserverside.com/tt/blogs/showblog.tss?id=SpringVelocityEmail - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control

Re: [Wicket-user] question on localization

2007-04-24 Thread Igor Vaynberg
this is bad. getpagetitle() might get called from a partially constructed object it should be public BasePage() { add(new Label(pageHeaderTitle, new pagetitlemodel())); } private class pagetitlemodel extends abstractreadonlymodel { object getobject() { return

[Wicket-user] Setting Visible (setVisible) inside onAttach(). Is this Right?

2007-04-24 Thread Francisco Diaz Trepat - gmail
Hi, I have this working code. But I feel I'am mistaking and this is not the most apropiate place for it. Very simple, a logout panel (just a link) that on attached sets itself visible or not. Here is the code. public class LogoutPanel extends BasePanel { /** Creates a new instance of

Re: [Wicket-user] Setting Visible (setVisible) inside onAttach(). Is this Right?

2007-04-24 Thread Francisco Diaz Trepat - gmail
Excelent. That means that isVisible is called every page refresh? Thanks On 4/24/07, Igor Vaynberg [EMAIL PROTECTED] wrote: change protected void onAttach() { //Verify visible status setVisible(getWicketSession().isUserLoggedIn()); } to boolean isVisible() { return

Re: [Wicket-user] Setting Visible (setVisible) inside onAttach(). Is this Right?

2007-04-24 Thread Igor Vaynberg
yes, any time the component is rendered -igor On 4/24/07, Francisco Diaz Trepat - gmail [EMAIL PROTECTED] wrote: Excelent. That means that isVisible is called every page refresh? Thanks On 4/24/07, Igor Vaynberg [EMAIL PROTECTED] wrote: change protected void onAttach() {

Re: [Wicket-user] DropDownChoice Ajax to render 1 of 3 forms

2007-04-24 Thread John Carlson
Calling repaint on the entire panel did the job. target.addComponent(dropdown.getParent()) Thanks John From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Igor Vaynberg Sent: Tuesday, April 24, 2007 8:38 AM To:

Re: [Wicket-user] Setting Visible (setVisible) inside onAttach(). Is this Right?

2007-04-24 Thread Francisco Diaz Trepat - gmail
Great, thanks Igor. On 4/24/07, Igor Vaynberg [EMAIL PROTECTED] wrote: yes, any time the component is rendered -igor On 4/24/07, Francisco Diaz Trepat - gmail [EMAIL PROTECTED] wrote: Excelent. That means that isVisible is called every page refresh? Thanks On 4/24/07, Igor Vaynberg

[Wicket-user] Validation of Date Range with DateValidator.

2007-04-24 Thread Francisco Diaz Trepat - gmail
Hi again group, I have the following problem. I use a DateValidator.range(min, max) to add a validation to a text field. Everything works fine, but as soon as I change the locale to german, french, or italian, it does not validate again. It keeps validating wether or not is required but not the

Re: [Wicket-user] How do I show/hide row

2007-04-24 Thread john . mattucci
Ok figured it out. I set ListView.setReuseItems(true); and it works. Thanks again for all your help john.mattuc [EMAIL PROTECTED]

[Wicket-user] Logging Out (What to do with the session)

2007-04-24 Thread Francisco Diaz Trepat - gmail
Hello everyone, I was wondering for a proper way to handle sessions and logging in and out of a wicket application in general. The thing is as follows. I have a Session called WicketSession, inside of which I use a CORBA BUISINESS object labeled m_cSession to do a Login. WicketSession has the

Re: [Wicket-user] Logging Out (What to do with the session)

2007-04-24 Thread Igor Vaynberg
yes i would invalidate the session: onclick() { final string url=urlfor(HomePage.class); getsession().invalidate(); getrequestcycle().pushTarget(new RedirectRequestTarget(url)); } something like that -igor On 4/24/07, Francisco Diaz Trepat - gmail [EMAIL PROTECTED] wrote: Hello

Re: [Wicket-user] Logging Out (What to do with the session)

2007-04-24 Thread Francisco Diaz Trepat - gmail
Off the top of your head again? ¬_¬ (me needs that head). Great thanks. On 4/24/07, Igor Vaynberg [EMAIL PROTECTED] wrote: yes i would invalidate the session: onclick() { final string url=urlfor(HomePage.class); getsession().invalidate(); getrequestcycle().pushTarget(new

Re: [Wicket-user] Logging Out (What to do with the session)

2007-04-24 Thread Eelco Hillenius
onclick() { final string url=urlfor(HomePage.class); getsession().invalidate(); getrequestcycle().pushTarget(new RedirectRequestTarget(url)); } Or just onClick() { Session.get().invalidate(); // invalidated after the request is handled setResponsePage(Home.class); } This

Re: [Wicket-user] Logging Out (What to do with the session)

2007-04-24 Thread Francisco Diaz Trepat - gmail
Great, both of them worked. Only this: getRequestCycle().setRequestTarget(new RedirectRequestTarget(url)); On 4/24/07, Eelco Hillenius [EMAIL PROTECTED] wrote: onclick() { final string url=urlfor(HomePage.class); getsession().invalidate(); getrequestcycle().pushTarget(new

Re: [Wicket-user] Logging Out (What to do with the session)

2007-04-24 Thread Eelco Hillenius
Great, both of them worked. Only this: getRequestCycle().setRequestTarget(new RedirectRequestTarget(url)); What do you mean? Eelco - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE

Re: [Wicket-user] Logging Out (What to do with the session)

2007-04-24 Thread Francisco Diaz Trepat - gmail
In the message that I sent I am sure that the text that Igor sent was included. if not here it is: Igor Vaynberg wrote:: onclick() { final string url=urlfor(HomePage.class); getsession().invalidate(); getrequestcycle().pushTarget(new RedirectRequestTarget(url)); } Only this:

Re: [Wicket-user] What's the easiest way to do a pageable/sortable list screen?

2007-04-24 Thread mraible
That site has a way to view the source of the templates, but not the Java code. Anywhere I can download that? What's the least amount of required classes to do a sortable/pageable grid with i18n? Compared to all the other web frameworks I've used, Wicket seems to make this the most difficult.

Re: [Wicket-user] What's the easiest way to do a pageable/sortable list screen?

2007-04-24 Thread Eelco Hillenius
You can check out the wicket-examples code from svn at https://svn.apache.org/repos/asf/incubator/wicket/trunk/jdk-1.5/wicket-examples (or download it, but where's the fun in that) and then check out package org.apache.wicket.examples.repeater or org.apache.wicket.examples.guestbook etc. Eelco

Re: [Wicket-user] What's the easiest way to do a pageable/sortable list screen?

2007-04-24 Thread Matej Knopp
Hi, the code for sortable pageable list can look like this: public class SortingPage extends BasePage { public SortingPage() { SortableContactDataProvider dp = new SortableContactDataProvider(); final DataView dataView = new DataView(sorting, dp)

Re: [Wicket-user] What's the easiest way to do a pageable/sortable list screen?

2007-04-24 Thread Igor Vaynberg
On 4/24/07, mraible [EMAIL PROTECTED] wrote: That site has a way to view the source of the templates, but not the Java code. Anywhere I can download that? what i pointed to is the wicket-examples project. the source code is available in our svn. the link to that is available on our site.

Re: [Wicket-user] question on localization

2007-04-24 Thread John Krasnay
Ah, yes, this is much better. It bothered me enough to put a warning in the Javadoc, but that's a poor substitute for something that just works. I'll be fixing our code in the morning. Thanks Igor. jk On Tue, Apr 24, 2007 at 11:00:05AM -0700, Igor Vaynberg wrote: this is bad. getpagetitle()

Re: [Wicket-user] What's the easiest way to do a pageable/sortable list screen?

2007-04-24 Thread mraible
Thanks guys - I appreciate all your help. I've decided to go with DataView over DefaultDataTable because I couldn't get the click on column value for link[1] to work. Unfortunately, the following doesn't work with Wicket 1.2.6: item.add(new

Re: [Wicket-user] What's the easiest way to do a pageable/sortable list screen?

2007-04-24 Thread Eelco Hillenius
Thanks guys - I appreciate all your help. I've decided to go with DataView over DefaultDataTable because I couldn't get the click on column value for link[1] to work. Unfortunately, the following doesn't work with Wicket 1.2.6: item.add(new

[Wicket-user] Is there a success message example?

2007-04-24 Thread mraible
I'm trying to success messages working. In my Detail.java page, I have: protected void onSaveUser(User user) { userManager.saveUser(user); getSession().info(It worked!); setRedirect(true); setResponsePage(backPage); } First of all, is this the proper way

Re: [Wicket-user] What's the easiest way to do a pageable/sortable list screen?

2007-04-24 Thread mraible
The stack trace I was getting turned out to be caused by something else - the code I posted actually does work. As far as moving to 1.3, I'll be happy to do that if there's a beta (or snapshot) release in a public Maven repo. Thanks, Matt Eelco Hillenius wrote: Thanks guys - I appreciate

Re: [Wicket-user] What's the easiest way to do a pageable/sortable list screen?

2007-04-24 Thread Eelco Hillenius
Fresh snapshots are deployed on our maven repository[1] by bamboo[2] . So including: repository repository idwicket-stuff.org/id urlhttp://wicketstuff.org/maven/repository//url snapshots enabledtrue/enabled /snapshots /repository /repositories and: dependency

Re: [Wicket-user] Is there a success message example?

2007-04-24 Thread Nick Heudecker
You can just add a FeedbackPanel to the Page: add(new FeedbackPanel(feedback)); span wicket:id=feedback/span Then call your info(...), error(...) or whatever method: info(It Worked!); I haven't worked with 1.3 yet, so I don't know if anything has changed there. On 4/24/07, mraible [EMAIL

Re: [Wicket-user] Is there a success message example?

2007-04-24 Thread Eelco Hillenius
I'm trying to success messages working. In my Detail.java page, I have: protected void onSaveUser(User user) { userManager.saveUser(user); getSession().info(It worked!); setRedirect(true); setResponsePage(backPage); } First of all, is this the

[Wicket-user] problem with browser back-button and links after ajax replace

2007-04-24 Thread Peter Thomas
Hi, I'm having this problem when I back-button to a page with a panel that replaced itself with another panel containing a link - and re-try the link: WicketMessage: Method onLinkClicked of interface org.apache.wicket.markup.html.link.ILinkListener targeted at component [MarkupContainer

Re: [Wicket-user] Is there a success message example?

2007-04-24 Thread Igor Vaynberg
for a full crud app wicket+spring+hibernate/ibatis/shades see wicket-phonebook project in wicket-stuff.sf.net it has the feedback messages and grids you want. also for models you can read here http://cwiki.apache.org/confluence/display/WICKET/Working+with+Wicket+models -igor On 4/24/07,

Re: [Wicket-user] Is there a success message example?

2007-04-24 Thread mraible
Eelco Hillenius wrote: I'm trying to success messages working. In my Detail.java page, I have: protected void onSaveUser(User user) { userManager.saveUser(user); getSession().info(It worked!); setRedirect(true); setResponsePage(backPage); }

Re: [Wicket-user] Is there a success message example?

2007-04-24 Thread mraible
Got it - I needed getSession().info() instead of info(). Thanks guys - I really appreciate the excellent support. Matt mraible wrote: Eelco Hillenius wrote: I'm trying to success messages working. In my Detail.java page, I have: protected void onSaveUser(User user) {

Re: [Wicket-user] Is there a success message example?

2007-04-24 Thread Igor Vaynberg
On 4/24/07, mraible [EMAIL PROTECTED] wrote: You typically don't need to call setRedirect yourself though. Was there any reason for doing that? Also, flash message works good here, but if you already know the page you are going to display it on, you might as well set it on there. I'm

Re: [Wicket-user] Getting error java.lang.ClassCastException: wicket.util.tester.WicketTester

2007-04-24 Thread Eelco Hillenius
Can you give us the stack trace you get? Eelco On 4/24/07, Akshat [EMAIL PROTECTED] wrote: Providing the source class and its corresponding Test class package com.bsideinc.bsidecom.wicket.pages.sections; import com.bsideinc.bsidecom.wicket.pages.DefaultBsidePage; /** * User: gutter *