I'm using the info found here to add a full screen option to a component. The code looks like this:
<a href="<?php echo Juri::getInstance().'&tmpl=component&return='.$this->return; ?>">
However, the link returns a 404 if SEF URLs are enabled. I also see this problem when I use a static, non-SEF link like this:
<a href="index.php?option=mycomponent&view=thisview&tmpl=component&return='.$this->return; ?>">
Is it possible to use the full screen / tmpl=component view with SEF URLs?