You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by fm...@apache.org on 2017/05/05 22:22:49 UTC
[03/10] syncope git commit: [SYNCOPE-1047] Replaces ActionLinksPanel
with TogglePanel
http://git-wip-us.apache.org/repos/asf/syncope/blob/2e7e2cee/client/console/src/main/resources/org/apache/syncope/client/console/wicket/markup/html/form/ActionsPanel.properties
----------------------------------------------------------------------
diff --git a/client/console/src/main/resources/org/apache/syncope/client/console/wicket/markup/html/form/ActionsPanel.properties b/client/console/src/main/resources/org/apache/syncope/client/console/wicket/markup/html/form/ActionsPanel.properties
new file mode 100644
index 0000000..79692d8
--- /dev/null
+++ b/client/console/src/main/resources/org/apache/syncope/client/console/wicket/markup/html/form/ActionsPanel.properties
@@ -0,0 +1,223 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+mapping.class=fa fa-exchange
+mapping.title=mapping
+mapping.alt=mapping icon
+
+mustchangepassword.class=fa fa-lock
+mustchangepassword.title=set must change password
+mustchangepassword.alt=must change password icon
+
+set_latest_sync_token.class=fa fa-hourglass-start
+set_latest_sync_token.title=set last sync token
+set_latest_sync_token.alt=set last sync token icon
+
+remove_sync_token.class=fa fa-hourglass-o
+remove_sync_token.title=remove sync token
+remove_sync_token.alt=remove sync token icon
+
+clone.class=fa fa-clone
+clone.title=clone
+clone.alt=clone icon
+
+create.class=glyphicon glyphicon-plus
+create.title=create
+create.alt=create icon
+
+template.class=fa fa-list-alt
+template.title=template
+template.alt=template icon
+
+edit.class=glyphicon glyphicon-pencil
+edit.title=edit
+edit.alt=edit icon
+
+type_extensions.class=fa fa-expand
+type_extensions.title=extensions
+type_extensions.alt=extensions icon
+
+fo_edit.class=fa fa-file-code-o
+fo_edit.title=fo
+fo_edit.alt=fo icon
+
+html.class=fa fa-file-code-o
+html.title=html
+html.alt=html icon
+
+text.class=fa fa-file-text-o
+text.title=text
+text.alt=text icon
+
+compose.class=fa fa-puzzle-piece
+compose.title=compose
+compose.alt=compose icon
+
+layout_edit.class=fa fa-object-ungroup
+layout_edit.title=layout
+layout_edit.alt=layout icon
+
+reset.class=fa fa-shield
+reset.title=reset
+reset.alt=reset icon
+
+enable.class=fa fa-toggle-on
+enable.title=enable
+enable.alt=enable icon
+
+not_found.class=fa fa-eye-slash
+not_found.title=not found
+not_found.alt=not found icon
+
+view.class=fa fa-eye
+view.title=view
+view.alt=view icon
+
+members.class=fa fa-users
+members.title=members
+members.alt=members icon
+
+search.class=glyphicon glyphicon-search
+search.title=search
+search.alt=search icon
+
+delete.class=glyphicon glyphicon-minus
+delete.title=delete
+delete.alt=delete icon
+
+execute.class=fa fa-gear
+execute.title=execute
+execute.alt=execute icon
+
+password_reset.class=fa fa-shield
+password_reset.title=password reset
+password_reset.alt=password reset icon
+
+dryrun.class=fa fa-gears
+dryrun.title=dry-run
+dryrun.alt=dry-run icon
+
+claim.class=fa fa-ticket
+claim.title=claim
+claim.alt=claim icon
+
+select.class=glyphicon glyphicon-ok
+select.title=select
+select.alt=select icon
+
+close.class=fa fa-sign-out
+close.title=close
+close.alt=close icon
+
+export.class=fa fa-floppy-o
+export.title=export
+export.alt=export icon
+
+export_csv.class=fa fa-file-text-o
+export_csv.title=export as csv
+export_csv.alt=export as csv icon
+
+export_html.class=fa fa-file-code-o
+export_html.title=export as html
+export_html.alt=export as html icon
+
+export_pdf.class=fa fa-file-pdf-o
+export_pdf.title=export as pdf
+export_pdf.alt=export as pdf icon
+
+export_rtf.class=fa fa-file-word-o
+export_rtf.title=export as rtf
+export_rtf.alt=export as rtf icon
+
+export_xml.class=fa fa-file-excel-o
+export_xml.title=export as xml
+export_xml.alt=export as xml icon
+
+suspend.class=glyphicon glyphicon-ban-circle
+suspend.title=suspend
+suspend.alt=suspend icon
+
+reactivate.class=glyphicon glyphicon-ok-sign
+reactivate.title=reactivate
+reactivate.alt=reactivate icon
+
+reload.class=fa fa-repeat
+reload.title=reload
+reload.alt=reload icon
+
+change_view.class=fa fa-list
+change_view.title=change view
+change_view.alt=change view icon
+
+unlink.class=fa fa-unlink
+unlink.title=unlink
+unlink.alt=unlink icon
+
+link.class=fa fa-link
+link.title=link
+link.alt=link icon
+
+unassign.class=glyphicon glyphicon-resize-full
+unassign.title=unassign
+unassign.alt=unassign icon
+
+assign.class=glyphicon glyphicon-resize-small
+assign.title=assign
+assign.alt=assign icon
+
+deprovision.class=glyphicon glyphicon-fast-backward
+deprovision.title=deprovision
+deprovision.alt=deprovision icon
+
+provision.class=glyphicon glyphicon-fast-forward
+provision.title=provision
+provision.alt=provision icon
+
+deprovision_members.class=glyphicon glyphicon-fast-backward
+deprovision_members.title=deprovision members
+deprovision_members.alt=deprovision members icon
+
+provision_members.class=glyphicon glyphicon-fast-forward
+provision_members.title=provision members
+provision_members.alt=provision members icon
+
+manage_resources.class=fa fa-sitemap
+manage_resources.title=manage resources
+manage_resources.alt=manage resources icon
+
+manage_users.class=fa fa-users
+manage_users.title=manage users
+manage_users.alt=manage users icon
+
+manage_groups.class=fa fa-users
+manage_groups.title=manage groups
+manage_groups.alt=manage groups icon
+
+propagation_tasks.class=fa fa-arrow-right
+propagation_tasks.title=propagation tasks
+propagation_tasks.alt=propagation tasks icon
+
+notification_tasks.class=fa fa-envelope-o
+notification_tasks.title=notification tasks
+notification_tasks.alt=notification tasks icon
+
+zoom_in.class=fa fa-search-plus
+zoom_in.title=zoom-in
+zoom_in.alt=zoom-in icon
+
+zoom_out.class=fa fa-search-minus
+zoom_out.title=zoom-out
+zoom_out.alt=zoom-out icon
http://git-wip-us.apache.org/repos/asf/syncope/blob/2e7e2cee/client/console/src/main/resources/org/apache/syncope/client/console/wicket/markup/html/form/ActionsPanel_it.properties
----------------------------------------------------------------------
diff --git a/client/console/src/main/resources/org/apache/syncope/client/console/wicket/markup/html/form/ActionsPanel_it.properties b/client/console/src/main/resources/org/apache/syncope/client/console/wicket/markup/html/form/ActionsPanel_it.properties
new file mode 100644
index 0000000..cffac92
--- /dev/null
+++ b/client/console/src/main/resources/org/apache/syncope/client/console/wicket/markup/html/form/ActionsPanel_it.properties
@@ -0,0 +1,223 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+mapping.class=fa fa-exchange
+mapping.title=mapping
+mapping.alt=mapping icon
+
+mustchangepassword.class=fa fa-lock
+mustchangepassword.title=set must change password
+mustchangepassword.alt=must change password icon
+
+set_latest_sync_token.class=fa fa-hourglass-start
+set_latest_sync_token.title=set last sync token
+set_latest_sync_token.alt=set last sync token icon
+
+remove_sync_token.class=fa fa-hourglass-o
+remove_sync_token.title=remove sync token
+remove_sync_token.alt=remove sync token icon
+
+clone.class=fa fa-clone
+clone.title=clone
+clone.alt=clone icon
+
+create.class=glyphicon glyphicon-plus
+create.title=create
+create.alt=create icon
+
+template.class=fa fa-list-alt
+template.title=template
+template.alt=template icon
+
+edit.class=glyphicon glyphicon-pencil
+edit.title=edit
+edit.alt=edit icon
+
+type_extensions.class=fa fa-expand
+type_extensions.title=extensions
+type_extensions.alt=extensions icon
+
+fo_edit.class=fa fa-file-code-o
+fo_edit.title=fo
+fo_edit.alt=fo icon
+
+html.class=fa fa-file-code-o
+html.title=html
+html.alt=html icon
+
+text.class=fa fa-file-text-o
+text.title=text
+text.alt=text icon
+
+compose.class=fa fa-puzzle-piece
+compose.title=compose
+compose.alt=compose icon
+
+layout_edit.class=fa fa-object-ungroup
+layout_edit.title=layout
+layout_edit.alt=layout icon
+
+reset.class=fa fa-shield
+reset.title=reset
+reset.alt=reset icon
+
+enable.class=fa fa-toggle-on
+enable.title=enable
+enable.alt=enable icon
+
+not_found.class=fa fa-eye-slash
+not_found.title=not found
+not_found.alt=not found icon
+
+view.class=fa fa-eye
+view.title=view
+view.alt=view icon
+
+members.class=fa fa-users
+members.title=members
+members.alt=members icon
+
+search.class=glyphicon glyphicon-search
+search.title=search
+search.alt=search icon
+
+delete.class=glyphicon glyphicon-minus
+delete.title=delete
+delete.alt=delete icon
+
+execute.class=fa fa-gear
+execute.title=execute
+execute.alt=execute icon
+
+password_reset.class=fa fa-shield
+password_reset.title=password reset
+password_reset.alt=password reset icon
+
+dryrun.class=fa fa-gears
+dryrun.title=dry-run
+dryrun.alt=dry-run icon
+
+claim.class=fa fa-ticket
+claim.title=claim
+claim.alt=claim icon
+
+select.class=glyphicon glyphicon-ok
+select.title=select
+select.alt=select icon
+
+close.class=fa fa-sign-out
+close.title=close
+close.alt=close icon
+
+export.class=fa fa-floppy-o
+export.title=export
+export.alt=export icon
+
+export_csv.class=fa fa-file-text-o
+export_csv.title=export as csv
+export_csv.alt=export as csv icon
+
+export_html.class=fa fa-file-code-o
+export_html.title=export as html
+export_html.alt=export as html icon
+
+export_pdf.class=fa fa-file-pdf-o
+export_pdf.title=export as pdf
+export_pdf.alt=export as pdf icon
+
+export_rtf.class=fa fa-file-word-o
+export_rtf.title=export as rtf
+export_rtf.alt=export as rtf icon
+
+export_xml.class=fa fa-file-excel-o
+export_xml.title=export as xml
+export_xml.alt=export as xml icon
+
+suspend.class=glyphicon glyphicon-ban-circle
+suspend.title=suspend
+suspend.alt=suspend icon
+
+reactivate.class=glyphicon glyphicon-ok-sign
+reactivate.title=reactivate
+reactivate.alt=reactivate icon
+
+reload.class=fa fa-repeat
+reload.title=reload
+reload.alt=reload icon
+
+change_view.class=fa fa-list"
+change_view.title=change view
+change_view.alt=change view icon
+
+unlink.class=fa fa-unlink
+unlink.title=unlink
+unlink.alt=unlink icon
+
+link.class=fa fa-link
+link.title=link
+link.alt=link icon
+
+unassign.class=glyphicon glyphicon-resize-full
+unassign.title=unassign
+unassign.alt=unassign icon
+
+assign.class=glyphicon glyphicon-resize-small
+assign.title=assign
+assign.alt=assign icon
+
+deprovision.class=glyphicon glyphicon-fast-backward
+deprovision.title=deprovision
+deprovision.alt=deprovision icon
+
+provision.class=glyphicon glyphicon-fast-forward
+provision.title=provision
+provision.alt=provision icon
+
+deprovision_members.class=glyphicon glyphicon-fast-backward
+deprovision_members.title=deprovision members
+deprovision_members.alt=deprovision members icon
+
+provision_members.class=glyphicon glyphicon-fast-forward
+provision_members.title=provision members
+provision_members.alt=provision members icon
+
+manage_resources.class=fa fa-sitemap
+manage_resources.title=manage resources
+manage_resources.alt=manage resources icon
+
+manage_users.class=fa fa-users
+manage_users.title=manage users
+manage_users.alt=manage users icon
+
+manage_groups.class=fa fa-users
+manage_groups.title=manage groups
+manage_groups.alt=manage groups icon
+
+propagation_tasks.class=fa fa-arrow-right
+propagation_tasks.title=propagation tasks
+propagation_tasks.alt=propagation tasks icon
+
+notification_tasks.class=fa fa-envelope-o
+notification_tasks.title=notification tasks
+notification_tasks.alt=notification tasks icon
+
+zoom_in.class=fa fa-search-plus
+zoom_in.title=zoom-in
+zoom_in.alt=zoom-in icon
+
+zoom_out.class=fa fa-search-minus
+zoom_out.title=zoom-out
+zoom_out.alt=zoom-out icon
http://git-wip-us.apache.org/repos/asf/syncope/blob/2e7e2cee/client/console/src/main/resources/org/apache/syncope/client/console/wicket/markup/html/form/ActionsPanel_pt_BR.properties
----------------------------------------------------------------------
diff --git a/client/console/src/main/resources/org/apache/syncope/client/console/wicket/markup/html/form/ActionsPanel_pt_BR.properties b/client/console/src/main/resources/org/apache/syncope/client/console/wicket/markup/html/form/ActionsPanel_pt_BR.properties
new file mode 100644
index 0000000..cffac92
--- /dev/null
+++ b/client/console/src/main/resources/org/apache/syncope/client/console/wicket/markup/html/form/ActionsPanel_pt_BR.properties
@@ -0,0 +1,223 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+mapping.class=fa fa-exchange
+mapping.title=mapping
+mapping.alt=mapping icon
+
+mustchangepassword.class=fa fa-lock
+mustchangepassword.title=set must change password
+mustchangepassword.alt=must change password icon
+
+set_latest_sync_token.class=fa fa-hourglass-start
+set_latest_sync_token.title=set last sync token
+set_latest_sync_token.alt=set last sync token icon
+
+remove_sync_token.class=fa fa-hourglass-o
+remove_sync_token.title=remove sync token
+remove_sync_token.alt=remove sync token icon
+
+clone.class=fa fa-clone
+clone.title=clone
+clone.alt=clone icon
+
+create.class=glyphicon glyphicon-plus
+create.title=create
+create.alt=create icon
+
+template.class=fa fa-list-alt
+template.title=template
+template.alt=template icon
+
+edit.class=glyphicon glyphicon-pencil
+edit.title=edit
+edit.alt=edit icon
+
+type_extensions.class=fa fa-expand
+type_extensions.title=extensions
+type_extensions.alt=extensions icon
+
+fo_edit.class=fa fa-file-code-o
+fo_edit.title=fo
+fo_edit.alt=fo icon
+
+html.class=fa fa-file-code-o
+html.title=html
+html.alt=html icon
+
+text.class=fa fa-file-text-o
+text.title=text
+text.alt=text icon
+
+compose.class=fa fa-puzzle-piece
+compose.title=compose
+compose.alt=compose icon
+
+layout_edit.class=fa fa-object-ungroup
+layout_edit.title=layout
+layout_edit.alt=layout icon
+
+reset.class=fa fa-shield
+reset.title=reset
+reset.alt=reset icon
+
+enable.class=fa fa-toggle-on
+enable.title=enable
+enable.alt=enable icon
+
+not_found.class=fa fa-eye-slash
+not_found.title=not found
+not_found.alt=not found icon
+
+view.class=fa fa-eye
+view.title=view
+view.alt=view icon
+
+members.class=fa fa-users
+members.title=members
+members.alt=members icon
+
+search.class=glyphicon glyphicon-search
+search.title=search
+search.alt=search icon
+
+delete.class=glyphicon glyphicon-minus
+delete.title=delete
+delete.alt=delete icon
+
+execute.class=fa fa-gear
+execute.title=execute
+execute.alt=execute icon
+
+password_reset.class=fa fa-shield
+password_reset.title=password reset
+password_reset.alt=password reset icon
+
+dryrun.class=fa fa-gears
+dryrun.title=dry-run
+dryrun.alt=dry-run icon
+
+claim.class=fa fa-ticket
+claim.title=claim
+claim.alt=claim icon
+
+select.class=glyphicon glyphicon-ok
+select.title=select
+select.alt=select icon
+
+close.class=fa fa-sign-out
+close.title=close
+close.alt=close icon
+
+export.class=fa fa-floppy-o
+export.title=export
+export.alt=export icon
+
+export_csv.class=fa fa-file-text-o
+export_csv.title=export as csv
+export_csv.alt=export as csv icon
+
+export_html.class=fa fa-file-code-o
+export_html.title=export as html
+export_html.alt=export as html icon
+
+export_pdf.class=fa fa-file-pdf-o
+export_pdf.title=export as pdf
+export_pdf.alt=export as pdf icon
+
+export_rtf.class=fa fa-file-word-o
+export_rtf.title=export as rtf
+export_rtf.alt=export as rtf icon
+
+export_xml.class=fa fa-file-excel-o
+export_xml.title=export as xml
+export_xml.alt=export as xml icon
+
+suspend.class=glyphicon glyphicon-ban-circle
+suspend.title=suspend
+suspend.alt=suspend icon
+
+reactivate.class=glyphicon glyphicon-ok-sign
+reactivate.title=reactivate
+reactivate.alt=reactivate icon
+
+reload.class=fa fa-repeat
+reload.title=reload
+reload.alt=reload icon
+
+change_view.class=fa fa-list"
+change_view.title=change view
+change_view.alt=change view icon
+
+unlink.class=fa fa-unlink
+unlink.title=unlink
+unlink.alt=unlink icon
+
+link.class=fa fa-link
+link.title=link
+link.alt=link icon
+
+unassign.class=glyphicon glyphicon-resize-full
+unassign.title=unassign
+unassign.alt=unassign icon
+
+assign.class=glyphicon glyphicon-resize-small
+assign.title=assign
+assign.alt=assign icon
+
+deprovision.class=glyphicon glyphicon-fast-backward
+deprovision.title=deprovision
+deprovision.alt=deprovision icon
+
+provision.class=glyphicon glyphicon-fast-forward
+provision.title=provision
+provision.alt=provision icon
+
+deprovision_members.class=glyphicon glyphicon-fast-backward
+deprovision_members.title=deprovision members
+deprovision_members.alt=deprovision members icon
+
+provision_members.class=glyphicon glyphicon-fast-forward
+provision_members.title=provision members
+provision_members.alt=provision members icon
+
+manage_resources.class=fa fa-sitemap
+manage_resources.title=manage resources
+manage_resources.alt=manage resources icon
+
+manage_users.class=fa fa-users
+manage_users.title=manage users
+manage_users.alt=manage users icon
+
+manage_groups.class=fa fa-users
+manage_groups.title=manage groups
+manage_groups.alt=manage groups icon
+
+propagation_tasks.class=fa fa-arrow-right
+propagation_tasks.title=propagation tasks
+propagation_tasks.alt=propagation tasks icon
+
+notification_tasks.class=fa fa-envelope-o
+notification_tasks.title=notification tasks
+notification_tasks.alt=notification tasks icon
+
+zoom_in.class=fa fa-search-plus
+zoom_in.title=zoom-in
+zoom_in.alt=zoom-in icon
+
+zoom_out.class=fa fa-search-minus
+zoom_out.title=zoom-out
+zoom_out.alt=zoom-out icon
http://git-wip-us.apache.org/repos/asf/syncope/blob/2e7e2cee/client/console/src/main/resources/org/apache/syncope/client/console/wicket/markup/html/form/ActionsPanel_ru.properties
----------------------------------------------------------------------
diff --git a/client/console/src/main/resources/org/apache/syncope/client/console/wicket/markup/html/form/ActionsPanel_ru.properties b/client/console/src/main/resources/org/apache/syncope/client/console/wicket/markup/html/form/ActionsPanel_ru.properties
new file mode 100644
index 0000000..cffac92
--- /dev/null
+++ b/client/console/src/main/resources/org/apache/syncope/client/console/wicket/markup/html/form/ActionsPanel_ru.properties
@@ -0,0 +1,223 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+mapping.class=fa fa-exchange
+mapping.title=mapping
+mapping.alt=mapping icon
+
+mustchangepassword.class=fa fa-lock
+mustchangepassword.title=set must change password
+mustchangepassword.alt=must change password icon
+
+set_latest_sync_token.class=fa fa-hourglass-start
+set_latest_sync_token.title=set last sync token
+set_latest_sync_token.alt=set last sync token icon
+
+remove_sync_token.class=fa fa-hourglass-o
+remove_sync_token.title=remove sync token
+remove_sync_token.alt=remove sync token icon
+
+clone.class=fa fa-clone
+clone.title=clone
+clone.alt=clone icon
+
+create.class=glyphicon glyphicon-plus
+create.title=create
+create.alt=create icon
+
+template.class=fa fa-list-alt
+template.title=template
+template.alt=template icon
+
+edit.class=glyphicon glyphicon-pencil
+edit.title=edit
+edit.alt=edit icon
+
+type_extensions.class=fa fa-expand
+type_extensions.title=extensions
+type_extensions.alt=extensions icon
+
+fo_edit.class=fa fa-file-code-o
+fo_edit.title=fo
+fo_edit.alt=fo icon
+
+html.class=fa fa-file-code-o
+html.title=html
+html.alt=html icon
+
+text.class=fa fa-file-text-o
+text.title=text
+text.alt=text icon
+
+compose.class=fa fa-puzzle-piece
+compose.title=compose
+compose.alt=compose icon
+
+layout_edit.class=fa fa-object-ungroup
+layout_edit.title=layout
+layout_edit.alt=layout icon
+
+reset.class=fa fa-shield
+reset.title=reset
+reset.alt=reset icon
+
+enable.class=fa fa-toggle-on
+enable.title=enable
+enable.alt=enable icon
+
+not_found.class=fa fa-eye-slash
+not_found.title=not found
+not_found.alt=not found icon
+
+view.class=fa fa-eye
+view.title=view
+view.alt=view icon
+
+members.class=fa fa-users
+members.title=members
+members.alt=members icon
+
+search.class=glyphicon glyphicon-search
+search.title=search
+search.alt=search icon
+
+delete.class=glyphicon glyphicon-minus
+delete.title=delete
+delete.alt=delete icon
+
+execute.class=fa fa-gear
+execute.title=execute
+execute.alt=execute icon
+
+password_reset.class=fa fa-shield
+password_reset.title=password reset
+password_reset.alt=password reset icon
+
+dryrun.class=fa fa-gears
+dryrun.title=dry-run
+dryrun.alt=dry-run icon
+
+claim.class=fa fa-ticket
+claim.title=claim
+claim.alt=claim icon
+
+select.class=glyphicon glyphicon-ok
+select.title=select
+select.alt=select icon
+
+close.class=fa fa-sign-out
+close.title=close
+close.alt=close icon
+
+export.class=fa fa-floppy-o
+export.title=export
+export.alt=export icon
+
+export_csv.class=fa fa-file-text-o
+export_csv.title=export as csv
+export_csv.alt=export as csv icon
+
+export_html.class=fa fa-file-code-o
+export_html.title=export as html
+export_html.alt=export as html icon
+
+export_pdf.class=fa fa-file-pdf-o
+export_pdf.title=export as pdf
+export_pdf.alt=export as pdf icon
+
+export_rtf.class=fa fa-file-word-o
+export_rtf.title=export as rtf
+export_rtf.alt=export as rtf icon
+
+export_xml.class=fa fa-file-excel-o
+export_xml.title=export as xml
+export_xml.alt=export as xml icon
+
+suspend.class=glyphicon glyphicon-ban-circle
+suspend.title=suspend
+suspend.alt=suspend icon
+
+reactivate.class=glyphicon glyphicon-ok-sign
+reactivate.title=reactivate
+reactivate.alt=reactivate icon
+
+reload.class=fa fa-repeat
+reload.title=reload
+reload.alt=reload icon
+
+change_view.class=fa fa-list"
+change_view.title=change view
+change_view.alt=change view icon
+
+unlink.class=fa fa-unlink
+unlink.title=unlink
+unlink.alt=unlink icon
+
+link.class=fa fa-link
+link.title=link
+link.alt=link icon
+
+unassign.class=glyphicon glyphicon-resize-full
+unassign.title=unassign
+unassign.alt=unassign icon
+
+assign.class=glyphicon glyphicon-resize-small
+assign.title=assign
+assign.alt=assign icon
+
+deprovision.class=glyphicon glyphicon-fast-backward
+deprovision.title=deprovision
+deprovision.alt=deprovision icon
+
+provision.class=glyphicon glyphicon-fast-forward
+provision.title=provision
+provision.alt=provision icon
+
+deprovision_members.class=glyphicon glyphicon-fast-backward
+deprovision_members.title=deprovision members
+deprovision_members.alt=deprovision members icon
+
+provision_members.class=glyphicon glyphicon-fast-forward
+provision_members.title=provision members
+provision_members.alt=provision members icon
+
+manage_resources.class=fa fa-sitemap
+manage_resources.title=manage resources
+manage_resources.alt=manage resources icon
+
+manage_users.class=fa fa-users
+manage_users.title=manage users
+manage_users.alt=manage users icon
+
+manage_groups.class=fa fa-users
+manage_groups.title=manage groups
+manage_groups.alt=manage groups icon
+
+propagation_tasks.class=fa fa-arrow-right
+propagation_tasks.title=propagation tasks
+propagation_tasks.alt=propagation tasks icon
+
+notification_tasks.class=fa fa-envelope-o
+notification_tasks.title=notification tasks
+notification_tasks.alt=notification tasks icon
+
+zoom_in.class=fa fa-search-plus
+zoom_in.title=zoom-in
+zoom_in.alt=zoom-in icon
+
+zoom_out.class=fa fa-search-minus
+zoom_out.title=zoom-out
+zoom_out.alt=zoom-out icon
http://git-wip-us.apache.org/repos/asf/syncope/blob/2e7e2cee/client/console/src/main/resources/org/apache/syncope/client/console/wizards/AbstractMappingPanel.html
----------------------------------------------------------------------
diff --git a/client/console/src/main/resources/org/apache/syncope/client/console/wizards/AbstractMappingPanel.html b/client/console/src/main/resources/org/apache/syncope/client/console/wizards/AbstractMappingPanel.html
index ddca6f7..538d804 100644
--- a/client/console/src/main/resources/org/apache/syncope/client/console/wizards/AbstractMappingPanel.html
+++ b/client/console/src/main/resources/org/apache/syncope/client/console/wizards/AbstractMappingPanel.html
@@ -75,7 +75,7 @@ under the License.
</div>
</td>
<td>
- <div>
+ <div id="inline-actions">
<span wicket:id="toRemove"/>
</div>
</td>
http://git-wip-us.apache.org/repos/asf/syncope/blob/2e7e2cee/client/console/src/main/resources/org/apache/syncope/client/console/wizards/any/ResultPage.html
----------------------------------------------------------------------
diff --git a/client/console/src/main/resources/org/apache/syncope/client/console/wizards/any/ResultPage.html b/client/console/src/main/resources/org/apache/syncope/client/console/wizards/any/ResultPage.html
index 558f3b3..cf43602 100644
--- a/client/console/src/main/resources/org/apache/syncope/client/console/wizards/any/ResultPage.html
+++ b/client/console/src/main/resources/org/apache/syncope/client/console/wizards/any/ResultPage.html
@@ -21,7 +21,7 @@ under the License.
<body>
<wicket:panel>
<span wicket:id="customResultBody"/>
- <div class="modal-footer circular-actions">
+ <div id="inline-actions" class="modal-footer circular-actions">
<span wicket:id="action"/>
</div>
</wicket:panel>
http://git-wip-us.apache.org/repos/asf/syncope/blob/2e7e2cee/common/lib/src/main/java/org/apache/syncope/common/lib/to/JobTO.java
----------------------------------------------------------------------
diff --git a/common/lib/src/main/java/org/apache/syncope/common/lib/to/JobTO.java b/common/lib/src/main/java/org/apache/syncope/common/lib/to/JobTO.java
index 7838535..2cb5690 100644
--- a/common/lib/src/main/java/org/apache/syncope/common/lib/to/JobTO.java
+++ b/common/lib/src/main/java/org/apache/syncope/common/lib/to/JobTO.java
@@ -40,8 +40,6 @@ public class JobTO extends AbstractBaseBean {
private boolean scheduled;
- private String status;
-
private Date start;
public JobType getType() {
http://git-wip-us.apache.org/repos/asf/syncope/blob/2e7e2cee/ext/camel/client-console/src/main/java/org/apache/syncope/client/console/panels/CamelRoutesDirectoryPanel.java
----------------------------------------------------------------------
diff --git a/ext/camel/client-console/src/main/java/org/apache/syncope/client/console/panels/CamelRoutesDirectoryPanel.java b/ext/camel/client-console/src/main/java/org/apache/syncope/client/console/panels/CamelRoutesDirectoryPanel.java
index a4b4df5..f6f37a6 100644
--- a/ext/camel/client-console/src/main/java/org/apache/syncope/client/console/panels/CamelRoutesDirectoryPanel.java
+++ b/ext/camel/client-console/src/main/java/org/apache/syncope/client/console/panels/CamelRoutesDirectoryPanel.java
@@ -30,10 +30,9 @@ import org.apache.syncope.client.console.commons.SortableDataProviderComparator;
import org.apache.syncope.client.console.pages.BasePage;
import org.apache.syncope.client.console.panels.CamelRoutesDirectoryPanel.CamelRoutesProvider;
import org.apache.syncope.client.console.rest.CamelRoutesRestClient;
-import org.apache.syncope.client.console.wicket.extensions.markup.html.repeater.data.table.ActionColumn;
import org.apache.syncope.client.console.wicket.markup.html.bootstrap.dialog.BaseModal;
import org.apache.syncope.client.console.wicket.markup.html.form.ActionLink;
-import org.apache.syncope.client.console.wicket.markup.html.form.ActionLinksPanel;
+import org.apache.syncope.client.console.wicket.markup.html.form.ActionsPanel;
import org.apache.syncope.client.console.wicket.markup.html.form.XMLEditorPanel;
import org.apache.syncope.client.console.wizards.WizardMgtPanel;
import org.apache.syncope.common.lib.to.CamelRouteTO;
@@ -101,75 +100,49 @@ public class CamelRoutesDirectoryPanel extends DirectoryPanel<
@Override
protected List<IColumn<CamelRouteTO, String>> getColumns() {
- List<IColumn<CamelRouteTO, String>> columns = new ArrayList<>();
-
+ final List<IColumn<CamelRouteTO, String>> columns = new ArrayList<>();
columns.add(new PropertyColumn<CamelRouteTO, String>(new ResourceModel("key"), "key", "key"));
+ return columns;
+ }
- columns.add(new ActionColumn<CamelRouteTO, String>(new ResourceModel("actions", "")) {
+ @Override
+ public ActionsPanel<CamelRouteTO> getActions(final IModel<CamelRouteTO> model) {
+ final ActionsPanel<CamelRouteTO> panel = super.getActions(model);
- private static final long serialVersionUID = 906457126287899096L;
+ panel.add(new ActionLink<CamelRouteTO>() {
- @Override
- public ActionLinksPanel<CamelRouteTO> getActions(
- final String componentId, final IModel<CamelRouteTO> model) {
-
- ActionLinksPanel<CamelRouteTO> panel = ActionLinksPanel.<CamelRouteTO>builder().
- add(new ActionLink<CamelRouteTO>() {
-
- private static final long serialVersionUID = -3722207913631435501L;
-
- @Override
- public void onClick(final AjaxRequestTarget target, final CamelRouteTO ignore) {
- final CamelRouteTO route = restClient.read(model.getObject().getKey());
-
- utilityModal.header(Model.of(route.getKey()));
- utilityModal.setContent(new XMLEditorPanel(
- utilityModal, new PropertyModel<String>(route, "content"), filtered, pageRef) {
-
- private static final long serialVersionUID = 5488080606102212554L;
-
- @Override
- public void onSubmit(final AjaxRequestTarget target, final Form<?> form) {
- try {
- restClient.update(route);
- info(getString(Constants.OPERATION_SUCCEEDED));
- modal.close(target);
- } catch (Exception e) {
- LOG.error("While creating or updating CamelRouteTO", e);
- error(getString(Constants.ERROR) + ": " + e.getMessage());
- }
- ((BasePage) pageRef.getPage()).getNotificationPanel().refresh(target);
- }
-
- });
- utilityModal.show(true);
- target.add(utilityModal);
- }
- }, ActionLink.ActionType.EDIT, CamelEntitlement.ROUTE_UPDATE).
- build(componentId);
-
- return panel;
- }
+ private static final long serialVersionUID = -3722207913631435501L;
@Override
- public ActionLinksPanel<CamelRouteTO> getHeader(final String componentId) {
- final ActionLinksPanel.Builder<CamelRouteTO> panel = ActionLinksPanel.builder();
+ public void onClick(final AjaxRequestTarget target, final CamelRouteTO ignore) {
+ final CamelRouteTO route = restClient.read(model.getObject().getKey());
- return panel.add(new ActionLink<CamelRouteTO>() {
+ utilityModal.header(Model.of(route.getKey()));
+ utilityModal.setContent(new XMLEditorPanel(
+ utilityModal, new PropertyModel<String>(route, "content"), filtered, pageRef) {
- private static final long serialVersionUID = -1140254463922516111L;
+ private static final long serialVersionUID = 5488080606102212554L;
@Override
- public void onClick(final AjaxRequestTarget target, final CamelRouteTO ignore) {
- if (target != null) {
- target.add(container);
+ public void onSubmit(final AjaxRequestTarget target, final Form<?> form) {
+ try {
+ restClient.update(route);
+ info(getString(Constants.OPERATION_SUCCEEDED));
+ modal.close(target);
+ } catch (Exception e) {
+ LOG.error("While creating or updating CamelRouteTO", e);
+ error(getString(Constants.ERROR) + ": " + e.getMessage());
}
+ ((BasePage) pageRef.getPage()).getNotificationPanel().refresh(target);
}
- }, ActionLink.ActionType.RELOAD).build(componentId);
+
+ });
+ utilityModal.show(true);
+ target.add(utilityModal);
}
- });
+ }, ActionLink.ActionType.EDIT, CamelEntitlement.ROUTE_UPDATE);
- return columns;
+ return panel;
}
protected final class CamelRoutesProvider extends DirectoryDataProvider<CamelRouteTO> {
http://git-wip-us.apache.org/repos/asf/syncope/blob/2e7e2cee/ext/saml2sp/client-console/src/main/java/org/apache/syncope/client/console/panels/SAML2IdPsDirectoryPanel.java
----------------------------------------------------------------------
diff --git a/ext/saml2sp/client-console/src/main/java/org/apache/syncope/client/console/panels/SAML2IdPsDirectoryPanel.java b/ext/saml2sp/client-console/src/main/java/org/apache/syncope/client/console/panels/SAML2IdPsDirectoryPanel.java
index be93d28..caa70bf 100644
--- a/ext/saml2sp/client-console/src/main/java/org/apache/syncope/client/console/panels/SAML2IdPsDirectoryPanel.java
+++ b/ext/saml2sp/client-console/src/main/java/org/apache/syncope/client/console/panels/SAML2IdPsDirectoryPanel.java
@@ -33,12 +33,11 @@ import org.apache.syncope.client.console.commons.SortableDataProviderComparator;
import org.apache.syncope.client.console.pages.BasePage;
import org.apache.syncope.client.console.panels.SAML2IdPsDirectoryPanel.SAML2IdPsProvider;
import org.apache.syncope.client.console.rest.SAML2IdPsRestClient;
-import org.apache.syncope.client.console.wicket.extensions.markup.html.repeater.data.table.ActionColumn;
import org.apache.syncope.client.console.wicket.extensions.markup.html.repeater.data.table.BooleanPropertyColumn;
import org.apache.syncope.client.console.wicket.extensions.markup.html.repeater.data.table.KeyPropertyColumn;
import org.apache.syncope.client.console.wicket.markup.html.bootstrap.dialog.BaseModal;
import org.apache.syncope.client.console.wicket.markup.html.form.ActionLink;
-import org.apache.syncope.client.console.wicket.markup.html.form.ActionLinksPanel;
+import org.apache.syncope.client.console.wicket.markup.html.form.ActionsPanel;
import org.apache.syncope.client.console.wicket.markup.html.form.XMLEditorPanel;
import org.apache.syncope.client.console.wizards.AjaxWizard;
import org.apache.syncope.client.console.wizards.WizardMgtPanel;
@@ -135,7 +134,6 @@ public class SAML2IdPsDirectoryPanel extends DirectoryPanel<
List<IColumn<SAML2IdPTO, String>> columns = new ArrayList<>();
columns.add(new KeyPropertyColumn<SAML2IdPTO>(new ResourceModel("key"), "key", "key"));
-
columns.add(new PropertyColumn<SAML2IdPTO, String>(new ResourceModel("name"), "name", "name"));
columns.add(new PropertyColumn<SAML2IdPTO, String>(new ResourceModel("entityID"), "entityID", "entityID"));
columns.add(new BooleanPropertyColumn<SAML2IdPTO>(
@@ -145,85 +143,61 @@ public class SAML2IdPsDirectoryPanel extends DirectoryPanel<
columns.add(new BooleanPropertyColumn<SAML2IdPTO>(
new ResourceModel("logoutSupported"), "logoutSupported", "logoutSupported"));
- columns.add(new ActionColumn<SAML2IdPTO, String>(new ResourceModel("actions", "")) {
+ return columns;
+ }
+
+ @Override
+ public ActionsPanel<SAML2IdPTO> getActions(final IModel<SAML2IdPTO> model) {
+ final ActionsPanel<SAML2IdPTO> panel = super.getActions(model);
+
+ panel.add(new ActionLink<SAML2IdPTO>() {
- private static final long serialVersionUID = 906457126287899096L;
+ private static final long serialVersionUID = -3722207913631435501L;
@Override
- public ActionLinksPanel<SAML2IdPTO> getActions(
- final String componentId, final IModel<SAML2IdPTO> model) {
-
- ActionLinksPanel<SAML2IdPTO> panel = ActionLinksPanel.<SAML2IdPTO>builder().
- add(new ActionLink<SAML2IdPTO>() {
-
- private static final long serialVersionUID = -3722207913631435501L;
-
- @Override
- public void onClick(final AjaxRequestTarget target, final SAML2IdPTO ignore) {
- SAML2IdPTO object = restClient.read(model.getObject().getKey());
- send(SAML2IdPsDirectoryPanel.this, Broadcast.EXACT,
- new AjaxWizard.EditItemActionEvent<>(object, target));
- }
- }, ActionLink.ActionType.EDIT, SAML2SPEntitlement.IDP_UPDATE).
- add(new ActionLink<SAML2IdPTO>() {
-
- private static final long serialVersionUID = -7978723352517770645L;
-
- @Override
- public void onClick(final AjaxRequestTarget target, final SAML2IdPTO ignore) {
- SAML2IdPTO object = restClient.read(model.getObject().getKey());
- metadataModal.header(Model.of(object.getName() + " - Metadata"));
- metadataModal.setContent(new XMLEditorPanel(
- metadataModal,
- Model.of(new String(Base64.decodeBase64(object.getMetadata()))),
- true,
- pageRef));
- metadataModal.show(true);
- target.add(metadataModal);
- }
- }, ActionLink.ActionType.HTML, SAML2SPEntitlement.IDP_READ).
- add(new ActionLink<SAML2IdPTO>() {
-
- private static final long serialVersionUID = -5467832321897812767L;
-
- @Override
- public void onClick(final AjaxRequestTarget target, final SAML2IdPTO ignore) {
- try {
- restClient.delete(model.getObject().getKey());
- SyncopeConsoleSession.get().info(getString(Constants.OPERATION_SUCCEEDED));
- target.add(container);
- } catch (SyncopeClientException e) {
- LOG.error("While deleting object {}", model.getObject().getKey(), e);
- SyncopeConsoleSession.get().error(StringUtils.isBlank(e.getMessage())
- ? e.getClass().getName() : e.getMessage());
- }
- ((BasePage) pageRef.getPage()).getNotificationPanel().refresh(target);
- }
- }, ActionLink.ActionType.DELETE, SAML2SPEntitlement.IDP_DELETE).
- build(componentId);
-
- return panel;
+ public void onClick(final AjaxRequestTarget target, final SAML2IdPTO ignore) {
+ SAML2IdPTO object = restClient.read(model.getObject().getKey());
+ send(SAML2IdPsDirectoryPanel.this, Broadcast.EXACT,
+ new AjaxWizard.EditItemActionEvent<>(object, target));
}
+ }, ActionLink.ActionType.EDIT, SAML2SPEntitlement.IDP_UPDATE);
+ panel.add(new ActionLink<SAML2IdPTO>() {
- @Override
- public ActionLinksPanel<SAML2IdPTO> getHeader(final String componentId) {
- final ActionLinksPanel.Builder<SAML2IdPTO> panel = ActionLinksPanel.builder();
+ private static final long serialVersionUID = -7978723352517770645L;
- return panel.add(new ActionLink<SAML2IdPTO>() {
+ @Override
+ public void onClick(final AjaxRequestTarget target, final SAML2IdPTO ignore) {
+ SAML2IdPTO object = restClient.read(model.getObject().getKey());
+ metadataModal.header(Model.of(object.getName() + " - Metadata"));
+ metadataModal.setContent(new XMLEditorPanel(
+ metadataModal,
+ Model.of(new String(Base64.decodeBase64(object.getMetadata()))),
+ true,
+ pageRef));
+ metadataModal.show(true);
+ target.add(metadataModal);
+ }
+ }, ActionLink.ActionType.HTML, SAML2SPEntitlement.IDP_READ);
+ panel.add(new ActionLink<SAML2IdPTO>() {
- private static final long serialVersionUID = -5467832321897812767L;
+ private static final long serialVersionUID = -5467832321897812767L;
- @Override
- public void onClick(final AjaxRequestTarget target, final SAML2IdPTO ignore) {
- if (target != null) {
- target.add(container);
- }
- }
- }, ActionLink.ActionType.RELOAD).build(componentId);
+ @Override
+ public void onClick(final AjaxRequestTarget target, final SAML2IdPTO ignore) {
+ try {
+ restClient.delete(model.getObject().getKey());
+ SyncopeConsoleSession.get().info(getString(Constants.OPERATION_SUCCEEDED));
+ target.add(container);
+ } catch (SyncopeClientException e) {
+ LOG.error("While deleting object {}", model.getObject().getKey(), e);
+ SyncopeConsoleSession.get().error(StringUtils.isBlank(e.getMessage())
+ ? e.getClass().getName() : e.getMessage());
+ }
+ ((BasePage) pageRef.getPage()).getNotificationPanel().refresh(target);
}
- });
+ }, ActionLink.ActionType.DELETE, SAML2SPEntitlement.IDP_DELETE, true);
- return columns;
+ return panel;
}
protected final class SAML2IdPsProvider extends DirectoryDataProvider<SAML2IdPTO> {
http://git-wip-us.apache.org/repos/asf/syncope/blob/2e7e2cee/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AnyObjectsITCase.java
----------------------------------------------------------------------
diff --git a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AnyObjectsITCase.java b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AnyObjectsITCase.java
index b6dddcd..75d65bb 100644
--- a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AnyObjectsITCase.java
+++ b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AnyObjectsITCase.java
@@ -22,7 +22,6 @@ import static org.junit.Assert.assertNotNull;
import org.apache.wicket.Component;
import org.apache.wicket.markup.html.basic.Label;
-import org.apache.wicket.markup.html.list.ListItem;
import org.apache.wicket.util.tester.FormTester;
import org.junit.Test;
import org.apache.syncope.client.console.commons.Constants;
@@ -69,7 +68,9 @@ public class AnyObjectsITCase extends AbstractConsoleITCase {
"8559d14d-58c2-46eb-a2d4-a7d35161e8f8");
assertNotNull(component);
- TESTER.clickLink(component.getPageRelativePath() + ":cells:4:cell:panelClone:cloneLink");
+ TESTER.executeAjaxEvent(component.getPageRelativePath(), Constants.ON_CLICK);
+ TESTER.clickLink(TAB_PANEL + "outerObjectsRepeater:1:outer:container:content:togglePanelContainer:container:"
+ + "actions:actions:actionRepeater:1:action:action");
FormTester formTester = TESTER.newFormTester(TAB_PANEL + "outerObjectsRepeater:0:outer:form:content:form");
assertNotNull(formTester);
@@ -87,8 +88,10 @@ public class AnyObjectsITCase extends AbstractConsoleITCase {
"8559d14d-58c2-46eb-a2d4-a7d35161e8f8");
assertNotNull(component);
- TESTER.clickLink(component.getPageRelativePath() + ":cells:4:cell:panelEdit:editLink");
-
+ TESTER.executeAjaxEvent(component.getPageRelativePath(), Constants.ON_CLICK);
+ TESTER.clickLink(TAB_PANEL + "outerObjectsRepeater:1:outer:container:content:togglePanelContainer:container:"
+ + "actions:actions:actionRepeater:0:action:action");
+
FormTester formTester = TESTER.newFormTester(TAB_PANEL + "outerObjectsRepeater:0:outer:form:content:form");
assertNotNull(formTester);
formTester.submit("buttons:next");
@@ -117,7 +120,7 @@ public class AnyObjectsITCase extends AbstractConsoleITCase {
+ "outerObjectsRepeater:0:outer:form:content:customResultBody:resources:"
+ "firstLevelContainer:first:container:content:group:beans:0:fields:0:field", Label.class);
- TESTER.clickLink(TAB_PANEL + "outerObjectsRepeater:0:outer:form:content:action:panelClose:closeLink");
+ TESTER.clickLink(TAB_PANEL + "outerObjectsRepeater:0:outer:form:content:action:actionRepeater:0:action:action");
component = findComponentByProp("key", CONTAINER
+ ":searchContainer:resultTable:tablePanel:groupForm:checkgroup:dataTable",
@@ -135,7 +138,10 @@ public class AnyObjectsITCase extends AbstractConsoleITCase {
"8559d14d-58c2-46eb-a2d4-a7d35161e8f8");
assertNotNull(component);
- TESTER.assertComponent(component.getPageRelativePath() + ":cells:4:cell:panelDelete:deleteLink",
+ TESTER.executeAjaxEvent(component.getPageRelativePath(), Constants.ON_CLICK);
+ TESTER.assertComponent(TAB_PANEL
+ + "outerObjectsRepeater:1:outer:container:content:togglePanelContainer:container:"
+ + "actions:actions:actionRepeater:5:action:action",
IndicatingOnConfirmAjaxLink.class);
}
}
http://git-wip-us.apache.org/repos/asf/syncope/blob/2e7e2cee/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AnyTypeClassesITCase.java
----------------------------------------------------------------------
diff --git a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AnyTypeClassesITCase.java b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AnyTypeClassesITCase.java
index 0a7f8e6..d17ee20 100644
--- a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AnyTypeClassesITCase.java
+++ b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AnyTypeClassesITCase.java
@@ -22,13 +22,12 @@ import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import de.agilecoders.wicket.core.markup.html.bootstrap.dialog.Modal;
+import org.apache.syncope.client.console.commons.Constants;
import org.apache.syncope.client.console.pages.Types;
import org.apache.syncope.client.console.panels.AjaxDataTablePanel;
import org.apache.syncope.client.console.wicket.extensions.markup.html.repeater.data.table.AjaxFallbackDataTable;
import org.apache.syncope.client.console.wicket.markup.html.bootstrap.dialog.BaseModal;
-import org.apache.syncope.client.console.wicket.markup.html.form.IndicatingOnConfirmAjaxLink;
import org.apache.wicket.Component;
-import org.apache.wicket.extensions.ajax.markup.html.IndicatingAjaxLink;
import org.apache.wicket.util.tester.FormTester;
import org.junit.Test;
@@ -38,17 +37,14 @@ public class AnyTypeClassesITCase extends AbstractTypesITCase {
public void read() {
browsingToAnyTypeClasses();
- Component result = findComponentByProp(KEY, DATATABLE_PATH, "csv");
- TESTER.assertLabel(
- result.getPageRelativePath() + ":cells:1:cell", "csv");
+ Component component = findComponentByProp(KEY, DATATABLE_PATH, "csv");
+ TESTER.executeAjaxEvent(component.getPageRelativePath(), Constants.ON_CLICK);
- TESTER.assertComponent(
- result.getPageRelativePath() + ":cells:6:cell:panelEdit:editLink", IndicatingAjaxLink.class);
+ // click edit
+ TESTER.clickLink("body:content:tabbedPanel:panel:outerObjectsRepeater:1:outer:container:content:"
+ + "togglePanelContainer:container:actions:actions:actionRepeater:0:action:action");
- TESTER.clickLink(result.getPageRelativePath() + ":cells:6:cell:panelEdit:editLink");
-
- TESTER.assertComponent(
- "body:content:tabbedPanel:panel:outerObjectsRepeater:0:outer", BaseModal.class);
+ TESTER.assertComponent("body:content:tabbedPanel:panel:outerObjectsRepeater:0:outer", BaseModal.class);
}
@Test
@@ -58,11 +54,10 @@ public class AnyTypeClassesITCase extends AbstractTypesITCase {
TESTER.clickLink("body:content:tabbedPanel:panel:container:content:add");
- TESTER.assertComponent(
- "body:content:tabbedPanel:panel:outerObjectsRepeater:0:outer", Modal.class);
+ TESTER.assertComponent("body:content:tabbedPanel:panel:outerObjectsRepeater:0:outer", Modal.class);
- FormTester formTester =
- TESTER.newFormTester("body:content:tabbedPanel:panel:outerObjectsRepeater:0:outer:form");
+ FormTester formTester = TESTER.newFormTester(
+ "body:content:tabbedPanel:panel:outerObjectsRepeater:0:outer:form");
formTester.setValue("content:anyTypeClassDetailsPanel:form:key:textField", anyTypeClassTest);
formTester.setValue(
"content:anyTypeClassDetailsPanel:form:container:derSchemas:paletteField:recorder", "mderiveddata");
@@ -89,26 +84,49 @@ public class AnyTypeClassesITCase extends AbstractTypesITCase {
@Test
public void update() {
final String plainSchema = "anyPlainSchema";
+ final String name = "anyTypeClassToUpdate";
+ createAnyTypeClassWithoutSchema(name);
createPlainSchema(plainSchema);
browsingToAnyTypeClasses();
- TESTER.assertComponent(
- DATATABLE_PATH
- + ":tablePanel:groupForm:checkgroup:dataTable:"
- + "body:rows:1:cells:6:cell:panelEdit:editLink", IndicatingAjaxLink.class);
+ Component component = findComponentByProp(KEY, DATATABLE_PATH, name);
+ TESTER.executeAjaxEvent(component.getPageRelativePath(), Constants.ON_CLICK);
- TESTER.clickLink(
- DATATABLE_PATH
- + ":tablePanel:groupForm:checkgroup:dataTable:body:rows:1:cells:6:cell:panelEdit:editLink");
+ // click edit
+ TESTER.clickLink("body:content:tabbedPanel:panel:outerObjectsRepeater:1:outer:container:content:"
+ + "togglePanelContainer:container:actions:actions:actionRepeater:0:action:action");
- final FormTester formTester =
- TESTER.newFormTester("body:content:tabbedPanel:panel:outerObjectsRepeater:0:outer:form");
+ final FormTester formTester = TESTER.newFormTester(
+ "body:content:tabbedPanel:panel:outerObjectsRepeater:0:outer:form");
formTester.setValue(
"content:anyTypeClassDetailsPanel:form:container:plainSchemas:paletteField:recorder", plainSchema);
TESTER.clickLink(
"body:content:tabbedPanel:panel:outerObjectsRepeater:0:outer:dialog:footer:inputs:0:submit");
TESTER.assertInfoMessages("Operation executed successfully");
+ TESTER.cleanupFeedbackMessages();
+
+ component = findComponentByProp(KEY, DATATABLE_PATH, name);
+ assertNotNull(component);
+
+ TESTER.executeAjaxEvent(component.getPageRelativePath(), Constants.ON_CLICK);
+ TESTER.getRequest().addParameter("confirm", "true");
+
+ // click delete
+ TESTER.clickLink(TESTER.getComponentFromLastRenderedPage(
+ "body:content:tabbedPanel:panel:outerObjectsRepeater:1:outer:container:content:"
+ + "togglePanelContainer:container:actions:actions:actionRepeater:1:action:action"));
+
+ TESTER.executeAjaxEvent(TESTER.getComponentFromLastRenderedPage(
+ "body:content:tabbedPanel:panel:outerObjectsRepeater:1:outer:container:content:"
+ + "togglePanelContainer:container:actions:actions:actionRepeater:1:action:action"),
+ Constants.ON_CLICK);
+
+ TESTER.assertInfoMessages("Operation executed successfully");
+ TESTER.cleanupFeedbackMessages();
+ component = findComponentByProp(KEY, DATATABLE_PATH, name);
+
+ assertNull(component);
}
@Test
@@ -118,24 +136,27 @@ public class AnyTypeClassesITCase extends AbstractTypesITCase {
browsingToAnyTypeClasses();
TESTER.assertComponent(DATATABLE_PATH, AjaxDataTablePanel.class);
- Component result = findComponentByProp(KEY, DATATABLE_PATH, anyTypeClassName);
-
- assertNotNull(result);
- TESTER.assertComponent(
- result.getPageRelativePath() + ":cells:6:cell:panelDelete:deleteLink",
- IndicatingOnConfirmAjaxLink.class);
+ Component component = findComponentByProp(KEY, DATATABLE_PATH, anyTypeClassName);
+ assertNotNull(component);
+ TESTER.executeAjaxEvent(component.getPageRelativePath(), Constants.ON_CLICK);
TESTER.getRequest().addParameter("confirm", "true");
+
+ // click delete
TESTER.clickLink(TESTER.getComponentFromLastRenderedPage(
- result.getPageRelativePath() + ":cells:6:cell:panelDelete:deleteLink"));
+ "body:content:tabbedPanel:panel:outerObjectsRepeater:1:outer:container:content:"
+ + "togglePanelContainer:container:actions:actions:actionRepeater:1:action:action"));
TESTER.executeAjaxEvent(TESTER.getComponentFromLastRenderedPage(
- result.getPageRelativePath() + ":cells:6:cell:panelDelete:deleteLink"), "click");
+ "body:content:tabbedPanel:panel:outerObjectsRepeater:1:outer:container:content:"
+ + "togglePanelContainer:container:actions:actions:actionRepeater:1:action:action"),
+ Constants.ON_CLICK);
+
TESTER.assertInfoMessages("Operation executed successfully");
TESTER.cleanupFeedbackMessages();
- result = findComponentByProp(KEY, DATATABLE_PATH, anyTypeClassName);
+ component = findComponentByProp(KEY, DATATABLE_PATH, anyTypeClassName);
- assertNull(result);
+ assertNull(component);
}
}
http://git-wip-us.apache.org/repos/asf/syncope/blob/2e7e2cee/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AnyTypesITCase.java
----------------------------------------------------------------------
diff --git a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AnyTypesITCase.java b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AnyTypesITCase.java
index fd65f29..d56c76a 100644
--- a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AnyTypesITCase.java
+++ b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/AnyTypesITCase.java
@@ -22,12 +22,11 @@ import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import de.agilecoders.wicket.core.markup.html.bootstrap.dialog.Modal;
+import org.apache.syncope.client.console.commons.Constants;
import org.apache.syncope.client.console.pages.Types;
import org.apache.syncope.client.console.panels.AjaxDataTablePanel;
import org.apache.syncope.client.console.wicket.markup.html.bootstrap.dialog.BaseModal;
-import org.apache.syncope.client.console.wicket.markup.html.form.IndicatingOnConfirmAjaxLink;
import org.apache.wicket.Component;
-import org.apache.wicket.extensions.ajax.markup.html.IndicatingAjaxLink;
import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.util.tester.FormTester;
import org.junit.Test;
@@ -42,13 +41,13 @@ public class AnyTypesITCase extends AbstractTypesITCase {
+ ":tablePanel:groupForm:"
+ "checkgroup:dataTable:body:rows:1:cells:1:cell", Label.class);
- Component result = findComponentByProp(KEY, DATATABLE_PATH, "GROUP");
+ Component component = findComponentByProp(KEY, DATATABLE_PATH, "GROUP");
- TESTER.assertComponent(
- result.getPageRelativePath() + ":cells:4:cell:panelEdit:editLink", IndicatingAjaxLink.class);
+ TESTER.executeAjaxEvent(component.getPageRelativePath(), Constants.ON_CLICK);
- TESTER.clickLink(
- result.getPageRelativePath() + ":cells:4:cell:panelEdit:editLink");
+ // click edit
+ TESTER.clickLink("body:content:tabbedPanel:panel:outerObjectsRepeater:1:outer:container:content:"
+ + "togglePanelContainer:container:actions:actions:actionRepeater:0:action:action");
TESTER.assertComponent("body:content:tabbedPanel:panel:outerObjectsRepeater:0:outer", BaseModal.class);
}
@@ -78,10 +77,10 @@ public class AnyTypesITCase extends AbstractTypesITCase {
TESTER.clickLink("body:content:tabbedPanel:tabs-container:tabs:1:link");
TESTER.assertComponent(DATATABLE_PATH, AjaxDataTablePanel.class);
- Component result = findComponentByProp(KEY, DATATABLE_PATH, anyTypeTest);
+ Component component = findComponentByProp(KEY, DATATABLE_PATH, anyTypeTest);
- TESTER.assertLabel(result.getPageRelativePath() + ":cells:1:cell", anyTypeTest);
- TESTER.assertLabel(result.getPageRelativePath() + ":cells:3:cell", "[csv]");
+ TESTER.assertLabel(component.getPageRelativePath() + ":cells:1:cell", anyTypeTest);
+ TESTER.assertLabel(component.getPageRelativePath() + ":cells:3:cell", "[csv]");
}
@Test
@@ -90,14 +89,14 @@ public class AnyTypesITCase extends AbstractTypesITCase {
createAnyTypeClassWithoutSchema(name);
browsingToAnyTypes();
- TESTER.assertComponent(
- DATATABLE_PATH
- + ":tablePanel:groupForm:checkgroup:dataTable:"
- + "body:rows:1:cells:4:cell:panelEdit:editLink", IndicatingAjaxLink.class);
+ Component component = findComponentByProp(KEY, DATATABLE_PATH, "GROUP");
+ assertNotNull(component);
- TESTER.clickLink(
- DATATABLE_PATH
- + ":tablePanel:groupForm:checkgroup:dataTable:body:rows:1:cells:4:cell:panelEdit:editLink");
+ TESTER.executeAjaxEvent(component.getPageRelativePath(), Constants.ON_CLICK);
+
+ // click edit
+ TESTER.clickLink("body:content:tabbedPanel:panel:outerObjectsRepeater:1:outer:container:content:"
+ + "togglePanelContainer:container:actions:actions:actionRepeater:0:action:action");
final FormTester formTester = TESTER.newFormTester(
"body:content:tabbedPanel:panel:outerObjectsRepeater:0:outer:form");
@@ -117,24 +116,28 @@ public class AnyTypesITCase extends AbstractTypesITCase {
browsingToAnyTypes();
TESTER.assertComponent(DATATABLE_PATH, AjaxDataTablePanel.class);
- Component result = findComponentByProp(KEY, DATATABLE_PATH, name);
+ Component component = findComponentByProp(KEY, DATATABLE_PATH, name);
+ assertNotNull(component);
- assertNotNull(result);
- TESTER.assertComponent(
- result.getPageRelativePath() + ":cells:4:cell:panelDelete:deleteLink",
- IndicatingOnConfirmAjaxLink.class);
+ TESTER.executeAjaxEvent(component.getPageRelativePath(), Constants.ON_CLICK);
TESTER.getRequest().addParameter("confirm", "true");
+
+ // click delete
TESTER.clickLink(TESTER.getComponentFromLastRenderedPage(
- result.getPageRelativePath() + ":cells:4:cell:panelDelete:deleteLink"));
+ "body:content:tabbedPanel:panel:outerObjectsRepeater:1:outer:container:content:"
+ + "togglePanelContainer:container:actions:actions:actionRepeater:1:action:action"));
TESTER.executeAjaxEvent(TESTER.getComponentFromLastRenderedPage(
- result.getPageRelativePath() + ":cells:4:cell:panelDelete:deleteLink"), "onclick");
+ "body:content:tabbedPanel:panel:outerObjectsRepeater:1:outer:container:content:"
+ + "togglePanelContainer:container:actions:actions:actionRepeater:1:action:action"),
+ Constants.ON_CLICK);
+
TESTER.assertInfoMessages("Operation executed successfully");
TESTER.cleanupFeedbackMessages();
- result = findComponentByProp(KEY, DATATABLE_PATH, name);
+ component = findComponentByProp(KEY, DATATABLE_PATH, name);
- assertNull(result);
+ assertNull(component);
}
}
http://git-wip-us.apache.org/repos/asf/syncope/blob/2e7e2cee/fit/core-reference/src/test/java/org/apache/syncope/fit/console/BulkActionITCase.java
----------------------------------------------------------------------
diff --git a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/BulkActionITCase.java b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/BulkActionITCase.java
index 026c85a..d39ed71 100644
--- a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/BulkActionITCase.java
+++ b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/BulkActionITCase.java
@@ -52,8 +52,7 @@ public class BulkActionITCase extends AbstractConsoleITCase {
+ "searchContainer:resultTable:tablePanel:groupForm:checkgroup:dataTable", "rossini");
assertNotNull(component);
- FormTester formTester = TESTER.newFormTester(CONTAINER
- + "searchContainer:resultTable:tablePanel:groupForm");
+ FormTester formTester = TESTER.newFormTester(CONTAINER + "searchContainer:resultTable:tablePanel:groupForm");
assertNotNull(formTester);
formTester.select("checkgroup", 2);
@@ -77,34 +76,37 @@ public class BulkActionITCase extends AbstractConsoleITCase {
+ ":searchContainer:resultTable:tablePanel:groupForm:checkgroup:dataTable", "rossini");
assertNotNull(component);
- TESTER.clickLink(component.getPageRelativePath()
- + ":cells:6:cell:panelManageResources:manageResourcesLink");
+ TESTER.executeAjaxEvent(component.getPageRelativePath(), Constants.ON_CLICK);
+ // manage resource
+ TESTER.clickLink("body:content:body:container:content:tabbedPanel:panel:searchResult:outerObjectsRepeater:1"
+ + ":outer:container:content:togglePanelContainer:container:actions:actions:actionRepeater:5:"
+ + "action:action");
- TESTER.assertComponent(TAB_PANEL + "outerObjectsRepeater:1:outer:form:content:status:"
+ TESTER.assertComponent(TAB_PANEL + "outerObjectsRepeater:2:outer:form:content:status:"
+ "firstLevelContainer:first:container:content:searchContainer:resultTable:tablePanel:groupForm:"
+ "checkgroup:dataTable", WebMarkupContainer.class);
component = findComponentByProp("resourceName",
- TAB_PANEL + "outerObjectsRepeater:1:outer:form:content:status:"
+ TAB_PANEL + "outerObjectsRepeater:2:outer:form:content:status:"
+ "firstLevelContainer:first:container:content:searchContainer:resultTable:tablePanel:groupForm:"
+ "checkgroup:dataTable", "resource-csv");
assertNotNull(component);
FormTester formTester = TESTER.newFormTester(
- TAB_PANEL + "outerObjectsRepeater:1:outer:form:content:status:firstLevelContainer:"
+ TAB_PANEL + "outerObjectsRepeater:2:outer:form:content:status:firstLevelContainer:"
+ "first:container:content:searchContainer:resultTable:tablePanel:groupForm");
assertNotNull(formTester);
formTester.select("checkgroup", 2);
- TESTER.executeAjaxEvent(TAB_PANEL + "outerObjectsRepeater:1:outer:form:content:status:"
+ TESTER.executeAjaxEvent(TAB_PANEL + "outerObjectsRepeater:2:outer:form:content:status:"
+ "firstLevelContainer:first:container:content:searchContainer:resultTable:tablePanel:bulkActionLink",
Constants.ON_CLICK);
- TESTER.assertComponent(TAB_PANEL + "outerObjectsRepeater:1:outer:form:content:status:"
+ TESTER.assertComponent(TAB_PANEL + "outerObjectsRepeater:2:outer:form:content:status:"
+ "secondLevelContainer:second:container", WebMarkupContainer.class);
- assertNotNull(findComponentByProp("resourceName", TAB_PANEL + "outerObjectsRepeater:1:outer:"
+ assertNotNull(findComponentByProp("resourceName", TAB_PANEL + "outerObjectsRepeater:2:outer:"
+ "form:content:status:secondLevelContainer:second:container", "resource-csv"));
}
@@ -127,14 +129,18 @@ public class BulkActionITCase extends AbstractConsoleITCase {
+ ":searchContainer:resultTable:tablePanel:groupForm:checkgroup:dataTable", "rossini");
assertNotNull(component);
- TESTER.clickLink(component.getPageRelativePath() + ":cells:6:cell:panelEnable:enableLink");
+ TESTER.executeAjaxEvent(component.getPageRelativePath(), Constants.ON_CLICK);
+ // enable
+ TESTER.clickLink("body:content:body:container:content:tabbedPanel:panel:searchResult:outerObjectsRepeater:1"
+ + ":outer:container:content:togglePanelContainer:container:actions:actions:actionRepeater:4:"
+ + "action:action");
- TESTER.assertComponent(TAB_PANEL + "outerObjectsRepeater:1:outer:form:content:status:"
+ TESTER.assertComponent(TAB_PANEL + "outerObjectsRepeater:2:outer:form:content:status:"
+ "firstLevelContainer:first:container:content:searchContainer:resultTable:tablePanel:groupForm:"
+ "checkgroup:dataTable", WebMarkupContainer.class);
component = findComponentByProp("resourceName",
- TAB_PANEL + "outerObjectsRepeater:1:outer:form:content:status:firstLevelContainer:first:container:"
+ TAB_PANEL + "outerObjectsRepeater:2:outer:form:content:status:firstLevelContainer:first:container:"
+ "content:searchContainer:resultTable:tablePanel:groupForm:checkgroup:dataTable", resourceName);
component = TESTER.getComponentFromLastRenderedPage(component.getPageRelativePath() + ":cells:1:cell:check");
@@ -142,36 +148,36 @@ public class BulkActionITCase extends AbstractConsoleITCase {
assertEquals(resourceName, StatusBean.class.cast(component.getDefaultModelObject()).getResourceName());
FormTester formTester = TESTER.newFormTester(
- TAB_PANEL + "outerObjectsRepeater:1:outer:form:content:status:firstLevelContainer:"
+ TAB_PANEL + "outerObjectsRepeater:2:outer:form:content:status:firstLevelContainer:"
+ "first:container:content:searchContainer:resultTable:tablePanel:groupForm");
assertNotNull(formTester);
formTester.select("checkgroup", index);
- TESTER.executeAjaxEvent(TAB_PANEL + "outerObjectsRepeater:1:outer:form:content:status:"
+ TESTER.executeAjaxEvent(TAB_PANEL + "outerObjectsRepeater:2:outer:form:content:status:"
+ "firstLevelContainer:first:container:content:searchContainer:resultTable:tablePanel:bulkActionLink",
Constants.ON_CLICK);
- TESTER.assertComponent(TAB_PANEL + "outerObjectsRepeater:1:outer:form:content:status:"
+ TESTER.assertComponent(TAB_PANEL + "outerObjectsRepeater:2:outer:form:content:status:"
+ "secondLevelContainer:second:container", WebMarkupContainer.class);
- TESTER.executeAjaxEvent(TAB_PANEL + "outerObjectsRepeater:1:outer:form:content:"
- + "status:secondLevelContainer:second:container:actions:panelSuspend:suspendLink",
+ // suspend link
+ TESTER.executeAjaxEvent(TAB_PANEL + "outerObjectsRepeater:2:outer:form:content:status:secondLevelContainer:"
+ + "second:container:actions:actionRepeater:0:action:action",
Constants.ON_CLICK);
TESTER.assertInfoMessages("Operation executed successfully");
TESTER.cleanupFeedbackMessages();
- TESTER.assertLabel(TAB_PANEL + "outerObjectsRepeater:1:outer:form:content:status:"
- + "secondLevelContainer:second:container:selectedObjects:body:rows:1:cells:4:cell", "SUCCESS");
+ TESTER.assertLabel(TAB_PANEL + "outerObjectsRepeater:2:outer:form:content:status:"
+ + "secondLevelContainer:second:container:selectedObjects:body:rows:1:cells:3:cell", "SUCCESS");
- TESTER.
- executeAjaxEvent(TAB_PANEL
- + "outerObjectsRepeater:1:outer:form:content:status:secondLevelContainer:back",
- Constants.ON_CLICK);
+ TESTER.executeAjaxEvent(TAB_PANEL
+ + "outerObjectsRepeater:2:outer:form:content:status:secondLevelContainer:back",
+ Constants.ON_CLICK);
component = findComponentByProp("resourceName",
- TAB_PANEL + "outerObjectsRepeater:1:outer:form:content:status:firstLevelContainer:first:container:"
+ TAB_PANEL + "outerObjectsRepeater:2:outer:form:content:status:firstLevelContainer:first:container:"
+ "content:searchContainer:resultTable:tablePanel:groupForm:checkgroup:dataTable", resourceName);
component = TESTER.getComponentFromLastRenderedPage(component.getPageRelativePath() + ":cells:1:cell:check");
@@ -186,50 +192,54 @@ public class BulkActionITCase extends AbstractConsoleITCase {
+ ":searchContainer:resultTable:tablePanel:groupForm:checkgroup:dataTable", "rossini");
assertNotNull(component);
- TESTER.clickLink(component.getPageRelativePath() + ":cells:6:cell:panelEnable:enableLink");
+ TESTER.executeAjaxEvent(component.getPageRelativePath(), Constants.ON_CLICK);
+ // enable
+ TESTER.clickLink("body:content:body:container:content:tabbedPanel:panel:searchResult:outerObjectsRepeater:1"
+ + ":outer:container:content:togglePanelContainer:container:actions:actions:actionRepeater:4:"
+ + "action:action");
- TESTER.assertComponent(TAB_PANEL + "outerObjectsRepeater:1:outer:form:content:status:"
+ TESTER.assertComponent(TAB_PANEL + "outerObjectsRepeater:2:outer:form:content:status:"
+ "firstLevelContainer:first:container:content:searchContainer:resultTable:tablePanel:groupForm:"
+ "checkgroup:dataTable", WebMarkupContainer.class);
formTester = TESTER.newFormTester(
- TAB_PANEL + "outerObjectsRepeater:1:outer:form:content:status:firstLevelContainer:"
+ TAB_PANEL + "outerObjectsRepeater:2:outer:form:content:status:firstLevelContainer:"
+ "first:container:content:searchContainer:resultTable:tablePanel:groupForm");
assertNotNull(formTester);
formTester.select("checkgroup", index);
- TESTER.executeAjaxEvent(TAB_PANEL + "outerObjectsRepeater:1:outer:form:content:status:"
+ TESTER.executeAjaxEvent(TAB_PANEL + "outerObjectsRepeater:2:outer:form:content:status:"
+ "firstLevelContainer:first:container:content:searchContainer:resultTable:tablePanel:bulkActionLink",
Constants.ON_CLICK);
- TESTER.assertComponent(TAB_PANEL + "outerObjectsRepeater:1:outer:form:content:status:"
+ TESTER.assertComponent(TAB_PANEL + "outerObjectsRepeater:2:outer:form:content:status:"
+ "secondLevelContainer:second:container", WebMarkupContainer.class);
- TESTER.executeAjaxEvent(TAB_PANEL + "outerObjectsRepeater:1:outer:form:content:"
- + "status:secondLevelContainer:second:container:actions:panelReactivate:reactivateLink",
+ // suspend link
+ TESTER.executeAjaxEvent(TAB_PANEL + "outerObjectsRepeater:2:outer:form:content:status:secondLevelContainer:"
+ + "second:container:actions:actionRepeater:1:action:action",
Constants.ON_CLICK);
TESTER.assertInfoMessages("Operation executed successfully");
TESTER.cleanupFeedbackMessages();
- TESTER.assertLabel(TAB_PANEL + "outerObjectsRepeater:1:outer:form:content:status:"
- + "secondLevelContainer:second:container:selectedObjects:body:rows:1:cells:4:cell", "SUCCESS");
+ TESTER.assertLabel(TAB_PANEL + "outerObjectsRepeater:2:outer:form:content:status:"
+ + "secondLevelContainer:second:container:selectedObjects:body:rows:1:cells:3:cell", "SUCCESS");
- TESTER.
- executeAjaxEvent(TAB_PANEL
- + "outerObjectsRepeater:1:outer:form:content:status:secondLevelContainer:back",
- Constants.ON_CLICK);
+ TESTER.executeAjaxEvent(TAB_PANEL
+ + "outerObjectsRepeater:2:outer:form:content:status:secondLevelContainer:back",
+ Constants.ON_CLICK);
component = findComponentByProp("resourceName",
- TAB_PANEL + "outerObjectsRepeater:1:outer:form:content:status:firstLevelContainer:first:container:"
+ TAB_PANEL + "outerObjectsRepeater:2:outer:form:content:status:firstLevelContainer:first:container:"
+ "content:searchContainer:resultTable:tablePanel:groupForm:checkgroup:dataTable", resourceName);
component = TESTER.getComponentFromLastRenderedPage(component.getPageRelativePath() + ":cells:1:cell:check");
assertEquals(Status.ACTIVE, StatusBean.class.cast(component.getDefaultModelObject()).getStatus());
assertEquals(resourceName, StatusBean.class.cast(component.getDefaultModelObject()).getResourceName());
- TESTER.executeAjaxEvent(TAB_PANEL + "outerObjectsRepeater:1:outer:dialog:footer:buttons:0:button",
+ TESTER.executeAjaxEvent(TAB_PANEL + "outerObjectsRepeater:2:outer:dialog:footer:buttons:0:button",
Constants.ON_CLICK);
}
@@ -242,38 +252,41 @@ public class BulkActionITCase extends AbstractConsoleITCase {
+ ":searchContainer:resultTable:tablePanel:groupForm:checkgroup:dataTable", "director");
assertNotNull(component);
- TESTER.clickLink(component.getPageRelativePath()
- + ":cells:4:cell:panelManageResources:manageResourcesLink");
+ TESTER.executeAjaxEvent(component.getPageRelativePath(), Constants.ON_CLICK);
+ // manage resource
+ TESTER.clickLink("body:content:body:container:content:tabbedPanel:panel:searchResult:outerObjectsRepeater:1"
+ + ":outer:container:content:togglePanelContainer:container:actions:actions:actionRepeater:6:"
+ + "action:action");
- TESTER.assertComponent(TAB_PANEL + "outerObjectsRepeater:1:outer:form:content:status:"
+ TESTER.assertComponent(TAB_PANEL + "outerObjectsRepeater:2:outer:form:content:status:"
+ "firstLevelContainer:first:container:content:searchContainer:resultTable:tablePanel:groupForm:"
+ "checkgroup:dataTable", WebMarkupContainer.class);
- TESTER.clickLink(TAB_PANEL + "outerObjectsRepeater:1:outer:form:content:status:firstLevelContainer:first:"
+ TESTER.clickLink(TAB_PANEL + "outerObjectsRepeater:2:outer:form:content:status:firstLevelContainer:first:"
+ "container:content:searchContainer:resultTable:tablePanel:groupForm:checkgroup:dataTable:topToolbars:"
+ "toolbars:1:headers:2:header:orderByLink", true);
component = findComponentByProp("resourceName",
- TAB_PANEL + "outerObjectsRepeater:1:outer:form:content:status:"
+ TAB_PANEL + "outerObjectsRepeater:2:outer:form:content:status:"
+ "firstLevelContainer:first:container:content:searchContainer:resultTable:tablePanel:groupForm:"
+ "checkgroup:dataTable", "ws-target-resource-1");
assertNotNull(component);
FormTester formTester = TESTER.newFormTester(
- TAB_PANEL + "outerObjectsRepeater:1:outer:form:content:status:firstLevelContainer:"
+ TAB_PANEL + "outerObjectsRepeater:2:outer:form:content:status:firstLevelContainer:"
+ "first:container:content:searchContainer:resultTable:tablePanel:groupForm");
assertNotNull(formTester);
formTester.select("checkgroup", 7);
- TESTER.executeAjaxEvent(TAB_PANEL + "outerObjectsRepeater:1:outer:form:content:status:"
+ TESTER.executeAjaxEvent(TAB_PANEL + "outerObjectsRepeater:2:outer:form:content:status:"
+ "firstLevelContainer:first:container:content:searchContainer:resultTable:tablePanel:bulkActionLink",
Constants.ON_CLICK);
- TESTER.assertComponent(TAB_PANEL + "outerObjectsRepeater:1:outer:form:content:status:"
+ TESTER.assertComponent(TAB_PANEL + "outerObjectsRepeater:2:outer:form:content:status:"
+ "secondLevelContainer:second:container", WebMarkupContainer.class);
- assertNotNull(findComponentByProp("resourceName", TAB_PANEL + "outerObjectsRepeater:1:outer:"
+ assertNotNull(findComponentByProp("resourceName", TAB_PANEL + "outerObjectsRepeater:2:outer:"
+ "form:content:status:secondLevelContainer:second:container:selectedObjects", "resource-testdb2"));
}
@@ -287,38 +300,41 @@ public class BulkActionITCase extends AbstractConsoleITCase {
"8559d14d-58c2-46eb-a2d4-a7d35161e8f8");
assertNotNull(component);
- TESTER.clickLink(component.getPageRelativePath()
- + ":cells:4:cell:panelManageResources:manageResourcesLink");
+ TESTER.executeAjaxEvent(component.getPageRelativePath(), Constants.ON_CLICK);
+ // manage resource
+ TESTER.clickLink("body:content:body:container:content:tabbedPanel:panel:searchResult:outerObjectsRepeater:1"
+ + ":outer:container:content:togglePanelContainer:container:actions:actions:actionRepeater:2:"
+ + "action:action");
- TESTER.assertComponent(TAB_PANEL + "outerObjectsRepeater:1:outer:form:content:status:"
+ TESTER.assertComponent(TAB_PANEL + "outerObjectsRepeater:2:outer:form:content:status:"
+ "firstLevelContainer:first:container:content:searchContainer:resultTable:tablePanel:groupForm:"
+ "checkgroup:dataTable", WebMarkupContainer.class);
- TESTER.clickLink(TAB_PANEL + "outerObjectsRepeater:1:outer:form:content:status:firstLevelContainer:first:"
+ TESTER.clickLink(TAB_PANEL + "outerObjectsRepeater:2:outer:form:content:status:firstLevelContainer:first:"
+ "container:content:searchContainer:resultTable:tablePanel:groupForm:checkgroup:dataTable:topToolbars:"
+ "toolbars:1:headers:2:header:orderByLink", true);
component = findComponentByProp("resourceName",
- TAB_PANEL + "outerObjectsRepeater:1:outer:form:content:status:"
+ TAB_PANEL + "outerObjectsRepeater:2:outer:form:content:status:"
+ "firstLevelContainer:first:container:content:searchContainer:resultTable:tablePanel:groupForm:"
+ "checkgroup:dataTable", "ws-target-resource-1");
assertNotNull(component);
FormTester formTester = TESTER.newFormTester(
- TAB_PANEL + "outerObjectsRepeater:1:outer:form:content:status:firstLevelContainer:"
+ TAB_PANEL + "outerObjectsRepeater:2:outer:form:content:status:firstLevelContainer:"
+ "first:container:content:searchContainer:resultTable:tablePanel:groupForm");
assertNotNull(formTester);
formTester.select("checkgroup", 7);
- TESTER.executeAjaxEvent(TAB_PANEL + "outerObjectsRepeater:1:outer:form:content:status:"
+ TESTER.executeAjaxEvent(TAB_PANEL + "outerObjectsRepeater:2:outer:form:content:status:"
+ "firstLevelContainer:first:container:content:searchContainer:resultTable:tablePanel:bulkActionLink",
Constants.ON_CLICK);
- TESTER.assertComponent(TAB_PANEL + "outerObjectsRepeater:1:outer:form:content:status:"
+ TESTER.assertComponent(TAB_PANEL + "outerObjectsRepeater:2:outer:form:content:status:"
+ "secondLevelContainer:second:container", WebMarkupContainer.class);
- assertNotNull(findComponentByProp("resourceName", TAB_PANEL + "outerObjectsRepeater:1:outer:"
+ assertNotNull(findComponentByProp("resourceName", TAB_PANEL + "outerObjectsRepeater:2:outer:"
+ "form:content:status:secondLevelContainer:second:container:selectedObjects", "resource-testdb2"));
}
http://git-wip-us.apache.org/repos/asf/syncope/blob/2e7e2cee/fit/core-reference/src/test/java/org/apache/syncope/fit/console/DisplayAttributesITCase.java
----------------------------------------------------------------------
diff --git a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/DisplayAttributesITCase.java b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/DisplayAttributesITCase.java
index cb8e782..7de9a0d 100644
--- a/fit/core-reference/src/test/java/org/apache/syncope/fit/console/DisplayAttributesITCase.java
+++ b/fit/core-reference/src/test/java/org/apache/syncope/fit/console/DisplayAttributesITCase.java
@@ -36,22 +36,20 @@ public class DisplayAttributesITCase extends AbstractConsoleITCase {
@Test
public void readAndSet() {
TESTER.clickLink("body:content:body:container:content:tabbedPanel:tabs-container:tabs:3:link");
- TESTER.clickLink("body:content:body:container:content:tabbedPanel:panel:"
- + "searchResult:container:content:searchContainer:resultTable:"
- + "tablePanel:groupForm:checkgroup:dataTable:topToolbars:"
- + "toolbars:1:headers:4:header:label:panelChangeView:changeViewLink");
+ TESTER.clickLink("body:content:body:container:content:tabbedPanel:panel:searchResult:container:content:"
+ + "searchContainer:tablehandling:actionRepeater:1:action:action");
TESTER.assertComponent(
- "body:content:body:container:content:tabbedPanel:panel:searchResult:outerObjectsRepeater:2:outer",
+ "body:content:body:container:content:tabbedPanel:panel:searchResult:outerObjectsRepeater:3:outer",
Modal.class);
FormTester formTester = TESTER.newFormTester(
- "body:content:body:container:content:tabbedPanel:panel:searchResult:outerObjectsRepeater:2:outer:form");
+ "body:content:body:container:content:tabbedPanel:panel:searchResult:outerObjectsRepeater:3:outer:form");
formTester.setValue("content:container:details:paletteField:recorder", "status");
TESTER.clickLink("body:content:body:container:content:tabbedPanel:panel:searchResult:outerObjectsRepeater:"
- + "2:outer:dialog:footer:inputs:0:submit");
+ + "3:outer:dialog:footer:inputs:0:submit");
TESTER.assertInfoMessages("Operation executed successfully");
TESTER.clearFeedbackMessages();