hi..i've got another problem here
i try shing man component :
PageLinkPopup (from tassel)
and tried this :
[PlayerGrid.tml]
<a href="#" t:type="man/pagelinkPopup" t:page="admin/PlayerSearch"
windowName="literal:Sum"
features="literal:'resizable,scrollbars,top=100,left=200,height=250,width=300'">Search</a>
code above is display the search page...
in the seach page pop up,
when i enter the keywords and submit it, i called onclick="
opener.location.reload(true);" in the submit button.
the data in the PlayerGrid.tml changed only if i push the submit button
twice....
here's the code in the PlayerSearch.java
void onSuccessFromSearchPlayerForm(){
List playerList = getPlayerDao().queryForList("\"FIRST_NAME\"= '"+
getSearchFirstName()+"' ","");
playerGrid.setPlayerList(playerList);
}
does anybody know what is going on with my code or tapestry treat onClick
differently ?
--
http://dwiardiirawan.blogspot.com
"cos everyone could be extraordinary...lighten up !"