Re: [Zope] Dynamic hyperlink with parameter

2005-04-10 Thread robert
srikanth wrote:
Hi,
 I am trying to execute something like:
  

   
href="eachrecordresult.html?fname='recordset/fname'"> First Name

Last Name 
   

  Everything works fine but the hyperlink. What I want it to look in
the hyperlink is something like:
eachrecordresult.html?fname='chris' 
where eachrecord is separe ZPT which retrieves each persons
record and displays it.

   But how it interprets it is (each looks the same):
  eachrecordresult.html?fname='recordset/fname'
 

you have to use the tal:attributes featur. Someting like

   mailto:%s' % person['email']" 
tal:content="person/name" />

robert

 How can I solve this problem.
Thanks in advance.
Srikanth.
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

 

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Dynamic hyperlink with parameter

2005-04-09 Thread David H
srikanth wrote:
Hi,
 I am trying to execute something like:
  

   
href="eachrecordresult.html?fname='recordset/fname'"> First Name

Last Name 
   

  Everything works fine but the hyperlink. What I want it to look in
the hyperlink is something like:
eachrecordresult.html?fname='chris' 
where eachrecord is separe ZPT which retrieves each persons
record and displays it.

   But how it interprets it is (each looks the same):
  eachrecordresult.html?fname='recordset/fname'
 How can I solve this problem.
Thanks in advance.
Srikanth.
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

 

Srikanth,
This is a better example, I tested it on my system against my Vendors 
file. 


  
  
  
 
  
  
  
 

Anyway, it should be close to what your looking for I hope cause Im done 
now.

David
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Dynamic hyperlink with parameter

2005-04-09 Thread David H
srikanth wrote:
Hi,
 I am trying to execute something like:
  

   
href="eachrecordresult.html?fname='recordset/fname'"> First Name

Last Name 
   

  Everything works fine but the hyperlink. What I want it to look in
the hyperlink is something like:
eachrecordresult.html?fname='chris' 
where eachrecord is separe ZPT which retrieves each persons
record and displays it.

   But how it interprets it is (each looks the same):
  eachrecordresult.html?fname='recordset/fname'
 How can I solve this problem.
Thanks in advance.
Srikanth.
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

 

Srikanth, just replace the range with your recordset, etc.  I think this 
should work.


  
  Link Stub
  
  

David
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )