× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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: &#39;try&#39; without
&#39;catch&#39; or &#39;finally&#39;.
  }
  ^
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.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.