On Wed, 09 Mar 2005 11:11:26 -0500, Gili <[EMAIL PROTECTED]> wrote:
> 
>        I assume we're talking about my idea of Wicket returning raw
> tags one at a time?

yes

> 
>        Redirecting StringResponse would still give me all the raw
> markups in one big lump right? I mean, there is no guarantee that I'd
> get the tags one at a time. My point is, I could take all the raw tags
> (in one lump) pass them through dom4j and do my own custom parsing but
> this is inefficient because I'd have to create my own parser, document,
> etc when we obviously already have one in Wicket. If I wanted to do
> manipulation of raw tags, having Wicket tokenize them for me would be
> far easier than doing it myself.

You are completely right regarding speed and dom4j etc.. But again, we
are deliberately protecting RawMarkup because the idea is that Wicket
does only deal with tags which are clearly identified as Wicket tags
(id="wicket-..." etc.). IMO we should not blur that concept by
providing users access to tags by any other means. But of course that
is only my opinion.

> 
>        Maybe it would help rephrasing the request... Instead of
> MarkupStream.mutable(), I'm looking for something like
> MarkupStream.rawMarkup(). It would return a subclass of some kind that
> would return raw tags, whereas the default stream would not do this...
> Anyway, food for thought.

I think in the very rare cases (I myself didn't come accross any yet)
where I would like to change the raw markup and for whatever reason
have no wicket component attached, IMO we can live with the workaround
provided.

Let me ask one questions:
why is it neccessary to remove the <table> and related tags if table
width="100%". Why does it work for 50% and 99.99% but not for 100%.
And what about 120% (in case if makes sense at all). May be you
component should just make sure that width is never exactly 100% but
99.99% or 100.01%.

Juergen


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to