Hi,

Have you had a look into the NewPageHandler.java? 

It shows you how to read the params you have definied in the form.

>From here, you can start to make a urlCall
(http://java.sun.com/j2se/1.4.2/docs/api/java/net/URL.html)

Hope that helps.

Regards,
Nicola

-----Ursprüngliche Nachricht-----
Von: TruptiP [mailto:[email protected]] 
Gesendet: Donnerstag, 22. Januar 2009 13:18
An: [email protected]
Betreff: Re: AW: New handler to handle form input


Hi 

I want to transfer the input value in "n" to url as parameter. But this feature 
is not implemented in jspwiki.
That url is external link and not the jspwiki internal link.

So some how i need to cache the url and input parameter and need to pass to 
handler and then handler will open a new / same window with this url.

[{FormOpen form='sprform' hide='onsuccess' method='post'
submit='http://www.someurl.com?}]
number [{FormInput type='text' name='n'}] [{FormInput type='submit' 
value='Submit, please' name='submit'}] [{FormClose}]


Thanks and Regards,
Trupti Patil


Fischer, Nicola (ORISA Software GmbH) wrote:
> 
> Hi,
> 
> In this case the NewPageHandler will be your choice.
> 
> http://www.jspwiki.org/wiki/NewPageHandler
> 
> Regards,
> Nicola
> 
> -----Ursprüngliche Nachricht-----
> Von: TruptiP [mailto:[email protected]]
> Gesendet: Mittwoch, 21. Januar 2009 11:09
> An: [email protected]
> Betreff: New handler to handle form input
> 
> 
> Hi All,
> 
> I want to write a handler which will forward form's input to the 
> external url as parameter value.
> 
> As I am newbie to java. Any help regarding this will be appreciated.
> 
> Thanks and Regards,
> Trupti
> --
> View this message in context:
> http://www.nabble.com/New-handler-to-handle-form-input-tp21580234p2158
> 0234.html Sent from the JspWiki - User mailing list archive at 
> Nabble.com.
> 
> 
> 
> ____________
> Virus checked by G DATA AntiVirus
> Version: AVF 19.229 dated 21.01.2009
> 
> 

--
View this message in context: 
http://www.nabble.com/New-handler-to-handle-form-input-tp21580234p21603044.html
Sent from the JspWiki - User mailing list archive at Nabble.com.



____________
Virus checked by G DATA AntiVirus
Version: AVF 19.229 dated 21.01.2009

Reply via email to