Hi,
I'm working with jdev 10.1.3.0.4 to implement JAZN security and want to create a bean similar to the UserInfo managed bean found in the SRDemoSampleADFBC. When doing this, I don't know how to call the service method I've created on the Application Module (which will find the corresponding id for a given username). Since this is done in the constructor of the managed bean, we cannot use the binding container supplied as a managed property yet. The SRDemo example uses:
SRPublicService svc = (SRPublicService)JSFUtils.resolveExpression("#{data.SRPublicService.dataProvider}");
_userId = svc.getUserIdForLoggedInUser();
I tried to replicate this; copying the code from the JSFUtils.resolveExpression and using the name of my own AppMod instead of "SRPublicService", but that leads to a null exception. In essence, I cannot find any documentation about which structures can be found in #{data} (or how to put them there) and I do not know another way to access the service method.
Any help would be appreciated,
Andre
Message was edited by:
user450706