Read and respond to this message at:
https://sourceforge.net/forum/message.php?msg_id=3340989
By: woodchuck5
hihi Henner,
the Noop event is funny, it brings me back to the very first pagination page.
but, i tried the PageReloadEvent and it works beautifully, it keeps the user
on the same current page. this is perfect!
here is the working code:
if(null == kInfo)
{
int tableId = StringUtil.getEmbeddedStringAsInteger(action, 2,
'_');
event = new PageReloadEvent(tableId, request, config);
event.setType(EventType.EVENT_NAVIGATION_RELOAD);
}
else
{
// args are: tableId, keyId, request, config
constructorArgs = new Object[] {
new Integer(kInfo.getTableId()),
kInfo.getKeyId(),
request,
config
};
event = getEvent(einfo, keyInfoConstructorArgsTypes,
constructorArgs);
}
let me know if you want me to e-mail the entire .java file to you. the above
is all i changed.
thanks!
woodchuck
______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit:
https://sourceforge.net/forum/unmonitor.php?forum_id=55830
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
DbForms Mailing List
http://www.wap-force.net/dbforms