Geert,

I just added tag tag/entity detection to StringUtils.encodeHtmlDefensive. I put below the unittest for comments.

Nice work Pierre, this looks like a very powerful and flexible implementation, based on the unittest you sent.

Next point, object injection. You wrote:

That's actually not entirely correct. RIFE supports injection of any kind of object and will try its best to convert between types.

Can you give me an exemple with an object other than a String. I didn't find very usefull the exemple in "Ioc Support" wiki article as it uses directly supported tag "datasource". And I don't know where to find other exemples.

You can retrieve any object from any participant, using the XML declaration. This is explained here:
http://rifers.org/wiki/display/RIFE/IoC+support#IoCsupport-1

Besides that, a site structure can be declared in Java, Groovy or Janino (not just XML). So people can easily inject any object using the SiteBuilder method calls, like this:
addProperty("prop1", new PropertyValueObject(myobject))

Best regards,

Geert

--
Geert Bevin                       Uwyn bvba
"Use what you need"               Avenue de Scailmont 34
http://www.uwyn.com               7170 Manage, Belgium
gbevin[remove] at uwyn dot com    Tel +32 64 84 80 03

PGP Fingerprint : 4E21 6399 CD9E A384 6619  719A C8F4 D40D 309F D6A9
Public PGP key  : available at servers pgp.mit.edu, wwwkeys.pgp.net
_______________________________________________
Rife-users mailing list
[email protected]
http://www.uwyn.com/mailman/listinfo/rife-users

Reply via email to