[JIRA] Commented: (NBX-2) Support navigation to JavaScript and Css files
- From: "sabob (JIRA)" <jira-no-reply@kenai.com>
- To: issues@nbx.kenai.com
- Subject: [JIRA] Commented: (NBX-2) Support navigation to JavaScript and Css files
- Date: Thu, 25 Mar 2010 21:51:16 +0000 (GMT+00:00)
[
http://kenai.com/jira/browse/NBX-2?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=49568#action_49568
]
sabob commented on NBX-2:
-------------------------
Great to see this feature implemented as part of 1.1
Could this feature be enhanced to also recognize variables used for CssImport
and JsImport:
String link = "/general/page-head-demo.css";
headElements.add(new CssImport(link));
Currently the link reference is not linked to. The following works though:
headElements.add(new CssImport("/general/page-head-demo.css"));
Would also be great if the Context#renderTemplate method would have the same
behavior and link through to the rendered template:
Map model = new HashMap();
String content = context.renderTemplate("/general/page-head-demo.js",
model);
Not sure how difficult this would be to implement though.
> Support navigation to JavaScript and Css files
> ----------------------------------------------
>
> Key: NBX-2
> URL: http://kenai.com/jira/browse/NBX-2
> Project: nbx
> Issue Type: Improvement
> Components: click
> Affects Versions: 1.0
> Reporter: hantsy
> Assignee: hantsy
> Fix For: 1.1
>
>
> In Click 2.1.0 is a new feature where one can define JavaScript and Css
> imports
> inside a Click Page:
> new JsImport("/assets/js/xyz.js");
> new CssImport("/assets/css/style.css");
> It would be great if Click plugin allowed one to navigate to the JavaScript
> and
> CSS library from the Page, perhaps by using the Ctrl+click feature as
> implemented in menu.xml and click.xml.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://kenai.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
[JIRA] Commented: (NBX-2) Support navigation to JavaScript and Css files |
sabob (JIRA) | 03/25/2010 |





