Re: Wicket mail and pdf

2013-06-15 Thread Piratenvisier

Martin forget this mail, I think its a problem of flyingsaucer.

Am 15.06.2013 16:52, schrieb Piratenvisier:

Hello Martin,

I succeeded including the mail functionality.
It has nothing to do with wicket.
The example helps you to send an email message with a link to wicket.
I succeeded in producung an Itext-Pdf Document and opening it by 
acrobat as a link.
I succeeded to produce a mail with an pdf document attachment produced 
by Itext
and then I tried to produce a pdfattachment of a wicket page by using 
ComponentRenderer.renderPage
and flyingsaucer and had the problem that the html-tag and the 
body-tag are missing



Am 13.06.2013 12:53, schrieb Martin Grigorov:

Hi,


On Thu, Jun 13, 2013 at 1:48 PM, Piratenvisier
wrote:


Martin thank you for your instantanious answers,

I tried the mailtemplate example changed resource.text to 
resource.pdf and

after some research concerning the error I got included
   IPackageResourceGuard packageResourceGuard =
getResourceSettings().**getPackageResourceGuard();
 if (packageResourceGuard instanceof
SecurePackageResourceGuard)
 {
 SecurePackageResourceGuard guard =
(SecurePackageResourceGuard)
packageResourceGuard;
 guard.addPattern("+*.pdf");
 }
in the init method of the Application.
I get the Document :




A template based on a page




Hello,Braun

You receive this email because you are subscribed for our products.
We just released a new version of product X.


Please download ithttp://localhost:8080/**
mailtemplate/wicket/resource/**org.apache.wicket.examples.**
asemail.MailTemplate/resource.**pdf 


">here!


Sincerely,
The Marketing team



and when I use the link I get the error:

Problem accessing /mailtemplate/wicket/resource/**
org.apache.wicket.examples.**asemail.MailTemplate/resource.**pdf. 
Reason:


 Unable to find resource


What is still wrong ?

I guess resource.pdf is not copied in target/classes/ folder by 
Maven.

Check that resource.pdf is next to MailTemplate.class





Am 11.06.2013 08:45, schrieb Martin Grigorov:


Hi,

At http://www.wicket-library.com/**wicket-examples-6.0.x/**
mailtemplate/?0you 


can see an example of rendering the markup for a page, a panel and a
resource.
At 
http://markmail.org/message/**em4wqtsxhetu4skjyou 
can see how to create

PDF out of the produced HTML.


On Tue, Jun 11, 2013 at 9:39 AM, Piratenvisier
**wrote:

  Does anybody know some example example code to start with

concerning email and pdf

Thanks in advance
Heiner Braun
Am 10.06.2013 10:34, schrieb Martin Grigorov:

  Hi,
If you use Wicket 6.7.0+ then you can use ComponentRenderer class 
to get

the markup of any Wicket Page/Panel/Component.
Then you can use the generated markup for mails and PDF creation.
For PDF creation you can check
https://github.com/flyingsaucerproject/flyingsaucer 

 


.

There is a mail in the
users@ mail archives from the last few days by another user 
showing how

to
use FlyingSaucer's ITextRenderer.


On Sat, Jun 8, 2013 at 8:39 PM, Piratenvisier<**hansheinrichbrau**
n...@yahoo.de

wrote:


   I wanted to integrate mail and pdf creation in my wicket 
application.



Till now I manage this by sending a request to a cocoon-2.2.0
application.
This is a good solution but because I see no upgrade way using my
cocoon
application
and integrating newer versions of spring I am looking for an
alternative.

Heiner

--**--**--** 


--**-
To unsubscribe, e-mail: users-unsubscribe@wicket.apa**che.org<
http://apache.org**>
http://wicket.apache.org><
users-unsubscribe@**wicket.apache.org 


For additional commands, e-mail: users-h...@wicket.apache.org



  --**

--**-
To unsubscribe, e-mail: 
users-unsubscribe@wicket.**apa**che.org
 


For additional commands, e-mail: users-h...@wicket.apache.org






-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket mail and pdf

2013-06-15 Thread Piratenvisier

Hello Martin,

I succeeded including the mail functionality.
It has nothing to do with wicket.
The example helps you to send an email message with a link to wicket.
I succeeded in producung an Itext-Pdf Document and opening it by acrobat 
as a link.
I succeeded to produce a mail with an pdf document attachment produced 
by Itext
and then I tried to produce a pdfattachment of a wicket page by using 
ComponentRenderer.renderPage
and flyingsaucer and had the problem that the html-tag and the body-tag 
are missing



Am 13.06.2013 12:53, schrieb Martin Grigorov:

Hi,


On Thu, Jun 13, 2013 at 1:48 PM, Piratenvisier
wrote:


Martin thank you for your instantanious answers,

I tried the mailtemplate example changed resource.text to resource.pdf and
after some research concerning the error I got included
   IPackageResourceGuard packageResourceGuard =
getResourceSettings().**getPackageResourceGuard();
 if (packageResourceGuard instanceof
SecurePackageResourceGuard)
 {
 SecurePackageResourceGuard guard =
(SecurePackageResourceGuard)
packageResourceGuard;
 guard.addPattern("+*.pdf");
 }
in the init method of the Application.
I get the Document :




A template based on a page




Hello,Braun

You receive this email because you are subscribed for our products.
We just released a new version of product X.


Please download ithttp://localhost:8080/**
mailtemplate/wicket/resource/**org.apache.wicket.examples.**
asemail.MailTemplate/resource.**pdf
">here!


Sincerely,
The Marketing team



and when I use the link I get the error:

Problem accessing /mailtemplate/wicket/resource/**
org.apache.wicket.examples.**asemail.MailTemplate/resource.**pdf. Reason:

 Unable to find resource


What is still wrong ?


I guess resource.pdf is not copied in target/classes/ folder by Maven.
Check that resource.pdf is next to MailTemplate.class





Am 11.06.2013 08:45, schrieb Martin Grigorov:


Hi,

At http://www.wicket-library.com/**wicket-examples-6.0.x/**
mailtemplate/?0you
can see an example of rendering the markup for a page, a panel and a
resource.
At 
http://markmail.org/message/**em4wqtsxhetu4skjyou
 can see how to create
PDF out of the produced HTML.


On Tue, Jun 11, 2013 at 9:39 AM, Piratenvisier
**wrote:

  Does anybody know some example example code to start with

concerning email and pdf

Thanks in advance
Heiner Braun
Am 10.06.2013 10:34, schrieb Martin Grigorov:

  Hi,

If you use Wicket 6.7.0+ then you can use ComponentRenderer class to get
the markup of any Wicket Page/Panel/Component.
Then you can use the generated markup for mails and PDF creation.
For PDF creation you can check
https://github.com/flyingsaucerproject/flyingsaucer


.

There is a mail in the
users@ mail archives from the last few days by another user showing how
to
use FlyingSaucer's ITextRenderer.


On Sat, Jun 8, 2013 at 8:39 PM, Piratenvisier<**hansheinrichbrau**
n...@yahoo.de

wrote:


   I wanted to integrate mail and pdf creation in my wicket application.


Till now I manage this by sending a request to a cocoon-2.2.0
application.
This is a good solution but because I see no upgrade way using my
cocoon
application
and integrating newer versions of spring I am looking for an
alternative.

Heiner

--**--**--**
--**-
To unsubscribe, e-mail: users-unsubscribe@wicket.apa**che.org<
http://apache.org**>
http://wicket.apache.org><
users-unsubscribe@**wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



  --**

--**-
To unsubscribe, e-mail: 
users-unsubscribe@wicket.**apa**che.org

For additional commands, e-mail: users-h...@wicket.apache.org






-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket mail and pdf

2013-06-14 Thread Piratenvisier

Am 13.06.2013 14:21, schrieb Nick Pratt:

Did you modify your pom.xml to include the PDF?

In  you should have something similar to:

 
 false
 src/main/java
 
 **
 
 
 **/*.java
 
 

Is the PDF checked in to your version control system?

Thank for your hint.
I included .pdf  under resource and the error has gone

N

On Thu, Jun 13, 2013 at 6:48 AM, Piratenvisier
wrote:


Martin thank you for your instantanious answers,

I tried the mailtemplate example changed resource.text to resource.pdf and
after some research concerning the error I got included
   IPackageResourceGuard packageResourceGuard =
getResourceSettings().**getPackageResourceGuard();
 if (packageResourceGuard instanceof
SecurePackageResourceGuard)
 {
 SecurePackageResourceGuard guard =
(SecurePackageResourceGuard)
packageResourceGuard;
 guard.addPattern("+*.pdf");
 }
in the init method of the Application.
I get the Document :




A template based on a page




Hello,Braun

You receive this email because you are subscribed for our products.
We just released a new version of product X.


Please download ithttp://localhost:8080/**
mailtemplate/wicket/resource/**org.apache.wicket.examples.**
asemail.MailTemplate/resource.**pdf
">here!


Sincerely,
The Marketing team



and when I use the link I get the error:

Problem accessing /mailtemplate/wicket/resource/**
org.apache.wicket.examples.**asemail.MailTemplate/resource.**pdf. Reason:

 Unable to find resource


What is still wrong ?



Am 11.06.2013 08:45, schrieb Martin Grigorov:


Hi,

At http://www.wicket-library.com/**wicket-examples-6.0.x/**
mailtemplate/?0you
can see an example of rendering the markup for a page, a panel and a
resource.
At 
http://markmail.org/message/**em4wqtsxhetu4skjyou
 can see how to create
PDF out of the produced HTML.


On Tue, Jun 11, 2013 at 9:39 AM, Piratenvisier
**wrote:

  Does anybody know some example example code to start with

concerning email and pdf

Thanks in advance
Heiner Braun
Am 10.06.2013 10:34, schrieb Martin Grigorov:

  Hi,

If you use Wicket 6.7.0+ then you can use ComponentRenderer class to get
the markup of any Wicket Page/Panel/Component.
Then you can use the generated markup for mails and PDF creation.
For PDF creation you can check
https://github.com/flyingsaucerproject/flyingsaucer


.

There is a mail in the
users@ mail archives from the last few days by another user showing how
to
use FlyingSaucer's ITextRenderer.


On Sat, Jun 8, 2013 at 8:39 PM, Piratenvisier<**hansheinrichbrau**
n...@yahoo.de

wrote:

   I wanted to integrate mail and pdf creation in my wicket application.


Till now I manage this by sending a request to a cocoon-2.2.0
application.
This is a good solution but because I see no upgrade way using my
cocoon
application
and integrating newer versions of spring I am looking for an
alternative.

Heiner

--**--**--**
--**-
To unsubscribe, e-mail: users-unsubscribe@wicket.apa**che.org<
http://apache.org**>
http://wicket.apache.org><
users-unsubscribe@**wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



  --**

--**-
To unsubscribe, e-mail: 
users-unsubscribe@wicket.**apa**che.org

For additional commands, e-mail: users-h...@wicket.apache.org






-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket mail and pdf

2013-06-13 Thread Piratenvisier

Am 13.06.2013 12:53, schrieb Martin Grigorov:

Hi,


On Thu, Jun 13, 2013 at 1:48 PM, Piratenvisier
wrote:


Martin thank you for your instantanious answers,

I tried the mailtemplate example changed resource.text to resource.pdf and
after some research concerning the error I got included
   IPackageResourceGuard packageResourceGuard =
getResourceSettings().**getPackageResourceGuard();
 if (packageResourceGuard instanceof
SecurePackageResourceGuard)
 {
 SecurePackageResourceGuard guard =
(SecurePackageResourceGuard)
packageResourceGuard;
 guard.addPattern("+*.pdf");
 }
in the init method of the Application.
I get the Document :




A template based on a page




Hello,Braun

You receive this email because you are subscribed for our products.
We just released a new version of product X.


Please download ithttp://localhost:8080/**
mailtemplate/wicket/resource/**org.apache.wicket.examples.**
asemail.MailTemplate/resource.**pdf
">here!


Sincerely,
The Marketing team



and when I use the link I get the error:

Problem accessing /mailtemplate/wicket/resource/**
org.apache.wicket.examples.**asemail.MailTemplate/resource.**pdf. Reason:

 Unable to find resource


What is still wrong ?


I guess resource.pdf is not copied in target/classes/ folder by Maven.
Check that resource.pdf is next to MailTemplate.class

Thanks Martin it was excluded by pom.






Am 11.06.2013 08:45, schrieb Martin Grigorov:


Hi,

At http://www.wicket-library.com/**wicket-examples-6.0.x/**
mailtemplate/?0you
can see an example of rendering the markup for a page, a panel and a
resource.
At 
http://markmail.org/message/**em4wqtsxhetu4skjyou
 can see how to create
PDF out of the produced HTML.


On Tue, Jun 11, 2013 at 9:39 AM, Piratenvisier
**wrote:

  Does anybody know some example example code to start with

concerning email and pdf

Thanks in advance
Heiner Braun
Am 10.06.2013 10:34, schrieb Martin Grigorov:

  Hi,

If you use Wicket 6.7.0+ then you can use ComponentRenderer class to get
the markup of any Wicket Page/Panel/Component.
Then you can use the generated markup for mails and PDF creation.
For PDF creation you can check
https://github.com/flyingsaucerproject/flyingsaucer


.

There is a mail in the
users@ mail archives from the last few days by another user showing how
to
use FlyingSaucer's ITextRenderer.


On Sat, Jun 8, 2013 at 8:39 PM, Piratenvisier<**hansheinrichbrau**
n...@yahoo.de

wrote:


   I wanted to integrate mail and pdf creation in my wicket application.


Till now I manage this by sending a request to a cocoon-2.2.0
application.
This is a good solution but because I see no upgrade way using my
cocoon
application
and integrating newer versions of spring I am looking for an
alternative.

Heiner

--**--**--**
--**-
To unsubscribe, e-mail: users-unsubscribe@wicket.apa**che.org<
http://apache.org**>
http://wicket.apache.org><
users-unsubscribe@**wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



  --**

--**-
To unsubscribe, e-mail: 
users-unsubscribe@wicket.**apa**che.org

For additional commands, e-mail: users-h...@wicket.apache.org






-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket mail and pdf

2013-06-13 Thread Nick Pratt
Did you modify your pom.xml to include the PDF?

In  you should have something similar to:


false
src/main/java

**


**/*.java



Is the PDF checked in to your version control system?

N

On Thu, Jun 13, 2013 at 6:48 AM, Piratenvisier
wrote:

> Martin thank you for your instantanious answers,
>
> I tried the mailtemplate example changed resource.text to resource.pdf and
> after some research concerning the error I got included
>   IPackageResourceGuard packageResourceGuard =
> getResourceSettings().**getPackageResourceGuard();
> if (packageResourceGuard instanceof
> SecurePackageResourceGuard)
> {
> SecurePackageResourceGuard guard =
> (SecurePackageResourceGuard)
> packageResourceGuard;
> guard.addPattern("+*.pdf");
> }
> in the init method of the Application.
> I get the Document :
> 
> 
>
> 
> A template based on a page
> 
>
> 
> 
> Hello, Braun
>
> You receive this email because you are subscribed for our products.
> We just released a new version of product X.
>
> 
> Please download it http://localhost:8080/**
> mailtemplate/wicket/resource/**org.apache.wicket.examples.**
> asemail.MailTemplate/resource.**pdf
> ">here!
>
> 
> Sincerely,
> The Marketing team
> 
>
> 
> and when I use the link I get the error:
>
> Problem accessing /mailtemplate/wicket/resource/**
> org.apache.wicket.examples.**asemail.MailTemplate/resource.**pdf. Reason:
>
> Unable to find resource
>
>
> What is still wrong ?
>
>
>
> Am 11.06.2013 08:45, schrieb Martin Grigorov:
>
>> Hi,
>>
>> At http://www.wicket-library.com/**wicket-examples-6.0.x/**
>> mailtemplate/?0you
>> can see an example of rendering the markup for a page, a panel and a
>> resource.
>> At 
>> http://markmail.org/message/**em4wqtsxhetu4skjyou
>>  can see how to create
>> PDF out of the produced HTML.
>>
>>
>> On Tue, Jun 11, 2013 at 9:39 AM, Piratenvisier
>> **wrote:
>>
>>  Does anybody know some example example code to start with
>>> concerning email and pdf
>>>
>>> Thanks in advance
>>> Heiner Braun
>>> Am 10.06.2013 10:34, schrieb Martin Grigorov:
>>>
>>>  Hi,

 If you use Wicket 6.7.0+ then you can use ComponentRenderer class to get
 the markup of any Wicket Page/Panel/Component.
 Then you can use the generated markup for mails and PDF creation.
 For PDF creation you can check
 https://github.com/flyingsaucerproject/flyingsaucer
 
 >.
 There is a mail in the
 users@ mail archives from the last few days by another user showing how
 to
 use FlyingSaucer's ITextRenderer.


 On Sat, Jun 8, 2013 at 8:39 PM, Piratenvisier<**hansheinrichbrau**
 n...@yahoo.de
 >>wrote:

   I wanted to integrate mail and pdf creation in my wicket application.

> Till now I manage this by sending a request to a cocoon-2.2.0
> application.
> This is a good solution but because I see no upgrade way using my
> cocoon
> application
> and integrating newer versions of spring I am looking for an
> alternative.
>
> Heiner
>
> --**--**--**
> --**-
> To unsubscribe, e-mail: users-unsubscribe@wicket.apa**che.org<
> http://apache.org**>
> http://wicket.apache.org><
> users-unsubscribe@**wicket.apache.org
> >
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>
>
>  --**
>>> --**-
>>> To unsubscribe, e-mail: 
>>> users-unsubscribe@wicket.**apa**che.org
>>> 
>>> >
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>
>>>
>>>
>


Re: Wicket mail and pdf

2013-06-13 Thread Martin Grigorov
Hi,


On Thu, Jun 13, 2013 at 1:48 PM, Piratenvisier
wrote:

> Martin thank you for your instantanious answers,
>
> I tried the mailtemplate example changed resource.text to resource.pdf and
> after some research concerning the error I got included
>   IPackageResourceGuard packageResourceGuard =
> getResourceSettings().**getPackageResourceGuard();
> if (packageResourceGuard instanceof
> SecurePackageResourceGuard)
> {
> SecurePackageResourceGuard guard =
> (SecurePackageResourceGuard)
> packageResourceGuard;
> guard.addPattern("+*.pdf");
> }
> in the init method of the Application.
> I get the Document :
> 
> 
>
> 
> A template based on a page
> 
>
> 
> 
> Hello, Braun
>
> You receive this email because you are subscribed for our products.
> We just released a new version of product X.
>
> 
> Please download it http://localhost:8080/**
> mailtemplate/wicket/resource/**org.apache.wicket.examples.**
> asemail.MailTemplate/resource.**pdf
> ">here!
>
> 
> Sincerely,
> The Marketing team
> 
>
> 
> and when I use the link I get the error:
>
> Problem accessing /mailtemplate/wicket/resource/**
> org.apache.wicket.examples.**asemail.MailTemplate/resource.**pdf. Reason:
>
> Unable to find resource
>
>
> What is still wrong ?
>

I guess resource.pdf is not copied in target/classes/ folder by Maven.
Check that resource.pdf is next to MailTemplate.class


>
>
>
> Am 11.06.2013 08:45, schrieb Martin Grigorov:
>
>> Hi,
>>
>> At http://www.wicket-library.com/**wicket-examples-6.0.x/**
>> mailtemplate/?0you
>> can see an example of rendering the markup for a page, a panel and a
>> resource.
>> At 
>> http://markmail.org/message/**em4wqtsxhetu4skjyou
>>  can see how to create
>> PDF out of the produced HTML.
>>
>>
>> On Tue, Jun 11, 2013 at 9:39 AM, Piratenvisier
>> **wrote:
>>
>>  Does anybody know some example example code to start with
>>> concerning email and pdf
>>>
>>> Thanks in advance
>>> Heiner Braun
>>> Am 10.06.2013 10:34, schrieb Martin Grigorov:
>>>
>>>  Hi,

 If you use Wicket 6.7.0+ then you can use ComponentRenderer class to get
 the markup of any Wicket Page/Panel/Component.
 Then you can use the generated markup for mails and PDF creation.
 For PDF creation you can check
 https://github.com/flyingsaucerproject/flyingsaucer
 
 >.

 There is a mail in the
 users@ mail archives from the last few days by another user showing how
 to
 use FlyingSaucer's ITextRenderer.


 On Sat, Jun 8, 2013 at 8:39 PM, Piratenvisier<**hansheinrichbrau**
 n...@yahoo.de
 >>wrote:


   I wanted to integrate mail and pdf creation in my wicket application.

> Till now I manage this by sending a request to a cocoon-2.2.0
> application.
> This is a good solution but because I see no upgrade way using my
> cocoon
> application
> and integrating newer versions of spring I am looking for an
> alternative.
>
> Heiner
>
> --**--**--**
> --**-
> To unsubscribe, e-mail: users-unsubscribe@wicket.apa**che.org<
> http://apache.org**>
> http://wicket.apache.org><
> users-unsubscribe@**wicket.apache.org
> >
>
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>
>
>  --**
>>> --**-
>>> To unsubscribe, e-mail: 
>>> users-unsubscribe@wicket.**apa**che.org
>>> 
>>> >
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>
>>>
>>>
>


Re: Wicket mail and pdf

2013-06-13 Thread Piratenvisier

Martin thank you for your instantanious answers,

I tried the mailtemplate example changed resource.text to resource.pdf and
after some research concerning the error I got included
  IPackageResourceGuard packageResourceGuard =
getResourceSettings().getPackageResourceGuard();
if (packageResourceGuard instanceof 
SecurePackageResourceGuard)

{
SecurePackageResourceGuard guard = 
(SecurePackageResourceGuard)

packageResourceGuard;
guard.addPattern("+*.pdf");
}
in the init method of the Application.
I get the Document :




A template based on a page




Hello, Braun

You receive this email because you are subscribed for our products.
We just released a new version of product X.


Please download it href="http://localhost:8080/mailtemplate/wicket/resource/org.apache.wicket.examples.asemail.MailTemplate/resource.pdf";>here!



Sincerely,
The Marketing team



and when I use the link I get the error:

Problem accessing 
/mailtemplate/wicket/resource/org.apache.wicket.examples.asemail.MailTemplate/resource.pdf. 
Reason:


Unable to find resource


What is still wrong ?



Am 11.06.2013 08:45, schrieb Martin Grigorov:

Hi,

At http://www.wicket-library.com/wicket-examples-6.0.x/mailtemplate/?0 you
can see an example of rendering the markup for a page, a panel and a
resource.
At http://markmail.org/message/em4wqtsxhetu4skj you can see how to create
PDF out of the produced HTML.


On Tue, Jun 11, 2013 at 9:39 AM, Piratenvisier
wrote:


Does anybody know some example example code to start with
concerning email and pdf

Thanks in advance
Heiner Braun
Am 10.06.2013 10:34, schrieb Martin Grigorov:


Hi,

If you use Wicket 6.7.0+ then you can use ComponentRenderer class to get
the markup of any Wicket Page/Panel/Component.
Then you can use the generated markup for mails and PDF creation.
For PDF creation you can check
https://github.com/**flyingsaucerproject/**flyingsaucer.
There is a mail in the
users@ mail archives from the last few days by another user showing how
to
use FlyingSaucer's ITextRenderer.


On Sat, Jun 8, 2013 at 8:39 PM, Piratenvisier>wrote:

  I wanted to integrate mail and pdf creation in my wicket application.

Till now I manage this by sending a request to a cocoon-2.2.0
application.
This is a good solution but because I see no upgrade way using my cocoon
application
and integrating newer versions of spring I am looking for an alternative.

Heiner

--**
--**-
To unsubscribe, e-mail: 
users-unsubscribe@wicket.**apa**che.org

For additional commands, e-mail: users-h...@wicket.apache.org




--**--**-
To unsubscribe, e-mail: 
users-unsubscribe@wicket.**apache.org
For additional commands, e-mail: users-h...@wicket.apache.org






Re: Wicket mail and pdf

2013-06-10 Thread Martin Grigorov
Hi,

At http://www.wicket-library.com/wicket-examples-6.0.x/mailtemplate/?0 you
can see an example of rendering the markup for a page, a panel and a
resource.
At http://markmail.org/message/em4wqtsxhetu4skj you can see how to create
PDF out of the produced HTML.


On Tue, Jun 11, 2013 at 9:39 AM, Piratenvisier
wrote:

> Does anybody know some example example code to start with
> concerning email and pdf
>
> Thanks in advance
> Heiner Braun
> Am 10.06.2013 10:34, schrieb Martin Grigorov:
>
>> Hi,
>>
>> If you use Wicket 6.7.0+ then you can use ComponentRenderer class to get
>> the markup of any Wicket Page/Panel/Component.
>> Then you can use the generated markup for mails and PDF creation.
>> For PDF creation you can check
>> https://github.com/**flyingsaucerproject/**flyingsaucer.
>> There is a mail in the
>> users@ mail archives from the last few days by another user showing how
>> to
>> use FlyingSaucer's ITextRenderer.
>>
>>
>> On Sat, Jun 8, 2013 at 8:39 PM, Piratenvisier> n...@yahoo.de >wrote:
>>
>>  I wanted to integrate mail and pdf creation in my wicket application.
>>> Till now I manage this by sending a request to a cocoon-2.2.0
>>> application.
>>> This is a good solution but because I see no upgrade way using my cocoon
>>> application
>>> and integrating newer versions of spring I am looking for an alternative.
>>>
>>> Heiner
>>>
>>> --**
>>> --**-
>>> To unsubscribe, e-mail: 
>>> users-unsubscribe@wicket.**apa**che.org
>>> 
>>> >
>>>
>>> For additional commands, e-mail: users-h...@wicket.apache.org
>>>
>>>
>>>
>
> --**--**-
> To unsubscribe, e-mail: 
> users-unsubscribe@wicket.**apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: Wicket mail and pdf

2013-06-10 Thread Piratenvisier

Does anybody know some example example code to start with
concerning email and pdf

Thanks in advance
Heiner Braun
Am 10.06.2013 10:34, schrieb Martin Grigorov:

Hi,

If you use Wicket 6.7.0+ then you can use ComponentRenderer class to get
the markup of any Wicket Page/Panel/Component.
Then you can use the generated markup for mails and PDF creation.
For PDF creation you can check
https://github.com/flyingsaucerproject/flyingsaucer. There is a mail in the
users@ mail archives from the last few days by another user showing how to
use FlyingSaucer's ITextRenderer.


On Sat, Jun 8, 2013 at 8:39 PM, Piratenvisierwrote:


I wanted to integrate mail and pdf creation in my wicket application.
Till now I manage this by sending a request to a cocoon-2.2.0 application.
This is a good solution but because I see no upgrade way using my cocoon
application
and integrating newer versions of spring I am looking for an alternative.

Heiner

--**--**-
To unsubscribe, e-mail: 
users-unsubscribe@wicket.**apache.org
For additional commands, e-mail: users-h...@wicket.apache.org





-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Wicket mail and pdf

2013-06-10 Thread Martin Grigorov
Hi,

If you use Wicket 6.7.0+ then you can use ComponentRenderer class to get
the markup of any Wicket Page/Panel/Component.
Then you can use the generated markup for mails and PDF creation.
For PDF creation you can check
https://github.com/flyingsaucerproject/flyingsaucer. There is a mail in the
users@ mail archives from the last few days by another user showing how to
use FlyingSaucer's ITextRenderer.


On Sat, Jun 8, 2013 at 8:39 PM, Piratenvisier wrote:

> I wanted to integrate mail and pdf creation in my wicket application.
> Till now I manage this by sending a request to a cocoon-2.2.0 application.
> This is a good solution but because I see no upgrade way using my cocoon
> application
> and integrating newer versions of spring I am looking for an alternative.
>
> Heiner
>
> --**--**-
> To unsubscribe, e-mail: 
> users-unsubscribe@wicket.**apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Wicket mail and pdf

2013-06-08 Thread Piratenvisier

I wanted to integrate mail and pdf creation in my wicket application.
Till now I manage this by sending a request to a cocoon-2.2.0 application.
This is a good solution but because I see no upgrade way using my cocoon 
application

and integrating newer versions of spring I am looking for an alternative.

Heiner

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org