cancel
Showing results for 
Search instead for 
Did you mean: 

A simple Code Question

alihammad
Champ in-the-making
Champ in-the-making
The following line of code is taken from Alfresco jsp/content/document-details.jsp
<a:actionLink value="#{msg.view_in_browser}" href="#{DialogManager.bean.browserUrl}" target="new" id="link1" />

I have two questions

1- "msg" is not defined  in jsp. I was expecting something like <f:loadBundle basename="jsfks.bundle.messages" var="msg"/>
but it's not there. How would I find out where this properties file is configured with this jsp.

2- "DialogManager.bean" fro href returns the current bean instance. But field "browserUrl" is not defined in the bean. so where is it getting the information from .. ?

I hope you understand my questions. These are seriously stupid questions but um noive to Alfresco and um getting confused. I need this help quickly, please reply.
1 REPLY 1

jayjayecl
Confirmed Champ
Confirmed Champ
1/ document-details.jsp will be "contained" in another jsp (jsp/dialog/container.jsp), var "msg" will be defined there
2/ Which java class did you look into when you were referring as "bean" in
But field "browserUrl" is not defined in the bean
?