Building Reusable Components in React

As a front-end developer, one of the most important skills to have is the ability to create reusable components. Not only does this make your code more organized and maintainable, but it also allows…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Migrando primefaces 6.1 para 6.2

exemplo:

Lista de métodos marcados com depreciado:

public abstract boolean isAjaxRequest();
public abstract void addCallbackParam(String name, Object value);
public abstract Map<String, Object> getCallbackParams();
public abstract void execute(String script);
public abstract void scrollTo(String clientId);
public abstract void update(String name);
public abstract void update(Collection collection);
public abstract void reset(String expressions);
public abstract void reset(Collection expressions);
public abstract void reset(String… expressions);
public abstract void openDialog(String outcome);
public abstract void openDialog(String outcome, Map<String, Object> options, Map<String, List> params);
public abstract void closeDialog(Object data);
public abstract void showMessageInDialog(FacesMessage message);
public abstract void clearTableStates();
public abstract void clearTableState(String clientId);

Alguns métodos novos:

PrimeFaces.current().scrollTo(…);
PrimeFaces.current().resetInput(…);
PrimeFaces.current().executeScript(…);
PrimeFaces.current().ajax().addCallbackParam(…);
PrimeFaces.current().ajax().update(…);
PrimeFaces.current().dialog().open(…);
PrimeFaces.current().dialog().close(…);
PrimeFaces.current().dialog().openDynamic(…);

Veja o guia de migração completo abaixo para mais detalhes.

Add a comment

Related posts:

Proposal for a Light Speed Bicycle

A short piece describing the benefits and challenges of making a bicycle capable of light-speed travel. It is funny on purpose

The importance of social media marketing for small businesses and how to create a successful strategy

Social media marketing is crucial for small businesses looking to expand their reach and connect with customers in today’s digital world. With the rise of platforms like Facebook, Instagram, and…

The Dreaded Question

A successful transition is one that requires a confident sense of self. Then why do we always ask this question as if the answer will make or break our whole existence?