- This topic has 11 replies, 5 voices, and was last updated 12 years, 7 months ago by
twinfeats.
-
AuthorPosts
-
JeffreyGetzinMemberJSF 2.0 validation is much improved in version 9, but there are still some problems.
One of these problems is that MyEclipse does not recognize method calls as valid in EL. For instance
<h:someTag value=”#{somemethod(param1, param2)}” />
will be flaged with a warning as being invalid EL.
May 4, 2011 at 3:23 am #316523
support-joyMemberJeffreyGetzin,
I have escalated your post to dev team members. They would get back to you on this.
Sorry for the inconvenience.
May 4, 2011 at 1:08 pm #316547
JeffreyGetzinMemberJoy,
I’m more concerned that it’s been a full month since I posted this issue. The bug itself not a show-stopper issue, but MyEclipse support has been very sluggish in responding to issues. Perhaps you need more staff?
Jeff
May 4, 2011 at 11:16 pm #316556
support-swapnaModeratorJeffreyGetzin,
We apologize for not acknowledging your post earlier. The issue has been long filed as a PR and you can expect to see the fix in the coming build.
Sorry for the delay.We will make sure to be more prompt next time on.
Thank you for the patience.May 5, 2011 at 7:08 am #316571
JeffreyGetzinMemberSwapna,
Thank you. 🙂
Jeff
November 12, 2012 at 9:53 am #332226
twinfeatsMemberThis is still not working in v10 – it’s been 18 months, what gives?! This is a show stopper for my project.
November 14, 2012 at 12:00 am #332290
support-pradeepMembertwinfeats,
I could not replicate the issue at my end on MyEclipse 10.6.
Could you provide below details to help us investigate further –
1. Open MyEclipse IDE, from menu options click on MyEclipse > Installation Summary > Installation Details and copy and paste the same here.
2. If you are not on MyEclipse 10.6, then please update to 10.6 version. If you can still replicate the issue on MyEclipse 10.6 then please attach the screenshot of the error.November 14, 2012 at 11:10 am #332307
twinfeatsMemberYes, I’m on 1.6. Here is a simple test managed bean:
package com.retalix.powerplus.jsf;
import javax.faces.bean.ApplicationScoped;
import javax.faces.bean.ManagedBean;@ManagedBean
@ApplicationScoped
public class SecurityBean {
public String getAValueWithParm(String name) {
return name;
}public String getAValue() {
return “”;
}
}Attached is a screenshot of a test xhtml showing the available auto-complete choices for this bean. AValue is listed but AValueWithParm is not. Additionally, if I start typing get to see if it then detects the method, I still get no results.
Attachments:
You must be logged in to view attached files.November 14, 2012 at 11:15 pm #332325
support-pradeepMembertwinfeats,
1) Can you switch to a new workspace, create a new project with sample code and check if you can replicate the issue ? It might also be a workspace/cache issue.
2) If you can still replicate the issue, can you please attach the sample project which replicates this issue to help us investigate further ?
November 15, 2012 at 1:27 pm #332353
twinfeatsMemberAttached is the requested new sample project taken from a new, clean workspace. Problem still exists in this sample.
Attachments:
You must be logged in to view attached files.November 16, 2012 at 3:26 am #332382
support-pradeepMembertwinfeats,
It seems to be an issue with getter property. If there is no parameter for the getter property, then the autocomplete works.
Can you please recheck if the parameter is supported for getter property ?
You can cross post to development supported forums for better support.
November 16, 2012 at 8:28 am #332393
twinfeatsMemberYes, calling methods directly from EL (with or without parms) is a feature of EL 2.2. I had no issues with this when working in NetBeans, but am required to use MyEclipse for this latest project, where it seems this is not working.
-
AuthorPosts