Thanks Allen,
$model.weblogCategory.Name does indeed work.
Unfortunately, it doesn't help me.
I need to point to a real URL (invokable via HttpXmlRequest) that lists only
the entries for a given category, ie. #showWeblogEntriesInCategory('_day' 0
$catName) - however I can't use that macro directly because Dojo trips
ovever it before it gets turned into a real URL. So basically I've wrapped
that call in a template and I then invoke the template URL - but I need to
pass in and access an argument (category) to present the correct entries.
Hence I need a way to access the request paramters.
- Rich
Allen Gilliland-3 wrote:
>
> you can get the category object from the request using
> $model.weblogCategory
>
> -- Allen
>
>
> sharps wrote:
>> [Roller 3.0]
>>
>> I'm sure I must be doing something wrong here.
>>
>> I want to get the category request parameter and use the following :
>>
>> #set($cat = $req.getParameter( $WEBLOGCATEGORYNAME_KEY ) )
>>
>> but it would seem that $req doesn't exist. I thought it was available to
>> all
>> template pages.
>>
>> I tried $request as well but same problem.
>>
>> - Rich
>>
>
>
>
--
View this message in context:
http://www.nabble.com/Roller-3.0-%3A-req.getParameter-tf2223440s12275.html#a6161385
Sent from the Roller - User forum at Nabble.com.