T5 : pop up windows and refesh parent
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
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 !"