Nevermind, I need some sleep.  I was mixing JSP EL syntax with the {} syntax
in the UrlBinding annotation.
Everything is working just great.  Sorry for the confusion.


Caine wrote:
> 
> Maybe someone can help me with this.  I must be doing something wrong.  I
> have 2 <stripes:link> tags in my page that each generate a different url
> and one of them generates clean... the other does not.  
> 
> This one generates the following href (perfect, it's what I want): 
> http://localhost:8080/app/action/job/view/1
> 
> <stripes:link beanclass="com.lf.web.stripes.action.job.JobActionBean">
> <stripes:param name="job.id" value="${ job.id }"></stripes:param>
> ${ job.name }
> </stripes:link>
> 
> Controller mapping:  @UrlBinding(StripesConstants.VIEW_JOB_ACTION +
> "/{$event}/${ job.id }")
> 
> And yet this one generates:
> http://localhost:8080/app/action/jobs/list?criteria.column=name
> 
> <stripes:link beanclass="com.lf.web.stripes.action.job.JobListActionBean">
> <stripes:param name="criteria.column" value="name"></stripes:param>
> <fmt:message key="jobs.job_list.th.name" />
> </stripes:link>
> 
> @UrlBinding(StripesConstants.JOB_LIST_ACTION + "/{$event}/${
> criteria.column }")
> 
> What happened to my friendly url in the second one?
> 
> Thanks for any help,
> Caine
> 

-- 
View this message in context: 
http://www.nabble.com/Clean-URLs-Behaving-Badly...--tp20549697p20550310.html
Sent from the stripes-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to