Questions tagged [htmlfill]

7 questions
3
votes
1 answer

WebRequest: How to find a postal code using a WebRequest against this ContentType="application/xhtml+xml, text/xml, text/html; charset=utf-8"?

I first posted this: HttpWebRequest: How to find a postal code at Canada Post through a WebRequest with x-www-form-enclosed?. Following AnthonyWJones suggestions, I changed my code following his suggestions. On a continuation of my inquiry, I have…
Will Marcouiller
  • 23,773
  • 22
  • 96
  • 162
3
votes
2 answers

HttpWebRequest: How to find a postal code at Canada Post through a WebRequest with x-www-form-enclosed?

I'm currently writing some tests so that I may improve my skills with the Internet interaction through Windows Forms. One of those tests is to find a postal code which should be returned by Canada Post website. My default URL setting is set to:…
Will Marcouiller
  • 23,773
  • 22
  • 96
  • 162
2
votes
2 answers

Pylons FormEncode with an array of form elements

I have a Pylons app and am using FormEncode and HtmlFill to handle my forms. I have an array of text fields in my template (Mako) Yardage ${h.text('yardage[]', maxlength=3, size=3)} ${h.text('yardage[]',…
baudtack
  • 29,062
  • 9
  • 53
  • 61
2
votes
1 answer

Using Pylons validate and authenticate_form decorator

The validate and authenticate_form decorators don't seem to play nice together. This is my template: Test ${h.secure_form('/meow/do_post')}
lmz
  • 1,560
  • 1
  • 9
  • 19
1
vote
1 answer

Using HTMLFill with Pyramid's @view_config

I am trying to use HTMLFill to populate a form with default values. I have a function that uses the @view_config decorator and generates a form in mako. @view_config(renderer="templates/derived/new/model.mak", route_name='new_model_route') def…
sutee
  • 12,568
  • 13
  • 49
  • 61
0
votes
1 answer

How can i use render to render a page in pylons with a named anchor?

I need to render a page after a formencode validation. html = render('/billing_errors/index.mako') This page contains tabs that are anchored.
-1
votes
3 answers

Getting php value in html

I am trying to display the name retrieved from Database in html file . Referred couple of blogs, still I am not able to display the value
Santosh M
  • 115
  • 3
  • 16