Yes, I did add param2ctx to the html flavor and save it. The
problem
was that I was using jsp:include and had to also change the
url
because of the way BlojsomServlet has servlet-mappings set
up, so the
params weren't passed thru.
I am trying to set a permalink but it isn't very pretty
#set($permalink =
"/?category=$entry.getCategory()&date=$entry.getDat
eAsFormat('yyyy')/$entry.getDateAsFormat('MM')/$entry.getDat
eAsFormat('dd')/&slug=$entry.getPostSlug()")
In addition to being messy code, it's a big url.
In jsp it is very clean: Just use c:url tag.
I don't think there are tags in velocity.
On 5/20/07, Cliffano Subagio <cliffano gmail.com> wrote:
> I just retested the plugin with your sample param and
it worked fine.
> I.e. I got
> Request param date: /2007/05/19/ Request param entry:
test-entry-1
>
> Have you added 'param2ctx' to the plugin chain? (as
described on the wiki
> page).
>
>
>
> On 5/20/07, Garrett Smith <dhtmlkitchen gmail.com> wrote:
> >
> > That is what I am looking for.
> >
> > I actually tried that but am not getting the
params. I'll keep trying with
> it.
> >
> > * param2ctxplugin in WEB-INF/lib
> > * Goto:
> http://127.0.0.1/?date=/2007/05/19/&entry=test-ent
ry-1
> > * I see this on my web page: $param_date
$param_entry
> >
> >
>
------------------------------------------------------------
-------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2
express and take
> > control of your XML. No limits. Just data. Click
to get it now.
> > http://sourcefor
ge.net/powerbar/db2/
> > _______________________________________________
> > Blojsom-users mailing list
> > Blojsom-users lists.sourceforge.net
> >
> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
> >
>
>
>
------------------------------------------------------------
-------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2
express and take
> control of your XML. No limits. Just data. Click to get
it now.
> http://sourcefor
ge.net/powerbar/db2/
> _______________________________________________
> Blojsom-users mailing list
> Blojsom-users lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
>
>
--
site still down.
------------------------------------------------------------
-------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and
take
control of your XML. No limits. Just data. Click to get it
now.
http://sourcefor
ge.net/powerbar/db2/
_______________________________________________
Blojsom-users mailing list
Blojsom-users lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/blojsom-u
sers
|