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
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-
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]
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
#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
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
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
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
;>>>>>
>>>>>>> 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:
>&
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
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
> 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
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
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
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
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
gt; >>>>> I have, for instance, the following markup component:
> > >>>>>
> > >>>>>
> > >>>>>
> > >>>>> The generated markupId for this component looks like the
> following:
> > >>>
ds me of the Family Guy
> >> screaming
> >> >>>> monkey today.
> >> >>>>
> >> >>>>
> >> >>>>
> >> >>>> Alex Objelean wrote:
> >> >>>>>
> >> >>>>> This is about how wicket generates dynamically markupID.
&
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
gt; >>>> Alex Objelean wrote:
>> >>>>>
>> >>>>> This is about how wicket generates dynamically markupID.
>> >>>>>
>> >>>>> I have, for instance, the following markup component:
>> >>>>
t;>> >>>> monkey is not happy though. He reminds me of the Family Guy
>>> screaming
>>> >>>> monkey today.
>>> >>>>
>>> >>>>
>>> >>>>
>>>
gt;>> Alex Objelean wrote:
>> >>>>>
>> >>>>> This is about how wicket generates dynamically markupID.
>> >>>>>
>> >>>>> I have, for instance, the following markup component:
>
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]
t;>> screaming monkey today.
>>>>>>
>>>>>>
>>>>>>
>>>>>> Alex Objelean wrote:
>>>>>>>
>>>>>>> This is about how wicket generates dynamically markupID.
>>>>&g
rkup component:
>>>>>>
>>>>>>
>>>>>>
>>>>>> The generated markupId for this component looks like the following:
>>>>>> quantity.noOfUnits1232 .
>>>
I have, for instance, the following markup component:
> >>>>>
> >>>>>
> >>>>>
> >>>>> The generated markupId for this component looks like the following:
> >>>>> quantity.noOfUnits1232 .
> >&
mponent:
>>>>>
>>>>>
>>>>>
>>>>> The generated markupId for this component looks like the following:
>>>>> quantity.noOfUnits1232 .
>>>>>
>>>>> I suggest to escape any css valid specifiers from
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
>> 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
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
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]
>> 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
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
--
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
34 matches
Mail list logo