On Thu, Mar 7, 2013 at 4:26 AM, rajandeep vij <[email protected]>wrote:
> Hi All, > > I couldn't actually found where widgets are connected to page? > > My case is : Let's say there exists a few widgets that have > been restricted for some users , so that they can't add them from Widget > Store . Now if admin is creating a page and he could add those widgets that > were restricted for a set of users as I mentioned above and shared that > page with the users, users after accepting the page would be able to view > the widgets. > Pages -> Regions -> RegionWidgets -> Widgets > > So I want to understand how and where a page renderer includes widgets to > be displayed and renders them. > > I could do this easily if my I could debug.... but I am unable to debug > rave in eclipse. > The best way to debug is (IMHO) is to run rave using cargo like normal "mvn cargo:run". This will enable remote debugging by default on port 8000. Then in your IDE, configure a debug configuration to attach to a remote process on port 8000 and it should be good to go. I don't use Eclipse but this works great in IntelliJ. > > Regards, > Rajan >
