I'm passing the session id via a PDF hidden field. It seems to work ok. I use the RequestCycle in establishing my hooks to Hibernate on the Wicket side, not so with my Pdf servlet. I'm not sure yet whether I'm going to regret it.

I guess I was just looking for some tighter integration tips...my servlet looks a lot like a Pinto in a parking lot full of BMWs next to the Wicket stuff. I could probably extend one of the core wicket classes instead of HttpServlet and arrive at the same place, though I'm not sure it would be any more elegant.

Thanks for the help.

Timo Stamm wrote:
kurt heston schrieb:
I've got some legacy PDFs laying around that utilize the HTTP submit functionality available when using Acrobat fillable forms. The servlet I have answering these Acrobat requests saves off the field names and values submitted in a 3 column table (rec id, field name, value). We change the forms and add fields pretty often. Later, when a view of the filled form is requested, I fill it again with the database values using iText (which is BEYOND cool) and stream it to the browser. Simple enough.

I'm presently using this servlet's response object to just forward calls on to a Wicket bookmarkable page...pretty loose integration.

I think this loose integration is the best you can do. I am using quite a similar approach to integrate a legacy JSP based app and it works very well.


Any suggestions as to how I might "Wickefy" my servlet such that I can take advantage of things like Wicket session management an such when handling requests submitted via Acrobat?

What are you missing? The bookmarkable Page should have access to the Wicket session. Remember to forward the session id as well.


Timo


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to