maybe we should have a single setStrip(int flags) method and allow various things to be stripped via flags.
STRIP_COMMENTS - removes html comments STRIP_REDUNDANT_WHITESPACE - compresses whitespace STRIP_WICKET_TAGS - removes <wicket:*> tags STRIP_WICKET_IDS - removes wicket ids entirely STRIP_WICKET_ID_PREFIXES - removes just the wicket id prefix
make sense?
Juergen Donnerstag wrote:
sounds much better. Does it make sense to have two separate flags to enable/disable stripping. One for <wicket:....> and one for "empty" <span id="wicket-...">?
Juergen
------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Wicket-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-develop
------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Wicket-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-develop
