A friendly place for programming greenhorns!
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
Author
iceFaces make an effect on link when it is clicked
Grega Leskovšek
Ranch Hand
Joined: Nov 13, 2008
Posts: 42
posted
Jan 28, 2009 07:17:18
0
<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
posted
Jan 28, 2009 07:23:26
0
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
posted
Jan 28, 2009 12:03:16
0
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.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter