myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Myfaces Wiki] Update of "JavascriptWithJavaServceFaces" by ChutYee
Date Tue, 08 Nov 2005 11:31:26 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.

The following page has been changed by ChutYee:
http://wiki.apache.org/myfaces/JavascriptWithJavaServceFaces

------------------------------------------------------------------------------
  
  -----------------------
  <h:form id=”userForm”>
- <h:commandLink id=”lnkDeelteUser” value=”delete” action=”#{userBean.deleteUser}”/>
+ <h:commandLink id=”lnkDeleteUser” value=”delete” action=”#{userBean.deleteUser}”/>
  </h:form>
  ---------------------------------------------------------
  <a href="#" onclick=
  "clear_userForm();
- document.forms['userForm'].elements['userForm:_link_hidden_'].value='userForm:lnkDeleteUser';
+ document.forms['userForm'].elements['userForm::_link_hidden_'].value='userForm::lnkDeleteUser';
  if (document.forms['userForm'].onsubmit){
        if (document.forms['userForm'].onsubmit()) 
  document.forms['userForm'].submit();
@@ -55, +55 @@

  "if (!confirm('Are you sure you want to delete this record?')) 
          return false; 
  clear_userForm();
- document.forms['userForm'].elements['userForm:_link_hidden_'].value='userForm:lnkDeleteUser';
+ document.forms['userForm'].elements['userForm:_link_hidden_'].value='userForm::lnkDeleteUser';
  if (document.forms['userForm'].onsubmit){
        if (document.forms['userForm'].onsubmit()) 
  document.forms['userForm'].submit();
@@ -78, +78 @@

        onclick=”if (!confirm('You will lose all changes made. Are you sure?')) return false"
  />
  -------------------------------------------------------
- <input id="userForm:btnCancel" name="userForm:btnCancel" 
+ <input id="userForm::btnCancel" name="userForm::btnCancel" 
        type="submit" value="Cancel" 
  onclick="
  if (!confirm('You will lose all changes made. Are you sure?')) return false;

Mime
View raw message