Hi Brian,

As far as I can see, nothing has changed on the plain editor w.r.t. the
_editedtext parameter name.
You can still use it to overwrite the content of the edit area.

However, I would have expected to see another edit URL,  i.e. without /wiki
:

https://my.web.server/Edit.jsp?page=<pageIdentification>&_editedtext=<my plugin
invocation>

Hope this helps a bit,

dirk


On Wed, Mar 20, 2019 at 8:03 AM Brian Burch <br...@pingtoo.com> wrote:

> Janne Jalkanen helped me resolve this requirement of my PhotoCollection
> plugin in February 2009! I have not needed to make a change since that
> time and use the "feature" all the time.
>
> It stopped working on my production wiki late in 2018, along with some
> other things not directly related to JSPWiki for which I will open and
> hopefully close JIRAs very soon.
>
> It might be related to my in-place upgrade to jspwiki-2.10.3-git-32, but
> perhaps not. I ought to RTFM, but I thought a quick question might
> produce an obvious answer to one of the developers and thus would be
> usefully documented in the mailing list archives. If not, I will do more
> research and answer the question myself in due course.
>
> I decided it was best to open a new thread, rather than try to revive
> one that is 10 years old!!!
>
> Janne told me the following:-
>
> On 26/2/09 6:28 am, Janne Jalkanen wrote:>>
>  >> Why do you feel _editedtext should not be an officially supported
>  >> feature? Is there a better way to do something similar, or are you
>  >> hoping to develop something better in the future?
>  >
>  > It only works with the current incarnation of the plain editor. If you
>  > use FCK, the parameter is different.
>  >
>  > Because it is a part of JSPWiki internals, it's currently not officially
>  > supported or documented.  My comment should not be taken as a value
>  > judgement as to its potential worthiness as an official supported
>  > feature later on.  I was just simply stating a fact of its current level
>  > of support. If we want to make it an officially supported feature, I
>  > think it needs a bit more discussion as to whether this is the
> correct way.
>  >
>  > But it's stayed the same for the last three major versions, and is not
>  > seen to change in 3.0 either.
>  >
>  > /Janne
>
> When I append &_editedtext="mystuff" to the automatically generated url,
> e.g.
>
> https://my.web.server/wiki/Edit.jsp?page=<pageIdentification>&_editedtext='<my
>
> plugin invocation>'
>
> I get back the following error message:-
>
> HTTP error 400 - this is not working
>
> Not surprisingly, if I remove the _editedtext parameter and its data, I
> drop straight into being asked to create a new page and (obviously) have
> no help from the plugin to insert the correct INSERT stuff.
>
> Can I hear any distant bells ringing??
>
> Yours hopefully, but puzzled,
>
> Brian
>
>
>
>

Reply via email to