Pessoal, qual a diferença entre esses dois metodos?
estou estendendo BodyTagSupport
tenho este codigo…
<my:inplace name="name" url="AajaxTeste.jsp">
<my:inputMoney name="money2" />
</my:inplace>
dentro da classe InputMoney eu
tenho este codigo e não entra no if porque?
Tag parent = getParent();
if(parent != null && parent instanceof InPlaceTag){
Será que terei que fazer isso:
Tag parent = getParent();
if(parent != null){
InPlaceTag ipt = null;
try {
ipt = (InPlaceTag) ((TagAdapter) parent).getAdaptee();
} catch (ClassCastException e) {
return false;
}