Hello,
is it possible to reload an site with an param:
repoverview.html:
<ul>
<!--V 'patrows'--><!--/V-->
<!--B 'patrow'--><li><a href="[!V 'EXIT:QUERY:repoverview'/]"><!--V
'patName'/-->, <!--V 'patFName'/--></a></li><!--/B-->
</ul>
I have an List and iterate over pojos:
public void processElement()
{
Template template = getHtmlTemplate("ixserv.repoverview");
Map<Integer, PatPatient> pats = getPats();
int casid = getInputInt("casid",2);
PatPatient pat = pats.get(casid);
for (PatPatient patient : pats.values()) {
template.setBean(patient);
template.appendBlock("patrows", "patrow");
}
print(template);
}
i want to have:
<ul>
<li><a href="/ixserv/repoverview?casid=2">Schmitt2, Matt</a></li>
<li><a href="/ixserv/repoverview?casid=1">Schmitt1, Matt</a></li>
<li><a href="/ixserv/repoverview?casid=3">Schmitt3, Matt</a></li>
</ul>
is this possible with rife?
_______________________________________________
Rife-users mailing list
[email protected]
http://www.uwyn.com/mailman/listinfo/rife-users