> ~> Most certainly. I have a table "X" that has a > foreign link column > "ParentX" (foreign-key-> XID). While > $myXinstance.xrelatedbyParentX()!=null, I want to > print out > X.description. Currently I've hacked it into my > screen (do the while > loop in the screen, and store a List in the > context), but I'll likely > run into a similar situations frequently (this was > the first time I used > a VM loop, and it came up right away).
you can try writing a request pull tool and move the code in your screen to a function called getXwithParent() that returns the list you want. Then in any template do: #foreach($x in $myRequestTool.XwithParent) -Lou __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
