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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSF
Reply 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: 42
<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?


Code depot of a Java EE / JSF developer | JSF / Eclipse / Tomcat kickoff tutorial | DAO kickoff tutorial | I ♥ Unicode
Grega Leskovšek
Ranch Hand

Joined: Nov 13, 2008
Posts: 42
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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: iceFaces make an effect on link when it is clicked
 
Similar Threads
Opening popUp window in JSF
having navigation probelms using h:commandLink
Question on h:outputLink
Dynamic value for verbatim tag
I need to open a popup from a jsf page.