What about src attributes of images?
There could be many more places where urls can be generated.
i think more in the line of WebPage.generatedFullQualifiedLinks()
because WebPage is the place most links would be generated
Als RequestCycle has link generation (i still don't like that we have this code duplication... need to refactor this sometime)
johan
On 10/9/05, pepone pepone <[EMAIL PROTECTED]> wrote:
Hello boys
i want to create a wicket page that can be send via email, this page
is a typical confirm acount page that is send to new users in a web
application
any ideas to get the html of a page in a form submition
i think in samething like this
public void onSubmit()
{
ConfirmationPage page=new ConfirmationPage(parameters);
String htmlBuffer=page.getRenderString();
// TOOD Send htmlBuffer via email
}
A problem to do this is that links url must be absoulte and actualy
all are relative it can be solved overloading a method in links but
can be util get this functionality inside wicket core
link.setUseAbsoulteURL (true);
a default to false like now
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user