On 01/29/2014 10:35 AM, Michael Mraka wrote:
Hello Maximilian,
I think there's an easier way to do it in a plain html without new
javascript file. If you replace
<input type="password" name="desiredpassword" maxlength="32" value="******"
class="form-control">
with
<input type="password" name="desiredpassword" maxlength="32" placeholder="••••••"
class="form-control">
(similar to e.g. search field on the page) there will be greyed out dots
and user have to type whole password and can't submit placeholder string
anymore. ('•' is unicode BULLET char U+2022.) Well, there's one more
step needed - UserEditActionHelper class have to be updated to accept empty
password as no change in password.
What do you think about this?
Hi Michael,
I have tried this in my first attempt, but the html:password struts tag
doesn't accept the attribute "placeholder="******".
org.apache.jasper.JasperException:
/WEB-INF/pages/common/fragments/user/edit_user_table_rows.jspf (line:
51, column: 12) Attribute placeholder invalid for tag password according
to TLD
What do you suggest?
--
--
Mit freundlichen Grüßen,
Maximilian Meister
Systems Management Department
SUSE LINUX Products GmbH
Maxfeldstr. 5
D-90409 Nuremberg, Germany
http://www.suse.com
GF: Jeff Hawn, Jennifer Guild, Felix Imendoerffer, HRB 21284 (AG Nuremberg)
_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel