T5 : pop up windows and refesh parent

2008-01-03 Thread dwi ardi irawan
hi..i've got another problem here

i try shing man component :
PageLinkPopup (from tassel)

and tried this :
[PlayerGrid.tml]
Search


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 !"


T5 : pop up windows and refesh parent

2007-12-31 Thread dwi ardi irawan
hi..i've got another problem here

i try shing man component :
PageLinkPopup (from tassel)

and tried this :
[PlayerGrid.tml]
Search

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 !"