Return-Path: Delivered-To: apmail-struts-user-archive@www.apache.org Received: (qmail 18380 invoked from network); 6 Nov 2010 15:39:17 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 6 Nov 2010 15:39:17 -0000 Received: (qmail 34122 invoked by uid 500); 6 Nov 2010 15:39:46 -0000 Delivered-To: apmail-struts-user-archive@struts.apache.org Received: (qmail 33982 invoked by uid 500); 6 Nov 2010 15:39:45 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 33974 invoked by uid 99); 6 Nov 2010 15:39:45 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Nov 2010 15:39:45 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of liying.cn.2010@gmail.com designates 209.85.216.48 as permitted sender) Received: from [209.85.216.48] (HELO mail-qw0-f48.google.com) (209.85.216.48) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 06 Nov 2010 15:39:37 +0000 Received: by qwk3 with SMTP id 3so3537932qwk.35 for ; Sat, 06 Nov 2010 08:39:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=TE1rUEyC07Kd86ToA+O8dwgaiuV5mB9YPLCiva1JnKM=; b=EVEjoM6xz4t2cg2c9AoDKnEvOu+LxZdCs5swEwJBCWXbGBB5hOVGW9vE6wI6UlP3BB tzxFO+NeWxCNoSpa10vhn4fM+CKcFZJtB+iP6LfWWNLTnzCuTBhoEid3vX9CqU1rwhxP g/9qKDKpAGgbS7VEPnQ9psy3BGUwKtsb0jVJo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=n141PbLzjiRG2rz6ojt/AmBZ98KThBpua+3Ap/Pe0Nsx1WNP3Mzc6xTu2HGyk0z59X bfWIWjDkSenYl4VbKYsxQaZZu3MEPZx2gVpn43JqipVjJ87Tr1N8FivT7aFbcDSUwAbM x4322mZQjaFvjFjhVdltZrLvtJuPZEgfQk3oI= MIME-Version: 1.0 Received: by 10.229.240.76 with SMTP id kz12mr3215992qcb.65.1289057956838; Sat, 06 Nov 2010 08:39:16 -0700 (PDT) Received: by 10.229.216.10 with HTTP; Sat, 6 Nov 2010 08:39:16 -0700 (PDT) In-Reply-To: References: Date: Sun, 7 Nov 2010 00:39:16 +0900 Message-ID: Subject: Re: How to use From: Li Ying To: Struts Users Mailing List Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org The template of has these code: <#if !stack.findValue("#optiontransferselect_js_included")??><#t/> <#assign temporaryVariable = stack.setValue("#optiontransferselect_js_included", "true") /><#t/> These code should generate some HTML code which import the JS file. And, the JS file is in the struts2-core-2.2.1.jar, under the path [/org/apache/struts2/static/]. >> I am confused why the "optiontransferselect.js" was not automatically imported/generated into HTML page Maybe there are something else getting wrong. (1)check if the HTML code is right (2)check if there are error messages on the client side (3)check if there are exceptions on the server side Maybe you can find something. 2010/11/7 Mead Lai : > Appreciate all of you very much. > Is the "/struts/optiontransferselect.js" included in the struts-core.jar? > I am confused why the "optiontransferselect.js" was not automatically > imported/generated into HTML page. > I config the "struts.theme = simple" for entire project. > > Regards, > Mead > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org