Skip to content

imdadareeph/devweb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Welcome to DevWeb

You can use the editor on GitHub to maintain and preview the content for your website in Markdown files.

Whenever you commit to this repository, take a pull request on your forked project.

Framework

Sample custom component code

public class MyCommandButtonRenderer extends CoreRenderer {

    @Override
	public void decode(FacesContext facesContext, UIComponent component) {
    	MyCommandButton button = (MyCommandButton) component;
        if(button.isDisabled()) {
            return;
        }
        
		String param = component.getClientId(facesContext);
		
		if(facesContext.getExternalContext().getRequestParameterMap().containsKey(param)) {
			component.queueEvent(new ActionEvent(component));
		}
	}
}

Code structure

Develop and use custom component

Support or Contact

@jamalsarfaraz and @imdadareeph - developers

Having trouble with Pages? Check out our documentation or contact support and we’ll help you sort it out.