• Post Reply Bookmark Topic Watch Topic
  • New Topic

Doubt about Add Button  RSS feed

 
Amritha Ganga
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have a doubt regarding Add Button in my page. If the Users do not belong to the group mentioned in the code and the status is say(63 & 64 ), I dont want them to see the add button. What changes do i need to make ? This is the code, but the Add button still shows up..




Please do help me..

Thanks,
Amrit
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why are you not using the JSTL <c:if> tag rather than scriptlets?

And what is fw? It's not a standard taglib.
 
Amritha Ganga
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

We use the old MVC frame work. Form goes to metadata (inside an xml)

Thanks.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With the really poor formatting and indentation of your code, I cannot tell if the if-statement is properly constructed. Check that, and check the value of your condition.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!