Hi,
I've used the zone and block components to create an ajax refreshed page
part.
When the user click the actionlink, the content of the zone is replaced
by the content of the block. It works great :)
But I'd like my page to gracefully degrade when javascript is turned off.
request.isXHR() works well, but how to replace the content of the zone
in a non-ajax request, that refresh the whole page ?
Here's the code:
private Block onActionFromModifyDisplay(){
if(!request.isXHR()){
//what to do here ?
return null;
}
return displayBlock;
}
Thx
Julien
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]