I am new to Liferay, so I need help on Search Container. In my Search Container they are two pages. After deleting a row from a liferay search container using
String redirectURL=themeDisplay.getURLCurrent(); it is redirecting to current page in liferay, but if there is no data in that page then it should redirect to previous page. How to achieve this?
Liferay Search Container Pagination in Liferay MVC
1.7k Views Asked by T.s.karthikeyan At
1
There are 1 best solutions below
Related Questions in LIFERAY
- how to bypass the necessity of having to have email address firstname and lastname in liferay to import authenticating users
- How to resolve java.lang.StringIndexOutOfBoundsException: String index out of range: -325 while deploying Liferay Ext plugin 6.1
- Avoid log trace of external framework J2EE
- Unit testing with Liferay 6.2
- Customize Liferay search portlet
- Build Liferay web service with optional parameter
- How to start with liferay
- Embedding Microsoft Power BI into Liferay
- Remove " Automatically Extracted Metadata and Version History " from Liferay portlet
- Get list of users in liferay
- How to pass HTTP request to Web-Service
- How to land users to different page as per their roles
- Incorrect liferay-plugins dependency
- How to pass data from page to Portlet class through AJAX call?
- EL Exception on JSP when passing arguments to liferay-ui:message
Related Questions in LIFERAY-6
- How to resolve java.lang.StringIndexOutOfBoundsException: String index out of range: -325 while deploying Liferay Ext plugin 6.1
- liferay unasign user to delete organizations
- Customize Liferay search portlet
- Embedding Microsoft Power BI into Liferay
- How to pass HTTP request to Web-Service
- how to change the icon of default porlet language in liferay 6.2
- Sharepoint 2010 CMIS Integration
- Link to page not working liferay 6.2 web content template
- runtime added portlets do not rendered when parent portlet has use-default-template value true
- Include ftl file in ext plugin
- What are the steps to Integrate the Alloy Editor 3.0 and bootstrap 3.2 in liferay 6.2?
- Liferay 6.2 deployment fails with missing/unavailable dependencies on JBoss
- Changing order of two divs with CKEditors
- Template on Web content structure
- Issue in adding custom method in EXT
Related Questions in LIFERAY-AUI
- How can I change the zIndex attribute of aui-datepicker in Liferay Portlet 6.2
- How to make a liferay navigation portlet mobile friendly?
- AUIScript Val().length is Undefined
- multiple navigation menus with liferay theme-settings
- How does Object inside if condition works?
- Liferay Search Container Pagination in Liferay MVC
- Liferay Documents and Media ( Media Gallery hook) sort latest uploaded folder first
- Liferay JavaScript Function is not defined
- aui validator equalsTo is only for password?
- How do I activate a YUI Datepicker only by a seperate Icon, not by the referenced input field?
- How do I trigger a onclick javascript of a link with AUI?
- where liferay site will store in which table details will fetch?
- How to make AUI validation apply only when a check box is selected?
- How to restrict other user group members to view the Documents
- How to create a sub-organization in Liferay 6.1
Related Questions in LIFERAY-IDE
- Embedding Microsoft Power BI into Liferay
- How to create service builder for liferay plugin project with maven
- Can't install Veloeclipse for Liferay Developer Studio
- Liferay Search Container Pagination in Liferay MVC
- Liferay Documents and Media ( Media Gallery hook) sort latest uploaded folder first
- ORA-24816 ... on Liferay embedded server but not on integration server
- Liferay maven dependency could not be resolved
- Vaadin Liferay Portlet Project using Liferay 6.0.6 and Eclipse Luna
- How to overcome BeanLocator is null error in Liferay while running a Scheduler?
- What is Liferay Faces and its connection to JSF (Java Server Faces)
- Liferay Control Panel Layout
- sign in liferay 6.2 but authentication must take place by user defined table data
- AUI Autocompletelist cache issue
- Liferay 7.4 development using SDK
- Liferay: Fix the Error in eclipse by using Liferay IDE and own project folder organization
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?

Please do not use
<liferay-ui:page-iterator>Comment the
<liferay-ui:page-iterator>tag anduncomment the
<liferayui:search-container>tag . Using this after delete record your page will be automatically refreshed and back to page you want .OR
You can do one thing like change iteratorURL Value when no records are there.
For mor Information about liferay search container Follow this link.
http://www.liferaysavvy.com/2014/05/liferay-search-container.html