1.7 <ice:effect/>
[Logo]
Forums for ICEfaces and ICEpdf
[Search] Search   [Recent Topics] Recent Topics   [Groups] Home Page | www.icefaces.org  [Register] Register  [Login] Login 
1.7 <ice:effect/>  XML
Forum Index -> General Help
Author Message
databass

Joined: 26/09/2007 00:00:00
Messages: 4
Offline


I'm trying to use the new <ice:effect/> component, specifically the appear and face effects.

Can this be done without having to use any beans?

Here's a simple example of what I'm trying to do:

<ice:outputText value="Make this text fade" >
<ice:effect effectType="face"/>
</ice:outputText>

<ice:outputText value="Make this text appear" >
<ice:effect effectType="appear"/>
</ice:outputText>


Nothing happens. Am I missing something?
It would be helpful if someone could post a 'Hello World' example.
The 1.7 Component Showcase has some examples source code, but that doesn't appear to be using the <ice:effect> components.

Thank you,
dave

philip.breau


Joined: 08/05/2006 00:00:00
Messages: 2628
Offline


Hi Dave,

Try wrapping the effect tag around the effectee rather than embedding it:
Code:
 <ice:effect effectType="pulsate" event="mouseover">
 	<ice:outputText value="Pulsate"/>
 </ice:effect>


Philip

.
databass

Joined: 26/09/2007 00:00:00
Messages: 4
Offline


Thanks, that did it.
hobione


Joined: 18/10/2007 00:00:00
Messages: 10
Offline


I could not make mine work without panel group.
Code:
  <ice:panelGroup>                                 
      <ice:effect event="mouseover" effectType="highlight" >
                                     <a href="/epf/browse?packageId=#{tree.packageId}&versionObjectID=#{version.objId}" target="_blank"> <ice:outputText value="#{version.name}"/></a>
                                     <!--/ice:commandLink-->   
                     </ice:effect>              
                 </ice:panelGroup> 
 


Thanks
hobione.wordpress.com
 
Forum Index -> General Help
Go to:   
Powered by JForum 2.1.7ice © JForum Team