Return-Path: Delivered-To: apmail-ofbiz-user-archive@www.apache.org Received: (qmail 691 invoked from network); 5 Feb 2008 19:24:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Feb 2008 19:24:45 -0000 Received: (qmail 49707 invoked by uid 500); 5 Feb 2008 19:24:36 -0000 Delivered-To: apmail-ofbiz-user-archive@ofbiz.apache.org Received: (qmail 49691 invoked by uid 500); 5 Feb 2008 19:24:36 -0000 Mailing-List: contact user-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ofbiz.apache.org Delivered-To: mailing list user@ofbiz.apache.org Received: (qmail 49682 invoked by uid 99); 5 Feb 2008 19:24:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2008 11:24:36 -0800 X-ASF-Spam-Status: No, hits=2.6 required=10.0 tests=DNS_FROM_OPENWHOIS,SPF_HELO_PASS,SPF_PASS,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2008 19:24:07 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1JMTOw-0003EM-EC for user@ofbiz.apache.org; Tue, 05 Feb 2008 11:24:14 -0800 Message-ID: <15297487.post@talk.nabble.com> Date: Tue, 5 Feb 2008 11:24:14 -0800 (PST) From: Ritz123 To: user@ofbiz.apache.org Subject: Re: what does layoutSettings.javascript[+0] mean? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: ritesh.trivedi@gmail.com References: <15296728.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org Thanks Scott. Perfect. That made sense. Couple of more follow up questions - sorry I see that both and tags have global attribute. I presume declaring global = true would make those variables available to other screens? also, I think I may have seen a case or two where UiLabelMap is declared global multiple times when a screen is included within a screen and both the screens have the same UiLabelMap declared. shouldnt all the common uilabelmaps be loaded globally first? Also, is it possible to use other dynamic content resource (like jsp) inside a widget? basically to be able to use ftls in combination with jsps etc.? Scott Gray wrote: > > 1. +0 pushes the entry into position zero rather than replacing the > current > entry at zero, so whatever entry is at zero at the moment will end up at > position 1 > 2. layoutSettings is defined the first time it is called, there isn't > anything special about it, it's just a variable like any other. Because > there is an entry "javascripts[]" appended to it, the tag knows to > create a map named "layoutSettings" if one doesn't already exist. That > map > will have an entry named "javascripts" which will be treated as a list > because of the square brackets. Make any sense? > 3. Can't really comment, I have no experience myself. > > Regards > Scott > > On 06/02/2008, Ritz123 wrote: >> >> >> Hi, >> >> Have couple of questions... >> >> 1. What does layoutSettings.javascript[+0] mean? >> 2. Where is layoutSettings object defined? >> 3. Is there an alternative to screen widgets which people may have used >> with >> Ofbiz controller (controller.xml)? >> >> Thanks >> -- >> View this message in context: >> http://www.nabble.com/what-does-layoutSettings.javascript-%2B0--mean--tp15296728p15296728.html >> Sent from the OFBiz - User mailing list archive at Nabble.com. >> >> > > -- View this message in context: http://www.nabble.com/what-does-layoutSettings.javascript-%2B0--mean--tp15296728p15297487.html Sent from the OFBiz - User mailing list archive at Nabble.com.