[jboss-dev-forums] [Design of JBoss Portal] - Re: First pass UI improvements

julien@jboss.com do-not-reply at jboss.com
Mon May 21 05:18:15 EDT 2007


use javascript and put those buttons out of the FORM.


  | <input type="submit" onclick="document.forms["form1"].submit();"/>
  | 

don't forget to use RenderResponse.getNamespace() to properly namespace the form names in order to avoid collisions.

"bdaw" wrote : ok... maybe its a lame html problem but...
  | 
  | there are a lot of tasks like:
  | anonymous wrote : The cancel link should be a button styled similarly to the "Save Changes" button, with a slight amount of spacing between the two buttons. 
  | 
  | it comes from the fact that in all views there is "Save" button and "Cancel" link. I guess it comes from a good reason that both need to trigger different portal URLs. Its hard to align such buttons (two forms) in a single row on the page and keep the functionality. Any suggestions?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047165#4047165

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047165



More information about the jboss-dev-forums mailing list