Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] unexpected error

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] unexpected error


Chronological Thread 
  • From: "GW Brown, Information Systems and Computing" <>
  • To: Jim Fox <>
  • Cc:
  • Subject: Re: [grouper-users] unexpected error
  • Date: Thu, 13 Sep 2007 09:19:03 +0100



--On 12 September 2007 10:45 -0700 Jim Fox
<>
wrote:

I added custom headers and footers and changed the css, but
get the problem even without the changes.

Using java 1.6.0_01-b06 and tomcat 5.5.17.0
I'll try and test using this setup, though I can't think of any reason why it should cause a problem.

From whom is the params bean supposed to come?
The original params bean is created in effectivePrivs.jsp:

<jsp:useBean id="membershipMap" class="java.util.HashMap"/>

and passed to effectivePriv.jsp via Tiles:

<tiles:insert definition="effectivePrivDef" flush="false">
<tiles:put name="groupOrStemPrivEntry" beanName="groupOrStemPrivEntry"/>
<tiles:put name="params" beanName="membershipMap"/>
<tiles:put name="linkSeparator" beanName="linkSeparator"/>
</tiles:insert>

and then to subjectHasPrivilegeView.jsp by a similar mechanism.

The bean is made available to the JSPs using:

<tiles:importAttribute ignore="true"/>

Due to the nested nature of 'dynamic tiles' there is also some Java code which helps propagate Tiles attributes.

Potentially something could go wrong at any of these stages, however, an error would be thrown earlier, so it does look like the params bean 'disappears' between effectivePriv.jsp and subjectHasPrivilegeView.jsp.

If I can't replicate the error I'll try and produce some debug code which logs what is happening.

It would be useful to know if anyone else can replicate the error on their setup.


----------------------
GW Brown, Information Systems and Computing




Archive powered by MHonArc 2.6.16.

Top of Page