in htstyle.css there is a styleclass 'classlink' and 'classlink_selected'.
I thought that when I click on a link then classlink_selected is choosed for this link and when I click on antoher link then classlink is choosed again.
Is this working automaticly or do I have to set the attribute 'styleClass' within the t:htlink component manually.
Thanks,
Ralph
p.s. in the default htstyle.css in classbody there is a attribute 'backgfixgound-color:#FFFFFF;'. Is this correct?
no, this has nothing to do with clicking on the link.
Each component has three different styles:
. normal usage
. usage in grid row
. usage in selected grid row
That's the meaning behind...
To change the link's class while clicking: this is not implemented yet, it would require some JavaScript eventing...
Maybe you could use a htbutton instead? This has some click-rendering by browser-default.
so far we have just four links in our application and for that I can use my own styleclass and set this styleclass automaticly when someone clicks a link.