Hello ,

Thanks for reading my email.

I have a small error while using coolmenu4 with permissionform.jsp and permissionMenu.jsp. I made some changed to the isAllowed method so that all the checkboxes clicked on permissionform.jsp would be displayed. The new modified isAllowed works fine with coolMenu and menuList but when I use it with coolmenu4 it displays a blank screen.

My code for isAllowed :

public boolean isAllowed(MenuComponent menu) {

boolean retVal = true;
if(menu.getUrl() != null)
{
if(menuNames.contains(menu.getName()))
{
retVal = true;
} // inner if ends
else
retVal = false;
} // outer if ends

return retVal;
} // isAllowed ends.


Please any suggestion as how to make changes to isAllowed so that all the checkboxes on permissionForm.jsp would be visible would be very highly appreciated.

Regards,
  Sachin.




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
struts-menu-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/struts-menu-user

Reply via email to