Here it goes...
I'm programming a simple component that allows to an administrator do make simple updates on a database. It's a simple form with a list of records with a check box to turn on or off and press a Submit button.
The thing is that everytime I submit the form (either by pressing the submit button or changing the number of visible records) I'm redirected to the Control Panel

The Component name is redesocialcascais
At toolbar.redesocialcascais.html I have:
class redesocialcascaisToolbar {
/**
* Displays toolbar
*/
function projectos(){
mosMenuBar::startTable();
mosMenuBar::apply('projectoaplicar');
mosMenuBar::spacer();
mosMenuBar::back();
mosMenuBar::spacer();
mosMenuBar::help( 'ajuda.html', true );
mosMenuBar::endTable();
}
}
And at admin.redesocialcascais.php I have:
switch ($task) {
case 'projectos':
HTML_projectos::listar();
break;
case 'projectoaplicar':
aplicar();
break;
default:
break;
}
Maybe this can give a hint on wath is going on...
At my component form I have the following path showned:
Rede Social de Cascais / com_redesocialcascais / projectos
After I press the Submit button, I go back to the Control Panel and the path shown is:
Rede Social de Cascais / com_admin / projectoaplicar
It seems Joomla is forwarding the task projectoaplicar to the admin component instead of my own component?
What am I doing wrong?

This is on Joomla 10.0.13