Return-Path: X-Original-To: apmail-tapestry-commits-archive@minotaur.apache.org Delivered-To: apmail-tapestry-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 55AD311BF6 for ; Tue, 17 Jun 2014 08:33:02 +0000 (UTC) Received: (qmail 14048 invoked by uid 500); 17 Jun 2014 08:33:02 -0000 Delivered-To: apmail-tapestry-commits-archive@tapestry.apache.org Received: (qmail 14003 invoked by uid 500); 17 Jun 2014 08:33:02 -0000 Mailing-List: contact commits-help@tapestry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@tapestry.apache.org Delivered-To: mailing list commits@tapestry.apache.org Received: (qmail 13993 invoked by uid 99); 17 Jun 2014 08:33:02 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jun 2014 08:33:02 +0000 Date: Tue, 17 Jun 2014 08:33:02 +0000 (UTC) From: "Jochen Kemnade (JIRA)" To: commits@tapestry.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (TAP5-2238) When require-ing a module that is part of a JavaScript Stack, the entire stack should be imported MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/TAP5-2238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14033553#comment-14033553 ] Jochen Kemnade commented on TAP5-2238: -------------------------------------- This only works when the module is imported via {{JavaScriptSupport.require(moduleName)}}, when the module is required on the client-side from within another module, only that module is loaded instead of the whole stack. I think that should be changed. Maybe have {{ModuleDispatcher}} redirect to the stack? > When require-ing a module that is part of a JavaScript Stack, the entire stack should be imported > ------------------------------------------------------------------------------------------------- > > Key: TAP5-2238 > URL: https://issues.apache.org/jira/browse/TAP5-2238 > Project: Tapestry 5 > Issue Type: Improvement > Components: tapestry-core > Affects Versions: 5.4 > Reporter: Howard M. Lewis Ship > Assignee: Howard M. Lewis Ship > Fix For: 5.4 > > > This is parallel to existing logic w.r.t. to libraries and stacks. > Without this, it may be necessary to import the stack, and require the desired module, for efficient behavior in both development and production (with aggregation enabled). -- This message was sent by Atlassian JIRA (v6.2#6252)