roller-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Huber <gregh3...@gmail.com>
Subject Re: Try Roller's new web UI
Date Tue, 22 Jan 2019 08:03:51 GMT
All I have
<global-allowed-methods><![CDATA[regex:cancel([A-Za-z]*),query]]></global-allowed-methods>

Which branch could be used for prs?

https://github.com/apache/roller/tree/bootstrap-ui

On Mon, 21 Jan 2019 at 17:37, Dave <snoopdave@gmail.com> wrote:

> 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 <gregh3269@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 <snoopdave@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
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message