This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes JSF and the fly likes iceFaces make an effect on link when it is clicked Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "iceFaces make an effect on link when it is clicked" Watch "iceFaces make an effect on link when it is clicked" New topic
Author

iceFaces make an effect on link when it is clicked

Grega Leskovšek
Ranch Hand

Joined: Nov 13, 2008
Posts: 49
<ice:form>
<ice: outputLink target="_blank" value="http://users.skavt.net/~gleskovs/">
<ice: commandButton value="Invoke"
action="#{effectBean.invokeEffect}"/>

<ice: outputText value="Effect Test"
effect="#{effectBean.textEffect}"/>
</ice: outputLink>
</ice:form>

I tried this, but I do not know how to make an effect when I click the link directly and not on a commandButton
Please help me


--Always, Grega from Peace refuge
Bauke Scholtz
Ranch Hand

Joined: Oct 08, 2006
Posts: 2458
Why are you nesting a button inside a link?
Grega Leskovšek
Ranch Hand

Joined: Nov 13, 2008
Posts: 49
I just want to merge this:
<ice: commandButton value="Invoke"
action="#{effectBean.invokeEffect}"/>

<ice: outputText value="Effect Test"
effect="#{effectBean.textEffect}"/>

together into one command that it will effect itself when it will be clicked but I do not know how.
You are right, that is just a temporary code.
Yours, Grega
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: iceFaces make an effect on link when it is clicked
 
Similar Threads
Question on h:outputLink
having navigation probelms using h:commandLink
Opening popUp window in JSF
I need to open a popup from a jsf page.
Dynamic value for verbatim tag