From adffaces-user-return-411-apmail-incubator-adffaces-user-archive=incubator.apache.org@incubator.apache.org Thu Jul 06 15:51:05 2006 Return-Path: Delivered-To: apmail-incubator-adffaces-user-archive@locus.apache.org Received: (qmail 33348 invoked from network); 6 Jul 2006 15:51:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 6 Jul 2006 15:51:05 -0000 Received: (qmail 91484 invoked by uid 500); 6 Jul 2006 15:51:04 -0000 Delivered-To: apmail-incubator-adffaces-user-archive@incubator.apache.org Received: (qmail 91460 invoked by uid 500); 6 Jul 2006 15:51:04 -0000 Mailing-List: contact adffaces-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: adffaces-user@incubator.apache.org Delivered-To: mailing list adffaces-user@incubator.apache.org Received: (qmail 91450 invoked by uid 99); 6 Jul 2006 15:51:04 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jul 2006 08:51:04 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of awiner@gmail.com designates 66.249.92.175 as permitted sender) Received: from [66.249.92.175] (HELO ug-out-1314.google.com) (66.249.92.175) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Jul 2006 08:51:03 -0700 Received: by ug-out-1314.google.com with SMTP id q2so2263950uge for ; Thu, 06 Jul 2006 08:50:41 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=Fepxy4q/ons8WQ7PnxUOJIiAXl0AALMLSa3Fj6Sz7IySgW0YB5XtI7B9Pgyja1+mXSpKoBfTJq2LFtyj5YOrDoAFZjm896ffTSxjcwVZ/USOUN1CKcDPT8mlq9nS0NiQt1zQuBc44P5xGq8lDDhAVoavx9FVVTuAh0+blQ4ghKQ= Received: by 10.66.224.19 with SMTP id w19mr877090ugg; Thu, 06 Jul 2006 08:50:41 -0700 (PDT) Received: by 10.67.99.17 with HTTP; Thu, 6 Jul 2006 08:50:40 -0700 (PDT) Message-ID: <6dac79b90607060850hd39ca5g2b6a4dd01e2545bd@mail.gmail.com> Date: Thu, 6 Jul 2006 08:50:41 -0700 From: "Adam Winer" To: adffaces-user@incubator.apache.org Subject: Re: ProcessTrain enhancement In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_1146_10170817.1152201040998" References: <5bbf92e70607060530v40f04cb9jb6aa88f1938a722c@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_1146_10170817.1152201040998 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline These look good to me. One thing that's important: we really need a Faces-major version of this renderer - that is, instead of one that is in the "org.apache.myfaces.adfinternal.ui" package, one that is in "org.apache.myfaces.adfinternal.renderkit.core.xhtml". Everything in "ui" is obsolete (oooold UIX-based code), and a major technical goal of the project is to delete "ui" and "uinode" from the Apache Trinidad codebase. So, -1 to adding this feature to the old renderer, +1 to adding it to a new renderer. I'm more than happy to provide lots of details on how to write a new-style renderer, though you can look at the existing examples for a pretty good clue how it works. -- Adam On 7/6/06, Simon_Lessard@dmr.ca wrote: > > Hello, > > I'm currently working to modify the processTrain to accept more skin > selectors in order to open all icons provided by Oracle skin. The > selectors I plan to add are: > > // processTrain styles used for the disabled links > public static final String AF_PROCESS_TRAIN_TEXT_STYLE_CLASS =3D > "af|processTrain::text"; > > // For outer margins > public static final String AF_PROCESS_TRAIN_MARGIN_START_STYLE_CLASS = =3D > "af|processTrain::margin-start"; > public static final String AF_PROCESS_TRAIN_MARGIN_END_STYLE_CLASS =3D > "af|processTrain::margin-end"; > > // For inner spacing > public static final String AF_PROCESS_TRAIN_SPACING_STYLE_CLASS =3D > "af|processTrain::step-spacing"; > > // For active steps > public static final String AF_PROCESS_TRAIN_ACTIVE_START_ICON_NAME =3D > "af|processTrain::step-active-start-icon"; > public static final String AF_PROCESS_TRAIN_ACTIVE_END_ICON_NAME =3D > "af|processTrain::step-active-end-icon"; > > // For visited steps > public static final String AF_PROCESS_TRAIN_VISITED_START_ICON_NAME =3D > "af|processTrain::step-visited-start-icon"; > public static final String AF_PROCESS_TRAIN_VISITED_END_ICON_NAME =3D > "af|processTrain::step-visited-end-icon"; > > // For unvisited steps > public static final String AF_PROCESS_TRAIN_UNVISITED_START_ICON_NAME = =3D > "af|processTrain::step-unvisited-start-icon"; > public static final String AF_PROCESS_TRAIN_UNVISITED_END_ICON_NAME =3D > "af|processTrain::step-unvisited-end-icon"; > > // For disabled steps > public static final String AF_PROCESS_TRAIN_DISABLED_START_ICON_NAME = =3D > "af|processTrain::step-disabled-start-icon"; > public static final String AF_PROCESS_TRAIN_DISABLED_END_ICON_NAME =3D > "af|processTrain::step-disabled-end-icon"; > > // For joints > public static final String AF_PROCESS_TRAIN_JOINT_VISITED_ICON_NAME =3D > "af|processTrain::joint-visited-icon"; > public static final String AF_PROCESS_TRAIN_JOINT_UNVISITED_ICON_NAME = =3D > "af|processTrain::joint-unvisited-icon"; > > // For backward overflows > public static final String > AF_PROCESS_TRAIN_OVERFLOW_BACKWARD_STYLE_CLASS =3D > "af|processTrain::overflow-backward"; > public static final String > AF_PROCESS_TRAIN_OVERFLOW_BACKWARD_START_ICON_NAME =3D > "af|processTrain::overflow-backward-start-icon"; > public static final String > AF_PROCESS_TRAIN_OVERFLOW_BACKWARD_END_ICON_NAME =3D > "af|processTrain::overflow-backward-end-icon"; > > // For forward overflows > public static final String AF_PROCESS_TRAIN_OVERFLOW_FORWARD_STYLE_CLAS= S > =3D > "af|processTrain::overflow-forward"; > public static final String > AF_PROCESS_TRAIN_OVERFLOW_FORWARD_START_ICON_NAME =3D > "af|processTrain::overflow-forward-start-icon"; > public static final String > AF_PROCESS_TRAIN_OVERFLOW_FORWARD_END_ICON_NAME =3D > "af|processTrain::overflow-forward-end-icon"; > > The target HTML structure for the process train in LtR mode is: > > class=3D"af|processTrain"> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> title=3D"%step-label%" alt=3D"%step-label% : previous set"/> > class=3D"af|processTrain::overflow-backward> > 3D""= > af|processTrain::step-spacing"> class=3D"af|processTrain::step-visited"> > title=3D"%step-label%" alt=3D"%step-label% : previous step"/> > class=3D"af|processTrain::step-visited"> > 3D"" > af|processTrain::step-spacing"> class=3D"af|processTrain::step-active"> > title=3D"%step-label%" alt=3D"%step-label% : active step"/> > class=3D"af|processTrain::step-active"> > 3D"" > af|processTrain::step-spacing"> class=3D"af|processTrain::step-unvisited"> > title=3D"%step-label%" alt=3D"%step-label% : next step"/> > class=3D"af|processTrain::step-unvisited"> > 3D"" > af|processTrain::step-spacing"> class=3D"af|processTrain::overflow-forward"> > title=3D"%step-label%" alt=3D"%step-label% : next set"/> > > 3D"" >
> %step-label% > > %step-label% > > %step-label% > > %step-label% > > %step-label% >
> > Is that ok with you? > > Simon Lessard > DMR Conseil Inc. (http://www.dmrconseil.ca) > T=E9l=E9phone : (418) 653-6881 > > Sun Certified Programmer for Java 2 Platform 1.4 > ------=_Part_1146_10170817.1152201040998--