You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by SO...@austin.rr.com on 2007/04/02 17:46:11 UTC

problem (using facelets)

I have been porting my code to facelets.  I am using <t:schedule> and
all seemed to work and render properly, but when now I go to click on
the schedule, the event type is always SCHEDULE_NOTHING_CLICKED.  I did
not change any attributes or attribute values for the <t:schedule> tag.
 Has anyone else seen this issue?  The schedule handler action is being
called, but the event type is always SCHEDULE_NOTHING_CLICKED.

position : beating this dead horse again

Posted by SO...@austin.rr.com.
I am using <t:inputCalendar> and I put a <t:panelGroup
style="position:absolute;"> around it to try to anchor the popup on the
image icon.  This works fairly well, but I noticed that if I scroll down
on the page and then click on the image icon to popup the dialog, the
dialog is offset by the amount that I scrolled.  Anyone know the right
way to anchor the popup to the icon?

Re: Additional: problem (using facelets)

Posted by Mike Kienenberger <mk...@gmail.com>.
http://wiki.apache.org/myfaces/Use_Facelets_with_Tomahawk is the
official location right now.

My guess is that mouseListener takes a method binding rather than a
value binding.  You'll need to create a facelets tag handler that
tells facelets what the method signature of the mouseListener method
is.

You can find some examples of how to do this (it's trivial) at this
location.  Note that you'll want to create a ScheduleComponentHandler
class like the two examples at the bottom of the page in addition to
specifying the handler in your tag entry in taglib.xml file.

http://wiki.java.net/bin/view/Projects/FaceletsTaglibsMyfacesSandbox

When you're done, please update the tomahawk facelets page with the taghandler.

On 4/2/07, SOSELLA@austin.rr.com <SO...@austin.rr.com> wrote:
> Some more info... seems like the mouseListener method is not being
> called.  I am pretty sure that it used to be called prior to me porting
> to facelets.
>
> I downloaded the "tomahawk.taglib.xml" file that I found on the net, but
> I added the "schedule" tag myself and listed
> "org.apache.myfaces.Schedule" as the <component-type>.  Does anyone have
> an official "tomahawk.taglib.xml" file?  Any ideas about what might be
> going on?
>

Additional: problem (using facelets)

Posted by SO...@austin.rr.com.
Some more info... seems like the mouseListener method is not being
called.  I am pretty sure that it used to be called prior to me porting
to facelets.

I downloaded the "tomahawk.taglib.xml" file that I found on the net, but
I added the "schedule" tag myself and listed
"org.apache.myfaces.Schedule" as the <component-type>.  Does anyone have
an official "tomahawk.taglib.xml" file?  Any ideas about what might be
going on?