Search Mailing List Archives

Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-discussion] Classselect and grid component for webprotege

Philip Yeo yphilip at
Thu Nov 3 12:06:41 PDT 2011

Hi there,

I was wondering if someone could help me out with my situation. I am  
currently working on getting the PropertyFieldPortlet as illustrated by  
the sample of Collaborative Pizza ontology below running for my project.  
However, I understand that there is problem with adding Domain and Range  
in this portlet. Whenever I click on the “Add” green icon, a window opens
and closes immediately.

(p.s. Csongor/Tania, just so you know - I've managed to solve this problem  
already, in line 38 of, simply change  
Anchor addLink = new Anchor("&nbsp<img src=\"images/add.png\"></img>",  
true, ""); to Anchor addLink = new Anchor("&nbsp<img  
src=\"images/add.png\"></img>", true);
The previous code had used the new Anchor() with 3 parameters, the 3rd  
parameter being the href that the anchor links to. Somehow when passing no  
value causes it to reference back to the main page.)

Anyhow, continuing on, while studying this problem I noticed that another  
portlet in the Collaborative Newspaper  
( Newspaper) ontology as  
illustrated in the attached doc seems to work fine. I do not face the same  
problem when I click on the “Add Domain” green icon. Furthermore this  
seems to be a different component type for the domain section (possibly of  
grid component_type).

My questions are:
• Is the “details for" portlet in the properties tab of Newspaper using  
in its weblayout configuration file?
• If it is, then what component type is used for the “Attached as template  
slot to “ subsection of the portlet (in this case, where the ‘domain’ is  
• And if it is, would you be able to share with us the configuration  
setting for that tab as I was unable to find it in the existing examples  

-- see attached doc for printscreens.

Many thanks and regards,
Philip Yeo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Question2.docx
Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document
Size: 217973 bytes
Desc: not available
URL: <>

More information about the protege-discussion mailing list