You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Jurgen Lust <Ju...@gmail.com> on 2006/10/30 09:42:17 UTC

Re: problem with -- found problem & solution

Hi Steven,

You should be able to get the Entry that was clicked on by calling
event.getSchedule().getModel().getSelectedEntry(); on the MouseEvent.

The last clicked entry becomes the selected entry before the
mouselistener is called, so this should work.

Jurgen

Op vrijdag 27-10-2006 om 15:48 uur [tijdzone -0500], schreef Stephen
Osella:
> Jurgen,
> 
> A guy named Tomek (I think he's a guy) found the problem (and solution). 
> Basically, because of automatically generated JSP code by the Myeclipse 
> wizard, that HTML Base element is being set as in the following:
> 
> <%
>     String path = request.getContextPath();
>     String basePath = request.getScheme() + "://"
>             + request.getServerName() + ":" + request.getServerPort()
>             + path + "/";
> %>
> 
> <base href="<%=basePath%>"/>
> 
> 
> When this is removed, everything works just fine.
> 
> I have another question....when the MouseListener method is invoked, how can 
> I tell which Entry was actually clicked on?  Is there a way to retrieve the 
> UID of the entry?
> 
> Thanks!
> 
> Steve 
> 
-- 
____________________________________________________
Jurgen Lust
email: jlust@apache.org
blog: http://jroller.com/page/jurgenlust
____________________________________________________