view · edit · sidebar · attach · print · history

20120920-fachinfo-chapter-instant-search-text-highlight

<< | Index | >>


Summary

  • Create retult view of Fachinfo chapter search.

Index


Allowed access to Request Object in Session

in src/util/session.rb
module ODDB
  class Session < SBSM::Session
    attr_reader :request
    ...

p @session.request_request_method #=> "POST"


Vertical list with HtmlGrid::List

If cpomponents has 2 componet vertically,
HtmlGrid::List makes unexpected(concatenated with previouse elements) result html with 0,1 .
use 0,2

HtmlGrid::List needs hight steps as the need.

  OFFSET_STEP = [0,2]

Some View uses already this way.

  • src/view/drugs/fachinfo_search.rb
  • src/view/doctors/doctor.rb
  • src/view/substances/substances.rb
  • src/view/feedbacks.rb

Create Result-View

view · edit · sidebar · attach · print · history
Page last modified on September 20, 2012, at 10:47 AM