<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
- potentially, every command-link could be rendered as an <input<br>
type="submit">, and then some additional javascript is rendered which<br>
makes this look and act like a link: a very interesting suggestion,<br>
cause it would mean we would not need any javascript detection at all!<br>
However, I do see some backwards compatibility issues.</blockquote><div> <br>I don't want to interrupt a good discussion, so just take note of my comment here. Styling buttons is not always reliable. Some browsers ignore styles completely, so generally I won't recommend this approach. Spring Faces renders a button first and then swaps in a link if JavaScript is available (by using JavaScript). I was impressed by the idea, but a non-technical user noticed the "flash" it creates in some browsers that don't execute DOM manipulation fast enough. Therefore, I like the idea of deciding up front of a browser is going to support JavaScript or not and then choose the most optimal rendering from then on out (i.e., render normally once it's determined that JavaScript is enabled rather than using these hacks on every request).<br>
<br>-Dan<br></div></div><br>-- <br>Dan Allen<br>Senior Software Engineer, Red Hat | Author of Seam in Action<br><br><a href="http://mojavelinux.com">http://mojavelinux.com</a><br><a href="http://mojavelinux.com/seaminaction">http://mojavelinux.com/seaminaction</a><br>
<a href="http://in.relation.to/Bloggers/Dan">http://in.relation.to/Bloggers/Dan</a><br><br>NOTE: While I make a strong effort to keep up with my email on a daily<br>basis, personal or other work matters can sometimes keep me away<br>
from my email. If you contact me, but don't hear back for more than a week,<br>it is very likely that I am excessively backlogged or the message was<br>caught in the spam filters. Please don't hesitate to resend a message if<br>
you feel that it did not reach my attention.<br>