This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 188490 - Please support tiles-defs in struts
Summary: Please support tiles-defs in struts
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: Struts (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal with 1 vote (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-08 13:31 UTC by tomzi
Modified: 2016-07-07 08:54 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tomzi 2010-07-08 13:31:31 UTC
Linkin from struts-defs to tiles-defs and vice versa would be nice to have. Also CTRL-Hover support of jsp pages in tiles-defs would be nice
Comment 1 Martin Fousek 2011-09-26 05:17:22 UTC
Thanks for reporting. Changing issue type to enhancement since it's a request for new functionality. I can just say that it's not planed for NB71 so we will see how about next release.
Comment 2 tomzi 2013-09-12 14:59:36 UTC
any chance we gonna see tiles-defs.xml support?

the most important cases would be:

.) navigation from struts-config.xml to tiles-defs.xml
In struts-config.xml
<action path="/urlpath1" input="tilesdefUrlpath1.page" name="myform" type="com.MyAction" scope="session" validate="false" />

CTRL-Click on tilesdefUrlpath1.page should navigate to the tiles-defs.xml:

    <definition name="tilesdefUrlpath1.page" extends="another.page">
       <put-attribute name="content" 
       value="/WEB-INF/myJsp.jsp" />
    </definition>

.) CTRL-Clicking on 'another.page' would navigate me to the parent definition
.) CTLR-Clicking on '/WEB-INF/myJsp.jsp' would bring me to the jsp page
Comment 3 Martin Fousek 2013-09-13 05:32:05 UTC
(In reply to tomzi from comment #2)
> any chance we gonna see tiles-defs.xml support?

Thanks for the detailed description. To be honest Struts is not the most preferred framework since it's quite old and doesn't have many active users. Into the next version nb80 are planned rather JSF, EL features. Sorry.
Comment 4 tomzi 2013-09-13 07:03:00 UTC
Oh well I don't blame you :) I'd rather change to JSF as well. But the reality is, that companies usually don't start very often with projects from scratch where you can make these decisions, but have to work with products (and in our case customizations of a product) that work with 'old' technologies. And since it's usually the case, especially in web development, that products are developed in a way that the gui part is not easily replaceable, we are stuck with what we've got...

And I am not convinced that even if struts is not the most preferred framework for many it is used a lot.

As you can see I kinda try to convince you to support, what I think, is a small feature request from my point of view :) ... which would improve struts usage a lot!
Comment 5 Martin Balin 2016-07-07 08:54:50 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss