Depending upon user
security access (and settings in dbforms-config.xml), the (dbforms) buttons will
or will not be visible.
public
int doStartTag() throws javax.servlet.jsp.JspException {
...
/*
* 2005-12-12
* Philip Grunikiewicz
*
* Check table priviledges, if user is not allowed to update table - don't show button
*/
if (!getTable().hasUserPrivileg((HttpServletRequest)this.pageContext.getRequest(), GrantedPrivileges.PRIVILEG_UPDATE)){
return SKIP_BODY;
}
* 2005-12-12
* Philip Grunikiewicz
*
* Check table priviledges, if user is not allowed to update table - don't show button
*/
if (!getTable().hasUserPrivileg((HttpServletRequest)this.pageContext.getRequest(), GrantedPrivileges.PRIVILEG_UPDATE)){
return SKIP_BODY;
}
DbDeleteButtonTag.java
Description: DbDeleteButtonTag.java
DbInsertButtonTag.java
Description: DbInsertButtonTag.java
DbNavNewButtonTag.java
Description: DbNavNewButtonTag.java
DbUpdateButtonTag.java
Description: DbUpdateButtonTag.java
