|
Yup, I think you should be able to use the count=4 kind of thing in the jsp include, it should would the same. What was WFCommandKeysBuilder is CmdKeys.jsp now So in your example below you could do <jsp:include page="/webfacing/styles/chrome/html/CmdKeys.jsp&count=4" flush="true"> Mike Hockings, P.Eng. WebSphere Development Tools for AS/400 - CODE/Designer & WebFacing ! IBM Canada Ltd. Laboratory hockings@xxxxxxxxxx "Gibbons, Michael" <bmis04@xxxxxxxxxxxxxxx> Sent by: wdsci-l-bounces@xxxxxxxxxxxx 2004-10-12 16:25 Please respond to Websphere Development Studio Client for iSeries To "'Websphere Development Studio Client for iSeries'" <wdsci-l@xxxxxxxxxxxx> cc Subject RE: [WDSCI-L] Additional Command Keys display Mike, Thanks for answering. I tried that and got the same result. I have also tried doinfg the following. <!-- Include Command Keys JSP --> <% request.setAttribute("count", "4"); %> <jsp:include page="/webfacing/styles/chrome/html/CmdKeys.jsp" flush="true"> But no luck. I have searched the latest "Mastering Webfacing" guide and i found this on page 154 <jsp:include page="/WFCmdKeysBuilder?height=50&width=50&count=2&title=no" flush="true"/> but i cannot find WFCmdKeysBuilder. I am running 5.1.2 Michael P. Gibbons Manager of Programming & Technical Services MARYWOOD UNIVERSITY 2300 Adams Ave. Scranton, PA 18509 -----Original Message----- From: Mike Hockings [mailto:hockings@xxxxxxxxxx] Sent: Tuesday, October 12, 2004 4:06 PM To: Websphere Development Studio Client for iSeries Subject: Re: [WDSCI-L] Additional Command Keys display What about doing something like the following: Open the pagebuilder.jsp with PageDesigner in WDSC click on the line with the <jsp:include... for the cmdkeys.jsp click on the "attributes" tab in the bottom right pane click on the add button add an attribute with the name of bCount (I think that's the right name) and a value of 5. The count value defaults to 1and is the count of keys to put in each row of keys. save the pagebuilder.jsp, run it and adjust the count value to suit the style and button sizes that you are using. Mike Mike Hockings, P.Eng. WebSphere Development Tools for AS/400 - CODE/Designer & WebFacing ! IBM Canada Ltd. Laboratory hockings@xxxxxxxxxx "Gibbons, Michael" <bmis04@xxxxxxxxxxxxxxx> Sent by: wdsci-l-bounces@xxxxxxxxxxxx 2004-10-12 10:05 Please respond to Websphere Development Studio Client for iSeries To wdsci-l@xxxxxxxxxxxx cc Subject [WDSCI-L] Additional Command Keys display Hello, I am trying to get the same command key structure as the one place in my navigation bar to display along the bottom of the screen I have inserted the JSP:INCLUDE for the cmdkeys.jsp into the bottom of pagebuilder.jsp and the command keys are appearing correctly with one hitch. They display vertically rather than horizontally. From poking around in cmdkey.jsp it looks like there is a variable called "count" that controls the vertical and horizontal display. I am not sure what is the value and how to get cmdkeys.jsp to recognize it. I have tried to "setAttribute" before the include but I get an error at execution when compiling the jsp. (See below) C:\Documents and Settings\bmis04\My Documents\IBM\wdsc\bmis04\.metadata\.plugins\com.ibm.etools.server.core\tmp0 \cache\DefaultNode\server1\b01405EAR\b01405.war\webfacing\jsp\DDSrecords\MWD GPL\QDDSSRC\B01506FM\html\_B01506C.java:404: 'try' without 'catch' or 'finally'. } ^ 1 error Here is the code: <!-- Include Command Keys JSP --> <%request.setAttribute("count", "4");%> <jsp:include page="/webfacing/styles/chrome/html/CmdKeys.jsp?Count=04" flush="true"/> Thanks in Advance! Michael P. Gibbons Manager of Programming & Technical Services MARYWOOD UNIVERSITY 2300 Adams Ave. Scranton, PA 18509 _______________________________________________ This is the Websphere Development Studio Client for iSeries (WDSCI-L) mailing list To post a message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/wdsci-l or email: WDSCI-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/wdsci-l. _______________________________________________ This is the Websphere Development Studio Client for iSeries (WDSCI-L) mailing list To post a message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/wdsci-l or email: WDSCI-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/wdsci-l. _______________________________________________ This is the Websphere Development Studio Client for iSeries (WDSCI-L) mailing list To post a message email: WDSCI-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/wdsci-l or email: WDSCI-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/wdsci-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.