I'm trying to compare two Seq strings, which I got using Apache LDAP API with Play! Framework on Scala. After few days I'm out of ideas. Here is the beginning:
@(compares:Seq[Compare] , compares1:Seq[Compare], compareForm: Form[(String, String)])(implicit request:Request[Any])
@import helper._
@main("Admin Tools", request.uri){
I have two interations - how to compare them ?
@for(compare <- compares) {
<td>@for(group <- compare.memberOf) {
<li style="list-style-type: none;">@group.replaceAll(",(.*)","").replaceAll("(.*)=","")</li>
}</td>
}
@for(compare1 <- compares1) {
<td>@for(group1 <- compare1.memberOf) {
<li style="list-style-type: none;">@group1.replaceAll(",(.*)","").replaceAll("(.*)=","")</li>
}</td>
}