Re: [RFE] getMarkupId()

2007-09-26 Thread Alex Objelean
n I am trying to identify the component by >>>> it's id >>>> using some js library (like jQuery) and as a consequence the result >>>> of this >>>> query: $("#quantity.noOfUnits1232") is invalid. >>>> >>>> Tha

Re: [RFE] getMarkupId()

2007-09-26 Thread Alex Objelean
scheme is > preferable. > -- View this message in context: http://www.nabble.com/-RFE--getMarkupId%28%29-tf4493344.html#a12906940 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-

Re: [RFE] getMarkupId()

2007-09-26 Thread Alex Objelean
context: http://www.nabble.com/-RFE--getMarkupId%28%29-tf4493344.html#a12906729 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [RFE] getMarkupId()

2007-09-26 Thread Ryan Holmes
acters by a framework is exactly the kind of magic behavior that confuses users and therefore I think the recommended "fix" is a bad idea. -- View this message in context: http://www.nabble.com/-RFE-- getMarkupId%28%29-tf4493344.html#a12874680 Se

Re: [RFE] getMarkupId()

2007-09-26 Thread Ryan Holmes
#x27;s id using some js library (like jQuery) and as a consequence the result of this query: $("#quantity.noOfUnits1232") is invalid. Thank you! Alex. -- View this message in context: http://www.nabble.com/-RFE-- getMarkupId%28%29-tf4493344.html#a12815038 Sent from the Wicket - User mailin

Re: [RFE] getMarkupId()

2007-09-25 Thread Alex Objelean
of certain characters by a framework is > exactly the kind of magic behavior that confuses users and therefore I > think the recommended "fix" is a bad idea. > > -- View this message in context: http://www.nabble.com/-RFE--getMarkupId%28%29-tf4493344.html#a12874680 S

Re: [RFE] getMarkupId()

2007-09-25 Thread Alex Objelean
mponent by >> it's id >> using some js library (like jQuery) and as a consequence the result >> of this >> query: $("#quantity.noOfUnits1232") is invalid. >> >> Thank you! >> >> Alex. >> -- >> View this message in con

Re: [RFE] getMarkupId()

2007-09-25 Thread Ryan Holmes
by it's id using some js library (like jQuery) and as a consequence the result of this query: $("#quantity.noOfUnits1232") is invalid. Thank you! Alex. -- View this message in context: http://www.nabble.com/-RFE-- getMarkupId%28%29-tf4493344.html#a12

Re: [RFE] getMarkupId()

2007-09-24 Thread Sam Hough
;>>>>> >>>>>>> This is about how wicket generates dynamically markupID. >>>>>>> >>>>>>> I have, for instance, the following markup component: >>>>>>> >>>>>>> >>>>>>> >>>>>>> The generated markupId for this component looks like the following: >&

Re: [RFE] getMarkupId()

2007-09-23 Thread Matthijs Wensveen
Eelco Hillenius wrote: is it a joke ? In that case web design templates would need a unique class attribute for each element that is going to be used via Ajax. And in some cases it's not possible at all. For example, odd rows in a table might have a different color than even rows. Typically one

Re: [RFE] getMarkupId()

2007-09-23 Thread Matej Knopp
On 9/24/07, Maris Orbidans <[EMAIL PROTECTED]> wrote: > > is it a joke ? In that case web design templates would need a unique > class attribute for each element that is going to be used via Ajax. > And in some cases it's not possible at all. For example, odd rows in a > table might have a differe

Re: [RFE] getMarkupId()

2007-09-23 Thread Eelco Hillenius
> is it a joke ? In that case web design templates would need a unique > class attribute for each element that is going to be used via Ajax. > And in some cases it's not possible at all. For example, odd rows in a > table might have a different color than even rows. Typically one kind of > rows ha

Re: [RFE] getMarkupId()

2007-09-23 Thread Maris Orbidans
I use ajax as well, but I don't understand what's the problem with setOutputMarkupId ? In any case I am sure that forcing unique class attributes will create much bigger problem. Almost any non trivial web design uses identical class values in many places. Sometimes CSS class is used just

Re: [RFE] getMarkupId()

2007-09-23 Thread Maris Orbidans
is it a joke ? In that case web design templates would need a unique class attribute for each element that is going to be used via Ajax. And in some cases it's not possible at all. For example, odd rows in a table might have a different color than even rows. Typically one kind of rows have t

Re: [RFE] getMarkupId()

2007-09-21 Thread Matej Knopp
Yeah, if you do that then you have to make sure that it won't break when you e.g. put the component to page twice. -Matej On 9/21/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > you can, but then good luck making sure they are unique... > > -igor > > > On 9/21/07, Ryan Sonnek <[EMAIL PROTECTED]> w

Re: [RFE] getMarkupId()

2007-09-21 Thread Igor Vaynberg
you can, but then good luck making sure they are unique... -igor On 9/21/07, Ryan Sonnek <[EMAIL PROTECTED]> wrote: > > On 9/21/07, Matej Knopp <[EMAIL PROTECTED]> wrote: > > > > I dont' understand. You rely on the way how wicket generates IDs? Then > > your code is bound to break. If you really

Re: [RFE] getMarkupId()

2007-09-21 Thread Igor Vaynberg
gt; >>>>> I have, for instance, the following markup component: > > >>>>> > > >>>>> > > >>>>> > > >>>>> The generated markupId for this component looks like the > following: > > >>>

Re: [RFE] getMarkupId()

2007-09-21 Thread Igor Vaynberg
ds me of the Family Guy > >> screaming > >> >>>> monkey today. > >> >>>> > >> >>>> > >> >>>> > >> >>>> Alex Objelean wrote: > >> >>>>> > >> >>>>> This is about how wicket generates dynamically markupID. &

Re: [RFE] getMarkupId()

2007-09-21 Thread Ryan Sonnek
On 9/21/07, Matej Knopp <[EMAIL PROTECTED]> wrote: > > I dont' understand. You rely on the way how wicket generates IDs? Then > your code is bound to break. If you really need a wicket component's > id in javascript, you either override getMarkupId(), or pass the Id > using javascript (e.g. label c

Re: [RFE] getMarkupId()

2007-09-21 Thread Sam Hough
gt; >>>> Alex Objelean wrote: >> >>>>> >> >>>>> This is about how wicket generates dynamically markupID. >> >>>>> >> >>>>> I have, for instance, the following markup component: >> >>>>

Re: [RFE] getMarkupId()

2007-09-21 Thread Sam Hough
t;>> >>>> monkey is not happy though. He reminds me of the Family Guy >>> screaming >>> >>>> monkey today. >>> >>>> >>> >>>> >>> >>>> >>>

Re: [RFE] getMarkupId()

2007-09-21 Thread Alex Objelean
gt;>> Alex Objelean wrote: >> >>>>> >> >>>>> This is about how wicket generates dynamically markupID. >> >>>>> >> >>>>> I have, for instance, the following markup component: >

Re: [RFE] getMarkupId()

2007-09-21 Thread Alex Objelean
gt;> >>>>>>> >>>>>>> Alex Objelean wrote: >>>>>>>> >>>>>>>> This is about how wicket generates dynamically markupID. >>>>>>>> >>>>>>>> I have, for instance, the following markup component: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> The generated markupId for this component looks like the following: >>>>>>>> quantity.noOfUnits1232 . >>>>>>>> >>>>>>>> I suggest to escape any css valid specifiers from the generated >>>>>>>> markupId, by replacing them with something else (for instance '_' >>>>>>>> character). >>>>>>>> >>>>>>>> The problem appear when I am trying to identify the component by >>>>>>>> it's id using some js library (like jQuery) and as a consequence >>>>>>>> the result of this query: $("#quantity.noOfUnits1232") is invalid. >>>>>>>> >>>>>>>> Thank you! >>>>>>>> >>>>>>>> Alex. >>>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>> >>>> >>> >>> >> >> > > -- View this message in context: http://www.nabble.com/-RFE--getMarkupId%28%29-tf4493344.html#a12822124 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [RFE] getMarkupId()

2007-09-21 Thread Sam Hough
t;>> screaming monkey today. >>>>>> >>>>>> >>>>>> >>>>>> Alex Objelean wrote: >>>>>>> >>>>>>> This is about how wicket generates dynamically markupID. >>>>&g

Re: [RFE] getMarkupId()

2007-09-21 Thread Alex Objelean
rkup component: >>>>>> >>>>>> >>>>>> >>>>>> The generated markupId for this component looks like the following: >>>>>> quantity.noOfUnits1232 . >>>

Re: [RFE] getMarkupId()

2007-09-21 Thread Matej Knopp
I have, for instance, the following markup component: > >>>>> > >>>>> > >>>>> > >>>>> The generated markupId for this component looks like the following: > >>>>> quantity.noOfUnits1232 . > >&

Re: [RFE] getMarkupId()

2007-09-21 Thread Sam Hough
mponent: >>>>> >>>>> >>>>> >>>>> The generated markupId for this component looks like the following: >>>>> quantity.noOfUnits1232 . >>>>> >>>>> I suggest to escape any css valid specifiers from

Re: [RFE] getMarkupId()

2007-09-21 Thread Alex Objelean
ike jQuery) and as a consequence the result of >> this query: $("#quantity.noOfUnits1232") is invalid. >> >> Thank you! >> >> Alex. >> > > -- View this message in context: http://www.nabble.com/-RFE--getMarkupId%28%29-tf4493344.html#a12821375 Sent fro

Re: [RFE] getMarkupId()

2007-09-21 Thread Alex Objelean
>> quantity.noOfUnits1232 . >>>> >>>> I suggest to escape any css valid specifiers from the generated >>>> markupId, by replacing them with something else (for instance '_' >>>> character). >>>> >>>> The pr

Re: [RFE] getMarkupId()

2007-09-21 Thread Sam Hough
kupId, by replacing them with something else (for instance '_' >>> character). >>> >>> The problem appear when I am trying to identify the component by it's id >>> using some js library (like jQuery) and as a consequence the result of >>> this q

Re: [RFE] getMarkupId()

2007-09-21 Thread Sam Hough
invalid. > > Thank you! > > Alex. > -- View this message in context: http://www.nabble.com/-RFE--getMarkupId%28%29-tf4493344.html#a12821245 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [RFE] getMarkupId()

2007-09-21 Thread Alex Objelean
>> this >> query: $("#quantity.noOfUnits1232") is invalid. >> >> Thank you! >> >> Alex. >> -- >> View this message in context: >> http://www.nabble.com/-RFE--getMarkupId%28%29-tf4493344.html#a12815038 >> Sent from the Wicket - Us

Re: [RFE] getMarkupId()

2007-09-21 Thread Matej Knopp
by it's id > using some js library (like jQuery) and as a consequence the result of this > query: $("#quantity.noOfUnits1232") is invalid. > > Thank you! > > Alex. > -- > View this message in context: > http://www.nabble.com/-RFE--getMark

[RFE] getMarkupId()

2007-09-21 Thread Alex Objelean
-- View this message in context: http://www.nabble.com/-RFE--getMarkupId%28%29-tf4493344.html#a12815038 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional