Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
WebGUI
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Kieker
WebGUI
Commits
82752158
Commit
82752158
authored
12 years ago
by
Nils Christian Ehmke
Browse files
Options
Downloads
Patches
Plain Diff
Modified the updating within the connection dialog.
parent
13371ed9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Kieker.WebGUI/src/main/webapp/main/connectionDialog.xhtml
+78
-83
78 additions, 83 deletions
Kieker.WebGUI/src/main/webapp/main/connectionDialog.xhtml
with
78 additions
and
83 deletions
Kieker.WebGUI/src/main/webapp/main/connectionDialog.xhtml
+
78
−
83
View file @
82752158
...
@@ -7,94 +7,89 @@
...
@@ -7,94 +7,89 @@
xmlns:c=
"http://java.sun.com/jsp/jstl/core"
>
xmlns:c=
"http://java.sun.com/jsp/jstl/core"
>
<!-- ******************************************************************************** -->
<!-- ******************************************************************************** -->
<p:dialog
id=
"connectionDialog"
header=
"Manage Connections"
resizable=
"false"
<p:dialog
id=
"connectionDialog"
header=
"Manage Connections"
resizable=
"false"
modal=
"true"
widgetVar=
"connectionDialog"
>
modal=
"true"
widgetVar=
"connectionDialog"
>
<h:form
id=
"connectionDialogForm"
rendered=
"#{not empty selectedMainProjectBean.mainProject}"
>
<h:form
id=
"connectionDialogForm"
>
<p:commandButton
value=
"Add Connection"
ajax=
"true"
action=
"#{selectedMainProjectBean.addConnection()}"
update=
":connectionDialogForm"
/>
<c:if
test=
"#{not empty selectedMainProjectBean.mainProject}"
>
<br/><br/>
<p:commandButton
value=
"Add Connection"
ajax=
"true"
action=
"#{selectedMainProjectBean.addConnection()}"
update=
":connectionDialogForm"
/>
<p:dataTable
value=
"#{selectedMainProjectBean.connections}"
var=
"connection"
paginator=
"true"
rows=
"10"
paginatorTemplate=
"{CurrentPageReport} {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}"
>
<br/><br/>
<p:dataTable
value=
"#{selectedMainProjectBean.connections}"
var=
"connection"
paginator=
"true"
rows=
"10"
paginatorTemplate=
"{CurrentPageReport} {FirstPageLink} {PreviousPageLink} {PageLinks} {NextPageLink} {LastPageLink} {RowsPerPageDropdown}"
>
<p:column
headerText=
"Source"
style=
"width:125px"
>
<p:cellEditor>
<f:facet
name=
"output"
>
<h:outputText
value=
"#{connection.source.name}"
/>
</f:facet>
<f:facet
name=
"input"
>
<h:selectOneMenu
converter=
"kieker.webgui.converter.MIPluginToStringConverter"
value=
"#{connection.source}"
>
<f:selectItems
value=
"#{selectedMainProjectBean.mainProject.plugins}"
var=
"plugin"
itemLabel=
"#{plugin.name}"
itemValue=
"#{plugin}"
/>
<p:ajax
event=
"change"
update=
":connectionDialogForm"
></p:ajax>
</h:selectOneMenu>
</f:facet>
</p:cellEditor>
</p:column>
<p:column
headerText=
"Output Port"
style=
"width: 125px"
>
<p:column
headerText=
"Source"
style=
"width:125px"
>
<p:cellEditor>
<p:cellEditor>
<f:facet
name=
"output"
rendered=
"#{not empty connection.outputPort}"
>
<f:facet
name=
"output"
>
<h:outputText
value=
"#{connection.outputPort.name}"
/>
<h:outputText
value=
"#{empty connection.source ? 'N/A' : connection.source.name}"
/>
</f:facet>
</f:facet>
<f:facet
name=
"input"
>
<f:facet
name=
"input"
>
<h:selectOneMenu
converter=
"kieker.webgui.converter.MIPortToStringConverter"
value=
"#{connection.outputPort}"
>
<p:selectOneMenu
converter=
"kieker.webgui.converter.MIPluginToStringConverter"
value=
"#{connection.source}"
effectDuration=
"100"
>
<f:selectItems
value=
"#{connection.source.outputPorts}"
<f:selectItem
value=
"#{null}"
itemLabel=
"N/A"
itemValue=
"#{null}"
/>
var=
"port"
<f:selectItems
value=
"#{selectedMainProjectBean.mainProject.plugins}"
var=
"plugin"
itemLabel=
"#{plugin.name}"
itemValue=
"#{plugin}"
/>
itemLabel=
"#{port.name}"
<p:ajax
event=
"change"
update=
"validColumn outputPortsList"
/>
itemValue=
"#{port}"
/>
</p:selectOneMenu>
</h:selectOneMenu>
</f:facet>
</f:facet>
</p:cellEditor>
</p:cellEditor>
</p:column>
</p:column>
<p:column
headerText=
"Destination"
style=
"width:125px"
>
<p:column
headerText=
"Output Port"
style=
"width:125px"
>
<p:cellEditor>
<p:cellEditor>
<f:facet
name=
"output"
rendered=
"#{not empty connection.destination}"
>
<f:facet
name=
"output"
>
<h:outputText
value=
"#{connection.destination.name}"
/>
<h:outputText
value=
"#{empty connection.outputPort ? 'N/A' : connection.outputPort.name}"
/>
</f:facet>
</f:facet>
<f:facet
name=
"input"
>
<f:facet
name=
"input"
>
<h:selectOneMenu
converter=
"kieker.webgui.converter.MIPluginToStringConverter"
value=
"#{connection.destination}"
>
<h:form
id=
"outputPortsList"
>
<f:selectItems
value=
"#{selectedMainProjectBean.mainProject.plugins}"
<p:selectOneMenu
rendered=
"#{not empty connection.source}"
converter=
"kieker.webgui.converter.MIPortToStringConverter"
value=
"#{connection.outputPort}"
effectDuration=
"100"
>
var=
"plugin"
<f:selectItem
value=
"#{null}"
itemLabel=
"N/A"
itemValue=
"#{null}"
/>
itemLabel=
"#{plugin.name}"
<f:selectItems
value=
"#{connection.source.outputPorts}"
var=
"port"
itemLabel=
"#{port.name}"
itemValue=
"#{port}"
/>
itemValue=
"#{plugin}"
/>
<p:ajax
event=
"change"
update=
"validColumn"
/>
<p:ajax
event=
"change"
update=
":connectionDialogForm"
></p:ajax>
</p:selectOneMenu>
</h:selectOneMenu>
</h:form>
</f:facet>
</f:facet>
</p:cellEditor>
</p:cellEditor>
</p:column>
</p:column>
<p:column
headerText=
"Destination"
style=
"width:125px"
>
<p:cellEditor>
<f:facet
name=
"output"
>
<h:outputText
value=
"#{empty connection.destination ? 'N/A' : connection.destination.name}"
/>
</f:facet>
<f:facet
name=
"input"
>
<p:selectOneMenu
converter=
"kieker.webgui.converter.MIPluginToStringConverter"
value=
"#{connection.destination}"
effectDuration=
"100"
>
<f:selectItem
value=
"#{null}"
itemLabel=
"N/A"
itemValue=
"#{null}"
/>
<f:selectItems
value=
"#{selectedMainProjectBean.mainProject.plugins}"
var=
"plugin"
itemLabel=
"#{plugin.name}"
itemValue=
"#{plugin}"
/>
<p:ajax
event=
"change"
update=
"validColumn inputPortsList"
/>
</p:selectOneMenu>
</f:facet>
</p:cellEditor>
</p:column>
<p:column
headerText=
"Input Port"
style=
"width: 125px"
>
<p:column
headerText=
"Input Port"
style=
"width:125px"
>
<p:cellEditor>
<p:cellEditor>
<f:facet
name=
"output"
rendered=
"#{not empty connection.inputPort}"
>
<f:facet
name=
"output"
>
<h:outputText
value=
"#{connection.inputPort.name}"
/>
<h:outputText
value=
"#{empty connection.inputPort ? 'N/A' : connection.inputPort.name}"
/>
</f:facet>
</f:facet>
<f:facet
name=
"input"
>
<f:facet
name=
"input"
>
<h:selectOneMenu
converter=
"kieker.webgui.converter.MIPortToStringConverter"
value=
"#{connection.inputPort}"
>
<h:form
id=
"inputPortsList"
>
<f:selectItems
value=
"#{connection.destination.inputPorts}"
<p:selectOneMenu
rendered=
"#{not empty connection.destination}"
converter=
"kieker.webgui.converter.MIPortToStringConverter"
value=
"#{connection.inputPort}"
effectDuration=
"100"
>
var=
"port"
<f:selectItem
value=
"#{null}"
itemLabel=
"N/A"
itemValue=
"#{null}"
/>
itemLabel=
"#{port.name}"
<f:selectItems
value=
"#{connection.destination.inputPorts}"
var=
"port"
itemLabel=
"#{port.name}"
itemValue=
"#{port}"
/>
itemValue=
"#{port}"
/>
<p:ajax
event=
"change"
update=
"validColumn"
/>
</h:selectOneMenu>
</p:selectOneMenu>
</f:facet>
</h:form>
</p:cellEditor>
</f:facet>
</p:column>
</p:cellEditor>
</p:column>
<p:column
headerText=
"Valid"
style=
"width:50px"
>
<p:column
id=
"validColumn"
headerText=
"Valid"
style=
"width:50px"
>
<h:outputText
rendered=
"#{connection.valid}"
value=
"True"
/>
<h:outputText
rendered=
"#{connection.valid}"
value=
"#{connection.valid ? 'True' : 'False'}"
/>
<h:outputText
rendered=
"#{not connection.valid}"
value=
"False"
/>
</p:column>
</p:column>
<p:column
headerText=
"Options"
style=
"width:50px"
>
<p:column
headerText=
"Options"
style=
"width:50px"
>
<p:rowEditor
/>
<p:rowEditor
/>
</p:column>
</p:column>
</p:dataTable>
</p:dataTable>
<br/>
<br/>
<hr/>
<hr/>
<div
style=
"text-align: right"
>
<div
style=
"text-align: right"
>
<p:commandButton
value=
"Ok"
action=
"#{selectedMainProjectBean.submitConnections()}"
oncomplete=
"connectionDialog.hide();"
/>
<p:commandButton
value=
"Ok"
action=
"#{selectedMainProjectBean.submitConnections()}"
oncomplete=
"connectionDialog.hide();"
/>
</div>
</div>
</c:if>
</h:form>
</h:form>
</p:dialog>
</p:dialog>
<!-- ******************************************************************************** -->
<!-- ******************************************************************************** -->
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment