/[pac]/CMFGeographics/README
ViewVC logotype

Diff of /CMFGeographics/README

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by tvon, Fri Oct 3 18:37:53 2003 UTC revision 1.5 by tvon, Fri Oct 3 18:41:42 2003 UTC
# Line 31  Basic example of fetching US States and Line 31  Basic example of fetching US States and
31                  <div class="row">                  <div class="row">
32                      US State:                      US State:
33                      <select name="us_state">                      <select name="us_state">
34                            <!--
35                            Two points here:
36                            1- You fetch properties with:
37                                here.path.to.properties.getProperty('property_name')
38                            2- You need to split the result around the pipe '|' character to get
39                                key,value.
40                            -->
41                          <div tal:repeat="us_state python:here.portal_properties.geographic_properties.getProperty('us_states')"                          <div tal:repeat="us_state python:here.portal_properties.geographic_properties.getProperty('us_states')"
42                              tal:omit-tag="">                              tal:omit-tag="">
43                              <option tal:define="values python:us_state.split('|')"                              <option tal:define="values python:us_state.split('|')"

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26