Hi, don't change "display". change the style visibility
Stefan Bachert http://gwtworld.de On 2 Mai, 13:50, marypfc <[email protected]> wrote: > Hi! > I'm building a user interface which has a sidebar. This sidebar should > show different hyperlinks depending on the user roles, so login must > be done previously. > > I was building the sidebar widget with all possible links and trying > to make those links that are not related to the user roles invisible. > In order to do this, after login was done, I was calling a method in > the sidebarWidget to setstylename("invisible"), which, in turn, sets > "display" property to "none", but it doesn't work. > > Could anybody help me to solve this situation? Is it possible to > change style at runtime? > > Thank you in advance! > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group > athttp://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
