Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Navigation in JSP with M2
Navigation in JSP with M2 [message #60109] Tue, 04 January 2005 17:10 Go to next message
Eclipse UserFriend
Originally posted by: chabert.fimasys.fr

Hello,

first, I'd like to wish you all an happy new year 2005, and especially
to the WTP team who did a fantastic job !

My question is about navigation in jsp files:
on java scriplets, navigation is working well with java class (by using
F3 for example to open declaration), and with the check 'Support
hyperlink style navigation for "Open Declaration"' checked !
But, the navigation seems to be unable to handle navigation toward
explicit files, such as other jsp pages.
For example, I have the following tag:

<jsp:include page="my_page.jsp" flush="true"/>

and when I try to navigate on "my_page.jsp", I got the message
"Current text selection does not resolve to a file".
But my file exists and the path is correct.

Is it a bug, a feature request or have I a problem with my environnement ?

I'm working under linux Debian, with Eclipse 3.1M4, WTP1.0M2.
I tried with jsp files inside an Eclipse Web Project.


Thx
Sylvain
Re: Navigation in JSP with M2 [message #60355 is a reply to message #60109] Tue, 04 January 2005 19:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: amywu.us.DELETETHISPART.ibm.com

Your scenario should work (it works for me). I tried on a windows XP, and
linux suse, and both worked. Do you have any problems with plain html
tags as well? for example, try <a href="my_page.jsp" /> does that work?

Sylvain Chabert wrote:

> Hello,

> first, I'd like to wish you all an happy new year 2005, and especially
> to the WTP team who did a fantastic job !

> My question is about navigation in jsp files:
> on java scriplets, navigation is working well with java class (by using
> F3 for example to open declaration), and with the check 'Support
> hyperlink style navigation for "Open Declaration"' checked !
> But, the navigation seems to be unable to handle navigation toward
> explicit files, such as other jsp pages.
> For example, I have the following tag:

> <jsp:include page="my_page.jsp" flush="true"/>

> and when I try to navigate on "my_page.jsp", I got the message
> "Current text selection does not resolve to a file".
> But my file exists and the path is correct.

> Is it a bug, a feature request or have I a problem with my environnement ?

> I'm working under linux Debian, with Eclipse 3.1M4, WTP1.0M2.
> I tried with jsp files inside an Eclipse Web Project.


> Thx
> Sylvain
Re: Navigation in JSP with M2 [message #60845 is a reply to message #60109] Tue, 04 January 2005 21:21 Go to previous messageGo to next message
Andrey Loskutov is currently offline Andrey LoskutovFriend
Messages: 89
Registered: July 2009
Member
Hi Sylvian,
the same is for me (WinXP, 3.0.1 or 3.1 M4, WTP 1.0M2) - sometimes it
works, sometimes don't (I can't understand why).
Anyway, try the AnyEdit plugin - there is a similar functionality for
*any* editor, and it works.
http://andrei.gmxhome.de/anyedit/index.html

Kind regards,
Andrei Loskutov

Am Tue, 04 Jan 2005 18:10:13 +0100 hat Sylvain Chabert
<chabert@fimasys.fr> geschrieben:

> Hello,
>
> first, I'd like to wish you all an happy new year 2005, and especially
> to the WTP team who did a fantastic job !
>
> My question is about navigation in jsp files:
> on java scriplets, navigation is working well with java class (by using
> F3 for example to open declaration), and with the check 'Support
> hyperlink style navigation for "Open Declaration"' checked !
> But, the navigation seems to be unable to handle navigation toward
> explicit files, such as other jsp pages.
> For example, I have the following tag:
>
> <jsp:include page="my_page.jsp" flush="true"/>
>
> and when I try to navigate on "my_page.jsp", I got the message
> "Current text selection does not resolve to a file".
> But my file exists and the path is correct.
>
> Is it a bug, a feature request or have I a problem with my environnement
> ?
>
> I'm working under linux Debian, with Eclipse 3.1M4, WTP1.0M2.
> I tried with jsp files inside an Eclipse Web Project.
>
>
> Thx
> Sylvain
Re: Navigation in JSP with M2 [message #61011 is a reply to message #60845] Wed, 05 January 2005 10:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: chabert.fimasys.fr

Hello,

thx both for your answers.

I made a test case with a Web project, and the navigation is indeed
working fine on jsp include (my previous test case was wrong, putting
the linked page on a bad path...).

But on my main project (java project), it is not working. The simple
html href works, but not the jsp include.

Also, I tried the AnyEdit plugin, and its "Open file under cursor"
functionnality works !

So, I guess that with the wtp, the navigation functionnality has a
context problem with my project that is java project and not a web
project. But my linked file path is good, because I have a summray
of the annotations belonging to the linked file. In other words, the
scriplet compilation mechanism seems to find the jsp file, but
not the navigation mechanism. So, is it a configuration/environnment
problem, or a bug of the navigation mechanism ?

Sylvain

PS: Andrei, your plugin AnyEdit is fine. Why have you put a "To lower
case" and "To upper case" functionnalities as they already exist
natively in Eclipse (Ctrl+Alt+X and Ctrl+Alt+Y) ?
I don't see any difference.

Andrei Loskutov wrote:
> Hi Sylvian,
> the same is for me (WinXP, 3.0.1 or 3.1 M4, WTP 1.0M2) - sometimes it
> works, sometimes don't (I can't understand why).
> Anyway, try the AnyEdit plugin - there is a similar functionality for
> *any* editor, and it works.
> http://andrei.gmxhome.de/anyedit/index.html
>
> Kind regards,
> Andrei Loskutov
>
> Am Tue, 04 Jan 2005 18:10:13 +0100 hat Sylvain Chabert
> <chabert@fimasys.fr> geschrieben:
>
>> Hello,
>>
>> first, I'd like to wish you all an happy new year 2005, and
>> especially to the WTP team who did a fantastic job !
>>
>> My question is about navigation in jsp files:
>> on java scriplets, navigation is working well with java class (by
>> using F3 for example to open declaration), and with the check
>> 'Support hyperlink style navigation for "Open Declaration"' checked !
>> But, the navigation seems to be unable to handle navigation toward
>> explicit files, such as other jsp pages.
>> For example, I have the following tag:
>>
>> <jsp:include page="my_page.jsp" flush="true"/>
>>
>> and when I try to navigate on "my_page.jsp", I got the message
>> "Current text selection does not resolve to a file".
>> But my file exists and the path is correct.
>>
>> Is it a bug, a feature request or have I a problem with my
>> environnement ?
>>
>> I'm working under linux Debian, with Eclipse 3.1M4, WTP1.0M2.
>> I tried with jsp files inside an Eclipse Web Project.
>>
>>
>> Thx
>> Sylvain
>
>
Re: Navigation in JSP with M2 [message #61694 is a reply to message #61011] Wed, 05 January 2005 19:31 Go to previous messageGo to next message
Andrey Loskutov is currently offline Andrey LoskutovFriend
Messages: 89
Registered: July 2009
Member
Am Wed, 05 Jan 2005 11:39:34 +0100 hat Sylvain Chabert
<chabert@fimasys.fr> geschrieben:


> Sylvain
>
> PS: Andrei, your plugin AnyEdit is fine. Why have you put a "To lower
> case" and "To upper case" functionnalities as they already exist
> natively in Eclipse (Ctrl+Alt+X and Ctrl+Alt+Y) ?
> I don't see any difference.

Hmm... Simply because I have missed it in Eclipse 3.0 (my mistake ;)) and
it was too simple to implement it ;)
Re: Navigation in JSP with M2 [message #62205 is a reply to message #61011] Thu, 06 January 2005 14:52 Go to previous message
Eclipse UserFriend
Originally posted by: chabert.fimasys.fr

I found out there is already a bug reported about it:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=71224


Sylvain Chabert wrote:
>
> Hello,
>
> thx both for your answers.
>
> I made a test case with a Web project, and the navigation is indeed
> working fine on jsp include (my previous test case was wrong, putting
> the linked page on a bad path...).
>
> But on my main project (java project), it is not working. The simple
> html href works, but not the jsp include.
>
> Also, I tried the AnyEdit plugin, and its "Open file under cursor"
> functionnality works !
>
> So, I guess that with the wtp, the navigation functionnality has a
> context problem with my project that is java project and not a web
> project. But my linked file path is good, because I have a summray
> of the annotations belonging to the linked file. In other words, the
> scriplet compilation mechanism seems to find the jsp file, but
> not the navigation mechanism. So, is it a configuration/environnment
> problem, or a bug of the navigation mechanism ?
>
> Sylvain
>
> PS: Andrei, your plugin AnyEdit is fine. Why have you put a "To lower
> case" and "To upper case" functionnalities as they already exist
> natively in Eclipse (Ctrl+Alt+X and Ctrl+Alt+Y) ?
> I don't see any difference.
>
> Andrei Loskutov wrote:
>
>> Hi Sylvian,
>> the same is for me (WinXP, 3.0.1 or 3.1 M4, WTP 1.0M2) - sometimes it
>> works, sometimes don't (I can't understand why).
>> Anyway, try the AnyEdit plugin - there is a similar functionality for
>> *any* editor, and it works.
>> http://andrei.gmxhome.de/anyedit/index.html
>>
>> Kind regards,
>> Andrei Loskutov
>>
>> Am Tue, 04 Jan 2005 18:10:13 +0100 hat Sylvain Chabert
>> <chabert@fimasys.fr> geschrieben:
>>
>>> Hello,
>>>
>>> first, I'd like to wish you all an happy new year 2005, and
>>> especially to the WTP team who did a fantastic job !
>>>
>>> My question is about navigation in jsp files:
>>> on java scriplets, navigation is working well with java class (by
>>> using F3 for example to open declaration), and with the check
>>> 'Support hyperlink style navigation for "Open Declaration"' checked !
>>> But, the navigation seems to be unable to handle navigation toward
>>> explicit files, such as other jsp pages.
>>> For example, I have the following tag:
>>>
>>> <jsp:include page="my_page.jsp" flush="true"/>
>>>
>>> and when I try to navigate on "my_page.jsp", I got the message
>>> "Current text selection does not resolve to a file".
>>> But my file exists and the path is correct.
>>>
>>> Is it a bug, a feature request or have I a problem with my
>>> environnement ?
>>>
>>> I'm working under linux Debian, with Eclipse 3.1M4, WTP1.0M2.
>>> I tried with jsp files inside an Eclipse Web Project.
>>>
>>>
>>> Thx
>>> Sylvain
>>
>>
>>
Previous Topic:Validation JSP
Next Topic:XML Editor code completion failures with attributes in xsd schema
Goto Forum:
  


Current Time: Thu Sep 26 22:49:31 GMT 2024

Powered by FUDForum. Page generated in 0.04564 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top