You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by eugenebalt <eu...@yahoo.com> on 2012/03/05 19:14:59 UTC

Using Wicket with Adobe Forms (FDF)

We are using Wicket with Adobe's FDF (PDF-Forms). 

Some of the forms in our Wicket app are regular Wicket forms, but other
forms (or sub-forms) are FDF, embedded as objects in the HTML.

The way FDF works is that the Submit button in the FDF is hard-coded to
point to some Servlet URL. Then in Java, you would write the supporting
Servlet, which reads the request's binary stream and then uses the FDF API
to parse individual fields.

Is there a way to support FDFs in Wicket? We need a clean URL and also a way
to handle the Get/Post at that URL.

Thanks

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Using-Wicket-with-Adobe-Forms-FDF-tp4446987p4446987.html
Sent from the Users forum mailing list archive at Nabble.com.

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


Re: Using Wicket with Adobe Forms (FDF)

Posted by arronlee <ar...@gmail.com>.
Did you have any idea about  text extraction from pdf files
<http://www.pqscan.com/extract-text/>  ?

-----
Best Regards,
Arron






Next Tomorrow is Another Day.
--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Using-Wicket-with-Adobe-Forms-FDF-tp4446987p4673430.html
Sent from the Users forum mailing list archive at Nabble.com.

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


Re: Using Wicket with Adobe Forms (FDF)

Posted by Martin Grigorov <mg...@apache.org>.
On Tue, Mar 6, 2012 at 8:30 PM, eugenebalt <eu...@yahoo.com> wrote:
> Thanks. But we don't have Request Params, we have a binary Request Stream
> with Adobe's FDF.
>
> In HTTP, you can do request.getInputStream() to get it, can you do the same
> in Wicket?

This is how POST parameters are being read from the request.
So yes, it is possible to read it.

>
> Thanks again.
>
> --
> View this message in context: http://apache-wicket.1842946.n4.nabble.com/Using-Wicket-with-Adobe-Forms-FDF-tp4446987p4450849.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

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


Re: Using Wicket with Adobe Forms (FDF)

Posted by eugenebalt <eu...@yahoo.com>.
Thanks. But we don't have Request Params, we have a binary Request Stream
with Adobe's FDF.

In HTTP, you can do request.getInputStream() to get it, can you do the same
in Wicket?

Thanks again.

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Using-Wicket-with-Adobe-Forms-FDF-tp4446987p4450849.html
Sent from the Users forum mailing list archive at Nabble.com.

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


Re: Using Wicket with Adobe Forms (FDF)

Posted by Martin Grigorov <mg...@apache.org>.
Hi,

On Mon, Mar 5, 2012 at 8:33 PM, Pierre Goupil <go...@gmail.com> wrote:
> You can try a BookmarkablePage.

Right.
You can override Form#getActionUrl() to return a url to a bookmarkable page.
The only problem is that PageParameters will contain only the GET parameters.
If you need to POST to a page then extract the parameters via
getRequest().getRequestParameters().

>
>
>
> On Mon, Mar 5, 2012 at 7:27 PM, eugenebalt <eu...@yahoo.com> wrote:
>
>> I guess what I'm asking is, is there a way to support "regular" Servlet
>> URLs
>> in Wicket?
>>
>> --
>> View this message in context:
>> http://apache-wicket.1842946.n4.nabble.com/Using-Wicket-with-Adobe-Forms-FDF-tp4446987p4447046.html
>> Sent from the Users forum mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>>
>>
>
>
> --
> Si tu penses que la violence ne résout rien, c'est que tu n'as pas tapé
> assez fort.



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

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


Re: Using Wicket with Adobe Forms (FDF)

Posted by Pierre Goupil <go...@gmail.com>.
You can try a BookmarkablePage.



On Mon, Mar 5, 2012 at 7:27 PM, eugenebalt <eu...@yahoo.com> wrote:

> I guess what I'm asking is, is there a way to support "regular" Servlet
> URLs
> in Wicket?
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Using-Wicket-with-Adobe-Forms-FDF-tp4446987p4447046.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>


-- 
Si tu penses que la violence ne résout rien, c'est que tu n'as pas tapé
assez fort.

Re: Using Wicket with Adobe Forms (FDF)

Posted by eugenebalt <eu...@yahoo.com>.
I guess what I'm asking is, is there a way to support "regular" Servlet URLs
in Wicket?

--
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Using-Wicket-with-Adobe-Forms-FDF-tp4446987p4447046.html
Sent from the Users forum mailing list archive at Nabble.com.

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