|
|
Subject: Alternative renderings - msg#00143
List: java.displaytag.general
I use a library that allows an easy way to get ajax capability
(ajaxanywhere). To use it correctly however the links that I use to
slide between pages need to be generated by a javascript function. This
approach works fine however this forces me to either user ajaxanywhere
links for all tables or don't use them at all. Is there a way to specify
alternative renderings?
Srgjan
Was this page helpful?
Thread at a glance:
Previous Message by Date:
click to view message preview
Paging: Bug(?) with First/Prev - Next/Last url links
Hello to all,
We are using the taglib with Spring, and need all paging link urls to
link to a specific url: "searchPage.html?pageIndex={0}",
where {0} is the page number (as indicated in the configuration
properties documentation). Now by using the following
configuration:
<display:table .... requestURI="searchPage.htm">
...
<display:setProperty name="paging.banner.page.link"
value='<a href="?pageIndex={0}">{0}<a>' />
</display:table>
Individual page links display just fine (e.g.<a
href="searchPage.htm?pageIndex=3">3</a>, for the 3d page).
The problem is that the First/Prev, Next/Last url's use the (default?)
"page" string as paging parameter and also append
all search form parameters in the query string (example for the "Last"
page link), ignoring the provided property:
<a
href="searchPage.htm?criteria1=&criteria2=&pageIndex=1&page=10&[rest
of query params]">Last</a>
In the docs there are options to change how pagining banner text, but
not the links to these pages themselves...
Shouldn't all links follow the suggested format? Please let me know if
we should open an issue for this or there is something we are missing...
Thanks in advance
Economopoulos Spyros
Athens - Greece
Next Message by Date:
click to view message preview
[displaytag - Help] link to the same page
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3752339
By: el_fhall
hello every body,
i have two different blocs of <DIV>...</DIV> that i dont want to display them
together. but according to the parameter "action" some thing like this :
if("action"...){
<DIV class="x">...</DIV>
}else{
<DIV class="y">...</DIV>
}
how can i do that
thanks
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=249318
Previous Message by Thread:
click to view message preview
Paging: Bug(?) with First/Prev - Next/Last url links
Hello to all,
We are using the taglib with Spring, and need all paging link urls to
link to a specific url: "searchPage.html?pageIndex={0}",
where {0} is the page number (as indicated in the configuration
properties documentation). Now by using the following
configuration:
<display:table .... requestURI="searchPage.htm">
...
<display:setProperty name="paging.banner.page.link"
value='<a href="?pageIndex={0}">{0}<a>' />
</display:table>
Individual page links display just fine (e.g.<a
href="searchPage.htm?pageIndex=3">3</a>, for the 3d page).
The problem is that the First/Prev, Next/Last url's use the (default?)
"page" string as paging parameter and also append
all search form parameters in the query string (example for the "Last"
page link), ignoring the provided property:
<a
href="searchPage.htm?criteria1=&criteria2=&pageIndex=1&page=10&[rest
of query params]">Last</a>
In the docs there are options to change how pagining banner text, but
not the links to these pages themselves...
Shouldn't all links follow the suggested format? Please let me know if
we should open an issue for this or there is something we are missing...
Thanks in advance
Economopoulos Spyros
Athens - Greece
Next Message by Thread:
click to view message preview
[displaytag - Help] link to the same page
Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3752339
By: el_fhall
hello every body,
i have two different blocs of <DIV>...</DIV> that i dont want to display them
together. but according to the parameter "action" some thing like this :
if("action"...){
<DIV class="x">...</DIV>
}else{
<DIV class="y">...</DIV>
}
how can i do that
thanks
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=249318
|
|