× 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.



Hi Mike,

I had already tried that and it didn't work. I tried what you provided and
got the following error.

Error 404: File not found: null 

Then i tried 

<jsp:include page="/webfacing/styles/chrome/html/CmdKeys.jsp?&count=4" 
flush="true">

(Notice the ?) and they still come out vertically.

I am wondering if an "Attribute" needs to be set before execution. Something
like 

<% request.setAttribute("count", "4"); %>
or 
<% session.setAttribute("count", "4"); /%>

But i am unsure of the syntax

Thanks For Your Help!

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: Wednesday, October 13, 2004 9:54 AM
To: Websphere Development Studio Client for iSeries
Subject: RE: [WDSCI-L] Additional Command Keys display


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: &#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.

_______________________________________________
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 thread ...

Follow-Ups:

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.