facebook

Tool support for f:setPropertyActionListener

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #292331 Reply

    When I use the f:setPropertyActionListener tag, I get the error:

    - Unknown element 
         (setPropertyActionListener)

    This is a valid element, see the docs:
    http://java.sun.com/javaee/javaserverfaces/1.2/docs/tlddocs/f/setPropertyActionListener.html

    If it’s relevant, I’m using the tag inside a h:commandButton, inside a ui:repeat

    #292355 Reply

    Loyal Water
    Member

    Can you paste the entire file here for me so that I can try reproducing this issue at my end.

    Also, can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me so that I can test this issue on the same configuration.

    #292362 Reply

    Here is a simplified example that gives the error:

        <body>
            <f:view>
                <h:form>
                    <h:commandButton>
                        <f:setPropertyActionListener target="#{registrar.subRegistrant}"
                            value="#{subRegistrant}" />
                    </h:commandButton>
                </h:form>
                </ui:insert>
            </f:view>
        </body>
    

    Here are my installation details:

    *** Date: 
    Wednesday, December 17, 2008 8:50:54 AM PST
    
    ** System properties:
    OS=WindowsXP
    OS version=5.1.0
    Java version=1.5.0_11
    
    
    *** MyEclipse details:
    MyEclipse Blue Edition
    Version: 7.0 Blue
    Build id: 7.0-Blue-20081201
    
    
    *** Eclipse details:
    MyEclipse Blue Edition
    
    Version: 7.0 Blue
    Build id: 7.0-Blue-20081201
    
    
    
    
    Eclipse Platform
    
    Version: 3.4.1.r341_v20080731-9I96EiDElYevwz-p1bP5z-NlAaP7vtX6Utotqsu
    Build id: M20080911-1700
    
    
    Eclipse Java Development Tools
    
    Version: 3.4.1.r341_v20080709-0800-7o7tEAfEF_U5qyUgrb2HAp539P97
    Build id: M20080709-0800
    
    
    Eclipse Graphical Editing Framework GEF
    
    Version: 3.4.1.v20080806-67718083A56B4H2A3213573
    Build id: 200809101400
    
    
    Eclipse RCP
    
    Version: 3.4.100.r341_v20080814-989JESIEdAciFYfkZZsBfSwQ2341
    Build id: M20080703-0800
    
    
    Eclipse Plug-in Development Environment
    
    Version: 3.4.1.r341_v20080731-7T7U0E9mlRIuGUYviF_VP
    Build id: M20080703-0800
    
    
    
    
    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\Program Files\Genuitec\MyEclipse 7.0 Blue Edition\myeclipse-blue.exe
    -name
    Myeclipse-blue
    --launcher.library
    C:\Program Files\Genuitec\MyEclipse 7.0 Blue Edition\../Common\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731\eclipse_1115.dll
    -startup
    C:\Program Files\Genuitec\MyEclipse 7.0 Blue Edition\../Common\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar
    -clean
    -configuration
    configuration
    -vm
    C:\Program Files\Genuitec\Common\binary\com.sun.java.jre.win32.x86_1.5.0.011\bin\client\jvm.dll
    
    #292458 Reply

    Loyal Water
    Member

    I’ll look into this issue and get back to you with an update asap.

    #294372 Reply

    dryan63
    Member

    Any update on this issue, I find it frustrating to that I can’t use the setPropertyActionListner tag is not supported.

    #294454 Reply

    Loyal Water
    Member

    This is a bug at our end and we’ll get it fixed asap. Sorry for the inconvenience.

    #300208 Reply

    daniel_r
    Member

    same problem over here…

    I can’t use the setPropertyActionListner tag too…

    im using the latest myEclipse ide….

    is there a fix for it already?

    cause the latest post that was made on this topic was 5 months ago…

    #300227 Reply

    Loyal Water
    Member

    daniel_r,
    We tried to get this into 7.5 but ran out of time. The fix for this issue has been targeted for the 8.0 release. Sorry for the inconvenience.

    #301022 Reply

    This tag is specific for JSF 1.2. By default MyEclipse uses this JSF version with web projects for JEE5. Older web projects use libraries without that tag. You can change the libraries on MyEclipse/Project Capabilities/JavaServer Faces.

Viewing 9 posts - 1 through 9 (of 9 total)
Reply To: Tool support for f:setPropertyActionListener

You must be logged in to post in the forum log in