grealish / pwm

Automatically exported from code.google.com/p/pwm
0 stars 0 forks source link

[Enhancement] add id attribute to span element Form Configuration #389

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently there is support for Javascript inside a Form Configuration. This 
works great, except when you need to apply a Javascript to read only Form 
values. There is no easy way to pinpoint the javascript to that value, because 
all read only values are rendered via the same span elements.

Read only values are rendered with span elements inside the JSP, without any 
unique identifier (id="").

The enhancement is to add the id attribute to the span element, so that any 
Javascript added to the form configuration can easily transform the content of 
that span element.

Original issue reported on code.google.com by sebastia...@gmail.com on 21 May 2013 at 3:20

GoogleCodeExporter commented 9 years ago
Attached a proposed patch.

Original comment by sebastia...@gmail.com on 21 May 2013 at 3:21

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by jrivard on 22 May 2013 at 6:24

GoogleCodeExporter commented 9 years ago

Original comment by jrivard on 23 May 2013 at 7:40

GoogleCodeExporter commented 9 years ago
Fixed in revision 554.

Original comment by jrivard on 28 May 2013 at 1:30