First, I would like to highlight some point for those who are new in portal and they are not aware of namespaces.
Basically 'namespace' term is used in portal terminology and this term comes from portal itself. Let me clear this point in easy way. Suppose, we have a large amount of data in database and we want to fetch a particular data from database. So what we will do? We would need a unique id for identifying the data which you want to fetch.
In a same way, portal manages all portlets with a unique id that called 'namespace'. I think, I am able to describe this think in simpler way.
Now the question is, if namespace is unique for each portlet so what happen if we use different instance of same portlet on a same page. The answer is, portal creates different namespaces for different instances.
Ok, this is with a single user. What happens if we use the same instances (2 instances on same page) with other user. This is a tricky question if you do not know. Here the answer is, namespaces are similar for other user.
In portal server, namespaces are managed according to portlet instances. Namespaces are changed according to instances of portlet, these are not changed with change user (i.e. other users).
Basically 'namespace' term is used in portal terminology and this term comes from portal itself. Let me clear this point in easy way. Suppose, we have a large amount of data in database and we want to fetch a particular data from database. So what we will do? We would need a unique id for identifying the data which you want to fetch.
In a same way, portal manages all portlets with a unique id that called 'namespace'. I think, I am able to describe this think in simpler way.
Now the question is, if namespace is unique for each portlet so what happen if we use different instance of same portlet on a same page. The answer is, portal creates different namespaces for different instances.
Ok, this is with a single user. What happens if we use the same instances (2 instances on same page) with other user. This is a tricky question if you do not know. Here the answer is, namespaces are similar for other user.
Conclusion
In portal server, namespaces are managed according to portlet instances. Namespaces are changed according to instances of portlet, these are not changed with change user (i.e. other users).
2 comments:
Can u post an blog how can we make pure struts portlet using liferay 4.x
These are very specific technologies in which you want some solution.
At present, I have not prepared any struts portlet which is compatible of Liferay portal server. If you need some reference of how struts portlets are,
I can share to you struts portlet which are compatible of IBM portal server.
Also, I will share to you once I will write something on this.
Post a Comment