[opencms-dev] OpenCms Edit Mode: Not passing parameters
Matt Campbell
mattcampbell.85 at gmail.com
Mon May 14 21:34:57 CEST 2007
Has anyone else run into this? Or am I implementing this wrong?
On 5/9/07, Matt Campbell <mattcampbell.85 at gmail.com> wrote:
>
>
> I'm running into some problems where parameters are not being passed when
> the
> user clicks the Edit symbol next to an element on the page. When the user
> is
> done editing and they click "Save and Exit", OpenCms attempts to forward
> back to the edited page, but receives an error.
>
> The page they are editing has a date passed in on the URL. I then parse
> the
> date and format it on the jsp. When the user attempts to "Save and exit"
> they receive a null pointer, due to the date not being passed on the URL.
>
> I'm using the following code on the jsp:
>
> <cms:contentload collector="singleFile" param="${opencms.uri}"
> editable="true">
> <h2><cms:contentshow element="PageLabel"/></h2>
>
> <div class="cmscontent"><cms:contentshow element="PageText"
> /></div>
> </cms:contentload>
>
> <p><fmt:formatDate value='${parsedDate}' pattern='EEEE, MMMM dd,
> yyyy'/></p>
>
> Variable "parsedDate" is passed on the url and is causing the null
> pointer.
> How do I get OpenCms to pass the parameters when going to the edit page
> and
> back?
> --
> View this message in context:
> http://www.nabble.com/OpenCms-Edit-Mode%3A-Not-passing-parameters-tf3717364.html#a10399613
> Sent from the OpenCMS - Dev mailing list archive at Nabble.com.
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20070514/7b142c98/attachment.htm>
More information about the opencms-dev
mailing list