|
View:
New views
20 Messages
—
Rating Filter:
Alert me
|
| < Prev | 1 - 2 | Next > |
|
|
How to get HTML source code from a wicket page
by Srinu Sunkara
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message Hi - I am trying to get the HTML source code of a web page with in the program (so that I can send this in an email). Can some one tell me how can I get the HTML source.
Thank you, -Srini
Choose the right car based on your needs. Check out Yahoo! Autos new Car Finder tool. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@... https://lists.sourceforge.net/lists/listinfo/wicket-user |
|
|
Re: How to get HTML source code from a wicket page
by Jean-Baptiste Quenot-3
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message * Srinu Sunkara:
> Hi - I am trying to get the HTML source code of a web page with > in the program (so that I can send this in an email). Can some > one tell me how can I get the HTML source. Sure. Processing a Wicket page and sending the result to a buffer can be achieved through StringRequestTarget, thus allowing you to use the buffer contents for sending email. See RequestCycle.setRequestTarget() You can find the full answer on this thread: http://www.nabble.com/Sending-Emails-Via-Wicket--t3639601.html Hope this helps, -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@... https://lists.sourceforge.net/lists/listinfo/wicket-user |
|
|
Re: How to get HTML source code from a wicket page
by John Krasnay
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message Thanks for the tip, but could you give us a little more of a clue? For
example, from where should we get the RequestCycle? Using RequestCycle.get() doesn't sound right, since that's for the response we're sending to the browser, not for the HTML we want to render into the email. I looked into the WicketTester, as suggested by a previous response. It creates a WebRequestCycle, but it needs quite a bit of plumbing like a mock session, request, response, application, etc. Is this what we really have to do, in addition to using the StringRequestTarget? jk On Sat, Jun 23, 2007 at 04:30:23PM +0200, Jean-Baptiste Quenot wrote: > * Srinu Sunkara: > > > Hi - I am trying to get the HTML source code of a web page with > > in the program (so that I can send this in an email). Can some > > one tell me how can I get the HTML source. > > Sure. Processing a Wicket page and sending the result to a buffer > can be achieved through StringRequestTarget, thus allowing you to > use the buffer contents for sending email. > > See RequestCycle.setRequestTarget() > > You can find the full answer on this thread: > http://www.nabble.com/Sending-Emails-Via-Wicket--t3639601.html > > Hope this helps, > -- > Jean-Baptiste Quenot > aka John Banana Qwerty > http://caraldi.com/jbq/ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Wicket-user mailing list > Wicket-user@... > https://lists.sourceforge.net/lists/listinfo/wicket-user ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@... https://lists.sourceforge.net/lists/listinfo/wicket-user |
|
|
Re: How to get HTML source code from a wicket page
by igor.vaynberg
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message On 6/23/07, John Krasnay <john@...> wrote:
Thanks for the tip, but could you give us a little more of a clue? For see our tests. all the mock setup is done for you. our tests simply call a few methods and get a page rendered into a string that is then compared to another file. -igor jk ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@... https://lists.sourceforge.net/lists/listinfo/wicket-user |
|
|
Re: How to get HTML source code from a wicket page
by John Krasnay
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message OK, so WicketTester is the way to go. JBQ's response implied that there
was a more direct way to do it, but I'll give WicketTester a try. Thanks, jk On Sat, Jun 23, 2007 at 08:05:58PM -0700, Igor Vaynberg wrote: > > see our tests. all the mock setup is done for you. our tests simply call a > few methods and get a page rendered into a string that is then compared to > another file. > > -igor ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@... https://lists.sourceforge.net/lists/listinfo/wicket-user |
|
|
Re: How to get HTML source code from a wicket page
by Jean-Baptiste Quenot-3
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message * John Krasnay:
> OK, so WicketTester is the way to go. JBQ's response implied that there > was a more direct way to do it, but I'll give WicketTester a try. Yes there is a more direct way. I'm sorry I made an error, I meant StringResponse, not StringRequestTarget. I spent a few minutes writing the example, as this is a recurring question, here it is: http://svn.apache.org/viewvc/incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/staticpages/Application.java?revision=550248&view=markup Look at the very bottom, where I'm using a custom BookmarkablePageRequestTarget: new BookmarkablePageRequestTarget(Page.class, params) { /** * @see org.apache.wicket.request.target.component.BookmarkablePageRequestTarget#respond(org.apache.wicket.RequestCycle) */ @Override public void respond(RequestCycle requestCycle) { if (requestParams.getString("email") != null) { final StringResponse emailResponse = new StringResponse(); final WebResponse originalResponse = (WebResponse)RequestCycle.get().getResponse(); RequestCycle.get().setResponse(emailResponse); super.respond(requestCycle); // Here send the email instead of dumping it to stdout! System.out.println(emailResponse.toString()); RequestCycle.get().setResponse(originalResponse); RequestCycle.get().setRequestTarget(new BookmarkablePageRequestTarget(Sent.class)); } else { super.respond(requestCycle); } } }; The example can be found in latest wicket examples in the "staticpages" demo. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@... https://lists.sourceforge.net/lists/listinfo/wicket-user |
|
|
Re: How to get HTML source code from a wicket page
by John Krasnay
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message Ah, that makes more sense. Thanks for the clarification and example.
jk On Sun, Jun 24, 2007 at 05:15:14PM +0200, Jean-Baptiste Quenot wrote: > > Yes there is a more direct way. I'm sorry I made an error, I > meant StringResponse, not StringRequestTarget. I spent a few > minutes writing the example, as this is a recurring question, here > it is: > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@... https://lists.sourceforge.net/lists/listinfo/wicket-user |
|
|
Re: How to get HTML source code from a wicket page
by Jeremy Thomerson-2
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message I hope someone can give me a hand. I'm trying to do something similar, and seemingly stumped.
I have a form that I want to have the user fill out, and then I just want to email the completed form to someone on our team. So, I created subclasses of form components that can be switched from "edit" to "view" mode, and that works great. So, I submit the form, and swap them out to "view" mode so that it is the exact same form, except instead of text fields and the like, I then have labels that display the input, in an un-editable way. Now, the problem: In the onSubmit() of my Button, I switch the fields over, and then I would like to render the page to a String and email it, and then render the page for the user. I've tried the methods below, and both are failing - can someone please help. First, I tried JBQ's method, slightly modified since I'm not in a request target. Maybe that's the problem. Maybe I need to specifically mount this page to a request strategy as he does in the example. But, I'd rather be able to accomplish this in the form itself. final StringResponse emailResponse = new StringResponse(); final WebResponse originalResponse = (WebResponse)RequestCycle.get().getResponse(); RequestCycle.get ().setResponse(emailResponse); RequestCycle.get().getRequestTarget().respond(RequestCycle.get()); // Here send the email instead of dumping it to stdout! System.out.println(emailResponse.toString()); RequestCycle.get().setResponse(originalResponse); RequestCycle.get().setRequestTarget(new BookmarkablePageRequestTarget(Home.class)); I get this error (BTW - I'm on 1.2.6 with this app until we have an RC release): Caused by: java.lang.ClassCastException: wicket.response.StringResponse at wicket.protocol.http.WebRequestCycle.getWebResponse(WebRequestCycle.java:110) at wicket.markup.html.WebPage.configureResponse (WebPage.java:249) at wicket.markup.html.pages.ExceptionErrorPage.configureResponse(ExceptionErrorPage.java:106) at wicket.Page.onRender(Page.java:854) at wicket.Component.render(Component.java:1526) at wicket.Page.renderPage(Page.java:408) at wicket.request.target.component.PageRequestTarget.respond(PageRequestTarget.java:67) at wicket.request.compound.DefaultResponseStrategy.respond(DefaultResponseStrategy.java :49) at wicket.request.compound.AbstractCompoundRequestCycleProcessor.respond(AbstractCompoundRequestCycleProcessor.java:66) at wicket.RequestCycle.respond(RequestCycle.java:950) at wicket.RequestCycle.step (RequestCycle.java:1025) I also tried using WicketTester in my onSubmit, and it failed: WicketTester tester = new WicketTester(); tester.startPage(AdvertiseOnTHF.this); String email = tester.getServletResponse().getDocument(); // Here send the email instead of dumping it to stdout! System.out.println("EMAIL: " + email); info("Your request has been sent."); I can't do this because a lot of things in my app depend on getSession() being my sub-class of WebSession, and getApp() being my sub-class of WebApp. So, what to do? Any suggestions? Should I just mount this form specifically to a request strategy and do it more like JBQ's example? Thank you! Jeremy Thomerson On 6/24/07, Jean-Baptiste Quenot <jbq@...> wrote: * John Krasnay: ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@... https://lists.sourceforge.net/lists/listinfo/wicket-user |
|
|
Re: How to get HTML source code from a wicket page
by Jean-Baptiste Quenot-3
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message * Jeremy Thomerson:
> I hope someone can give me a hand. I'm trying to do something similar, and > seemingly stumped. > > I have a form that I want to have the user fill out, and then I just want to > email the completed form to someone on our team. So, I created subclasses > of form components that can be switched from "edit" to "view" mode, and that > works great. So, I submit the form, and swap them out to "view" mode so > that it is the exact same form, except instead of text fields and the like, > I then have labels that display the input, in an un-editable way. > > Now, the problem: In the onSubmit() of my Button, I switch the fields over, > and then I would like to render the page to a String and email it, and then > render the page for the user. > > I've tried the methods below, and both are failing - can someone please > help. > > First, I tried JBQ's method, slightly modified since I'm not in a request > target. Maybe that's the problem. Maybe I need to specifically mount this > page to a request strategy as he does in the example. But, I'd rather be > able to accomplish this in the form itself. > > final StringResponse emailResponse = new StringResponse(); > final WebResponse originalResponse = > (WebResponse)RequestCycle.get().getResponse(); > RequestCycle.get().setResponse(emailResponse); > RequestCycle.get().getRequestTarget().respond(RequestCycle.get()); > // Here send the email instead of dumping it to stdout! > System.out.println(emailResponse.toString()); > RequestCycle.get().setResponse(originalResponse); > RequestCycle.get().setRequestTarget(new BookmarkablePageRequestTarget( > Home.class)); > > I get this error (BTW - I'm on 1.2.6 with this app until we have an RC > release): > > Caused by: java.lang.ClassCastException: wicket.response.StringResponse > at wicket.protocol.http.WebRequestCycle.getWebResponse( > WebRequestCycle.java:110) > at wicket.markup.html.WebPage.configureResponse(WebPage.java:249) > at wicket.markup.html.pages.ExceptionErrorPage.configureResponse( > ExceptionErrorPage.java:106) > at wicket.Page.onRender(Page.java:854) > at wicket.Component.render(Component.java:1526) > at wicket.Page.renderPage(Page.java:408) > at wicket.request.target.component.PageRequestTarget.respond( > PageRequestTarget.java:67) > at wicket.request.compound.DefaultResponseStrategy.respond( > DefaultResponseStrategy.java:49) > at wicket.request.compound.AbstractCompoundRequestCycleProcessor.respond > (AbstractCompoundRequestCycleProcessor.java:66) > at wicket.RequestCycle.respond(RequestCycle.java:950) > at wicket.RequestCycle.step(RequestCycle.java:1025) It's not your fault. I didn't mention that you need to upgrade to the latest beta2 for this to work, as there is a nasty cast to WebResponse in WebPage.java that I removed. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@... https://lists.sourceforge.net/lists/listinfo/wicket-user |
|
|
Re: How to get HTML source code from a wicket page
by Tremelune
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message I'm having a great deal of trouble getting this to fire. How does one accomplish this in the middle of, say, some run-of-the-mill Wicket page? If I do something like this, I get an error that "/pages" has already been mounted (which it has, during my app's initialization). I also tried to do all this in a unit test, but the overridden method never fired. I can't seem to figure out where this gets plugged in. Example:
class Welcome extends WebPage { Welcome() { ((WebApplication) getApplication()).mount(new URIRequestTargetUrlCodingStrategy("/pages") { @Override public IRequestTarget decode(RequestParameters requestParameters) { final ValueMap requestParams = decodeParameters(requestParameters); PageParameters params = new PageParameters(); params.put("uri", requestParams.get(URI)); return new BookmarkablePageRequestTarget(Page.class, params) { @Override public void respond(RequestCycle requestCycle) { if (requestParams.getString("email") != null) { final StringResponse emailResponse = new StringResponse(); final WebResponse originalResponse = (WebResponse) RequestCycle.get().getResponse(); RequestCycle.get().setResponse(emailResponse); super.respond(requestCycle); // Here send the email instead of dumping it to stdout! System.out.println(emailResponse.toString()); RequestCycle.get().setResponse(originalResponse); RequestCycle.get().setRequestTarget(new BookmarkablePageRequestTarget(TestEmail.class)); } else { super.respond(requestCycle); } } }; } }); } } |
|
|
Re: How to get HTML source code from a wicket page
by David Bernard-2
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message Why do you mount in the WebPage and not in the Application.init() ?
I'm new to wicket. A problem, I see is that each time the Welcome page is instantiated, then you try to mount (re add the rules). (You copy from the staticpage examples but you don't paste in Application like in the examples.) Regards. Tremelune wrote: > I'm having a great deal of trouble getting this to fire. How does one > accomplish this in the middle of, say, some run-of-the-mill Wicket page? If > I do something like this, I get an error that "/pages" has already been > mounted (which it has, during my app's initialization). I also tried to do > all this in a unit test, but the overridden method never fired. I can't seem > to figure out where this gets plugged in. Example: > > class Welcome extends WebPage { > Welcome() { > ((WebApplication) getApplication()).mount(new > URIRequestTargetUrlCodingStrategy("/pages") { > @Override > public IRequestTarget decode(RequestParameters requestParameters) { > final ValueMap requestParams = decodeParameters(requestParameters); > PageParameters params = new PageParameters(); > params.put("uri", requestParams.get(URI)); > return new BookmarkablePageRequestTarget(Page.class, params) { > @Override > public void respond(RequestCycle requestCycle) { > if (requestParams.getString("email") != null) { > final StringResponse emailResponse = new StringResponse(); > final WebResponse originalResponse = (WebResponse) > RequestCycle.get().getResponse(); > RequestCycle.get().setResponse(emailResponse); > super.respond(requestCycle); > // Here send the email instead of dumping it to stdout! > System.out.println(emailResponse.toString()); > RequestCycle.get().setResponse(originalResponse); > RequestCycle.get().setRequestTarget(new > BookmarkablePageRequestTarget(TestEmail.class)); > } else { > super.respond(requestCycle); > } > } > }; > } > }); > } > } > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@... https://lists.sourceforge.net/lists/listinfo/wicket-user |
|
|
Re: How to get HTML source code from a wicket page
by Tremelune
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message Well, I don't want to render these emails during initialization. They will probably need request-time parameters. I will need to be able to render different HTML depending on certain request parameters.
I'm mucking around with WicketTester some, and I'm going to try and extend (and set) WebApplication to do some of this in init() and see what happens.
|
|
|
Re: How to get HTML source code from a wicket page
by Tremelune
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message So here's a junit test:
public void testThisThing() { System.out.println("Testing..."); WicketTester tester = new WicketTester(new TestApp()); System.out.println("Testing page thing"); tester.startPage(TestEmail.class); } private class TestApp extends WebApplication { public Class getHomePage() { return TestEmail.class; } protected void init() { super.init(); System.out.println("Initifying"); mount(new URIRequestTargetUrlCodingStrategy("/pages") { @Override public IRequestTarget decode(RequestParameters requestParameters) { System.out.println("Decoderizing"); final ValueMap requestParams = decodeParameters(requestParameters); PageParameters params = new PageParameters(); params.put("uri", requestParams.get(URI)); return new BookmarkablePageRequestTarget(Page.class, params) { @Override public void respond(RequestCycle requestCycle) { System.out.println("Respondificating"); if (requestParams.getString("email") != null) { StringResponse emailResponse = new StringResponse(); WebResponse originalResponse = (WebResponse) RequestCycle.get().getResponse(); RequestCycle.get().setResponse(emailResponse); super.respond(requestCycle); // Here send the email instead of dumping it to stdout! System.out.println(emailResponse.toString()); RequestCycle.get().setResponse(originalResponse); RequestCycle.get().setRequestTarget(new BookmarkablePageRequestTarget(TestEmail.class)); } else { super.respond(requestCycle); } } }; } }); } } Here's the output: Testing... Initifying ******************************************************************** *** WARNING: Wicket is running in DEVELOPMENT mode. *** *** ^^^^^^^^^^^ *** *** Do NOT deploy to your live server(s) without changing this. *** *** See Application#getConfigurationType() for more information. *** ******************************************************************** Testing page thing The URIRequestTargetUrlCodingStrategy stuff just doesn't want to fire...Things are murky for me at this point. I'm mostly poking around at examples and I'm not sure what is doing what exactly. |
|
|
Re: How to get HTML source code from a wicket page
by David Bernard-2
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message the email isn't displayed because : your rule is associated to the mount point "/pages" and you don't call it.
You need to call "/pages" with a parameter (queryString) email not null. (I don't know how to simulate this with WicketTester) Tremelune wrote: > So here's a junit test: > > public void testThisThing() { > System.out.println("Testing..."); > WicketTester tester = new WicketTester(new TestApp()); > > System.out.println("Testing page thing"); > tester.startPage(TestEmail.class); > } > > private class TestApp extends WebApplication { > public Class getHomePage() { > return TestEmail.class; > } > > protected void init() { > super.init(); > > System.out.println("Initifying"); > mount(new URIRequestTargetUrlCodingStrategy("/pages") { > @Override > public IRequestTarget decode(RequestParameters requestParameters) { > System.out.println("Decoderizing"); > final ValueMap requestParams = > decodeParameters(requestParameters); > PageParameters params = new PageParameters(); > params.put("uri", requestParams.get(URI)); > return new BookmarkablePageRequestTarget(Page.class, params) { > @Override > public void respond(RequestCycle requestCycle) { > System.out.println("Respondificating"); > if (requestParams.getString("email") != null) { > StringResponse emailResponse = new StringResponse(); > WebResponse originalResponse = (WebResponse) > RequestCycle.get().getResponse(); > RequestCycle.get().setResponse(emailResponse); > super.respond(requestCycle); > // Here send the email instead of dumping it to stdout! > System.out.println(emailResponse.toString()); > RequestCycle.get().setResponse(originalResponse); > RequestCycle.get().setRequestTarget(new > BookmarkablePageRequestTarget(TestEmail.class)); > } else { > super.respond(requestCycle); > } > } > }; > } > }); > } > } > > Here's the output: > > Testing... > Initifying > ******************************************************************** > *** WARNING: Wicket is running in DEVELOPMENT mode. *** > *** ^^^^^^^^^^^ *** > *** Do NOT deploy to your live server(s) without changing this. *** > *** See Application#getConfigurationType() for more information. *** > ******************************************************************** > Testing page thing > > The URIRequestTargetUrlCodingStrategy stuff just doesn't want to > fire...Things are murky for me at this point. I'm mostly poking around at > examples and I'm not sure what is doing what exactly. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@... https://lists.sourceforge.net/lists/listinfo/wicket-user |
|
|
Re: How to get HTML source code from a wicket page
by Tremelune
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message That's true, but the real problem is that decode() isn't firing at all.
|
|
|
Re: How to get HTML source code from a wicket page
by David Bernard-2
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message decode() is fired when you call "/pages" url. In the init() you only "define" the method.
Tremelune wrote: > That's true, but the real problem is that decode() isn't firing at all. > > > > > the email isn't displayed because : your rule is associated to the mount > point "/pages" and you don't call it. > You need to call "/pages" with a parameter (queryString) email not null. (I > don't know how to simulate this with WicketTester) > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wicket-user mailing list Wicket-user@... https://lists.sourceforge.net/lists/listinfo/wicket-user |
|
|