You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by Ma...@empolis.com on 2005/12/01 08:56:33 UTC

AW: [jira] Commented: (MYFACES-820) does not scroll , if using in Combination with the JspTilesViewHandlerImpl for Tiles Support

Hallo Simon,

My mistake was to use <f:view> in my page under <f:subview> in the tiles template page.
I have removed <f:view> and now this works fine.
Can You please mention this in your Tiles instruction.

But I have another problem using the JSCookMenu in Combination with Tiles.
With the Myfaces 1.1.1 RS3 it works fine without having JSCookMenu.js and MyFacesHack.js directly in my webproject and Java-Script statements
in the tiles template page.

<script language="JavaScript" src="jscookmenu/JSCookMenu.js"></script>
		<script language="JavaScript" src="jscookmenu/MyFacesHack.js"></script>

		<script type="text/javascript"><!--
myThemeOfficeBase='jscookmenu/ThemeOffice/';
//--></script>

		<script language="JavaScript" src="jscookmenu/ThemeOffice/theme.js"></script>
		<link rel="stylesheet" type="text/css" href="jscookmenu/ThemeOffice/theme.css" />

I want to use the nightly build from 28.11.2005 because there is
a new functionality to use actionlisteners with JSCookMenu:

aNavigationMenuItem = new NavigationMenuItem("Ansicht", "Ansicht", "", false, "nav_documentApplication", null, false);
        aNavigationMenuItem.setActionListener("#{DocumentApplicationManagedBean.gotoPageDocumentApplication}");

But when using the nightly build from 28.11.2005 the JSCookMenu in combination with tiles is not displayed when not using JSCookMenu.js and MyFacesHack.js directly in my webproject.

I must use JSCookMenu.js and MyFacesHack.js directly in my webproject to display the JSCookMenu at all. But when I go with the Mouse over the JSCookMenu I get Java Script Error from the JSCookMenu.js.

Can You please help me

Thanks very much

Matthias Köhler

-----Ursprüngliche Nachricht-----
Von: Simon Kitching (JIRA) [mailto:dev@myfaces.apache.org] 
Gesendet: Mittwoch, 30. November 2005 21:49
An: Köhler, Matthias, M-E-PS, extern
Betreff: [jira] Commented: (MYFACES-820) <t:dataScroller> does not scroll <t:dataTable>, if using in Combination with the JspTilesViewHandlerImpl for Tiles Support

    [ http://issues.apache.org/jira/browse/MYFACES-820?page=comments#action_12358957 ] 

Simon Kitching commented on MYFACES-820:
----------------------------------------

This combination works fine for me (JspTilesViewHandler, t:dataScroller).
Matthias, do you have anything further to add to your initial report?

> <t:dataScroller> does not scroll <t:dataTable>, if using in Combination with the JspTilesViewHandlerImpl for Tiles Support
> --------------------------------------------------------------------------------------------------------------------------
>
>          Key: MYFACES-820
>          URL: http://issues.apache.org/jira/browse/MYFACES-820
>      Project: MyFaces
>         Type: Bug
>   Components: Tomahawk
>     Versions: 1.1.0
>  Environment: WindowsXP SP 2, Eclipse 3.1, JBoss 4.0.2, JDK 1.5_05
>     Reporter: Matthias Köhler
>     Priority: Blocker

>
> <t:dataScroller> does not scroll <t:dataTable>, if using in Combination with the JspTilesViewHandlerImpl for Tiles Support.
> Futhermore I think an ActionListener doesn't work too, in Combination with the JspTilesViewHandlerImpl for Tiles Support.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira