On Sun, May 01, 2011 at 10:15:09PM +0400, Dmitriy Igrishin wrote:
> Hey Kurt,
> 
> 2011/5/1 Kurt Roeckx <[email protected]>
> 
> > Hi,
> >
> > I would like a create form that does a post and doesn't go to the
> > application.  Is there a way to create such a form?
> >
> Yes, use HTML.
> Seriously, what does it means in the context of Wt application?

The form I want to create contains a bunch of (hidden) input fields
that need to be send to something else.  So I want a real form
with a submit input, not a button.  And I want to create those
hidden input fields.

So I created the HTML myself and show it using Wt::WText with
TextFormat set to XHTMLUnsafeText.

But now I have to start wondering about properly quoting/escaping
the values I set.  I potentionally also have to start wondering
about XSS, but I don't think that's a problem in this case.

I think the library should provide me ways to automate this, so
that I don't have to worry about those things.  But I don't find
anything in the documentation to:
- create hidden input fields
- create a submit button
- set the method and action of a form
- quote/escape the string for the input field


Kurt


------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to