On hitting back button from record detail page, i am not getting filtered applied list of results in previous page1 in visualforce - class

I need help in a Salesforce visualforce pages .I have 2 vf pages and 2 different controllers for that. The problem is when the user applys few filters on current record list page(page 1), and opens a filtered record which open page 2(detail page). Now when he hits the back button to see the filtered list again, the applied filters disappear and he is not getting filtered result.

Related

Blazor 6.0, List/details from EF, how to maintain list state when coming back?

If I create a static HTML page with a long list of clickable items, click one item to navigate to the item details page, and then press the mouse back button, the web browser goes back to the exact position where I was.
I wondered if this is possible when creating a Blazor 6.0 app that shows a list of item from Entity Framework Core 6.0. I tried the official sample form Microsoft, and as I worried, when I clicked the mouse back button, the list page was reloaded and shows the beginning.
Is it possible to keep the list state when navigating to item details page and coming back? I mean, it is the same list, so why reload it?

Angular canDeactivate only works with tabs but not PrimeNg PTree Selection

I am curious if you have any suggestions for me regarding the Angular “canDeactivate Guard” feature. I implemented it for a series of tabs, and it worked as expected. The guard will warn the user that there is unsaved data when navigating between tabs. Then, the user can leave (Ok button) or stay (Cancel button) on the confirmation dialog. However, I cannot get it to prevent the user from selecting a node in the navigation tree menu.
Scenario 1: the user switches tab while there is unsaved data and select the “Cancel” button on the confirmation dialog
Expected Result: worked as expected
Scenario 2: the user switches organization or group on the navigation tree while there is unsaved data and select the “Cancel” button on the confirmation dialog
Select an organization or group on the navigation tree
Modify the organization data
Select a different organization or group on the navigation tree
Expected Result: The expected behavior is when the user selects the “Cancel” button, the unsaved data does not change, and the original organization remains on the same node.
Actual Result: The St. Luke’s Roosevelt organization is selected, whereas it should not have been.
Step 1
Step 2
Step 3 & 3
Final Result

sharepoint online, set edit item view as default instead new item view

I am working in a small SharePoint project to let school students pre-order the lunch online.
the main idea is the student can login to a school site, fill an order form.
I try use a list form to do it, just simply put a InfoPath form as web part on the home page.
When students open the site, he can fill the order form directly.
but the problem is the default view of this web part is always the new item form. so when a student already make the order, then login to site again,
how can I let him see his order and edit it instead a new order form.
another way may be use the form library, but i don't know how can i transfer the filed from the form to a list. because at last we still need a list instead a bunch of documents to get the summary of order.
Thank you for help.
Perhaps you can use a custom list and show that on the homepage?
A 'custom list' by default only has a title column but by adding more columns through the list settings you automatically add form fields on its new item form.
Since you are creating an order form you might want to hide the title column. Go to the settings of the list, then advanced settings, allow editing of content types. Then back in the list settings click the 'item' content type, then the title column then click the radio button for hidden.

losing data stored in list when next page selected in pageablelistview with checkbox

How do I not lose stored data of selected items in a pageable list view with checkbox when I change the page. please view my earlier post for code.
Visit page:
checkbox in pageablelistview in wicket
You can either:
store the data using Ajax the moment the checkboxes are set/unset.
try to prevent the user from leaving the page by javascript. See here

Wicket - need FilterForm ajax events for GoAndClear button events

I've added a FilterForm with GoAndClear buttons to an AjaxFallbackDefaultDataTable. The filtering is working fine except for refreshing my table. I have a dropdown that changes the number of rows to show which does a target.addComponent(my AjaxFallbackDefaultDataTable) which doesn't reload the data but refreshes the. If I use this after I click a Go or Clear button then the table shows the proper rows, item count, and page links.
How can I handle Go and Clear clicks on my FilterForm to update my AjaxFallbackDefaultDataTable?
In the onsubmit method for the filter form just call .renderComponent() for the table.