Trails

The search component do not bind the field values to anything, so the input data is kept (and lost) in each search block.

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.1.1, 1.2.0
  • Fix Version/s: 1.2.0
  • Component/s: trails-hibernate
  • Labels:
    None
  • Number of attachments :
    1

Description

Rewrite the search blocks to bind the fields to a model in the main page.

This was originated in http://www.nabble.com/list-%2B-search-to18196519.html

Activity

Hide
Alejandro Scandroli added a comment - - edited

Patch attached. This patch is still somehow a hack, mainly because I don't like to brutally force a "model" property in HibernateListPage, but it works as a quick workaround until I found a better way to do it.

BTW, this patch (TRAILS-159_20080704.patch) is for 1.1.1

Show
Alejandro Scandroli added a comment - - edited Patch attached. This patch is still somehow a hack, mainly because I don't like to brutally force a "model" property in HibernateListPage, but it works as a quick workaround until I found a better way to do it. BTW, this patch (TRAILS-159_20080704.patch) is for 1.1.1
Hide
Alejandro Scandroli added a comment -

fixed in changeset 947.
I figured out how not to force a "model" in the ListPage
There is an usage example in AppleList in the "simple" example.

Show
Alejandro Scandroli added a comment - fixed in changeset 947. I figured out how not to force a "model" in the ListPage There is an usage example in AppleList in the "simple" example.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: