[richfaces-issues] [JBoss JIRA] Updated: (RF-8608) rich:effect name does not properly create the JS function to be called

Tomas Cerny (JIRA) jira-events at lists.jboss.org
Wed Apr 21 18:56:10 EDT 2010


     [ https://jira.jboss.org/jira/browse/RF-8608?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomas Cerny updated RF-8608:
----------------------------

    Attachment: richFacesRegister.xhtml


Look at this code, 

if you kill this fragment:

<rich:panelMenu mode="none" styleClass="menuRight"
			iconExpandedGroup="disc" iconCollapsedGroup="disc"
			iconExpandedTopGroup="chevronDown" iconGroupTopPosition="right"
			iconCollapsedTopGroup="chevronLeft" iconCollapsedTopPosition="right">

			<rich:panelMenuGroup label="Information" mode="none" expanded="true"
				iconDisabled="true">
				<!-- 
					<rich:panelMenuItem mode="none" styleClass="registerMenu" iconStyle="display:none"> 
						<ui:decorate template="/layout/menu/fragments/registrationInfo.xhtml"/>
					</rich:panelMenuItem>
				 -->
			</rich:panelMenuGroup>


it will work..



> rich:effect name does not properly create the JS function to be called
> ----------------------------------------------------------------------
>
>                 Key: RF-8608
>                 URL: https://jira.jboss.org/jira/browse/RF-8608
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: component-misc, regression
>    Affects Versions: 3.3.3.Final
>            Reporter: Tomas Cerny
>            Priority: Critical
>         Attachments: richFacesRegister.xhtml
>
>
> rich:effect name does not properly create the JS function..
> Consider your documentation example:
> <!--  invoking by JavaScript -->
> <div id="contentDiv">...</div>
> <input type="button" onclick="hideDiv({duration:0.7})" value="Hide" />
> <input type="button" onclick="showDiv()" value="Show" />
> <rich:effect  name="hideDiv"  for="contentDiv" type="Fade" />
> <rich:effect  name="showDiv"  for="contentDiv" type="Appear" />
> it worked on the older version but in 3.3.3 so I must downgrade :|
> This is my browser complaint:
> Error: Effect[A.type] is not a constructor
> Source File: http://localhost/a4j/g/3_3_3.Final/org/richfaces/ui.pack.js
> Line: 15201

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

        


More information about the richfaces-issues mailing list