yes, but it's common enough we might want to provide ComponentTagRemover to do this in general... ?


Juergen Donnerstag wrote:

That sounds like good idea. you actually don't need such a remover.
You may replace handleComponentTag and renderBody an write an empty
string. Not sure I got the methodnames right though.

Juergen


On Sun, 02 Jan 2005 12:57:09 -0500, Gili <[EMAIL PROTECTED]> wrote:


       +1. That would solve my problem.

Gili

On Sun, 02 Jan 2005 09:54:19 -0800, Jonathan Locke wrote:



i'm sorry.  i meant ComponentTagRemover.

Jonathan Locke wrote:



could we make a generic ComponentTagAttributeRemover thing somehow
that would either render or not render the tag it's attached to but
still render its body?

Jonathan Locke wrote:



i don't know what i mean ;-)

yeah, maybe handleBody...

i just realized what i suggested won't work because it's a border.

i dislike the idea of special visibility.

Gili wrote:



   What do you mean by Java code? Will I have to parse the HTML
myself in handleBody()? Is there an easier way? Maybe we can add an
attribute similar to 'visible' that would strip away the tag but not
its contents?

Gili

On Sun, 02 Jan 2005 09:43:08 -0800, Jonathan Locke wrote:





i thought of that, but i think it will hide the children too.  java
code may be the only way on this one.

Eelco Hillenius wrote:





You can probably get there by using the 'visible' property of
components.

Eelco

Gili wrote:





  Juergen and I have been discussing the round corner panel
component and I've got a problem. As I mentioned before, the panel
consists of eight DIV tags with a nested <table> tag. The problem is
that I want the <table> tag to be included conditionally, only if
the
component parameter "width" is not "100%".

  I know of ComponentTagAttributeModifier for modifying the value
of attributes, but I'm actually looking for a
ComponentTagModifier that
has the ability to conditionally remove a tag but not its nested
children. Any ideas?

Gili



-------------------------------------------------------
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




-------------------------------------------------------
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





-------------------------------------------------------
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



-------------------------------------------------------
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





-------------------------------------------------------
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

Reply via email to