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:jcgarc...@gmail.com] 
Sent: Thursday, September 01, 2011 4:34 PM
To: users@wicket.apache.org
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
<jcgarc...@gmail.com>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] <ml-node+3784600-559914674-65...@n4.nabble.com> 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
>> ml-node+1842946-398011874-65...@n4.nabble.com
>> 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
>
>
>


-- 

JC


--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/On-Label-Div-or-some-other-co
mponent-how-to-use-setMarkupId-and-dynamic-id-tp3784344p3784704.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to