These are good points. I'll add it as a bug so we won't forget this.

----- Original Message ----- 
From: "Taavi Tiirik" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 27, 2002 5:53 PM
Subject: [Webwork-user] Re: webwork <ui:textfield> tag not safe to use


> And I forgot to add that this is not really a form-tags specific problem.
> <webwork:property> tag should give some kind of encoding features
> as well. Or am I misunderstood something and wondering about
> reinventing the wheel?
> 
> Well... how do you output following string into html/jsp page with the
> help of property tag?
> 
>     String s = "abc<>\"def<";
> 
> Let's say you have getter method:
> 
>     String getS(){ return s; }
> 
> and now what?
> 
> I feel that this getter method is just ok and action should never worry
> about escaping data. It's the view that should do something about it.
> And property tag tag that is often used for building html/jsp whatever
> page, should definitely have this escaping functionality. And different
> languages (wml, html, etc.) may have different characters that
> need to be escaped...
> 
> Any ideas?
> 
> thanks,
> Taavi
> 
> 
> _______________________________________________
> Webwork-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/webwork-user
> 
> 



_______________________________________________
Webwork-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webwork-user

Reply via email to