facebook

JSF Tutorial

  1. MyEclipse IDE
  2.  > 
  3. Spring Development
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #338524 Reply

    Chris Parsons
    Participant

    I am running through the JSF tutorial with MyEclipse 2013 and have got to the point where I have added a managed bean (UserBean) and am trying to add the password property to it, but I get a blank list box opened up in the dlaog – and cannot enter ‘password’ for the name of the property?

    Have I missed something or is this a bug? Implication seems to be I should have added it somewhere else, but the managed bean property dialog has an ‘Add’ button leading tio this dialog which seems fairly obvious??

    Chris

    #338588 Reply

    Chris,

    Sorry that you are seeing this issue.

    The “Property name” in the Add managed property is a read-only drop down. Based on the property class selected, the property name drop-down will be populated with property names.

    You should first add getters and setters for userName and password manually in UserBean.java file and then in the Add managed property wizard select UserBean.java as the property class. After selecting the property class, userName and password will be populated in the property name drop down. You can follow the JSF tutorial from this step.

    We already have a PR filed for this issue to make the appropriate changes in the JSF tutorial.

    Let us know if you see any issues.

    #338680 Reply

    Chris Parsons
    Participant

    Thank you, this has resolved the issue – but it seems odd that I can add the variable names to the UserBean class and get ME to automatically generate the getters and setters for me (albeit without the annotations)

    Can this same functionality not be called from the faces-config.xml ‘ManagedBean’ dialog?

    Seems a bit back to front to me, but I can live with it

    Regards

    Chris Parsons

    #338739 Reply

    Chris,

    I have filed a PR for this and the dev team is looking into it.

    Let us know if you see any further issues.

    #350042 Reply

    support-tony
    Keymaster

    Chris,

    This problem has been fixed in our 2015 CI 1 release. For information about this release, please see this announcement.

    Thanks for reporting the issue and sorry for the inconvenience it caused.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: JSF Tutorial

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