On Mon, May 02, 2011 at 03:32:31PM +0200, Wim Dumon wrote:
> > 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
> >
> 
> Hi Kurt,
> 
> There's a mechanism in Wt that may allow you to do what you want. See
> the manual of WTemplate. If you can make your form a WTemplate, Wt
> will still perform XSS filterning on the tags that you supply to the
> template - I would expect that this will also be the visible text in
> your case.
> 
> Can this approach solve your problems?

I've just looked at this.  From what I understand:
- I would still have to write my own (X)HTML
- When using the bindString() with FormatText set to Wt::PlainText
  I can probably get the proper escaping done for me.

But then I wonder if the bindString() is going to add things like
a span around it, which is not what I want.


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