on 10-20-2008 10:59 AM
Hello SDN
I have a requirement to Hide 3 iviews assigned to a Page
such that
these views get set to invisible mode for few users on the base of their ip adresses.
IThis is probably possible...
Please throw some light on this..
Abstract portal component coding required for the same..
Experienced inputs will be of gr8 help..
Regard$....
Hi Chetna,
I do not think this can be possible as this means that you want to change the iView property from your portal component. As the portal components are embedded in an iView which acts as the content area and it should not be possible to change the iView property from the portal component.
Yes, one thing you can do is, you can have 2 jsps in your par file, one with the conent and other a blank one. And when you check if the request is coming from the blocked ip and forward the request to blank jsp otherwise to the main jsp with content.
Regards
Mukesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chetna,
In your portal component you can form the logic and based on the condition you can send the control to your respective jsp. You can set the jsp page using the code
If (ip = XXX)
this.setJspName("abc.jsp");
else
this.setJspName("def.jsp");
you can find further details of how to forward the control in the below url
Regards
Mukesh
NO WAY OUT
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any New Suggestions?????????
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.