Skip to content
Snippets Groups Projects
Commit 9291f81d authored by ginquin's avatar ginquin
Browse files

Modificado checkbox por label authorship-detail

parent 054e6a4f
No related branches found
No related tags found
No related merge requests found
No preview for this file type
No preview for this file type
...@@ -86,11 +86,11 @@ public class Authorinstitution implements Serializable { ...@@ -86,11 +86,11 @@ public class Authorinstitution implements Serializable {
} }
/** /**
* Permite obtener si es o no una institución academica. * Permite obtener si es o no una institución academica en forma literal.
* @return true si es academica o false en caso contrario. * @return si es academica o no en forma literal.
*/ */
public boolean getIsAcademic() { public String getIsAcademic() {
return this.id.getInstitution().getIsacademic()>0?true:false; return getInstitution().getYesOrNoAcademic();
} }
@Override @Override
......
...@@ -112,7 +112,7 @@ public class Institution implements Serializable { ...@@ -112,7 +112,7 @@ public class Institution implements Serializable {
} }
/** /**
* Permite obtener si tiene o no ejemplos en forma literal. * Permite obtener si es una institución academica o no literal.
*/ */
public String getYesOrNoAcademic() { public String getYesOrNoAcademic() {
return this.isacademic>0? return this.isacademic>0?
......
...@@ -80,10 +80,10 @@ ...@@ -80,10 +80,10 @@
label="${each.fullNameAuthor}" /> label="${each.fullNameAuthor}" />
<listcell <listcell
label="${each.fullNameInstitution}" /> label="${each.fullNameInstitution}" />
<listcell>
<checkbox <listcell
checked="${each.isAcademic}" /> label="${each.isAcademic}" />
</listcell>
</listitem> </listitem>
</template> </template>
</listbox> </listbox>
......
...@@ -21,9 +21,7 @@ ...@@ -21,9 +21,7 @@
<listcell label="${each.fullNameAuthor}" /> <listcell label="${each.fullNameAuthor}" />
<listcell label="${each.fullNameInstitution}" /> <listcell label="${each.fullNameInstitution}" />
<listcell label="${each.countryInstituion}" /> <listcell label="${each.countryInstituion}" />
<listcell> <listcell label="${each.isAcademic}" />
<checkbox checked="${each.isAcademic}" />
</listcell>
</listitem> </listitem>
</template> </template>
</listbox> </listbox>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment