Changeset 509:9d05befdd462 in documentViewer for zpt


Ignore:
Timestamp:
Feb 27, 2012, 8:57:18 PM (12 years ago)
Author:
casties
Branch:
elementtree
Message:

try to get characterNormalization in search result working.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • zpt/viewer_text.zpt

    r508 r509  
    6969          <h4>Text display</h4>
    7070          <pre tal:content="python:repr(viewLayers)" />
     71          <pre tal:content="python:repr(viewLayer)" />
    7172          <form tal:attributes="action viewerUrl" class="autosubmit">
    7273            <input type="hidden"
     
    182183            tal:define="norm python:pageinfo.get('characterNormalization','regPlusNorm');">
    183184            <input type="hidden"
    184               tal:define="params python:here.getParams('characterNormalization',None)"
     185              tal:define="params python:here.getParams(params={'characterNormalization':None, 'viewLayer':viewLayer})"
    185186              tal:repeat="param params"
    186187              tal:attributes="name param; value python:params[param]" />
Note: See TracChangeset for help on using the changeset viewer.