:(
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
</h:head>
|
||||
<h:body>
|
||||
<h:form id="form_matrix_A">
|
||||
<h:form id="form_matrix_A">
|
||||
<p:tooltip globalSelector="true"/>
|
||||
<p:growl id="id_messageA" showDetail="true"/>
|
||||
|
||||
@@ -32,18 +32,22 @@
|
||||
value="#{matrixOperations.getMatrixA().getMatrix().get(i)}"
|
||||
var="arrayListElement" columnIndexVar="j">
|
||||
<h:inputText
|
||||
|
||||
|
||||
converterMessage="Invalid format!"
|
||||
title= "(#{i},#{j})"
|
||||
style="margin-left: 2px;" class="input"
|
||||
value="#{row[i]}" >
|
||||
value="#{row[j]}" >
|
||||
<f:ajax event="keyup"
|
||||
listener="#{matrixOperations.getMatrixA().listenForKeyUp(i,j, row[i] )}"
|
||||
/>
|
||||
listener="#{matrixOperations.getMatrixA().listenForKeyUp(i,j, row.get(j) )}"/>
|
||||
</h:inputText>
|
||||
</p:columns>
|
||||
|
||||
|
||||
<f:facet name="footer">
|
||||
columns:
|
||||
<h:inputText id="columns" value="#{matrixOperations.getMatrixA().columns}"/>
|
||||
rows:
|
||||
<h:inputText id="rows" value="#{matrixOperations.getMatrixA().rows}"/>
|
||||
<h:commandButton value="Change Sizes" action="#{matrixOperations.getMatrixA().changeRowsColumns()}"/>
|
||||
</f:facet>
|
||||
</p:dataTable>
|
||||
</h:form>
|
||||
</h:body>
|
||||
|
Reference in New Issue
Block a user