No wait, I'm not understanding at all what your problem is. Could you please restate the problem using other words?

/Janne

On Oct 10, 2008, at 15:10 , Hans Glocke wrote:

Hi,

I know that I can handle this via a link.
But I want to do enter this page (URL) just when the submitbutton was hit.

Regards

-------- Original-Nachricht --------
Datum: Fri, 10 Oct 2008 13:44:27 +0200
Von: Simon Kitching <[EMAIL PROTECTED]>
An: [email protected]
Betreff: Re: Change Site

And make sure you define "http:" as an "interwiki ref" in the
jspwiki.properties file, so jspwiki doesn't try to interpret the whole
string as a pagename?

Janne Jalkanen schrieb:
Umm... Just put

[http://yourserver/yourpath/?id=...";]

on a wikipage?

/Janne

On Fri, Oct 10, 2008 at 10:55:01AM +0200, Hans Glocke wrote:

Hi,

thanks for your response.
I had a look at the BugReportHandler plugin and then I noticed that
this is not quite what I needed.
I formulated the problem the wrong way in my first mail.

The point is that I do not want to go to a specific WikiPage, but I
want to call a URL with a HTTPparameter.
Thus when I hit the button, I would like to go to e.g.
<a href=\"Wiki.jsp?page=ShowContent&id=" + anyID

Is there any way to do this?

Regards


-------- Original-Nachricht --------

Datum: Thu, 9 Oct 2008 21:31:55 +0300
Von: Janne Jalkanen <[EMAIL PROTECTED]>
An: [email protected]
Betreff: Re: Change Site

Yes, the setPage() method would exactly help you in your problem.

As an example, take a look at the BugReportHandler plugin. It does
pretty much what you intend to do.

/Janne

On 9 Oct 2008, at 19:44, [EMAIL PROTECTED] wrote:


Hi,

I build a page which contains a form, including a submit button.
When the submit button is clicked, a plugin handles the request.

Now I want to change the Wiki page, after the plugin ran.

Szenario:
User hits submitbutton
plugin handles request
plugin changes the displayed page
User sees new page

I saw that there are methods like "setPage", but as a parameter a
WikiPage is requested.

Is there any method that could help me with my problem?

Regards
--
GMX Kostenlose Spiele: Einfach online spielen und Spaß haben mit
Pastry Passion!
http://games.entertainment.gmx.net/de/entertainment/games/free/
puzzle/6169196

--
GMX Kostenlose Spiele: Einfach online spielen und Spaß haben mit
Pastry Passion!

http://games.entertainment.gmx.net/de/entertainment/games/free/ puzzle/6169196




--
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger

Reply via email to