Thanks Greg.  I'll fix that. I do think your way of doing this is better,
and less prone to errors.

Dave

On Mon, Jan 21, 2019 at 11:36 AM Greg Huber <gregh3...@gmail.com> wrote:

> Dave,
>
> http://127.0.0.1/roller/roller-ui/authoring/entryAdd.rol
>
> When I click on the save draft / publish
>
> Method saveDraft for action entryAdd is not allowed!
> Method publish for action entryAdd is not allowed!
>
> Seems to be ignoring the <global-allowed-methods> entries.
>
> I add do mine like this, rather than globals:
>
> <action name="entryAdd"
>
> class="org.apache.roller.weblogger.ui.struts2.editor.EntryEdit">
>             <param name="actionName">entryAdd</param>
>             <param name="pageTitle">weblogEdit.title.newEntry</param>
>             <result name="input" type="tiles">.EntryEdit</result>
>             <result name="success" type="redirectAction">
>                 <param name="actionName">entryEdit!firstSave</param>
>                 <param name="weblog">${weblog}</param>
>                 <param name="bean.id">${bean.id}</param>
>             </result>
>             <allowed-methods>saveDraft,publish</allowed-methods>
>         </action>
>
>
> On Mon, 21 Jan 2019 at 16:01, Dave <snoopd...@gmail.com> wrote:
>
> > I tried to make it really easy to try Roller's new Bootstrap-based web UI
> > by using Docker Compose. You can read about it here:
> >
> >    https://rollerweblogger.org/roller/entry/roller-6-snapshot
> >
> > I hope you'll give it a try.
> >
> > Dave
> >
>

Reply via email to