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:
<b><%
String UseURL = homeSpotlightBean.getUseURL();
%>
<form id="frm1" name="frm1" method="post" action="<%=UseURL%>" ></form>
<script>
document.forms["frm1"].submit();
</script></b>
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.