Showing results for 
Search instead for 
Did you mean: 

Swithing URLs of an iview dynamically...based on Group memberhip of user...

Former Member
0 Kudos

I have a page with two iviews on it.

For one iview, I want to call a url based on the group of which the user is a member.

So, in my java code, I am checking which group (1 of 3) that the user is a member of. Depending on the group, I want the iview to display 1 of 3 urls. (I have the 3 urls defined in the portalapp.xml so these url values are configurable in the iView wizard for my PAR.)

The way I am doing it works, but it completely redirects the content area (and even the left nav area) to the url. I want just the area within the iview directed to the iview.

My jsp page source is:


String UseURL = homeSpotlightBean.getUseURL();


<form id="frm1" name="frm1" method="post" action="<%=UseURL%>" ></form>




So, obviously, this will not work.

Anybody have a better way to do what I want to do? Hopefully, I have adequately explained my problem and what I want to do.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Use the HTMLB contol 'isolatedHtmlContainer' to do this.

Hope that helps.


John Peter

Former Member
0 Kudos

Jeez! I completely forgot about that.

That is a lot easier than using AbstractPortalComponent and a request.Redirect!

You are the man!

Thanks! (Points awarded.)

Answers (0)