Kev Now you are talking - this is the stuff couple of suggestions you may like to incorporate
a) make the entries within a database with a MenuID that way you only send the menuID parameter every time fine for static menus b)if the menu is dependent on the page then you would need to put some logic in the menu creator.... well you have a choice - you could work out what to do in the containing page but I would rather encapsulate this in a separate method call - passing in the necessary parameters to work out wat needs to be displayed eg the OBJID etc I would make a Menu class with a generte() method paramaters calling page menuID objectID there may be more in some circumstances but these can be added in sun classes and then a csr <xis:menu class="menuGenerator" menuID="someID" objid=#(the objid)# /> this would genreate code that looks like do ##class(menuGenerator).render(menuID,objid) if more params are needed then <script language="cache" runat="server"> do ##class(menuSubClass).render(menuID,objid,p1,p2,p3,p4) </script> or as it's not that much more typing just forget the csr Hmmm thats an interesting problem how to construct a csr that passes a indetermined number of paramaters to a method calll - dunno will have to play >it looked good, worked well, and then ISC redefined the rules . . . yeh - real bummer - I can understand them changing it but not to mention it in the docs is 0/10 Peter PS like the point of calling then .inc files - makes it clear my standard is to start the name with inc so I have incPageTitle.csp incButtons.csp etc etc
