I think he wants to do:

<wicket:dummy id="listview">
    <span wicket:id="name">name</span>
</wicket:dummy>

add(new ListView("listview") {
    protected void populateItem(ListItem item) {
        add(new Label("name"));
    }
}

On 10/10/05, Johan Compagner <[EMAIL PROTECTED]> wrote:
and what should we do with wicket:dummy?
You can already use wicket:remove
http://www.wicket-wiki.org.uk/wiki/index.php/Tags


On 10/10/05, SourceForge.net < [EMAIL PROTECTED]> wrote:
Feature Requests item #1321797, was opened at 2005-10-10 05:13
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=684978&aid=1321797&group_id=119783

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: 1.1
Status: Open
Priority: 5
Submitted By: tyrhant (tyrhant)
Assigned to: Nobody/Anonymous (nobody)
Summary: Introduce dummy tag

Initial Comment:
I want some dummy tag that can be used instead of div or span.

Currently, my code is like this
<span wicket:id="list">
  <span wicket:id="label" /><br />
</span>
and I call setRenderBodyOnly(true) in Java side for "list" component.

If we have dummy wicket tag, I can write
<wicket:dummy wicket:id="list">
  <span wicket:id="label" /><br />
</wicket:dummy>
and just setStripWicketTag(true) does the job, right?
I think this way is better for Java-HTML separation than using
setRenderBodyOnly() method.

The name "dummy" may be not a nice one.
Please give it some better name.

That's it.
Thanks.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=684978&aid=1321797&group_id=119783


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop


Reply via email to