I have an internal application that I am developing, about server configurations. I have a list of customers who own servers. I have a list of software which is linked to the list of servers. My server list looks like this (simplified): url: "ServerList?CustomerID=123456" <tal:x repeat="server here/serverlist-sql"> <tal:x replace="server/name">servername</tal:x> <tal:x replace="server/ID">server ID number</tal:x> <tal:x replace="structure here/ServerSoftwareList">list of software goes here</tal:x> ...</tal:x> The problem is that the ServerSoftwareList needs the "server/ID" passed to it for the query, which will return the software on file for that server... any ideas? -- Thanks, Derek Wilson
url: "ServerList?CustomerID=123456"
<tal:x repeat="server here/serverlist-sql"> <tal:x replace="server/name">servername</tal:x> <tal:x replace="server/ID">server ID number</tal:x> <tal:x replace="structure here/ServerSoftwareList">list of software goes here</tal:x> ...</tal:x> The problem is that the ServerSoftwareList needs the "server/ID" passed to it for the query, which will return the software on file for that server... any ideas? <tal:x replace="structure python: here.ServerSoftwareList(id=server['id'])">list of software goes here</tal:x>
-- Maciej Wisniowski
participants (2)
-
Maciej Wisniowski -
SpiderX