Category page blank?

4 views
Skip to first unread message

Steve Bennett

unread,
Mar 9, 2011, 1:07:00 AM3/9/11
to simal-con...@googlegroups.com
Hi,
I've just started using categories. They show up ok on the project
page, and the category list is well populated. But when I click on a
category, I get a page with nothing on it (besides header and footer).
The URL is something like
http://localhost:8080/category/simalID/per1329 .

Before I investigate deeply, thought I would check if I'm doing
something badly wrong? An example of my RDF is:
<category rdf:resource="http://namespace.adfi.usq.edu.au/anzsrc/for/#division_5"
rdfs:label="05 Environmental Sciences"/>

Anything I should check for?

I'm assuming this is a configuration error, rather than a Simal error,
since they seem to work on your site:
http://registry.oss-watch.ac.uk/category/simalID/per3732

Steve

Ross Gardler

unread,
Mar 14, 2011, 9:42:16 AM3/14/11
to simal-con...@googlegroups.com
On 09/03/2011 06:07, Steve Bennett wrote:
> Hi,
> I've just started using categories. They show up ok on the project
> page, and the category list is well populated. But when I click on a
> category, I get a page with nothing on it (besides header and footer).
> The URL is something like
> http://localhost:8080/category/simalID/per1329 .
>
> Before I investigate deeply, thought I would check if I'm doing
> something badly wrong? An example of my RDF is:
> <category rdf:resource="http://namespace.adfi.usq.edu.au/anzsrc/for/#division_5"
> rdfs:label="05 Environmental Sciences"/>
>
> Anything I should check for?

You can see our test document at [1] Your snippet here looks fine.

> I'm assuming this is a configuration error, rather than a Simal error,
> since they seem to work on your site:
> http://registry.oss-watch.ac.uk/category/simalID/per3732

It's hard to tell. There is a problem with our site at present [2], but
the symptoms are different.

What is the log output when you request the Category page?

Ross

[1]
http://code.google.com/p/simal/source/browse/trunk/uk.ac.osswatch.simal.core/src/test/resources/testDocument.xml
[2]
http://code.google.com/p/simal/issues/detail?id=401&q=category&colspec=ID%20Type%20Status%20Priority%20Milestone%20Summary

Steve Bennett

unread,
Mar 16, 2011, 4:44:55 AM3/16/11
to simal-con...@googlegroups.com, Ross Gardler
On 15 March 2011 00:42, Ross Gardler <rgar...@apache.org> wrote:
> What is the log output when you request the Category page?

Ok, good question. No errors...so I open up the debugger...step
through...and it turns out that the output is being generated just
fine. I didn't see it because it's showing up in a <div
class="widget"> element, and I'm hiding all of those in CSS.

Is the category detail page actually a widget? Is the "widget" class
appropriate?

Steve

Ross Gardler

unread,
Mar 16, 2011, 5:46:04 AM3/16/11
to simal-con...@googlegroups.com

Sent from my mobile device.

It's not a widget. This was written before Widgets were in use here. So it's just coincidence, feel free to rename, but beware it is likely to be used elsewhere as well.

Ross


>
> Steve
>
> --
> You received this message because you are subscribed to the Google Groups "Simal contributors" group.
> To post to this group, send an email to simal-con...@googlegroups.com.
> To unsubscribe from this group, send email to simal-contribut...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/simal-contributors?hl=en-GB.
>

Reply all
Reply to author
Forward
0 new messages