From adffaces-dev-return-368-apmail-incubator-adffaces-dev-archive=incubator.apache.org@incubator.apache.org Fri Jul 07 13:22:28 2006 Return-Path: Delivered-To: apmail-incubator-adffaces-dev-archive@locus.apache.org Received: (qmail 50618 invoked from network); 7 Jul 2006 13:22:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 7 Jul 2006 13:22:28 -0000 Received: (qmail 2921 invoked by uid 500); 7 Jul 2006 13:22:27 -0000 Delivered-To: apmail-incubator-adffaces-dev-archive@incubator.apache.org Received: (qmail 2801 invoked by uid 500); 7 Jul 2006 13:22:27 -0000 Mailing-List: contact adffaces-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: adffaces-dev@incubator.apache.org Delivered-To: mailing list adffaces-dev@incubator.apache.org Received: (qmail 2792 invoked by uid 99); 7 Jul 2006 13:22:26 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jul 2006 06:22:26 -0700 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=HTML_MESSAGE,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [198.168.250.2] (HELO canada-smtp1.consulting.fujitsu.com) (198.168.250.2) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Jul 2006 06:22:25 -0700 Received: from Montreal-NS002.notes.dmr (montreal-ns002.notes.dmr [205.151.154.84] (may be forged)) by canada-smtp1.consulting.fujitsu.com (8.13.6/8.13.6) with ESMTP id k67DLTkF016861 for ; Fri, 7 Jul 2006 09:21:32 -0400 In-Reply-To: <20060706190048703.00000000120@pasubra-pc> To: adffaces-dev@incubator.apache.org Subject: RE: ProcessTrain enhancement MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5.4 March 27, 2005 Message-ID: From: Simon_Lessard@DMR.CA Date: Fri, 7 Jul 2006 09:16:35 -0400 X-MIMETrack: Serialize by Router on Montreal-NS002/DMR/CA(Release 6.5.4|March 27, 2005) at 07/07/2006 09:21:56 AM, Serialize complete at 07/07/2006 09:21:56 AM Content-Type: multipart/alternative; boundary="=_alternative 0048FDDC852571A4_=" X-Proofpoint-Spam-Reason: safe X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --=_alternative 0048FDDC852571A4_= Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Hello, Thank for your reply. I already started, but I'm not very far into it=20 since I'm on another project at the same time. Personally I think I could=20 have it done by Tuesday or Wednesday of next week. If you plan to be=20 almost done by then as well then I should indeed start working on=20 something else. Regards, Simon Lessard Fujitsu Consulting "Pavitra Subramaniam" 2006-07-06 22:00 Please respond to adffaces-user =20 To: "adffaces-user@incubator.apache.org"=20 cc:=20 Subject: RE: ProcessTrain enhancement Hello, I have a task lined up to convert the existing Trinidad processTrain=20 renderer to a "faces major" version. And I plan to do it the following=20 week. If you haven't already started it I would be happy to work on it. I=20 plan to deliver it in 2 phases.=20 For phase 1, I simply plan to get the renderer to render the current=20 layout and in the second phase add the extra skinning selectors that you=20 requested.=20 If it's simple enough I can deliver both changes in one shot. Is that=20 acceptable? Thanks - Pavitra -----Original Message----- From: Simon=5FLessard@DMR.CA [mailto:Simon=5FLessard@DMR.CA]=20 Sent: Thursday, July 06, 2006 10:13 AM To: adffaces-user@incubator.apache.org Subject: Re: ProcessTrain enhancement Hello, Thank for the reply. I don't mind creating a new Renderer that extends=20 XhtmlRenderer. However, I have a little question about the FacesBean.Type=20 that I must specify to the constructor. I checked InputTextRenderer and=20 saw that it was using CoreInputText.TYPE. That class seems to be=20 automatically generated so I assume there's a XML file somewhere from=20 which the .java is generated? Is that faces-config.xml, the .tld? A=20 completely different one ? Where can I find it? Thanks, Simon Lessard Fujitsu Consulting "Adam Winer" 2006-07-06 11:50 Please respond to adffaces-user =20 To: adffaces-user@incubator.apache.org cc:=20 Subject: Re: ProcessTrain enhancement These look good to me. One thing that's important: we really need a=20 Faces-major version of this renderer - that is, instead of one that is in=20 the "org.apache.myfaces.adfinternal.ui" package, one that is in=20 "org.apache.myfaces.adfinternal.renderkit.core.xhtml". Everything in "ui" is obsolete (oooold UIX-based code), and a major=20 technical goal of the project is to delete "ui" and "uinode" from the=20 Apache Trinidad codebase. So, -1 to adding this feature to the old=20 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=20 clue how it works. -- Adam On 7/6/06, Simon=5FLessard@dmr.ca wrote: > > Hello, > > I'm currently working to modify the processTrain to accept more skin=20 > selectors in order to open all icons provided by Oracle skin. The=20 > selectors I plan to add are: > > // processTrain styles used for the disabled links > public static final String AF=5FPROCESS=5FTRAIN=5FTEXT=5FSTYLE=5FCLASS = =3D > "af|processTrain::text"; > > // For outer margins > public static final String AF=5FPROCESS=5FTRAIN=5FMARGIN=5FSTART=5FSTYL= E=5FCLASS =3D > "af|processTrain::margin-start"; > public static final String AF=5FPROCESS=5FTRAIN=5FMARGIN=5FEND=5FSTYLE= =5FCLASS =3D > "af|processTrain::margin-end"; > > // For inner spacing > public static final String AF=5FPROCESS=5FTRAIN=5FSPACING=5FSTYLE=5FCLA= SS =3D > "af|processTrain::step-spacing"; > > // For active steps > public static final String AF=5FPROCESS=5FTRAIN=5FACTIVE=5FSTART=5FICON= =5FNAME =3D > "af|processTrain::step-active-start-icon"; > public static final String AF=5FPROCESS=5FTRAIN=5FACTIVE=5FEND=5FICON= =5FNAME =3D > "af|processTrain::step-active-end-icon"; > > // For visited steps > public static final String AF=5FPROCESS=5FTRAIN=5FVISITED=5FSTART=5FICO= N=5FNAME =3D > "af|processTrain::step-visited-start-icon"; > public static final String AF=5FPROCESS=5FTRAIN=5FVISITED=5FEND=5FICON= =5FNAME =3D > "af|processTrain::step-visited-end-icon"; > > // For unvisited steps > public static final String AF=5FPROCESS=5FTRAIN=5FUNVISITED=5FSTART=5FI= CON=5FNAME=3D > "af|processTrain::step-unvisited-start-icon"; > public static final String AF=5FPROCESS=5FTRAIN=5FUNVISITED=5FEND=5FICO= N=5FNAME =3D > "af|processTrain::step-unvisited-end-icon"; > > // For disabled steps > public static final String AF=5FPROCESS=5FTRAIN=5FDISABLED=5FSTART=5FIC= ON=5FNAME =3D > "af|processTrain::step-disabled-start-icon"; > public static final String AF=5FPROCESS=5FTRAIN=5FDISABLED=5FEND=5FICON= =5FNAME =3D > "af|processTrain::step-disabled-end-icon"; > > // For joints > public static final String AF=5FPROCESS=5FTRAIN=5FJOINT=5FVISITED=5FICO= N=5FNAME =3D > "af|processTrain::joint-visited-icon"; > public static final String AF=5FPROCESS=5FTRAIN=5FJOINT=5FUNVISITED=5FI= CON=5FNAME=20 =3D > "af|processTrain::joint-unvisited-icon"; > > // For backward overflows > public static final String=20 AF=5FPROCESS=5FTRAIN=5FOVERFLOW=5FBACKWARD=5FSTYLE=5FCLASS =3D > "af|processTrain::overflow-backward"; > public static final String=20 AF=5FPROCESS=5FTRAIN=5FOVERFLOW=5FBACKWARD=5FSTART=5FICON=5FNAME =3D > "af|processTrain::overflow-backward-start-icon"; > public static final String=20 AF=5FPROCESS=5FTRAIN=5FOVERFLOW=5FBACKWARD=5FEND=5FICON=5FNAME =3D > "af|processTrain::overflow-backward-end-icon"; > > // For forward overflows > public static final String=20 AF=5FPROCESS=5FTRAIN=5FOVERFLOW=5FFORWARD=5FSTYLE=5FCLASS =3D > "af|processTrain::overflow-forward"; > public static final String=20 AF=5FPROCESS=5FTRAIN=5FOVERFLOW=5FFORWARD=5FSTART=5FICON=5FNAME =3D > "af|processTrain::overflow-forward-start-icon"; > public static final String=20 AF=5FPROCESS=5FTRAIN=5FOVERFLOW=5FFORWARD=5FEND=5FICON=5FNAME =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 > --=_alternative 0048FDDC852571A4_=--