If all you need is to scrape for them just give them a specific class.
No need to use custom attributes.
Regards
Robert
On 09/01/2011 10:38 PM, Brown, Berlin [GCG-PFS] wrote:
Well setMarkId is already there.
And I have seen it done before, I think with the render Header?
I think I got what I needed.
-----Original Message-----
From: jcgarciam [mailto:[email protected]]
Sent: Thursday, September 01, 2011 4:34 PM
To: [email protected]
Subject: Re: On Label/Div or some other component, how to use
setMarkupId and dynamic id
I meant "some specific custom attribute".
On Thu, Sep 1, 2011 at 5:33 PM, Juan Carlos Garcia
<[email protected]>wrote:
Why not adding a behavior that output some specific custom tag using
the "onComponentTag" method? Will that work for you?
On Thu, Sep 1, 2011 at 4:54 PM, Brown, Berlin [GCG-PFS] [via Apache
Wicket]<[email protected]> wrote:
Strange but I may scrape the page and search for those particular
elements. I want the prefix but I also want to keep uniqueness.
-----Original Message-----
From: Igor Vaynberg [mailto:[hidden
email]<http://user/SendEmail.jtp?type=node&node=3784600&i=0>]
Sent: Thursday, September 01, 2011 2:19 PM
To: [hidden email]
<http://user/SendEmail.jtp?type=node&node=3784600&i=1>
Subject: Re: On Label/Div or some other component, how to use
setMarkupId and dynamic id
i guess the question would be: why?
-igor
On Thu, Sep 1, 2011 at 10:57 AM, Brown, Berlin [GCG-PFS]<[hidden
email]<http://user/SendEmail.jtp?type=node&node=3784600&i=2>>
wrote:
Is there a way to prefix a component with using setMarkupid but
also have the dynamic id.
I want my end output to have:
With Code:
x = new WebMarkupContainer("myId")
x.setMarkupId("myId");
<div id="myId_id2323" />
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden
email]<http://user/SendEmail.jtp?type=node&node=3784600&i=3>
For additional commands, e-mail: [hidden
email]<http://user/SendEmail.jtp?type=node&node=3784600&i=4>
---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden
email]<http://user/SendEmail.jtp?type=node&node=3784600&i=5>
For additional commands, e-mail: [hidden
email]<http://user/SendEmail.jtp?type=node&node=3784600&i=6>
------------------------------
If you reply to this email, your message will be added to the
discussion
below:
http://apache-wicket.1842946.n4.nabble.com/On-Label-Div-or-some-other
-component-how-to-use-setMarkupId-and-dynamic-id-tp3784344p3784600.ht
ml To start a new topic under Apache Wicket, email
[email protected]
To unsubscribe from Apache Wicket, click
here<http://apache-wicket.1842946.n4.nabble.com/template/NamlServlet.jtp
?macro=unsubscribe_by_code&node=1842946&code=amNnYXJjaWFtQGdtYWlsLmNvbXw
xODQyOTQ2fDEyNTYxMzc3ODY=>.
--
JC
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]