Foros de discusión

Shared parameters are lost from url

Abid Mehmood, modificado hace 7 años.

Shared parameters are lost from url

Junior Member Mensajes: 66 Fecha de incorporación: 8/09/11 Mensajes recientes
Hi,

On my page, i have category navigation portlet and asset Publisher portlet. They both communicate through shared parameter, categoryId.
Now all is fine but as soon as i click on a page number in paging of Asset Publisher, shared parameter categoryId is lost from the url.


Now two question

1)Even though categoryId doesn't exist in URL anymore after using paging, where does category Navigation portlet and Asset Publisher portlet get this parameter because they still work somehow (not completely because i soon as i click on a journal article and go on a detail page for that and then hit back button of Asset publisher portelt, my selected category are lost ).

2) I tried to set categoryId in iterator url of paging through searchContainer.getIteratorURL().setParameter but its just simply ignore categoryId parameter and doesn't add it into url(i know i know setParameter will add namespace of Asset publisher portlet infront of categoryId but why does it's just simply ignore the whole parameter)

Thanks