CommandButton/Link inside p:tree doesnt work?

UI Components for JSF
jgarciam
Posts: 2
Joined: 16 Jan 2012, 21:26

16 Jan 2012, 21:32

optimus.prime wrote:Fix checked in for 3.0.1 and 3.1.
dont work commandButton into a subtable, button action not work, but if I put the same button outside the subtable works!!!.

Any solution?


i use 3.0.1 primefaces and Mojarra 2.0.3


thx

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

16 Jan 2012, 21:33

Try MyFaces.

smithh032772
Posts: 6144
Joined: 10 Sep 2011, 21:10

16 Jan 2012, 22:23

jgarciam wrote:dont work commandButton into a subtable, button action not work, but if I put the same button outside the subtable works!!!.

Any solution?

i use 3.0.1 primefaces and Mojarra 2.0.3

thx
See the following workaround that is working in my JSF/Primefaces app:

[SOLVED] p:commandLink doesn't work in nested DataTables
Howard

PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome

Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache

jgarciam
Posts: 2
Joined: 16 Jan 2012, 21:26

17 Jan 2012, 14:49

optimus.prime wrote:Try MyFaces.

have same results!!! :(

cookiemonster
Posts: 17
Joined: 16 Dec 2011, 15:40

30 Jan 2012, 12:26

Hi, I download 3.1, add to my project tried to add a commandButton/commandLink into a column of a treeTable
but action of commandButton/commandLink is not invoked except the root row.


Thanks.

smithh032772
Posts: 6144
Joined: 10 Sep 2011, 21:10

30 Jan 2012, 18:26

jgarciam wrote:have same results!!! :(
cookiemonster wrote:Hi, I download 3.1, add to my project tried to add a commandButton/commandLink into a column of a treeTable
but action of commandButton/commandLink is not invoked except the root row.


Thanks.
Did you try my recommend solution/workaround?
Howard

PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome

Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

30 Jan 2012, 20:42


rado1978
Posts: 2
Joined: 11 Nov 2010, 15:52

02 Apr 2012, 13:40

heisenberg wrote:Works fine for treeTable.

http://www.primefaces.org/showcase-labs ... eTable.jsf

But it is still not working for p:tree (only on first level). I have tried 3.2 and 3.3-SNAPSHOT.

User avatar
Oleg
Expert Member
Posts: 3805
Joined: 02 Oct 2009, 09:41
Location: Germany, Black Forest

16 Apr 2012, 17:04

Hi guys,

Yes, it only works for root in p:tree. I will create an issue.

Edit: Created: http://code.google.com/p/primefaces/iss ... il?id=3929
PrimeFaces Cookbook (2. edition): http://ova2.github.io/primefaces-cookbook/ Learning Angular UI Development with PrimeNG: https://github.com/ova2/angular-develop ... th-primeng Blog: https://medium.com/@OlegVaraksin

vinuriyer
Posts: 11
Joined: 19 Apr 2012, 09:28

19 Apr 2012, 14:35

hi,

Am using 3.2 version of primefaces.
I have similar issue with the p:tree..data gets updated in the root nodes.not to the parent nodes.
i placed an p:inputtext in the p:treenode. its value doesnt gets updated.

Code: Select all

 <p:tree id="tree" value="#{layoutMenuBean.treeroot}" var="node">  
            <p:treeNode> 
               
                     <p:inputText value="#{node}"/>
                
            </p:treeNode>  
        </p:tree> 
also inplace nt wrking in the child nodes of p:treenode.

Code: Select all

<p:tree id="tree" value="#{layoutMenuBean.treeroot}" var="node">  
            <p:treeNode> 
                
                <p:inplace editor="true">
                     <p:inputText value="#{node}"/>
                </p:inplace>
                
            </p:treeNode>  
        </p:tree> 
i also tried the above code with p:treetable.

Not working !!!
kindly help.
Vinu Iyer
Geojit Technologies

JSF 2.0 | Primefaces 3.2 | Spring 3.0 | Hibernate 4 | JBoss 5.1.0

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: Google [Bot] and 60 guests