Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] Lists Returning but Not Rendering in UI

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] Lists Returning but Not Rendering in UI


Chronological Thread 
  • From: "GW Brown, Information Systems and Computing" <>
  • To: Monica Crawford <>
  • Cc:
  • Subject: Re: [grouper-users] Lists Returning but Not Rendering in UI
  • Date: Fri, 15 Sep 2006 14:43:08 +0100

Hi Monica,

Thanks for sending the html. I'm not sure if I'm more, or less, confused than before, but here are some deductions/observations:

1) The Struts actions are creating objects as expected
2) The webapp loads the correct dynamic templates - which shows that the objects are working in the Java layer
3) Some JSTL is working. Looking at the 'Welcome' message we get
<span class="applicationSubject"></span>. This indicates that:

<c:out value="${viewObject.subjectType}"/> is working, but
<c:out value="${viewObject.desc}" /> is not working.

subjectType is a direct key in the Map, but desc maps to description, which, internally, calls Subject.getDescription() - which isn't returning a printable value. Ordinarily I would suspect that the description attribute had not been set, however, for GrouperSystem, it would be available, and, in any case, you see Subjects in Tomcat.

In the case of Stems, <c:out value="${viewObject.displayExtension}"/> is failing to return a printable value. In this case, a WrapDynaBean is invoked to request 'displayExtension'. Unfortunately, if there is an exception I'm discarding it, but I'm suspicious that accessing Maps directly appears to work, but when the Maps try to invoke methods on the objects they wrap, this is failing - some sort of security layer?

I'll try and come up with a test of some sort to to confirm the last supposition, but I won't get a chance to do that until next week.

Gary

--On 13 September 2006 18:07 -0500 Monica Crawford <> wrote:

Apologies for the delay, See inline and attached. Thanks.


GW Brown, Information Systems and Computing wrote:
Hi Monica,

Very strange!
Yes very. I'll try loading some simple lists using jstl under wl
(weblogic) as soon as possible.

Would you send me the HTML source of the screens? You can
also include a search results page.

If you create groups and add members using Tomcat, can you display
memberships in Weblogic?
Well, I can't get to a membership page. After I create the group I can't
select it.

If you log on as a user from the LDAP
directory, does the welcome message show their name? If you login as
GrouperSystem does the welcome message show GrouperSystem?
Yes tomcat. No weblogic.


The majority of objects that the UI deals with are Maps - usually
subclasses of ObjectAsMap. It looks like the Maps are behaving
differently between Tomcat and Weblogic, or that JSTL is treating them
differently. Do you know if Weblogic uses the reference JSTL
implementation or one of their own?
Weblogic has a jstl instance of its own (I'm thinking this is integrated
with jsp 2.0). However, it appears that having jstl in the webapp it will
load from WEB-INF lib.
I tested where javax.servlet.jsp.jstl.core.Config class is loaded on my
sample helloworld app... which has the same jstl jar as my modified
grouper app. Later, I will modify the grouper app to ensure the same
behavior but I'm pretty confident it would load in the same fashion; from
WEB-INF lib first.
file:/C:/tools/bea/weblogic92/samples/domains/wl_server/./servers/example
sServer/tmp/_WL_user/_appsdir_helloworld_war/q284bk/war/WEB-INF/lib/jstl1
.1.jar


Gary




--On 11 September 2006 18:41 -0500 Monica Crawford
<>
wrote:



Hi,



I have a few questions regarding the UI and the behavior I'm noticing.
I'm running 1.0 grouper-ui in Weblogic 9.2 and experience a couple
strange things. I've attached screen shots because there are no error
messages in the log files and I get an error with the
populateDebugPrefs.do. Now, this same behavior doesn't appear to happen
in my Tomcat instance with the same .war file.


* When searching for People (going against an ldap directory) it
reaches the directory server and returns results but they don't display
* When creating groups or stems the stems and groups get created in
the database, but don't display back on 'All Groups' 'Subject
Results'. But I see the name of the group and stem in the 'Add
Composite' section * When adding a group or stem I get 3 submit buttons.



Thanks for the second set of eyes. Much appreciated.



Monica





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


--
Monica Crawford
University of Wisconsin-Madison
Division of Information Technology
1210 West Dayton Street, Rm 3159
Madison, Wisconsin 53706
608.890.0782





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




Archive powered by MHonArc 2.6.16.

Top of Page