| Summary: | [translation] JSP includes within javascript tags are ignored | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [WebTools] WTP Source Editing | Reporter: | chily <chilydev> | ||||
| Component: | jst.jsp | Assignee: | Sarika Sinha <sarika.sinha> | ||||
| Status: | RESOLVED WORKSFORME | QA Contact: | Nitin Dahyabhai <thatnitind> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | howbizr, itewksbu, nsand.dev, thatnitind | ||||
| Version: | 1.0 | ||||||
| Target Milestone: | 3.2 M7 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows 2000 | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
chily
changing component/owner. Mass transfer from pa to dw. Needs more triage. This simple (and very annoying) Bug is still not fixed, 9 months later...? I have Eclipse 3.2.2, Web Standard Tools Project 2.0.2 and I believe I'm still experiencing this error when I have HTML & JSP validation enabled: My first file has: <%ProjectForm pform = null;%> ... and then later on in this file: <%@ include file="/app/project_page_parts/parts/project_nav_bar.jsp" %> Code in project_nav_bar.jsp references the instance "pform" and gives the 'cannot be resolved' error. <%= pform.getInst_symbol_encoded() %> In practice, these pages render correctly. Unfortunately, errors like this are sprinkled all over, causing enough overhead on the project that I usually just have to turn off validation all together. :( Believed to be fixed in 3.0, although missing file fragments aren't reported as problems in those locations. Last part fixed in HEAD. Reopening. Fails verification in M4. This is still an issue in 3.2 If I type "<%= pF %>" and do content assist, it suggests pForm, after selecting it if I press a dot it suggests properly the methods. But If I directly type fForm and press a dot, it is not able to resolve pForm. Investigating further. Created attachment 163227 [details]
Project file
(In reply to comment #9) > If I type "<%= pF %>" and do content assist, it suggests pForm, after selecting > it if I press a dot it suggests properly the methods. But If I directly type > fForm and press a dot, it is not able to resolve pForm. > Investigating further. I have attached a project file where it looks working,let me know if I am missing something. in fragment file, there is an error for variable not resolved but that looks correct as the variable has not been declared there. But in the header, the variable declared in fragment is correctly recognized. I am getting content assist even if I type pForm as one stop as well(not sure why i din't get the first time) Not recieved any comment so resolving. |