Return-Path: Delivered-To: apmail-incubator-jspwiki-user-archive@locus.apache.org Received: (qmail 98569 invoked from network); 19 Sep 2008 11:39:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Sep 2008 11:39:17 -0000 Received: (qmail 27227 invoked by uid 500); 19 Sep 2008 11:39:14 -0000 Delivered-To: apmail-incubator-jspwiki-user-archive@incubator.apache.org Received: (qmail 27217 invoked by uid 500); 19 Sep 2008 11:39:14 -0000 Mailing-List: contact jspwiki-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-user@incubator.apache.org Delivered-To: mailing list jspwiki-user@incubator.apache.org Received: (qmail 27206 invoked by uid 99); 19 Sep 2008 11:39:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Sep 2008 04:39:14 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of murray07@altheim.com designates 69.90.72.72 as permitted sender) Received: from [69.90.72.72] (HELO athens.clusterspan.net) (69.90.72.72) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Sep 2008 11:38:14 +0000 Received: (qmail 27744 invoked from network); 19 Sep 2008 07:37:44 -0400 Received: from ip-118-90-64-212.xdsl.xnet.co.nz (HELO ?192.168.1.66?) (118.90.64.212) by athens.clusterspan.net with (DHE-RSA-AES256-SHA encrypted) SMTP; 19 Sep 2008 07:37:44 -0400 Message-ID: <48D38F05.1010500@altheim.com> Date: Fri, 19 Sep 2008 23:37:41 +1200 From: Murray Altheim User-Agent: Thunderbird 2.0.0.6 (X11/20070728) MIME-Version: 1.0 To: jspwiki-user@incubator.apache.org Subject: Re: Dynamically inserting forms References: <48D26A91.8020908@mail.upb.de> <48D3560F.7010505@mail.upb.de> In-Reply-To: <48D3560F.7010505@mail.upb.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Benedikt Mohrmann wrote: > Hi, > > I didn't get it unitl now. > My goal is to dynamically add wikimarkup into the page. > To be more precise, I am trying to add a sortable table (via the > %%sortable Tag) into my document, which contains the content that my > Plugin returned. > > Thus I tried things (in my plugin) like: > return "%%sortable myContent /%" > and > return "%%sortable \n myContent \n /%" > and > return "%%sortable
myContent
/%" > > but none of this alternatives solved my problem, because there is never > a table inserted into the document, but only the String! Benedikt, As Janne mentioned, the place in the page processing where wiki plugins' text is inserted is after the parsingof the wiki text has already occurred (indeed, that's how the plugin is found). Plugin code should only insert valid XHTML markup, not wiki text markup. If you want an XHTML table you'll need to insert XHTML markup. I'm guessing you want something akin to
etc. ...and you should be using XHTML's "
", not HTML's "
". Murray ........................................................................... Murray Altheim === = = http://www.altheim.com/murray/ = = === SGML Grease Monkey, Banjo Player, Wantanabe Zen Monk = = = = Boundless wind and moon - the eye within eyes, Inexhaustible heaven and earth - the light beyond light, The willow dark, the flower bright - ten thousand houses, Knock at any door - there's one who will respond. -- The Blue Cliff Record