Hi Kim,

The reason multiple free-text inputs aren't supported is that it
simply becomes untenable for the code to support them in all cases,
especially when there's more than one template involved. Let's say,
for instance, that a form is structured as:

{{{free text 1}}}
{{{template A}}}
{{{template B}}}
{{{free text 2}}}

...and then it has to edit a page like:

...free text...
{{B}}
...free text...
{{A}}}
...free text...

How would the free text be distributed among the two inputs? There's
no good solution, as far as I can tell.

One halfway-solution, for the specific case of a template between two
free text areas, is to use a partial form to just edit that template;
those are described in the documentation. There are some bugs in the
handling of partial forms, but it works for simple cases.

Over the long term, one thing on the SF roadmap that I'd really like
to add is support for a {{{section}}} tag, which treats a section with
a header as a structured part of the page that can be added to the
form. As long as there are consistent headers in the page structure, I
think that would solve problems like this one in a straightforward
way.

-Yaron

On Thu, Jun 14, 2012 at 5:44 AM, Kim Eik <k...@heldig.org> wrote:
> Well, would it really be that hard to enable multiple free-text in a
> given form? As far as i understood on Stephan, we could attach an id
> to each free-text instance?
>
> Kim
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Semediawiki-devel mailing list
> Semediawiki-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/semediawiki-devel



-- 
WikiWorks · MediaWiki Consulting · http://wikiworks.com

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Semediawiki-devel mailing list
Semediawiki-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-devel

Reply via email to