diff --git a/config/alfresco/messages/portlets.properties b/config/alfresco/messages/portlets.properties
deleted file mode 100644
index ab99af4e2e..0000000000
--- a/config/alfresco/messages/portlets.properties
+++ /dev/null
@@ -1,82 +0,0 @@
-portlets.refresh=Refresh
-portlets.button.ok=OK
-portlets.button.cancel=Cancel
-
-portlets.error.data_currently_unavailable=Sorry, data currently unavailable.
-portlets.preview_currently_unavailable=Sorry, preview currently unavailable.
-
-portlets.message.showing=Showing
-portlets.message.items=item(s)
-portlets.message.showing_items=Showing {0} items
-
-portlets.doclist.all_items=All Items
-portlets.doclist.word_documents=Word Documents
-portlets.doclist.html_documents=HTML Documents
-portlets.doclist.pdf_documents=PDF Documents
-portlets.doclist.recently_modified=Recently Modified
-
-portlets.panel.description=Description
-portlets.panel.modified=Modified
-portlets.panel.modified_by=Modified By
-portlets.panel.created=Created
-portlets.panel.created_by=Created By
-portlets.panel.size=Size
-portlets.panel.kb=KB
-
-portlets.myspaces.create_space=Create Space
-portlets.myspaces.create_space.title=Create a new Space
-portlets.myspaces.upload=Upload
-portlets.myspaces.upload.title=Upload a new document
-portlets.myspaces.name=Name
-portlets.myspaces.title=Title
-portlets.myspaces.description=Description
-portlets.myspaces.all_items=All Items
-portlets.myspaces.spaces=Spaces
-portlets.myspaces.documents=Documents
-portlets.myspaces.my_items=My Items
-portlets.myspaces.recently_modified=Recently Modified
-
-portlets.mywebfiles.showing_count_files_in_count_web_projects=Showing {0} file(s) in {1} web project(s)
-portlets.mywebfiles.view_web_project=View Web Project
-portlets.mywebfiles.my_modified_items=My Modified Items
-portlets.mywebfiles.edit=Edit
-portlets.mywebfiles.no_items_modified=No items modified
-
-portlets.mywebforms.view_web_project=View Web Project
-portlets.mywebforms.showing_count_forms_in_count_web_projects=Showing {0} form(s) in {1} web project(s)
-
-portlets.mytasks.tasks_to_do=Tasks to do
-portlets.mytasks.due_today=Due Today
-portlets.mytasks.next_7_days=Next 7 days
-portlets.mytasks.no_due_date=No due date
-portlets.mytasks.overdue=Overdue
-portlets.mytasks.showing_overdue=overdue
-portlets.mytasks.showing_task=task(s)
-portlets.mytasks.showing_due_today=due today
-portlets.mytasks.showing_due_next_week=due next week
-portlets.mytasks.showing_with_no_due_date_set=with no due date set
-
-portlets.mytaskspanel.status=Status
-portlets.mytaskspanel.priority=Priority
-portlets.mytaskspanel.start_date=Start Date
-portlets.mytaskspanel.complete=Complete
-portlets.mytaskspanel.manage_task=Manage Task
-portlets.mytaskspanel.workflow_action=Workflow action
-portlets.mytaskspanel.workflow_complited=completed
-
-portlets.checkin.item_working_copy_of_name_has_been_checked_in=Item \\\"Working Copy of {0}\\\" has been checked in.
-portlets.checkout.working_copy_for_the_checked_out=A working copy for the checked out item \\\"Working Copy of {0}\\\" has been created.
-
-task_summary_panel.close=Close
-task_summary_panel.type=Type
-task_summary_panel.name=Name
-task_summary_panel.start_date=Start Date
-task_summary_panel.due_date=Due Date
-task_summary_panel.none=None
-task_summary_panel.priority=Priority
-task_summary_panel.percent_completed=Percent Completed
-task_summary_panel.status=status
-task_summary_panel.completed=Completed
-task_summary_panel.yes=Yes
-task_summary_panel.no=No
-task_resource_panel.no_task_resources=No task resources
\ No newline at end of file
diff --git a/config/alfresco/messages/portlets_de.properties b/config/alfresco/messages/portlets_de.properties
deleted file mode 100644
index 1b5d924dcb..0000000000
--- a/config/alfresco/messages/portlets_de.properties
+++ /dev/null
@@ -1,84 +0,0 @@
-portlets.refresh=Aktualisieren
-portlets.button.ok=OK
-portlets.button.cancel=Abbrechen
-
-portlets.error.data_currently_unavailable=Bedauere, Daten derzeit nicht verf\u00fcgbar.
-portlets.preview_currently_unavailable=Bedauere, Vorschau derzeit nicht verf\u00fcgbar.
-
-portlets.message.showing=Zeige
-portlets.message.items=Element(e)
-portlets.message.showing_items=Zeige {0} Elemente
-
-portlets.doclist.all_items=Alle Elemente
-portlets.doclist.word_documents=Word Dokumente
-portlets.doclist.html_documents=HTML Dokumente
-portlets.doclist.pdf_documents=PDF Dokumente
-portlets.doclist.recently_modified=K\u00fcrzlich ge\u00e4ndert
-
-portlets.panel.description=Beschreibung
-portlets.panel.modified=Ge\u00e4ndert
-portlets.panel.modified_by=Ge\u00e4ndert von
-portlets.panel.created=Erstellt
-portlets.panel.created_by=Erstellt von
-portlets.panel.size=Gr\u00f6\u00dfe
-portlets.panel.kb=KB
-
-portlets.myspaces.create_space=Arbeitsbereich erstellen
-portlets.myspaces.create_space.title=Einen neuen Arbeitsbereih erstellen
-portlets.myspaces.upload=Hochladen
-portlets.myspaces.upload.title=Ein neues Dokument hochladen
-portlets.myspaces.name=Name
-portlets.myspaces.title=Titel
-portlets.myspaces.description=Beschreibung
-portlets.myspaces.all_items=Alle Elemente
-portlets.myspaces.spaces=Arbeitsbereiche
-portlets.myspaces.documents=Dokumente
-portlets.myspaces.my_items=Meine Elemente
-portlets.myspaces.recently_modified=K\u00fcrzlich ge\u00e4ndert
-
-portlets.mywebfiles.showing_count_files_in_count_web_projects=Zeige {0} Datei(en) in {1} Web-Projekt(en)
-portlets.mywebfiles.view_web_project=Web-Projekt anzeigen
-portlets.mywebfiles.my_modified_items=Meine ge\u00e4nderten Elemente
-portlets.mywebfiles.edit=Bearbeiten
-portlets.mywebfiles.no_items_modified=Keine Elemente ge\u00e4ndert
-
-portlets.mywebforms.view_web_project=Web-Projekt anzeigen
-portlets.mywebforms.showing_count_forms_in_count_web_projects=Zeige {0} Formular(e) in {1} Web-Projekt(en)
-
-portlets.mytasks.tasks_to_do=Zu erledigende Aufgaben
-portlets.mytasks.due_today=Heute f\u00e4llig
-portlets.mytasks.next_7_days=N\u00e4chste 7 Tage
-portlets.mytasks.no_due_date=Kein F\u00e4lligkeitsdatum
-portlets.mytasks.overdue=\u00dcberf\u00e4llig
-portlets.mytasks.showing_overdue=\u00fcberf\u00e4llig
-portlets.mytasks.showing_task=Aufgabe(n)
-portlets.mytasks.showing_due_today=heute f\u00e4llig
-portlets.mytasks.showing_due_next_week=n\u00e4chste Woche f\u00e4llig
-portlets.mytasks.showing_with_no_due_date_set=kein F\u00e4lligkeitsdatum eingestellt
-
-portlets.mytaskspanel.status=Status
-portlets.mytaskspanel.priority=Priorit\u00e4t
-portlets.mytaskspanel.start_date=Anfangsdatum
-portlets.mytaskspanel.complete=Abschlie\u00dfen
-portlets.mytaskspanel.manage_task=Aufgabe verwalten
-portlets.mytaskspanel.workflow_action=Workflowaktion
-portlets.mytaskspanel.workflow_complited=abgeschlossen
-
-portlets.checkin.item_working_copy_of_name_has_been_checked_in=Element \\\"Arbeitskopie von {0}\\\" wurde eingecheckt.
-portlets.checkout.working_copy_for_the_checked_out=Eine Arbeitskopie f\u00fcr das ausgecheckte Element \\\"Arbeitskopie von {0}\\\" wurde erstellt.
-
-task_summary_panel.close=Schlie\u00dfen
-task_summary_panel.type=Typ
-task_summary_panel.name=Name
-task_summary_panel.start_date=Anfangsdatum
-task_summary_panel.due_date=F\u00e4lligkeitsdatum
-task_summary_panel.none=Keine
-task_summary_panel.priority=Priorit\u00e4t
-task_summary_panel.percent_completed=Prozent abgeschlossen
-task_summary_panel.status=Status
-task_summary_panel.completed=Abgeschlossen
-task_summary_panel.yes=Ja
-task_summary_panel.no=Nein
-task_resource_panel.no_task_resources=Keine Aufgabenressourcen
-
-
diff --git a/config/alfresco/messages/portlets_es.properties b/config/alfresco/messages/portlets_es.properties
deleted file mode 100755
index 1e97f0c645..0000000000
--- a/config/alfresco/messages/portlets_es.properties
+++ /dev/null
@@ -1,82 +0,0 @@
-portlets.refresh=Actualizar
-portlets.button.ok=Aceptar
-portlets.button.cancel=Cancelar
-
-portlets.error.data_currently_unavailable=Lo siento, no hay datos disponibles en este momento.
-portlets.preview_currently_unavailable=Lo siento, no hay vista previa disponible en este momento.
-
-portlets.message.showing=Mostrando
-portlets.message.items=elemento(s)
-portlets.message.showing_items=Mostrando {0} elementos
-
-portlets.doclist.all_items=Todos los elementos
-portlets.doclist.word_documents=Documentos Word
-portlets.doclist.html_documents=Documentos HTML
-portlets.doclist.pdf_documents=Documentos PDF
-portlets.doclist.recently_modified=Modificados recientemente
-
-portlets.panel.description=Descripci\u00f3n
-portlets.panel.modified=Modificado
-portlets.panel.modified_by=Modificado por:
-portlets.panel.created=Creado
-portlets.panel.created_by=Creado por
-portlets.panel.size=Tama\u00f1o
-portlets.panel.kb=KB
-
-portlets.myspaces.create_space=Crear espacio
-portlets.myspaces.create_space.title=Crear un nuevo espacio
-portlets.myspaces.upload=Subir
-portlets.myspaces.upload.title=Subir un nuevo documento
-portlets.myspaces.name=Nombre
-portlets.myspaces.title=T\u00edtulo
-portlets.myspaces.description=Descripci\u00f3n
-portlets.myspaces.all_items=Todos los elementos
-portlets.myspaces.spaces=Espacios
-portlets.myspaces.documents=Documentos
-portlets.myspaces.my_items=Mis elementos
-portlets.myspaces.recently_modified=Modificados recientemente
-
-portlets.mywebfiles.showing_count_files_in_count_web_projects=Mostrando {0} fichero(s) en {1} proyecto(s) Web
-portlets.mywebfiles.view_web_project=Ver Proyecto Web
-portlets.mywebfiles.my_modified_items=Mis elementos modificados
-portlets.mywebfiles.edit=Editar
-portlets.mywebfiles.no_items_modified=Ning\u00fan elemento modificado
-
-portlets.mywebforms.view_web_project=Ver Proyecto Web
-portlets.mywebforms.showing_count_forms_in_count_web_projects=Mostrando {0} formulario(s) en {1} proyecto(s) Web
-
-portlets.mytasks.tasks_to_do=Tareas pendientes
-portlets.mytasks.due_today=A completar hoy
-portlets.mytasks.next_7_days=Pr\u00f3ximos 7 d\u00edas
-portlets.mytasks.no_due_date=No hay fecha de vencimiento
-portlets.mytasks.overdue=Con retraso
-portlets.mytasks.showing_overdue=con retraso
-portlets.mytasks.showing_task=tarea(s)
-portlets.mytasks.showing_due_today=a completar hoy
-portlets.mytasks.showing_due_next_week=a completar la pr\u00f3xima semana
-portlets.mytasks.showing_with_no_due_date_set=sin fecha de vencimiento fijada
-
-portlets.mytaskspanel.status=Estado
-portlets.mytaskspanel.priority=Prioridad
-portlets.mytaskspanel.start_date=Fecha de inicio
-portlets.mytaskspanel.complete=Completar
-portlets.mytaskspanel.manage_task=Gestionar tarea
-portlets.mytaskspanel.workflow_action=Acci\u00f3n de flujo de trabajo
-portlets.mytaskspanel.workflow_complited=completada
-
-portlets.checkin.item_working_copy_of_name_has_been_checked_in=El elemento \\\"Copia de trabajo de {0}\\\" ha sido desbloqueado.
-portlets.checkout.working_copy_for_the_checked_out=Se ha creado una copia de trabajo para el elemento bloqueado \\\"Copia de trabajo de {0}\\\".
-
-task_summary_panel.close=Cerrar
-task_summary_panel.type=Tipo
-task_summary_panel.name=Nombre
-task_summary_panel.start_date=Fecha de inicio
-task_summary_panel.due_date=Fecha de vencimiento
-task_summary_panel.none=Ninguna
-task_summary_panel.priority=Prioridad
-task_summary_panel.percent_completed=Porcentaje completado
-task_summary_panel.status=estado
-task_summary_panel.completed=Completada
-task_summary_panel.yes=S\u00ed
-task_summary_panel.no=No
-task_resource_panel.no_task_resources=No hay recursos de tareas
diff --git a/config/alfresco/messages/portlets_fr.properties b/config/alfresco/messages/portlets_fr.properties
deleted file mode 100755
index d4a6ac7552..0000000000
--- a/config/alfresco/messages/portlets_fr.properties
+++ /dev/null
@@ -1,82 +0,0 @@
-portlets.refresh=Rafra\u00eechir
-portlets.button.ok=OK
-portlets.button.cancel=Annuler
-
-portlets.error.data_currently_unavailable=Nous sommes d\u00e9sol\u00e9s mais les donn\u00e9es sont actuellement indisponibles.
-portlets.preview_currently_unavailable=Nous sommes d\u00e9sol\u00e9s mais la pr\u00e9visualisation est actuellement indisponible.
-
-portlets.message.showing=Affichage
-portlets.message.items=\u00e9l\u00e9ment(s)
-portlets.message.showing_items=Affichage de {0} \u00e9l\u00e9ments
-
-portlets.doclist.all_items=Tous les \u00e9l\u00e9ments
-portlets.doclist.word_documents=Documents Word
-portlets.doclist.html_documents=Documents HTML
-portlets.doclist.pdf_documents=Documents PDF
-portlets.doclist.recently_modified=R\u00e9cemment modifi\u00e9
-
-portlets.panel.description=Description
-portlets.panel.modified=Modifi\u00e9
-portlets.panel.modified_by=Modifi\u00e9 par
-portlets.panel.created=Cr\u00e9e
-portlets.panel.created_by=Cr\u00e9\u00e9 par
-portlets.panel.size=Taille
-portlets.panel.kb=Ko
-
-portlets.myspaces.create_space=Cr\u00e9er un Espace
-portlets.myspaces.create_space.title=Cr\u00e9er un Espace
-portlets.myspaces.upload=Importer dans l'entrep\u00f4t
-portlets.myspaces.upload.title=Ajouter un nouveau document
-portlets.myspaces.name=Nom
-portlets.myspaces.title=Titre
-portlets.myspaces.description=Description
-portlets.myspaces.all_items=Tous les \u00e9l\u00e9ments
-portlets.myspaces.spaces=Espaces
-portlets.myspaces.documents=Documents
-portlets.myspaces.my_items=Mes \u00e9l\u00e9ments
-portlets.myspaces.recently_modified=R\u00e9cemment modifi\u00e9
-
-portlets.mywebfiles.showing_count_files_in_count_web_projects=Affichage de {0} fichier(s) dans {1} projet(s) Web
-portlets.mywebfiles.view_web_project=Afficher un projet Web
-portlets.mywebfiles.my_modified_items=Mes \u00e9l\u00e9ments modifi\u00e9s
-portlets.mywebfiles.edit=Editer
-portlets.mywebfiles.no_items_modified=Aucun \u00e9l\u00e9ment modifi\u00e9
-
-portlets.mywebforms.view_web_project=Afficher un projet Web
-portlets.mywebforms.showing_count_forms_in_count_web_projects=Affichage de {0} formulaire(s) dans {1} projet(s) Web
-
-portlets.mytasks.tasks_to_do=T\u00e2ches
-portlets.mytasks.due_today=\u00c9ch\u00e9ance ce jour
-portlets.mytasks.next_7_days=7 prochains jours
-portlets.mytasks.no_due_date=Pas de date pr\u00e9vue
-portlets.mytasks.overdue=En retard
-portlets.mytasks.showing_overdue=En retard
-portlets.mytasks.showing_task=t\u00e2che(s)
-portlets.mytasks.showing_due_today=\u00e9ch\u00e9ance \u00e0 ce jour
-portlets.mytasks.showing_due_next_week=\u00e9ch\u00e9ance la semaine prochaine
-portlets.mytasks.showing_with_no_due_date_set=aucune date d'\u00e9ch\u00e9ance d\u00e9finie
-
-portlets.mytaskspanel.status=Etat
-portlets.mytaskspanel.priority=Priorit\u00e9
-portlets.mytaskspanel.start_date=Date de D\u00e9but
-portlets.mytaskspanel.complete=Achev\u00e9
-portlets.mytaskspanel.manage_task=G\u00e9rer la t\u00e2che
-portlets.mytaskspanel.workflow_action=Action de workflow
-portlets.mytaskspanel.workflow_complited=achev\u00e9
-
-portlets.checkin.item_working_copy_of_name_has_been_checked_in=L''\u00e9l\u00e9ment \\\"Copie de travail de {0}\\\" a \u00e9t\u00e9 lib\u00e9r\u00e9.
-portlets.checkout.working_copy_for_the_checked_out=Une copie de travail pour l''\u00e9l\u00e9ment r\u00e9serv\u00e9 \\\"Copie de travail de {0}\\\" a \u00e9t\u00e9 cr\u00e9\u00e9e.
-
-task_summary_panel.close=Fermer
-task_summary_panel.type=Type
-task_summary_panel.name=Nom
-task_summary_panel.start_date=Date de D\u00e9but
-task_summary_panel.due_date=Ech\u00e9ance
-task_summary_panel.none=Aucun
-task_summary_panel.priority=Priorit\u00e9
-task_summary_panel.percent_completed=Pourcentage effectu\u00e9
-task_summary_panel.status=statut
-task_summary_panel.completed=Compl\u00e9t\u00e9
-task_summary_panel.yes=Oui
-task_summary_panel.no=Non
-task_resource_panel.no_task_resources=Pas de ressource
diff --git a/config/alfresco/messages/portlets_it.properties b/config/alfresco/messages/portlets_it.properties
deleted file mode 100755
index 5311e3706e..0000000000
--- a/config/alfresco/messages/portlets_it.properties
+++ /dev/null
@@ -1,82 +0,0 @@
-portlets.refresh=Aggiorna
-portlets.button.ok=OK
-portlets.button.cancel=Annulla
-
-portlets.error.data_currently_unavailable=I dati non sono attualmente disponibili.
-portlets.preview_currently_unavailable=L'anteprima non \u00e8 attualmente disponibile.
-
-portlets.message.showing=Vengono mostrati
-portlets.message.items=elemento/i
-portlets.message.showing_items=Vengono mostrati {0} elementi
-
-portlets.doclist.all_items=Tutti gli elementi
-portlets.doclist.word_documents=Documenti di Word
-portlets.doclist.html_documents=Documenti HTML
-portlets.doclist.pdf_documents=Documenti PDF
-portlets.doclist.recently_modified=Modificati recentemente
-
-portlets.panel.description=Descrizione
-portlets.panel.modified=Modificato
-portlets.panel.modified_by=Modificato da
-portlets.panel.created=Creato
-portlets.panel.created_by=Creato da
-portlets.panel.size=Dimensioni
-portlets.panel.kb=KB
-
-portlets.myspaces.create_space=Crea spazio
-portlets.myspaces.create_space.title=Crea un nuovo spazio
-portlets.myspaces.upload=Carica
-portlets.myspaces.upload.title=Carica un nuovo documento
-portlets.myspaces.name=Nome
-portlets.myspaces.title=Titolo
-portlets.myspaces.description=Descrizione
-portlets.myspaces.all_items=Tutti gli elementi
-portlets.myspaces.spaces=Spazi
-portlets.myspaces.documents=Documenti
-portlets.myspaces.my_items=I miei elementi
-portlets.myspaces.recently_modified=Modificati recentemente
-
-portlets.mywebfiles.showing_count_files_in_count_web_projects=Vengono mostrati {0} file in {1} progetto/i web
-portlets.mywebfiles.view_web_project=Vedi progetto web
-portlets.mywebfiles.my_modified_items=I miei elementi modificati
-portlets.mywebfiles.edit=Modifica
-portlets.mywebfiles.no_items_modified=Nessun elemento modificato
-
-portlets.mywebforms.view_web_project=Vedi progetto web
-portlets.mywebforms.showing_count_forms_in_count_web_projects=Vengono mostrati {0} modulo/i in {1} progetto/i web
-
-portlets.mytasks.tasks_to_do=Compiti da eseguire
-portlets.mytasks.due_today=In scadenza oggi
-portlets.mytasks.next_7_days=Prossimi 7 giorni
-portlets.mytasks.no_due_date=Nessuna data di scadenza
-portlets.mytasks.overdue=Scaduti
-portlets.mytasks.showing_overdue=scaduti
-portlets.mytasks.showing_task=compito/i
-portlets.mytasks.showing_due_today=in scadenza oggi
-portlets.mytasks.showing_due_next_week=in scadenza la prossima settimana
-portlets.mytasks.showing_with_no_due_date_set=senza data di scadenza impostata
-
-portlets.mytaskspanel.status=Stato
-portlets.mytaskspanel.priority=Priorit\u00e0
-portlets.mytaskspanel.start_date=Data di inizio
-portlets.mytaskspanel.complete=Completato
-portlets.mytaskspanel.manage_task=Gestisci compito
-portlets.mytaskspanel.workflow_action=Azione workflow
-portlets.mytaskspanel.workflow_complited=completato
-
-portlets.checkin.item_working_copy_of_name_has_been_checked_in=\u00c8 stato eseguito il Check In dell''elemento \\\"Copia di lavoro di {0}\\\".
-portlets.checkout.working_copy_for_the_checked_out=\u00c8 stata creata una copia di lavoro per l''elemento sottoposto a Check Out \\\"Copia di lavoro di {0}\\\".
-
-task_summary_panel.close=Chiudi
-task_summary_panel.type=Tipo
-task_summary_panel.name=Nome
-task_summary_panel.start_date=Data di inizio
-task_summary_panel.due_date=Data di scadenza
-task_summary_panel.none=Nessuna
-task_summary_panel.priority=Priorit\u00e0
-task_summary_panel.percent_completed=Percentuale di completamento
-task_summary_panel.status=stato
-task_summary_panel.completed=Completato
-task_summary_panel.yes=S\u00ec
-task_summary_panel.no=No
-task_resource_panel.no_task_resources=Nessuna risorsa per il compito
diff --git a/config/alfresco/messages/portlets_ja.properties b/config/alfresco/messages/portlets_ja.properties
deleted file mode 100755
index 16b0a391b4..0000000000
--- a/config/alfresco/messages/portlets_ja.properties
+++ /dev/null
@@ -1,83 +0,0 @@
-portlets.refresh=\u518d\u8aad\u307f\u8fbc\u307f
-portlets.button.ok=OK
-portlets.button.cancel=\u30ad\u30e3\u30f3\u30bb\u30eb
-
-portlets.error.data_currently_unavailable=\u30c7\u30fc\u30bf\u306f\u73fe\u5728\u4f7f\u7528\u3067\u304d\u307e\u305b\u3093\u3002
-portlets.preview_currently_unavailable=\u30d7\u30ec\u30d3\u30e5\u30fc\u306f\u73fe\u5728\u4f7f\u7528\u3067\u304d\u307e\u305b\u3093\u3002
-
-portlets.message.showing=\u8868\u793a\u4e2d
-portlets.message.items=\u30a2\u30a4\u30c6\u30e0
-portlets.message.showing_items={0}\u500b\u306e\u30a2\u30a4\u30c6\u30e0\u3092\u8868\u793a\u3057\u3066\u3044\u307e\u3059\u3002
-
-portlets.doclist.all_items=\u3059\u3079\u3066\u306e\u30a2\u30a4\u30c6\u30e0
-portlets.doclist.word_documents=Word\u6587\u66f8
-portlets.doclist.html_documents=HTML\u6587\u66f8
-portlets.doclist.pdf_documents=PDF\u6587\u66f8
-portlets.doclist.recently_modified=\u6700\u8fd1\u4fee\u6b63\u3055\u308c\u305f\u6587\u66f8
-
-portlets.panel.description=\u8aac\u660e
-portlets.panel.modified=\u5909\u66f4\u65e5
-portlets.panel.modified_by=\u5909\u66f4\u8005
-portlets.panel.created=\u4f5c\u6210\u65e5
-portlets.panel.created_by=\u4f5c\u6210\u8005
-portlets.panel.size=\u30b5\u30a4\u30ba
-portlets.panel.kb=KB
-
-portlets.myspaces.create_space=\u30b9\u30da\u30fc\u30b9\u306e\u4f5c\u6210
-portlets.myspaces.create_space.title=\u65b0\u898f\u30b9\u30da\u30fc\u30b9\u306e\u4f5c\u6210
-portlets.myspaces.upload=\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9
-portlets.myspaces.upload.title=\u65b0\u898f\u6587\u66f8\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9
-portlets.myspaces.name=\u540d\u524d
-portlets.myspaces.title=\u30bf\u30a4\u30c8\u30eb
-portlets.myspaces.description=\u8aac\u660e
-portlets.myspaces.all_items=\u3059\u3079\u3066\u306e\u30a2\u30a4\u30c6\u30e0
-portlets.myspaces.spaces=\u30b9\u30da\u30fc\u30b9
-portlets.myspaces.documents=\u6587\u66f8
-portlets.myspaces.my_items=\u3042\u306a\u305f\u306e\u30a2\u30a4\u30c6\u30e0
-portlets.myspaces.recently_modified=\u6700\u8fd1\u4fee\u6b63\u3055\u308c\u305f\u6587\u66f8
-
-portlets.mywebfiles.showing_count_files_in_count_web_projects={1} Web\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e{0}\u500b\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u8868\u793a\u3057\u3066\u3044\u307e\u3059
-portlets.mywebfiles.view_web_project=Web\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u8868\u793a
-portlets.mywebfiles.my_modified_items=\u3042\u306a\u305f\u306e\u5909\u66f4\u6e08\u307f\u30a2\u30a4\u30c6\u30e0
-portlets.mywebfiles.edit=\u7de8\u96c6
-portlets.mywebfiles.no_items_modified=\u5909\u66f4\u3055\u308c\u305f\u30a2\u30a4\u30c6\u30e0\u306f\u3042\u308a\u307e\u305b\u3093
-
-portlets.mywebforms.view_web_project=Web\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u8868\u793a
-portlets.mywebforms.showing_count_forms_in_count_web_projects={1} Web\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e{0} \u500b\u306e\u30d5\u30a9\u30fc\u30e0\u3092\u8868\u793a\u3057\u3066\u3044\u307e\u3059
-
-portlets.mytasks.tasks_to_do=\u4e88\u5b9a\u306e\u30bf\u30b9\u30af
-portlets.mytasks.due_today=\u672c\u65e5\u671f\u9650
-portlets.mytasks.next_7_days=7\u65e5\u4ee5\u5185
-portlets.mytasks.no_due_date=\u7de0\u5207\u65e5\u306a\u3057
-portlets.mytasks.overdue=\u671f\u9650\u5207\u308c
-portlets.mytasks.showing_overdue=\u671f\u9650\u5207\u308c
-portlets.mytasks.showing_task=\u30bf\u30b9\u30af
-portlets.mytasks.showing_due_today=\u672c\u65e5\u671f\u9650
-portlets.mytasks.showing_due_next_week=\u6765\u9031\u671f\u9650
-portlets.mytasks.showing_with_no_due_date_set=\u671f\u9650\u306e\u8a2d\u5b9a\u306a\u3057
-
-portlets.mytaskspanel.status=\u30b9\u30c6\u30fc\u30bf\u30b9
-portlets.mytaskspanel.priority=\u512a\u5148
-portlets.mytaskspanel.start_date=\u958b\u59cb\u65e5
-portlets.mytaskspanel.complete=\u5b8c\u4e86
-portlets.mytaskspanel.manage_task=\u30bf\u30b9\u30af\u7ba1\u7406
-portlets.mytaskspanel.workflow_action=\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30a2\u30af\u30b7\u30e7\u30f3
-portlets.mytaskspanel.workflow_complited=\u5b8c\u4e86\u6e08\u307f
-
-portlets.checkin.item_working_copy_of_name_has_been_checked_in=\u30a2\u30a4\u30c6\u30e0 \\\"Working Copy of {0}\\\" \u306f\u3059\u3067\u306b\u30c1\u30a7\u30c3\u30af\u30a4\u30f3\u3055\u308c\u3066\u3044\u307e\u3059\u3002
-portlets.checkout.working_copy_for_the_checked_out="\u30c1\u30a7\u30c3\u30af\u30a2\u30a6\u30c8\u6e08\u307f\u30a2\u30a4\u30c6\u30e0 \\\"Working Copy of {0}\\\" \u306e\u4f5c\u696d\u30b3\u30d4\u30fc\u306f\u3059\u3067\u306b\u4f5c\u6210\u3055\u308c\u3066\u3044\u307e\u3059\u3002
-
-task_summary_panel.close=\u9589\u3058\u308b
-task_summary_panel.type=\u30bf\u30a4\u30d7
-task_summary_panel.name=\u540d\u524d
-task_summary_panel.start_date=\u958b\u59cb\u65e5
-task_summary_panel.due_date=\u7de0\u5207\u65e5
-task_summary_panel.none=\u306a\u3057
-task_summary_panel.priority=\u512a\u5148
-task_summary_panel.percent_completed=\u9032\u884c\u72b6\u6cc1
-task_summary_panel.status=\u30b9\u30c6\u30fc\u30bf\u30b9
-task_summary_panel.completed=\u5b8c\u4e86\u6e08\u307f
-task_summary_panel.yes=\u306f\u3044
-task_summary_panel.no=\u3044\u3044\u3048
-task_resource_panel.no_task_resources=\u30bf\u30b9\u30af\u30ea\u30bd\u30fc\u30b9\u306a\u3057
-
diff --git a/config/alfresco/messages/portlets_nb.properties b/config/alfresco/messages/portlets_nb.properties
deleted file mode 100755
index 29deb657f7..0000000000
--- a/config/alfresco/messages/portlets_nb.properties
+++ /dev/null
@@ -1,82 +0,0 @@
-portlets.refresh=Oppdater
-portlets.button.ok=OK
-portlets.button.cancel=Avbryt
-
-portlets.error.data_currently_unavailable=Beklager. Data er i \u00f8yeblikket ikke tilgjengelig.
-portlets.preview_currently_unavailable=Beklager. Forh\u00e5ndsvisning er i \u00f8yeblikket ikke tilgjengelig.
-
-portlets.message.showing=Viser
-portlets.message.items=element(er)
-portlets.message.showing_items=Viser {0} elementer
-
-portlets.doclist.all_items=Alle elementer
-portlets.doclist.word_documents=Word-dokumenter
-portlets.doclist.html_documents=HTML-dokumenter
-portlets.doclist.pdf_documents=PDF-dokumenter
-portlets.doclist.recently_modified=Nylig modifisert
-
-portlets.panel.description=Beskrivelse
-portlets.panel.modified=Modifisert
-portlets.panel.modified_by=Modifisert av
-portlets.panel.created=Opprettet
-portlets.panel.created_by=Opprettet av:
-portlets.panel.size=St\u00f8rrelse
-portlets.panel.kb=KB
-
-portlets.myspaces.create_space=Opprett omr\u00e5de
-portlets.myspaces.create_space.title=Opprett en ny plass
-portlets.myspaces.upload=Last opp
-portlets.myspaces.upload.title=Last opp et nytt dokument
-portlets.myspaces.name=Navn
-portlets.myspaces.title=Tittel
-portlets.myspaces.description=Beskrivelse
-portlets.myspaces.all_items=Alle elementer
-portlets.myspaces.spaces=Plasser
-portlets.myspaces.documents=Dokumenter
-portlets.myspaces.my_items=Mine elementer
-portlets.myspaces.recently_modified=Nylig modifisert
-
-portlets.mywebfiles.showing_count_files_in_count_web_projects=Viser {0} fil(er) i {1} webprosjekt(er)
-portlets.mywebfiles.view_web_project=Vis webprosjekt
-portlets.mywebfiles.my_modified_items=Mine modifiserte elementer
-portlets.mywebfiles.edit=Rediger
-portlets.mywebfiles.no_items_modified=Ingen modifiserte elementer
-
-portlets.mywebforms.view_web_project=Vis webprosjekt
-portlets.mywebforms.showing_count_forms_in_count_web_projects=Viser {0} skjema(er) i {1} webprosjekt(er)
-
-portlets.mytasks.tasks_to_do=Oppgaver som skal gj\u00f8res
-portlets.mytasks.due_today=Forfaller i dag
-portlets.mytasks.next_7_days=Neste sju dager
-portlets.mytasks.no_due_date=Ingen forfallsdato
-portlets.mytasks.overdue=Forfalt
-portlets.mytasks.showing_overdue=forfalt
-portlets.mytasks.showing_task=oppgave(r)
-portlets.mytasks.showing_due_today=forfaller i dag
-portlets.mytasks.showing_due_next_week=forfaller neste uke
-portlets.mytasks.showing_with_no_due_date_set=uten en angitt forfallsdato
-
-portlets.mytaskspanel.status=Status
-portlets.mytaskspanel.priority=Prioritet
-portlets.mytaskspanel.start_date=Startdato
-portlets.mytaskspanel.complete=Fullf\u00f8r
-portlets.mytaskspanel.manage_task=Administrer oppgave
-portlets.mytaskspanel.workflow_action=Arbeidsflythandling
-portlets.mytaskspanel.workflow_complited=fullf\u00f8rt
-
-portlets.checkin.item_working_copy_of_name_has_been_checked_in=Element \\\"Arbeidskopi av {0}\\\" er sjekket inn.
-portlets.checkout.working_copy_for_the_checked_out=En arbeidskopi for det utsjekkede elementet \\\"Arbeidskopi av {0}\\\" er opprettet.
-
-task_summary_panel.close=Lukk
-task_summary_panel.type=Type
-task_summary_panel.name=Navn
-task_summary_panel.start_date=Startdato
-task_summary_panel.due_date=Forfallsdato
-task_summary_panel.none=Ingen
-task_summary_panel.priority=Prioritet
-task_summary_panel.percent_completed=Prosent fullf\u00f8rt
-task_summary_panel.status=status
-task_summary_panel.completed=Fullf\u00f8rt
-task_summary_panel.yes=Ja
-task_summary_panel.no=Nei
-task_resource_panel.no_task_resources=Ingen oppgaveressurser
diff --git a/config/alfresco/messages/portlets_nl.properties b/config/alfresco/messages/portlets_nl.properties
deleted file mode 100755
index db1153b80f..0000000000
--- a/config/alfresco/messages/portlets_nl.properties
+++ /dev/null
@@ -1,82 +0,0 @@
-portlets.refresh=Vernieuwen
-portlets.button.ok=OK
-portlets.button.cancel=Annuleren
-
-portlets.error.data_currently_unavailable=Gegevens momenteel niet beschikbaar.
-portlets.preview_currently_unavailable=Preview momenteel niet beschikbaar.
-
-portlets.message.showing=Er worden
-portlets.message.items=object(en) weergegeven
-portlets.message.showing_items=Er worden {0} objecten weergegeven
-
-portlets.doclist.all_items=Alle objecten
-portlets.doclist.word_documents=Word-documenten
-portlets.doclist.html_documents=HTML-documenten
-portlets.doclist.pdf_documents=PDF-documenten
-portlets.doclist.recently_modified=Onlangs gewijzigd
-
-portlets.panel.description=Beschrijving
-portlets.panel.modified=Gewijzigd:
-portlets.panel.modified_by=Gewijzigd door
-portlets.panel.created=Gemaakt
-portlets.panel.created_by=Gemaakt door
-portlets.panel.size=Grootte
-portlets.panel.kb=kB
-
-portlets.myspaces.create_space=Ruimte maken
-portlets.myspaces.create_space.title=Een nieuwe ruimte maken
-portlets.myspaces.upload=Uploaden
-portlets.myspaces.upload.title=Een nieuw document uploaden
-portlets.myspaces.name=Naam
-portlets.myspaces.title=Titel
-portlets.myspaces.description=Beschrijving
-portlets.myspaces.all_items=Alle objecten
-portlets.myspaces.spaces=Ruimtes
-portlets.myspaces.documents=Documenten
-portlets.myspaces.my_items=Mijn objecten
-portlets.myspaces.recently_modified=Onlangs gewijzigd
-
-portlets.mywebfiles.showing_count_files_in_count_web_projects=Er worden {0} bestand(en) weergegeven in {1} webproject(en)
-portlets.mywebfiles.view_web_project=Webproject weergeven
-portlets.mywebfiles.my_modified_items=Mijn gewijzigde objecten
-portlets.mywebfiles.edit=Bewerken
-portlets.mywebfiles.no_items_modified=Geen objecten gewijzigd
-
-portlets.mywebforms.view_web_project=Webproject weergeven
-portlets.mywebforms.showing_count_forms_in_count_web_projects=Er worden {0} formulier(en) weergegeven in {1} webproject(en)
-
-portlets.mytasks.tasks_to_do=Uit te voeren taken
-portlets.mytasks.due_today=Vervaldatum vandaag
-portlets.mytasks.next_7_days=Komende zeven dagen
-portlets.mytasks.no_due_date=Geen vervaldatum
-portlets.mytasks.overdue=Achterstallig
-portlets.mytasks.showing_overdue=achterstallig(e)
-portlets.mytasks.showing_task=taak/taken
-portlets.mytasks.showing_due_today=vervaldatum vandaag
-portlets.mytasks.showing_due_next_week=vervaldatum volgende week
-portlets.mytasks.showing_with_no_due_date_set=zonder ingestelde vervaldatum
-
-portlets.mytaskspanel.status=Status
-portlets.mytaskspanel.priority=Prioriteit
-portlets.mytaskspanel.start_date=Begindatum
-portlets.mytaskspanel.complete=Voltooid
-portlets.mytaskspanel.manage_task=Taak beheren
-portlets.mytaskspanel.workflow_action=Werkstroomactie
-portlets.mytaskspanel.workflow_complited=voltooid
-
-portlets.checkin.item_working_copy_of_name_has_been_checked_in=Object \\\"Werkkopie van {0}\\\" is ingecheckt.
-portlets.checkout.working_copy_for_the_checked_out=Er is een werkkopie voor het uitgecheckte object \\\"Werkkopie van {0}\\\" gemaakt.
-
-task_summary_panel.close=Sluiten
-task_summary_panel.type=Type
-task_summary_panel.name=Naam
-task_summary_panel.start_date=Begindatum
-task_summary_panel.due_date=Vervaldatum
-task_summary_panel.none=Geen
-task_summary_panel.priority=Prioriteit
-task_summary_panel.percent_completed=Percentage voltooid
-task_summary_panel.status=status
-task_summary_panel.completed=Voltooid
-task_summary_panel.yes=Ja
-task_summary_panel.no=Nee
-task_resource_panel.no_task_resources=Geen taakresources
\ No newline at end of file
diff --git a/config/alfresco/messages/portlets_pt_BR.properties b/config/alfresco/messages/portlets_pt_BR.properties
deleted file mode 100644
index e543fc27c0..0000000000
--- a/config/alfresco/messages/portlets_pt_BR.properties
+++ /dev/null
@@ -1,82 +0,0 @@
-portlets.refresh=Atualizar
-portlets.button.ok=OK
-portlets.button.cancel=Cancelar
-
-portlets.error.data_currently_unavailable=Dados indispon\u00edveis no momento.
-portlets.preview_currently_unavailable=Visualiza\u00e7\u00e3o indispon\u00edvel no momento.
-
-portlets.message.showing=Mostrando
-portlets.message.items=item(ns)
-portlets.message.showing_items=Mostrando {0} itens
-
-portlets.doclist.all_items=Todos os itens
-portlets.doclist.word_documents=Documentos do Word
-portlets.doclist.html_documents=Documentos HTML
-portlets.doclist.pdf_documents=Documentos PDF
-portlets.doclist.recently_modified=Modificados recentemente
-
-portlets.panel.description=Descri\u00e7\u00e3o
-portlets.panel.modified=Modificado
-portlets.panel.modified_by=Modificado por
-portlets.panel.created=Criado
-portlets.panel.created_by=Criado por
-portlets.panel.size=Tamanho
-portlets.panel.kb=KB
-
-portlets.myspaces.create_space=Criar espa\u00e7o
-portlets.myspaces.create_space.title=Criar novo espa\u00e7o
-portlets.myspaces.upload=Carregar
-portlets.myspaces.upload.title=Carregar um novo documento
-portlets.myspaces.name=Nome
-portlets.myspaces.title=T\u00edtulo
-portlets.myspaces.description=Descri\u00e7\u00e3o
-portlets.myspaces.all_items=Todos os itens
-portlets.myspaces.spaces=Espa\u00e7os
-portlets.myspaces.documents=Documentos
-portlets.myspaces.my_items=Meus itens
-portlets.myspaces.recently_modified=Modificados recentemente
-
-portlets.mywebfiles.showing_count_files_in_count_web_projects=Mostrando {0} arquivo(s) em {1} projeto(s) da Web
-portlets.mywebfiles.view_web_project=Exibir projeto da Web
-portlets.mywebfiles.my_modified_items=Meus itens modificados
-portlets.mywebfiles.edit=Editar
-portlets.mywebfiles.no_items_modified=N\u00e3o h\u00e1 itens modificados
-
-portlets.mywebforms.view_web_project=Exibir projeto da Web
-portlets.mywebforms.showing_count_forms_in_count_web_projects=Mostrando {0} formul\u00e1rio(s) em {1} projeto(s) da Web
-
-portlets.mytasks.tasks_to_do=Lista de tarefas
-portlets.mytasks.due_today=Conclus\u00e3o para hoje
-portlets.mytasks.next_7_days=Pr\u00f3ximos 7 dias
-portlets.mytasks.no_due_date=Sem Prazo
-portlets.mytasks.overdue=Atrasado
-portlets.mytasks.showing_overdue=atrasado
-portlets.mytasks.showing_task=tarefa(s)
-portlets.mytasks.showing_due_today=conclus\u00e3o para hoje
-portlets.mytasks.showing_due_next_week=conclus\u00e3o para a pr\u00f3xima semana
-portlets.mytasks.showing_with_no_due_date_set=sem prazo definido
-
-portlets.mytaskspanel.status=Status
-portlets.mytaskspanel.priority=Prioridade
-portlets.mytaskspanel.start_date=Data de in\u00edcio
-portlets.mytaskspanel.complete=Conclu\u00eddo
-portlets.mytaskspanel.manage_task=Gerenciar tarefas
-portlets.mytaskspanel.workflow_action=A\u00e7\u00e3o de fluxo de trabalho
-portlets.mytaskspanel.workflow_complited=conclu\u00eddo
-
-portlets.checkin.item_working_copy_of_name_has_been_checked_in=O item \\\''C\u00f3pia de trabalho de {0}\\\'' foi submetido a check-in.
-portlets.checkout.working_copy_for_the_checked_out=Foi criada uma c\u00f3pia de trabalho do item com check-out \\\''C\u00f3pia de trabalho de {0}\\\''.
-
-task_summary_panel.close=Fechar
-task_summary_panel.type=Tipo
-task_summary_panel.name=Nome
-task_summary_panel.start_date=Data de in\u00edcio
-task_summary_panel.due_date=Prazo
-task_summary_panel.none=Nenhum
-task_summary_panel.priority=Prioridade
-task_summary_panel.percent_completed=Porcentagem conclu\u00edda
-task_summary_panel.status=status
-task_summary_panel.completed=Conclu\u00eddo
-task_summary_panel.yes=Sim
-task_summary_panel.no=N\u00e3o
-task_resource_panel.no_task_resources=N\u00e3o h\u00e1 recursos de tarefas
diff --git a/config/alfresco/messages/portlets_ru.properties b/config/alfresco/messages/portlets_ru.properties
deleted file mode 100755
index e5e5ede86e..0000000000
--- a/config/alfresco/messages/portlets_ru.properties
+++ /dev/null
@@ -1,82 +0,0 @@
-portlets.refresh=\u041E\u0431\u043D\u043E\u0432\u0438\u0442\u044C
-portlets.button.ok=\u041E\u041A
-portlets.button.cancel=\u041E\u0442\u043C\u0435\u043D\u0430
-
-portlets.error.data_currently_unavailable=\u0412 \u043D\u0430\u0441\u0442\u043E\u044F\u0449\u0435\u0435 \u0432\u0440\u0435\u043C\u044F \u0434\u0430\u043D\u043D\u044B\u0435 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u043D\u044B.
-portlets.preview_currently_unavailable=\u0412 \u043D\u0430\u0441\u0442\u043E\u044F\u0449\u0435\u0435 \u0432\u0440\u0435\u043C\u044F \u043F\u0440\u0435\u0434\u0432\u0430\u0440\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440 \u043D\u0435\u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D.
-
-portlets.message.showing=\u041F\u043E\u043A\u0430\u0437\u0430\u043D\u043E
-portlets.message.items=\u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432
-portlets.message.showing_items=\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044F \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432: {0}
-
-portlets.doclist.all_items=\u0412\u0441\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B
-portlets.doclist.word_documents=\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B Word
-portlets.doclist.html_documents=HTML-\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B
-portlets.doclist.pdf_documents=PDF-\u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B
-portlets.doclist.recently_modified=\u041D\u0435\u0434\u0430\u0432\u043D\u043E \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u043D\u044B\u0435
-
-portlets.panel.description=\u041E\u043F\u0438\u0441\u0430\u043D\u0438\u0435
-portlets.panel.modified=\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u043E
-portlets.panel.modified_by=\u0418\u0437\u043C\u0435\u043D\u0435\u043D\u043E \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u0435\u043C
-portlets.panel.created=\u0421\u043E\u0437\u0434\u0430\u043D\u043E
-portlets.panel.created_by=\u0421\u043E\u0437\u0434\u0430\u043B
-portlets.panel.size=\u0420\u0430\u0437\u043C\u0435\u0440
-portlets.panel.kb=\u041A\u0411
-
-portlets.myspaces.create_space=\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u043F\u0440\u043E\u0441\u0442\u0440\u0430\u043D\u0441\u0442\u0432\u043E
-portlets.myspaces.create_space.title=\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u043D\u043E\u0432\u043E\u0435 \u043F\u0440\u043E\u0441\u0442\u0440\u0430\u043D\u0441\u0442\u0432\u043E
-portlets.myspaces.upload=\u041F\u0435\u0440\u0435\u0434\u0430\u0442\u044C
-portlets.myspaces.upload.title=\u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u043D\u043E\u0432\u044B\u0439 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442
-portlets.myspaces.name=\u0418\u043C\u044F
-portlets.myspaces.title=\u0417\u0430\u0433\u043E\u043B\u043E\u0432\u043E\u043A
-portlets.myspaces.description=\u041E\u043F\u0438\u0441\u0430\u043D\u0438\u0435
-portlets.myspaces.all_items=\u0412\u0441\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B
-portlets.myspaces.spaces=\u041F\u0440\u043E\u0441\u0442\u0440\u0430\u043D\u0441\u0442\u0432\u0430
-portlets.myspaces.documents=\u0414\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u044B
-portlets.myspaces.my_items=\u041C\u043E\u0438 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B
-portlets.myspaces.recently_modified=\u041D\u0435\u0434\u0430\u0432\u043D\u043E \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u043D\u044B\u0435
-
-portlets.mywebfiles.showing_count_files_in_count_web_projects=\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044F {0} \u0444\u0430\u0439\u043B\u043E\u0432 \u0432 {1} \u0432\u0435\u0431-\u043F\u0440\u043E\u0435\u043A\u0442\u0430\u0445
-portlets.mywebfiles.view_web_project=\u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u0432\u0435\u0431-\u043F\u0440\u043E\u0435\u043A\u0442
-portlets.mywebfiles.my_modified_items=\u041C\u043E\u0438 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u043D\u044B\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B
-portlets.mywebfiles.edit=\u0418\u0437\u043C\u0435\u043D\u0438\u0442\u044C
-portlets.mywebfiles.no_items_modified=\u041D\u0435\u0442 \u0438\u0437\u043C\u0435\u043D\u0435\u043D\u043D\u044B\u0445 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432
-
-portlets.mywebforms.view_web_project=\u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u0432\u0435\u0431-\u043F\u0440\u043E\u0435\u043A\u0442
-portlets.mywebforms.showing_count_forms_in_count_web_projects=\u041E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u0442\u0441\u044F {0} \u0444\u043E\u0440\u043C \u0432 {1} \u0432\u0435\u0431-\u043F\u0440\u043E\u0435\u043A\u0442\u0430\u0445
-
-portlets.mytasks.tasks_to_do=\u041D\u0430\u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044B\u0435 \u0437\u0430\u0434\u0430\u0447\u0438
-portlets.mytasks.due_today=\u0421\u043E \u0441\u0440\u043E\u043A\u043E\u043C \u0441\u0435\u0433\u043E\u0434\u043D\u044F
-portlets.mytasks.next_7_days=\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0435 7 \u0434\u043D\u0435\u0439
-portlets.mytasks.no_due_date=\u0411\u0435\u0437 \u0441\u0440\u043E\u043A\u0430 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F
-portlets.mytasks.overdue=\u041F\u0440\u043E\u0441\u0440\u043E\u0447\u0435\u043D\u043D\u044B\u0435
-portlets.mytasks.showing_overdue=\u043F\u0440\u043E\u0441\u0440\u043E\u0447\u0435\u043D\u043E
-portlets.mytasks.showing_task=\u0437\u0430\u0434\u0430\u0447\u0438
-portlets.mytasks.showing_due_today=\u0441\u043E \u0441\u0440\u043E\u043A\u043E\u043C \u0441\u0435\u0433\u043E\u0434\u043D\u044F
-portlets.mytasks.showing_due_next_week=\u0441\u043E \u0441\u0440\u043E\u043A\u043E\u043C \u043D\u0430 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0439 \u043D\u0435\u0434\u0435\u043B\u0435
-portlets.mytasks.showing_with_no_due_date_set=\u0431\u0435\u0437 \u0437\u0430\u0434\u0430\u043D\u043D\u043E\u0433\u043E \u0441\u0440\u043E\u043A\u0430 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F
-
-portlets.mytaskspanel.status=\u0421\u0442\u0430\u0442\u0443\u0441
-portlets.mytaskspanel.priority=\u041F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442
-portlets.mytaskspanel.start_date=\u0414\u0430\u0442\u0430 \u043D\u0430\u0447\u0430\u043B\u0430
-portlets.mytaskspanel.complete=\u0417\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E
-portlets.mytaskspanel.manage_task=\u0423\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u0435\u0439
-portlets.mytaskspanel.workflow_action=\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u0435 \u0431\u0438\u0437\u043D\u0435\u0441-\u043F\u0440\u043E\u0446\u0435\u0441\u0441\u0430
-portlets.mytaskspanel.workflow_complited=\u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E
-
-portlets.checkin.item_working_copy_of_name_has_been_checked_in=\u0418\u0437\u0432\u043B\u0435\u0447\u0435\u043D \u044D\u043B\u0435\u043C\u0435\u043D\u0442 "\u0420\u0430\u0431\u043E\u0447\u0430\u044F \u043A\u043E\u043F\u0438\u044F {0}".
-portlets.checkout.working_copy_for_the_checked_out=\u0421\u043E\u0437\u0434\u0430\u043D\u0430 \u0440\u0430\u0431\u043E\u0447\u0430\u044F \u043A\u043E\u043F\u0438\u044F \u0432\u044B\u0433\u0440\u0443\u0436\u0435\u043D\u043D\u043E\u0433\u043E \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430 "\u0420\u0430\u0431\u043E\u0447\u0430\u044F \u043A\u043E\u043F\u0438\u044F {0}".
-
-task_summary_panel.close=\u0417\u0430\u043A\u0440\u044B\u0442\u044C
-task_summary_panel.type=\u0422\u0438\u043F
-task_summary_panel.name=\u0418\u043C\u044F
-task_summary_panel.start_date=\u0414\u0430\u0442\u0430 \u043D\u0430\u0447\u0430\u043B\u0430
-task_summary_panel.due_date=\u0421\u0440\u043E\u043A
-task_summary_panel.none=\u041D\u0435\u0442
-task_summary_panel.priority=\u041F\u0440\u0438\u043E\u0440\u0438\u0442\u0435\u0442
-task_summary_panel.percent_completed=\u041F\u0440\u043E\u0446\u0435\u043D\u0442 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F
-task_summary_panel.status=\u0441\u0442\u0430\u0442\u0443\u0441
-task_summary_panel.completed=\u0417\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E
-task_summary_panel.yes=\u0414\u0430
-task_summary_panel.no=\u041D\u0435\u0442
-task_resource_panel.no_task_resources=\u041D\u0435\u0442 \u0440\u0435\u0441\u0443\u0440\u0441\u043E\u0432 \u0434\u043B\u044F \u0437\u0430\u0434\u0430\u0447\u0438
diff --git a/config/alfresco/messages/portlets_zh_CN.properties b/config/alfresco/messages/portlets_zh_CN.properties
deleted file mode 100755
index 3d42e19f0e..0000000000
--- a/config/alfresco/messages/portlets_zh_CN.properties
+++ /dev/null
@@ -1,82 +0,0 @@
-portlets.refresh=\u5237\u65B0
-portlets.button.ok=\u786E\u5B9A
-portlets.button.cancel=\u53D6\u6D88
-
-portlets.error.data_currently_unavailable=\u5BF9\u4E0D\u8D77\uFF0C\u6570\u636E\u5F53\u524D\u4E0D\u53EF\u7528\u3002
-portlets.preview_currently_unavailable=\u5BF9\u4E0D\u8D77\uFF0C\u9884\u89C8\u5F53\u524D\u4E0D\u53EF\u7528\u3002
-
-portlets.message.showing=\u6B63\u5728\u663E\u793A
-portlets.message.items=\u9879
-portlets.message.showing_items=\u6B63\u5728\u663E\u793A {0} \u9879
-
-portlets.doclist.all_items=\u6240\u6709\u9879
-portlets.doclist.word_documents=Word \u6587\u6863
-portlets.doclist.html_documents=HTML \u6587\u6863
-portlets.doclist.pdf_documents=PDF \u6587\u6863
-portlets.doclist.recently_modified=\u6700\u8FD1\u4FEE\u6539
-
-portlets.panel.description=\u8BF4\u660E
-portlets.panel.modified=\u4FEE\u6539\u65F6\u95F4
-portlets.panel.modified_by=\u4FEE\u6539\u8005
-portlets.panel.created=\u521B\u5EFA\u65F6\u95F4
-portlets.panel.created_by=\u521B\u5EFA\u8005
-portlets.panel.size=\u5927\u5C0F
-portlets.panel.kb=KB
-
-portlets.myspaces.create_space=\u521B\u5EFA\u7A7A\u95F4
-portlets.myspaces.create_space.title=\u521B\u5EFA\u65B0\u7A7A\u95F4
-portlets.myspaces.upload=\u4E0A\u4F20
-portlets.myspaces.upload.title=\u4E0A\u4F20\u65B0\u6587\u6863
-portlets.myspaces.name=\u540D\u79F0
-portlets.myspaces.title=\u6807\u9898
-portlets.myspaces.description=\u8BF4\u660E
-portlets.myspaces.all_items=\u6240\u6709\u9879
-portlets.myspaces.spaces=\u7A7A\u95F4
-portlets.myspaces.documents=\u6587\u6863
-portlets.myspaces.my_items=\u6211\u7684\u9879
-portlets.myspaces.recently_modified=\u6700\u8FD1\u4FEE\u6539
-
-portlets.mywebfiles.showing_count_files_in_count_web_projects=\u6B63\u5728\u663E\u793A {1} \u4E2A Web \u9879\u76EE\u4E2D\u7684 {0} \u4E2A\u6587\u4EF6
-portlets.mywebfiles.view_web_project=\u67E5\u770B Web \u9879\u76EE
-portlets.mywebfiles.my_modified_items=\u6211\u7684\u5DF2\u4FEE\u6539\u9879
-portlets.mywebfiles.edit=\u7F16\u8F91
-portlets.mywebfiles.no_items_modified=\u672A\u4FEE\u6539\u4EFB\u4F55\u9879
-
-portlets.mywebforms.view_web_project=\u67E5\u770B Web \u9879\u76EE
-portlets.mywebforms.showing_count_forms_in_count_web_projects=\u6B63\u5728\u663E\u793A {1} \u4E2A Web \u9879\u76EE\u4E2D\u7684 {0} \u4E2A\u7A97\u4F53
-
-portlets.mytasks.tasks_to_do=\u5F85\u529E\u4EFB\u52A1
-portlets.mytasks.due_today=\u4ECA\u5929\u5230\u671F
-portlets.mytasks.next_7_days=\u4ECA\u540E 7 \u5929
-portlets.mytasks.no_due_date=\u65E0\u622A\u6B62\u65E5\u671F
-portlets.mytasks.overdue=\u5EF6\u8BEF
-portlets.mytasks.showing_overdue=\u5EF6\u8BEF
-portlets.mytasks.showing_task=\u4EFB\u52A1
-portlets.mytasks.showing_due_today=\u4ECA\u5929\u5230\u671F
-portlets.mytasks.showing_due_next_week=\u4E0B\u5468\u5230\u671F
-portlets.mytasks.showing_with_no_due_date_set=\u672A\u8BBE\u7F6E\u622A\u6B62\u65E5\u671F
-
-portlets.mytaskspanel.status=\u72B6\u6001
-portlets.mytaskspanel.priority=\u4F18\u5148\u7EA7
-portlets.mytaskspanel.start_date=\u5F00\u59CB\u65E5\u671F
-portlets.mytaskspanel.complete=\u5B8C\u6210
-portlets.mytaskspanel.manage_task=\u7BA1\u7406\u4EFB\u52A1
-portlets.mytaskspanel.workflow_action=\u5DE5\u4F5C\u6D41\u7A0B\u64CD\u4F5C
-portlets.mytaskspanel.workflow_complited=\u5DF2\u5B8C\u6210
-
-portlets.checkin.item_working_copy_of_name_has_been_checked_in=\u9879\\\"{0} \u7684\u5DE5\u4F5C\u526F\u672C\\\"\u5DF2\u88AB\u7B7E\u5165\u3002
-portlets.checkout.working_copy_for_the_checked_out=\u5DF2\u4E3A\u7B7E\u51FA\u7684\u9879\\\"{0} \u7684\u5DE5\u4F5C\u526F\u672C\\\"\u521B\u5EFA\u4E86\u4E00\u4E2A\u5DE5\u4F5C\u526F\u672C\u3002
-
-task_summary_panel.close=\u5173\u95ED
-task_summary_panel.type=\u7C7B\u578B
-task_summary_panel.name=\u540D\u79F0
-task_summary_panel.start_date=\u5F00\u59CB\u65E5\u671F
-task_summary_panel.due_date=\u622A\u6B62\u65E5\u671F
-task_summary_panel.none=\u65E0
-task_summary_panel.priority=\u4F18\u5148\u7EA7
-task_summary_panel.percent_completed=\u5B8C\u6210\u767E\u5206\u6BD4
-task_summary_panel.status=\u72B6\u6001
-task_summary_panel.completed=\u5DF2\u5B8C\u6210
-task_summary_panel.yes=\u662F
-task_summary_panel.no=\u5426
-task_resource_panel.no_task_resources=\u65E0\u4EFB\u52A1\u8D44\u6E90
\ No newline at end of file
diff --git a/config/alfresco/portlets-context.xml b/config/alfresco/portlets-context.xml
deleted file mode 100644
index fc7255ecf6..0000000000
--- a/config/alfresco/portlets-context.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-
-
-
-
-
-
-
-
-
-
- alfresco.messages.portlets
-
-
-
-
-
\ No newline at end of file
diff --git a/source/java/org/alfresco/repo/web/scripts/servlet/AuthenticatorServlet.java b/source/java/org/alfresco/repo/web/scripts/servlet/AuthenticatorServlet.java
index a4fbcf87e5..297edd3dee 100644
--- a/source/java/org/alfresco/repo/web/scripts/servlet/AuthenticatorServlet.java
+++ b/source/java/org/alfresco/repo/web/scripts/servlet/AuthenticatorServlet.java
@@ -37,6 +37,7 @@ import org.springframework.extensions.webscripts.Description.RequiredAuthenticat
* looking glass' to this servlet and use the standard Alfresco servlet api-based authentication mechanisms.
*
* @author dward
+ * @deprecated 5.0 not exposed in web-client web.xml
*/
public class AuthenticatorServlet extends HttpServlet
{
diff --git a/source/java/org/alfresco/web/app/servlet/AdminAuthenticationFilter.java b/source/java/org/alfresco/web/app/servlet/AdminAuthenticationFilter.java
index 1af60cd290..485ed4555f 100644
--- a/source/java/org/alfresco/web/app/servlet/AdminAuthenticationFilter.java
+++ b/source/java/org/alfresco/web/app/servlet/AdminAuthenticationFilter.java
@@ -38,6 +38,7 @@ import org.apache.commons.logging.LogFactory;
* resource in the web client, for example the admin and jBPM consoles.
*
* @author gavinc
+ * @deprecated 5.0 not exposed in web-client web.xml
*/
public class AdminAuthenticationFilter implements Filter
{
diff --git a/source/java/org/alfresco/web/app/servlet/CommandServlet.java b/source/java/org/alfresco/web/app/servlet/CommandServlet.java
index 3f3385596c..60c88239fa 100644
--- a/source/java/org/alfresco/web/app/servlet/CommandServlet.java
+++ b/source/java/org/alfresco/web/app/servlet/CommandServlet.java
@@ -64,6 +64,7 @@ import org.apache.commons.logging.LogFactory;
* And/or also followed by the "?guest=true" argument to force guest access login for the URL.
*
* @author Kevin Roast
+ * @deprecated 5.0 not exposed in web-client web.xml
*/
public class CommandServlet extends BaseServlet
{
diff --git a/source/java/org/alfresco/web/app/servlet/ExternalAccessServlet.java b/source/java/org/alfresco/web/app/servlet/ExternalAccessServlet.java
index a0f6f9d0ea..edf0deb487 100644
--- a/source/java/org/alfresco/web/app/servlet/ExternalAccessServlet.java
+++ b/source/java/org/alfresco/web/app/servlet/ExternalAccessServlet.java
@@ -61,6 +61,7 @@ import org.apache.myfaces.shared_impl.renderkit.ViewSequenceUtils;
* And/or also followed by the "?guest=true" argument to force guest access login for the URL.
*
* @author Kevin Roast
+ * @deprecated 5.0 not exposed in web-client web.xml
*/
public class ExternalAccessServlet extends BaseServlet
{
diff --git a/source/java/org/alfresco/web/app/servlet/GuestTemplateContentServlet.java b/source/java/org/alfresco/web/app/servlet/GuestTemplateContentServlet.java
index 08ecb621df..f9af14c907 100644
--- a/source/java/org/alfresco/web/app/servlet/GuestTemplateContentServlet.java
+++ b/source/java/org/alfresco/web/app/servlet/GuestTemplateContentServlet.java
@@ -76,6 +76,7 @@ import org.apache.commons.logging.LogFactory;
* resource this servlet can be used without logging out the current user.
*
* @author gavinc
+ * @deprecated 5.0 not exposed in web-client web.xml
*/
public class GuestTemplateContentServlet extends BaseTemplateContentServlet
{
diff --git a/source/java/org/alfresco/web/app/servlet/JBPMDeployProcessServlet.java b/source/java/org/alfresco/web/app/servlet/JBPMDeployProcessServlet.java
index 9b4d1a1e2e..740e4bac30 100644
--- a/source/java/org/alfresco/web/app/servlet/JBPMDeployProcessServlet.java
+++ b/source/java/org/alfresco/web/app/servlet/JBPMDeployProcessServlet.java
@@ -50,6 +50,7 @@ import org.springframework.web.context.support.WebApplicationContextUtils;
* Servlet for handling process deployments from jBPM process designer.
*
* @author davidc
+ * @deprecated 5.0 not exposed in web-client web.xml
*/
public class JBPMDeployProcessServlet extends HttpServlet
{
diff --git a/source/java/org/alfresco/web/app/servlet/ModeDetectionFilter.java b/source/java/org/alfresco/web/app/servlet/ModeDetectionFilter.java
index d7c3b67e7a..9fee7545c5 100644
--- a/source/java/org/alfresco/web/app/servlet/ModeDetectionFilter.java
+++ b/source/java/org/alfresco/web/app/servlet/ModeDetectionFilter.java
@@ -36,6 +36,7 @@ import org.alfresco.web.app.Application;
* the application is running inside a servlet engine.
*
* @author gavinc
+ * @deprecated 5.0 not exposed in web-client web.xml
*/
public class ModeDetectionFilter implements Filter
{
diff --git a/source/java/org/alfresco/web/app/servlet/TemplateContentServlet.java b/source/java/org/alfresco/web/app/servlet/TemplateContentServlet.java
index 8fd80f1a37..e5444f6b31 100644
--- a/source/java/org/alfresco/web/app/servlet/TemplateContentServlet.java
+++ b/source/java/org/alfresco/web/app/servlet/TemplateContentServlet.java
@@ -65,6 +65,7 @@ import org.apache.commons.logging.LogFactory;
* will be redirected to.
*
* @author Kevin Roast
+ * @deprecated 5.0 not exposed in web-client web.xml
*/
public class TemplateContentServlet extends BaseTemplateContentServlet
{
diff --git a/source/java/org/alfresco/web/app/servlet/UploadFileServlet.java b/source/java/org/alfresco/web/app/servlet/UploadFileServlet.java
index 3573ffa463..7e467bfa1d 100644
--- a/source/java/org/alfresco/web/app/servlet/UploadFileServlet.java
+++ b/source/java/org/alfresco/web/app/servlet/UploadFileServlet.java
@@ -57,6 +57,7 @@ import org.springframework.web.context.support.WebApplicationContextUtils;
* UploadFileBean in the session
*
* @author gavinc
+ * @deprecated 5.0 not exposed in web-client web.xml
*/
public class UploadFileServlet extends BaseServlet
{
diff --git a/source/java/org/alfresco/web/app/servlet/WorkflowDefinitionImageServlet.java b/source/java/org/alfresco/web/app/servlet/WorkflowDefinitionImageServlet.java
index cb0bedd9c6..153c9cd605 100644
--- a/source/java/org/alfresco/web/app/servlet/WorkflowDefinitionImageServlet.java
+++ b/source/java/org/alfresco/web/app/servlet/WorkflowDefinitionImageServlet.java
@@ -34,8 +34,9 @@ import org.springframework.web.context.WebApplicationContext;
import org.springframework.web.context.support.WebApplicationContextUtils;
-/*
+/**
* Render Workflow Definition Image
+ * @deprecated 5.0 not exposed in web-client web.xml
*/
public class WorkflowDefinitionImageServlet extends HttpServlet
{
diff --git a/source/java/org/alfresco/web/app/servlet/ajax/AjaxServlet.java b/source/java/org/alfresco/web/app/servlet/ajax/AjaxServlet.java
index 18394a117f..d56fe2826c 100644
--- a/source/java/org/alfresco/web/app/servlet/ajax/AjaxServlet.java
+++ b/source/java/org/alfresco/web/app/servlet/ajax/AjaxServlet.java
@@ -47,6 +47,7 @@ import org.apache.commons.logging.LogFactory;
* ?ticket=1234567890
*
* @author gavinc
+ * @deprecated 5.0 not exposed in web-client web.xml
*/
public class AjaxServlet extends BaseServlet
{
diff --git a/source/web/WEB-INF/alfresco-object.xml b/source/web/WEB-INF/alfresco-object.xml
deleted file mode 100644
index fec5ff7a1f..0000000000
--- a/source/web/WEB-INF/alfresco-object.xml
+++ /dev/null
@@ -1,26 +0,0 @@
-
-
-
- overwrite
- default
-
-
- Alfresco
-
-
- AlfrescoClientWindow
- AlfrescoClientInstance
- true
- center
- 0
-
-
-
-
- overwrite
-
- AlfrescoClientInstance
- alfresco.AlfrescoClient
-
-
-
diff --git a/source/web/WEB-INF/alfresco.tld b/source/web/WEB-INF/alfresco.tld
deleted file mode 100644
index 04c51d8582..0000000000
--- a/source/web/WEB-INF/alfresco.tld
+++ /dev/null
@@ -1,2288 +0,0 @@
-
-
-
-
-
- 1.0
- 1.2
- a
- Alfresco Common JSF Components
-
- Tag library consisting of Alfresco common JSF components i.e. those that
- can be used in non-Alfresco projects
-
-
-
- inputDatePicker
- org.alfresco.web.ui.common.tag.InputDatePickerTag
- JSP
- Date Picker
-
- Provides a custom renderer to display an input component with year, month, day drop-downs
-
-
-
- id
- false
- true
- The component identifier for this component
-
-
-
- value
- false
- true
- The current value of this component
-
-
-
- binding
- false
- true
- The value binding expression linking this component to a property in a backing bean
-
-
-
- rendered
- false
- true
-
-
-
- styleClass
- false
- true
-
-
-
- style
- false
- true
-
-
-
- startYear
- false
- true
- The year to appear first in the list
-
-
-
- yearCount
- false
- true
- The number of years to display in the list
-
-
-
- showTime
- false
- true
- Determines whether to show the time
-
-
-
- initialiseIfNull
- false
- true
-
- Whether to initialise the control showing today's date if the
- underlying value in the model is null. This will also hide the
- None button thus disallowing the user to set the date back to null.
-
-
-
-
- noneLabel
- false
- true
-
- Label to use when there is no date currently set
-
-
-
-
-
- richList
- org.alfresco.web.ui.common.tag.data.RichListTag
- JSP
-
-
- The RichList component is capable of rendering a list of java bean objects in multiple rendering
- modes. A List of objects is bound to the component through the value attribute and components
- within the list can bind to specific fields (columns) through getter methods for each bean object
- within the list. The component provides mechanism to page and sort data through additional
- components
-
-
-
- id
- false
- true
-
-
-
- value
- false
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- styleClass
- false
- true
-
-
-
- style
- false
- true
-
-
-
- headerStyleClass
- false
- true
-
-
-
- rowStyleClass
- false
- true
-
-
-
- altRowStyleClass
- false
- true
-
-
-
- width
- false
- true
-
-
-
- var
- false
- true
-
-
-
- initialSortColumn
- false
- true
-
-
-
- initialSortDescending
- false
- true
-
-
-
- listConfig
- false
- true
-
-
-
- viewMode
- false
- true
-
-
-
- pageSize
- false
- true
-
-
-
- refreshOnBind
- false
- true
-
-
-
-
- column
- org.alfresco.web.ui.common.tag.data.ColumnTag
- JSP
-
-
- The column component is a child of a data container component such as the RichList. It should
- always be contained within such a component. A column is simply a container for other components
- which are themselves bound to values from the current row supplied when the parent data container
- iterates over its content. The column has several well known facet components which can be used to
- specify child components used for specific purposes during the list rendering process.
-
-
-
- id
- false
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- styleClass
- false
- true
-
-
-
- style
- false
- true
-
-
-
- primary
- false
- true
-
-
-
- actions
- false
- true
-
-
-
- width
- false
- true
-
-
-
-
- sortLink
- org.alfresco.web.ui.common.tag.data.SortLinkTag
- JSP
-
-
- The sortLink component enables the user to sort a dataset by clicking an HTML link. The component
- must be a child of a data component. It is generally contained inside a header facet component
- within a column component. It automatically handles sorting of the appropriate data type for the
- column bean getter method it is bound too. The control displays a small clickable icon to indicate
- sorting direction and the direction of sorting can be toggled by clicking the icon. The component
- does not require any developer intervention and therefore does not provide action command listeners.
-
-
-
- id
- false
- true
-
-
-
- value
- true
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- tooltip
- false
- true
-
-
-
- styleClass
- false
- true
-
-
-
- style
- false
- true
-
-
-
- tooltip
- false
- true
-
-
-
- mode
- false
- true
-
-
-
- label
- true
- true
-
-
-
-
- dataPager
- org.alfresco.web.ui.common.tag.data.DataPagerTag
- JSP
-
-
- The dataPager component enables a user to page through a large dataset. The component must be a
- child of a data component. It is generally contained within the footer area of a richList component
- or similar. The component keeps track of the current page and displays it to the user. The
- component does not require any developer intervention and therefore does not provide action
- command listeners.
-
-
-
- id
- false
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- styleClass
- false
- true
-
-
-
- style
- false
- true
-
-
-
- dataPagerType
- false
- true
-
-
-
- displayInput
- false
- true
-
-
-
-
- panel
- org.alfresco.web.ui.common.tag.PanelTag
- JSP
-
-
- The progressive panel component enables the user to hide/show areas of the UI to progressive
- display more complex areas of the UI as required. It also allows the developer to surround an
- area of the UI with an attractive graphical border and title label. The component tags can
- contain any combination of HTML or child JSF components. IMPORTANT NOTE: Currently there is an
- issue in the SunRI and MyFaces impl of JSF whereby all child components of the panel must have an
- id attribute specified if a progressive style panel is used - else an exception will occur when the
- panel visibility is toggled by the user!
-
-
-
- id
- true
- true
-
-
-
- value
- false
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- styleClass
- false
- true
-
-
-
- style
- false
- true
-
-
-
- border
- false
- true
-
-
-
- bgcolor
- false
- true
-
-
-
- progressive
- false
- true
-
-
-
- label
- false
- true
-
-
-
- titleBorder
- false
- true
-
-
-
- expandedTitleBorder
- false
- true
-
-
-
- titleBgcolor
- false
- true
-
-
-
- expanded
- false
- true
-
-
-
- expandedActionListener
- false
- true
-
-
-
- facetsId
- false
- true
-
-
-
-
- breadcrumb
- org.alfresco.web.ui.common.tag.BreadcrumbTag
- JSP
-
-
- The breadcrumb component enables the manipulation and display of a separated path string. It
- displays HTML links to enable the user to immediately select any part of the breadcrumb path.
- The breadcrumb provides standard action and actionListener command properties for developers to
- handle user interaction with the component.
-
-
-
- id
- false
- true
-
-
-
- value
- true
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- tooltip
- false
- true
-
-
-
- action
- false
- true
-
-
-
- actionListener
- false
- true
-
-
-
- style
- false
- true
-
-
-
- styleClass
- false
- true
-
-
-
- separator
- false
- true
-
-
-
- showRoot
- false
- true
-
-
-
-
- actionLink
- org.alfresco.web.ui.common.tag.ActionLinkTag
- JSP
-
-
- The actionLink component provides the user with a clickable link, image or both to represent an
- action in the UI. The component provides standard action and actionListener command properties
- for developers to handle user interaction.
-
-
-
- id
- false
- true
-
-
-
- value
- true
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- action
- false
- true
-
-
-
- actionListener
- false
- true
-
-
-
- href
- false
- true
-
-
-
- target
- false
- true
-
-
-
- style
- false
- true
-
-
-
- styleClass
- false
- true
-
-
-
- tooltip
- false
- true
-
-
-
- image
- false
- true
-
-
-
- verticalAlign
- false
- true
-
-
-
- showLink
- false
- true
-
-
-
- padding
- false
- true
-
-
-
- onclick
- false
- true
-
-
-
- immediate
- false
- true
-
-
-
-
- booleanEvaluator
- org.alfresco.web.ui.common.tag.evaluator.BooleanEvaluatorTag
- JSP
-
-
- id
- false
- true
-
-
-
- value
- true
- true
-
-
-
- binding
- false
- true
-
-
-
-
- valueSetEvaluator
- org.alfresco.web.ui.common.tag.evaluator.ValueSetEvaluatorTag
- JSP
-
-
- id
- false
- true
-
-
-
- value
- true
- true
-
-
-
- binding
- false
- true
-
-
-
-
- stringEqualsEvaluator
- org.alfresco.web.ui.common.tag.evaluator.StringEqualsEvaluatorTag
- JSP
-
-
- id
- false
- true
-
-
-
- value
- true
- true
-
-
-
- binding
- false
- true
-
-
-
- condition
- true
- true
-
-
-
-
- menu
- org.alfresco.web.ui.common.tag.MenuTag
- JSP
-
-
- The menu component displays a pop-up DHTML menu containing multiple ActionLink components.
- A simple link and/or image is displayed to the user, which when clicked will pop-up a menu of
- items. Each item is an ActionLink component with the image part rendered as the icon for the menu
- item. Evaluators can be used to wrap ActionLink components or simply use the rendered attribute
- directly to hide/show items as needed.
-
-
-
- id
- false
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- tooltip
- false
- true
-
-
-
- style
- false
- true
-
-
-
- styleClass
- false
- true
-
-
-
- menuStyle
- false
- true
-
-
-
- menuStyleClass
- false
- true
-
-
-
- itemSpacing
- false
- true
-
-
-
- label
- false
- true
-
-
-
- image
- false
- true
-
-
-
-
- modeList
- org.alfresco.web.ui.common.tag.ModeListTag
- JSP
-
-
- The ModeList component displays a graphical list of items, each with a label and optional icon
- image. Only one of the items can be selected at any time. The currently selected item is shown in
- a different style. When the selection is changed by the user, the component updates and fires a
- standard actionListener event. Each item in the ModeList is represented by a ModeListItem
- component. This component supplies the label, optional icon and also a value which is set as the
- current value of the ModeList component when it becomes the selected item. The value can be
- retrieved from the component during the actionListener event handler.
- This component can be optionally rendered horizontally to display a toolbar like UI element. It
- also features a large number of configurable CSS style elements to make it highly flexible in
- rendering style.
-
-
-
- id
- false
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- style
- false
- true
-
-
-
- styleClass
- false
- true
-
-
-
- labelStyle
- false
- true
-
-
-
- labelStyleClass
- false
- true
-
-
-
- itemStyle
- false
- true
-
-
-
- itemStyleClass
- false
- true
-
-
-
- disabledStyle
- false
- true
-
-
-
- disabledStyleClass
- false
- true
-
-
-
- itemLinkStyle
- false
- true
-
-
-
- itemLinkStyleClass
- false
- true
-
-
-
- selectedStyle
- false
- true
-
-
-
- selectedStyleClass
- false
- true
-
-
-
- selectedLinkStyle
- false
- true
-
-
-
- selectedLinkStyleClass
- false
- true
-
-
-
- selectedImage
- false
- true
-
-
-
- itemSpacing
- false
- true
-
-
-
- horizontal
- false
- true
-
-
-
- iconColumnWidth
- true
- true
-
-
-
- width
- false
- true
-
-
-
- label
- false
- true
-
-
-
- action
- false
- true
-
-
-
- actionListener
- false
- true
-
-
-
- value
- false
- true
-
-
-
- disabled
- false
- true
-
-
-
- menu
- false
- true
-
-
-
- menuImage
- false
- true
-
-
-
-
- listItem
- org.alfresco.web.ui.common.tag.ListItemTag
- JSP
-
-
- Represents a single item within the ModeList component.
-
-
-
- id
- false
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- tooltip
- false
- true
-
-
-
- label
- false
- true
-
-
-
- description
- false
- true
-
-
-
- image
- false
- true
-
-
-
- value
- true
- true
-
-
-
- disabled
- false
- true
-
-
-
-
- listItems
- org.alfresco.web.ui.common.tag.ListItemsTag
- JSP
-
- Represents listItem components held in a Map or List object
-
-
- id
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- value
- true
- true
-
-
-
- cacheValue
- false
- true
-
-
-
-
- imagePickerRadio
- org.alfresco.web.ui.common.tag.ImagePickerRadioTag
- JSP
-
-
- The image picker component displays a list of images, of which one can be selected via radio
- buttons. The list can be configured to display the images in any number of columns. Each item
- in the list is represented by the modeListItem tag defined by the ModeList component.
- A spacing (between the elements in the list) can be configured as well as the inline style or
- CSS class for the list
-
-
-
- id
- false
- true
-
-
-
- value
- false
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- spacing
- false
- true
-
-
-
- columns
- false
- true
-
-
-
- style
- false
- true
-
-
-
- styleClass
- false
- true
-
-
-
- onclick
- false
- true
-
-
-
- configSection
- false
- true
-
-
-
-
- imagePickerRadioPanel
- org.alfresco.web.ui.common.tag.ImagePickerRadioPanelTag
- JSP
-
-
- This component simply renders the image picker component inside a rounded
- corner panel.
-
-
-
- panelBorder
- true
- true
-
-
-
- panelBgcolor
- true
- true
-
-
-
- id
- false
- true
-
-
-
- value
- false
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- spacing
- false
- true
-
-
-
- columns
- false
- true
-
-
-
- style
- false
- true
-
-
-
- styleClass
- false
- true
-
-
-
- onclick
- false
- true
-
-
-
- configSection
- false
- true
-
-
-
-
- convertXMLDate
- org.alfresco.web.ui.common.tag.XMLDateConverterTag
- JSP
-
-
- Allows the XMLDateConverter to be used on a page
-
-
-
- dateStyle
- false
- true
-
-
-
- locale
- false
- true
-
-
-
- pattern
- false
- true
-
-
-
- timeStyle
- false
- true
-
-
-
- timeZone
- false
- true
-
-
-
- type
- false
- true
-
-
-
-
- convertSize
- org.alfresco.web.ui.common.tag.ByteSizeConverterTag
- JSP
-
-
- Allows the ByteSizeConverter to be used on a page
-
-
-
-
- convertBoolean
- org.alfresco.web.ui.common.tag.BooleanLabelConverterTag
- JSP
-
-
- Allows the BooleanLabelConverter to be used on a page
-
-
-
-
- convertMultiValue
- org.alfresco.web.ui.common.tag.MultiValueConverterTag
- JSP
-
-
- Allows the MulitValueConverter to be used on a page
-
-
-
-
- dynamicDescription
- org.alfresco.web.ui.common.tag.description.DynamicDescriptionTag
- JSP
-
-
- Displays a description that dynamically changes when another input
- control on the page changes state
-
-
-
- id
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- selected
- false
- true
-
-
-
- functionName
- false
- true
-
-
-
-
- description
- org.alfresco.web.ui.common.tag.description.DescriptionTag
- JSP
-
- Represents a description option
-
-
- id
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- controlValue
- true
- true
-
-
-
- text
- true
- true
-
-
-
-
- descriptions
- org.alfresco.web.ui.common.tag.description.DescriptionsTag
- JSP
-
- Represents description options held in a Map object
-
-
- id
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- value
- true
- true
-
-
-
-
- errors
- org.alfresco.web.ui.common.tag.ErrorsTag
- JSP
-
- Displays global errors within a gradient panel
-
-
- id
- false
- true
-
-
-
- message
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- styleClass
- false
- true
-
-
-
- infoClass
- false
- true
-
-
-
- errorClass
- false
- true
-
-
-
- style
- false
- true
-
-
-
- tooltip
- false
- true
-
-
-
-
- httpSessionState
- org.alfresco.web.ui.common.tag.debug.HttpSessionStateTag
- JSP
- Displays the current HTTP Session state in a table
-
-
- id
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- title
- false
- true
-
-
-
-
- httpRequestState
- org.alfresco.web.ui.common.tag.debug.HttpRequestStateTag
- JSP
- Displays the current HTTP request state in a table
-
-
- id
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- title
- false
- true
-
-
-
-
- httpRequestParams
- org.alfresco.web.ui.common.tag.debug.HttpRequestParamsTag
- JSP
- Displays the current HTTP request parameters in a table
-
-
- id
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- title
- false
- true
-
-
-
-
- httpRequestHeaders
- org.alfresco.web.ui.common.tag.debug.HttpRequestHeadersTag
- JSP
- Displays the current HTTP request headers in a table
-
-
- id
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- title
- false
- true
-
-
-
-
- httpApplicationState
- org.alfresco.web.ui.common.tag.debug.HttpApplicationStateTag
- JSP
- Displays the current HTTP Application state in a table
-
-
- id
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- title
- false
- true
-
-
-
-
- systemProperties
- org.alfresco.web.ui.common.tag.debug.SystemPropertiesTag
- JSP
- Displays the system properties of the VM in a table
-
-
- id
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- title
- false
- true
-
-
-
-
- repositoryProperties
- org.alfresco.web.ui.common.tag.debug.RepositoryPropertiesTag
- JSP
- Displays the Alfresco Repository properties in a table
-
-
- id
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- title
- false
- true
-
-
-
-
- genericPicker
- org.alfresco.web.ui.common.tag.GenericPickerTag
- JSP
-
-
- id
- false
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- showFilter
- false
- true
-
-
-
- showContains
- false
- true
-
-
-
- showAddButton
- false
- true
-
-
-
- filterRefresh
- false
- true
-
-
-
- multiSelect
- false
- true
-
-
-
- addButtonLabel
- false
- true
-
-
-
- searchButtonLabel
- false
- true
-
-
-
- action
- false
- true
-
-
-
- actionListener
- false
- true
-
-
-
- width
- false
- true
-
-
-
- height
- false
- true
-
-
-
- filters
- false
- true
-
-
-
- queryCallback
- true
- true
-
-
-
-
- outputText
- org.alfresco.web.ui.common.tag.OutputTextTag
- JSP
-
-
- id
- false
- true
-
-
-
- value
- true
- true
-
-
-
- styleClass
- false
- true
-
-
-
- style
- false
- true
-
-
-
- encodeForJavaScript
- false
- true
-
-
-
-
- statusMessage
- org.alfresco.web.ui.common.tag.StatusMessageTag
- JSP
-
-
- The Status Message component collects and displays the last N JSF messages with a well
- known message Id of "status". The last message collected is display, the messages can be
- paged through by the user. The last N messages are stored in a stack for display.
-
-
-
- id
- false
- true
-
-
-
- value
- false
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- styleClass
- false
- true
-
-
-
- style
- false
- true
-
-
-
- border
- false
- true
-
-
-
- bgcolor
- false
- true
-
-
-
- label
- false
- true
-
-
-
-
- selectList
- org.alfresco.web.ui.common.tag.SelectListTag
- JSP
-
-
- The SelectList component displays a graphical list of items, each with a label and icon image.
- The list has three selection modes; single select (radio), multi-select (checkbox) and active
- selection mode (child action components).
- The value for the component is collection of UIListItem objects or a UIListItems instance.
- For passive single and multi-select modes, the selected value(s) can be retrieved from the component.
- For active selection mode, appropriate child components such as Command buttons or Action Links
- will be rendered for each item in the list, data-binding to the specified 'var' variable should be
- used to bind required params. It is then up to the developer to retrieve the selected item param
- from the actionListener of the appropriate child component.
-
-
-
- id
- false
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- style
- false
- true
-
-
-
- styleClass
- false
- true
-
-
-
- itemStyle
- false
- true
-
-
-
- itemStyleClass
- false
- true
-
-
-
- var
- false
- true
-
-
-
- multiSelect
- false
- true
-
-
-
- activeSelect
- false
- true
-
-
-
- onchange
- false
- true
-
-
-
- value
- false
- true
-
-
-
- values
- false
- true
-
-
-
- escapeItemLabel
- false
- true
-
-
-
- escapeItemDescription
- false
- true
-
-
-
-
-
-
- graphicImageExprEnable
- org.apache.myfaces.taglib.html.HtmlGraphicImageTag
- JSP
-
- Renders an HTML img element.
-
- Unless otherwise specified, all attributes accept static values
- or EL expressions.
-
-
-
-
- id
- false
- true
- java.lang.String
-
- The developer-assigned ID of this component. The ID must be unique
- within the scope of the tag's enclosing naming container (e.g.
- h:form or f:subview). This value must be a static value.
-
-
-
- binding
- false
- false
- java.lang.String
-
- Identifies a backing bean property (of type UIComponent or appropriate
- subclass) to bind to this component instance. This value must be an
- EL expression.
-
-
-
- rendered
- false
- false
- java.lang.String
-
- A boolean value that indicates whether this component should be rendered.
- Default value: true.
-
-
-
- url
- false
- false
- java.lang.String
-
- An alias for the "value" attribute.
-
-
-
- value
- false
- false
- java.lang.String
-
- The URL of the image. If the URL starts with a '/', it is relative
- to the context path of the web application.
-
-
-
-
- dir
- false
- false
- HTML: The direction of text display, either 'ltr' (left-to-right) or 'rtl' (right-to-left).
-
-
- lang
- false
- false
- HTML: The base language of this document.
-
-
- style
- false
- false
- HTML: CSS styling instructions.
-
-
- title
- false
- false
- HTML: An advisory title for this element. Often used by the user agent as a tooltip.
-
-
- styleClass
- false
- false
- The CSS class for this element. Corresponds to the HTML 'class' attribute.
-
-
-
- onclick
- false
- false
- HTML: Script to be invoked when the element is clicked.
-
-
- ondblclick
- false
- false
- HTML: Script to be invoked when the element is double-clicked.
-
-
- onmousedown
- false
- false
- HTML: Script to be invoked when the pointing device is pressed over this element.
-
-
- onmouseup
- false
- false
- HTML: Script to be invoked when the pointing device is released over this element.
-
-
- onmouseover
- false
- false
- HTML: Script to be invoked when the pointing device is moved into this element.
-
-
- onmousemove
- false
- false
- HTML: Script to be invoked when the pointing device is moved while it is in this element.
-
-
- onmouseout
- false
- false
- HTML: Script to be invoked when the pointing device is moves out of this element.
-
-
- onkeypress
- false
- false
- HTML: Script to be invoked when a key is pressed over this element.
-
-
- onkeydown
- false
- false
- HTML: Script to be invoked when a key is pressed down over this element.
-
-
- onkeyup
- false
- false
- HTML: Script to be invoked when a key is released over this element.
-
-
-
- alt
- false
- false
- java.lang.String
- HTML: Specifies alternative text that can be used by a browser that can't show this element.
-
-
- height
- false
- false
- java.lang.String
- HTML: Overrides the natural height of this image, by specifying height in pixels.
-
-
- ismap
- false
- false
- java.lang.String
- HTML: Specifies server-side image map handling for this image.
-
-
- longdesc
- false
- false
- java.lang.String
- HTML: A link to a long description of the image.
-
-
-
-
- usemap
- false
- false
- java.lang.String
- HTML: Specifies an image map to use with this image.
-
-
- width
- false
- false
- java.lang.String
- HTML: Overrides the natural width of this image, by specifying width in pixels.
-
-
-
-
-
-
-
- param
- org.apache.myfaces.taglib.core.ParamTag
- JSP
-
- Add a child UIParameter component to the UIComponent
- associated with the closed parent UIComponent custom action.
-
-
-
- binding
- false
- false
-
- Value binding expression to a backing bean property
- bound to the component instance for the UIComponent
- created by this custom action.
-
-
-
-
- id
- false
- true
-
- Component identifier of the UIParameter component to be created.
-
-
-
-
- name
- false
- true
-
- Name of the parameter to be created.
-
-
-
-
- value
- true
- true
- Value of the parameter to be set.
-
-
-
-
diff --git a/source/web/WEB-INF/c.tld b/source/web/WEB-INF/c.tld
deleted file mode 100644
index 22698c97dc..0000000000
--- a/source/web/WEB-INF/c.tld
+++ /dev/null
@@ -1,563 +0,0 @@
-
-
-
-
- JSTL 1.1 core library
- JSTL core
- 1.1
- c
- http://java.sun.com/jsp/jstl/core
-
-
-
- Provides core validation features for JSTL tags.
-
-
- org.apache.taglibs.standard.tlv.JstlCoreTLV
-
-
-
-
-
- Catches any Throwable that occurs in its body and optionally
- exposes it.
-
- catch
- org.apache.taglibs.standard.tag.common.core.CatchTag
- JSP
-
-
-Name of the exported scoped variable for the
-exception thrown from a nested action. The type of the
-scoped variable is the type of the exception thrown.
-
- var
- false
- false
-
-
-
-
-
- Simple conditional tag that establishes a context for
- mutually exclusive conditional operations, marked by
- <when> and <otherwise>
-
- choose
- org.apache.taglibs.standard.tag.common.core.ChooseTag
- JSP
-
-
-
-
- Simple conditional tag, which evalutes its body if the
- supplied condition is true and optionally exposes a Boolean
- scripting variable representing the evaluation of this condition
-
- if
- org.apache.taglibs.standard.tag.rt.core.IfTag
- JSP
-
-
-The test condition that determines whether or
-not the body content should be processed.
-
- test
- true
- true
- boolean
-
-
-
-Name of the exported scoped variable for the
-resulting value of the test condition. The type
-of the scoped variable is Boolean.
-
- var
- false
- false
-
-
-
-Scope for var.
-
- scope
- false
- false
-
-
-
-
-
- Retrieves an absolute or relative URL and exposes its contents
- to either the page, a String in 'var', or a Reader in 'varReader'.
-
- import
- org.apache.taglibs.standard.tag.rt.core.ImportTag
- org.apache.taglibs.standard.tei.ImportTEI
- JSP
-
-
-The URL of the resource to import.
-
- url
- true
- true
-
-
-
-Name of the exported scoped variable for the
-resource's content. The type of the scoped
-variable is String.
-
- var
- false
- false
-
-
-
-Scope for var.
-
- scope
- false
- false
-
-
-
-Name of the exported scoped variable for the
-resource's content. The type of the scoped
-variable is Reader.
-
- varReader
- false
- false
-
-
-
-Name of the context when accessing a relative
-URL resource that belongs to a foreign
-context.
-
- context
- false
- true
-
-
-
-Character encoding of the content at the input
-resource.
-
- charEncoding
- false
- true
-
-
-
-
-
- The basic iteration tag, accepting many different
- collection types and supporting subsetting and other
- functionality
-
- forEach
- org.apache.taglibs.standard.tag.rt.core.ForEachTag
- org.apache.taglibs.standard.tei.ForEachTEI
- JSP
-
-
-Collection of items to iterate over.
-
- items
- false
- true
- java.lang.Object
-
-
-
-If items specified:
-Iteration begins at the item located at the
-specified index. First item of the collection has
-index 0.
-If items not specified:
-Iteration begins with index set at the value
-specified.
-
- begin
- false
- true
- int
-
-
-
-If items specified:
-Iteration ends at the item located at the
-specified index (inclusive).
-If items not specified:
-Iteration ends when index reaches the value
-specified.
-
- end
- false
- true
- int
-
-
-
-Iteration will only process every step items of
-the collection, starting with the first one.
-
- step
- false
- true
- int
-
-
-
-Name of the exported scoped variable for the
-current item of the iteration. This scoped
-variable has nested visibility. Its type depends
-on the object of the underlying collection.
-
- var
- false
- false
-
-
-
-Name of the exported scoped variable for the
-status of the iteration. Object exported is of type
-javax.servlet.jsp.jstl.core.LoopTagStatus. This scoped variable has nested
-visibility.
-
- varStatus
- false
- false
-
-
-
-
-
- Iterates over tokens, separated by the supplied delimeters
-
- forTokens
- org.apache.taglibs.standard.tag.rt.core.ForTokensTag
- JSP
-
-
-String of tokens to iterate over.
-
- items
- true
- true
- java.lang.String
-
-
-
-The set of delimiters (the characters that
-separate the tokens in the string).
-
- delims
- true
- true
- java.lang.String
-
-
-
-Iteration begins at the token located at the
-specified index. First token has index 0.
-
- begin
- false
- true
- int
-
-
-
-Iteration ends at the token located at the
-specified index (inclusive).
-
- end
- false
- true
- int
-
-
-
-Iteration will only process every step tokens
-of the string, starting with the first one.
-
- step
- false
- true
- int
-
-
-
-Name of the exported scoped variable for the
-current item of the iteration. This scoped
-variable has nested visibility.
-
- var
- false
- false
-
-
-
-Name of the exported scoped variable for the
-status of the iteration. Object exported is of
-type
-javax.servlet.jsp.jstl.core.LoopTag
-Status. This scoped variable has nested
-visibility.
-
- varStatus
- false
- false
-
-
-
-
-
- Like <%= ... >, but for expressions.
-
- out
- org.apache.taglibs.standard.tag.rt.core.OutTag
- JSP
-
-
-Expression to be evaluated.
-
- value
- true
- true
-
-
-
-Default value if the resulting value is null.
-
- default
- false
- true
-
-
-
-Determines whether characters <,>,&,'," in the
-resulting string should be converted to their
-corresponding character entity codes. Default value is
-true.
-
- escapeXml
- false
- true
-
-
-
-
-
-
- Subtag of <choose> that follows <when> tags
- and runs only if all of the prior conditions evaluated to
- 'false'
-
- otherwise
- org.apache.taglibs.standard.tag.common.core.OtherwiseTag
- JSP
-
-
-
-
- Adds a parameter to a containing 'import' tag's URL.
-
- param
- org.apache.taglibs.standard.tag.rt.core.ParamTag
- JSP
-
-
-Name of the query string parameter.
-
- name
- true
- true
-
-
-
-Value of the parameter.
-
- value
- false
- true
-
-
-
-
-
- Redirects to a new URL.
-
- redirect
- org.apache.taglibs.standard.tag.rt.core.RedirectTag
- JSP
-
-
-The URL of the resource to redirect to.
-
- url
- false
- true
-
-
-
-Name of the context when redirecting to a relative URL
-resource that belongs to a foreign context.
-
- context
- false
- true
-
-
-
-
-
- Removes a scoped variable (from a particular scope, if specified).
-
- remove
- org.apache.taglibs.standard.tag.common.core.RemoveTag
- empty
-
-
-Name of the scoped variable to be removed.
-
- var
- true
- false
-
-
-
-Scope for var.
-
- scope
- false
- false
-
-
-
-
-
- Sets the result of an expression evaluation in a 'scope'
-
- set
- org.apache.taglibs.standard.tag.rt.core.SetTag
- JSP
-
-
-Name of the exported scoped variable to hold the value
-specified in the action. The type of the scoped variable is
-whatever type the value expression evaluates to.
-
- var
- false
- false
-
-
-
-Expression to be evaluated.
-
- value
- false
- true
-
-
-
-Target object whose property will be set. Must evaluate to
-a JavaBeans object with setter property property, or to a
-java.util.Map object.
-
- target
- false
- true
-
-
-
-Name of the property to be set in the target object.
-
- property
- false
- true
-
-
-
-Scope for var.
-
- scope
- false
- false
-
-
-
-
-
- Creates a URL with optional query parameters.
-
- url
- org.apache.taglibs.standard.tag.rt.core.UrlTag
- JSP
-
-
-Name of the exported scoped variable for the
-processed url. The type of the scoped variable is
-String.
-
- var
- false
- false
-
-
-
-Scope for var.
-
- scope
- false
- false
-
-
-
-URL to be processed.
-
- value
- false
- true
-
-
-
-Name of the context when specifying a relative URL
-resource that belongs to a foreign context.
-
- context
- false
- true
-
-
-
-
-
- Subtag of <choose> that includes its body if its
- condition evalutes to 'true'
-
- when
- org.apache.taglibs.standard.tag.rt.core.WhenTag
- JSP
-
-
-The test condition that determines whether or not the
-body content should be processed.
-
- test
- true
- true
- boolean
-
-
-
-
diff --git a/source/web/WEB-INF/faces-config-app.xml b/source/web/WEB-INF/faces-config-app.xml
deleted file mode 100644
index f0b7949704..0000000000
--- a/source/web/WEB-INF/faces-config-app.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
-
-
-
- org.alfresco.web.app.AlfrescoNavigationHandler
- org.alfresco.web.app.AlfrescoVariableResolver
-
- en
-
-
-
-
-
-
-
- org.alfresco.web.app.servlet.SecurityContextCleanupPhaseListener
-
-
-
diff --git a/source/web/WEB-INF/faces-config-beans.xml b/source/web/WEB-INF/faces-config-beans.xml
deleted file mode 100644
index 50cf5e7c1a..0000000000
--- a/source/web/WEB-INF/faces-config-beans.xml
+++ /dev/null
@@ -1,4345 +0,0 @@
-
-
-
-
-
-
-
-
- The bean for the Manage Multilingual dialog.
-
- MultilingualManageDialog
-
- org.alfresco.web.bean.ml.MultilingualManageDialog
-
- session
-
- browseBean
- #{BrowseBean}
-
-
- nodeService
- #{NodeService}
-
-
- multilingualContentService
- #{MultilingualContentService}
-
-
- contentFilterLanguagesService
- #{ContentFilterLanguagesService}
-
-
- editionService
- #{EditionService}
-
-
- versionService
- #{VersionService}
-
-
-
-
-
- The bean that makes a document multilingual
-
- MakeMultilingualDialog
- org.alfresco.web.bean.ml.MakeMultilingualDialog
- session
-
- multilingualContentService
- #{MultilingualContentService}
-
-
- nodeService
- #{NodeService}
-
-
- fileFolderService
- #{FileFolderService}
-
-
- searchService
- #{SearchService}
-
-
- navigator
- #{NavigationBean}
-
-
- browseBean
- #{BrowseBean}
-
-
- dictionaryService
- #{DictionaryService}
-
-
- namespaceService
- #{NamespaceService}
-
-
- userPreferencesBean
- #{UserPreferencesBean}
-
-
-
-
-
- The bean that edits the multilinguals properties of a document
-
- EditMLContainerDialog
- org.alfresco.web.bean.ml.EditMLContainerDialog
- session
-
- multilingualContentService
- #{MultilingualContentService}
-
-
- nodeService
- #{NodeService}
-
-
- fileFolderService
- #{FileFolderService}
-
-
- searchService
- #{SearchService}
-
-
- navigator
- #{NavigationBean}
-
-
- browseBean
- #{BrowseBean}
-
-
- dictionaryService
- #{DictionaryService}
-
-
- namespaceService
- #{NamespaceService}
-
-
-
-
-
- The bean that adds a new translation without content
-
- AddTranslationWithoutContentDialog
- org.alfresco.web.bean.ml.AddTranslationWithoutContentDialog
- session
-
- nodeService
- #{NodeService}
-
-
- fileFolderService
- #{FileFolderService}
-
-
- dictionaryService
- #{DictionaryService}
-
-
- browseBean
- #{BrowseBean}
-
-
- multilingualContentService
- #{MultilingualContentService}
-
-
- userPreferencesBean
- #{UserPreferencesBean}
-
-
-
-
-
- The bean that adds a translation with a content
-
- AddTranslationDialog
- org.alfresco.web.bean.ml.AddTranslationDialog
- session
-
- multilingualContentService
- #{MultilingualContentService}
-
-
- userPreferencesBean
- #{UserPreferencesBean}
-
-
- nodeService
- #{NodeService}
-
-
- fileFolderService
- #{FileFolderService}
-
-
- searchService
- #{SearchService}
-
-
- navigator
- #{NavigationBean}
-
-
- browseBean
- #{BrowseBean}
-
-
- contentService
- #{ContentService}
-
-
- dictionaryService
- #{DictionaryService}
-
-
- namespaceService
- #{NamespaceService}
-
-
-
-
-
- The bean that backs up the Login screen
-
- LoginBean
- org.alfresco.web.bean.LoginBean
- session
-
- nodeService
- #{NodeService}
-
-
- authenticationService
- #{AuthenticationService}
-
-
- personService
- #{PersonService}
-
-
- navigator
- #{NavigationBean}
-
-
- browseBean
- #{BrowseBean}
-
-
- userPreferencesBean
- #{UserPreferencesBean}
-
-
-
-
-
- A request scoped bean that backs up the Login screen
-
- LoginOutcomeBean
- org.alfresco.web.bean.LoginOutcomeBean
- request
-
- redirectURL
- #{param._alfRedirect}
-
-
-
-
-
- The bean that holds navigation state.
-
- NavigationBean
- org.alfresco.web.bean.NavigationBean
- session
-
- nodeService
- #{NodeService}
-
-
- searchService
- #{SearchService}
-
-
- namespaceService
- #{NamespaceService}
-
-
- serverConfiguration
- #{fileServerConfiguration}
-
-
- ruleService
- #{RuleService}
-
-
- userPreferencesBean
- #{UserPreferencesBean}
-
-
- authenticationService
- #{AuthenticationService}
-
-
- permissionService
- #{PermissionService}
-
-
- repoAdminService
- #{RepoAdminService}
-
-
-
-
-
- The bean that holds folder browse state.
-
- BrowseBean
- org.alfresco.web.bean.BrowseBean
- session
-
- navigator
- #{NavigationBean}
-
-
- nodeService
- #{NodeService}
-
-
- searchService
- #{SearchService}
-
-
- checkOutCheckInService
- #{CheckOutCheckInService}
-
-
- lockService
- #{LockService}
-
-
- dictionaryService
- #{DictionaryService}
-
-
- fileFolderService
- #{FileFolderService}
-
-
- userPreferencesBean
- #{UserPreferencesBean}
-
-
- multilingualContentService
- #{MultilingualContentService}
-
-
-
-
- Bean that provides information for the About page
- AboutBean
- org.alfresco.web.bean.AboutBean
- session
-
- descriptorService
- #{DescriptorService}
-
-
-
-
- Bean that manages the dialog framework
- DialogManager
- org.alfresco.web.bean.dialog.DialogManager
- session
-
-
-
- Bean that manages the wizard framework
- WizardManager
- org.alfresco.web.bean.wizard.WizardManager
- session
-
-
-
-
- The bean that backs up the Create Space Dialog
-
- CreateSpaceDialog
- org.alfresco.web.bean.spaces.CreateSpaceDialog
- session
-
- nodeService
- #{NodeService}
-
-
- fileFolderService
- #{FileFolderService}
-
-
- searchService
- #{SearchService}
-
-
- navigator
- #{NavigationBean}
-
-
- browseBean
- #{BrowseBean}
-
-
- namespaceService
- #{NamespaceService}
-
-
-
-
-
- The bean that backs up the Create Space Wizard
-
- CreateSpaceWizard
- org.alfresco.web.bean.spaces.CreateSpaceWizard
- session
-
- nodeService
- #{NodeService}
-
-
- fileFolderService
- #{FileFolderService}
-
-
- searchService
- #{SearchService}
-
-
- navigator
- #{NavigationBean}
-
-
- browseBean
- #{BrowseBean}
-
-
- dictionaryService
- #{DictionaryService}
-
-
- namespaceService
- #{NamespaceService}
-
-
-
-
-
- The bean that backs up the Delete Space Dialog
-
- DeleteSpaceDialog
- org.alfresco.web.bean.spaces.DeleteSpaceDialog
- session
-
- nodeService
- #{NodeService}
-
-
- fileFolderService
- #{FileFolderService}
-
-
- searchService
- #{SearchService}
-
-
- navigator
- #{NavigationBean}
-
-
- browseBean
- #{BrowseBean}
-
-
- dictionaryService
- #{DictionaryService}
-
-
- namespaceService
- #{NamespaceService}
-
-
-
-
-
- The bean that backs up the Delete Space Association Dialog
-
- DeleteSpaceAssociationDialog
- org.alfresco.web.bean.spaces.DeleteSpaceAssociationDialog
- session
-
- nodeService
- #{NodeService}
-
-
- fileFolderService
- #{FileFolderService}
-
-
- searchService
- #{SearchService}
-
-
- navigator
- #{NavigationBean}
-
-
- browseBean
- #{BrowseBean}
-
-
- dictionaryService
- #{DictionaryService}
-
-
- namespaceService
- #{NamespaceService}
-
-
-
-
-
- The bean that manages a users Clipboard state.
-
- ClipboardBean
- org.alfresco.web.bean.clipboard.ClipboardBean
- session
-
-
- nodeService
- #{NodeService}
-
-
-
-
-
-
-
-
- The bean that manages the state for the Recent Spaces Shelf component.
-
- RecentSpacesBean
- org.alfresco.web.bean.spaces.RecentSpacesBean
- session
-
- navigator
- #{NavigationBean}
-
-
- browseBean
- #{BrowseBean}
-
-
-
-
-
- The bean that manages the state for the User Shortcuts Shelf component.
-
- UserShortcutsBean
- org.alfresco.web.bean.users.UserShortcutsBean
- session
-
- nodeService
- #{NodeService}
-
-
- browseBean
- #{BrowseBean}
-
-
- permissionService
- #{PermissionService}
-
-
-
-
-
- The bean that holds a state for the Advanced Search screen.
-
- SearchProperties
- org.alfresco.web.bean.search.SearchProperties
- session
-
-
-
-
- The bean that holds a state for the Advanced Search screen.
-
- AdvancedSearchDialog
- org.alfresco.web.bean.search.AdvancedSearchDialog
- session
-
- navigator
- #{NavigationBean}
-
-
- nodeService
- #{NodeService}
-
-
- namespaceService
- #{NamespaceService}
-
-
- searchService
- #{SearchService}
-
-
- permissionService
- #{PermissionService}
-
-
- properties
- #{SearchProperties}
-
-
-
-
-
- The bean that holds state for the Users screen.
-
- UsersBeanProperties
- org.alfresco.web.bean.users.UsersBeanProperties
- session
-
- nodeService
- #{NodeService}
-
-
- searchService
- #{SearchService}
-
-
- authenticationService
- #{AuthenticationService}
-
-
- personService
- #{PersonService}
-
-
- contentUsageService
- #{ContentUsageService}
-
-
- userRegistrySynchronizer
- #{userRegistrySynchronizer}
-
-
-
-
-
- The bean that holds state for the User Management screens.
-
- UsersDialog
- org.alfresco.web.bean.users.UsersDialog
- session
-
- properties
- #{UsersBeanProperties}
-
-
-
-
-
- The bean that holds state for the Groups Management screens.
-
- GroupsDialog
- org.alfresco.web.bean.groups.GroupsDialog
- session
-
- nodeService
- #{NodeService}
-
-
- authService
- #{AuthorityService}
-
-
- personService
- #{PersonService}
-
-
-
-
-
- The bean that holds state for the Category Management screens.
-
- CategoriesProperties
- org.alfresco.web.bean.CategoriesProperties
- session
-
- categoryService
- #{CategoryService}
-
-
-
-
-
- The bean that holds state for the Category Management screens.
-
- CategoriesDialog
- org.alfresco.web.bean.categories.CategoriesDialog
- session
-
- nodeService
- #{NodeService}
-
-
- categoryService
- #{CategoryService}
-
-
-
-
-
- The bean that backs up the Edit Space Dialog
-
- EditSpaceDialog
- org.alfresco.web.bean.spaces.EditSpaceDialog
- session
-
- nodeService
- #{NodeService}
-
-
- fileFolderService
- #{FileFolderService}
-
-
- navigator
- #{NavigationBean}
-
-
- browseBean
- #{BrowseBean}
-
-
- searchService
- #{SearchService}
-
-
- dictionaryService
- #{DictionaryService}
-
-
- namespaceService
- #{NamespaceService}
-
-
-
-
-
- The bean that backs up the Add Content Dialog
-
- AddContentDialog
- org.alfresco.web.bean.content.AddContentDialog
- session
-
- nodeService
- #{NodeService}
-
-
- fileFolderService
- #{FileFolderService}
-
-
- searchService
- #{SearchService}
-
-
- navigator
- #{NavigationBean}
-
-
- browseBean
- #{BrowseBean}
-
-
- contentService
- #{ContentService}
-
-
- dictionaryService
- #{DictionaryService}
-
-
-
-
-
- The bean that backs up the Create Content Wizard
-
- CreateContentWizard
- org.alfresco.web.bean.content.CreateContentWizard
- session
-
- nodeService
- #{NodeService}
-
-
- fileFolderService
- #{FileFolderService}
-
-
- searchService
- #{SearchService}
-
-
- navigator
- #{NavigationBean}
-
-
- browseBean
- #{BrowseBean}
-
-
- contentService
- #{ContentService}
-
-
- dictionaryService
- #{DictionaryService}
-
-
-
-
-
- The bean that backs up the Edit Content Wizard
-
- EditContentWizard
- org.alfresco.web.bean.content.EditContentWizard
- session
-
- nodeService
- #{NodeService}
-
-
- fileFolderService
- #{FileFolderService}
-
-
- searchService
- #{SearchService}
-
-
- navigator
- #{NavigationBean}
-
-
- browseBean
- #{BrowseBean}
-
-
- contentService
- #{ContentService}
-
-
- dictionaryService
- #{DictionaryService}
-
-
-
-
-
- The bean that backs up the View Content Properties Dialog
-
- ViewContentPropertiesDialog
- org.alfresco.web.bean.content.ViewContentPropertiesDialog
- session
-
- nodeService
- #{NodeService}
-
-
- fileFolderService
- #{FileFolderService}
-
-
- dictionaryService
- #{DictionaryService}
-
-
- browseBean
- #{BrowseBean}
-
-
-
-
-
- The bean that backs up the Set Content Properties Dialog
-
- SetContentPropertiesDialog
- org.alfresco.web.bean.content.SetContentPropertiesDialog
- session
-
- nodeService
- #{NodeService}
-
-
- fileFolderService
- #{FileFolderService}
-
-
- dictionaryService
- #{DictionaryService}
-
-
- browseBean
- #{BrowseBean}
-
-
-
-
-
- The bean that backs up the Edit Content Properties Dialog
-
- EditContentPropertiesDialog
- org.alfresco.web.bean.content.EditContentPropertiesDialog
- session
-
- nodeService
- #{NodeService}
-
-
- fileFolderService
- #{FileFolderService}
-
-
- dictionaryService
- #{DictionaryService}
-
-
- browseBean
- #{BrowseBean}
-
-
-
-
-
- The bean that backs up the Delete Content Dialog
-
- DeleteContentDialog
- org.alfresco.web.bean.content.DeleteContentDialog
- session
-
- nodeService
- #{NodeService}
-
-
- fileFolderService
- #{FileFolderService}
-
-
- searchService
- #{SearchService}
-
-
- navigator
- #{NavigationBean}
-
-
- browseBean
- #{BrowseBean}
-
-
- dictionaryService
- #{DictionaryService}
-
-
- namespaceService
- #{NamespaceService}
-
-
- multilingualContentService
- #{MultilingualContentService}
-
-
-
-
-
- The bean that backs up the Link Properties Dialog
-
- LinkPropertiesDialog
- org.alfresco.web.bean.LinkPropertiesDialog
- session
-
- nodeService
- #{NodeService}
-
-
- dictionaryService
- #{DictionaryService}
-
-
- browseBean
- #{BrowseBean}
-
-
- navigator
- #{NavigationBean}
-
-
-
-
-
- The bean that backs up the Create Rule Wizard
-
- CreateRuleWizard
- org.alfresco.web.bean.rules.CreateCompositeRuleWizard
- session
-
- nodeService
- #{NodeService}
-
-
- searchService
- #{SearchService}
-
-
- navigator
- #{NavigationBean}
-
-
- browseBean
- #{BrowseBean}
-
-
- ruleService
- #{RuleService}
-
-
- actionService
- #{ActionService}
-
-
- dictionaryService
- #{DictionaryService}
-
-
- mimetypeService
- #{MimetypeService}
-
-
- rulesDialog
- #{RulesDialog}
-
-
- personService
- #{PersonService}
-
-
- authorityService
- #{AuthorityService}
-
-
-
-
-
- The bean that backs up the Edit Rule Wizard
-
- EditRuleWizard
- org.alfresco.web.bean.rules.EditRuleWizard
- session
-
- nodeService
- #{NodeService}
-
-
- searchService
- #{SearchService}
-
-
- navigator
- #{NavigationBean}
-
-
- browseBean
- #{BrowseBean}
-
-
- ruleService
- #{RuleService}
-
-
- actionService
- #{ActionService}
-
-
- dictionaryService
- #{DictionaryService}
-
-
- mimetypeService
- #{MimetypeService}
-
-
- rulesDialog
- #{RulesDialog}
-
-
- personService
- #{PersonService}
-
-
- authorityService
- #{AuthorityService}
-
-
-
-
-
- The bean that backs up the Run Action Wizard
-
- RunActionWizard
- org.alfresco.web.bean.actions.RunActionWizard
- session
-
- nodeService
- #{NodeService}
-
-
- searchService
- #{SearchService}
-
-
- navigator
- #{NavigationBean}
-
-
- browseBean
- #{BrowseBean}
-
-
- actionService
- #{ActionService}
-
-
- dictionaryService
- #{DictionaryService}
-
-
- mimetypeService
- #{MimetypeService}
-
-
- personService
- #{PersonService}
-
-
- authorityService
- #{AuthorityService}
-
-
-
-
-
- The bean that backs up the New User Wizard
-
- NewUserWizard
- org.alfresco.web.bean.wizard.NewUserWizard
- session
-
- nodeService
- #{NodeService}
-
-
- searchService
- #{SearchService}
-
-
- navigator
- #{NavigationBean}
-
-
- browseBean
- #{BrowseBean}
-
-
- authenticationService
- #{authenticationService}
-
-
- permissionService
- #{PermissionService}
-
-
- namespaceService
- #{NamespaceService}
-
-
- personService
- #{PersonService}
-
-
- ownableService
- #{OwnableService}
-
-
- tenantService
- #{tenantService}
-
-
-
-
-
- The bean that backs up the Manage Invited Users screens
-
- SpaceUsersBean
- org.alfresco.web.bean.users.SpaceUsersBean
- session
-
- nodeService
- #{NodeService}
-
-
- searchService
- #{SearchService}
-
-
- browseBean
- #{BrowseBean}
-
-
- permissionService
- #{PermissionService}
-
-
- authorityService
- #{AuthorityService}
-
-
- ownableService
- #{OwnableService}
-
-
- personService
- #{PersonService}
-
-
-
-
-
- The bean that backs up the Manage Content Users screens
-
- ContentUsersBean
- org.alfresco.web.bean.users.ContentUsersBean
- session
-
- nodeService
- #{NodeService}
-
-
- searchService
- #{SearchService}
-
-
- browseBean
- #{BrowseBean}
-
-
- permissionService
- #{PermissionService}
-
-
- authorityService
- #{AuthorityService}
-
-
- ownableService
- #{OwnableService}
-
-
- personService
- #{PersonService}
-
-
-
-
-
- The bean that backs up the Invite Users Wizard
-
- InviteSpaceUsersWizard
- org.alfresco.web.bean.spaces.InviteSpaceUsersWizard
- session
-
- nodeService
- #{NodeService}
-
-
- searchService
- #{SearchService}
-
-
- namespaceService
- #{NamespaceService}
-
-
- permissionService
- #{PermissionService}
-
-
- personService
- #{PersonService}
-
-
- navigator
- #{NavigationBean}
-
-
- browseBean
- #{BrowseBean}
-
-
- mailSender
- #{mailService}
-
-
- authorityService
- #{AuthorityService}
-
-
-
-
-
- The bean that backs up the Invite Mail Users Wizard
-
- MailInviteSpaceUsersWizard
- org.alfresco.web.bean.users.MailInviteSpaceUsersWizard
- session
-
- nodeService
- #{NodeService}
-
-
- searchService
- #{SearchService}
-
-
- namespaceService
- #{NamespaceService}
-
-
- permissionService
- #{PermissionService}
-
-
- personService
- #{PersonService}
-
-
- navigator
- #{NavigationBean}
-
-
- browseBean
- #{BrowseBean}
-
-
- mailSender
- #{mailService}
-
-
- authorityService
- #{AuthorityService}
-
-
-
-
-
- The bean that backs up the Invite Content Users Wizard
-
- InviteContentUsersWizard
- org.alfresco.web.bean.content.InviteContentUsersWizard
- session
-
- nodeService
- #{NodeService}
-
-
- searchService
- #{SearchService}
-
-
- namespaceService
- #{NamespaceService}
-
-
- permissionService
- #{PermissionService}
-
-
- personService
- #{PersonService}
-
-
- navigator
- #{NavigationBean}
-
-
- browseBean
- #{BrowseBean}
-
-
- mailSender
- #{mailService}
-
-
- authorityService
- #{AuthorityService}
-
-
-
-
-
- The bean that presents the Checkin and Checkout bean's properties.
-
- CCProperties
- org.alfresco.web.bean.coci.CCProperties
- session
-
- versionQueryService
- #{VersionService}
-
-
- versionOperationsService
- #{CheckoutCheckinService}
-
-
- contentService
- #{ContentService}
-
-
- workflowService
- #{WorkflowService}
-
-
-
-
- The bean that help with edit offline procedure.
- EditOfflineDialog
- org.alfresco.web.bean.coci.EditOfflineDialog
- session
-
- browseBean
- #{BrowseBean}
-
-
- navigator
- #{NavigationBean}
-
-
- nodeService
- #{NodeService}
-
-
- property
- #{CCProperties}
-
-
- userPreferencesBean
- #{UserPreferencesBean}
-
-
-
-
- The bean that helps with edit online procedure and presents fiction online editing dialog.
- EditOnlineDialog
- org.alfresco.web.bean.coci.EditOnlineDialog
- session
-
- browseBean
- #{BrowseBean}
-
-
- navigator
- #{NavigationBean}
-
-
- nodeService
- #{NodeService}
-
-
- property
- #{CCProperties}
-
-
-
-
- The bean that backs up the Checkin and Checkout pages.
- CheckinCheckoutDialog
- org.alfresco.web.bean.coci.CheckinCheckoutDialog
- session
-
- browseBean
- #{BrowseBean}
-
-
- navigator
- #{NavigationBean}
-
-
- nodeService
- #{NodeService}
-
-
- property
- #{CCProperties}
-
-
-
-
- The bean for the Update File Screen.
- CCUpdateFileDialog
-
- org.alfresco.web.bean.coci.CCUpdateFileDialog
-
- session
-
- property
- #{CCProperties}
-
-
-
-
- The bean for the Upload a new versoin Screen.
- UploadNewVersionDialog
-
- org.alfresco.web.bean.coci.UploadNewVersionDialog
-
- session
-
- property
- #{CCProperties}
-
-
- navigator
- #{NavigationBean}
-
-
- nodeService
- #{NodeService}
-
-
-
-
-
- The bean that holds manage content rules state
-
- RulesDialog
- org.alfresco.web.bean.rules.RulesDialog
- session
-
- browseBean
- #{BrowseBean}
-
-
- ruleService
- #{RuleService}
-
-
- actionService
- #{ActionService}
-
-
- nodeService
- #{NodeService}
-
-
- navigator
- #{NavigationBean}
-
-
-
-
-
- The bean that holds delete content rules state
-
- DeleteRuleDialog
- org.alfresco.web.bean.rules.DeleteRuleDialog
- session
-
- browseBean
- #{BrowseBean}
-
-
- ruleService
- #{RuleService}
-
-
- nodeService
- #{NodeService}
-
-
-
-
-
- Backing bean used by the document details dialog
-
- DocumentDetailsDialog
- org.alfresco.web.bean.content.DocumentDetailsDialog
- session
-
- browseBean
- #{BrowseBean}
-
-
- nodeService
- #{NodeService}
-
-
- lockService
- #{LockService}
-
-
- versionService
- #{VersionService}
-
-
- copyService
- #{CopyService}
-
-
- ownableService
- #{OwnableService}
-
-
- checkOutCheckInService
- #{CheckoutCheckinService}
-
-
- navigator
- #{NavigationBean}
-
-
- multilingualContentService
- #{MultilingualContentService}
-
-
- contentFilterLanguagesService
- #{ContentFilterLanguagesService}
-
-
- editionService
- #{EditionService}
-
-
- permissionService
- #{PermissionService}
-
-
-
-
-
- Backing bean used by the document details dialog
-
- DocumentLinkDetailsDialog
- org.alfresco.web.bean.content.DocumentLinkDetailsDialog
- session
-
- browseBean
- #{BrowseBean}
-
-
- nodeService
- #{NodeService}
-
-
- copyService
- #{CopyService}
-
-
- ownableService
- #{OwnableService}
-
-
-
- navigator
- #{NavigationBean}
-
-
- permissionService
- #{PermissionService}
-
-
-
-
-
- Backing bean used by the Space details dialog
-
- SpaceDetailsDialog
- org.alfresco.web.bean.spaces.SpaceDetailsDialog
- session
-
- browseBean
- #{BrowseBean}
-
-
- navigator
- #{NavigationBean}
-
-
- nodeService
- #{NodeService}
-
-
- permissionService
- #{PermissionService}
-
-
- ownableService
- #{OwnableService}
-
-
- copyService
- #{CopyService}
-
-
- permissionService
- #{PermissionService}
-
-
-
-
-
- Backing bean used by the SpaceLink details dialog
-
- SpaceLinkDetailsDialog
- org.alfresco.web.bean.SpaceLinkDetailsDialog
- session
-
- browseBean
- #{BrowseBean}
-
-
- navigator
- #{NavigationBean}
-
-
- nodeService
- #{NodeService}
-
-
- permissionService
- #{PermissionService}
-
-
- ownableService
- #{OwnableService}
-
-
- copyService
- #{CopyService}
-
-
-
-
-
- Backing bean used by the forum details dialog
-
- ForumDetailsDialog
- org.alfresco.web.bean.forums.ForumDetailsDialog
- session
-
- browseBean
- #{BrowseBean}
-
-
- nodeService
- #{NodeService}
-
-
- copyService
- #{CopyService}
-
-
- ownableService
- #{OwnableService}
-
-
-
- navigator
- #{NavigationBean}
-
-
- permissionService
- #{PermissionService}
-
-
-
-
-
- Backing bean used by the forums details dialog
-
- ForumsDetailsDialog
- org.alfresco.web.bean.forums.ForumsDetailsDialog
- session
-
- browseBean
- #{BrowseBean}
-
-
- nodeService
- #{NodeService}
-
-
- copyService
- #{CopyService}
-
-
- ownableService
- #{OwnableService}
-
-
- navigator
- #{NavigationBean}
-
-
- permissionService
- #{PermissionService}
-
-
-
-
-
- Backing bean used by the topic details dialog
-
- TopicDetailsDialog
- org.alfresco.web.bean.forums.TopicDetailsDialog
- session
-
- browseBean
- #{BrowseBean}
-
-
- nodeService
- #{NodeService}
-
-
- copyService
- #{CopyService}
-
-
- ownableService
- #{OwnableService}
-
-
-
- navigator
- #{NavigationBean}
-
-
- permissionService
- #{PermissionService}
-
-
-
-
-
- Backing bean used by screens requiring access to lists of Templates
-
- TemplateSupportBean
- org.alfresco.web.bean.TemplateSupportBean
- session
-
- nodeService
- #{NodeService}
-
-
- searchService
- #{SearchService}
-
-
-
-
-
- Backing bean used by the document preview dialog
-
- DocumentPreviewBean
- org.alfresco.web.bean.preview.DocumentPreviewBean
- session
-
- browseBean
- #{BrowseBean}
-
-
- navigator
- #{NavigationBean}
-
-
-
-
-
- Backing bean used by the document preview dialog
-
- SpacePreviewBean
- org.alfresco.web.bean.preview.SpacePreviewBean
- session
-
- browseBean
- #{BrowseBean}
-
-
- navigator
- #{NavigationBean}
-
-
-
-
- Backing bean used for the Export dialog
- ExportDialog
- org.alfresco.web.bean.admin.ExportDialog
- session
-
- browseBean
- #{BrowseBean}
-
-
- nodeService
- #{NodeService}
-
-
- actionService
- #{ActionService}
-
-
-
-
- Backing bean used for the Import dialog
- ImportDialog
- org.alfresco.web.bean.admin.ImportDialog
- session
-
- browseBean
- #{BrowseBean}
-
-
- nodeService
- #{NodeService}
-
-
- actionService
- #{ActionService}
-
-
- contentService
- #{ContentService}
-
-
- mimetypeService
- #{MimetypeService}
-
-
-
-
-
-
- Backing bean used for the low-level Node Browser
-
- AdminNodeBrowseBean
- org.alfresco.web.bean.admin.AdminNodeBrowseBean
- session
-
- transactionService
- #{TransactionService}
-
-
- nodeService
- #{NodeService}
-
-
- dictionaryService
- #{DictionaryService}
-
-
- searchService
- #{SearchService}
-
-
- namespaceService
- #{NamespaceService}
-
-
- permissionService
- #{PermissionService}
-
-
-
-
-
-
- The bean that holds forums state.
-
- ForumsBean
- org.alfresco.web.bean.forums.ForumsBean
- session
-
- nodeService
- #{NodeService}
-
-
- contentService
- #{ContentService}
-
-
- dictionaryService
- #{DictionaryService}
-
-
- browseBean
- #{BrowseBean}
-
-
- navigator
- #{NavigationBean}
-
-
- searchService
- #{SearchService}
-
-
- namespaceService
- #{NamespaceService}
-
-
-
-
-
- The bean that backs up the Create Forums Dialog
-
- CreateForumsDialog
- org.alfresco.web.bean.forums.CreateForumsDialog
- session
-
- nodeService
- #{NodeService}
-
-
- fileFolderService
- #{FileFolderService}
-
-
- searchService
- #{SearchService}
-
-
- navigator
- #{NavigationBean}
-
-
- browseBean
- #{BrowseBean}
-
-
- namespaceService
- #{NamespaceService}
-
-
-
-
-
- The bean that backs up the Create Forum Dialog
-
- CreateForumDialog
- org.alfresco.web.bean.forums.CreateForumDialog
- session
-
- nodeService
- #{NodeService}
-
-
- fileFolderService
- #{FileFolderService}
-
-
- navigator
- #{NavigationBean}
-
-
- browseBean
- #{BrowseBean}
-
-
- searchService
- #{SearchService}
-
-
- namespaceService
- #{NamespaceService}
-
-
-
-
-
- The bean that backs up the Create Topic Dialog
-
- CreateTopicDialog
- org.alfresco.web.bean.forums.CreateTopicDialog
- session
-
- nodeService
- #{NodeService}
-
-
- fileFolderService
- #{FileFolderService}
-
-
- searchService
- #{SearchService}
-
-
- navigator
- #{NavigationBean}
-
-
- browseBean
- #{BrowseBean}
-
-
- contentService
- #{ContentService}
-
-
- namespaceService
- #{NamespaceService}
-
-
-
-
-
- The bean that backs up the Create Post Dialog
-
- CreatePostDialog
- org.alfresco.web.bean.forums.CreatePostDialog
- session
-
- nodeService
- #{NodeService}
-
-
- fileFolderService
- #{FileFolderService}
-
-
- searchService
- #{SearchService}
-
-
- navigator
- #{NavigationBean}
-
-
- browseBean
- #{BrowseBean}
-
-
- contentService
- #{ContentService}
-
-
- dictionaryService
- #{DictionaryService}
-
-
-
-
-
- The bean that backs up the Edit Post Dialog
-
- EditPostDialog
- org.alfresco.web.bean.forums.EditPostDialog
- session
-
- nodeService
- #{NodeService}
-
-
- fileFolderService
- #{FileFolderService}
-
-
- searchService
- #{SearchService}
-
-
- navigator
- #{NavigationBean}
-
-
- browseBean
- #{BrowseBean}
-
-
- contentService
- #{ContentService}
-
-
- dictionaryService
- #{DictionaryService}
-
-
-
-
-
- The bean that backs up the Create Reply Dialog
-
- CreateReplyDialog
- org.alfresco.web.bean.forums.CreateReplyDialog
- session
-
- nodeService
- #{NodeService}
-
-
- fileFolderService
- #{FileFolderService}
-
-
- searchService
- #{SearchService}
-
-
- navigator
- #{NavigationBean}
-
-
- browseBean
- #{BrowseBean}
-
-
- contentService
- #{ContentService}
-
-
- dictionaryService
- #{DictionaryService}
-
-
-
-
-
- The bean that backs up the Create Discussion Dialog
-
- CreateDiscussionDialog
- org.alfresco.web.bean.forums.CreateDiscussionDialog
- session
-
- nodeService
- #{NodeService}
-
-
- fileFolderService
- #{FileFolderService}
-
-
- searchService
- #{SearchService}
-
-
- navigator
- #{NavigationBean}
-
-
- browseBean
- #{BrowseBean}
-
-
- contentService
- #{ContentService}
-
-
- namespaceService
- #{NamespaceService}
-
-
-
-
-
- The bean that backs up the Delete Forum Space Dialog
-
- DeleteForumsDialog
- org.alfresco.web.bean.forums.DeleteForumsDialog
- session
-
- nodeService
- #{NodeService}
-
-
- fileFolderService
- #{FileFolderService}
-
-
- searchService
- #{SearchService}
-
-
- navigator
- #{NavigationBean}
-
-
- browseBean
- #{BrowseBean}
-
-
- dictionaryService
- #{DictionaryService}
-
-
- namespaceService
- #{NamespaceService}
-
-
-
-
-
- The bean that backs up the Delete Forum Dialog
-
- DeleteForumDialog
- org.alfresco.web.bean.forums.DeleteForumDialog
- session
-
- nodeService
- #{NodeService}
-
-
- fileFolderService
- #{FileFolderService}
-
-
- searchService
- #{SearchService}
-
-
- navigator
- #{NavigationBean}
-
-
- browseBean
- #{BrowseBean}
-
-
- dictionaryService
- #{DictionaryService}
-
-
- namespaceService
- #{NamespaceService}
-
-
-
-
-
- The bean that backs up the Delete Topic Dialog
-
- DeleteTopicDialog
- org.alfresco.web.bean.forums.DeleteTopicDialog
- session
-
- nodeService
- #{NodeService}
-
-
- fileFolderService
- #{FileFolderService}
-
-
- searchService
- #{SearchService}
-
-
- navigator
- #{NavigationBean}
-
-
- browseBean
- #{BrowseBean}
-
-
- dictionaryService
- #{DictionaryService}
-
-
- namespaceService
- #{NamespaceService}
-
-
-
-
-
- The bean that backs up the Delete Post Dialog
-
- DeletePostDialog
- org.alfresco.web.bean.forums.DeletePostDialog
- session
-
- nodeService
- #{NodeService}
-
-
- fileFolderService
- #{FileFolderService}
-
-
- searchService
- #{SearchService}
-
-
- navigator
- #{NavigationBean}
-
-
- browseBean
- #{BrowseBean}
-
-
- dictionaryService
- #{DictionaryService}
-
-
- namespaceService
- #{NamespaceService}
-
-
-
-
-
- The bean that holds state for the Manage Deleted Items screen.
-
- TrashcanDialogProperty
- org.alfresco.web.bean.trashcan.TrashcanDialogProperty
- session
-
- nodeArchiveService
- #{nodeArchiveService}
-
-
-
-
-
- The bean that holds state for the Manage Deleted Items screen.
-
- TrashcanDialog
- org.alfresco.web.bean.trashcan.TrashcanDialog
- session
-
- nodeService
- #{NodeService}
-
-
- searchService
- #{SearchService}
-
-
- permissionService
- #{PermissionService}
-
-
- dictionaryService
- #{DictionaryService}
-
-
- property
- #{TrashcanDialogProperty}
-
-
- navigator
- #{NavigationBean}
-
-
-
-
-
- Helper bean that caches the last item added to a multi
- value editor component
-
- MultiValueEditorBean
- org.alfresco.web.bean.MultiValueEditorBean
- session
-
-
-
- Bean that manages the Dashboard framework
- DashboardManager
- org.alfresco.web.bean.dashboard.DashboardManager
- session
-
-
-
-
- The bean that backs up the Dashboard Config Wizard
-
- DashboardWizard
- org.alfresco.web.bean.dashboard.DashboardWizard
- session
-
- nodeService
- #{NodeService}
-
-
- dashboardManager
- #{DashboardManager}
-
-
-
-
-
- The bean that backs up the Manage Task Dialog
-
- ManageTaskDialog
- org.alfresco.web.bean.workflow.ManageTaskDialog
- session
-
- nodeService
- #{NodeService}
-
-
- fileFolderService
- #{FileFolderService}
-
-
- searchService
- #{SearchService}
-
-
- navigator
- #{NavigationBean}
-
-
- browseBean
- #{BrowseBean}
-
-
- dictionaryService
- #{DictionaryService}
-
-
- namespaceService
- #{NamespaceService}
-
-
- workflowService
- #{WorkflowService}
-
-
-
-
-
- The bean that backs up the View Completed Task Dialog
-
- ViewCompletedTaskDialog
- org.alfresco.web.bean.workflow.ViewCompletedTaskDialog
- session
-
- nodeService
- #{NodeService}
-
-
- fileFolderService
- #{FileFolderService}
-
-
- searchService
- #{SearchService}
-
-
- navigator
- #{NavigationBean}
-
-
- browseBean
- #{BrowseBean}
-
-
- dictionaryService
- #{DictionaryService}
-
-
- namespaceService
- #{NamespaceService}
-
-
- workflowService
- #{WorkflowService}
-
-
-
-
- StartWorkflowWizard
- org.alfresco.web.bean.workflow.StartWorkflowWizard
- session
-
- nodeService
- #{NodeService}
-
-
- fileFolderService
- #{FileFolderService}
-
-
- searchService
- #{SearchService}
-
-
- navigator
- #{NavigationBean}
-
-
- browseBean
- #{BrowseBean}
-
-
- dictionaryService
- #{DictionaryService}
-
-
- namespaceService
- #{NamespaceService}
-
-
- workflowService
- #{WorkflowService}
-
-
- invitationService
- #{InvitationService}
-
-
- unprotectedNodeService
- #{nodeService}
-
-
-
-
-
- The bean that backs up the New Edition Wizard
-
- NewEditionWizard
- org.alfresco.web.bean.ml.NewEditionWizard
- session
-
- editionService
- #{EditionService}
-
-
- multilingualContentService
- #{MultilingualContentService}
-
-
- nodeService
- #{NodeService}
-
-
- contentFilterLanguagesService
- #{ContentFilterLanguagesService}
-
-
- versionService
- #{VersionService}
-
-
- lockService
- #{LockService}
-
-
- fileFolderService
- #{FileFolderService}
-
-
- searchService
- #{SearchService}
-
-
- navigator
- #{NavigationBean}
-
-
- browseBean
- #{BrowseBean}
-
-
- dictionaryService
- #{DictionaryService}
-
-
- namespaceService
- #{NamespaceService}
-
-
-
-
-
- The bean that backs up the Cancel Workflow Dialog
-
- CancelWorkflowDialog
- org.alfresco.web.bean.workflow.CancelWorkflowDialog
- session
-
- nodeService
- #{NodeService}
-
-
- fileFolderService
- #{FileFolderService}
-
-
- searchService
- #{SearchService}
-
-
- navigator
- #{NavigationBean}
-
-
- browseBean
- #{BrowseBean}
-
-
- dictionaryService
- #{DictionaryService}
-
-
- namespaceService
- #{NamespaceService}
-
-
- workflowService
- #{WorkflowService}
-
-
-
-
-
- The bean that backs up the Reassign Task Dialog
-
- ReassignTaskDialog
- org.alfresco.web.bean.workflow.ReassignTaskDialog
- session
-
- nodeService
- #{NodeService}
-
-
- fileFolderService
- #{FileFolderService}
-
-
- searchService
- #{SearchService}
-
-
- navigator
- #{NavigationBean}
-
-
- browseBean
- #{BrowseBean}
-
-
- dictionaryService
- #{DictionaryService}
-
-
- namespaceService
- #{NamespaceService}
-
-
- workflowService
- #{WorkflowService}
-
-
- personService
- #{PersonService}
-
-
-
-
- WorkflowBean
- org.alfresco.web.bean.workflow.WorkflowBean
- request
-
- navigationBean
- #{NavigationBean}
-
-
- nodeService
- #{NodeService}
-
-
- workflowService
- #{WorkflowService}
-
-
-
-
-
- Backing bean used for the Workflow Console
- WorkflowConsoleBean
- org.alfresco.web.bean.workflow.WorkflowConsoleBean
- session
-
- workflowInterpreter
- #{workflowInterpreter}
-
-
-
-
- Backing bean used to dump JMX objects
- JmxDumperBean
- org.alfresco.web.bean.jmx.JmxDumperBean
- application
-
- mbeanServer
- #{mbeanServer}
-
-
-
-
- Backing bean used for the Web Client Config Admin Console
- ConfigAdminConsoleBean
- org.alfresco.web.bean.admin.ConfigAdminConsoleBean
- session
-
- configAdminInterpreter
- #{webClientConfigAdminInterpreter}
-
-
-
-
- Backing bean used for the Repository Admin Console
- RepoAdminConsoleBean
- org.alfresco.web.bean.repository.admin.RepoAdminConsoleBean
- session
-
- repoAdminInterpreter
- #{repoAdminInterpreter}
-
-
-
-
- Backing bean used for the Tenant Admin Console
- TenantAdminConsoleBean
- org.alfresco.web.bean.repository.tenant.TenantAdminConsoleBean
- session
-
- tenantInterpreter
- #{tenantInterpreter}
-
-
-
-
-
- The bean that backs up the Email Space Users Dialog
-
- EmailSpaceUsersDialog
- org.alfresco.web.bean.users.EmailSpaceUsersDialog
- session
-
- browseBean
- #{BrowseBean}
-
-
- nodeService
- #{NodeService}
-
-
- permissionService
- #{PermissionService}
-
-
- personService
- #{PersonService}
-
-
- authorityService
- #{AuthorityService}
-
-
- mailSender
- #{mailService}
-
-
-
-
-
- The bean that backs up the Getting Started Dashlet page
-
- GettingStartedBean
- org.alfresco.web.bean.dashboard.GettingStartedBean
- session
-
- navigationBean
- #{NavigationBean}
-
-
-
-
-
- The bean that backs up the User Preferences page
-
- UserPreferencesBean
- org.alfresco.web.bean.users.UserPreferencesBean
- session
-
- multilingualContentService
- #{MultilingualContentService}
-
-
- contentFilterLanguagesService
- #{ContentFilterLanguagesService}
-
-
- nodeService
- #{NodeService}
-
-
-
-
-
- The bean that backs up the Sidebar component
-
- SidebarBean
- org.alfresco.web.bean.SidebarBean
- session
-
-
-
-
- The bean that backs up the Delete Content Association Dialog
-
- DeleteContentAssociationDialog
- org.alfresco.web.bean.content.DeleteContentAssociationDialog
- session
-
- nodeService
- #{NodeService}
-
-
- fileFolderService
- #{FileFolderService}
-
-
- searchService
- #{SearchService}
-
-
- navigator
- #{NavigationBean}
-
-
- browseBean
- #{BrowseBean}
-
-
- dictionaryService
- #{DictionaryService}
-
-
- namespaceService
- #{NamespaceService}
-
-
-
-
-
-
- Bean that generates a text field component
-
- TextFieldGenerator
- org.alfresco.web.bean.generator.TextFieldGenerator
- request
-
-
-
-
-
- Bean that generates a mutlilingual text field component
-
- MultilingualTextFieldGenerator
- org.alfresco.web.bean.generator.MultilingualTextFieldGenerator
- request
-
-
-
-
-
- Bean that generates a link component
-
- LinkGenerator
- org.alfresco.web.bean.generator.LinkGenerator
- request
-
-
-
-
- Bean that generates a text area component
-
- TextAreaGenerator
- org.alfresco.web.bean.generator.TextAreaGenerator
- request
-
-
-
-
-
- Bean that generates a multilingual text area component
-
- MultilingualTextAreaGenerator
- org.alfresco.web.bean.generator.MultilingualTextAreaGenerator
- request
-
-
-
-
-
- Bean that generates a checkbox component
-
- CheckboxGenerator
- org.alfresco.web.bean.generator.CheckboxGenerator
- request
-
-
-
-
- Bean that generates a date picker component
-
- DatePickerGenerator
- org.alfresco.web.bean.generator.DatePickerGenerator
- request
-
-
-
-
-
- Bean that generates a datetime picker component
-
- DateTimePickerGenerator
- org.alfresco.web.bean.generator.DateTimePickerGenerator
- request
-
-
-
-
-
- Bean that generates a label component
-
- LabelGenerator
- org.alfresco.web.bean.generator.LabelGenerator
- request
-
-
-
-
- Bean that generates a mime type selector component
-
- MimeTypeSelectorGenerator
- org.alfresco.web.bean.generator.MimeTypeSelectorGenerator
- request
-
-
-
-
- Bean that generates a stores selector component
-
- StoreSelectorGenerator
- org.alfresco.web.bean.generator.StoreSelectorGenerator
- request
-
-
-
-
- Bean that generates a charset selector component
-
- CharsetSelectorGenerator
- org.alfresco.web.bean.generator.CharsetSelectorGenerator
- request
-
-
-
-
- Bean that generates a languages selector component
-
- LanguageSelectorGenerator
- org.alfresco.web.bean.generator.LanguageSelectorGenerator
- request
-
- userPreferencesBean
- #{UserPreferencesBean}
-
-
-
-
-
-
- Bean that generates a languages selector component for ML container
-
- MlContainerLanguageSelectorGenerator
- org.alfresco.web.bean.generator.MlContainerLanguageSelectorGenerator
- request
-
- multilingualContentService
- #{MultilingualContentService}
-
-
- contentFilterLanguagesService
- #{ContentFilterLanguagesService}
-
-
- nodeService
- #{NodeService}
-
-
-
-
-
- Bean that generates an image picker component
-
- SpaceIconPickerGenerator
- org.alfresco.web.bean.generator.SpaceIconPickerGenerator
- request
-
-
-
-
- Bean that generates a category selector component
-
- CategorySelectorGenerator
- org.alfresco.web.bean.generator.CategorySelectorGenerator
- request
-
-
-
-
- Bean that generates an ajax tag picker component
-
- AjaxTagPickerGenerator
- org.alfresco.web.bean.generator.AjaxTagPickerGenerator
- request
-
-
-
-
- Bean that generates an association component
-
- AssociationGenerator
- org.alfresco.web.bean.generator.AssociationGenerator
- request
-
-
-
-
- Bean that generates a child association component
-
- ChildAssociationGenerator
- org.alfresco.web.bean.generator.ChildAssociationGenerator
- request
-
-
-
-
- Bean that generates a separator component
-
- SeparatorGenerator
- org.alfresco.web.bean.generator.SeparatorGenerator
- request
-
-
-
-
- Bean that generates a label separator component
-
- LabelSeparatorGenerator
- org.alfresco.web.bean.generator.LabelSeparatorGenerator
- request
-
-
-
-
- Bean that generates a label separator component rendered as a heading
-
- HeaderSeparatorGenerator
- org.alfresco.web.bean.generator.LabelSeparatorGenerator
- request
-
- styleClass
- wizardSectionHeading mainSubTitle
-
-
-
-
-
-
-
-
-
- Bean that returns information on a node
-
- NodeInfoBean
- org.alfresco.web.bean.ajax.NodeInfoBean
- request
-
- nodeService
- #{NodeService}
-
-
-
-
-
- Bean that returns information on a workflow task
-
- TaskInfoBean
- org.alfresco.web.bean.ajax.TaskInfoBean
- request
-
- workflowService
- #{WorkflowService}
-
-
-
-
-
- Bean that accepts File uploads for the repository
-
- FileUploadBean
- org.alfresco.web.bean.ajax.FileUploadBean
- request
-
-
-
-
- Bean that accepts Content updates for the repository
-
- ContentUpdateBean
- org.alfresco.web.bean.ajax.ContentUpdateBean
- request
-
-
-
-
- Bean backing ajax calls for the MySpaces portlet
-
- MySpacesBean
- org.alfresco.web.bean.ajax.MySpacesBean
- request
-
-
-
-
- Bean backing the ajax requests from various Portlet webscripts
-
- PortletActionsBean
- org.alfresco.web.bean.ajax.PortletActionsBean
- request
-
-
-
-
- Bean proxying ajax calls for the online Presence webscript
-
- PresenceProxyBean
- org.alfresco.web.bean.ajax.PresenceProxyBean
- request
-
-
-
-
- Bean backing the ajax requests for the ajax based picker components
-
- PickerBean
- org.alfresco.web.bean.ajax.PickerBean
- request
-
- categoryService
- #{CategoryService}
-
-
- nodeService
- #{NodeService}
-
-
- internalNodeService
- #{nodeService}
-
-
- fileFolderService
- #{FileFolderService}
-
-
-
-
-
- Bean that returns manages the tree data for the navigator component
-
- NavigatorPluginBean
- org.alfresco.web.bean.ajax.NavigatorPluginBean
- session
-
- nodeService
- #{NodeService}
-
-
- internalNodeService
- #{nodeService}
-
-
- dictionaryService
- #{DictionaryService}
-
-
-
-
-
-
- The bean that backs up the view of the Versioned Properties
-
- VersionedDocumentDetailsDialog
-
- org.alfresco.web.bean.content.VersionedDocumentDetailsDialog
-
- session
-
- browseBean
- #{BrowseBean}
-
-
- versionService
- #{VersionService}
-
-
- editionService
- #{EditionService}
-
-
- nodeService
- #{NodeService}
-
-
- multilingualContentService
- #{MultilingualContentService}
-
-
- contentFilterLanguagesService
- #{ContentFilterLanguagesService}
-
-
-
-
-
- The bean that backs up the New User Wizard
-
- CreateUserWizard
-
- org.alfresco.web.bean.users.CreateUserWizard
-
- session
-
- nodeService
- #{NodeService}
-
-
- searchService
- #{SearchService}
-
-
- navigator
- #{NavigationBean}
-
-
- browseBean
- #{BrowseBean}
-
-
- authenticationService
- #{authenticationService}
-
-
- permissionService
- #{PermissionService}
-
-
- namespaceService
- #{NamespaceService}
-
-
- personService
- #{PersonService}
-
-
- tenantService
- #{tenantService}
-
-
- ownableService
- #{OwnableService}
-
-
- contentUsageService
- #{ContentUsageService}
-
-
-
-
-
- The bean that backs up the Edit User Wizard
-
- EditUserWizard
-
- org.alfresco.web.bean.users.EditUserWizard
-
- session
-
- nodeService
- #{NodeService}
-
-
- searchService
- #{SearchService}
-
-
- navigator
- #{NavigationBean}
-
-
- browseBean
- #{BrowseBean}
-
-
- authenticationService
- #{authenticationService}
-
-
- permissionService
- #{PermissionService}
-
-
- namespaceService
- #{NamespaceService}
-
-
- personService
- #{PersonService}
-
-
- tenantService
- #{tenantService}
-
-
- ownableService
- #{OwnableService}
-
-
- properties
- #{UsersBeanProperties}
-
-
- contentUsageService
- #{ContentUsageService}
-
-
-
-
-
- The bean that holds state for the Users Edit Details screen.
-
- EditUserDetailsDialog
-
- org.alfresco.web.bean.users.EditUserDetailsDialog
-
- session
-
- properties
- #{UsersBeanProperties}
-
-
- nodeService
- #{NodeService}
-
-
-
-
-
- The bean for the Remove Invited User screen.
-
- RemoveInvitedUserDialog
-
- org.alfresco.web.bean.users.RemoveInvitedUserDialog
-
- session
-
- spaceUsersBean
- #{SpaceUsersBean}
-
-
-
-
-
- The bean for the Edit User Roles screen.
-
- EditUserRolesDialog
-
- org.alfresco.web.bean.users.EditUserRolesDialog
-
- session
-
- spaceUsersBean
- #{SpaceUsersBean}
-
-
-
-
- The bean for the Delete User screen.
- DeleteUserDialog
-
- org.alfresco.web.bean.users.DeleteUserDialog
-
- session
-
- authenticationService
- #{AuthenticationService}
-
-
- personService
- #{PersonService}
-
-
-
-
-
- The bean for the Delete Content User screen.
-
- RemoveContentUserDialog
-
- org.alfresco.web.bean.users.RemoveContentUserDialog
-
- session
-
- browseBean
- #{BrowseBean}
-
-
- contentUsersBean
- #{ContentUsersBean}
-
-
-
-
-
- The bean for add users to group dialog.
-
- AddUsersDialog
-
- org.alfresco.web.bean.groups.AddUsersDialog
-
- session
-
- nodeService
- #{NodeService}
-
-
- authService
- #{AuthorityService}
-
-
- personService
- #{PersonService}
-
-
-
-
- The bean for delete group dialog.
- DeleteGroupDialog
-
- org.alfresco.web.bean.groups.DeleteGroupDialog
-
- session
-
- authService
- #{AuthorityService}
-
-
-
-
- The bean for create group dialog.
- CreateGroupDialog
-
- org.alfresco.web.bean.groups.CreateGroupDialog
-
- session
-
- authService
- #{AuthorityService}
-
-
-
-
-
- The bean that holds state for the Edit File screens.
-
- EditFileDialog
-
- org.alfresco.web.bean.users.EditFileDialog
-
- session
-
-
-
-
- The bean for the Edit Content User Roles screen.
-
- EditContentUserRolesDialog
-
- org.alfresco.web.bean.users.EditContentUserRolesDialog
-
- session
-
- contentUsersBean
- #{ContentUsersBean}
-
-
-
-
-
- The bean for the Admin Console screen.
-
- AdminConsoleDialog
-
- org.alfresco.web.bean.admin.AdminConsoleDialog
-
- session
-
-
-
-
- The bean for the Edit Node Categories screen.
-
- EditNodeCategoriesDialog
-
- org.alfresco.web.bean.categories.EditNodeCategoriesDialog
-
- session
-
- nodeService
- #{NodeService}
-
-
- dictionaryService
- #{DictionaryService}
-
-
-
-
-
- The bean for the Edit Category screen.
-
- EditCategoryDialog
-
- org.alfresco.web.bean.categories.EditCategoryDialog
-
- session
-
- nodeService
- #{NodeService}
-
-
- categoryService
- #{CategoryService}
-
-
-
-
-
- The bean for the Delete Category screen.
-
- DeleteCategoryDialog
-
- org.alfresco.web.bean.categories.DeleteCategoryDialog
-
- session
-
- nodeService
- #{NodeService}
-
-
- categoryService
- #{CategoryService}
-
-
-
-
- The bean for the New Category screen.
- CreateCategoryDialog
-
- org.alfresco.web.bean.categories.CreateCategoryDialog
-
- session
-
- nodeService
- #{NodeService}
-
-
- categoryService
- #{CategoryService}
-
-
-
-
- The bean for Apply Doc Template Screen.
- ApplyDocTemplateDialog
-
- org.alfresco.web.bean.spaces.ApplyDocTemplateDialog
-
- session
-
- nodeService
- #{NodeService}
-
-
- browseBean
- #{BrowseBean}
-
-
-
-
- The bean for Apply RSS Template Screen.
- ApplyRssTemplateDialog
-
- org.alfresco.web.bean.spaces.ApplyRssTemplateDialog
-
- session
-
- nodeService
- #{NodeService}
-
-
- browseBean
- #{BrowseBean}
-
-
-
-
- The bean for Apply Space Template Screen.
- ApplySpaceTemplateDialog
-
- org.alfresco.web.bean.spaces.ApplySpaceTemplateDialog
-
- session
-
- nodeService
- #{NodeService}
-
-
- browseBean
- #{BrowseBean}
-
-
-
-
- The bean for content Edit Simple Workflow Screen.
- EditContentSimpleWorkflowDialog
-
- org.alfresco.web.bean.content.EditSimpleWorkflowDialog
-
- session
-
- browseBean
- #{BrowseBean}
-
-
- nodeService
- #{NodeService}
-
-
-
-
- The bean for space Edit Simple Space Workflow Screen.
- EditSpaceSimpleWorkflowDialog
-
- org.alfresco.web.bean.spaces.EditSimpleWorkflowDialog
-
- session
-
- browseBean
- #{BrowseBean}
-
-
- nodeService
- #{NodeService}
-
-
-
-
- The bean for Change Current User Password Screen.
- ChangeMyPasswordDialog
-
- org.alfresco.web.bean.users.ChangeMyPasswordDialog
-
- session
-
- properties
- #{UsersBeanProperties}
-
-
-
-
- The bean for Change Users Password Screen.
- ChangePasswordDialog
-
- org.alfresco.web.bean.users.ChangePasswordDialog
-
- session
-
- properties
- #{UsersBeanProperties}
-
-
-
-
-
- Bean that manages the deleting of trashitem.
-
- TrashcanDeleteItemDialog
- org.alfresco.web.bean.trashcan.TrashcanDeleteItemDialog
- session
-
- nodeService
- #{NodeService}
-
-
- searchService
- #{SearchService}
-
-
- dictionaryService
- #{DictionaryService}
-
-
- property
- #{TrashcanDialogProperty}
-
-
-
-
-
- Bean that manages the deleting of all trashitems.
-
- TrashcanDeleteAllItemsDialog
- org.alfresco.web.bean.trashcan.TrashcanDeleteAllItemsDialog
- session
-
- nodeService
- #{NodeService}
-
-
- searchService
- #{SearchService}
-
-
- dictionaryService
- #{DictionaryService}
-
-
- property
- #{TrashcanDialogProperty}
-
-
-
-
-
- Bean that manages the deleting of listed trashitems.
-
- TrashcanDeleteListedItemsDialog
- org.alfresco.web.bean.trashcan.TrashcanDeleteListedItemsDialog
- session
-
- nodeService
- #{NodeService}
-
-
- searchService
- #{SearchService}
-
-
- dictionaryService
- #{DictionaryService}
-
-
- property
- #{TrashcanDialogProperty}
-
-
-
-
- The bean for the Item Details Screen.
- TrashcanItemDetailsDialog
-
- org.alfresco.web.bean.trashcan.TrashcanItemDetailsDialog
-
- session
-
- nodeService
- #{NodeService}
-
-
- searchService
- #{SearchService}
-
-
- dictionaryService
- #{DictionaryService}
-
-
- permissionService
- #{PermissionService}
-
-
- property
- #{TrashcanDialogProperty}
-
-
-
-
- The bean for the Recover Item Screen.
- TrashcanRecoverItemDialog
-
- org.alfresco.web.bean.trashcan.TrashcanRecoverItemDialog
-
- session
-
- nodeService
- #{NodeService}
-
-
- searchService
- #{SearchService}
-
-
- dictionaryService
- #{DictionaryService}
-
-
- property
- #{TrashcanDialogProperty}
-
-
-
-
- The bean for the Recover Listed Items Screen.
- TrashcanRecoverListedItemsDialog
-
- org.alfresco.web.bean.trashcan.TrashcanRecoverListedItemsDialog
-
- session
-
- nodeService
- #{NodeService}
-
-
- searchService
- #{SearchService}
-
-
- dictionaryService
- #{DictionaryService}
-
-
- property
- #{TrashcanDialogProperty}
-
-
-
-
- The bean for Users Profile and Settings screen.
- UserConsoleDialog
-
- org.alfresco.web.bean.users.UserConsoleDialog
-
- session
-
-
-
- The bean for a User Profile.
- UserProfileDialog
-
- org.alfresco.web.bean.users.UserProfileDialog
-
- session
-
- properties
- #{UsersBeanProperties}
-
-
-
-
- The bean for the Recovery Report Screen.
- TrashcanRecoveryReportDialog
-
- org.alfresco.web.bean.trashcan.TrashcanRecoveryReportDialog
-
- session
-
- nodeService
- #{NodeService}
-
-
- searchService
- #{SearchService}
-
-
- dictionaryService
- #{DictionaryService}
-
-
- property
- #{TrashcanDialogProperty}
-
-
-
-
- The bean for the Edit Html Inline Screen.
- CCEditHtmlInlineDialog
-
- org.alfresco.web.bean.coci.CCEditHtmlInlineDialog
-
- session
-
- property
- #{CCProperties}
-
-
-
-
- The bean for the Edit Text Inline Screen.
- CCEditTextInlineDialog
-
- org.alfresco.web.bean.coci.CCEditTextInlineDialog
-
- session
-
- property
- #{CCProperties}
-
-
-
-
- The bean for the Checkout File Screen.
- CCCheckoutFileDialog
-
- org.alfresco.web.bean.coci.CCCheckoutFileDialog
-
- session
-
- property
- #{CCProperties}
-
-
- browseBean
- #{BrowseBean}
-
-
- navigator
- #{NavigationBean}
-
-
- nodeService
- #{NodeService}
-
-
-
-
- The bean for the Checkout File Link Screen.
- CCCheckoutFileLinkDialog
-
- org.alfresco.web.bean.coci.CCCheckoutFileLinkDialog
-
- session
-
- browseBean
- #{BrowseBean}
-
-
- navigator
- #{NavigationBean}
-
-
- nodeService
- #{NodeService}
-
-
- property
- #{CCProperties}
-
-
-
-
- The bean for the Edit File Screen.
- CCEditFileDialog
-
- org.alfresco.web.bean.coci.CCEditFileDialog
-
- session
-
- property
- #{CCProperties}
-
-
-
-
- The bean for the Undo Checkout File Screen.
- CCUndoCheckoutFileDialog
-
- org.alfresco.web.bean.coci.CCUndoCheckoutFileDialog
-
- session
-
- property
- #{CCProperties}
-
-
-
-
- The bean for the Cancel Editing File Screen.
- CancelEditingDialog
-
- org.alfresco.web.bean.coci.CancelEditingDialog
-
- session
-
- property
- #{CCProperties}
-
-
-
-
-
- The bean for the Working Copy Missing Screen.
- CCWorkingCopyMissingDialog
-
- org.alfresco.web.bean.coci.CCWorkingCopyMissingDialog
-
- session
-
- property
- #{CCProperties}
-
-
-
-
- The bean for the Checkin File Screen.
- CCCheckinFileDialog
-
- org.alfresco.web.bean.coci.CCCheckinFileDialog
-
- session
-
- property
- #{CCProperties}
-
-
-
-
- The bean for the Done-Editing File Screen(New commit dialog).
- DoneEditingDialog
-
- org.alfresco.web.bean.coci.DoneEditingDialog
-
- session
-
- property
- #{CCProperties}
-
-
- nodeService
- #{NodeService}
-
-
-
-
- The bean for the Edit Search Screen.
- EditSearchDialog
-
- org.alfresco.web.bean.search.EditSearchDialog
-
- session
-
- navigator
- #{NavigationBean}
-
-
- nodeService
- #{NodeService}
-
-
- namespaceService
- #{NamespaceService}
-
-
- searchService
- #{SearchService}
-
-
- properties
- #{SearchProperties}
-
-
-
-
- The bean for the Save Search Screen.
- SaveSearchDialog
-
- org.alfresco.web.bean.search.SaveSearchDialog
-
- session
-
- navigator
- #{NavigationBean}
-
-
- nodeService
- #{NodeService}
-
-
- namespaceService
- #{NamespaceService}
-
-
- searchService
- #{SearchService}
-
-
- properties
- #{SearchProperties}
-
-
-
-
- The bean for the Save Search Screen.
- ShowSystemInfoDialog
-
- org.alfresco.web.bean.admin.ShowSystemInfoDialog
-
- session
-
- navigator
- #{NavigationBean}
-
-
- aboutBean
- #{AboutBean}
-
-
-
-
- CategoryBrowserPluginBean
- org.alfresco.web.bean.ajax.CategoryBrowserPluginBean
- session
-
- nodeService
- #{NodeService}
-
-
- categoryService
- #{CategoryService}
-
-
-
-
- CategoryBrowserBean
- org.alfresco.web.bean.CategoryBrowserBean
- session
-
- nodeService
- #{NodeService}
-
-
-
-
diff --git a/source/web/WEB-INF/faces-config-common.xml b/source/web/WEB-INF/faces-config-common.xml
deleted file mode 100644
index 09f3df16b6..0000000000
--- a/source/web/WEB-INF/faces-config-common.xml
+++ /dev/null
@@ -1,236 +0,0 @@
-
-
-
-
-
-
- org.alfresco.faces.RichList
- org.alfresco.web.ui.common.component.data.UIRichList
-
-
-
- org.alfresco.faces.RichListColumn
- org.alfresco.web.ui.common.component.data.UIColumn
-
-
-
- org.alfresco.faces.SortLink
- org.alfresco.web.ui.common.component.data.UISortLink
-
-
-
- org.alfresco.faces.DataPager
- org.alfresco.web.ui.common.component.data.UIDataPager
-
-
-
- org.alfresco.faces.Panel
- org.alfresco.web.ui.common.component.UIPanel
-
-
-
- org.alfresco.faces.Breadcrumb
- org.alfresco.web.ui.common.component.UIBreadcrumb
-
-
-
- org.alfresco.faces.ActionLink
- org.alfresco.web.ui.common.component.UIActionLink
-
-
-
- org.alfresco.faces.Menu
- org.alfresco.web.ui.common.component.UIMenu
-
-
-
- org.alfresco.faces.ModeList
- org.alfresco.web.ui.common.component.UIModeList
-
-
-
- org.alfresco.faces.ListItem
- org.alfresco.web.ui.common.component.UIListItem
-
-
-
- org.alfresco.faces.ListItems
- org.alfresco.web.ui.common.component.UIListItems
-
-
-
- org.alfresco.faces.ImagePicker
- org.alfresco.web.ui.common.component.UIImagePicker
-
-
-
- org.alfresco.faces.BooleanEvaluator
- org.alfresco.web.ui.common.component.evaluator.BooleanEvaluator
-
-
-
- org.alfresco.faces.ValueSetEvaluator
- org.alfresco.web.ui.common.component.evaluator.ValueSetEvaluator
-
-
-
- org.alfresco.faces.StringEqualsEvaluator
- org.alfresco.web.ui.common.component.evaluator.StringEqualsEvaluator
-
-
-
- org.alfresco.faces.DynamicDescription
- org.alfresco.web.ui.common.component.description.UIDynamicDescription
-
-
-
- org.alfresco.faces.Description
- org.alfresco.web.ui.common.component.description.UIDescription
-
-
-
- org.alfresco.faces.Descriptions
- org.alfresco.web.ui.common.component.description.UIDescriptions
-
-
-
- org.alfresco.faces.debug.HttpSessionState
- org.alfresco.web.ui.common.component.debug.UIHttpSessionState
-
-
-
- org.alfresco.faces.debug.HttpRequestState
- org.alfresco.web.ui.common.component.debug.UIHttpRequestState
-
-
-
- org.alfresco.faces.debug.HttpRequestParams
- org.alfresco.web.ui.common.component.debug.UIHttpRequestParams
-
-
-
- org.alfresco.faces.debug.HttpRequestHeaders
- org.alfresco.web.ui.common.component.debug.UIHttpRequestHeaders
-
-
-
- org.alfresco.faces.debug.HttpApplicationState
- org.alfresco.web.ui.common.component.debug.UIHttpApplicationState
-
-
-
- org.alfresco.faces.debug.SystemProperties
- org.alfresco.web.ui.common.component.debug.UISystemProperties
-
-
-
- org.alfresco.faces.debug.RepositoryProperties
- org.alfresco.web.ui.common.component.debug.UIRepositoryProperties
-
-
-
- org.alfresco.faces.GenericPicker
- org.alfresco.web.ui.common.component.UIGenericPicker
-
-
-
- org.alfresco.faces.OutputText
- org.alfresco.web.ui.common.component.UIOutputText
-
-
-
- org.alfresco.faces.StatusMessage
- org.alfresco.web.ui.common.component.UIStatusMessage
-
-
-
- org.alfresco.faces.SelectList
- org.alfresco.web.ui.common.component.UISelectList
-
-
-
- org.alfresco.faces.UploadInput
- org.alfresco.web.ui.common.component.UploadInput
-
-
-
-
-
- org.alfresco.faces.XMLDateConverter
- org.alfresco.web.ui.common.converter.XMLDateConverter
-
-
-
- org.alfresco.faces.BooleanLabelConverter
- org.alfresco.web.ui.common.converter.BooleanLabelConverter
-
-
-
- org.alfresco.faces.ByteSizeConverter
- org.alfresco.web.ui.common.converter.ByteSizeConverter
-
-
-
- org.alfresco.faces.MultiValueConverter
- org.alfresco.web.ui.common.converter.MultiValueConverter
-
-
-
-
-
-
-
-
- javax.faces.Input
-
- org.alfresco.faces.DatePickerRenderer
-
- org.alfresco.web.ui.common.renderer.DatePickerRenderer
-
-
-
- org.alfresco.faces.Data
- org.alfresco.faces.RichListRenderer
- org.alfresco.web.ui.common.renderer.data.RichListRenderer
-
-
-
- org.alfresco.faces.Controls
- org.alfresco.faces.BreadcrumbRenderer
- org.alfresco.web.ui.common.renderer.BreadcrumbRenderer
-
-
-
- org.alfresco.faces.Controls
- org.alfresco.faces.ActionLinkRenderer
- org.alfresco.web.ui.common.renderer.ActionLinkRenderer
-
-
-
- org.alfresco.faces.Controls
- org.alfresco.faces.ModeListRenderer
- org.alfresco.web.ui.common.renderer.ModeListRenderer
-
-
-
- org.alfresco.faces.ImagePicker
- org.alfresco.faces.Radio
- org.alfresco.web.ui.common.renderer.ImagePickerRadioRenderer
-
-
-
- org.alfresco.faces.ImagePicker
- org.alfresco.faces.RadioPanel
- org.alfresco.web.ui.common.renderer.ImagePickerRadioPanelRenderer
-
-
-
- javax.faces.Messages
- org.alfresco.faces.Errors
- org.alfresco.web.ui.common.renderer.ErrorsRenderer
-
-
-
-
-
diff --git a/source/web/WEB-INF/faces-config-custom.xml b/source/web/WEB-INF/faces-config-custom.xml
deleted file mode 100644
index 82acb532e1..0000000000
--- a/source/web/WEB-INF/faces-config-custom.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-
-
-
-
-
-
-
-
-
-
diff --git a/source/web/WEB-INF/faces-config-enterprise.xml b/source/web/WEB-INF/faces-config-enterprise.xml
deleted file mode 100644
index 1c89638123..0000000000
--- a/source/web/WEB-INF/faces-config-enterprise.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
-
-
-
-
-
- The bean that holds state for the License Manager.
-
- LicenseBean
- org.alfresco.web.bean.LicenseBean
- session
-
- descriptorService
- #{DescriptorService}
-
-
-
-
-
-
-
diff --git a/source/web/WEB-INF/faces-config-jbpm.xml b/source/web/WEB-INF/faces-config-jbpm.xml
deleted file mode 100644
index e31eed4112..0000000000
--- a/source/web/WEB-INF/faces-config-jbpm.xml
+++ /dev/null
@@ -1,147 +0,0 @@
-
-
-
-
-
- userBean
- org.jbpm.webapp.bean.AlfrescoUserBean
- session
-
- authenticationService
- #{AuthenticationService}
-
-
-
-
- homeBean
- org.jbpm.webapp.bean.HomeBean
- session
-
- taskBean
- #{taskBean}
-
-
- userBean
- #{userBean}
-
-
- jbpmConfiguration
- #{jbpm_configuration}
-
-
-
-
- taskBean
- org.jbpm.webapp.bean.TaskBean
- session
-
- userBean
- #{userBean}
-
-
-
-
- monitoringBean
- org.jbpm.webapp.bean.MonitoringBean
- session
-
-
-
- /jbpm/login.jsp
-
- home
- /jbpm/home.jsp
-
-
-
-
- /jbpm/home.jsp
-
- login
- /jbpm/login.jsp
-
-
-
-
- /jbpm/home.jsp
-
- task
- /jbpm/task.jsp
-
-
-
-
- /jbpm/task.jsp
-
- login
- /jbpm/login.jsp
-
-
-
-
- /jbpm/task.jsp
-
- home
- /jbpm/home.jsp
-
-
-
-
- /jsp/dashboards/container.jsp
-
- task
- /jbpm/task_view.jsp
-
-
-
-
- /jbpm/task_view.jsp
-
- home
- /jsp/dashboards/container.jsp
-
-
-
-
- /jbpm/monitor.jsp
-
- processDefinitions
- /jbpm/process_definitions.jsp
-
-
- showSearchInstances
- /jbpm/search_instances.jsp
-
-
-
-
- /jbpm/process_definitions.jsp
-
- processInstances
- /jbpm/process_instances.jsp
-
-
-
-
- /jbpm/inspect_instance.jsp
-
- processInstances
- /jbpm/process_instances.jsp
-
-
- showTransitions
- /jbpm/inspect_instance_transitions.jsp
-
-
-
-
- *
-
- inspectInstance
- /jbpm/inspect_instance.jsp
-
-
-
-
diff --git a/source/web/WEB-INF/faces-config-navigation.xml b/source/web/WEB-INF/faces-config-navigation.xml
deleted file mode 100644
index 2b88ff7136..0000000000
--- a/source/web/WEB-INF/faces-config-navigation.xml
+++ /dev/null
@@ -1,604 +0,0 @@
-
-
-
-
-
-
-
-
-
- The decision rule used by the NavigationHandler to
- determine which view must be displayed after the
- current view, login.jsp is processed.
-
- /jsp/login.jsp
-
-
- Indicates to the NavigationHandler that the browse.jsp
- view must be displayed if the Action referenced by a
- UICommand component on the login.jsp view returns
- the outcome "success".
-
- success
- /jsp/browse/browse.jsp
-
-
-
-
-
- /jsp/*
-
- browse
- /jsp/browse/browse.jsp
-
-
- myalfresco
- /jsp/dashboards/container.jsp
-
-
- about
- /jsp/dialog/about.jsp
-
-
-
-
-
- /jsp/*
-
- showMLContainerDetails
- /jsp/ml/ml-container-details.jsp
-
-
- showVersionedDetails
- /jsp/content/versioned-details.jsp
-
-
- dashboard
- /jsp/browse/dashboard.jsp
-
-
- addTranslation
- /jsp/ml/add-translation-dialog.jsp
-
-
- manageCategories
- /jsp/categories/categories.jsp
-
-
- manageUsers
- /jsp/users/users.jsp
-
-
- manageGroups
- /jsp/groups/groups.jsp
-
-
- showNodeBrowser
- /jsp/admin/store-browser.jsp
-
-
-
-
-
- /jsp/*
-
- advSearch
- /jsp/search/advanced-search.jsp
-
-
-
-
-
- /jsp/*
-
- logout
- /jsp/login.jsp
-
-
- relogin
- /jsp/relogin.jsp
-
-
-
-
-
- /jsp/*
-
- adminConsole
- /jsp/admin/admin-console.jsp
-
-
- userConsole
- /jsp/users/user-console.jsp
-
-
-
-
-
- /jsp/*
-
- undoCheckoutFile
- /jsp/dialog/undocheckout-file.jsp
-
-
-
-
-
- /jsp/browse/browse.jsp
-
-
-
- startDiscussion
- /jsp/forums/create-topic.jsp
-
-
- showForum
- /jsp/forums/forum.jsp
-
-
- showTopic
- /jsp/forums/topic.jsp
-
-
-
-
- /jsp/content/add-content-dialog.jsp
-
- cancel
- /jsp/browse/browse.jsp
-
-
-
-
-
- /jsp/admin/admin-console.jsp
-
-
-
- /jsp/dialog/space-details.jsp
-
- showForum
- /jsp/forums/forum.jsp
-
-
- editCategories
- /jsp/dialog/edit-space-category.jsp
-
-
-
-
- /jsp/dialog/edit-space-category.jsp
-
- cancel
- /jsp/dialog/space-details.jsp
-
-
- finish
- /jsp/dialog/space-details.jsp
-
-
-
-
-
- /jsp/roles/manage-invited-users.jsp
-
- editRoles
- /jsp/roles/edit-user-roles.jsp
-
-
- removeUser
- /jsp/roles/remove-invited-user.jsp
-
-
-
-
- /jsp/roles/edit-user-roles.jsp
-
- cancel
- /jsp/roles/manage-invited-users.jsp
-
-
- finish
- /jsp/roles/manage-invited-users.jsp
-
-
-
-
- /jsp/roles/remove-invited-user.jsp
-
- cancel
- /jsp/roles/manage-invited-users.jsp
-
-
- finish
- /jsp/roles/manage-invited-users.jsp
-
-
-
-
- /jsp/roles/manage-content-users.jsp
-
- editRoles
- /jsp/roles/edit-content-user-roles.jsp
-
-
- removeUser
- /jsp/roles/remove-content-user.jsp
-
-
-
-
- /jsp/roles/edit-content-user-roles.jsp
-
- cancel
- /jsp/roles/manage-content-users.jsp
-
-
- finish
- /jsp/roles/manage-content-users.jsp
-
-
-
-
- /jsp/roles/remove-content-user.jsp
-
- cancel
- /jsp/roles/manage-content-users.jsp
-
-
- finish
- /jsp/roles/manage-content-users.jsp
-
-
-
-
-
- /jsp/wizard/invite-users/*
-
- cancel
- /jsp/roles/manage-invited-users.jsp
-
-
- finish
- /jsp/roles/manage-invited-users.jsp
-
-
-
-
-
- /jsp/wizard/invite-content-users/*
-
- invite
- /jsp/wizard/invite-content-users/invite.jsp
-
-
- notify
- /jsp/wizard/invite-content-users/notify.jsp
-
-
- cancel
- /jsp/roles/manage-content-users.jsp
-
-
- finish
- /jsp/roles/manage-content-users.jsp
-
-
-
-
-
- /jsp/users/*
-
- manageUsers
- /jsp/users/users.jsp
-
-
- cancel
- /jsp/users/users.jsp
-
-
-
-
- /jsp/users/users.jsp
-
- editUser
- /jsp/wizard/new-user/person-properties.jsp
-
-
- deleteUser
- /jsp/users/delete-user.jsp
-
-
- changePassword
- /jsp/users/change-password.jsp
-
-
-
-
-
- /jsp/*
-
- changePassword
- /jsp/users/change-my-password.jsp
-
-
- editUserDetails
- /jsp/users/edit-user-details.jsp
-
-
- manageDeletedItems
- /jsp/trashcan/trash-list.jsp
-
-
-
-
-
- /jsp/wizard/new-user/*
-
- cancel
- /jsp/users/users.jsp
-
-
- finish
- /jsp/users/users.jsp
-
-
- person-properties
- /jsp/wizard/new-user/person-properties.jsp
-
-
- user-properties
- /jsp/wizard/new-user/user-properties.jsp
-
-
- summary
- /jsp/wizard/new-user/summary.jsp
-
-
-
-
-
- /jsp/groups/*
-
- newGroup
- /jsp/groups/new-group.jsp
-
-
- deleteGroup
- /jsp/groups/delete-group.jsp
-
-
- addUser
- /jsp/groups/add-user.jsp
-
-
- deleteUser
- /jsp/groups/delete-user.jsp
-
-
- finish
- /jsp/groups/groups.jsp
-
-
- cancel
- /jsp/groups/groups.jsp
-
-
-
-
-
- /jsp/categories/*
-
- addCategory
- /jsp/categories/new-category.jsp
-
-
- editCategory
- /jsp/categories/edit-category.jsp
-
-
- deleteCategory
- /jsp/categories/delete-category.jsp
-
-
- finish
- /jsp/categories/categories.jsp
-
-
- cancel
- /jsp/categories/categories.jsp
-
-
-
-
-
- /jsp/wizard/*
-
- cancel
- /jsp/browse/browse.jsp
-
-
- finish
- /jsp/browse/browse.jsp
-
-
-
-
-
- /jsp/admin/*
-
- #{AdminNodeBrowseBean.selectStores}
- success
- /jsp/admin/store-browser.jsp
-
-
- nodeBrowser
- /jsp/admin/node-browser.jsp
-
-
-
-
- /jsp/admin/store-browser.jsp
-
- #{AdminNodeBrowseBean.selectStore}
- success
- /jsp/admin/node-browser.jsp
-
-
-
-
- /jsp/admin/node-browser.jsp
-
- #{AdminNodeBrowseBean.selectChild}
- success
- /jsp/admin/node-browser.jsp
-
-
- #{AdminNodeBrowseBean.selectPrimaryPath}
- success
- /jsp/admin/node-browser.jsp
-
-
- #{AdminNodeBrowseBean.selectPrimaryParent}
- success
- /jsp/admin/node-browser.jsp
-
-
- #{AdminNodeBrowseBean.selectParent}
- success
- /jsp/admin/node-browser.jsp
-
-
- #{AdminNodeBrowseBean.selectToNode}
- success
- /jsp/admin/node-browser.jsp
-
-
- #{AdminNodeBrowseBean.selectNodeProperty}
- success
- /jsp/admin/node-browser.jsp
-
-
- #{AdminNodeBrowseBean.submitSearch}
- error
- /jsp/admin/node-browser.jsp
-
-
- #{AdminNodeBrowseBean.submitSearch}
- node
- /jsp/admin/node-browser.jsp
-
-
- #{AdminNodeBrowseBean.submitSearch}
- search
- /jsp/admin/search-results.jsp
-
-
-
-
- /jsp/admin/search-results.jsp
-
- #{AdminNodeBrowseBean.selectResultNode}
- success
- /jsp/admin/node-browser.jsp
-
-
-
-
-
- /jsp/forums/*
-
-
-
- showForumsDetails
- /jsp/forums/forums-details.jsp
-
-
- showForumDetails
- /jsp/forums/forum-details.jsp
-
-
- showTopicDetails
- /jsp/forums/topic-details.jsp
-
-
-
-
-
- /jsp/trashcan/*
-
- deleteItem
- /jsp/trashcan/delete-item.jsp
-
-
- recoverItem
- /jsp/trashcan/recover-item.jsp
-
-
- recoverAllItems
- /jsp/trashcan/recover-all.jsp
-
-
- deleteAllItems
- /jsp/trashcan/delete-all.jsp
-
-
- recoverListedItems
- /jsp/trashcan/recover-listed.jsp
-
-
- deleteListedItems
- /jsp/trashcan/delete-listed.jsp
-
-
- itemDetails
- /jsp/trashcan/item-details.jsp
-
-
- recoveryReport
- /jsp/trashcan/recovery-report.jsp
-
-
-
-
- /jsp/dialog/container.jsp
-
-
-
- forumsDeleted
- /jsp/forums/forums.jsp
-
-
- forumDeleted
- /jsp/forums/forums.jsp
-
-
- topicDeleted
- /jsp/forums/forum.jsp
-
-
- workingCopyMissing
- /jsp/coci/working-copy-missing.jsp
-
-
-
-
-
- /jsp/*
-
- goToTrashList
- /jsp/trashcan/trash-list.jsp
-
-
-
-
-
- /jsp/*
-
- category-browse
- /jsp/browse/category-browse.jsp
-
-
-
-
diff --git a/source/web/WEB-INF/faces-config-repo.xml b/source/web/WEB-INF/faces-config-repo.xml
deleted file mode 100644
index ca1eb93930..0000000000
--- a/source/web/WEB-INF/faces-config-repo.xml
+++ /dev/null
@@ -1,340 +0,0 @@
-
-
-
-
-
-
- org.alfresco.faces.PropertySheet
- org.alfresco.web.ui.repo.component.property.UIPropertySheet
-
-
-
- org.alfresco.faces.Property
- org.alfresco.web.ui.repo.component.property.UIProperty
-
-
-
- org.alfresco.faces.Separator
- org.alfresco.web.ui.repo.component.property.UISeparator
-
-
-
- org.alfresco.faces.Association
- org.alfresco.web.ui.repo.component.property.UIAssociation
-
-
-
- org.alfresco.faces.AssociationEditor
- org.alfresco.web.ui.repo.component.property.UIAssociationEditor
-
-
-
- org.alfresco.faces.ChildAssociation
- org.alfresco.web.ui.repo.component.property.UIChildAssociation
-
-
-
- org.alfresco.faces.ChildAssociationEditor
- org.alfresco.web.ui.repo.component.property.UIChildAssociationEditor
-
-
-
- org.alfresco.faces.NodeDescendants
- org.alfresco.web.ui.repo.component.UINodeDescendants
-
-
-
- org.alfresco.faces.NodePath
- org.alfresco.web.ui.repo.component.UINodePath
-
-
-
- org.alfresco.faces.SpaceSelector
- org.alfresco.web.ui.repo.component.UISpaceSelector
-
-
-
- org.alfresco.faces.ContentSelector
- org.alfresco.web.ui.repo.component.UIContentSelector
-
-
-
- org.alfresco.faces.CategorySelector
- org.alfresco.web.ui.repo.component.UICategorySelector
-
-
-
- org.alfresco.faces.TagSelector
- org.alfresco.web.ui.repo.component.UITagSelector
-
-
-
- org.alfresco.faces.MimeTypeSelector
- org.alfresco.web.ui.repo.component.UIMimeTypeSelector
-
-
-
- org.alfresco.faces.StoreSelector
- org.alfresco.web.ui.repo.component.UIStoreSelector
-
-
-
- org.alfresco.faces.LanguageSelector
- org.alfresco.web.ui.repo.component.UILanguageSelector
-
-
-
- org.alfresco.faces.CharsetSelector
- org.alfresco.web.ui.repo.component.UICharsetSelector
-
-
-
- org.alfresco.faces.SimpleSearch
- org.alfresco.web.ui.repo.component.UISimpleSearch
-
-
-
- org.alfresco.faces.AdvancedSearch
- org.alfresco.web.ui.repo.component.UISearchCustomProperties
-
-
-
- org.alfresco.faces.Shelf
- org.alfresco.web.ui.repo.component.shelf.UIShelf
-
-
-
- org.alfresco.faces.ShelfGroup
- org.alfresco.web.ui.repo.component.shelf.UIShelfGroup
-
-
-
- org.alfresco.faces.ShelfItem
- org.alfresco.web.ui.repo.component.shelf.UIShelfItem
-
-
-
- org.alfresco.faces.ClipboardShelfItem
- org.alfresco.web.ui.repo.component.shelf.UIClipboardShelfItem
-
-
-
- org.alfresco.faces.RecentSpacesShelfItem
- org.alfresco.web.ui.repo.component.shelf.UIRecentSpacesShelfItem
-
-
-
- org.alfresco.faces.ShortcutsShelfItem
- org.alfresco.web.ui.repo.component.shelf.UIShortcutsShelfItem
-
-
-
- org.alfresco.faces.LockIcon
- org.alfresco.web.ui.repo.component.UILockIcon
-
-
-
- org.alfresco.faces.Template
- org.alfresco.web.ui.repo.component.template.UITemplate
-
-
-
- org.alfresco.faces.MultiValueEditor
- org.alfresco.web.ui.repo.component.UIMultiValueEditor
-
-
-
- org.alfresco.faces.Actions
- org.alfresco.web.ui.repo.component.UIActions
-
-
-
- org.alfresco.faces.ActionInstanceEvaluator
- org.alfresco.web.ui.repo.component.evaluator.ActionInstanceEvaluator
-
-
-
- org.alfresco.faces.NodeInfo
- org.alfresco.web.ui.repo.component.UINodeInfo
-
-
-
- org.alfresco.faces.OpenSearch
- org.alfresco.web.ui.repo.component.UIOpenSearch
-
-
-
- org.alfresco.faces.DialogButtons
- org.alfresco.web.ui.repo.component.UIDialogButtons
-
-
-
- org.alfresco.faces.UserGroupPicker
- org.alfresco.web.ui.repo.component.UIUserGroupPicker
-
-
-
- org.alfresco.faces.WorkflowSummary
- org.alfresco.web.ui.repo.component.UIWorkflowSummary
-
-
-
- org.alfresco.faces.WorkflowHistory
- org.alfresco.web.ui.repo.component.UIWorkflowHistory
-
-
-
- org.alfresco.faces.NodeWorkflowInfo
- org.alfresco.web.ui.repo.component.UINodeWorkflowInfo
-
-
-
- org.alfresco.faces.Sidebar
- org.alfresco.web.ui.repo.component.UISidebar
-
-
-
- org.alfresco.faces.Tree
- org.alfresco.web.ui.repo.component.UITree
-
-
-
- org.alfresco.faces.Navigator
- org.alfresco.web.ui.repo.component.UINavigator
-
-
-
- org.alfresco.faces.WebScript
- org.springframework.extensions.webscripts.jsf.UIWebScript
-
-
-
- org.alfresco.faces.CategoryBrowser
- org.alfresco.web.ui.repo.component.UICategoryBrowser
-
-
-
- org.alfresco.faces.AjaxFolderPicker
- org.alfresco.web.ui.repo.component.UIAjaxFolderPicker
-
-
-
- org.alfresco.faces.AjaxCategoryPicker
- org.alfresco.web.ui.repo.component.UIAjaxCategoryPicker
-
-
-
- org.alfresco.faces.AjaxFilePicker
- org.alfresco.web.ui.repo.component.UIAjaxFilePicker
-
-
-
- org.alfresco.faces.AjaxTagPicker
- org.alfresco.web.ui.repo.component.UIAjaxTagPicker
-
-
-
-
-
- org.alfresco.faces.PermissionEvaluator
- org.alfresco.web.ui.repo.component.evaluator.PermissionEvaluator
-
-
-
- org.alfresco.faces.MimeTypeConverter
- org.alfresco.web.ui.repo.converter.MimeTypeConverter
-
-
-
- org.alfresco.faces.CharsetConverter
- org.alfresco.web.ui.repo.converter.CharsetConverter
-
-
-
- org.alfresco.faces.LanguageConverter
- org.alfresco.web.ui.repo.converter.LanguageConverter
-
-
-
- org.alfresco.faces.DisplayPathConverter
- org.alfresco.web.ui.repo.converter.DisplayPathConverter
-
-
-
-
-
-
- org.alfresco.faces.NodeDescendants
- org.alfresco.faces.NodeDescendantsLinkRenderer
- org.alfresco.web.ui.repo.renderer.NodeDescendantsLinkRenderer
-
-
-
- org.alfresco.faces.NodePath
- org.alfresco.faces.NodePathLinkRenderer
- org.alfresco.web.ui.repo.renderer.NodePathLinkRenderer
-
-
-
- org.alfresco.faces.Property
- org.alfresco.faces.PropertyRenderer
- org.alfresco.web.ui.repo.renderer.property.PropertyRenderer
-
-
-
- org.alfresco.faces.Separator
- org.alfresco.faces.SeparatorRenderer
- org.alfresco.web.ui.repo.renderer.property.SeparatorRenderer
-
-
-
- org.alfresco.faces.Association
- org.alfresco.faces.AssociationRenderer
- org.alfresco.web.ui.repo.renderer.property.AssociationRenderer
-
-
-
- org.alfresco.faces.ChildAssociation
- org.alfresco.faces.ChildAssociationRenderer
- org.alfresco.web.ui.repo.renderer.property.ChildAssociationRenderer
-
-
-
- org.alfresco.faces.MultiValueEditor
- org.alfresco.faces.Selector
- org.alfresco.web.ui.repo.renderer.MultiValueSelectorRenderer
-
-
-
- org.alfresco.faces.MultiValueEditor
- org.alfresco.faces.Field
- org.alfresco.web.ui.repo.renderer.MultiValueFieldRenderer
-
-
-
- org.alfresco.faces.Tree
- org.alfresco.faces.Yahoo
- org.alfresco.web.ui.repo.renderer.YahooTreeRenderer
-
-
-
- javax.faces.Input
- org.alfresco.faces.MultilingualText
- org.alfresco.web.ui.repo.renderer.MultilingualTextRenderer
-
-
-
- javax.faces.Input
- org.alfresco.faces.MultilingualTextArea
- org.alfresco.web.ui.repo.renderer.MultilingualTextAreaRenderer
-
-
-
- javax.faces.Output
- org.alfresco.faces.MultilingualText
- org.alfresco.web.ui.repo.renderer.MultilingualTextRenderer
-
-
-
-
diff --git a/source/web/WEB-INF/jboss-portlet.xml b/source/web/WEB-INF/jboss-portlet.xml
deleted file mode 100644
index 2d69fb1484..0000000000
--- a/source/web/WEB-INF/jboss-portlet.xml
+++ /dev/null
@@ -1,2 +0,0 @@
-
-
\ No newline at end of file
diff --git a/source/web/WEB-INF/liferay-plugin-package.properties b/source/web/WEB-INF/liferay-plugin-package.properties
deleted file mode 100644
index f6ef93bac0..0000000000
--- a/source/web/WEB-INF/liferay-plugin-package.properties
+++ /dev/null
@@ -1,2 +0,0 @@
-# Disable the 'Speed Filters' that unfortunately interfere with myfaces 1.1
-speed-filters-enabled=false
\ No newline at end of file
diff --git a/source/web/WEB-INF/portlet.xml b/source/web/WEB-INF/portlet.xml
deleted file mode 100644
index e7be467f1f..0000000000
--- a/source/web/WEB-INF/portlet.xml
+++ /dev/null
@@ -1,154 +0,0 @@
-
-
-
- Alfresco Client Portlet
- AlfrescoClient
- org.alfresco.web.app.portlet.AlfrescoFacesPortlet
-
-
- default-view
- /jsp/login.jsp
-
-
-
- text/html
- VIEW
- HELP
-
-
-
- Alfresco Client Portlet
- alfresco-client-portlet
-
-
-
-
- My Tasks
- AlfrescoMyTasks
- org.alfresco.repo.web.scripts.portlet.WebScriptRepoPortlet
-
-
- authenticator
- webscripts.authenticator.jsr168.webclient
-
-
- scriptUrl
- /alfresco/168s/ui/mytasks
-
-
-
- text/html
- VIEW
-
-
-
- My Tasks
- My Tasks
-
-
-
-
- Document List
- AlfrescoDocList
- org.alfresco.repo.web.scripts.portlet.WebScriptRepoPortlet
-
-
- authenticator
- webscripts.authenticator.jsr168.webclient
-
-
- scriptUrl
- /alfresco/168s/ui/doclist
-
-
-
- text/html
- VIEW
-
-
-
- Document List
- Document List
-
-
-
-
- My Spaces
- AlfrescoMySpaces
- org.alfresco.repo.web.scripts.portlet.WebScriptRepoPortlet
-
-
- authenticator
- webscripts.authenticator.jsr168.webclient
-
-
- scriptUrl
- /alfresco/168s/ui/myspaces
-
-
-
- text/html
- VIEW
-
-
-
- My Spaces
- My Spaces
-
-
-
-
- My Web Forms
- AlfrescoMyWebForms
- org.alfresco.repo.web.scripts.portlet.WebScriptRepoPortlet
-
-
- authenticator
- webscripts.authenticator.jsr168.webclient
-
-
- scriptUrl
- /alfresco/168s/ui/mywebforms
-
-
-
- text/html
- VIEW
-
-
-
- My Web Forms
- My Web Forms
-
-
-
-
- My Web Files
- AlfrescoMyWebFiles
- org.alfresco.repo.web.scripts.portlet.WebScriptRepoPortlet
-
-
- authenticator
- webscripts.authenticator.jsr168.webclient
-
-
- scriptUrl
- /alfresco/168s/ui/mywebfiles
-
-
-
- text/html
- VIEW
-
-
-
- My Web Files
- My Web Files
-
-
-
-
- user.home-info.online.email
-
-
-
diff --git a/source/web/WEB-INF/repo.tld b/source/web/WEB-INF/repo.tld
deleted file mode 100644
index 211e01a4d6..0000000000
--- a/source/web/WEB-INF/repo.tld
+++ /dev/null
@@ -1,2548 +0,0 @@
-
-
-
-
-
- 1.0
- 1.2
- r
- Alfresco Repository JSF Components
- Tag library consisting of Alfresco repository JSF components i.e. those that can only be used in Alfresco based projects
-
-
- propertySheetGrid
- org.alfresco.web.ui.repo.tag.property.PropertySheetGridTag
- JSP
- Property Sheet
- Displays the current properties for a node in the repository
-
-
- id
- false
- true
- The component identifier for this component
-
-
-
- value
- true
- true
- A NodeRef object representing the node to show the properties of
-
-
-
- binding
- false
- true
- The value binding expression linking this component to a property in a backing bean
-
-
-
- rendered
- false
- true
-
-
-
- readOnly
- false
- true
-
-
-
- validationEnabled
- false
- true
-
-
-
- finishButtonId
- false
- true
-
-
-
- nextButtonId
- false
- true
-
-
-
- var
- false
- true
-
-
-
- columns
- false
- true
-
-
-
- mode
- false
- true
- Whether the property sheet is in read-only mode or edit mode, values can be "view" or "edit"
-
-
-
- labelStyleClass
- false
- true
-
-
-
- cellpadding
- false
- true
-
-
-
- cellspacing
- false
- true
-
-
-
- externalConfig
- false
- true
-
-
-
- configArea
- false
- true
-
-
-
-
- property
- org.alfresco.web.ui.repo.tag.property.PropertyTag
- JSP
-
-
- id
- false
- true
-
-
-
- name
- true
- true
-
-
-
- rendered
- false
- true
-
-
-
- displayLabel
- false
- true
-
-
-
- readOnly
- false
- true
-
-
-
- mode
- false
- true
-
-
-
- converter
- false
- true
-
-
-
-
- association
- org.alfresco.web.ui.repo.tag.property.AssociationTag
- JSP
-
-
- id
- false
- true
-
-
-
- name
- true
- true
-
-
-
- rendered
- false
- true
-
-
-
- displayLabel
- false
- true
-
-
-
- readOnly
- false
- true
-
-
-
- mode
- false
- true
-
-
-
- converter
- false
- true
-
-
-
-
- associationEditor
- org.alfresco.web.ui.repo.tag.property.AssociationEditorTag
- JSP
-
-
- value
- true
- true
-
-
-
- associationName
- true
- true
-
-
-
- availableOptionsSize
- false
- true
-
-
-
- selectItemMsg
- false
- true
-
-
-
- selectItemsMsg
- false
- true
-
-
-
- selectedItemsMsg
- false
- true
-
-
-
- noSelectedItemsMsg
- false
- true
-
-
-
- id
- false
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- style
- false
- true
-
-
-
- styleClass
- false
- true
-
-
-
-
- childAssociation
- org.alfresco.web.ui.repo.tag.property.ChildAssociationTag
- JSP
-
-
- id
- false
- true
-
-
-
- name
- true
- true
-
-
-
- rendered
- false
- true
-
-
-
- displayLabel
- false
- true
-
-
-
- readOnly
- false
- true
-
-
-
- mode
- false
- true
-
-
-
- converter
- false
- true
-
-
-
-
- childAssociationEditor
- org.alfresco.web.ui.repo.tag.property.ChildAssociationEditorTag
- JSP
-
-
- value
- true
- true
-
-
-
- associationName
- true
- true
-
-
-
- availableOptionsSize
- false
- true
-
-
-
- selectItemMsg
- false
- true
-
-
-
- selectItemsMsg
- false
- true
-
-
-
- selectedItemsMsg
- false
- true
-
-
-
- noSelectedItemsMsg
- false
- true
-
-
-
- id
- false
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- style
- false
- true
-
-
-
- styleClass
- false
- true
-
-
-
-
- nodeDescendants
- org.alfresco.web.ui.repo.tag.NodeDescendantsTag
- JSP
-
-
- id
- false
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- style
- false
- true
-
-
-
- styleClass
- false
- true
-
-
-
- maxChildren
- false
- true
-
-
-
- separator
- false
- true
-
-
-
- showEllipses
- false
- true
-
-
-
- action
- false
- true
-
-
-
- actionListener
- false
- true
-
-
-
- value
- true
- true
-
-
-
-
- nodePath
- org.alfresco.web.ui.repo.tag.NodePathTag
- JSP
-
-
- id
- false
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- style
- false
- true
-
-
-
- styleClass
- false
- true
-
-
-
- disabled
- false
- true
-
-
-
- showLeaf
- false
- true
-
-
-
- action
- false
- true
-
-
-
- actionListener
- false
- true
-
-
-
- breadcrumb
- false
- true
-
-
-
- value
- true
- true
-
-
-
-
- simpleSearch
- org.alfresco.web.ui.repo.tag.SimpleSearchTag
- JSP
-
-
- Displays controls and icons as the simple search controls needed for the repo client UI.
-
-
-
- id
- false
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- style
- false
- true
-
-
-
- styleClass
- false
- true
-
-
-
- action
- false
- true
-
-
-
- actionListener
- false
- true
-
-
-
-
- systemError
- org.alfresco.web.ui.repo.tag.SystemErrorTag
- JSP
-
-
- styleClass
- false
- true
-
-
-
- detailsStyleClass
- false
- true
-
-
-
- showDetails
- false
- true
-
-
-
-
- page
- org.alfresco.web.ui.repo.tag.PageTag
- JSP
-
-
- title
- false
- true
-
-
-
- titleId
- false
- true
-
-
-
- doctypeRootElement
- false
- false
-
-
-
- doctypePublic
- false
- false
-
-
-
- doctypeSystem
- false
- false
-
-
-
-
- uploadForm
- org.alfresco.web.ui.repo.tag.UploadFormTag
- JSP
-
-
-
- upload
- org.alfresco.web.ui.common.tag.UploadInputTag
- JSP
-
- Component for uploading files in the dialog framework. It use
- dynamically created hidden iframes to upload files.
-
-
-
- id
- false
- false
- java.lang.String
-
-
-
- value
- true
- true
-
- This property points to name of the uploaded file.
-
-
-
-
- framework
- true
- true
-
- This attribute describes framework type.
- It can takes "dialog" or "wizard" values.
-
-
-
-
-
- spaceSelector
- org.alfresco.web.ui.repo.tag.SpaceSelectorTag
- JSP
-
-
- id
- false
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- style
- false
- true
-
-
-
- styleClass
- false
- true
-
-
-
- nodeStyle
- false
- true
-
-
-
- nodeStyleClass
- false
- true
-
-
-
- value
- false
- true
-
-
-
- label
- true
- true
-
-
-
- spacing
- false
- true
-
-
-
- initialSelection
- false
- true
-
-
-
- disabled
- false
- true
-
-
-
-
- contentSelector
- org.alfresco.web.ui.repo.tag.ContentSelectorTag
- JSP
-
-
- value
- true
- true
-
-
-
- availableOptionsSize
- false
- true
-
-
-
- multiSelect
- false
- true
-
-
-
- id
- false
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- style
- false
- true
-
-
-
- styleClass
- false
- true
-
-
-
-
- webProjectFolderSelector
- org.alfresco.web.ui.repo.tag.WebProjectFolderSelectorTag
- JSP
-
-
- id
- false
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- style
- false
- true
-
-
-
- styleClass
- false
- true
-
-
-
- nodeStyle
- false
- true
-
-
-
- nodeStyleClass
- false
- true
-
-
-
- value
- false
- true
-
-
-
- label
- true
- true
-
-
-
- spacing
- false
- true
-
-
-
- initialSelection
- false
- true
-
-
-
- disabled
- false
- true
-
-
-
-
- categorySelector
- org.alfresco.web.ui.repo.tag.CategorySelectorTag
- JSP
-
-
- id
- false
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- style
- false
- true
-
-
-
- styleClass
- false
- true
-
-
-
- nodeStyle
- false
- true
-
-
-
- nodeStyleClass
- false
- true
-
-
-
- value
- false
- true
-
-
-
- label
- true
- true
-
-
-
- spacing
- false
- true
-
-
-
- initialSelection
- false
- true
-
-
-
- disabled
- false
- true
-
-
-
-
- mimeTypeSelector
- org.alfresco.web.ui.repo.tag.MimeTypeSelectorTag
- JSP
-
-
- id
- false
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- value
- false
- true
-
-
-
- disabled
- false
- true
-
-
-
-
- mlLanguageSelector
- org.alfresco.web.ui.repo.tag.LanguageSelectorTag
- JSP
-
-
- id
- false
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- value
- false
- true
-
-
-
- disabled
- false
- true
-
-
-
- onlyAvailable
- false
- true
-
-
-
- returnCurLgge
- false
- true
-
-
-
-
-
- charsetSelector
- org.alfresco.web.ui.repo.tag.CharsetSelectorTag
- JSP
-
-
- id
- false
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- value
- false
- true
-
-
-
- disabled
- false
- true
-
-
-
-
- shelf
- org.alfresco.web.ui.repo.tag.shelf.ShelfTag
- JSP
-
-
- id
- true
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- groupPanel
- false
- true
-
-
-
- groupBgcolor
- false
- true
-
-
-
- selectedGroupPanel
- false
- true
-
-
-
- selectedGroupBgcolor
- false
- true
-
-
-
- innerGroupPanel
- false
- true
-
-
-
- innerGroupBgcolor
- false
- true
-
-
-
- groupExpandedActionListener
- false
- true
-
-
-
-
- shelfGroup
- org.alfresco.web.ui.repo.tag.shelf.ShelfGroupTag
- JSP
-
-
- id
- true
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- style
- false
- true
-
-
-
- styleClass
- false
- true
-
-
-
- label
- true
- true
-
-
-
- expanded
- false
- true
-
-
-
-
- shelfItem
- org.alfresco.web.ui.repo.tag.shelf.ShelfItemTag
- JSP
-
-
- id
- false
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- style
- false
- true
-
-
-
- styleClass
- false
- true
-
-
-
- tooltip
- false
- true
-
-
-
-
- clipboardShelfItem
- org.alfresco.web.ui.repo.tag.shelf.ClipboardShelfItemTag
- JSP
-
-
- id
- false
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- collections
- true
- true
-
-
-
- pasteActionListener
- true
- true
-
-
-
-
- recentSpacesShelfItem
- org.alfresco.web.ui.repo.tag.shelf.RecentSpacesShelfItemTag
- JSP
-
-
- id
- false
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- value
- true
- true
-
-
-
- navigateActionListener
- true
- true
-
-
-
-
- shortcutsShelfItem
- org.alfresco.web.ui.repo.tag.shelf.ShortcutsShelfItemTag
- JSP
-
-
- id
- false
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- value
- true
- true
-
-
-
- clickActionListener
- true
- true
-
-
-
- removeActionListener
- true
- true
-
-
-
-
- lockIcon
- org.alfresco.web.ui.repo.tag.LockIconTag
- JSP
-
-
- id
- false
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- style
- false
- true
-
-
-
- styleClass
- false
- true
-
-
-
- lockImage
- false
- true
-
-
-
- lockOwnerImage
- false
- true
-
-
-
- align
- false
- true
-
-
-
- width
- false
- true
-
-
-
- height
- false
- true
-
-
-
- lockedOwnerTooltip
- false
- true
-
-
-
- lockedUserTooltip
- false
- true
-
-
-
- value
- true
- true
-
-
-
-
- template
- org.alfresco.web.ui.repo.tag.TemplateTag
- JSP
-
-
- id
- false
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- template
- false
- true
-
-
-
- templatePath
- false
- true
-
-
-
- model
- false
- true
-
-
-
-
- permissionEvaluator
- org.alfresco.web.ui.repo.tag.evaluator.PermissionEvaluatorTag
- JSP
-
-
- id
- false
- true
-
-
-
- value
- true
- true
-
-
-
- binding
- false
- true
-
-
-
- allow
- false
- true
-
-
-
- deny
- false
- true
-
-
-
-
- actionInstanceEvaluator
- org.alfresco.web.ui.repo.tag.evaluator.ActionInstanceEvaluatorTag
- JSP
-
-
- id
- false
- true
-
-
-
- value
- true
- true
-
-
-
- evaluatorClassName
- true
- true
-
-
-
- binding
- false
- true
-
-
-
-
- multiValueSelector
- org.alfresco.web.ui.repo.tag.MultiValueSelectorTag
- JSP
-
-
- value
- true
- true
-
-
-
- lastItemAdded
- true
- true
-
-
-
- id
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- readOnly
- false
- true
-
-
-
- selectItemMsg
- false
- true
-
-
-
- selectedItemsMsg
- false
- true
-
-
-
- noSelectedItemsMsg
- false
- true
-
-
-
- style
- false
- true
-
-
-
- styleClass
- false
- true
-
-
-
-
- multiValueField
- org.alfresco.web.ui.repo.tag.MultiValueFieldTag
- JSP
-
-
- value
- true
- true
-
-
-
- lastItemAdded
- true
- true
-
-
-
- id
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- readOnly
- false
- true
-
-
-
- selectItemMsg
- false
- true
-
-
-
- selectedItemsMsg
- false
- true
-
-
-
- noSelectedItemsMsg
- false
- true
-
-
-
- style
- false
- true
-
-
-
- styleClass
- false
- true
-
-
-
-
- searchCustomProperties
- org.alfresco.web.ui.repo.tag.SearchCustomPropertiesTag
- JSP
-
-
- id
- false
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- style
- false
- true
-
-
-
- styleClass
- false
- true
-
-
-
- bean
- true
- true
-
-
-
- var
- true
- true
-
-
-
-
- actions
- org.alfresco.web.ui.repo.tag.ActionsTag
- JSP
-
-
- The actions component renders a group of actionLink components as defined by an Action Group
- in the web-client-config-actions.xml config file. Each action groups can contain many actions
- which are individually rendered as ActionLink components. The action group uses a Node object
- as the context for the various actions defined in config.
-
-
-
- id
- false
- true
-
-
-
- value
- true
- true
-
-
-
- context
- true
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- style
- false
- true
-
-
-
- styleClass
- false
- true
-
-
-
- verticalSpacing
- false
- true
-
-
-
- showLink
- false
- true
-
-
-
-
- nodeInfo
- org.alfresco.web.ui.repo.tag.NodeInfoTag
- JSP
-
-
- The nodeInfo component wraps another component, typically an
- action link, to provide a floating pop up panel containing
- information on a particular node.
-
-
-
- id
- false
- true
-
-
-
- value
- true
- true
-
-
-
-
- openSearch
- org.alfresco.web.ui.repo.tag.OpenSearchTag
- JSP
-
-
- The openSearch component renders a purely JavaScript based OpenSearch
- client. Search engine registration is provided by the server during
- initialisation, the client will search all the engines and render
- the results.
-
-
-
- id
- true
- true
-
-
-
- style
- false
- true
-
-
-
- styleClass
- false
- true
-
-
-
-
- nodeWorkflowInfo
- org.alfresco.web.ui.repo.tag.NodeWorkflowInfoTag
- JSP
-
-
- The nodeWorkflowInfo component displays information about the workflows
- a node is currently involved in.
-
-
-
- id
- false
- true
-
-
-
- value
- true
- true
-
-
-
-
- dialogButtons
- org.alfresco.web.ui.repo.tag.DialogButtonsTag
- JSP
-
-
- The dialogButtons component displays the buttons for a dialog.
-
-
-
- id
- false
- true
-
-
-
- styleClass
- false
- true
-
-
-
-
- userGroupPicker
- org.alfresco.web.ui.repo.tag.UserGroupPickerTag
- JSP
-
-
- The userGroupPicker component renders a multi-select hierarchical list of groups
- and users. The groups and be expanded to show the child users and groups for individual
- selection and deselection.
-
-
-
- id
- false
- true
-
-
-
- value
- true
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- actionListener
- false
- true
-
-
-
- style
- false
- true
-
-
-
- styleClass
- false
- true
-
-
-
-
- workflowSummary
- org.alfresco.web.ui.repo.tag.WorkflowSummaryTag
- JSP
-
-
- Shows summary information of a workflow instance.
-
-
-
- id
- false
- true
-
-
-
- value
- true
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- style
- false
- true
-
-
-
- styleClass
- false
- true
-
-
-
-
- workflowHistory
- org.alfresco.web.ui.repo.tag.WorkflowHistoryTag
- JSP
-
-
- Shows history information of a workflow instance.
-
-
-
- id
- false
- true
-
-
-
- value
- true
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- style
- false
- true
-
-
-
- styleClass
- false
- true
-
-
-
-
- sidebar
- org.alfresco.web.ui.repo.tag.SidebarTag
- JSP
-
-
- Allows the sidebar component to be used on a JSP page.
-
-
-
- id
- false
- true
-
-
-
- activePlugin
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
-
- navigator
- org.alfresco.web.ui.repo.tag.NavigatorTag
- JSP
-
-
- Allows the navigator component to be used on a JSP page.
-
-
-
- id
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- activeArea
- false
- true
-
-
-
-
- yahooTree
- org.alfresco.web.ui.repo.tag.YahooTreeTag
- JSP
-
-
- The tree tag allows the yahoo based tree component to be
- added to a JSP page.
-
-
-
- id
- false
- true
-
-
-
- rootNodes
- false
- true
-
-
-
- retrieveChildrenUrl
- false
- true
-
-
-
- nodeCollapsedUrl
- false
- true
-
-
-
- nodeExpandedCallback
- false
- true
-
-
-
- nodeCollapsedCallback
- false
- true
-
-
-
- nodeSelectedCallback
- false
- true
-
-
-
-
- webScript
- org.springframework.extensions.webscripts.jsf.WebScriptTag
- JSP
-
-
- Executes a webscript within the context of a JSF component.
-
-
-
- id
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- scriptUrl
- true
- true
-
-
-
- context
- false
- true
-
-
-
-
- categoryBrowser
- org.alfresco.web.ui.repo.tag.CategoryBrowserTag
- JSP
-
-
- id
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
-
- ajaxFolderSelector
- org.alfresco.web.ui.repo.tag.AjaxFolderSelectorTag
- JSP
-
-
- id
- false
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- style
- false
- true
-
-
-
- styleClass
- false
- true
-
-
-
- value
- false
- true
-
-
-
- label
- true
- true
-
-
-
- initialSelection
- false
- true
-
-
-
- singleSelect
- false
- true
-
-
-
- disabled
- false
- true
-
-
-
- height
- false
- true
-
-
-
-
- ajaxCategorySelector
- org.alfresco.web.ui.repo.tag.AjaxCategorySelectorTag
- JSP
-
-
- id
- false
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- style
- false
- true
-
-
-
- styleClass
- false
- true
-
-
-
- value
- false
- true
-
-
-
- label
- true
- true
-
-
-
- initialSelection
- false
- true
-
-
-
- singleSelect
- false
- true
-
-
-
- disabled
- false
- true
-
-
-
- height
- false
- true
-
-
-
-
- ajaxFileSelector
- org.alfresco.web.ui.repo.tag.AjaxFileSelectorTag
- JSP
-
-
- id
- false
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- style
- false
- true
-
-
-
- styleClass
- false
- true
-
-
-
- value
- false
- true
-
-
-
- label
- true
- true
-
-
-
- initialSelection
- false
- true
-
-
-
- singleSelect
- false
- true
-
-
-
- disabled
- false
- true
-
-
-
- height
- false
- true
-
-
-
- mimetypes
- false
- true
-
-
-
-
- ajaxTagSelector
- org.alfresco.web.ui.repo.tag.AjaxTagSelectorTag
- JSP
-
-
- id
- false
- true
-
-
-
- binding
- false
- true
-
-
-
- rendered
- false
- true
-
-
-
- style
- false
- true
-
-
-
- styleClass
- false
- true
-
-
-
- value
- false
- true
-
-
-
- label
- true
- true
-
-
-
- initialSelection
- false
- true
-
-
-
- singleSelect
- false
- true
-
-
-
- disabled
- false
- true
-
-
-
- height
- false
- true
-
-
-
-
- loadBundle
- org.alfresco.web.ui.repo.tag.LoadBundleTag
- JSP
-
-
- var
- true
- true
-
-
-
diff --git a/source/web/WEB-INF/web.xml b/source/web/WEB-INF/web.xml
index b47d9e6314..63f0271197 100644
--- a/source/web/WEB-INF/web.xml
+++ b/source/web/WEB-INF/web.xml
@@ -1,73 +1,12 @@
-
- Alfresco Web Client
+
+ Alfresco
- Alfresco Web Client
-
-
- org.jboss.jbossfaces.WAR_BUNDLES_JSF_IMPL
- true
-
-
-
- javax.faces.STATE_SAVING_METHOD
- server
-
-
-
- javax.faces.PARTIAL_STATE_SAVING_METHOD
- false
-
-
-
- javax.faces.CONFIG_FILES
- /WEB-INF/faces-config-app.xml,/WEB-INF/faces-config-beans.xml,/WEB-INF/faces-config-navigation.xml,/WEB-INF/faces-config-common.xml,/WEB-INF/faces-config-repo.xml,/WEB-INF/faces-config-custom.xml
-
-
-
- org.apache.myfaces.ALLOW_JAVASCRIPT
- true
-
-
-
- This is an EXPERIMENTAL feature, so leave it off for now!
- org.apache.myfaces.DETECT_JAVASCRIPT
- false
-
-
-
- Stop MyFaces from Serializing the state to the session
- org.apache.myfaces.SERIALIZE_STATE_IN_SESSION
- false
-
-
-
-
-
- If true, rendered HTML code will be formatted, so that it is "human readable".
- i.e. additional line separators and whitespace will be written, that do not
- influence the HTML code.
- Default: "true"
-
- org.apache.myfaces.PRETTY_HTML
- true
-
-
-
-
- If true, a javascript function will be rendered that is able to restore the
- former vertical scroll on every request. Convenient feature if you have pages
- with long lists and you do not want the browser page to always jump to the top
- if you trigger a link or button action that stays on the same page.
- Default: "false"
-
- org.apache.myfaces.AUTO_SCROLL
- false
-
+ Alfresco
@@ -94,11 +33,6 @@
/app:company_home
-
- org.apache.myfaces.ERROR_HANDLING
- false
-
-
@@ -107,16 +41,6 @@
org.alfresco.web.app.servlet.CmisSecurityContextCleanerFilter
-
- Authentication filter mapped only to faces URLs. Other URLs generally use proprietary means to talk to the AuthenticationComponent
- Authentication Filter
- org.alfresco.repo.web.filter.beans.BeanProxyFilter
-
- beanName
- AuthenticationFilter
-
-
-
Authentication filter mapped to all authenticated URLs. Mainly for SSO supportGlobal Authentication Filter
@@ -155,11 +79,6 @@
WebDavAuthenticationFilter
-
-
- Admin Authentication Filter
- org.alfresco.web.app.servlet.AdminAuthenticationFilter
- Set HTTP cache Expires header 30 days forward for a mapping.
@@ -178,11 +97,6 @@
org.alfresco.web.app.servlet.GlobalLocalizationFilter
-
- JSF Session Synchronized Filter
- org.alfresco.repo.web.filter.beans.SessionSynchronizedFilter
-
-
@@ -201,46 +115,6 @@
/cmisatom/*
-
- Global Authentication Filter
- /navigate/*
-
-
-
- Global Authentication Filter
- /command/*
-
-
-
- Global Authentication Filter
- /download/*
-
-
-
- Global Authentication Filter
- /template/*
-
-
-
- Global Authentication Filter
- /n/*
-
-
-
- Global Authentication Filter
- /c/*
-
-
-
- Global Authentication Filter
- /t/*
-
-
-
- Global Authentication Filter
- /d/*
-
-
@@ -279,57 +153,12 @@
Global Authentication Filter/ajax/*
-
-
- Global Authentication Filter
- /faces/*
-
-
-
- Authentication Filter
- /faces/*
- WebDAV Authentication Filter/webdav/*
-
- Admin Authentication Filter
- /faces/jsp/admin/*
-
-
-
- Admin Authentication Filter
- /faces/jsp/categories/*
-
-
-
- Admin Authentication Filter
- /faces/jsp/groups/*
-
-
-
- Admin Authentication Filter
- /faces/jsp/users/delete-user.jsp
-
-
-
- Admin Authentication Filter
- /faces/jsp/users/users.jsp
-
-
-
- Admin Authentication Filter
- /faces/jsp/admin/system-info.jsp
-
-
-
- JSF Session Synchronized Filter
- /faces/*
-
-
WebDAV Authentication Filter/cmisatom/*
@@ -362,10 +191,6 @@
-
- org.apache.myfaces.webapp.StartupServletContextListener
-
-
org.springframework.web.util.Log4jConfigListener
@@ -392,18 +217,6 @@
-
-
- Faces Servlet
- javax.faces.webapp.FacesServlet
- 1
-
-
-
- uploadFile
- org.alfresco.web.app.servlet.UploadFileServlet
-
-
uploadContentorg.alfresco.web.app.servlet.UploadContentServlet
@@ -424,31 +237,6 @@
org.alfresco.web.app.servlet.GuestDownloadContentServlet
-
- guestTemplateContent
- org.alfresco.web.app.servlet.GuestTemplateContentServlet
-
-
-
- externalAccess
- org.alfresco.web.app.servlet.ExternalAccessServlet
-
-
-
- templateContent
- org.alfresco.web.app.servlet.TemplateContentServlet
-
-
-
- commandServlet
- org.alfresco.web.app.servlet.CommandServlet
-
-
-
- ajaxServlet
- org.alfresco.web.app.servlet.ajax.AjaxServlet
-
-
WebDAVorg.alfresco.repo.webdav.WebDAVServlet
@@ -473,25 +261,6 @@
-
- portalapiServlet
- org.springframework.extensions.webscripts.servlet.WebScriptServlet
-
- authenticator
- webscripts.authenticator.webclient
-
-
-
-
- workflowDefinitionImageServlet
- org.alfresco.web.app.servlet.WorkflowDefinitionImageServlet
-
-
-
- JBPMDeployProcessServlet
- org.alfresco.web.app.servlet.JBPMDeployProcessServlet
-
-
-
- Faces Servlet
- /faces/*
-
-
-
- uploadFile
- /uploadFileServlet
-
-
uploadContent/upload/*
@@ -653,51 +407,6 @@
/gd/*
-
- templateContent
- /template/*
-
-
-
- templateContent
- /t/*
-
-
-
- guestTemplateContent
- /guestTemplate/*
-
-
-
- guestTemplateContent
- /gt/*
-
-
-
- externalAccess
- /navigate/*
-
-
-
- externalAccess
- /n/*
-
-
-
- commandServlet
- /command/*
-
-
-
- commandServlet
- /c/*
-
-
-
- ajaxServlet
- /ajax/*
-
-
WebDAV/webdav/*
@@ -723,26 +432,6 @@
/wcs/*
-
- portalapiServlet
- /168service/*
-
-
-
- portalapiServlet
- /168s/*
-
-
-
- JBPMDeployProcessServlet
- /jbpm/deployprocess
-
-
-
- workflowDefinitionImageServlet
- /workflowdefinitionimage/*
-
-
-<%-- redirect to the web application's appropriate start page --%>
<%
-// get the start location as configured by the web-client config
-WebApplicationContext context = WebApplicationContextUtils.getRequiredWebApplicationContext(session.getServletContext());
-ConfigService configService = (ConfigService)context.getBean("webClientConfigService");
-ClientConfigElement configElement = (ClientConfigElement)configService.getGlobalConfig().getConfigElement("client");
-String location = configElement.getInitialLocation();
-
-AuthenticationService authService = (AuthenticationService)context.getBean("AuthenticationService");
-
-// override with the users preference if they have one
-User user = (User)session.getAttribute(AuthenticationHelper.AUTHENTICATION_USER);
-if (user != null)
-{
- UserTransaction tx = ((TransactionService)context.getBean("TransactionService")).getUserTransaction();;
- tx.begin();
- try
- {
- authService.validate(user.getTicket());
-
- // ensure construction of the FacesContext before attemping a service call
- FacesContext fc = FacesHelper.getFacesContext(request, response, application);
- String preference = (String)PreferencesService.getPreferences(fc).getValue("start-location");
- if (preference != null)
- {
- location = preference;
- }
-
- tx.commit();
- }
- catch (AuthenticationException authErr)
- {
- try { tx.rollback(); } catch (Throwable tex) {}
-
- // expired ticket
- AuthenticationService unpAuth = (AuthenticationService)context.getBean("authenticationService");
- unpAuth.invalidateTicket(unpAuth.getCurrentTicket());
- unpAuth.clearCurrentSecurityContext();
- }
- catch (Throwable e)
- {
- try { tx.rollback(); } catch (Throwable tex) {}
- }
-}
-else
-{
- UserTransaction tx = ((TransactionService)context.getBean("TransactionService")).getUserTransaction();;
- tx.begin();
- try
- {
- authService.authenticateAsGuest();
- PersonService personService = (PersonService)context.getBean("personService");
- NodeRef guestRef = personService.getPerson(PermissionService.GUEST_AUTHORITY);
- user = new User(authService.getCurrentUserName(), authService.getCurrentTicket(), guestRef);
- session.setAttribute(AuthenticationHelper.AUTHENTICATION_USER, user);
-
- // ensure construction of the FacesContext before attemping a service call
- FacesContext fc = FacesHelper.getFacesContext(request, response, application);
- String preference = (String)PreferencesService.getPreferences(session).getValue("start-location");
- if (preference != null)
- {
- location = preference;
- }
- session.removeAttribute(AuthenticationHelper.AUTHENTICATION_USER);
-
- tx.commit();
- }
- catch (Throwable e)
- {
- try { tx.rollback(); } catch (Throwable tex) {}
- }
-}
-
-if (request.getMethod().equalsIgnoreCase("GET"))
-{
- if (NavigationBean.LOCATION_MYALFRESCO.equals(location))
- {
- // Clear previous location - Fixes the issue ADB-61
- FacesContext fc = FacesHelper.getFacesContext(request, response, application);
- if (fc != null)
- {
- NavigationBean navigationBean = (NavigationBean)FacesHelper.getManagedBean(fc, "NavigationBean");
- if (navigationBean != null)
- {
- navigationBean.setLocation(null);
- navigationBean.setToolbarLocation(null);
- }
- }
- // Send redirect
- response.sendRedirect(request.getContextPath() + "/faces/jsp/dashboards/container.jsp");
- }
- else
- {
- response.sendRedirect(request.getContextPath() + "/faces/jsp/browse/browse.jsp");
- }
-}
// route WebDAV requests
-else if (request.getMethod().equalsIgnoreCase("PROPFIND") ||
- request.getMethod().equalsIgnoreCase("OPTIONS"))
+if (request.getMethod().equalsIgnoreCase("PROPFIND") || request.getMethod().equalsIgnoreCase("OPTIONS"))
{
response.sendRedirect(request.getContextPath() + "/webdav/");
}
-%>
\ No newline at end of file
+%>
+
+
+
+
+ Alfresco
+
+
+
+
+
\ No newline at end of file
diff --git a/source/web/jsp/actions/actions.jsp b/source/web/jsp/actions/actions.jsp
deleted file mode 100644
index a9fa2bed39..0000000000
--- a/source/web/jsp/actions/actions.jsp
+++ /dev/null
@@ -1,150 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
1.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
2.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/actions/add-features.jsp b/source/web/jsp/actions/add-features.jsp
deleted file mode 100644
index c68f1ada2a..0000000000
--- a/source/web/jsp/actions/add-features.jsp
+++ /dev/null
@@ -1,159 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
-
-
- <%-- Main outer table --%>
-
-
- <%-- Title bar --%>
-
-
- <%@ include file="../parts/titlebar.jsp" %>
-
-
-
- <%-- Main area --%>
-
- <%-- Shelf --%>
-
- <%@ include file="../parts/shelf.jsp" %>
-
-
- <%-- Work Area --%>
-
">
-
- <%-- Breadcrumb --%>
- <%@ include file="../parts/breadcrumb.jsp" %>
-
- <%-- Status and Actions --%>
-
-
-
-
- <%-- Status and Actions inner contents table --%>
- <%-- Generally this consists of an icon, textual summary and actions for the current object --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- separator row with gradient shadow --%>
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/actions/check-in.jsp b/source/web/jsp/actions/check-in.jsp
deleted file mode 100644
index 268299ae99..0000000000
--- a/source/web/jsp/actions/check-in.jsp
+++ /dev/null
@@ -1,165 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
-
-
- <%-- Main outer table --%>
-
-
- <%-- Title bar --%>
-
-
- <%@ include file="../parts/titlebar.jsp" %>
-
-
-
- <%-- Main area --%>
-
- <%-- Shelf --%>
-
- <%@ include file="../parts/shelf.jsp" %>
-
-
- <%-- Work Area --%>
-
">
-
- <%-- Breadcrumb --%>
- <%@ include file="../parts/breadcrumb.jsp" %>
-
- <%-- Status and Actions --%>
-
-
-
-
- <%-- Status and Actions inner contents table --%>
- <%-- Generally this consists of an icon, textual summary and actions for the current object --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- separator row with gradient shadow --%>
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/actions/check-out.jsp b/source/web/jsp/actions/check-out.jsp
deleted file mode 100644
index c0668b299f..0000000000
--- a/source/web/jsp/actions/check-out.jsp
+++ /dev/null
@@ -1,161 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
-
-
- <%-- Main outer table --%>
-
-
- <%-- Title bar --%>
-
-
- <%@ include file="../parts/titlebar.jsp" %>
-
-
-
- <%-- Main area --%>
-
- <%-- Shelf --%>
-
- <%@ include file="../parts/shelf.jsp" %>
-
-
- <%-- Work Area --%>
-
">
-
- <%-- Breadcrumb --%>
- <%@ include file="../parts/breadcrumb.jsp" %>
-
- <%-- Status and Actions --%>
-
-
-
-
- <%-- Status and Actions inner contents table --%>
- <%-- Generally this consists of an icon, textual summary and actions for the current object --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- separator row with gradient shadow --%>
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/actions/copy-to-web-project.jsp b/source/web/jsp/actions/copy-to-web-project.jsp
deleted file mode 100644
index 7df332cb3a..0000000000
--- a/source/web/jsp/actions/copy-to-web-project.jsp
+++ /dev/null
@@ -1,166 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
-
-
- <%-- Main outer table --%>
-
-
- <%-- Title bar --%>
-
-
- <%@ include file="../parts/titlebar.jsp" %>
-
-
-
- <%-- Main area --%>
-
- <%-- Shelf --%>
-
- <%@ include file="../parts/shelf.jsp" %>
-
-
- <%-- Work Area --%>
-
">
-
- <%-- Breadcrumb --%>
- <%@ include file="../parts/breadcrumb.jsp" %>
-
- <%-- Status and Actions --%>
-
-
-
-
- <%-- Status and Actions inner contents table --%>
- <%-- Generally this consists of an icon, textual summary and actions for the current object --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- separator row with gradient shadow --%>
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/actions/copy.jsp b/source/web/jsp/actions/copy.jsp
deleted file mode 100644
index 03ff94a5ec..0000000000
--- a/source/web/jsp/actions/copy.jsp
+++ /dev/null
@@ -1,168 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
-
-
- <%-- Main outer table --%>
-
-
- <%-- Title bar --%>
-
-
- <%@ include file="../parts/titlebar.jsp" %>
-
-
-
- <%-- Main area --%>
-
- <%-- Shelf --%>
-
- <%@ include file="../parts/shelf.jsp" %>
-
-
- <%-- Work Area --%>
-
">
-
- <%-- Breadcrumb --%>
- <%@ include file="../parts/breadcrumb.jsp" %>
-
- <%-- Status and Actions --%>
-
-
-
-
- <%-- Status and Actions inner contents table --%>
- <%-- Generally this consists of an icon, textual summary and actions for the current object --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- separator row with gradient shadow --%>
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/actions/import.jsp b/source/web/jsp/actions/import.jsp
deleted file mode 100644
index 47adca1a7f..0000000000
--- a/source/web/jsp/actions/import.jsp
+++ /dev/null
@@ -1,172 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
-
-
- <%-- Main outer table --%>
-
-
- <%-- Title bar --%>
-
-
- <%@ include file="../parts/titlebar.jsp" %>
-
-
-
- <%-- Main area --%>
-
- <%-- Shelf --%>
-
- <%@ include file="../parts/shelf.jsp" %>
-
-
- <%-- Work Area --%>
-
">
-
- <%-- Breadcrumb --%>
- <%@ include file="../parts/breadcrumb.jsp" %>
-
- <%-- Status and Actions --%>
-
-
-
-
- <%-- Status and Actions inner contents table --%>
- <%-- Generally this consists of an icon, textual summary and actions for the current object --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- separator row with gradient shadow --%>
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/actions/link-category.jsp b/source/web/jsp/actions/link-category.jsp
deleted file mode 100644
index 78d2ab98cf..0000000000
--- a/source/web/jsp/actions/link-category.jsp
+++ /dev/null
@@ -1,160 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
-
-
- <%-- Main outer table --%>
-
-
- <%-- Title bar --%>
-
-
- <%@ include file="../parts/titlebar.jsp" %>
-
-
-
- <%-- Main area --%>
-
- <%-- Shelf --%>
-
- <%@ include file="../parts/shelf.jsp" %>
-
-
- <%-- Work Area --%>
-
">
-
- <%-- Breadcrumb --%>
- <%@ include file="../parts/breadcrumb.jsp" %>
-
- <%-- Status and Actions --%>
-
-
-
-
- <%-- Status and Actions inner contents table --%>
- <%-- Generally this consists of an icon, textual summary and actions for the current object --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- separator row with gradient shadow --%>
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/actions/mail.jsp b/source/web/jsp/actions/mail.jsp
deleted file mode 100644
index 033208638a..0000000000
--- a/source/web/jsp/actions/mail.jsp
+++ /dev/null
@@ -1,292 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="javax.faces.context.FacesContext" %>
-<%@ page import="java.util.HashMap" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-<%@ page import="org.alfresco.web.bean.users.MailInviteSpaceUsersWizard" %>
-<%@ page import="org.alfresco.web.app.servlet.FacesHelper" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
-
-
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
-
-
- <%-- Main outer table --%>
-
-
- <%-- Title bar --%>
-
-
- <%@ include file="../parts/titlebar.jsp" %>
-
-
-
- <%-- Main area --%>
-
- <%-- Shelf --%>
-
- <%@ include file="../parts/shelf.jsp" %>
-
-
- <%-- Work Area --%>
-
">
-
- <%-- Breadcrumb --%>
- <%@ include file="../parts/breadcrumb.jsp" %>
-
- <%-- Status and Actions --%>
-
-
-
-
- <%-- Status and Actions inner contents table --%>
- <%-- Generally this consists of an icon, textual summary and actions for the current object --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- separator row with gradient shadow --%>
-
-
-
-
-
-
-
-
-<%
-MailInviteSpaceUsersWizard wizard = (MailInviteSpaceUsersWizard)FacesHelper.getManagedBean(FacesContext.getCurrentInstance(), "MailInviteSpaceUsersWizard");
-if (wizard != null)
-{
- wizard.init(new HashMap());
-}
-%>
diff --git a/source/web/jsp/actions/move.jsp b/source/web/jsp/actions/move.jsp
deleted file mode 100644
index 7456acaa40..0000000000
--- a/source/web/jsp/actions/move.jsp
+++ /dev/null
@@ -1,161 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
-
-
- <%-- Main outer table --%>
-
-
- <%-- Title bar --%>
-
-
- <%@ include file="../parts/titlebar.jsp" %>
-
-
-
- <%-- Main area --%>
-
- <%-- Shelf --%>
-
- <%@ include file="../parts/shelf.jsp" %>
-
-
- <%-- Work Area --%>
-
">
-
- <%-- Breadcrumb --%>
- <%@ include file="../parts/breadcrumb.jsp" %>
-
- <%-- Status and Actions --%>
-
-
-
-
- <%-- Status and Actions inner contents table --%>
- <%-- Generally this consists of an icon, textual summary and actions for the current object --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- separator row with gradient shadow --%>
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/actions/remove-features.jsp b/source/web/jsp/actions/remove-features.jsp
deleted file mode 100644
index 08dfdce3c0..0000000000
--- a/source/web/jsp/actions/remove-features.jsp
+++ /dev/null
@@ -1,159 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
-
-
- <%-- Main outer table --%>
-
-
- <%-- Title bar --%>
-
-
- <%@ include file="../parts/titlebar.jsp" %>
-
-
-
- <%-- Main area --%>
-
- <%-- Shelf --%>
-
- <%@ include file="../parts/shelf.jsp" %>
-
-
- <%-- Work Area --%>
-
">
-
- <%-- Breadcrumb --%>
- <%@ include file="../parts/breadcrumb.jsp" %>
-
- <%-- Status and Actions --%>
-
-
-
-
- <%-- Status and Actions inner contents table --%>
- <%-- Generally this consists of an icon, textual summary and actions for the current object --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- separator row with gradient shadow --%>
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/actions/script.jsp b/source/web/jsp/actions/script.jsp
deleted file mode 100644
index b5018f413f..0000000000
--- a/source/web/jsp/actions/script.jsp
+++ /dev/null
@@ -1,173 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
-
-
- <%-- Main outer table --%>
-
-
- <%-- Title bar --%>
-
-
- <%@ include file="../parts/titlebar.jsp" %>
-
-
-
- <%-- Main area --%>
-
- <%-- Shelf --%>
-
- <%@ include file="../parts/shelf.jsp" %>
-
-
- <%-- Work Area --%>
-
">
-
- <%-- Breadcrumb --%>
- <%@ include file="../parts/breadcrumb.jsp" %>
-
- <%-- Status and Actions --%>
-
-
-
-
- <%-- Status and Actions inner contents table --%>
- <%-- Generally this consists of an icon, textual summary and actions for the current object --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- separator row with gradient shadow --%>
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/actions/simple-workflow.jsp b/source/web/jsp/actions/simple-workflow.jsp
deleted file mode 100644
index f08679c00c..0000000000
--- a/source/web/jsp/actions/simple-workflow.jsp
+++ /dev/null
@@ -1,296 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
-
-
- <%-- Main outer table --%>
-
-
- <%-- Title bar --%>
-
-
- <%@ include file="../parts/titlebar.jsp" %>
-
-
-
- <%-- Main area --%>
-
- <%-- Shelf --%>
-
- <%@ include file="../parts/shelf.jsp" %>
-
-
- <%-- Work Area --%>
-
">
-
- <%-- Breadcrumb --%>
- <%@ include file="../parts/breadcrumb.jsp" %>
-
- <%-- Status and Actions --%>
-
-
-
-
- <%-- Status and Actions inner contents table --%>
- <%-- Generally this consists of an icon, textual summary and actions for the current object --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- separator row with gradient shadow --%>
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/actions/specialise-type.jsp b/source/web/jsp/actions/specialise-type.jsp
deleted file mode 100644
index d123034814..0000000000
--- a/source/web/jsp/actions/specialise-type.jsp
+++ /dev/null
@@ -1,175 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
-
-
- <%-- Main outer table --%>
-
-
- <%-- Title bar --%>
-
-
- <%@ include file="../parts/titlebar.jsp" %>
-
-
-
- <%-- Main area --%>
-
- <%-- Shelf --%>
-
- <%@ include file="../parts/shelf.jsp" %>
-
-
- <%-- Work Area --%>
-
">
-
- <%-- Breadcrumb --%>
- <%@ include file="../parts/breadcrumb.jsp" %>
-
- <%-- Status and Actions --%>
-
-
-
-
- <%-- Status and Actions inner contents table --%>
- <%-- Generally this consists of an icon, textual summary and actions for the current object --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- separator row with gradient shadow --%>
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/actions/transform-image.jsp b/source/web/jsp/actions/transform-image.jsp
deleted file mode 100644
index 5675f58019..0000000000
--- a/source/web/jsp/actions/transform-image.jsp
+++ /dev/null
@@ -1,176 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
-
-
- <%-- Main outer table --%>
-
-
- <%-- Title bar --%>
-
-
- <%@ include file="../parts/titlebar.jsp" %>
-
-
-
- <%-- Main area --%>
-
- <%-- Shelf --%>
-
- <%@ include file="../parts/shelf.jsp" %>
-
-
- <%-- Work Area --%>
-
">
-
- <%-- Breadcrumb --%>
- <%@ include file="../parts/breadcrumb.jsp" %>
-
- <%-- Status and Actions --%>
-
-
-
-
- <%-- Status and Actions inner contents table --%>
- <%-- Generally this consists of an icon, textual summary and actions for the current object --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- separator row with gradient shadow --%>
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/actions/transform.jsp b/source/web/jsp/actions/transform.jsp
deleted file mode 100644
index e5b56e98ba..0000000000
--- a/source/web/jsp/actions/transform.jsp
+++ /dev/null
@@ -1,170 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
-
-
- <%-- Main outer table --%>
-
-
- <%-- Title bar --%>
-
-
- <%@ include file="../parts/titlebar.jsp" %>
-
-
-
- <%-- Main area --%>
-
- <%-- Shelf --%>
-
- <%@ include file="../parts/shelf.jsp" %>
-
-
- <%-- Work Area --%>
-
">
-
- <%-- Breadcrumb --%>
- <%@ include file="../parts/breadcrumb.jsp" %>
-
- <%-- Status and Actions --%>
-
-
-
-
- <%-- Status and Actions inner contents table --%>
- <%-- Generally this consists of an icon, textual summary and actions for the current object --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- separator row with gradient shadow --%>
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/admin/admin-console.jsp b/source/web/jsp/admin/admin-console.jsp
deleted file mode 100644
index 39aa86e581..0000000000
--- a/source/web/jsp/admin/admin-console.jsp
+++ /dev/null
@@ -1,44 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/admin/admin-title.jsp b/source/web/jsp/admin/admin-title.jsp
deleted file mode 100644
index 4e2a47d40d..0000000000
--- a/source/web/jsp/admin/admin-title.jsp
+++ /dev/null
@@ -1,38 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/web/jsp/admin/export.jsp b/source/web/jsp/admin/export.jsp
deleted file mode 100644
index 9c879305d8..0000000000
--- a/source/web/jsp/admin/export.jsp
+++ /dev/null
@@ -1,140 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
:
-
-
-
-
-
-
-
:
-
-
-
-
-
-
-
-
-
-
-
-<%----%>
-
-
-
-
-<%--
-
-
:
-
-
-
-
-
-
---%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/admin/import.jsp b/source/web/jsp/admin/import.jsp
deleted file mode 100644
index bf16267c20..0000000000
--- a/source/web/jsp/admin/import.jsp
+++ /dev/null
@@ -1,79 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a"%>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r"%>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8"%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/admin/jmx-dumper.jsp b/source/web/jsp/admin/jmx-dumper.jsp
deleted file mode 100644
index 777a5dbbe9..0000000000
--- a/source/web/jsp/admin/jmx-dumper.jsp
+++ /dev/null
@@ -1,63 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/web/jsp/admin/node-browser.jsp b/source/web/jsp/admin/node-browser.jsp
deleted file mode 100644
index bafba0758e..0000000000
--- a/source/web/jsp/admin/node-browser.jsp
+++ /dev/null
@@ -1,309 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
- <%@ include file="admin-title.jsp" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/web/jsp/admin/repoadmin-console.jsp b/source/web/jsp/admin/repoadmin-console.jsp
deleted file mode 100644
index aea10fb8eb..0000000000
--- a/source/web/jsp/admin/repoadmin-console.jsp
+++ /dev/null
@@ -1,101 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
User:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/web/jsp/admin/search-results.jsp b/source/web/jsp/admin/search-results.jsp
deleted file mode 100644
index 46775529ad..0000000000
--- a/source/web/jsp/admin/search-results.jsp
+++ /dev/null
@@ -1,92 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
- <%@ include file="admin-title.jsp" %>
-
-
-
-
-
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/web/jsp/admin/store-browser.jsp b/source/web/jsp/admin/store-browser.jsp
deleted file mode 100644
index aff3a0f8d5..0000000000
--- a/source/web/jsp/admin/store-browser.jsp
+++ /dev/null
@@ -1,60 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
- <%@ include file="admin-title.jsp" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/web/jsp/admin/system-info.jsp b/source/web/jsp/admin/system-info.jsp
deleted file mode 100644
index 435f5e16e4..0000000000
--- a/source/web/jsp/admin/system-info.jsp
+++ /dev/null
@@ -1,86 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/admin/tenantadmin-console.jsp b/source/web/jsp/admin/tenantadmin-console.jsp
deleted file mode 100644
index 192aee0c29..0000000000
--- a/source/web/jsp/admin/tenantadmin-console.jsp
+++ /dev/null
@@ -1,101 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
User:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/web/jsp/admin/webclientconfig-console.jsp b/source/web/jsp/admin/webclientconfig-console.jsp
deleted file mode 100644
index f1044d0ddc..0000000000
--- a/source/web/jsp/admin/webclientconfig-console.jsp
+++ /dev/null
@@ -1,101 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
User:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/web/jsp/admin/workflow-console.jsp b/source/web/jsp/admin/workflow-console.jsp
deleted file mode 100644
index 9ec3c61241..0000000000
--- a/source/web/jsp/admin/workflow-console.jsp
+++ /dev/null
@@ -1,104 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
User:
-
-
-
Workflow Definition:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- -----
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/web/jsp/browse/browse.jsp b/source/web/jsp/browse/browse.jsp
deleted file mode 100644
index cffb647ee3..0000000000
--- a/source/web/jsp/browse/browse.jsp
+++ /dev/null
@@ -1,549 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-
-<%@ page import="org.alfresco.web.app.Application" %>
-<%@ page import="javax.faces.context.FacesContext" %>
-<%@ page import="java.util.Locale" %>
-
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator"%>
-
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="100kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-
-
-
-
-
-
- <%
- FacesContext fc = FacesContext.getCurrentInstance();
-
- // set locale for JSF framework usage
- Locale locale = Application.getLanguage(fc);
- fc.getViewRoot().setLocale(locale);
- if (!Application.getClientConfig(fc).isLanguageSelect())
- {
- Application.setLanguage(fc, locale.toString());
- }
- %>
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
-
-
- <%-- Main outer table --%>
-
-
- <%-- Title bar --%>
-
-
- <%@ include file="../parts/titlebar.jsp" %>
-
-
-
- <%-- Main area --%>
-
- <%-- Shelf --%>
-
- <%@ include file="../parts/shelf.jsp" %>
-
-
- <%-- Work Area --%>
-
">
-
- <%-- Breadcrumb --%>
- <%@ include file="../parts/breadcrumb.jsp" %>
-
- <%-- Status and Actions --%>
-
-
-
-
- <%-- Status and Actions inner contents table --%>
- <%-- Generally this consists of an icon, textual summary and actions for the current object --%>
-
-
-
-
-
-
-
diff --git a/source/web/jsp/browse/category-browse.jsp b/source/web/jsp/browse/category-browse.jsp
deleted file mode 100644
index df7d7fe162..0000000000
--- a/source/web/jsp/browse/category-browse.jsp
+++ /dev/null
@@ -1,454 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ page import="org.alfresco.web.app.Application" %>
-<%@ page import="javax.faces.context.FacesContext" %>
-
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="100kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-
-
-
-
-
-
-<%
-FacesContext fc = FacesContext.getCurrentInstance();
-
-// set locale for JSF framework usage
-fc.getViewRoot().setLocale(Application.getLanguage(fc));
-%>
-
-<%-- load a bundle of properties with I18N strings --%>
-
-
-
-
- <%-- Main outer table --%>
-
-
- <%-- Title bar --%>
-
-
- <%@ include file="../parts/titlebar.jsp" %>
-
-
-
- <%-- Main area --%>
-
- <%-- Shelf --%>
-
- <%@ include file="../parts/shelf.jsp" %>
-
-
- <%-- Work Area --%>
-
">
-
- <%-- Breadcrumb --%>
- <%@ include file="../parts/breadcrumb.jsp" %>
-
- <%-- Status and Actions --%>
-
-
-
-
- <%-- Status and Actions inner contents table --%>
- <%-- Generally this consists of an icon, textual summary and actions for the current object --%>
-
-
- <%-- actions --%>
-
-
-
-
-
- <%-- Summary --%>
-
-
-
-
-
-
-
- <%-- View mode settings --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- separator row with gradient shadow --%>
-
-
-
-
-
-
- <%-- Custom Template View --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- Details - Spaces --%>
-
-
-
-
- <%-- wrapper comment used by the panel to add additional component facets --%>
-
-
-
-
-
-
-
-
-
-
-
- <%-- Spaces List --%>
-
-
- <%-- Primary column for details view mode --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- Primary column for icons view mode --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- Primary column for list view mode --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- Description column for all view modes --%>
-
-
-
-
-
-
-
- <%-- Path column for search mode in details view mode --%>
-
-
-
-
-
-
-
- <%-- Created Date column for details view mode --%>
-
-
-
-
-
-
-
-
-
- <%-- Modified Date column for details/icons view modes --%>
-
-
-
-
-
-
-
-
-
- <%-- Node Descendants links for list view mode --%>
-
-
-
-
- <%-- Space Actions column --%>
-
-
-
-
-
- <%-- actions are configured in web-client-config-actions.xml --%>
-
-
- <%-- More actions menu --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/browse/dashboard.jsp b/source/web/jsp/browse/dashboard.jsp
deleted file mode 100644
index b6f8d1fa1f..0000000000
--- a/source/web/jsp/browse/dashboard.jsp
+++ /dev/null
@@ -1,153 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-
-<%@ page import="org.alfresco.web.app.Application" %>
-<%@ page import="javax.faces.context.FacesContext" %>
-
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="64kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
-
-
- <%-- Main outer table --%>
-
-
- <%-- Title bar --%>
-
-
- <%@ include file="../parts/titlebar.jsp" %>
-
-
-
- <%-- Main area --%>
-
- <%-- Shelf --%>
-
- <%@ include file="../parts/shelf.jsp" %>
-
-
- <%-- Work Area --%>
-
">
-
- <%-- Breadcrumb --%>
- <%@ include file="../parts/breadcrumb.jsp" %>
-
- <%-- Status and Actions --%>
-
-
-
-
- <%-- Status and Actions inner contents table --%>
- <%-- Generally this consists of an icon, textual summary and actions for the current object --%>
-
-
-
- <%-- actions for browse mode --%>
-
-
-
-
- <%-- Summary --%>
-
-
-
-
-
-
-
- <%-- View mode settings --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- separator row with gradient shadow --%>
-
-
-
-
-
-
- <%-- Dashboard --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- Error Messages --%>
-
-
-
- <%-- messages tag to show messages not handled by other specific message tags --%>
-
-
-
-
-
-
-
-
diff --git a/source/web/jsp/categories/categories.jsp b/source/web/jsp/categories/categories.jsp
deleted file mode 100644
index 40b4d28ba3..0000000000
--- a/source/web/jsp/categories/categories.jsp
+++ /dev/null
@@ -1,65 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a"%>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r"%>
-
-
-
-
-
-
-
-
- <%-- Primary column for icons view mode --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- Actions column --%>
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/categories/delete-category.jsp b/source/web/jsp/categories/delete-category.jsp
deleted file mode 100644
index 6d8f777ae4..0000000000
--- a/source/web/jsp/categories/delete-category.jsp
+++ /dev/null
@@ -1,67 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/categories/edit-category.jsp b/source/web/jsp/categories/edit-category.jsp
deleted file mode 100644
index 70a6dd2963..0000000000
--- a/source/web/jsp/categories/edit-category.jsp
+++ /dev/null
@@ -1,71 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
-
-
-
-
-
:
-
-
-
- *
-
-
-
-
:
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/categories/edit-node-categories.jsp b/source/web/jsp/categories/edit-node-categories.jsp
deleted file mode 100644
index 708ed0895f..0000000000
--- a/source/web/jsp/categories/edit-node-categories.jsp
+++ /dev/null
@@ -1,51 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
:
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/categories/new-category.jsp b/source/web/jsp/categories/new-category.jsp
deleted file mode 100644
index cfddd87bb3..0000000000
--- a/source/web/jsp/categories/new-category.jsp
+++ /dev/null
@@ -1,74 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
-
-
-
-
-
:
-
-
-
- *
-
-
-
-
:
-
-
-
-
-
-
-
-
diff --git a/source/web/jsp/close.jsp b/source/web/jsp/close.jsp
deleted file mode 100644
index 3c66bbd0b4..0000000000
--- a/source/web/jsp/close.jsp
+++ /dev/null
@@ -1,21 +0,0 @@
-
diff --git a/source/web/jsp/coci/cancel-editing-file.jsp b/source/web/jsp/coci/cancel-editing-file.jsp
deleted file mode 100644
index 22988aedba..0000000000
--- a/source/web/jsp/coci/cancel-editing-file.jsp
+++ /dev/null
@@ -1,42 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/coci/checkin-file.jsp b/source/web/jsp/coci/checkin-file.jsp
deleted file mode 100644
index 9503877fe4..0000000000
--- a/source/web/jsp/coci/checkin-file.jsp
+++ /dev/null
@@ -1,96 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a"%>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r"%>
-
-<%@ page import="org.alfresco.web.bean.coci.CheckinCheckoutDialog"%>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8"%>
-<%@ page isELIgnored="false"%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/web/jsp/coci/checkout-file-link.jsp b/source/web/jsp/coci/checkout-file-link.jsp
deleted file mode 100644
index 09c962462d..0000000000
--- a/source/web/jsp/coci/checkout-file-link.jsp
+++ /dev/null
@@ -1,76 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/coci/checkout-file.jsp b/source/web/jsp/coci/checkout-file.jsp
deleted file mode 100644
index 290eaf6521..0000000000
--- a/source/web/jsp/coci/checkout-file.jsp
+++ /dev/null
@@ -1,100 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
-
diff --git a/source/web/jsp/coci/done-editing.jsp b/source/web/jsp/coci/done-editing.jsp
deleted file mode 100644
index 4b4e171d07..0000000000
--- a/source/web/jsp/coci/done-editing.jsp
+++ /dev/null
@@ -1,73 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a"%>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r"%>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8"%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/web/jsp/coci/edit-offline-file.jsp b/source/web/jsp/coci/edit-offline-file.jsp
deleted file mode 100644
index 188005e0fe..0000000000
--- a/source/web/jsp/coci/edit-offline-file.jsp
+++ /dev/null
@@ -1,107 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
-<%@taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
-<%@taglib prefix="a" uri="/WEB-INF/alfresco.tld" %>
-<%@taglib prefix="c" uri="/WEB-INF/c.tld" %>
-
-
-
-
-
-
-
-
- 5
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/web/jsp/coci/undocheckout-file.jsp b/source/web/jsp/coci/undocheckout-file.jsp
deleted file mode 100644
index 304c09f982..0000000000
--- a/source/web/jsp/coci/undocheckout-file.jsp
+++ /dev/null
@@ -1,42 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/coci/working-copy-missing.jsp b/source/web/jsp/coci/working-copy-missing.jsp
deleted file mode 100644
index 9d4f1ef3bc..0000000000
--- a/source/web/jsp/coci/working-copy-missing.jsp
+++ /dev/null
@@ -1,43 +0,0 @@
-<%--
-* Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
diff --git a/source/web/jsp/content/add-content-dialog.jsp b/source/web/jsp/content/add-content-dialog.jsp
deleted file mode 100644
index 1a12b1d858..0000000000
--- a/source/web/jsp/content/add-content-dialog.jsp
+++ /dev/null
@@ -1,195 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a"%>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r"%>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8"%>
-<%@ page isELIgnored="false"%>
-<%@ page import="javax.faces.context.FacesContext"%>
-<%@ page import="org.alfresco.web.app.Application"%>
-<%@ page import="org.alfresco.web.bean.content.AddContentDialog"%>
-<%@ page import="org.alfresco.web.app.servlet.FacesHelper"%>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator"%>
-
-<%
- boolean fileUploaded = false;
-
- AddContentDialog dialog = (AddContentDialog) FacesHelper.getManagedBean(FacesContext.getCurrentInstance(), "AddContentDialog");
- if (dialog != null && dialog.getFileName() != null)
- {
- fileUploaded = true;
- }
-%>
-
-
-
-<%
-if (fileUploaded)
-{
- PanelGenerator.generatePanelStart(out, request.getContextPath(), "yellowInner", "#ffffcc");
- out.write(" ");
- out.write(dialog.getFileUploadSuccessMsg());
- PanelGenerator.generatePanelEnd(out, request.getContextPath(), "yellowInner");
- out.write("");
-}
-%>
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/content/apply-doc-template.jsp b/source/web/jsp/content/apply-doc-template.jsp
deleted file mode 100644
index 767fc3f3b1..0000000000
--- a/source/web/jsp/content/apply-doc-template.jsp
+++ /dev/null
@@ -1,54 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a"%>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r"%>
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/content/create-content-wizard/create-html.jsp b/source/web/jsp/content/create-content-wizard/create-html.jsp
deleted file mode 100644
index 9477a28c17..0000000000
--- a/source/web/jsp/content/create-content-wizard/create-html.jsp
+++ /dev/null
@@ -1,67 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-<%@ page isELIgnored="false" %>
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/web/jsp/content/create-content-wizard/create-text.jsp b/source/web/jsp/content/create-content-wizard/create-text.jsp
deleted file mode 100644
index 835f7df50d..0000000000
--- a/source/web/jsp/content/create-content-wizard/create-text.jsp
+++ /dev/null
@@ -1,23 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/content/create-content-wizard/create-xml.jsp b/source/web/jsp/content/create-content-wizard/create-xml.jsp
deleted file mode 100644
index 098a19d11c..0000000000
--- a/source/web/jsp/content/create-content-wizard/create-xml.jsp
+++ /dev/null
@@ -1,26 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see http://www.gnu.org/licenses.
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/content/create-content-wizard/details.jsp b/source/web/jsp/content/create-content-wizard/details.jsp
deleted file mode 100644
index 4833969aa3..0000000000
--- a/source/web/jsp/content/create-content-wizard/details.jsp
+++ /dev/null
@@ -1,106 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/web/jsp/content/document-details.jsp b/source/web/jsp/content/document-details.jsp
deleted file mode 100644
index 298b0a679d..0000000000
--- a/source/web/jsp/content/document-details.jsp
+++ /dev/null
@@ -1,388 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a"%>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r"%>
-
-<%@ page buffer="64kb" contentType="text/html;charset=UTF-8"%>
-<%@ page isELIgnored="false"%>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator"%>
-<%@ page import="org.alfresco.web.app.Application"%>
-<%@ page import="javax.faces.context.FacesContext"%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
<%-- icon image for the doc --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
<%-- properties for the doc --%>
-
-
-
-
-
-
-
-
-
-
-
<%-- icon image for the doc --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-<%-- Multilingual properties --%>
-
-
-
-
-
-
-
-
-<%-- Panel if the node has the multilingual aspect--%>
-
-
- <%-- properties for Ml container --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- list of translations --%>
-
-
- <%-- Name and icon columns --%>
-
-
-
-
-
-
-
-
-
-
- <%-- Language columns --%>
-
-
-
-
-
-
-
- <%-- view actions --%>
-
-
-
-
-
- <%-- Start the new edition wizard from this translation --%>
-
-
-
-
-
-
-
-
-
-
- <%-- Actions - Add Translation, Add Translation with Content --%>
-
-
-
-
-
-
-
-
-
-
-
-
-<%-- Panel if the node has not the multilingual aspect--%>
-
-
- <%-- Action - Add Translation --%>
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/content/edit-content-properties.jsp b/source/web/jsp/content/edit-content-properties.jsp
deleted file mode 100644
index 66f2be78b4..0000000000
--- a/source/web/jsp/content/edit-content-properties.jsp
+++ /dev/null
@@ -1,36 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/content/edit-file.jsp b/source/web/jsp/content/edit-file.jsp
deleted file mode 100644
index 8bf6e33d52..0000000000
--- a/source/web/jsp/content/edit-file.jsp
+++ /dev/null
@@ -1,76 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- downloadable file link generated by CheckinCheckoutDialog --%>
-
-
-
-
-
-
-
-
-
- <%-- Hide the checkout info if this document is already checked out --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/content/edit-html-inline.jsp b/source/web/jsp/content/edit-html-inline.jsp
deleted file mode 100644
index d62a79567a..0000000000
--- a/source/web/jsp/content/edit-html-inline.jsp
+++ /dev/null
@@ -1,101 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
-
-
-
- <%-- Hide the checkout info if this document is already checked out --%>
-
- <% PanelGenerator.generatePanelStart(out, request.getContextPath(), "yellowInner", "#ffffcc"); %>
-
-
\ No newline at end of file
diff --git a/source/web/jsp/content/edit-link-properties.jsp b/source/web/jsp/content/edit-link-properties.jsp
deleted file mode 100644
index e7cef6f95b..0000000000
--- a/source/web/jsp/content/edit-link-properties.jsp
+++ /dev/null
@@ -1,33 +0,0 @@
-<%--
-* Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
-
-
diff --git a/source/web/jsp/content/edit-simple-workflow.jsp b/source/web/jsp/content/edit-simple-workflow.jsp
deleted file mode 100644
index 544694459c..0000000000
--- a/source/web/jsp/content/edit-simple-workflow.jsp
+++ /dev/null
@@ -1,172 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
-
-
-
:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/content/edit-text-inline.jsp b/source/web/jsp/content/edit-text-inline.jsp
deleted file mode 100644
index 015fc78ab8..0000000000
--- a/source/web/jsp/content/edit-text-inline.jsp
+++ /dev/null
@@ -1,65 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
- <%-- Hide the checkout info if this document is already checked out --%>
-
- <% PanelGenerator.generatePanelStart(out, request.getContextPath(), "yellowInner", "#ffffcc"); %>
-
-
diff --git a/source/web/jsp/content/filelink-details.jsp b/source/web/jsp/content/filelink-details.jsp
deleted file mode 100644
index 940e021ecd..0000000000
--- a/source/web/jsp/content/filelink-details.jsp
+++ /dev/null
@@ -1,105 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a"%>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r"%>
-
-<%@ page buffer="64kb" contentType="text/html;charset=UTF-8"%>
-<%@ page isELIgnored="false"%>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator"%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
<%-- icon image for the doc --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
<%-- properties for the doc link --%>
-
-
-
-
-
-
-
- <%-- Document Actions --%>
-
-
-
-
-
-
diff --git a/source/web/jsp/content/preview-file.jsp b/source/web/jsp/content/preview-file.jsp
deleted file mode 100644
index d135cbd5b9..0000000000
--- a/source/web/jsp/content/preview-file.jsp
+++ /dev/null
@@ -1,43 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a"%>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r"%>
-
-<%@ page buffer="64kb" contentType="text/html;charset=UTF-8"%>
-<%@ page isELIgnored="false"%>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator"%>
-
-
-
-
-
-
-
- <%-- Template component --%>
-
- <%-- Get current template noderef and bind current document as model --%>
-
-
-
-
-
-
diff --git a/source/web/jsp/content/update-file.jsp b/source/web/jsp/content/update-file.jsp
deleted file mode 100644
index beb7dfc1ca..0000000000
--- a/source/web/jsp/content/update-file.jsp
+++ /dev/null
@@ -1,53 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a"%>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r"%>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8"%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/web/jsp/content/upload-new-version.jsp b/source/web/jsp/content/upload-new-version.jsp
deleted file mode 100644
index 1c63cf90ea..0000000000
--- a/source/web/jsp/content/upload-new-version.jsp
+++ /dev/null
@@ -1,83 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a"%>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r"%>
-
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator"%>
-<%@ page import="org.alfresco.web.bean.coci.UploadNewVersionDialog"%>
-<%@ page import="org.alfresco.web.app.servlet.FacesHelper"%>
-<%@ page import="javax.faces.context.FacesContext"%>
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8"%>
-
-
-<%
- boolean fileUploaded = false;
-
- UploadNewVersionDialog dialog = (UploadNewVersionDialog) FacesHelper.getManagedBean(FacesContext.getCurrentInstance(), "UploadNewVersionDialog");
- if (dialog != null && dialog.getFileName() != null)
- {
- fileUploaded = true;
- }
-%>
-
-
-
-<%
-if (fileUploaded)
-{
- PanelGenerator.generatePanelStart(out, request.getContextPath(), "yellowInner", "#ffffcc");
- out.write(" ");
- out.write(dialog.getFileUploadSuccessMsg());
- PanelGenerator.generatePanelEnd(out, request.getContextPath(), "yellowInner");
- out.write("");
-}
-%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/content/versioned-details.jsp b/source/web/jsp/content/versioned-details.jsp
deleted file mode 100644
index 82dc2529fd..0000000000
--- a/source/web/jsp/content/versioned-details.jsp
+++ /dev/null
@@ -1,330 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="64kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-<%@ page import="org.alfresco.web.app.Application" %>
-<%@ page import="javax.faces.context.FacesContext" %>
-
-
-
-
- <%
- FacesContext fc = FacesContext.getCurrentInstance();
-
- // set locale for JSF framework usage
- fc.getViewRoot().setLocale(Application.getLanguage(fc));
- %>
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
-
-
- <%-- Main outer table --%>
-
-
- <%-- Title bar --%>
-
-
- <%@ include file="../parts/titlebar.jsp" %>
-
-
-
- <%-- Main area --%>
-
- <%-- Shelf --%>
-
- <%@ include file="../parts/shelf.jsp" %>
-
-
- <%-- Work Area --%>
-
">
-
- <%-- Breadcrumb --%>
- <%@ include file="../parts/breadcrumb.jsp" %>
-
- <%-- Status and Actions --%>
-
-
-
-
- <%-- Status and Actions inner contents table --%>
- <%-- Generally this consists of an icon, textual summary and actions for the current object --%>
-
-
-
-
-
-
-
-
-
-
- :
-
-
-
-
- <%-- Navigation --%>
-
-
-
-
-
-
-
-
-
-
-
- <%-- separator row with gradient shadow --%>
-
-
-
-
-
-
- <%-- Error Messages --%>
-
-
-
- <%-- messages tag to show messages not handled by other specific message tags --%>
-
-
-
-
-
- <%-- Details --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- icon image for the doc --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- properties for the doc --%>
-
-
-
-
-
-
-
-
-
- <%-- Multilingual properties --%>
-
-
-
-
- <%-- Panel if the node has the multilingual aspect--%>
-
-
- <%-- properties for Ml container --%>
-
-
-
-
-
-
-
-
-
-
-
- <%-- list of translations --%>
-
-
- <%-- Name and icon columns --%>
-
-
-
-
-
-
-
-
-
-
- <%-- Language columns --%>
-
-
-
-
-
-
-
- <%-- view actions --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- Primary column for details view mode --%>
-
-
-
-
-
-
-
-
- <%-- Version notes columns --%>
-
-
-
-
-
-
-
- <%-- Description columns --%>
-
-
-
-
-
-
-
- <%-- Created Date column for details view mode --%>
-
-
-
-
-
-
-
-
-
- <%-- view the contents of the specific version --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/content/view-content-properties.jsp b/source/web/jsp/content/view-content-properties.jsp
deleted file mode 100644
index 37f139197c..0000000000
--- a/source/web/jsp/content/view-content-properties.jsp
+++ /dev/null
@@ -1,26 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
\ No newline at end of file
diff --git a/source/web/jsp/dashboards/container-light.jsp b/source/web/jsp/dashboards/container-light.jsp
deleted file mode 100644
index 8eda5630bc..0000000000
--- a/source/web/jsp/dashboards/container-light.jsp
+++ /dev/null
@@ -1,56 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.app.Application" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/dashboards/container.jsp b/source/web/jsp/dashboards/container.jsp
deleted file mode 100644
index 021736371e..0000000000
--- a/source/web/jsp/dashboards/container.jsp
+++ /dev/null
@@ -1,142 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.app.Application" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-<%@ page import="javax.faces.context.FacesContext" %>
-<%@ page import="java.util.Locale" %>
-
-
-
-
- <%
- FacesContext fc = FacesContext.getCurrentInstance();
-
- // set locale for JSF framework usage
- Locale locale = Application.getLanguage(fc);
- fc.getViewRoot().setLocale(locale);
- if (!Application.getClientConfig(fc).isLanguageSelect())
- {
- Application.setLanguage(fc, locale.toString());
- }
- %>
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
-
-
- <%-- Main outer table --%>
-
-
- <%-- Title bar --%>
-
-
- <%@ include file="../parts/titlebar.jsp" %>
-
-
-
- <%-- Main area --%>
-
- <%-- Shelf --%>
-
- <%@ include file="../parts/shelf.jsp" %>
-
-
- <%-- Work Area --%>
-
">
-
- <%-- Breadcrumb --%>
- <%@ include file="../parts/breadcrumb.jsp" %>
-
- <%-- Status and Actions --%>
-
-
-
-
- <%-- Status and Actions inner contents table --%>
- <%-- Generally this consists of an icon, textual summary and actions for the current object --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- separator row with gradient shadow --%>
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/dashboards/dashlets/checkedout-docs.jsp b/source/web/jsp/dashboards/dashlets/checkedout-docs.jsp
deleted file mode 100644
index bffef89ad8..0000000000
--- a/source/web/jsp/dashboards/dashlets/checkedout-docs.jsp
+++ /dev/null
@@ -1,22 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%-- Note that this template is loaded from the classpath --%>
-
diff --git a/source/web/jsp/dashboards/dashlets/doclist-webscript.jsp b/source/web/jsp/dashboards/dashlets/doclist-webscript.jsp
deleted file mode 100644
index 35fff287da..0000000000
--- a/source/web/jsp/dashboards/dashlets/doclist-webscript.jsp
+++ /dev/null
@@ -1,21 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
\ No newline at end of file
diff --git a/source/web/jsp/dashboards/dashlets/getting-started.jsp b/source/web/jsp/dashboards/dashlets/getting-started.jsp
deleted file mode 100644
index 790343a2fd..0000000000
--- a/source/web/jsp/dashboards/dashlets/getting-started.jsp
+++ /dev/null
@@ -1,119 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-<% PanelGenerator.generatePanelStart(out, request.getContextPath(), "yellow", "#ffffcc"); %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-<% PanelGenerator.generatePanelEnd(out, request.getContextPath(), "yellow"); %>
-
diff --git a/source/web/jsp/dashboards/dashlets/my-docs.jsp b/source/web/jsp/dashboards/dashlets/my-docs.jsp
deleted file mode 100644
index de120e7a9c..0000000000
--- a/source/web/jsp/dashboards/dashlets/my-docs.jsp
+++ /dev/null
@@ -1,22 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%-- Note that this template is loaded from the classpath --%>
-
diff --git a/source/web/jsp/dashboards/dashlets/my-images.jsp b/source/web/jsp/dashboards/dashlets/my-images.jsp
deleted file mode 100644
index b3fa4ba01d..0000000000
--- a/source/web/jsp/dashboards/dashlets/my-images.jsp
+++ /dev/null
@@ -1,22 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%-- Note that this template is loaded from the classpath --%>
-
diff --git a/source/web/jsp/dashboards/dashlets/myspaces-webscript.jsp b/source/web/jsp/dashboards/dashlets/myspaces-webscript.jsp
deleted file mode 100644
index b8fcad542b..0000000000
--- a/source/web/jsp/dashboards/dashlets/myspaces-webscript.jsp
+++ /dev/null
@@ -1,21 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
\ No newline at end of file
diff --git a/source/web/jsp/dashboards/dashlets/mytasks-webscript.jsp b/source/web/jsp/dashboards/dashlets/mytasks-webscript.jsp
deleted file mode 100644
index 6ffd3a621e..0000000000
--- a/source/web/jsp/dashboards/dashlets/mytasks-webscript.jsp
+++ /dev/null
@@ -1,21 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
\ No newline at end of file
diff --git a/source/web/jsp/dashboards/dashlets/opensearch.jsp b/source/web/jsp/dashboards/dashlets/opensearch.jsp
deleted file mode 100644
index 03e9d983ce..0000000000
--- a/source/web/jsp/dashboards/dashlets/opensearch.jsp
+++ /dev/null
@@ -1,24 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
\ No newline at end of file
diff --git a/source/web/jsp/dashboards/dummy.jsp b/source/web/jsp/dashboards/dummy.jsp
deleted file mode 100644
index 546630491f..0000000000
--- a/source/web/jsp/dashboards/dummy.jsp
+++ /dev/null
@@ -1,18 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
\ No newline at end of file
diff --git a/source/web/jsp/dashboards/layouts/narrow-left-2column.jsp b/source/web/jsp/dashboards/layouts/narrow-left-2column.jsp
deleted file mode 100644
index 3fe5dbe402..0000000000
--- a/source/web/jsp/dashboards/layouts/narrow-left-2column.jsp
+++ /dev/null
@@ -1,86 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page import="org.alfresco.web.app.Application" %>
-
-
- <% Application.getDashboardManager().initDashboard(); %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/web/jsp/dashboards/layouts/narrow-right-2column.jsp b/source/web/jsp/dashboards/layouts/narrow-right-2column.jsp
deleted file mode 100644
index 0de8c8d551..0000000000
--- a/source/web/jsp/dashboards/layouts/narrow-right-2column.jsp
+++ /dev/null
@@ -1,86 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page import="org.alfresco.web.app.Application" %>
-
-
- <% Application.getDashboardManager().initDashboard(); %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/web/jsp/dashboards/layouts/single-column.jsp b/source/web/jsp/dashboards/layouts/single-column.jsp
deleted file mode 100644
index dc0c5d44a4..0000000000
--- a/source/web/jsp/dashboards/layouts/single-column.jsp
+++ /dev/null
@@ -1,58 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page import="org.alfresco.web.app.Application" %>
-
-<% Application.getDashboardManager().initDashboard(); %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/web/jsp/dashboards/layouts/three-column.jsp b/source/web/jsp/dashboards/layouts/three-column.jsp
deleted file mode 100644
index ae8053fc6d..0000000000
--- a/source/web/jsp/dashboards/layouts/three-column.jsp
+++ /dev/null
@@ -1,115 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page import="org.alfresco.web.app.Application" %>
-
-
- <% Application.getDashboardManager().initDashboard(); %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/web/jsp/dashboards/wizard/columns.jsp b/source/web/jsp/dashboards/wizard/columns.jsp
deleted file mode 100644
index 81926194ba..0000000000
--- a/source/web/jsp/dashboards/wizard/columns.jsp
+++ /dev/null
@@ -1,92 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- note this component ID is referenced in DashboardWizard --%>
-
-
-
-
-
-
-
-
-
-
- <%-- note this component ID is referenced in DashboardWizard --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/web/jsp/dashboards/wizard/layout.jsp b/source/web/jsp/dashboards/wizard/layout.jsp
deleted file mode 100644
index 15b4fd416e..0000000000
--- a/source/web/jsp/dashboards/wizard/layout.jsp
+++ /dev/null
@@ -1,58 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
-
-
-
-
-
- <% PanelGenerator.generatePanelStart(out, request.getContextPath(), "white", "white"); %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <% PanelGenerator.generatePanelEnd(out, request.getContextPath(), "white"); %>
-
-
-
-
diff --git a/source/web/jsp/dialog/about.jsp b/source/web/jsp/dialog/about.jsp
deleted file mode 100644
index 97a7406e78..0000000000
--- a/source/web/jsp/dialog/about.jsp
+++ /dev/null
@@ -1,218 +0,0 @@
-<%--
- * Copyright (C) 2005-2014 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
- Alfresco Software utilises components or libraries from the following software vendors and companies
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Alfresco Development tools:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Alfresco Software contributors
-
-
-
-
-
- Meta Data Extraction Framework and PDF/Open Office Format meta data extraction:
-
-
•
-
- Jesper Steen Møller
-
-
-
-
- Open Document Format meta data extraction:
-
-
•
-
- Antti Jokipii
-
-
-
-
- Multilingual Document Management:
-
-
•
-
- CEC
-
-
-
-
- Category Browsing:
-
-
•
-
- Atol Conseils et Développements
-
-
-
-
- Fixes and improvements:
-
-
•
-
- Ray Gauss II,
- Dave Gillen,
- Michael Kriske,
- Carina Lansing,
- DMC.de,
- Optaros
-
-
-
-
- Language and translation packs:
-
-
•
-
- Camille Bégnis,
- Andrejus Chaliapinas,
- Laurent Genier,
- Antti Jokipii,
- Henning Kristensen,
- Betty Mai,
- Fabian Mandelbaum,
- Theodoros Papageorgiou,
- Helio Silvio Piccinatto,
- Gian Luca Farina Perseu,
- Alex Revesz,
- Christian Roy,
- Philippe Seillier,
- Frank Shipley,
- Michiel Steltman,
- Gert Thiel,
- cnalfresco
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/dialog/container.jsp b/source/web/jsp/dialog/container.jsp
deleted file mode 100644
index 488cb4734e..0000000000
--- a/source/web/jsp/dialog/container.jsp
+++ /dev/null
@@ -1,247 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.app.Application" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-<%@ page import="javax.faces.context.FacesContext" %>
-<%@ page import="java.util.Locale" %>
-
-<%
-if (Application.getDialogManager().getState() == null)
-{
- response.sendRedirect(request.getContextPath() + "/faces/jsp/dashboards/container.jsp");
- return;
-}
-%>
-
-
-
-
- <%
- FacesContext fc = FacesContext.getCurrentInstance();
-
- // set locale for JSF framework usage
- Locale locale = Application.getLanguage(fc);
- fc.getViewRoot().setLocale(locale);
- if (!Application.getClientConfig(fc).isLanguageSelect())
- {
- Application.setLanguage(fc, locale.toString());
- }
- %>
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
-
-
- <%-- Main outer table --%>
-
-
- <%-- Title bar --%>
-
-
- <%@ include file="../parts/titlebar.jsp" %>
-
-
-
- <%-- Main area --%>
-
- <%-- Shelf --%>
-
- <%@ include file="../parts/shelf.jsp" %>
-
-
- <%-- Work Area --%>
-
">
-
- <%-- Breadcrumb --%>
- <%@ include file="../parts/breadcrumb.jsp" %>
-
- <%-- Status and Actions --%>
-
-
-
-
- <%-- Status and Actions inner contents table --%>
- <%-- Generally this consists of an icon, textual summary and actions for the current object --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- Main actions --%>
-
-
-
-
-
-
-
-
-
-
- <%-- More actions menu --%>
-
-
-
-
-
-
-
-
- <%-- View Filters --%>
-
-
-
-
-
-
-
-
-
-
-
- <%-- View Mode --%>
-
-
-
-
-
-
-
-
-
-
-
- <%-- Navigation --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- separator row with gradient shadow --%>
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/dialog/delete.jsp b/source/web/jsp/dialog/delete.jsp
deleted file mode 100644
index 6bf1dbc866..0000000000
--- a/source/web/jsp/dialog/delete.jsp
+++ /dev/null
@@ -1,28 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-
-
\ No newline at end of file
diff --git a/source/web/jsp/dialog/plain-container.jsp b/source/web/jsp/dialog/plain-container.jsp
deleted file mode 100644
index 348fbbb3df..0000000000
--- a/source/web/jsp/dialog/plain-container.jsp
+++ /dev/null
@@ -1,96 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.app.Application" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-<%
- boolean closeWindow = false;
- String param = request.getParameter("close");
- if (param != null && param.equalsIgnoreCase("true"))
- {
- closeWindow = true;
- }
-%>
-
-
-
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/error.jsp b/source/web/jsp/error.jsp
deleted file mode 100644
index 7c7acf7ccc..0000000000
--- a/source/web/jsp/error.jsp
+++ /dev/null
@@ -1,51 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.app.Application" %>
-
-
-
-
-
- <%-- Top level toolbar and company logo area --%>
-
-
-
diff --git a/source/web/jsp/forums/create-dialog.jsp b/source/web/jsp/forums/create-dialog.jsp
deleted file mode 100644
index bfc58c727f..0000000000
--- a/source/web/jsp/forums/create-dialog.jsp
+++ /dev/null
@@ -1,112 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/web/jsp/forums/create-post-dialog.jsp b/source/web/jsp/forums/create-post-dialog.jsp
deleted file mode 100644
index a406997c31..0000000000
--- a/source/web/jsp/forums/create-post-dialog.jsp
+++ /dev/null
@@ -1,58 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/forums/create-reply-dialog.jsp b/source/web/jsp/forums/create-reply-dialog.jsp
deleted file mode 100644
index 3636cbbadf..0000000000
--- a/source/web/jsp/forums/create-reply-dialog.jsp
+++ /dev/null
@@ -1,60 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/forums/create-topic-dialog.jsp b/source/web/jsp/forums/create-topic-dialog.jsp
deleted file mode 100644
index 009ca01127..0000000000
--- a/source/web/jsp/forums/create-topic-dialog.jsp
+++ /dev/null
@@ -1,125 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/web/jsp/forums/forum-details.jsp b/source/web/jsp/forums/forum-details.jsp
deleted file mode 100644
index 619d83ed2a..0000000000
--- a/source/web/jsp/forums/forum-details.jsp
+++ /dev/null
@@ -1,89 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a"%>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r"%>
-
-<%@ page buffer="64kb" contentType="text/html;charset=UTF-8"%>
-<%@ page isELIgnored="false"%>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator"%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- wrapper comment used by the panel to add additional component facets --%>
-
-
-
-
-
-
-
-
-
-
-
-
<%-- icon image for the space --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
<%-- properties for the space --%>
-
-
-
-
-
-
-
-
- <%-- Actions Panel --%>
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/forums/forum.jsp b/source/web/jsp/forums/forum.jsp
deleted file mode 100644
index 282afd32b9..0000000000
--- a/source/web/jsp/forums/forum.jsp
+++ /dev/null
@@ -1,206 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="64kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
-
-
- <%-- Main outer table --%>
-
-
- <%-- Title bar --%>
-
-
- <%@ include file="../parts/titlebar.jsp" %>
-
-
-
- <%-- Main area --%>
-
- <%-- Shelf --%>
-
- <%@ include file="../parts/shelf.jsp" %>
-
-
- <%-- Work Area --%>
-
">
-
- <%-- Breadcrumb --%>
- <%@ include file="../parts/breadcrumb.jsp" %>
-
- <%-- Status and Actions --%>
-
-
-
-
- <%-- Status and Actions inner contents table --%>
- <%-- Generally this consists of an icon, textual summary and actions for the current object --%>
-
-
-
- <%-- actions for topics --%>
-
-
-
-
-
- <%-- Summary --%>
-
-
-
-
-
- <%-- Create actions menu --%>
-
-
-
-
-
-
- <%-- More actions menu --%>
-
-
-
-
-
-
-
-
- <%-- View mode settings --%>
-
-
-
-
-
-
-
-
-
-
-
- <%-- separator row with gradient shadow --%>
-
-
-
-
-
-
- <%-- Error Messages --%>
-
-
-
- <%-- messages tag to show messages not handled by other specific message tags --%>
-
-
-
-
-
- <%-- Details - Topics --%>
-
-
-
-
-
-
-
- <%-- Topics List --%>
-
-
- <%-- component to display if the list is empty --%>
-
-
-
-
- <%-- Primary column for details view mode --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- Replies column for all view modes --%>
-
-
-
-
-
-
-
- <%-- Actions column --%>
-
-
-
-
-
- <%-- actions are configured in web-client-config-forum-actions.xml --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/web/jsp/forums/forums-details.jsp b/source/web/jsp/forums/forums-details.jsp
deleted file mode 100644
index 7e341bac11..0000000000
--- a/source/web/jsp/forums/forums-details.jsp
+++ /dev/null
@@ -1,91 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a"%>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r"%>
-
-<%@ page buffer="64kb" contentType="text/html;charset=UTF-8"%>
-<%@ page isELIgnored="false"%>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator"%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- wrapper comment used by the panel to add additional component facets --%>
-
-
-
-
-
-
-
-
-
-
-
-
<%-- icon image for the space --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- properties for the space --%>
-
-
-
-
-
-
-
-
- <%-- Actions Panel --%>
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/forums/forums.jsp b/source/web/jsp/forums/forums.jsp
deleted file mode 100644
index 3c2d52d98f..0000000000
--- a/source/web/jsp/forums/forums.jsp
+++ /dev/null
@@ -1,262 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="64kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
-
-
- <%-- Main outer table --%>
-
-
- <%-- Title bar --%>
-
-
- <%@ include file="../parts/titlebar.jsp" %>
-
-
-
- <%-- Main area --%>
-
- <%-- Shelf --%>
-
- <%@ include file="../parts/shelf.jsp" %>
-
-
- <%-- Work Area --%>
-
">
-
- <%-- Breadcrumb --%>
- <%@ include file="../parts/breadcrumb.jsp" %>
-
- <%-- Status and Actions --%>
-
-
-
-
- <%-- Status and Actions inner contents table --%>
- <%-- Generally this consists of an icon, textual summary and actions for the current object --%>
-
-
-
- <%-- actions for forums --%>
-
-
-
-
-
- <%-- Summary --%>
-
-
-
-
-
-
- <%-- Create actions menu --%>
-
-
-
-
-
-
- <%-- More actions menu --%>
-
-
-
-
-
-
-
-
- <%-- View mode settings --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- separator row with gradient shadow --%>
-
-
-
-
-
-
- <%-- Error Messages --%>
-
-
-
- <%-- messages tag to show messages not handled by other specific message tags --%>
-
-
-
-
-
- <%-- Details - Forums --%>
-
-
-
-
-
- <%-- Forums List --%>
-
-
- <%-- component to display if the list is empty --%>
-
-
-
-
- <%-- Primary column for details view mode --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- Primary column for icons view mode --%>
-
-
-
-
-
-
-
-
-
-
-
- <%-- Primary column for list view mode --%>
-
-
-
-
-
-
-
-
-
-
-
- <%-- Description column for all view modes --%>
-
-
-
-
-
-
-
- <%-- Path column for search mode in details view mode --%>
-
-
-
-
-
-
-
- <%-- Created Date column for details view mode --%>
-
-
-
-
-
-
-
-
-
- <%-- Modified Date column for details/icons view modes --%>
-
-
-
-
-
-
-
-
-
- <%-- Node Descendants links for list view mode --%>
-
-
-
-
- <%-- Actions column --%>
-
-
-
-
-
- <%-- actions are configured in web-client-config-forum-actions.xml --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/web/jsp/forums/topic-details.jsp b/source/web/jsp/forums/topic-details.jsp
deleted file mode 100644
index d20b4ca552..0000000000
--- a/source/web/jsp/forums/topic-details.jsp
+++ /dev/null
@@ -1,90 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a"%>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r"%>
-
-<%@ page buffer="64kb" contentType="text/html;charset=UTF-8"%>
-<%@ page isELIgnored="false"%>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator"%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- wrapper comment used by the panel to add additional component facets --%>
-
-
-
-
-
-
-
-
-
-
-
-
<%-- icon image for the space --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- properties for the space --%>
-
-
-
-
-
-
-
-
-
- <%-- Actions Panel --%>
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/forums/topic.jsp b/source/web/jsp/forums/topic.jsp
deleted file mode 100644
index c7ac109909..0000000000
--- a/source/web/jsp/forums/topic.jsp
+++ /dev/null
@@ -1,240 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="64kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
-
-
- <%-- Main outer table --%>
-
-
- <%-- Title bar --%>
-
-
- <%@ include file="../parts/titlebar.jsp" %>
-
-
-
- <%-- Main area --%>
-
- <%-- Shelf --%>
-
- <%@ include file="../parts/shelf.jsp" %>
-
-
- <%-- Work Area --%>
-
">
-
- <%-- Breadcrumb --%>
- <%@ include file="../parts/breadcrumb.jsp" %>
-
- <%-- Status and Actions --%>
-
-
-
-
- <%-- Status and Actions inner contents table --%>
- <%-- Generally this consists of an icon, textual summary and actions for the current object --%>
-
-
-
- <%-- actions for forums --%>
-
-
-
-
-
- <%-- Summary --%>
-
-
-
-
-
- <%-- Create actions menu --%>
-
-
-
-
-
-
- <%-- More actions menu --%>
-
-
-
-
-
-
-
-
- <%-- View mode settings --%>
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- separator row with gradient shadow --%>
-
-
-
-
-
-
- <%-- Error Messages --%>
-
-
-
- <%-- messages tag to show messages not handled by other specific message tags --%>
-
-
-
-
-
- <%-- Details - Posts --%>
-
-
-
-
-
-
-
- <%-- Posts List --%>
-
-
- <%-- component to display if the list is empty --%>
-
-
-
-
- <%-- Content column for all view modes --%>
-
-
-
-
-
-
-
- <%-- Author column for the details view mode --%>
-
-
-
-
-
-
-
- <%-- Posted time column for details view mode --%>
-
-
-
-
-
-
-
-
-
- <%-- topic name column for bubble view mode --%>
-
-
-
-
-
-
-
- <%-- reply to column for bubble view mode --%>
-
-
-
-
-
-
-
- <%-- Posted time column for bubble view mode --%>
-
-
-
-
-
-
-
-
-
- <%-- Actions column --%>
-
-
-
-
-
- <%-- actions are configured in web-client-config-forum-actions.xml --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/web/jsp/groups/add-user.jsp b/source/web/jsp/groups/add-user.jsp
deleted file mode 100644
index e4ecb10d19..0000000000
--- a/source/web/jsp/groups/add-user.jsp
+++ /dev/null
@@ -1,69 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%><%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/groups/delete-group.jsp b/source/web/jsp/groups/delete-group.jsp
deleted file mode 100644
index f7cb34d632..0000000000
--- a/source/web/jsp/groups/delete-group.jsp
+++ /dev/null
@@ -1,65 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%><%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/groups/groups.jsp b/source/web/jsp/groups/groups.jsp
deleted file mode 100644
index 8315be6cf8..0000000000
--- a/source/web/jsp/groups/groups.jsp
+++ /dev/null
@@ -1,189 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator"%>
-
-
-
-
-
-
-
-<%-- Group Path Breadcrumb --%>
-
-
-
-
- <%-- Groups List --%>
-
-
- <%-- Groups Search Panel --%>
-
-
- <%
- PanelGenerator.generatePanelStart(out, request.getContextPath(), "yellowInner", "#ffffcc");
- %>
-
-
-
-
-
-
- <%
- PanelGenerator.generatePanelEnd(out, request.getContextPath(), "yellowInner");
- %>
-
-
-
-
-
-
-
-
-
-
- <%-- Primary column for icons view mode --%>
-
-
-
-
-
-
-
-
-
-
-
- <%-- Primary column for details view mode --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- Actions column --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- Users in Group list --%>
-
-
-
-
- <%-- Primary column for icons view mode --%>
-
-
-
-
-
-
-
- <%-- Primary column for details view mode --%>
-
-
-
-
-
-
-
-
-
-
- <%-- Last name column --%>
-
-
-
-
-
-
-
- <%-- Username column --%>
-
-
-
-
-
-
-
- <%-- Actions column --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/groups/new-group.jsp b/source/web/jsp/groups/new-group.jsp
deleted file mode 100644
index 21cf7951b9..0000000000
--- a/source/web/jsp/groups/new-group.jsp
+++ /dev/null
@@ -1,98 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
diff --git a/source/web/jsp/login.jsp b/source/web/jsp/login.jsp
deleted file mode 100644
index ac8c370525..0000000000
--- a/source/web/jsp/login.jsp
+++ /dev/null
@@ -1,243 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page import="org.alfresco.web.app.servlet.BaseServlet" %>
-<%@ page import="org.alfresco.web.app.servlet.AuthenticationHelper" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-<%@ page import="org.alfresco.web.ui.common.Utils" %>
-<%@ page import="org.alfresco.web.app.Application" %>
-<%@ page import="org.alfresco.web.bean.LoginBean" %>
-<%@ page import="org.springframework.extensions.surf.util.I18NUtil" %>
-<%@ page import="javax.faces.context.FacesContext" %>
-<%@ page import="javax.servlet.http.Cookie" %>
-<%@ page import="java.util.Locale" %>
-
-<%@ page buffer="16kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-
-<%
- Cookie authCookie = AuthenticationHelper.getAuthCookie(request);
-
- // remove the username cookie value if explicit logout was requested by the user
- if (session.getAttribute(AuthenticationHelper.SESSION_INVALIDATED) != null)
- {
- if (authCookie != null)
- {
- authCookie.setMaxAge(0);
- response.addCookie(authCookie);
- }
- }
- else
- {
- // setup value used by JSF bean state ready for login page if we find the cookie
- String authCookieValue;
- if (authCookie != null && (authCookieValue = AuthenticationHelper.getAuthCookieValue(authCookie)) != null)
- {
- session.setAttribute(AuthenticationHelper.SESSION_USERNAME, authCookieValue);
- }
- }
-
-%>
-
-
-
-
-
-
-<%
- FacesContext fc = FacesContext.getCurrentInstance();
-
- // set locale for JSF framework usage (passed on by Localization Filter)
- Locale locale = I18NUtil.getLocale();
- fc.getViewRoot().setLocale(locale);
- if (!Application.getClientConfig(fc).isLanguageSelect())
- {
- Application.setLanguage(fc, locale.toString());
- }
-
- // set permissions error if applicable
- if (session.getAttribute(LoginBean.LOGIN_NOPERMISSIONS) != null)
- {
- Utils.addErrorMessage(Application.getMessage(fc, LoginBean.MSG_ERROR_LOGIN_NOPERMISSIONS));
- session.setAttribute(LoginBean.LOGIN_NOPERMISSIONS, null);
- }
-%>
-
- <%-- load a bundle of properties I18N strings here --%>
-
-
-
-
-
-
- <%-- Propagate the redirect URL parameter --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- warning message for Team mode --%>
-
-
-
-
- :
-
-
-
-
-
- :
-
-
- <%-- input text field, with an example of a nested validator tag --%>
-
-
-
-
-
-
- :
-
-
- <%-- password text field, with an example of a validation bean method --%>
- <%-- the validation method adds a faces message to be displayed by a message tag --%>
-
-
-
-
-
-
-
-
-
- <%-- language selection drop-down --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- messages tag to show messages not handled by other specific message tags --%>
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/ml/add-translation-dialog.jsp b/source/web/jsp/ml/add-translation-dialog.jsp
deleted file mode 100644
index 10c1816cfb..0000000000
--- a/source/web/jsp/ml/add-translation-dialog.jsp
+++ /dev/null
@@ -1,202 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a"%>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r"%>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8"%>
-<%@ page isELIgnored="false"%>
-<%@ page import="javax.faces.context.FacesContext"%>
-<%@ page import="org.alfresco.web.app.Application"%>
-<%@ page import="org.alfresco.web.app.servlet.FacesHelper"%>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator"%>
-<%@ page import="org.alfresco.web.bean.ml.AddTranslationDialog"%>
-<%
- boolean fileUploaded = false;
-
- AddTranslationDialog dialog = (AddTranslationDialog) FacesHelper.getManagedBean(FacesContext.getCurrentInstance(), "AddTranslationDialog");
-
- if (dialog != null && dialog.getFileName() != null)
- {
- fileUploaded = true;
- }
-%>
-
-<%
- if (fileUploaded)
- {
- PanelGenerator.generatePanelStart(out, request.getContextPath(), "yellowInner", "#ffffcc");
- out.write(" ");
- out.write(dialog.getFileUploadSuccessMsg());
- PanelGenerator.generatePanelEnd(out, request.getContextPath(), "yellowInner");
- out.write("");
- }
-%>
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/ml/add-translation-without-content.jsp b/source/web/jsp/ml/add-translation-without-content.jsp
deleted file mode 100644
index 131d064b87..0000000000
--- a/source/web/jsp/ml/add-translation-without-content.jsp
+++ /dev/null
@@ -1,77 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/web/jsp/ml/edit-ml-container-dialog.jsp b/source/web/jsp/ml/edit-ml-container-dialog.jsp
deleted file mode 100644
index c7d5fa5578..0000000000
--- a/source/web/jsp/ml/edit-ml-container-dialog.jsp
+++ /dev/null
@@ -1,32 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
diff --git a/source/web/jsp/ml/make-multilingual-dialog.jsp b/source/web/jsp/ml/make-multilingual-dialog.jsp
deleted file mode 100644
index 6320ee127c..0000000000
--- a/source/web/jsp/ml/make-multilingual-dialog.jsp
+++ /dev/null
@@ -1,74 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
-
-
-
-
- <%-- language selection drop-down --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/ml/ml-container-details.jsp b/source/web/jsp/ml/ml-container-details.jsp
deleted file mode 100644
index b4cd626608..0000000000
--- a/source/web/jsp/ml/ml-container-details.jsp
+++ /dev/null
@@ -1,290 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a"%>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r"%>
-
-<%@ page buffer="64kb" contentType="text/html;charset=UTF-8"%>
-<%@ page isELIgnored="false"%>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator"%>
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/ml/new-edition-wizard/choose-translation.jsp b/source/web/jsp/ml/new-edition-wizard/choose-translation.jsp
deleted file mode 100644
index f50f705126..0000000000
--- a/source/web/jsp/ml/new-edition-wizard/choose-translation.jsp
+++ /dev/null
@@ -1,115 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
- <%PanelGenerator.generatePanelStart(out, request.getContextPath(), "yellowInner", "#ffffcc");%>
-
-
-
-
-
-
-
-
-
- <%PanelGenerator.generatePanelEnd(out, request.getContextPath(), "yellowInner");%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/ml/new-edition-wizard/edition-details.jsp b/source/web/jsp/ml/new-edition-wizard/edition-details.jsp
deleted file mode 100644
index 7faa2164d5..0000000000
--- a/source/web/jsp/ml/new-edition-wizard/edition-details.jsp
+++ /dev/null
@@ -1,47 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/web/jsp/ml/new-edition-wizard/edition-summary.jsp b/source/web/jsp/ml/new-edition-wizard/edition-summary.jsp
deleted file mode 100644
index a2c7970ad3..0000000000
--- a/source/web/jsp/ml/new-edition-wizard/edition-summary.jsp
+++ /dev/null
@@ -1,52 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/web/jsp/noaccess.jsp b/source/web/jsp/noaccess.jsp
deleted file mode 100644
index 9c888ec96a..0000000000
--- a/source/web/jsp/noaccess.jsp
+++ /dev/null
@@ -1,74 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="16kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.app.Application" %>
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/parts/breadcrumb.jsp b/source/web/jsp/parts/breadcrumb.jsp
deleted file mode 100644
index 0405453c44..0000000000
--- a/source/web/jsp/parts/breadcrumb.jsp
+++ /dev/null
@@ -1,42 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%-- Breadcrumb area --%>
-<%-- Designed to support a variable height breadcrumb --%>
-
-
-
-
-
-
-
-
-
- <%-- Breadcrumb component --%>
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/web/jsp/parts/shelf.jsp b/source/web/jsp/parts/shelf.jsp
deleted file mode 100644
index 63c7532fba..0000000000
--- a/source/web/jsp/parts/shelf.jsp
+++ /dev/null
@@ -1,34 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page import="org.alfresco.web.app.Application" %>
-
-<%-- Sidebar --%>
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/parts/titlebar.jsp b/source/web/jsp/parts/titlebar.jsp
deleted file mode 100644
index 25ca7776b6..0000000000
--- a/source/web/jsp/parts/titlebar.jsp
+++ /dev/null
@@ -1,121 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%-- Title bar area --%>
-
-
- <%-- Top level toolbar and company logo area --%>
-
-
-
-
-
-
- <%-- Toolbar --%>
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- Help area --%>
-
-
-
-
- <%-- admin user only actions --%>
-
-
-
-
-
-
- <%-- user preferences --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- Search area --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/web/jsp/relogin.jsp b/source/web/jsp/relogin.jsp
deleted file mode 100644
index 0313a91035..0000000000
--- a/source/web/jsp/relogin.jsp
+++ /dev/null
@@ -1,107 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page import="org.alfresco.web.app.servlet.AuthenticationHelper" %>
-<%@ page import="javax.servlet.http.Cookie" %>
-
-<%@ page buffer="16kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-
-<%
- // remove the username cookie value if explicit logout was requested by the user
- if (session.getAttribute(AuthenticationHelper.SESSION_INVALIDATED) != null)
- {
- Cookie authCookie = AuthenticationHelper.getAuthCookie(request);
- if (authCookie != null)
- {
- authCookie.setMaxAge(0);
- response.addCookie(authCookie);
- }
- }
-%>
-
-
-
-
-
-
- <%-- load a bundle of properties I18N strings here --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- messages tag to show messages not handled by other specific message tags --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/return.jsp b/source/web/jsp/return.jsp
deleted file mode 100644
index f00582078a..0000000000
--- a/source/web/jsp/return.jsp
+++ /dev/null
@@ -1,3 +0,0 @@
-
\ No newline at end of file
diff --git a/source/web/jsp/roles/edit-content-user-roles.jsp b/source/web/jsp/roles/edit-content-user-roles.jsp
deleted file mode 100644
index 22dac6847d..0000000000
--- a/source/web/jsp/roles/edit-content-user-roles.jsp
+++ /dev/null
@@ -1,88 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
-
-
1.
-
-
-
-
-
-
-
-
-
-
-
-2.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/web/jsp/roles/edit-user-roles.jsp b/source/web/jsp/roles/edit-user-roles.jsp
deleted file mode 100644
index 659e8faa51..0000000000
--- a/source/web/jsp/roles/edit-user-roles.jsp
+++ /dev/null
@@ -1,86 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
-
-
1.
-
-
-
-
-
-
-
-
-
-
-
-
2.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/roles/manage-content-users.jsp b/source/web/jsp/roles/manage-content-users.jsp
deleted file mode 100644
index 3e3ecb1536..0000000000
--- a/source/web/jsp/roles/manage-content-users.jsp
+++ /dev/null
@@ -1,115 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a"%>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r"%>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8"%>
-<%@ page isELIgnored="false"%>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator"%>
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/roles/manage-invited-users.jsp b/source/web/jsp/roles/manage-invited-users.jsp
deleted file mode 100644
index a46a8b2bec..0000000000
--- a/source/web/jsp/roles/manage-invited-users.jsp
+++ /dev/null
@@ -1,117 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a"%>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r"%>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8"%>
-<%@ page isELIgnored="false"%>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator"%>
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/roles/remove-content-user.jsp b/source/web/jsp/roles/remove-content-user.jsp
deleted file mode 100644
index ed139515b4..0000000000
--- a/source/web/jsp/roles/remove-content-user.jsp
+++ /dev/null
@@ -1,37 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/roles/remove-invited-user.jsp b/source/web/jsp/roles/remove-invited-user.jsp
deleted file mode 100644
index affcebc7e8..0000000000
--- a/source/web/jsp/roles/remove-invited-user.jsp
+++ /dev/null
@@ -1,37 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/rules/compare-date-property.jsp b/source/web/jsp/rules/compare-date-property.jsp
deleted file mode 100644
index 622158a9ed..0000000000
--- a/source/web/jsp/rules/compare-date-property.jsp
+++ /dev/null
@@ -1,233 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
-
-
- <%-- Main outer table --%>
-
-
- <%-- Title bar --%>
-
-
- <%@ include file="../parts/titlebar.jsp" %>
-
-
-
- <%-- Main area --%>
-
- <%-- Shelf --%>
-
- <%@ include file="../parts/shelf.jsp" %>
-
-
- <%-- Work Area --%>
-
">
-
- <%-- Breadcrumb --%>
- <%@ include file="../parts/breadcrumb.jsp" %>
-
- <%-- Status and Actions --%>
-
-
-
-
- <%-- Status and Actions inner contents table --%>
- <%-- Generally this consists of an icon, textual summary and actions for the current object --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- separator row with gradient shadow --%>
-
-
-
-
-
-
-
diff --git a/source/web/jsp/rules/compare-integer-property.jsp b/source/web/jsp/rules/compare-integer-property.jsp
deleted file mode 100644
index fa2581ccdb..0000000000
--- a/source/web/jsp/rules/compare-integer-property.jsp
+++ /dev/null
@@ -1,218 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
-
-
- <%-- Main outer table --%>
-
-
- <%-- Title bar --%>
-
-
- <%@ include file="../parts/titlebar.jsp" %>
-
-
-
- <%-- Main area --%>
-
- <%-- Shelf --%>
-
- <%@ include file="../parts/shelf.jsp" %>
-
-
- <%-- Work Area --%>
-
">
-
- <%-- Breadcrumb --%>
- <%@ include file="../parts/breadcrumb.jsp" %>
-
- <%-- Status and Actions --%>
-
-
-
-
- <%-- Status and Actions inner contents table --%>
- <%-- Generally this consists of an icon, textual summary and actions for the current object --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- separator row with gradient shadow --%>
-
-
-
-
-
-
-
diff --git a/source/web/jsp/rules/compare-mime-type.jsp b/source/web/jsp/rules/compare-mime-type.jsp
deleted file mode 100644
index 6f5166c790..0000000000
--- a/source/web/jsp/rules/compare-mime-type.jsp
+++ /dev/null
@@ -1,168 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
-
-
- <%-- Main outer table --%>
-
-
- <%-- Title bar --%>
-
-
- <%@ include file="../parts/titlebar.jsp" %>
-
-
-
- <%-- Main area --%>
-
- <%-- Shelf --%>
-
- <%@ include file="../parts/shelf.jsp" %>
-
-
- <%-- Work Area --%>
-
">
-
- <%-- Breadcrumb --%>
- <%@ include file="../parts/breadcrumb.jsp" %>
-
- <%-- Status and Actions --%>
-
-
-
-
- <%-- Status and Actions inner contents table --%>
- <%-- Generally this consists of an icon, textual summary and actions for the current object --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- separator row with gradient shadow --%>
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/rules/compare-property-value.jsp b/source/web/jsp/rules/compare-property-value.jsp
deleted file mode 100644
index c3d544806d..0000000000
--- a/source/web/jsp/rules/compare-property-value.jsp
+++ /dev/null
@@ -1,185 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
-
-
- <%-- Main outer table --%>
-
-
- <%-- Title bar --%>
-
-
- <%@ include file="../parts/titlebar.jsp" %>
-
-
-
- <%-- Main area --%>
-
- <%-- Shelf --%>
-
- <%@ include file="../parts/shelf.jsp" %>
-
-
- <%-- Work Area --%>
-
">
-
- <%-- Breadcrumb --%>
- <%@ include file="../parts/breadcrumb.jsp" %>
-
- <%-- Status and Actions --%>
-
-
-
-
- <%-- Status and Actions inner contents table --%>
- <%-- Generally this consists of an icon, textual summary and actions for the current object --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- separator row with gradient shadow --%>
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/rules/compare-text-property.jsp b/source/web/jsp/rules/compare-text-property.jsp
deleted file mode 100644
index 3935dca09e..0000000000
--- a/source/web/jsp/rules/compare-text-property.jsp
+++ /dev/null
@@ -1,217 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
-
-
- <%-- Main outer table --%>
-
-
- <%-- Title bar --%>
-
-
- <%@ include file="../parts/titlebar.jsp" %>
-
-
-
- <%-- Main area --%>
-
- <%-- Shelf --%>
-
- <%@ include file="../parts/shelf.jsp" %>
-
-
- <%-- Work Area --%>
-
">
-
- <%-- Breadcrumb --%>
- <%@ include file="../parts/breadcrumb.jsp" %>
-
- <%-- Status and Actions --%>
-
-
-
-
- <%-- Status and Actions inner contents table --%>
- <%-- Generally this consists of an icon, textual summary and actions for the current object --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- separator row with gradient shadow --%>
-
-
-
-
-
-
-
diff --git a/source/web/jsp/rules/composite-condition.jsp b/source/web/jsp/rules/composite-condition.jsp
deleted file mode 100644
index b3b960fc3f..0000000000
--- a/source/web/jsp/rules/composite-condition.jsp
+++ /dev/null
@@ -1,270 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
-
-
-
-
-
-
- <%-- Main outer table --%>
-
-
- <%-- Title bar --%>
-
-
- <%@ include file="../parts/titlebar.jsp" %>
-
-
-
- <%-- Main area --%>
-
- <%-- Shelf --%>
-
- <%@ include file="../parts/shelf.jsp" %>
-
-
- <%-- Work Area --%>
-
">
-
- <%-- Breadcrumb --%>
- <%@ include file="../parts/breadcrumb.jsp" %>
-
- <%-- Status and Actions --%>
-
-
-
-
- <%-- Status and Actions inner contents table --%>
- <%-- Generally this consists of an icon, textual summary and actions for the current object --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- separator row with gradient shadow --%>
-
-
-
-
-
-
-
diff --git a/source/web/jsp/rules/conditions.jsp b/source/web/jsp/rules/conditions.jsp
deleted file mode 100644
index 9c9efac3af..0000000000
--- a/source/web/jsp/rules/conditions.jsp
+++ /dev/null
@@ -1,149 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
1.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
2.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/web/jsp/rules/delete-rule.jsp b/source/web/jsp/rules/delete-rule.jsp
deleted file mode 100644
index c53250950d..0000000000
--- a/source/web/jsp/rules/delete-rule.jsp
+++ /dev/null
@@ -1,37 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/rules/details.jsp b/source/web/jsp/rules/details.jsp
deleted file mode 100644
index 5050dfe956..0000000000
--- a/source/web/jsp/rules/details.jsp
+++ /dev/null
@@ -1,131 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- *
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/rules/has-aspect.jsp b/source/web/jsp/rules/has-aspect.jsp
deleted file mode 100644
index bbd7f5bb0a..0000000000
--- a/source/web/jsp/rules/has-aspect.jsp
+++ /dev/null
@@ -1,168 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
-
-
- <%-- Main outer table --%>
-
-
- <%-- Title bar --%>
-
-
- <%@ include file="../parts/titlebar.jsp" %>
-
-
-
- <%-- Main area --%>
-
- <%-- Shelf --%>
-
- <%@ include file="../parts/shelf.jsp" %>
-
-
- <%-- Work Area --%>
-
">
-
- <%-- Breadcrumb --%>
- <%@ include file="../parts/breadcrumb.jsp" %>
-
- <%-- Status and Actions --%>
-
-
-
-
- <%-- Status and Actions inner contents table --%>
- <%-- Generally this consists of an icon, textual summary and actions for the current object --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- separator row with gradient shadow --%>
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/rules/has-tag.jsp b/source/web/jsp/rules/has-tag.jsp
deleted file mode 100644
index dfbf68406a..0000000000
--- a/source/web/jsp/rules/has-tag.jsp
+++ /dev/null
@@ -1,166 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
-
-
- <%-- Main outer table --%>
-
-
- <%-- Title bar --%>
-
-
- <%@ include file="../parts/titlebar.jsp" %>
-
-
-
- <%-- Main area --%>
-
- <%-- Shelf --%>
-
- <%@ include file="../parts/shelf.jsp" %>
-
-
- <%-- Work Area --%>
-
">
-
- <%-- Breadcrumb --%>
- <%@ include file="../parts/breadcrumb.jsp" %>
-
- <%-- Status and Actions --%>
-
-
-
-
- <%-- Status and Actions inner contents table --%>
- <%-- Generally this consists of an icon, textual summary and actions for the current object --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- separator row with gradient shadow --%>
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/rules/in-category.jsp b/source/web/jsp/rules/in-category.jsp
deleted file mode 100644
index 65d15e6eac..0000000000
--- a/source/web/jsp/rules/in-category.jsp
+++ /dev/null
@@ -1,169 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
-
-
- <%-- Main outer table --%>
-
-
- <%-- Title bar --%>
-
-
- <%@ include file="../parts/titlebar.jsp" %>
-
-
-
- <%-- Main area --%>
-
- <%-- Shelf --%>
-
- <%@ include file="../parts/shelf.jsp" %>
-
-
- <%-- Work Area --%>
-
">
-
- <%-- Breadcrumb --%>
- <%@ include file="../parts/breadcrumb.jsp" %>
-
- <%-- Status and Actions --%>
-
-
-
-
- <%-- Status and Actions inner contents table --%>
- <%-- Generally this consists of an icon, textual summary and actions for the current object --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- separator row with gradient shadow --%>
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/rules/is-subtype.jsp b/source/web/jsp/rules/is-subtype.jsp
deleted file mode 100644
index 69f72438b3..0000000000
--- a/source/web/jsp/rules/is-subtype.jsp
+++ /dev/null
@@ -1,168 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
-
-
- <%-- Main outer table --%>
-
-
- <%-- Title bar --%>
-
-
- <%@ include file="../parts/titlebar.jsp" %>
-
-
-
- <%-- Main area --%>
-
- <%-- Shelf --%>
-
- <%@ include file="../parts/shelf.jsp" %>
-
-
- <%-- Work Area --%>
-
">
-
- <%-- Breadcrumb --%>
- <%@ include file="../parts/breadcrumb.jsp" %>
-
- <%-- Status and Actions --%>
-
-
-
-
- <%-- Status and Actions inner contents table --%>
- <%-- Generally this consists of an icon, textual summary and actions for the current object --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- separator row with gradient shadow --%>
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/rules/rules.jsp b/source/web/jsp/rules/rules.jsp
deleted file mode 100644
index 1a1de4be00..0000000000
--- a/source/web/jsp/rules/rules.jsp
+++ /dev/null
@@ -1,141 +0,0 @@
-<%--
-* Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a"%>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r"%>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8"%>
-<%@ page isELIgnored="false"%>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator"%>
-
-
-
- <%PanelGenerator.generatePanelStart(out, request.getContextPath(), "yellowInner", "#ffffcc");%>
-
-
-
-
-
-
- <%PanelGenerator.generatePanelEnd(out, request.getContextPath(), "yellowInner");%>
-
-
-
-
-
-
-
-
- <%-- Primary column for details view mode --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- Description column --%>
-
-
-
-
-
-
-
- <%-- Column to show whether the rule is local --%>
-
-
-
-
-
-
-
-
-
- <%-- Created Date column for details view mode --%>
-
-
-
-
-
-
-
-
-
- <%-- Modified Date column for details/icons view modes --%>
-
-
-
-
-
-
-
-
-
- <%-- Rule status collumn --%>
-
-
-
-
-
-
-
-
-
- <%-- Actions column --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/search/advanced-search.jsp b/source/web/jsp/search/advanced-search.jsp
deleted file mode 100644
index d3ef8c7c4a..0000000000
--- a/source/web/jsp/search/advanced-search.jsp
+++ /dev/null
@@ -1,387 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
- <%-- set the form name here --%>
-
-
- <%-- Main outer table --%>
-
-
- <%-- Title bar --%>
-
-
- <%@ include file="../parts/titlebar.jsp" %>
-
-
-
- <%-- Main area --%>
-
- <%-- Shelf --%>
-
- <%@ include file="../parts/shelf.jsp" %>
-
-
- <%-- Work Area --%>
-
">
-
- <%-- Breadcrumb --%>
- <%@ include file="../parts/breadcrumb.jsp" %>
-
- <%-- Status and Actions --%>
-
-
-
-
- <%-- Status and Actions inner contents table --%>
- <%-- Generally this consists of an icon, textual summary and actions for the current object --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- Available Saved Searches --%>
-
-
-
-
-
-
-
-
-
- <%-- Saved Searches drop-down selector --%>
- <%-- uses a nasty hack to execute an ActionListener for the drop-down.
- tried using a valueChangedListener+formsubmit but the valueChangedListener
- is called too late in the lifecycle for the form controls to be modified --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- separator row with gradient shadow --%>
-
-
-
-
-
-
-
diff --git a/source/web/jsp/search/edit-search.jsp b/source/web/jsp/search/edit-search.jsp
deleted file mode 100644
index 6301355181..0000000000
--- a/source/web/jsp/search/edit-search.jsp
+++ /dev/null
@@ -1,96 +0,0 @@
-<%--
-* Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
-
-
diff --git a/source/web/jsp/search/save-search.jsp b/source/web/jsp/search/save-search.jsp
deleted file mode 100644
index 964ccc983c..0000000000
--- a/source/web/jsp/search/save-search.jsp
+++ /dev/null
@@ -1,84 +0,0 @@
-<%--
-* Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/sidebar/category-browser.jsp b/source/web/jsp/sidebar/category-browser.jsp
deleted file mode 100644
index 95bd47ba0c..0000000000
--- a/source/web/jsp/sidebar/category-browser.jsp
+++ /dev/null
@@ -1,24 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
\ No newline at end of file
diff --git a/source/web/jsp/sidebar/navigator.jsp b/source/web/jsp/sidebar/navigator.jsp
deleted file mode 100644
index ea16fecfbe..0000000000
--- a/source/web/jsp/sidebar/navigator.jsp
+++ /dev/null
@@ -1,24 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
diff --git a/source/web/jsp/sidebar/opensearch.jsp b/source/web/jsp/sidebar/opensearch.jsp
deleted file mode 100644
index 60ab416b49..0000000000
--- a/source/web/jsp/sidebar/opensearch.jsp
+++ /dev/null
@@ -1,24 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
\ No newline at end of file
diff --git a/source/web/jsp/sidebar/shelf.jsp b/source/web/jsp/sidebar/shelf.jsp
deleted file mode 100644
index 6c19598edf..0000000000
--- a/source/web/jsp/sidebar/shelf.jsp
+++ /dev/null
@@ -1,43 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%-- Shelf component --%>
-<%-- IMPORTANT NOTE: All inner components must be given an explicit ID! --%>
-<%-- This is because they are wrapped in a Panel component --%>
-
-
-
-
-
- <%-- NOTE: this component is exanded=true as default so the RecentSpaces managed Bean is
- instantied early - otherwise it will not be seen until this shelf component is
- first expanded. There is no config setting to do this in JSF by default --%>
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/spaces/apply-rss-template.jsp b/source/web/jsp/spaces/apply-rss-template.jsp
deleted file mode 100644
index 2ef08804f4..0000000000
--- a/source/web/jsp/spaces/apply-rss-template.jsp
+++ /dev/null
@@ -1,76 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a"%>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r"%>
-
-<%@ page buffer="64kb" contentType="text/html;charset=UTF-8"%>
-<%@ page isELIgnored="false"%>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator"%>
-
-
-
-
-
-
- <% PanelGenerator.generatePanelStart(out, request.getContextPath(), "yellowInner", "#ffffcc"); %>
-
-
-
-
-
-
-
-
-
-
-
- <% PanelGenerator.generatePanelEnd(out, request.getContextPath(), "yellowInner"); %>
-
- <% PanelGenerator.generatePanelStart(out, request.getContextPath(), "white", "white"); %>
-
-
-
-
-
-
- <% PanelGenerator.generatePanelEnd(out, request.getContextPath(), "white"); %>
-
\ No newline at end of file
diff --git a/source/web/jsp/spaces/apply-space-template.jsp b/source/web/jsp/spaces/apply-space-template.jsp
deleted file mode 100644
index ebd2d6d3ae..0000000000
--- a/source/web/jsp/spaces/apply-space-template.jsp
+++ /dev/null
@@ -1,54 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a"%>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r"%>
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/spaces/create-space-dialog.jsp b/source/web/jsp/spaces/create-space-dialog.jsp
deleted file mode 100644
index 7eb08610f2..0000000000
--- a/source/web/jsp/spaces/create-space-dialog.jsp
+++ /dev/null
@@ -1,125 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/web/jsp/spaces/create-space-wizard/create-from.jsp b/source/web/jsp/spaces/create-space-wizard/create-from.jsp
deleted file mode 100644
index f84d7ade7d..0000000000
--- a/source/web/jsp/spaces/create-space-wizard/create-from.jsp
+++ /dev/null
@@ -1,32 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/spaces/create-space-wizard/details.jsp b/source/web/jsp/spaces/create-space-wizard/details.jsp
deleted file mode 100644
index 82e84505b0..0000000000
--- a/source/web/jsp/spaces/create-space-wizard/details.jsp
+++ /dev/null
@@ -1,121 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%--
-
-
-
-
-
-
-
-
:
-
-
- *
-
-
- --%>
-
\ No newline at end of file
diff --git a/source/web/jsp/spaces/create-space-wizard/from-existing.jsp b/source/web/jsp/spaces/create-space-wizard/from-existing.jsp
deleted file mode 100644
index eb379eaaf2..0000000000
--- a/source/web/jsp/spaces/create-space-wizard/from-existing.jsp
+++ /dev/null
@@ -1,90 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- TBD
-
-
-
-
-
-
-
-
-
-
-
-
- --%>
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/spaces/create-space-wizard/from-scratch.jsp b/source/web/jsp/spaces/create-space-wizard/from-scratch.jsp
deleted file mode 100644
index 5b6b921d41..0000000000
--- a/source/web/jsp/spaces/create-space-wizard/from-scratch.jsp
+++ /dev/null
@@ -1,77 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
diff --git a/source/web/jsp/spaces/create-space-wizard/from-template.jsp b/source/web/jsp/spaces/create-space-wizard/from-template.jsp
deleted file mode 100644
index 396070155a..0000000000
--- a/source/web/jsp/spaces/create-space-wizard/from-template.jsp
+++ /dev/null
@@ -1,97 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- TBD
-
-
-
-
-
-
-
-
-
-
-
-
- --%>
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/spaces/delete-space.jsp b/source/web/jsp/spaces/delete-space.jsp
deleted file mode 100644
index bc8797655f..0000000000
--- a/source/web/jsp/spaces/delete-space.jsp
+++ /dev/null
@@ -1,84 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="8kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
- <% PanelGenerator.generatePanelStart(out, request.getContextPath(), "yellowInner", "#ffffcc"); %>
-
- <% PanelGenerator.generatePanelEnd(out, request.getContextPath(), "yellowInner"); %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/spaces/edit-simple-workflow.jsp b/source/web/jsp/spaces/edit-simple-workflow.jsp
deleted file mode 100644
index 2029e0c908..0000000000
--- a/source/web/jsp/spaces/edit-simple-workflow.jsp
+++ /dev/null
@@ -1,176 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a"%>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r"%>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8"%>
-<%@ page isELIgnored="false"%>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator"%>
-
-
-
-
-
-
-
-
-
-
:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/spaces/edit-space-dialog.jsp b/source/web/jsp/spaces/edit-space-dialog.jsp
deleted file mode 100644
index 4ed3bb3997..0000000000
--- a/source/web/jsp/spaces/edit-space-dialog.jsp
+++ /dev/null
@@ -1,33 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
diff --git a/source/web/jsp/spaces/preview-space.jsp b/source/web/jsp/spaces/preview-space.jsp
deleted file mode 100644
index d449b12c0a..0000000000
--- a/source/web/jsp/spaces/preview-space.jsp
+++ /dev/null
@@ -1,45 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a"%>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r"%>
-
-<%@ page buffer="64kb" contentType="text/html;charset=UTF-8"%>
-<%@ page isELIgnored="false"%>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator"%>
-
-
-
-
-
-
-
-
-
- <%-- Template component --%>
-
- <%-- Get current template noderef and bind current document as model --%>
-
-
-
-
-
-
diff --git a/source/web/jsp/spaces/space-details.jsp b/source/web/jsp/spaces/space-details.jsp
deleted file mode 100644
index 642b8c402f..0000000000
--- a/source/web/jsp/spaces/space-details.jsp
+++ /dev/null
@@ -1,273 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a"%>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r"%>
-
-<%@ page buffer="64kb" contentType="text/html;charset=UTF-8"%>
-<%@ page isELIgnored="false"%>
-
-
-
-
-
-
- <%-- wrapper comment used by the panel to add additional component facets --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- wrapper comment used by the panel to add additional component facets --%>
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- TODO: implement this - but READONLY details only! Manage Space Users for edits...
- need support for panel with facets - so can hide edit link unless edit permissions
- also need to wrap this panel with an permissions check: ReadPermissions
-
-
-
-
-
- --%> <%-- TBD
-
-
-
- --%>
-
-
-
-
-
-
- <%-- Space Actions --%>
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/spaces/spacelink-details.jsp b/source/web/jsp/spaces/spacelink-details.jsp
deleted file mode 100644
index 223dd39728..0000000000
--- a/source/web/jsp/spaces/spacelink-details.jsp
+++ /dev/null
@@ -1,104 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a"%>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r"%>
-
-<%@ page buffer="64kb" contentType="text/html;charset=UTF-8"%>
-<%@ page isELIgnored="false"%>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator"%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- wrapper comment used by the panel to add additional component facets --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
<%-- icon image for the space --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- properties for the space link --%>
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- Space Actions --%>
-
-
-
-
-
-
diff --git a/source/web/jsp/trashcan/delete-all.jsp b/source/web/jsp/trashcan/delete-all.jsp
deleted file mode 100644
index 908b18be37..0000000000
--- a/source/web/jsp/trashcan/delete-all.jsp
+++ /dev/null
@@ -1,42 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
-
-
-
-
-<%-- Error Messages --%>
-<%-- messages tag to show messages not handled by other specific message tags --%>
-
-
-
-
-
-
diff --git a/source/web/jsp/trashcan/delete-item.jsp b/source/web/jsp/trashcan/delete-item.jsp
deleted file mode 100644
index dd02855c12..0000000000
--- a/source/web/jsp/trashcan/delete-item.jsp
+++ /dev/null
@@ -1,44 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-<%-- Error Messages --%>
-<%-- messages tag to show messages not handled by other specific message tags --%>
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/trashcan/delete-listed.jsp b/source/web/jsp/trashcan/delete-listed.jsp
deleted file mode 100644
index ffc2c67fda..0000000000
--- a/source/web/jsp/trashcan/delete-listed.jsp
+++ /dev/null
@@ -1,48 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-<%-- Error Messages --%>
-<%-- messages tag to show messages not handled by other specific message tags --%>
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/trashcan/item-details.jsp b/source/web/jsp/trashcan/item-details.jsp
deleted file mode 100644
index ee06c9e7b6..0000000000
--- a/source/web/jsp/trashcan/item-details.jsp
+++ /dev/null
@@ -1,112 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-<%-- icon image for the object --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-<%-- properties for the item --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- Document Actions --%>
-
-
-
-
-
-
-
-
-
diff --git a/source/web/jsp/trashcan/recover-item.jsp b/source/web/jsp/trashcan/recover-item.jsp
deleted file mode 100644
index 93d2f9597f..0000000000
--- a/source/web/jsp/trashcan/recover-item.jsp
+++ /dev/null
@@ -1,78 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-<%-- Error Messages --%>
-<%-- messages tag to show messages not handled by other specific message tags --%>
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/trashcan/recover-listed.jsp b/source/web/jsp/trashcan/recover-listed.jsp
deleted file mode 100644
index ce6e8e7efe..0000000000
--- a/source/web/jsp/trashcan/recover-listed.jsp
+++ /dev/null
@@ -1,82 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-<%-- Error Messages --%>
-<%-- messages tag to show messages not handled by other specific message tags --%>
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/trashcan/recovery-report.jsp b/source/web/jsp/trashcan/recovery-report.jsp
deleted file mode 100644
index 234d0c402b..0000000000
--- a/source/web/jsp/trashcan/recovery-report.jsp
+++ /dev/null
@@ -1,68 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-<%-- show this panel if some items failed to recover --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-<%-- Error Messages --%>
-<%-- messages tag to show messages not handled by other specific message tags --%>
-
-
-
-
-
-
diff --git a/source/web/jsp/trashcan/trash-list.jsp b/source/web/jsp/trashcan/trash-list.jsp
deleted file mode 100644
index 412cb981ed..0000000000
--- a/source/web/jsp/trashcan/trash-list.jsp
+++ /dev/null
@@ -1,206 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a"%>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r"%>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8"%>
-<%@ page isELIgnored="false"%>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator"%>
-
-
-
-
-
-
-
- <%PanelGenerator.generatePanelStart(out, request.getContextPath(), "yellowInner", "#ffffcc");%>
-
-
- <%-- Only the admin user needs the username filter --%>
-
-
-
-
-
-
-
-
:
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- Recover Listed Items actions --%>
-
-
-
-
-
-
-
- <%-- Primary column showing item name --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- Original Location Path column --%>
-
-
-
-
-
-
-
- <%-- Deleted Date column --%>
-
-
-
-
-
-
-
-
-
- <%-- Deleted by user column --%>
-
-
-
-
-
-
-
- <%-- Actions column --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/users/change-my-password.jsp b/source/web/jsp/users/change-my-password.jsp
deleted file mode 100644
index 4a0f2b41f6..0000000000
--- a/source/web/jsp/users/change-my-password.jsp
+++ /dev/null
@@ -1,99 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a"%>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r"%>
-
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator"%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
:
-
-
-
-
:
-
*
-
-
-
-
:
-
*
-
-
-
-
:
-
-
- *
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/users/change-password.jsp b/source/web/jsp/users/change-password.jsp
deleted file mode 100644
index 299a1b5234..0000000000
--- a/source/web/jsp/users/change-password.jsp
+++ /dev/null
@@ -1,82 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
:
-
-
-
-
:
-
-
- *
-
-
-
-
:
-
-
-
-
- *
-
-
-
-
diff --git a/source/web/jsp/users/delete-user.jsp b/source/web/jsp/users/delete-user.jsp
deleted file mode 100644
index 3d5f131342..0000000000
--- a/source/web/jsp/users/delete-user.jsp
+++ /dev/null
@@ -1,41 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/web/jsp/users/edit-user-details.jsp b/source/web/jsp/users/edit-user-details.jsp
deleted file mode 100644
index fe9e297752..0000000000
--- a/source/web/jsp/users/edit-user-details.jsp
+++ /dev/null
@@ -1,114 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/users/email-space-users.jsp b/source/web/jsp/users/email-space-users.jsp
deleted file mode 100644
index ddc5588b6c..0000000000
--- a/source/web/jsp/users/email-space-users.jsp
+++ /dev/null
@@ -1,96 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- *
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/users/invite-users-wizard/invite.jsp b/source/web/jsp/users/invite-users-wizard/invite.jsp
deleted file mode 100644
index 6fdf3c2853..0000000000
--- a/source/web/jsp/users/invite-users-wizard/invite.jsp
+++ /dev/null
@@ -1,78 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-<%@ page import="org.alfresco.web.ui.common.Utils" %>
-
-
-
- <% PanelGenerator.generatePanelStart(out, request.getContextPath(), "yellowInner", "#ffffcc"); %>
-
-
-
-
- <% PanelGenerator.generatePanelEnd(out, request.getContextPath(), "yellowInner");
- out.write(""); %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/web/jsp/users/invite-users-wizard/notify.jsp b/source/web/jsp/users/invite-users-wizard/notify.jsp
deleted file mode 100644
index a8a9711207..0000000000
--- a/source/web/jsp/users/invite-users-wizard/notify.jsp
+++ /dev/null
@@ -1,95 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- *
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/web/jsp/users/new-user-wizard/edit-user-properties.jsp b/source/web/jsp/users/new-user-wizard/edit-user-properties.jsp
deleted file mode 100644
index aa6fa1af42..0000000000
--- a/source/web/jsp/users/new-user-wizard/edit-user-properties.jsp
+++ /dev/null
@@ -1,64 +0,0 @@
-<%--
-* Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-<% PanelGenerator.generatePanelStart(out, request.getContextPath(), "yellowInner", "#ffffcc"); %>
-
-
-
-
-
-
-<% PanelGenerator.generatePanelEnd(out, request.getContextPath(), "yellowInner"); %>
-
\ No newline at end of file
diff --git a/source/web/jsp/users/new-user-wizard/new-user-properties.jsp b/source/web/jsp/users/new-user-wizard/new-user-properties.jsp
deleted file mode 100644
index 4718714f75..0000000000
--- a/source/web/jsp/users/new-user-wizard/new-user-properties.jsp
+++ /dev/null
@@ -1,131 +0,0 @@
-<%--
-* Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/users/new-user-wizard/person-properties.jsp b/source/web/jsp/users/new-user-wizard/person-properties.jsp
deleted file mode 100644
index bf58e90f00..0000000000
--- a/source/web/jsp/users/new-user-wizard/person-properties.jsp
+++ /dev/null
@@ -1,104 +0,0 @@
-<%--
-* Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/users/user-console.jsp b/source/web/jsp/users/user-console.jsp
deleted file mode 100644
index 6f27f81ef5..0000000000
--- a/source/web/jsp/users/user-console.jsp
+++ /dev/null
@@ -1,176 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- context for current user is setup on entry to user console --%>
-
-
-
-
-
-
-
-
-
- <%-- Start Location drop-down selector --%>
-
-
-
-
-
-
-
-
-
-
- <%-- Content Language Filter drop-down selector --%>
-
-
-
-
-
- <%-- Download automatically checkbox --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/users/user-profile.jsp b/source/web/jsp/users/user-profile.jsp
deleted file mode 100644
index 1284a5cba1..0000000000
--- a/source/web/jsp/users/user-profile.jsp
+++ /dev/null
@@ -1,76 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/users/users.jsp b/source/web/jsp/users/users.jsp
deleted file mode 100644
index d2b2926995..0000000000
--- a/source/web/jsp/users/users.jsp
+++ /dev/null
@@ -1,169 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a"%>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r"%>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8"%>
-<%@ page isELIgnored="false"%>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator"%>
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/wizard/container.jsp b/source/web/jsp/wizard/container.jsp
deleted file mode 100644
index a1c9db9094..0000000000
--- a/source/web/jsp/wizard/container.jsp
+++ /dev/null
@@ -1,226 +0,0 @@
-<%--
- * Copyright (C) 2005-2012 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.app.Application" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-<%
-if (Application.getWizardManager().getState() == null)
-{
- response.sendRedirect(request.getContextPath() + "/faces/jsp/dashboards/container.jsp");
- return;
-}
-%>
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
-
-
- <%-- Main outer table --%>
-
-
- <%-- Title bar --%>
-
-
- <%@ include file="../parts/titlebar.jsp" %>
-
-
-
- <%-- Main area --%>
-
- <%-- Shelf --%>
-
- <%@ include file="../parts/shelf.jsp" %>
-
-
- <%-- Work Area --%>
-
">
-
- <%-- Breadcrumb --%>
- <%@ include file="../parts/breadcrumb.jsp" %>
-
- <%-- Status and Actions --%>
-
-
-
- <%-- Status and Actions inner contents table --%>
- <%-- Generally this consists of an icon, textual summary and actions for the current object --%>
-
-
-
-
-
-
- <%-- Accessibility heading level 1 title --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- separator row with gradient shadow --%>
-
-
-
-
-
diff --git a/source/web/jsp/wizard/new-user/person-properties.jsp b/source/web/jsp/wizard/new-user/person-properties.jsp
deleted file mode 100644
index 43866cb05e..0000000000
--- a/source/web/jsp/wizard/new-user/person-properties.jsp
+++ /dev/null
@@ -1,234 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
- <%-- set the form name here --%>
-
-
- <%-- Main outer table --%>
-
-
- <%-- Title bar --%>
-
-
- <%@ include file="../../parts/titlebar.jsp" %>
-
-
-
- <%-- Main area --%>
-
- <%-- Shelf --%>
-
- <%@ include file="../../parts/shelf.jsp" %>
-
-
- <%-- Work Area --%>
-
">
-
- <%-- Breadcrumb --%>
- <%@ include file="../../parts/breadcrumb.jsp" %>
-
- <%-- Status and Actions --%>
-
-
-
-
- <%-- Status and Actions inner contents table --%>
- <%-- Generally this consists of an icon, textual summary and actions for the current object --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- separator row with gradient shadow --%>
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/wizard/new-user/summary.jsp b/source/web/jsp/wizard/new-user/summary.jsp
deleted file mode 100644
index d0badd130b..0000000000
--- a/source/web/jsp/wizard/new-user/summary.jsp
+++ /dev/null
@@ -1,177 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
- <%-- set the form name here --%>
-
-
- <%-- Main outer table --%>
-
-
- <%-- Title bar --%>
-
-
- <%@ include file="../../parts/titlebar.jsp" %>
-
-
-
- <%-- Main area --%>
-
- <%-- Shelf --%>
-
- <%@ include file="../../parts/shelf.jsp" %>
-
-
- <%-- Work Area --%>
-
">
-
- <%-- Breadcrumb --%>
- <%@ include file="../../parts/breadcrumb.jsp" %>
-
- <%-- Status and Actions --%>
-
-
-
-
- <%-- Status and Actions inner contents table --%>
- <%-- Generally this consists of an icon, textual summary and actions for the current object --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- separator row with gradient shadow --%>
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/wizard/new-user/user-properties.jsp b/source/web/jsp/wizard/new-user/user-properties.jsp
deleted file mode 100644
index 789bfa4635..0000000000
--- a/source/web/jsp/wizard/new-user/user-properties.jsp
+++ /dev/null
@@ -1,287 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
- <%-- set the form name here --%>
-
-
- <%-- Main outer table --%>
-
-
- <%-- Title bar --%>
-
-
- <%@ include file="../../parts/titlebar.jsp" %>
-
-
-
- <%-- Main area --%>
-
- <%-- Shelf --%>
-
- <%@ include file="../../parts/shelf.jsp" %>
-
-
- <%-- Work Area --%>
-
">
-
- <%-- Breadcrumb --%>
- <%@ include file="../../parts/breadcrumb.jsp" %>
-
- <%-- Status and Actions --%>
-
-
-
-
- <%-- Status and Actions inner contents table --%>
- <%-- Generally this consists of an icon, textual summary and actions for the current object --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- separator row with gradient shadow --%>
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/wizard/plain-container.jsp b/source/web/jsp/wizard/plain-container.jsp
deleted file mode 100644
index 40e6680777..0000000000
--- a/source/web/jsp/wizard/plain-container.jsp
+++ /dev/null
@@ -1,124 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-<%@ page import="org.alfresco.web.app.Application" %>
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
-
-
- <%-- load a bundle of properties with I18N strings --%>
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/wizard/summary.jsp b/source/web/jsp/wizard/summary.jsp
deleted file mode 100644
index 77def4c8de..0000000000
--- a/source/web/jsp/wizard/summary.jsp
+++ /dev/null
@@ -1,30 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/workflow/cancel-workflow-dialog.jsp b/source/web/jsp/workflow/cancel-workflow-dialog.jsp
deleted file mode 100644
index 7b1f77f811..0000000000
--- a/source/web/jsp/workflow/cancel-workflow-dialog.jsp
+++ /dev/null
@@ -1,24 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-
-
\ No newline at end of file
diff --git a/source/web/jsp/workflow/manage-task-dialog.jsp b/source/web/jsp/workflow/manage-task-dialog.jsp
deleted file mode 100644
index ba20d4043a..0000000000
--- a/source/web/jsp/workflow/manage-task-dialog.jsp
+++ /dev/null
@@ -1,156 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- Name column --%>
-
-
-
-
-
-
-
-
-
-
-
- <%-- Description column --%>
-
-
-
-
-
-
-
- <%-- Path column --%>
-
-
-
-
-
-
-
- <%-- Created Date column --%>
-
-
-
-
-
-
-
-
-
- <%-- Modified Date column --%>
-
-
-
-
-
-
-
-
-
- <%-- Actions column --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/web/jsp/workflow/manage-workitem-dialog.jsp b/source/web/jsp/workflow/manage-workitem-dialog.jsp
deleted file mode 100644
index 642325bc25..0000000000
--- a/source/web/jsp/workflow/manage-workitem-dialog.jsp
+++ /dev/null
@@ -1,114 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- Name column --%>
-
-
-
-
-
-
-
-
-
-
- <%-- Description column --%>
-
-
-
-
-
-
-
- <%-- Path column --%>
-
-
-
-
-
-
-
- <%-- Created Date column --%>
-
-
-
-
-
-
-
-
-
- <%-- Modified Date column --%>
-
-
-
-
-
-
-
-
-
- <%-- Actions column --%>
-
-
-
-
-
-
-
- <%-- Completed column --%>
- <%--
-
-
-
-
-
-
-
-
- --%>
-
-
- <%-- Put the package actions here --%>
-
-
diff --git a/source/web/jsp/workflow/pooled-tasks-todo-dashlet.jsp b/source/web/jsp/workflow/pooled-tasks-todo-dashlet.jsp
deleted file mode 100644
index aee1e78591..0000000000
--- a/source/web/jsp/workflow/pooled-tasks-todo-dashlet.jsp
+++ /dev/null
@@ -1,95 +0,0 @@
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
- <%-- Primary column for details view mode --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- Task type --%>
-
-
-
-
-
-
-
- <%-- Task id column --%>
-
-
-
-
-
-
-
- <%-- Created Date column --%>
-
-
-
-
-
-
-
-
-
- <%-- Due date column --%>
-
-
-
-
-
-
-
-
-
- <%-- Status column --%>
-
-
-
-
-
-
-
- <%-- Priority column --%>
-
-
-
-
-
-
-
- <%-- Actions column --%>
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/workflow/reassign-task-dialog.jsp b/source/web/jsp/workflow/reassign-task-dialog.jsp
deleted file mode 100644
index c6d17146ef..0000000000
--- a/source/web/jsp/workflow/reassign-task-dialog.jsp
+++ /dev/null
@@ -1,48 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/workflow/reassign-workitem-dialog.jsp b/source/web/jsp/workflow/reassign-workitem-dialog.jsp
deleted file mode 100644
index 355da8bb39..0000000000
--- a/source/web/jsp/workflow/reassign-workitem-dialog.jsp
+++ /dev/null
@@ -1,48 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page buffer="32kb" contentType="text/html;charset=UTF-8" %>
-<%@ page isELIgnored="false" %>
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/workflow/start-workflow-wizard/choose-workflow.jsp b/source/web/jsp/workflow/start-workflow-wizard/choose-workflow.jsp
deleted file mode 100644
index f5249fe949..0000000000
--- a/source/web/jsp/workflow/start-workflow-wizard/choose-workflow.jsp
+++ /dev/null
@@ -1,49 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
- <%PanelGenerator.generatePanelStart(out, request.getContextPath(), "yellowInner", "#ffffcc");%>
-
-
-
-
-
-
-
-
-
- <%PanelGenerator.generatePanelEnd(out, request.getContextPath(), "yellowInner");%>
-
-
-
-
-
-
-
-
-
-
diff --git a/source/web/jsp/workflow/start-workflow-wizard/workflow-options.jsp b/source/web/jsp/workflow/start-workflow-wizard/workflow-options.jsp
deleted file mode 100644
index 581680841c..0000000000
--- a/source/web/jsp/workflow/start-workflow-wizard/workflow-options.jsp
+++ /dev/null
@@ -1,145 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-<%@ page import="org.alfresco.web.ui.common.PanelGenerator" %>
-
-
-
- <%PanelGenerator.generatePanelStart(out, request.getContextPath(), "yellowInner", "#ffffcc");%>
-
-
-
-
-
-
-
-
-
- <%PanelGenerator.generatePanelEnd(out, request.getContextPath(), "yellowInner");%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- Name column --%>
-
-
-
-
-
-
-
-
-
-
- <%-- Description column --%>
-
-
-
-
-
-
-
- <%-- Path column --%>
-
-
-
-
-
-
-
- <%-- Created Date column --%>
-
-
-
-
-
-
-
-
-
- <%-- Modified Date column --%>
-
-
-
-
-
-
-
-
-
- <%-- Actions column --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/workflow/tasks-active-dashlet.jsp b/source/web/jsp/workflow/tasks-active-dashlet.jsp
deleted file mode 100644
index 0ee1e24c4e..0000000000
--- a/source/web/jsp/workflow/tasks-active-dashlet.jsp
+++ /dev/null
@@ -1,103 +0,0 @@
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
- <%-- Primary column for details view mode --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- Task type --%>
-
-
-
-
-
-
-
- <%-- Task owner column --%>
-
-
-
-
-
-
-
- <%-- Task id column --%>
-
-
-
-
-
-
-
- <%-- Created Date column --%>
-
-
-
-
-
-
-
-
-
- <%-- Due date column --%>
-
-
-
-
-
-
-
-
-
- <%-- Status column --%>
-
-
-
-
-
-
-
- <%-- Priority column --%>
-
-
-
-
-
-
-
- <%-- Actions column --%>
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/workflow/tasks-completed-dashlet.jsp b/source/web/jsp/workflow/tasks-completed-dashlet.jsp
deleted file mode 100644
index 80556a8d32..0000000000
--- a/source/web/jsp/workflow/tasks-completed-dashlet.jsp
+++ /dev/null
@@ -1,87 +0,0 @@
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
- <%-- Primary column for details view mode --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- Task type --%>
-
-
-
-
-
-
-
- <%-- Task id column --%>
-
-
-
-
-
-
-
- <%-- Created Date column --%>
-
-
-
-
-
-
-
-
-
- <%-- Completed date column --%>
-
-
-
-
-
-
-
-
-
- <%-- Outcome column --%>
-
-
-
-
-
-
-
- <%-- Actions column --%>
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/workflow/tasks-todo-dashlet.jsp b/source/web/jsp/workflow/tasks-todo-dashlet.jsp
deleted file mode 100644
index 20836f8756..0000000000
--- a/source/web/jsp/workflow/tasks-todo-dashlet.jsp
+++ /dev/null
@@ -1,95 +0,0 @@
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
- <%-- Primary column for details view mode --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- Task type --%>
-
-
-
-
-
-
-
- <%-- Task id column --%>
-
-
-
-
-
-
-
- <%-- Created Date column --%>
-
-
-
-
-
-
-
-
-
- <%-- Due date column --%>
-
-
-
-
-
-
-
-
-
- <%-- Status column --%>
-
-
-
-
-
-
-
- <%-- Priority column --%>
-
-
-
-
-
-
-
- <%-- Actions column --%>
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/source/web/jsp/workflow/view-completed-task-dialog.jsp b/source/web/jsp/workflow/view-completed-task-dialog.jsp
deleted file mode 100644
index 125bd7b0ea..0000000000
--- a/source/web/jsp/workflow/view-completed-task-dialog.jsp
+++ /dev/null
@@ -1,112 +0,0 @@
-<%--
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
---%>
-<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
-<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
-<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %>
-<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- <%-- Name column --%>
-
-
-
-
-
-
-
-
-
-
-
- <%-- Description column --%>
-
-
-
-
-
-
-
- <%-- Path column --%>
-
-
-
-
-
-
-
- <%-- Created Date column --%>
-
-
-
-
-
-
-
-
-
- <%-- Modified Date column --%>
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/source/web/scripts/ajax/ajax_helper.js b/source/web/scripts/ajax/ajax_helper.js
deleted file mode 100644
index ee539d2394..0000000000
--- a/source/web/scripts/ajax/ajax_helper.js
+++ /dev/null
@@ -1,163 +0,0 @@
-/*
- * Copyright (C) 2005-2010 Alfresco Software Limited.
- *
- * This file is part of Alfresco
- *
- * Alfresco is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * Alfresco is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with Alfresco. If not, see .
- */
-////////////////////////////////////////////////////////////////////////////////
-// Ajax helper library
-//
-// This script manages ajax requests and provides a wrapper around the dojo
-// library.
-//
-// This script requires dojo.js to be loaded in advance.
-////////////////////////////////////////////////////////////////////////////////
-
-////////////////////////////////////////////////////////////////////////////////
-// AJAX helper
-////////////////////////////////////////////////////////////////////////////////
-
-alfresco = typeof alfresco == "undefined" ? {} : alfresco;
-alfresco.constants = typeof alfresco.constants == "undefined" ? {} : alfresco.constants;
-alfresco.constants.AJAX_LOADER_DIV_ID = "alfresco-ajax-loader";
-
-alfresco.AjaxHelper = function()
-{
-}
-
-/** All pending ajax requests. */
-alfresco.AjaxHelper._requests = [];
-
-/** A counter for numbering requests - for debugging */
-alfresco.AjaxHelper._requestCounter = 0;
-
-/** Creates an ajax request object. */
-alfresco.AjaxHelper.sendRequest = function(serverMethod, methodArgs, asynchronous, success, failure)
-{
- var result = new XHR({ method: "post", encoding: "utf-8", async: asynchronous });
- sucess = success || Class.empty;
- failure = failure || Class.empty;
- result._alfresco_AjaxHelper_request_counter = alfresco.AjaxHelper._requestCounter++;
- result.addEvent("onRequest", alfresco.AjaxHelper._onRequestHandler.bindAsEventListener(result));
- result.addEvent("onSuccess", alfresco.AjaxHelper._loadHandler.bindAsEventListener(result));
- result.addEvent("onSuccess", function(text, xml) { success(xml); });
- result.addEvent("onFailure", alfresco.AjaxHelper._loadHandler.bindAsEventListener(result));
- result.addEvent("onFailure", alfresco.AjaxHelper._errorHandler.bindAsEventListener(result));
- result.addEvent("onFailure", function(text, xml) { failure(xml); });
-
- methodArgs = alfresco.AjaxHelper.toQueryString(methodArgs);
- alfresco.log("sending request to " + serverMethod + "(" + methodArgs + ")");
- result.send(alfresco.constants.WEBAPP_CONTEXT + "/ajax/invoke/" + serverMethod, methodArgs);
- return result;
-}
-
-/**
- * Returns the ajax loader div element. If it hasn't yet been created, it is created.
- */
-alfresco.AjaxHelper._getLoaderElement = function()
-{
- var result = $(alfresco.constants.AJAX_LOADER_DIV_ID);
- if (!result)
- {
- result = new Element("div",
- {
- "id": alfresco.constants.AJAX_LOADER_DIV_ID,
- "class": "xformsAjaxLoader"
- });
- result.setOpacity(0);
- document.body.appendChild(result);
- }
- return result;
-}
-
-/** Updates the loader message or hides it if nothing is being loaded. */
-alfresco.AjaxHelper._updateLoaderDisplay = function()
-{
- var ajaxLoader = alfresco.AjaxHelper._getLoaderElement();
- ajaxLoader.setText(alfresco.AjaxHelper._requests.length == 0
- ? alfresco.resources["idle"]
- : (alfresco.resources["loading"] +
- (alfresco.AjaxHelper._requests.length > 1
- ? " (" + alfresco.AjaxHelper._requests.length + ")"
- : "...")));
- alfresco.log(ajaxLoader.getText());
- ajaxLoader.setOpacity(alfresco.AjaxHelper._requests.length != 0 ? 1 : 0);
-}
-
-////////////////////////////////////////////////////////////////////////////////
-// ajax event handlers
-////////////////////////////////////////////////////////////////////////////////
-
-alfresco.AjaxHelper._onRequestHandler = function()
-{
- alfresco.AjaxHelper._requests.push(this._alfresco_AjaxHelper_request_counter);
- alfresco.AjaxHelper._updateLoaderDisplay();
-}
-
-alfresco.AjaxHelper._loadHandler = function()
-{
- var index = alfresco.AjaxHelper._requests.indexOf(this._alfresco_AjaxHelper_request_counter);
- if (index != -1)
- {
- alfresco.AjaxHelper._requests.splice(index, 1);
- }
- else
- {
- var urls = [];
- for (var i = 0; i < alfresco.AjaxHelper._requests.length; i++)
- {
- urls.push(alfresco.AjaxHelper._requests[i]);
- }
- throw new Error("unable to find " + req.url +
- " in [" + urls.join(", ") + "]");
- }
- alfresco.AjaxHelper._updateLoaderDisplay();
-}
-
-alfresco.AjaxHelper._errorHandler = function(transport)
-{
- alfresco.log("error status = " + transport.status +
- " response text = " + transport.responseText);
- if (transport.status == 401)
- {
- document.getElementById("logout").onclick();
- }
- else if (transport.status != 0)
- {
- var d = document.createElement("div");
- d.innerHTML = transport.responseText;
- _show_error(d);
- }
-}
-
-alfresco.AjaxHelper.toQueryString = function(source)
-{
- var queryString = [];
- for (var property in source)
- {
- if (typeof source[property] == "object")
- {
- for (var i = 0; i < source[property].length; i++)
- {
- queryString.push(encodeURIComponent(property) + '=' + encodeURIComponent(source[property][i]));
- }
- }
- else
- {
- queryString.push(encodeURIComponent(property) + '=' + encodeURIComponent(source[property]));
- }
- }
- return queryString.join('&');
-};
diff --git a/source/web/scripts/ajax/autocompleter.js b/source/web/scripts/ajax/autocompleter.js
deleted file mode 100644
index e7dac837e4..0000000000
--- a/source/web/scripts/ajax/autocompleter.js
+++ /dev/null
@@ -1,404 +0,0 @@
-/**
- * Autocompleter
- *
- * @version 1.0rc4
- *
- * @license MIT-style license
- * @author Harald Kirschner
- * @copyright Author
- */
-var Autocompleter = {};
-
-Autocompleter.Base = new Class({
-
- options: {
- minLength: 1,
- useSelection: true,
- markQuery: true,
- inheritWidth: true,
- maxChoices: 10,
- injectChoice: null,
- onSelect: Class.empty,
- onShow: Class.empty,
- onHide: Class.empty,
- customTarget: null,
- className: 'autocompleter-choices',
- zIndex: 42,
- observerOptions: {},
- fxOptions: {},
- overflown: []
- },
-
- initialize: function(el, options) {
- this.setOptions(options);
- this.element = $(el);
- this.build();
- this.observer = new Observer(this.element, this.prefetch.bind(this), $merge({
- delay: 400
- }, this.options.observerOptions));
- this.value = this.observer.value;
- this.queryValue = null;
- },
-
- /**
- * build - Initialize DOM
- *
- * Builds the html structure for choices and appends the events to the element.
- * Override this function to modify the html generation.
- */
- build: function() {
- if ($(this.options.customTarget)) this.choices = this.options.customTarget;
- else {
- this.choices = new Element('ul', {
- 'class': this.options.className,
- styles: {zIndex: this.options.zIndex}
- }).injectInside(document.body);
- this.fix = new OverlayFix(this.choices);
- }
- this.fx = this.choices.effect('opacity', $merge({
- wait: false,
- duration: 200
- }, this.options.fxOptions))
- .addEvent('onStart', function() {
- if (this.fx.now) return;
- this.choices.setStyle('display', '');
- this.fix.show();
- }.bind(this))
- .addEvent('onComplete', function() {
- if (this.fx.now) return;
- this.choices.setStyle('display', 'none');
- this.fix.hide();
- }.bind(this)).set(0);
- this.element.setProperty('autocomplete', 'off')
- .addEvent(window.ie ? 'keydown' : 'keypress', this.onCommand.bindWithEvent(this))
- .addEvent('mousedown', this.onCommand.bindWithEvent(this, [true]))
- .addEvent('focus', this.toggleFocus.bind(this, [true]))
- .addEvent('blur', this.toggleFocus.bind(this, [false]))
- .addEvent('trash', this.destroy.bind(this));
- },
-
- destroy: function() {
- this.choices.remove();
- },
-
- toggleFocus: function(state) {
- this.focussed = state;
- if (!state) this.hideChoices();
- },
-
- onCommand: function(e, mouse) {
- if (mouse && this.focussed) this.prefetch();
- if (e.key && !e.shift) switch (e.key) {
- case 'enter':
- if (this.selected && this.visible) {
- this.choiceSelect(this.selected);
- e.stop();
- } return;
- case 'up': case 'down':
- if (this.observer.value != (this.value || this.queryValue)) this.prefetch();
- else if (this.queryValue === null) break;
- else if (!this.visible) this.showChoices();
- else {
- this.choiceOver((e.key == 'up')
- ? this.selected.getPrevious() || this.choices.getLast()
- : this.selected.getNext() || this.choices.getFirst() );
- this.setSelection();
- }
- e.stop(); return;
- case 'esc': this.hideChoices(); return;
- }
- this.value = false;
- },
-
- setSelection: function() {
- if (!this.options.useSelection) return;
- var startLength = this.queryValue.length;
- if (this.element.value.indexOf(this.queryValue) != 0) return;
- var insert = this.selected.inputValue.substr(startLength);
- if (document.getSelection) {
- this.element.value = this.queryValue + insert;
- this.element.selectionStart = startLength;
- this.element.selectionEnd = this.element.value.length;
- } else if (document.selection) {
- var sel = document.selection.createRange();
- sel.text = insert;
- sel.move("character", - insert.length);
- sel.findText(insert);
- sel.select();
- }
- this.value = this.observer.value = this.element.value;
- },
-
- hideChoices: function() {
- if (!this.visible) return;
- this.visible = this.value = false;
- this.observer.clear();
- this.fx.start(0);
- this.fireEvent('onHide', [this.element, this.choices]);
- },
-
- showChoices: function() {
- if (this.visible || !this.choices.getFirst()) return;
- this.visible = true;
- var pos = this.element.getCoordinates(this.options.overflown);
- this.choices.setStyles({
- left: pos.left,
- top: pos.bottom
- });
- if (this.options.inheritWidth) this.choices.setStyle('width', pos.width);
- this.fx.start(1);
- this.choiceOver(this.choices.getFirst());
- this.fireEvent('onShow', [this.element, this.choices]);
- },
-
- prefetch: function() {
- if (this.element.value.length < this.options.minLength) this.hideChoices();
- else if (this.element.value == this.queryValue) this.showChoices();
- else this.query();
- },
-
- updateChoices: function(choices) {
- this.choices.empty();
- this.selected = null;
- if (!choices || !choices.length) return;
- if (this.options.maxChoices < choices.length) choices.length = this.options.maxChoices;
- choices.each(this.options.injectChoice || function(choice, i){
- var el = new Element('li').setHTML(this.markQueryValue(choice));
- el.inputValue = choice;
- this.addChoiceEvents(el).injectInside(this.choices);
- }, this);
- this.showChoices();
- },
-
- choiceOver: function(el) {
- if (this.selected) this.selected.removeClass('autocompleter-selected');
- this.selected = el.addClass('autocompleter-selected');
- },
-
- choiceSelect: function(el) {
- this.observer.value = this.element.value = el.inputValue;
- this.hideChoices();
- this.fireEvent('onSelect', [this.element], 20);
- },
-
- /**
- * markQueryValue
- *
- * Marks the queried word in the given string with *
- * Call this i.e. from your custom parseChoices, same for addChoiceEvents
- *
- * @param {String} Text
- * @return {String} Text
- */
- markQueryValue: function(txt) {
- return (this.options.markQuery && this.queryValue) ? txt.replace(new RegExp('^(' + this.queryValue.escapeRegExp() + ')', 'i'), '$1') : txt;
- },
-
- /**
- * addChoiceEvents
- *
- * Appends the needed event handlers for a choice-entry to the given element.
- *
- * @param {Element} Choice entry
- * @return {Element} Choice entry
- */
- addChoiceEvents: function(el) {
- return el.addEvents({
- mouseover: this.choiceOver.bind(this, [el]),
- mousedown: this.choiceSelect.bind(this, [el])
- });
- }
-});
-
-Autocompleter.Base.implement(new Events);
-Autocompleter.Base.implement(new Options);
-
-Autocompleter.Local = Autocompleter.Base.extend({
-
- options: {
- minLength: 0,
- filterTokens : null
- },
-
- initialize: function(el, tokens, options) {
- this.parent(el, options);
- this.tokens = tokens;
- if (this.options.filterTokens) this.filterTokens = this.options.filterTokens.bind(this);
- },
-
- query: function() {
- this.hideChoices();
- this.queryValue = this.element.value;
- this.updateChoices(this.filterTokens());
- },
-
- filterTokens: function(token) {
- var regex = new RegExp('^' + this.queryValue.escapeRegExp(), 'i');
- return this.tokens.filter(function(token) {
- return regex.test(token);
- });
- }
-
-});
-
-Autocompleter.Ajax = {};
-
-Autocompleter.Ajax.Base = Autocompleter.Base.extend({
-
- options: {
- postVar: 'value',
- postData: {},
- ajaxOptions: {},
- onRequest: Class.empty,
- onComplete: Class.empty
- },
-
- initialize: function(el, url, options) {
- this.parent(el, options);
- this.ajax = new Ajax(url, $merge({
- autoCancel: true
- }, this.options.ajaxOptions));
- this.ajax.addEvent('onComplete', this.queryResponse.bind(this));
- this.ajax.addEvent('onFailure', this.queryResponse.bind(this, [false]));
- },
-
- query: function(){
- var data = $extend({}, this.options.postData);
- data[this.options.postVar] = this.element.value;
- this.fireEvent('onRequest', [this.element, this.ajax]);
- this.ajax.request(data);
- },
-
- /**
- * queryResponse - abstract
- *
- * Inherated classes have to extend this function and use this.parent(resp)
- *
- * @param {String} Response
- */
- queryResponse: function(resp) {
- this.value = this.queryValue = this.element.value;
- this.selected = false;
- this.hideChoices();
- this.fireEvent(resp ? 'onComplete' : 'onFailure', [this.element, this.ajax], 20);
- }
-
-});
-
-Autocompleter.Ajax.Json = Autocompleter.Ajax.Base.extend({
-
- queryResponse: function(resp) {
- this.parent(resp);
- var choices = Json.evaluate(resp || false);
- if (!choices || !choices.length) return;
- this.updateChoices(choices);
- }
-
-});
-
-Autocompleter.Ajax.Xhtml = Autocompleter.Ajax.Base.extend({
-
- options: {
- parseChoices: null
- },
-
- queryResponse: function(resp) {
- this.parent(resp);
- if (!resp) return;
- this.choices.setHTML(resp).getChildren().each(this.options.parseChoices || this.parseChoices, this);
- this.showChoices();
- },
-
- parseChoices: function(el) {
- var value = el.innerHTML;
- el.inputValue = value;
- el.setHTML(this.markQueryValue(value));
- }
-
-});
-
-
-var OverlayFix = new Class({
-
- initialize: function(el) {
- this.element = $(el);
- if (window.ie){
- this.element.addEvent('trash', this.destroy.bind(this));
- this.fix = new Element('iframe', {
- properties: {
- frameborder: '0',
- scrolling: 'no',
- src: 'javascript:false;'
- },
- styles: {
- position: 'absolute',
- border: 'none',
- display: 'none',
- filter: 'progid:DXImageTransform.Microsoft.Alpha(opacity=0)'
- }
- }).injectAfter(this.element);
- }
- },
-
- show: function() {
- if (this.fix) this.fix.setStyles($extend(
- this.element.getCoordinates(), {
- display: '',
- zIndex: (this.element.getStyle('zIndex') || 1) - 1
- }));
- return this;
- },
-
- hide: function() {
- if (this.fix) this.fix.setStyle('display', 'none');
- return this;
- },
-
- destroy: function() {
- this.fix.remove();
- }
-
-});
-
-/**
- * Observer - Observe formelements for changes
- *
- * @version 1.0rc1
- *
- * @license MIT-style license
- * @author Harald Kirschner
- * @copyright Author
- */
-var Observer = new Class({
-
- options: {
- periodical: false,
- delay: 1000
- },
-
- initialize: function(el, onFired, options){
- this.setOptions(options);
- this.addEvent('onFired', onFired);
- this.element = $(el);
- this.listener = this.fired.bind(this);
- this.value = this.element.getValue();
- if (this.options.periodical) this.timer = this.listener.periodical(this.options.periodical);
- else this.element.addEvent('keyup', this.listener);
- },
-
- fired: function() {
- var value = this.element.getValue();
- if (this.value == value) return;
- this.clear();
- this.value = value;
- this.timeout = this.fireEvent.delay(this.options.delay, this, ['onFired', [value]]);
- },
-
- clear: function() {
- $clear(this.timeout);
- return this;
- }
-});
-
-Observer.implement(new Options);
-Observer.implement(new Events);
\ No newline at end of file
diff --git a/source/web/scripts/ajax/common.js b/source/web/scripts/ajax/common.js
deleted file mode 100644
index b62e5c630f..0000000000
--- a/source/web/scripts/ajax/common.js
+++ /dev/null
@@ -1,749 +0,0 @@
-//
-// Alfresco JavaScript support library
-// Gavin Cornwell 14-07-2006
-//
-
-
-function getIEEngine()
-{
- var engine = null;
-
- if (document.documentMode) // IE8
- engine = document.documentMode;
- else // IE 5-7
- {
- engine = 5; // Assume quirks mode unless proven otherwise
- if (document.compatMode)
- {
- if (document.compatMode == "CSS1Compat")
- engine = 7; // standards mode
- }
- }
- return engine;
-
-}
-
-function getIEVersion()
-{
- var rv = -1;
- var ua = window.navigator.userAgent;
- var re = new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})");
- if (re.exec(ua) != null) rv = parseFloat(RegExp.$1);
- return rv;
-}
-
-// Global Alfresco namespace object
-if (typeof Alfresco == "undefined")
-{
- var Alfresco = {};
-}
-
-var _checkContextAgainstPath = false;
-var _alfContextPath = null;
-
-
-/**
- * window.onload function for r:page tag
- */
-function onloadFunc(webdavUrl, cifsPath)
-{
- if (webdavUrl != "")
- {
- openDoc(webdavUrl);
- }
- if (cifsPath != "")
- {
- window.open(cifsPath, "_blank");
- }
-}
-
-/**
- * Error handler for errors caught in a catch block
- */
-function handleCaughtError(err)
-{
- var msg = null;
-
- if (err.message)
- {
- msg = err.message;
- }
- else
- {
- msg = err;
- }
-
- alert("An error occurred:\n" + msg);
-}
-
-/**
- * Default handler for errors when using the dojo toolkit
- */
-function handleErrorDojo(type, errObj)
-{
- // remove the dojo prefix from the message
- var errorStart = "XMLHttpTransport Error: 500 ";
- var msg = errObj.message;
-
- if (msg.indexOf(errorStart) != -1)
- {
- msg = msg.substring(errorStart.length);
- }
-
- // TODO: Show a nicer error page, an alert will do for now!
- alert(msg);
-}
-
-/**
- * Default handler for errors when using the yahoo toolkit
- */
-function handleErrorYahoo(e)
-{
- if (e.status == 401)
- {
- document.location = window.location.protocol + "//" + window.location.host + getContextPath();
- }
- else
- {
- // TODO: Show a nicer error page, an alert will do for now!
- alert(e.status + " : " + e.statusText);
- }
-}
-
-/**
- * Determines whether the setContextPath method below should
- * check the provided context path against the URLs path
- */
-function setCheckContextAgainstPath(checkContextAgainstPath)
-{
- _checkContextAgainstPath = checkContextAgainstPath;
-}
-
-/**
- * Sets the context path to use, useful for portals where
- * the URL can be different from the app's context path.
- */
-function setContextPath(contextPath)
-{
- if (_checkContextAgainstPath)
- {
- if (window.location.pathname.indexOf(contextPath) == 0 )
- {
- _alfContextPath = contextPath;
- }
- else
- {
- _alfContextPath = "";
- }
- }
- else
- {
- _alfContextPath = contextPath;
- }
-}
-
-/**
- * Calculates and returns the context path for the current page
- */
-function getContextPath()
-{
- if (_alfContextPath == null)
- {
- var path = window.location.pathname;
- var idx = path.indexOf("/", 1);
- if (idx != -1)
- {
- _alfContextPath = path.substring(0, idx);
- }
- else
- {
- _alfContextPath = "";
- }
- }
-
- return _alfContextPath;
-}
-
-if (typeof document.ELEMENT_NODE == "undefined")
-{
- // define dom constants for IE compatability
- document.ELEMENT_NODE = 1;
- document.ATTRIBUTE_NODE = 2;
- document.TEXT_NODE = 3;
- document.CDATA_SECTION_NODE = 4;
- document.ENTITY_REFERENCE_NODE = 5;
- document.ENTITY_NODE = 6;
- document.PROCESSING_INSTRUCTION_NODE = 7;
- document.COMMENT_NODE = 8;
- document.DOCUMENT_NODE = 9;
- document.DOCUMENT_TYPE_NODE = 10;
- document.DOCUMENT_FRAGMENT_NODE = 11;
- document.NOTATION_NODE = 12;
-}
-
-/**
- * UIDataPager functions
- */
-function validateAndSubmit(e, pageInputId, formClientId, hiddenFieldName)
-{
- var keycode;
- if (window.event) keycode = window.event.keyCode;
- else if (e) keycode = e.which;
- if (keycode == 13)
- {
- var inputControl = $(pageInputId);
- var dialogForm = $('dialog');
- if (dialogForm)
- {
- dialogForm.removeProperty('onsubmit');
- }
- var val = parseInt(inputControl.value);
- if (val == 'NaN' || document.forms[formClientId][hiddenFieldName] == undefined)
- {
- inputControl.value = 1;
- //console.log("validateAndSubmit: reverting to 1");
- return false;
- }
- else
- {
- val = (val-1)>=0 ? val-1 : 0;
- document.forms[formClientId][hiddenFieldName].value = val;
- document.forms[formClientId].submit();
- //console.log("validateAndSubmit: submitting value: " + val);
- return false;
- }
- }
- //console.log("validateAndSubmit: passthrough...");
- return true;
-}
-
-function onlyDigitsIE6(e, pageInputId, formClientId, hiddenFieldName)
-{
- var keycode;
- if (window.event) keycode = window.event.keyCode;
- else if (e) keycode = e.which;
- var keychar = String.fromCharCode(keycode);
- var numcheck = /\d/;
- if (keycode == 13)
- {
- var inputControl = $(pageInputId);
- var val = parseInt(inputControl.value);
- if (val == 'NaN' || document.forms[formClientId][hiddenFieldName] == undefined)
- {
- inputControl.value = 1;
- return false;
- }
- else
- {
- val = (val-1)>=0 ? val-1 : 0;
- document.forms[formClientId][hiddenFieldName].value = val;
- document.forms[formClientId].submit();
- return false;
- }
- }
- var result = (keycode==13 || keycode==8 || keycode==37 || keycode==39 || keycode==46 || (keycode>=96 && keycode<=105) || numcheck.test(keychar));
- //console.log("onlyDigits: " + result);
- return result;
-}
-
-function onlyDigits(e)
-{
- var keycode;
- if (window.event) keycode = window.event.keyCode;
- else if (e) keycode = e.which;
- var keychar = String.fromCharCode(keycode);
- var numcheck = /\d/;
- var dialogForm = $('dialog');
- if (dialogForm && keycode == 13)
- {
- dialogForm.setProperty('onsubmit', 'return false;');
- }
- var result = (keycode==13 || keycode==8 || keycode==37 || keycode==39 || keycode==46 || (keycode>=96 && keycode<=105) || numcheck.test(keychar));
- //console.log("onlyDigits: " + result);
- return result;
-}
-
-
-/**
- * Alfresco Utility libraries
- */
-(function()
-{
- /**
- * DOM library
- */
- Alfresco.Dom = {
-
- /**
- * Returns a single child element with the given tag
- * name from the given parent. If more than one tag
- * exists the first one is returned, if none exist null
- * is returned.
- */
- getElementByTagName: function(elParent, tagName)
- {
- var el = null;
-
- if (elParent != null && tagName != null)
- {
- var elems = elParent.getElementsByTagName(tagName);
- if (elems != null && elems.length > 0)
- {
- el = elems[0];
- }
- }
-
- return el;
- },
-
- /**
- * Returns a single child element with the given tag
- * name and namespace from the given parent.
- * If more than one tag exists the first one is returned,
- * if none exist null is returned.
- */
- getElementByTagNameNS: function(elParent, nsUri, nsPrefix, tagName)
- {
- var el = null;
-
- if (elParent != null && tagName != null)
- {
- var elems = null;
-
- if (elParent.getElementsByTagNameNS)
- {
- elems = elParent.getElementsByTagNameNS(nsUri, tagName);
- }
- else
- {
- elems = elParent.getElementsByTagName(nsPrefix + ":" + tagName);
- }
-
- if (elems != null && elems.length > 0)
- {
- el = elems[0];
- }
- }
-
- return el;
- },
-
- /**
- * Returns the text of the given DOM element object
- */
- getElementText: function(el)
- {
- var txt = null;
-
- if (el.text != undefined)
- {
- // get text using IE specific property
- txt = el.text;
- }
- else
- {
- // use the W3C textContent property
- txt = el.textContent;
- }
-
- return txt;
- },
-
- /**
- * Returns the text content of a single child element
- * with the given tag name from the given parent.
- * If more than one tag exists the text of the first one
- * is returned, if none exist null is returned.
- */
- getElementTextByTagName: function(elParent, tagName)
- {
- var txt = null;
-
- var el = this.getElementByTagName(elParent, tagName);
- if (el != null)
- {
- txt = this.getElementText(el);
- }
-
- return txt;
- },
-
- /**
- * Returns the text a single child element with the given tag
- * name and namespace from the given parent.
- * If more than one tag exists the text of the first one is returned,
- * if none exist null is returned.
- */
- getElementTextByTagNameNS: function(elParent, nsUri, nsPrefix, tagName)
- {
- var txt = null;
-
- var el = this.getElementByTagNameNS(elParent, nsUri, nsPrefix, tagName);
- if (el != null)
- {
- txt = this.getElementText(el);
- }
-
- return txt;
- },
-
- /**
- * Returns the x/y position of the element in page coordinates.
- * Takes all parent scrollable containers into account.
- */
- getPageXY: function(el)
- {
- var parentNode = null;
- var pos = new Object();
-
- if (el.getBoundingClientRect) // IE
- {
- var box = el.getBoundingClientRect();
- var doc = document;
-
- var scrollTop = Math.max(doc.documentElement.scrollTop, doc.body.scrollTop);
- var scrollLeft = Math.max(doc.documentElement.scrollLeft, doc.body.scrollLeft);
-
- pos.x = box.left + scrollLeft;
- pos.y = box.top + scrollTop;
-
- return pos;
- }
- else
- {
- // firefox, opera
- pos.x = el.offsetLeft;
- pos.y = el.offsetTop;
- parentNode = el.offsetParent;
- if (parentNode != el)
- {
- while (parentNode)
- {
- pos.x += parentNode.offsetLeft;
- pos.y += parentNode.offsetTop;
- parentNode = parentNode.offsetParent;
- }
- }
- }
-
- if (el.parentNode)
- {
- parentNode = el.parentNode;
- }
- else
- {
- parentNode = null;
- }
-
- while (parentNode && parentNode.tagName.toUpperCase() != 'BODY' && parentNode.tagName.toUpperCase() != 'HTML')
- {
- // account for any scrolled ancestors
- if ($(parentNode).getStyle('display') != 'inline')
- {
- pos.x -= parentNode.scrollLeft;
- pos.y -= parentNode.scrollTop;
- }
-
- if (parentNode.parentNode)
- {
- parentNode = parentNode.parentNode;
- }
- else
- {
- parentNode = null;
- }
- }
-
- return pos;
- },
-
- /**
- * Returns the height of the document.
- */
- getDocumentHeight: function()
- {
- var scrollHeight = (document.compatMode != 'CSS1Compat') ? document.body.scrollHeight : document.documentElement.scrollHeight;
- return Math.max(scrollHeight, this.getViewportHeight());
- },
-
- /**
- * Returns the width of the document.
- */
- getDocumentWidth: function()
- {
- var scrollWidth = (document.compatMode != 'CSS1Compat') ? document.body.scrollWidth : document.documentElement.scrollWidth;
- return Math.max(scrollWidth, this.getViewportWidth());
- },
-
- /**
- * Returns the current height of the viewport.
- */
- getViewportHeight: function()
- {
- return (document.compatMode == 'CSS1Compat') ?
- document.documentElement.clientHeight : // Standards
- document.body.clientHeight; // Quirks
- },
-
- /**
- * Returns the current width of the viewport.
- */
- getViewportWidth: function()
- {
- return (document.compatMode == 'CSS1Compat') ?
- document.documentElement.clientWidth : // Standards
- document.body.clientWidth; // Quirks
- },
-
- /**
- * Aligns an element against the specified element. Automatically adjusts the element above or to
- * the left of the destination if the element would cause a scrollbar to appear.
- *
- * @param el Element to align
- * @param destEl Destination element to align against
- * @param maxwidth Maximum width of the element (assumed max-width CSS applied)
- */
- smartAlignElement: function (el, destEl, maxwidth)
- {
- // extend element with useful mootools prototypes
- el = $(el);
-
- // get the position of the element we are aligning against
- var pos = this.getPageXY(destEl);
-
- // calculate display position for the element
- var region = el.getCoordinates();
-
- var elHeight = region.bottom - region.top;
- var elWidth = region.right - region.left;
- if (maxwidth != undefined && maxwidth != null)
- {
- if (elWidth > maxwidth) elWidth = maxwidth;
- }
- var docWidth = this.getDocumentWidth();
- var shiftedLeft = false;
- if (pos.x + 20 + elWidth < docWidth)
- {
- el.style.left = (pos.x + 20) + "px";
- }
- else
- {
- // Shifting X coord left - overflow
- el.style.left = (pos.x + 20 - ((pos.x + elWidth) - docWidth)) + "px";
- shiftedLeft = true;
- }
- if (pos.y + 12 + elHeight < this.getDocumentHeight())
- {
- el.style.top = (pos.y + 12) + "px";
- }
- else
- {
- // Shifting Y coord up - overflow
- if (shiftedLeft == true)
- {
- el.style.top = (pos.y - elHeight + 4) + "px";
- }
- else
- {
- // we have room to shift vertically without overwriting the pop-up icon
- var ypos = (pos.y - elHeight + 4);
- if (ypos < 0) ypos = 0;
- el.style.top = ypos + "px";
- }
- }
- },
-
- encodeHTML: function(text)
- {
- if (text === null || typeof text == "undefined")
- {
- return "";
- }
-
- text = "" + text;
- return text.replace(/&/g, "&").replace(//g, ">").replace(/"/g, """);
- }
- };
-})();
-
-/**
- * Logs a message to a debug log window.
- *
- * Example taken from http://ajaxcookbook.org/javascript-debug-log
- */
-function log(message)
-{
- if (window.console)
- {
- console.log(message);
- }
- else
- {
- if (!log.window_ || log.window_.closed)
- {
- var win = window.open("", null, "width=600,height=400," +
- "scrollbars=yes,resizable=yes,status=no," +
- "location=no,menubar=no,toolbar=no");
- if (!win) return;
- var doc = win.document;
- doc.write("Debug Log" +
- "");
- doc.close();
- log.window_ = win;
- }
-
- var logLine = log.window_.document.createElement("div");
- logLine.appendChild(log.window_.document.createTextNode(message));
- log.window_.document.body.appendChild(logLine);
- }
-}
-
-/**
- * Throws an error if the specified condition is not met.
- */
-function assert(condition, message)
-{
- if (!condition)
- {
- log(message);
- throw new Error("Assertion failed: " + message);
- }
-}
-
-if (!String.prototype.startsWith)
-{
- String.prototype.startsWith = function(s)
- {
- return this.indexOf(s) == 0;
- }
-}
-
-if (!Array.prototype.indexOf)
-{
- Array.prototype.indexOf = function(o)
- {
- for (var i = 0; i < this.length; i++)
- {
- if (this[i] == o)
- {
- return i;
- }
- }
- return -1;
- }
-}
-
-if (!Array.prototype.peek)
-{
- Array.prototype.peek = function(o)
- {
- return this[this.length - 1];
- }
-}
-
-// this is an exact copy of ../upload_helper.js - needs refactoring
-var _fileUploads = [];
-
-function handleUploadHelper(fileInputElement,
- uploadId,
- callback,
- contextPath,
- actionUrl,
- params)
-{
- var id = fileInputElement.getAttribute("name");
- var d = fileInputElement.ownerDocument;
- var iframe = d.createElement("iframe");
- iframe.style.display = "none";
- iframe.name = id + "upload_frame";
- iframe.id = iframe.name;
- document.body.appendChild(iframe);
-
- // makes it possible to target the frame properly in IE.
- window.frames[iframe.name].name = iframe.name;
-
- _fileUploads[uploadId] = { path: fileInputElement.value, callback: callback };
-
- var form = d.createElement("form");
- d.body.appendChild(form);
- form.id = id + "_upload_form";
- form.name = form.id;
- form.style.display = "none";
- form.method = "post";
- form.encoding = "multipart/form-data";
- form.enctype = "multipart/form-data";
- form.target = iframe.name;
- actionUrl = actionUrl || "/uploadFileServlet";
- form.action = contextPath + actionUrl;
- form.appendChild(fileInputElement);
-
- var id = document.createElement("input");
- id.type = "hidden";
- form.appendChild(id);
- id.name = "upload-id";
- id.value = uploadId;
-
- if (params != undefined && params != null)
- {
- for (var i in params)
- {
- var p = document.createElement("input");
- p.type = "hidden";
- form.appendChild(p);
- id.name = i;
- id.value = params[i];
- }
- }
-
- var rp = document.createElement("input");
- rp.type = "hidden";
- form.appendChild(rp);
- rp.name = "return-page";
- rp.value = "javascript:window.parent.uploadCompleteHelper('" + uploadId +
- "',{error: '${UPLOAD_ERROR}'})";
-
- form.submit();
-}
-
-function uploadCompleteHelper(id, args)
-{
- var upload = _fileUploads[id];
- upload.callback(id,
- upload.path,
- upload.path.replace(/.*[\/\\]([^\/\\]+)/, "$1"),
- args.error != "${UPLOAD_ERROR}" ? args.error : null);
-}
-
-var openWindowCallbackFn = null;
-
-function openWindowCallback(url, callback)
-{
- // Store the callback function for later
- openWindowCallbackFn = callback;
- // Register our "well known" callback function
- window.alfrescoCallback = openWindowOnCallback;
- // Use a named window so that only one dialog is active at a time
- window.open(url, 'alfrescoDialog', 'width=1024,height=768,scrollbars=yes');
-}
-
-function openWindowOnCallback(fromTimeout)
-{
- if (typeof(fromTimeout)=='undefined')
- {
- window.setTimeout("openWindowOnCallback(true)", 10);
- }
- else
- {
- // Clear out the global callback function
- window.alfrescoCallback = null;
- // Try the callback function
- try
- {
- openWindowCallbackFn();
- }
- catch (e)
- {
- }
- openWindowCallbackFn = null;
- }
-}
diff --git a/source/web/scripts/ajax/date_picker.js b/source/web/scripts/ajax/date_picker.js
deleted file mode 100644
index 6d3dcd3b03..0000000000
--- a/source/web/scripts/ajax/date_picker.js
+++ /dev/null
@@ -1,383 +0,0 @@
-if (!$defined(Element.getText))
-{
- Element.extend(
- {
- getText: function()
- {
- return this.innerText || this.textContent || "";
- }
- });
-}
-
-
-var DatePicker = new Class(
-{
- options:
- {
- onShow: Class.empty,
- onHide: Class.empty,
- readOnly: true,
- showToday: true,
- dateFormat: "string",
- monthNamesShort: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
- monthNamesLong: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
- dayNamesShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
- dayNamesLong: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
- },
-
- initialize: function(el, options)
- {
- this.element = el;
- this.setOptions(options);
-
- this.calendar = new Element("div", {"id": "date-picker"}).inject(document.body);
- this.calendar.addEvent("mouseenter", this.onMouseEnter.bind(this));
- this.calendar.addEvent("mouseleave", this.onMouseLeave.bind(this));
-
- this.wrapper = new Element("div", {"id": "date-wrapper"}).inject(this.calendar);
-
- this.currentDate = null;
- this.isVisible = false;
- this.hasMouse = false;
-
- if (this.options.readOnly)
- {
- el.setProperty("readonly", "readonly");
- }
- el.addEvent("click", this.toggleCalendar.bind(this));
- el.addEvent("blur", this.onBlur.bind(this));
- },
-
- position: function(el)
- {
- var pos = $(el).getPosition();
- this.calendar.setStyles(
- {
- "left": pos.x,
- "top": pos.y + $(el).getCoordinates().height
- });
- },
-
- show: function()
- {
- this.isVisible = true;
- this.calendar.setStyle("visibility", "visible");
- this.fireEvent("onShow", [this.calendar]);
- },
-
- hide: function()
- {
- this.isVisible = false;
- this.hasMouse = false;
- this.calendar.setStyle("visibility", "hidden");
- this.fireEvent("onHide", [this.calendar]);
- },
-
- onMouseEnter: function()
- {
- this.hasMouse = true;
- },
-
- onMouseLeave: function()
- {
- this.hasMouse = false;
- this.onBlur.delay(500, this);
- },
-
- onBlur: function()
- {
- if (!this.hasMouse)
- {
- this.hide();
- }
- },
-
- toggleCalendar: function()
- {
- if (this.isVisible)
- {
- // Hide the calendar
- this.hide();
- }
- else
- {
- this.originalDate = this.convert(this.element.value.toString(), "date");
- this.renderCalendar(this.element);
- this.show();
- }
- },
-
- /* Main calendar render function */
- renderCalendar: function(el, dt)
- {
- this.currentDate = this.convert((($defined(dt)) ? dt : el.value), "date");
-
- this.position(el);
-
- /** Set up all the dates we need */
- var lastMonth = new Date(this.currentDate).setMonth(this.currentDate.getMonth() - 1); // The previous month to the display date
- var nextMonth = new Date(this.currentDate).setMonth(this.currentDate.getMonth() + 1); // The next month to the display date
- var lastYear = new Date(this.currentDate).setFullYear(this.currentDate.getFullYear() - 1); // The previous year to the display date
- var nextYear = new Date(this.currentDate).setFullYear(this.currentDate.getFullYear() + 1); // The next year to the display date
-
- var firstDay = new Date(this.currentDate); // The first day of the month for the display date
- firstDay.setDate(1);
- if (firstDay.getDay() > 0)
- {
- firstDay.setDate(-firstDay.getDay() + 1);
- }
-
- var currentDay = new Date(firstDay);
- var today = new Date(); // Todays date
-
- /** Clear any previous dom and refill it*/
- this.wrapper.empty();
-
- /** Global vars and initial dom stuff */
- var table, tbody, row, td, highlight;
- table = new Element("table",
- {
- "id": "date-table",
- "class": "date-table"
- });
- tbody = new Element("tbody").injectInside(table)
-
- /** Build the skip month/date controls */
- row = new Element("tr").injectInside(tbody);
-
- new Element("td",
- {
- "class": "date-monthswitch",
- "events":
- {
- "click" : this.renderCalendar.bind(this, [el, lastMonth])
- }
- }).appendText("<").injectInside(row);
-
- new Element("td",
- {
- "colSpan": 5,
- "rowSpan": 2,
- "class" : "date-monthandyear"
- }).appendText(this.options.monthNamesLong[this.currentDate.getMonth()] + " " + this.currentDate.getFullYear()).injectInside(row);
-
- new Element("td",
- {
- "class": "date-monthswitch",
- "events":
- {
- "click" : this.renderCalendar.bind(this, [el, nextMonth])
- }
- }).appendText(">").injectInside(row);
-
- row = new Element("tr").injectInside(tbody);
-
- new Element("td",
- {
- "class": "date-yearswitch",
- "events":
- {
- "click" : this.renderCalendar.bind(this, [el, lastYear])
- }
- }).appendText("<<").injectInside(row);
-
- new Element("td",
- {
- "class": "date-yearswitch",
- "events":
- {
- "click" : this.renderCalendar.bind(this, [el, nextYear])
- }
- }).appendText(">>").injectInside(row);
-
- /** Push out the day names */
- row = new Element("tr").injectInside(tbody);
- for (i = 0; i < 7; i++)
- {
- new Element("th").appendText(this.options.dayNamesShort[i].substr(0,2)).injectInside(row);
- }
-
- highlight = this.highlight.bind(this);
-
- /* Populate the dates we can pick */
- while (currentDay.getMonth() == this.currentDate.getMonth() || currentDay.getMonth() == firstDay.getMonth())
- {
- row = new Element("tr").injectInside(tbody);
- for (i = 0; i < 7; i++)
- {
- td = new Element("td").appendText(currentDay.getDate()).injectInside(row);
- td.addClass((currentDay.getDay() == 0 || currentDay.getDay() == 6) ? "date-weekend" : "date-workday");
- if (currentDay.getMonth() != this.currentDate.getMonth())
- {
- td.addClass("date-offmonth");
- }
- else
- {
- td.addClass("date-day");
- td.addEvents(
- {
- "click": this.selectValue.bindWithEvent(this),
- "mouseenter": highlight,
- "mouseleave": highlight
- });
- }
- if (currentDay.getDate() == today.getDate() && currentDay.getMonth() == today.getMonth() && currentDay.getFullYear() == today.getFullYear())
- {
- td.addClass("date-today");
- }
- if (currentDay.getDate() == this.originalDate.getDate()
- && currentDay.getMonth() == this.originalDate.getMonth()
- && currentDay.getFullYear() == this.originalDate.getFullYear())
- {
- td.addClass("date-picked");
- }
- currentDay.setDate(currentDay.getDate() + 1);
- }
- }
-
- /** Add the select today choice */
- if (this.options.showToday)
- {
- row = new Element("tr").injectInside(tbody);
- new Element("td",
- {
- "colSpan": 7,
- "class" : "date-todayfooter",
- "events":
- {
- "click" : this.renderCalendar.bind(this, [el, today])
- }
- }).appendText("Today: " + this.convert(today, "dd/MMM/yyyy")).injectInside(row);
- }
-
- table.injectInside(this.wrapper);
- },
-
- highlight: function (ev)
- {
- var e = new Event(ev);
- e.target.toggleClass("date-tdover");
- },
-
- selectValue: function (ev)
- {
- var e = new Event(ev);
- e.stopPropagation();
- var o = $(e.target);
- var pickedDate = this.currentDate.setDate(o.getText());
- this.element.value = this.convert(pickedDate, this.options.dateFormat);
- this.hide();
- },
-
- convert: function(o, format)
- {
- var d = new Date();
- if (o.getFullYear)
- {
- d = o;
- }
- else if ($type(o) == "number")
- {
- d = new Date(o);
- }
- else if ($type(o) == "object")
- {
- d = new Date(o.year, o.month, o.date);
- }
- else if ($type(o) == "string")
- {
- d = new Date(o);
- if ((d.toString() == "Invalid Date") || (d.toString() == "NaN"))
- {
- d = new Date();
- }
- }
-
- if (format == "date")
- {
- return d;
- }
- else if (format == "object")
- {
- return(
- {
- date: d.getDate(),
- month: d.getMonth(),
- year: d.getFullYear()
- });
- }
- else if (format == "number")
- {
- return d.getTime();
- }
- else if (format == "string")
- {
- return d.getDate() + "/" + (d.getMonth() + 1) + "/" + d.getFullYear();
- }
-
- // Otherwise, assume we've been given a format string for formatDate
- return this.formatDate(d, format);
- },
-
- formatDate: function(dt, format)
- {
- if (!dt.valueOf())
- {
- return '';
- }
-
- window.monthNamesLong = this.options.monthNamesLong;
- window.monthNamesShort = this.options.monthNamesShort;
- window.dayNamesLong = this.options.dayNamesLong;
- window.dayNamesShort = this.options.dayNamesShort;
-
- return format.replace(/(yyyy|yy|y|MMMM|MMM|MM|M|dddd|ddd|dd|d|HH|H|hh|h|mm|m|ss|s|t)/gi, function($1, $2, $3, $4, $5)
- {
- switch ($1)
- {
- case 'yyyy': return dt.getFullYear();
- case 'yy': return ('0' + (dt.getFullYear()%100)).zeroFill(2);
- case 'y': return (d.getFullYear()%100);
- case 'MMMM': return window.monthNamesLong[dt.getMonth()];
- case 'MMM': return window.monthNamesShort[dt.getMonth()];
- case 'MM': return (dt.getMonth() + 1).zeroFill(2);
- case 'M': return (dt.getMonth() + 1);
- case 'dddd': return window.dayNamesLong[dt.getDay()];
- case 'ddd': return window.dayNamesShort[dt.getDay()];
- case 'dd': return dt.getDate().zeroFill(2);
- case 'd': return dt.getDate();
- case 'HH': return dt.getHours().zeroFill(2);
- case 'H': return dt.getHours();
- case 'hh': return ((h = dt.getHours() % 12) ? h : 12).zeroFill(2);
- case 'h': return ((h = dt.getHours() % 12) ? h : 12);
- case 'mm': return dt.getMinutes().zeroFill(2);
- case 'm': return dt.getMinutes();
- case 'ss': return dt.getSeconds().zeroFill(2);
- case 's': return dt.getSeconds();
- case 't': return dt.getHours() < 12 ? 'A.M.' : 'P.M.';
- }
- });
- }
-
-});
-
-DatePicker.implement(new Events, new Options);
-
-// Used by formatDate function */
-String.prototype.zeroFill = function(l)
-{
- return '0'.repeat(l - this.length) + this;
-}
-String.prototype.repeat = function(l)
-{
- var s = '', i = 0;
- while (i++ < l)
- {
- s += this;
- }
- return s;
-}
-Number.prototype.zeroFill = function(l)
-{
- return this.toString().zeroFill(l);
-}
diff --git a/source/web/scripts/ajax/deployment.js b/source/web/scripts/ajax/deployment.js
deleted file mode 100644
index ce65b3c3fe..0000000000
--- a/source/web/scripts/ajax/deployment.js
+++ /dev/null
@@ -1,247 +0,0 @@
-Alfresco.DeploymentMonitor = function(ids, pollingFreq, failedMsg, successMsg)
-{
- this.ids = ids;
- this.url = getContextPath() + "/ajax/invoke/DeploymentProgressBean.getStatus?ids=" + this.ids;
- this.pollingFreq = pollingFreq;
- this.failedMsg = failedMsg;
- this.successMsg = successMsg;
-}
-
-Alfresco.DeploymentMonitor.prototype =
-{
- ids: null,
- url: null,
- pollingFreq: 5,
- failedMsg: null,
- successMsg: null,
-
- retrieveDeploymentStatus: function()
- {
- YAHOO.util.Connect.asyncRequest('GET', this.url,
- {
- success: this.processResults,
- failure: this.handleError,
- scope: this
- },
- null);
- },
-
- processResults: function(ajaxResponse)
- {
- var xml = ajaxResponse.responseXML.documentElement;
- var statuses = xml.getElementsByTagName('target-server');
- var noInProgress = statuses.length;
- if (noInProgress > 0)
- {
- for (var x = 0; x < noInProgress; x++)
- {
- var target = statuses[x];
- var id = target.getAttribute('id');
- var finished = target.getAttribute('finished');
- var url = target.getAttribute('url');
- var reason = target.getAttribute('reason');
- if (finished == 'true')
- {
- var successful = target.getAttribute('successful');
- var icon = document.getElementById(id + '_icon');
- if (icon != null)
- {
- var image = (successful == 'true') ? 'successful' : 'failed';
- icon.src = '/alfresco/images/icons/deploy_' + image + '.gif';
- }
-
- var statusElem = document.getElementById(id + '_status');
- if (statusElem != null)
- {
- var msg = (successful == 'true') ? this.successMsg : this.failedMsg;
- statusElem.innerHTML = msg;
- }
-
- var msgElem = document.getElementById(id + '_msg');
- if (msgElem != null)
- {
- if (successful == 'true')
- {
- if (url != null && url.length > 0)
- {
- msgElem.innerHTML = "" + url + "";
- }
- }
- else
- {
- if (reason != null && reason.length > 0)
- {
- msgElem.innerHTML = "" + reason + "";
- }
- }
- }
- }
- }
-
- // there are still outstanding deployments, refresh in a few seconds
- setTimeout('Alfresco.monitor.retrieveDeploymentStatus()', this.pollingFreq);
- }
- },
-
- handleError: function(ajaxResponse)
- {
- handleErrorYahoo(ajaxResponse.status + ' ' + ajaxResponse.statusText);
- }
-}
-
-var deployActionButtonPressed = false;
-
-Alfresco.checkDeployConfigPage = function()
-{
- // make sure the relevant fields are visible for current deploy type
- Alfresco.deployServerTypeChanged();
-
- // make sure add/edit button is disabled if no host has been supplied
- Alfresco.checkDeployConfigButtonState();
-
- var button = document.getElementById('wizard:wizard-body:deployActionButton');
- if (button != null)
- {
- document.getElementById("wizard").onsubmit = Alfresco.validateDeployConfig;
- button.onclick = function() {deployActionButtonPressed = true; clear_wizard();}
- document.getElementById('wizard:wizard-body:deployServerHost').focus();
- }
-
- // if a scroll to id has been set, scroll there
- if (window.SCROLL_TO_SERVER_CONFIG_ID)
- {
- Alfresco.scrollToEditServer(SCROLL_TO_SERVER_CONFIG_ID);
- }
-}
-
-Alfresco.checkDeployConfigButtonState = function()
-{
- var host = document.getElementById('wizard:wizard-body:deployServerHost');
- var port = document.getElementById('wizard:wizard-body:deployServerPort');
- var button = document.getElementById('wizard:wizard-body:deployActionButton');
-
- if (button != null)
- {
- var buttonState = false;
-
- if (port != null && port.value.length == 0)
- {
- buttonState = true;
- }
- if (host != null && host.value.length == 0)
- {
- buttonState = true;
- }
- button.disabled = buttonState;
- }
-}
-
-Alfresco.validateDeployConfig = function()
-{
- if (deployActionButtonPressed)
- {
- deployActionButtonPressed = false;
-
- var valid = true;
- var port = document.getElementById('wizard:wizard-body:deployServerPort');
- var localhost = document.getElementById('wizard:wizard-body:deployServerHost');
-
- if (port != null && port.value.length > 0)
- {
- if (isNaN(port.value))
- {
- alert(MSG_PORT_MUST_BE_NUMBER);
- port.focus();
- valid = false;
- }
- }
-
- if (localhost != null && localhost.value.length > 0)
- {
- if(!localhost.value.test(/^[A-Za-z0-9][A-Za-z0-9\.\-]*$/))
- {
- alert(MSG_HOST_WRONG_FORMAT);
- localhost.focus();
- valid = false;
- }
- }
-
- return valid;
- }
- else
- {
- return true;
- }
-}
-
-Alfresco.deployServerTypeChanged = function()
-{
- var typeDropDown = document.getElementById('wizard:wizard-body:deployServerType');
- if (typeDropDown != null)
- {
- var selectedType = typeDropDown.options[typeDropDown.selectedIndex].value;
-
- // show or hide the label
- var autoDeployLabel = document.getElementById('autoDeployLabel');
- if (autoDeployLabel != null)
- {
- if (selectedType == "test")
- {
- autoDeployLabel.style.display = "none";
- }
- else
- {
- autoDeployLabel.style.display = "inline";
- }
- }
-
- // show or hide the checkbox
- var autoDeployCheckbox = document.getElementById('wizard:wizard-body:autoDeployCheckbox');
- if (autoDeployCheckbox != null)
- {
- if (selectedType == "test")
- {
- autoDeployCheckbox.style.display = "none";
- }
- else
- {
- autoDeployCheckbox.style.display = "inline";
- }
- }
- }
-}
-
-Alfresco.scrollToEditServer = function(serverId)
-{
- var serverForm = document.getElementById(serverId);
- if (serverForm != null)
- {
- var yPos = serverForm.offsetTop;
- window.scrollTo(0, yPos);
- }
-}
-
-Alfresco.toggleDeploymentDetails = function(icon, server)
-{
- var currentState = icon.className;
- var detailsDiv = document.getElementById(server + '-deployment-details');
- if (currentState == 'collapsed')
- {
- icon.src = getContextPath() + '/images/icons/expanded.gif';
- icon.className = 'expanded';
- if (detailsDiv != null)
- {
- detailsDiv.style.display = 'block';
- }
- }
- else
- {
- icon.src = getContextPath() + '/images/icons/collapsed.gif';
- icon.className = 'collapsed';
- if (detailsDiv != null)
- {
- detailsDiv.style.display = 'none';
- }
- }
-}
-
diff --git a/source/web/scripts/ajax/doclist.js b/source/web/scripts/ajax/doclist.js
deleted file mode 100644
index 0291bbbba5..0000000000
--- a/source/web/scripts/ajax/doclist.js
+++ /dev/null
@@ -1,847 +0,0 @@
-var MyDocs = {
- IMG_SMALL: 16,
- IMG_LARGE: 64,
- ANIM_LENGTH: 300,
- DETAIL_MARGIN: 8,
- TITLE_FONT_SIZE: 18,
- RESOURCE_PANEL_HEIGHT: 180,
- OVERLAY_OPACITY: 0.8,
- ServiceContext: null,
- Filter: null,
- Home: null,
- Query: null,
- FxAll: null,
-
- start: function()
- {
- if ($('docPanel'))
- {
- $('docPanelOverlay').setStyle('opacity', 0);
- // show AJAX loading overlay
- $('docPanelOverlayAjax').setStyle('display', 'block');
- $('docPanel').setStyle('visibility', 'hidden');
-
- var messagePanel = $('docMessagePanel');
- messagePanel.setStyle('opacity', 0);
- messagePanel.setStyle('display', 'block');
-
- // fire off the ajax request to populate the doc list - the 'doclistpanel' webscript
- // is responsible for rendering just the contents of the main panel div
- YAHOO.util.Connect.asyncRequest(
- "GET",
- MyDocs.ServiceContext + '/ui/doclistpanel?f=' + MyDocs.Filter + '&q=' + MyDocs.Query + (MyDocs.Home != null ? '&h=' + MyDocs.Home : ''),
- {
- success: function(response)
- {
- // push the response into the doc panel div
- $('docPanel').setHTML(response.responseText);
-
- // extract the count value from a hidden div and display it
- $('docCount').setHTML($('docCountValue').innerHTML);
-
- // wire up all the events and animations
- MyDocs.init();
- },
- failure: function(response)
- {
- // display the error
- $('docPanel').setHTML($('displayTheError').innerHTML);
-
- // hide the ajax wait panel and show the main doc panel
- $('docPanelOverlayAjax').setStyle('display', 'none');
- $('docPanel').setStyle('visibility', 'visible');
- }
- }
- );
- }
- },
-
- init: function()
- {
- MyDocs.parseDocPanels();
- // hide the ajax wait panel and show the main doc panel
- $('docPanel').setStyle('visibility', 'visible');
- $('docPanelOverlayAjax').setStyle('display', 'none');
-
- if (MyDocs.postInit)
- {
- MyDocs.postInit();
- MyDocs.postInit = null;
- }
- },
-
- parseDocPanels: function()
- {
- MyDocs.FxAll = [];
-
- var docs = $$('#docPanel .docRow');
- var items = $$('#docPanel .docItem');
- var infos = $$('#docPanel .docInfo');
- var details = $$('#docPanel .docDetail');
- var icons = $$('#docPanel .docIcon');
- var imgs = $$('#docPanel .docIconImage');
- var imgs64 = $$('#docPanel .docIconImage64');
- var resources = $$('#docPanel .docResource');
- var fxItem = new Fx.Elements(items, {wait: false, duration: MyDocs.ANIM_LENGTH, transition: Fx.Transitions.linear});
- var fxDetail = new Fx.Elements(details, {wait: false, duration: MyDocs.ANIM_LENGTH, transition: Fx.Transitions.linear});
- var fxInfo = new Fx.Elements(infos, {wait: false, duration: MyDocs.ANIM_LENGTH, transition: Fx.Transitions.linear});
- var fxIcon = new Fx.Elements(icons, {wait: false, duration: MyDocs.ANIM_LENGTH, transition: Fx.Transitions.linear});
- var fxResource = new Fx.Elements(resources,
- {
- wait: false,
- duration: 500,
- transition: Fx.Transitions.linear,
- onComplete: function()
- {
- this.elements.each(function(resource, i)
- {
- if (resource.parentNode.isOpen)
- {
- if (resource.isLoaded)
- {
- resource.needsOverflow = false;
- var elePrev = $E('.docPreview', resource)
- if (elePrev)
- {
- elePrev.setStyle('overflow', 'auto');
- }
- }
- else
- {
- // defer style change to ajax complete event
- resource.needsOverflow = true;
- }
- }
- });
- }
- });
- var fxImage = new Fx.Elements(imgs,
- {
- wait: false,
- duration: MyDocs.ANIM_LENGTH,
- transition: Fx.Transitions.linear,
- onComplete: function()
- {
- this.elements.each(function(img, i)
- {
- img.src = (img.getStyle('height').toInt() == MyDocs.IMG_SMALL) ? img.defSrc : img.bigSrc;
- });
- }
- });
-
- // Store all the effects so we can globally stop them later
- MyDocs.FxAll.push(fxItem);
- MyDocs.FxAll.push(fxDetail);
- MyDocs.FxAll.push(fxInfo);
- MyDocs.FxAll.push(fxIcon);
- MyDocs.FxAll.push(fxResource);
- MyDocs.FxAll.push(fxImage);
-
- docs.each(function(doc, i)
- {
- var item = items[i],
- info = infos[i],
- detail = details[i],
- img = imgs[i],
- resource = resources[i];
-
- // animated elements defaults
- item.defMarginLeft = item.getStyle('margin-left').toInt();
- item.defFontSize = item.getStyle('font-size').toInt();;
- item.defBColor = (item.getStyle('background-color') == 'transparent') ? '' : item.getStyle('background-color');
- detail.defHeight = 1;
- detail.setStyle('opacity', 0);
- detail.setStyle('display', 'block');
- detail.setStyle('height', detail.defHeight);
- info.setStyle('opacity', 0);
- // NOTE: special check for images without special 64x64 pixel version
- if (imgs64[i].src.lastIndexOf("_default.png") != -1)
- {
- img.src = img.src.replace(new RegExp("/filetypes/.*\.png$"), "/filetypes/_default.png");
- }
- img.defSrc = img.src;
- img.bigSrc = imgs64[i].src;
- resource.defHeight = 1;
- resource.setStyle('height', resource.defHeight);
-
- // register 'mouseenter' (subclassed mouseover) event for each doc
- doc.addEvent('mouseenter', function(e)
- {
- var animItem = {},
- animDetail = {},
- animInfo = {};
- animImage = {};
- // highlight the item title
- doc.addClass('docItemSelected');
- // move the item title to the right
- animItem[i] = {
- 'margin-left': [item.getStyle('margin-left').toInt(), MyDocs.DETAIL_MARGIN],
- 'font-size': [item.getStyle('font-size').toInt(), MyDocs.TITLE_FONT_SIZE]
- };
- // fade in the info button
- animInfo[i] = {'opacity': [info.getStyle('opacity'), 1]};
- // slide and fade in the details panel
- animDetail[i] = {
- 'height': [detail.getStyle('height').toInt(), detail.defHeight + MyDocs.IMG_LARGE],
- 'opacity': [detail.getStyle('opacity'), 1]
- };
- // grow the doctype image
- animImage[i] = {
- 'height': [img.getStyle('height').toInt(), MyDocs.IMG_LARGE],
- 'width': [img.getStyle('width').toInt(), MyDocs.IMG_LARGE]
- };
- img.src = img.bigSrc;
-
- // reset styles on all other docs
- docs.each(function(otherDoc, j)
- {
- var otherItem = items[j];
- var otherInfo = infos[j];
- var otherDetail = details[j];
- var otherImg = imgs[j];
- if ((otherDoc != doc) && (!otherDoc.isOpen))
- {
- // reset selected class?
- otherDoc.removeClass('docItemSelected');
- // move the title back to the left?
- var ml = otherItem.getStyle('margin-left').toInt();
- if (ml != otherItem.defMarginLeft)
- {
- animItem[j] = {
- 'margin-left': [ml, otherItem.defMarginLeft],
- 'font-size': [otherItem.getStyle('font-size').toInt(), otherItem.defFontSize]
- };
- }
- // does this doc detail panel need resetting back to it's default height?
- var h = otherDetail.getStyle('height').toInt();
- if (h != otherDetail.defHeight)
- {
- animDetail[j] = {
- 'height': [h, otherDetail.defHeight],
- 'opacity': [otherDetail.getStyle('opacity'), 0]};
- }
- // does the info button need fading out
- var o = otherInfo.getStyle('opacity');
- if (o != 0)
- {
- animInfo[j] = {'opacity': [o, 0]};
- }
- // does the image need shrinking?
- var ih = otherImg.getStyle('height').toInt();
- if (ih != MyDocs.IMG_SMALL)
- {
- animImage[j] = {
- 'height': [ih, MyDocs.IMG_SMALL],
- 'width': [ih, MyDocs.IMG_SMALL]
- };
- }
- }
- });
- fxItem.start(animItem);
- fxDetail.start(animDetail);
- fxInfo.start(animInfo);
- fxImage.start(animImage);
- });
-
- doc.addEvent('click', function(e)
- {
- var animItem = {},
- animDetail = {},
- animInfo = {};
- animImage = {},
- animResource = {},
- resourceHeight = resource.getStyle('height').toInt();
-
- // make sure item title is highlighted
- doc.addClass('docItemSelected');
-
- if (!doc.isOpen)
- {
- doc.addClass("docItemSelectedOpen");
-
- if (!resource.isLoaded)
- {
- // fire off the ajax request to get the resources for this task
- YAHOO.util.Connect.asyncRequest(
- "POST",
- getContextPath() + '/ajax/invoke/NodeInfoBean.sendNodeInfo',
- {
- success: function(response)
- {
- // remove the ajax waiting animation class
- resource.removeClass("doclistAjaxWait");
- // populate the resource div with the result
- resource.innerHTML = response.responseText;
- // flag this resource as loaded
- resource.isLoaded = true;
- // deferred from transition complete event
- if (resource.needsOverflow)
- {
- var elePrev = $E('.docPreview', resource)
- if (elePrev)
- {
- elePrev.setStyle('overflow', 'auto');
- }
- }
- },
- failure: function(response)
- {
- resource.innerHTML = $('previewCurrentlyUnavailable').innerHTML;
- },
- argument: [resource]
- },
- "noderef=" + resource.id + "&template=doclist_preview_panel.ftl"
- );
- }
-
- // open up this document's resources
- // flag this document as open
- doc.isOpen = true;
-
- // slide and fade in the resources panel
- animResource[i] = {
- 'height': [resourceHeight, resource.defHeight + MyDocs.RESOURCE_PANEL_HEIGHT],
- 'opacity': [resource.getStyle('opacity'), 1]};
-
- // close other open documents and toggle this one if it's already open
- docs.each(function(otherDoc, j)
- {
- var otherResource = resources[j],
- otherItem = items[j],
- otherInfo = infos[j],
- otherDetail = details[j],
- otherImg = imgs[j];
-
- if (otherDoc == doc)
- {
- // continue animations that may have been going on before the click
- // move the item title to the right
- animItem[j] = {
- 'margin-left': [otherItem.getStyle('margin-left').toInt(), MyDocs.DETAIL_MARGIN],
- 'font-size': [otherItem.getStyle('font-size').toInt(), MyDocs.TITLE_FONT_SIZE]
- };
- // fade in the info button
- animInfo[j] = {'opacity': [otherInfo.getStyle('opacity'), 1]};
- // slide and fade in the details panel
- animDetail[j] = {
- 'height': [otherDetail.getStyle('height').toInt(), otherDetail.defHeight + MyDocs.IMG_LARGE],
- 'opacity': [otherDetail.getStyle('opacity'), 1]
- };
- // grow the doctype image
- animImage[j] = {
- 'height': [otherImg.getStyle('height').toInt(), MyDocs.IMG_LARGE],
- 'width': [otherImg.getStyle('width').toInt(), MyDocs.IMG_LARGE]
- };
- }
- else
- {
- // close any other open documents
- otherDoc.isOpen = false;
-
- // reset selected class?
- otherDoc.removeClass('docItemSelected');
- otherDoc.removeClass("docItemSelectedOpen");
-
- // move the title back to the left?
- var ml = otherItem.getStyle('margin-left').toInt();
- if (ml != otherItem.defMarginLeft)
- {
- animItem[j] = {
- 'margin-left': [ml, otherItem.defMarginLeft],
- 'font-size': [otherItem.getStyle('font-size').toInt(), otherItem.defFontSize]
- };
- }
- // does this doc detail panel need resetting back to it's default height?
- var h = otherDetail.getStyle('height').toInt();
- if (h != otherDetail.defHeight)
- {
- animDetail[j] = {
- 'height': [h, otherDetail.defHeight],
- 'opacity': [otherDetail.getStyle('opacity'), 0]};
- }
- // does the info button need fading out
- var o = otherInfo.getStyle('opacity');
- if (o != 0)
- {
- animInfo[j] = {'opacity': [o, 0]};
- }
- // does the image need shrinking?
- var ih = otherImg.getStyle('height').toInt();
- if (ih != MyDocs.IMG_SMALL)
- {
- animImage[j] = {
- 'height': [ih, MyDocs.IMG_SMALL],
- 'width': [ih, MyDocs.IMG_SMALL]
- };
- }
-
- // does this document resource panel need resetting back to it's default height?
- var otherHeight = otherResource.getStyle('height').toInt();
- if (otherHeight != otherResource.defHeight)
- {
- animResource[j] = {
- 'height': [otherHeight, otherResource.defHeight],
- 'opacity': [otherResource.getStyle('opacity'), 0]};
- }
-
- var otherMeta = $E('.docPreview', otherResource)
- if (otherMeta)
- {
- otherMeta.setStyle('overflow', 'hidden');
- }
- }
- });
- }
- else
- {
- // close this document panel
- // flag this document as closed
- doc.isOpen = false;
-
- doc.removeClass("docItemSelectedOpen");
-
- // reset resource panel back to it's default height
- animResource[i] = {
- 'height': [resourceHeight, resource.defHeight],
- 'opacity': [resource.getStyle('opacity'), 0]};
-
- var elePrev = $E('.docPreview', resource)
- if (elePrev)
- {
- elePrev.setStyle('overflow', 'hidden');
- }
- }
- fxResource.start(animResource);
- fxItem.start(animItem);
- fxDetail.start(animDetail);
- fxInfo.start(animInfo);
- fxImage.start(animImage);
- });
- });
-
- $('docPanel').addEvent('mouseleave', function(e)
- {
- // handler for mouse leaving the entire doc panel
- var animItem = {},
- animDetail = {},
- animInfo = {},
- animImage = {};
-
- docs.each(function(doc, i)
- {
- var item = items[i],
- detail = details[i],
- info = infos[i],
- img = imgs[i];
-
- if (doc.isOpen)
- {
- // continue animations that may have been going on before the click
- // move the item title to the right
- animItem[i] = {
- 'margin-left': [item.getStyle('margin-left').toInt(), MyDocs.DETAIL_MARGIN],
- 'font-size': [item.getStyle('font-size').toInt(), MyDocs.TITLE_FONT_SIZE]
- };
- // fade in the info button
- animInfo[i] = {'opacity': [info.getStyle('opacity'), 1]};
- // slide and fade in the details panel
- animDetail[i] = {
- 'height': [detail.getStyle('height').toInt(), detail.defHeight + MyDocs.IMG_LARGE],
- 'opacity': [detail.getStyle('opacity'), 1]
- };
- // grow the doctype image
- animImage[i] = {
- 'height': [img.getStyle('height').toInt(), MyDocs.IMG_LARGE],
- 'width': [img.getStyle('width').toInt(), MyDocs.IMG_LARGE]
- };
- }
- else
- {
- doc.removeClass('docItemSelected');
- animItem[i] = {
- 'margin-left': [item.getStyle('margin-left').toInt(), item.defMarginLeft],
- 'font-size': [item.getStyle('font-size').toInt(), item.defFontSize]
- };
- animDetail[i] = {
- 'height': [detail.getStyle('height').toInt(), detail.defHeight],
- 'opacity': [detail.getStyle('opacity'), 0]
- };
- animInfo[i] = {'opacity': [infos[i].getStyle('opacity'), 0]};
- animImage[i] = {
- 'height': [img.getStyle('height').toInt(), MyDocs.IMG_SMALL],
- 'width': [img.getStyle('width').toInt(), MyDocs.IMG_SMALL]
- };
- }
- });
- fxItem.start(animItem);
- fxDetail.start(animDetail);
- fxInfo.start(animInfo);
- fxImage.start(animImage);
- });
- },
-
- /**
- * Delete a document item
- */
- deleteItem: function(name, noderef)
- {
- if (confirm("Are you sure you want to delete: " + name))
- {
- MyDocs.applyModal();
-
- // ajax call to delete item
- YAHOO.util.Connect.asyncRequest(
- "POST",
- getContextPath() + '/ajax/invoke/PortletActionsBean.deleteItem',
- {
- success: function(response)
- {
- if (response.responseText.indexOf("OK:") == 0)
- {
- MyDocs.refreshList();
- }
- else
- {
- alert("Error during delete of item: " + response.responseText);
- MyDocs.removeModal();
- }
- },
- failure: function(response)
- {
- alert("Error during delete of item: " + response.responseText);
- MyDocs.removeModal();
- }
- },
- "noderef=" + noderef
- );
- }
- },
-
- /**
- * Check Out a document item
- */
- checkoutItem: function(name, noderef)
- {
- MyDocs.applyModal();
-
- // ajax call to delete item
- YAHOO.util.Connect.asyncRequest(
- "POST",
- getContextPath() + '/ajax/invoke/PortletActionsBean.checkoutItem',
- {
- success: function(response)
- {
- if (response.responseText.indexOf("OK:") == 0)
- {
- MyDocs.refreshList();
- MyDocs.displayMessage(name);
- }
- else
- {
- alert("Error during check out of item: " + response.responseText);
- MyDocs.removeModal();
- }
- },
- failure: function(response)
- {
- alert("Error during check out of item: " + response.responseText);
- MyDocs.removeModal();
- }
- },
- "noderef=" + noderef
- );
- },
-
- /**
- * Check In a document item
- */
- checkinItem: function(name, noderef)
- {
- MyDocs.applyModal();
-
- // ajax call to delete item
- YAHOO.util.Connect.asyncRequest(
- "POST",
- getContextPath() + '/ajax/invoke/PortletActionsBean.checkinItem',
- {
- success: function(response)
- {
- if (response.responseText.indexOf("OK:") == 0)
- {
- MyDocs.refreshList();
- MyDocs.displayMessage(name);
- }
- else
- {
- alert("Error during check in of item: " + response.responseText);
- MyDocs.removeModal();
- }
- },
- failure: function(response)
- {
- alert("Error during check in of item: " + response.responseText);
- MyDocs.removeModal();
- }
- },
- "noderef=" + noderef
- );
- },
-
- /**
- * Display the Update File pop-up panel
- */
- updateItem: function(actionEl, nodeRef)
- {
- if (this.popupPanel != null) return;
-
- this.fxOverlay = $("docPanelOverlay").effect('opacity', {duration: MyDocs.ANIM_LENGTH});
-
- var panel = $("docUpdatePanel");
- panel.setStyle("opacity", 0);
- panel.setStyle("display", "inline");
- Alfresco.Dom.smartAlignElement(panel, actionEl);
-
- // Generate a file upload element
- // To perform the actual upload, the element is moved to a hidden iframe
- // from which the upload is performed - this is required as javascript cannot
- // set the important properties on a file upload element for security reasons.
- //
- if (this.fileInput == null)
- {
- var fileInput = $(document.createElement("input"));
- fileInput.type = "file";
- fileInput.name = "_upload";
- fileInput.size = "35";
- fileInput.contentEditable = false;
- fileInput.setStyle("width", "100%");
- fileInput.addClass("docFormItem");
- fileInput.injectTop(panel);
- this.fileInput = fileInput;
- }
-
- var anim = new Fx.Styles(panel, {duration: MyDocs.ANIM_LENGTH, transition: Fx.Transitions.linear});
- anim.start({'opacity': 1});
- this.fxOverlay.start(MyDocs.OVERLAY_OPACITY);
-
- this.popupPanel = panel;
- this.popupPanel.nodeRef = nodeRef;
- },
-
- /**
- * OK button click handler for the Update Content pop-up panel
- */
- updateOK: function(actionEl)
- {
- if (this.fileInput.value.length > 0)
- {
- // call the upload help to perform the upload
- handleUploadHelper(this.fileInput,
- "1", // TODO: generate unique ID? (parent space noderef?)
- MyDocs.updateCompleteHandler,
- getContextPath(),
- "/ajax/invoke/ContentUpdateBean.updateFile",
- {nodeRef: this.popupPanel.nodeRef});
- this.fileInput = null;
- }
- this.closePopupPanel();
- },
-
- /**
- * Callback function executed after the upload of a new file is complete
- */
- updateCompleteHandler: function(id, path, fileName, error)
- {
- if (error == null)
- {
- MyDocs.refreshList();
- }
- else
- {
- alert("ERROR: " + error);
- }
- if (this.fxOverlay)
- {
- this.fxOverlay.start(0);
- }
- },
-
- /**
- * Cancel button click handler for various pop-up panels
- */
- closePopupPanel: function()
- {
- if (this.popupPanel != null)
- {
- this.popupPanel.setStyle("display", "none");
- this.popupPanel = null;
- }
- if (this.fxOverlay)
- {
- this.fxOverlay.start(0);
- }
- },
-
- /**
- * Update the view filter
- */
- filter: function(filter)
- {
- if (this.popupPanel != null) return;
-
- $$('.docfilterLink').each(function(filterLink, i)
- {
- if (i == filter)
- {
- filterLink.addClass("docfilterLinkSelected");
- }
- else
- {
- filterLink.removeClass("docfilterLinkSelected");
- }
- });
- MyDocs.Filter = filter;
- MyDocs.refreshList(true);
- },
-
- /**
- * Refresh the main data list contents within the docPanel container
- */
- refreshList: function(reopenActive)
- {
- // do we want to remember which panel was open?
- if (reopenActive)
- {
- // do we have an open panel?
- var openPanel = $E('#docPanel .docItemSelected');
- var openPanelId = null;
- if (openPanel != null)
- {
- openPanelId = openPanel.id;
- // Re-open the panel if the id still exists
- MyDocs.postInit = function()
- {
- if ($(openPanelId))
- {
- $(openPanelId).fireEvent("click");
-
- // scroll the open panel into view
- var fxScroll = new Fx.Scroll($('docPanel'),
- {
- duration: MyDocs.ANIM_LENGTH,
- transition: Fx.Transitions.linear
- });
- fxScroll.toElement($(openPanelId));
- }
- }
- }
- }
-
- // empty the main panel div and restart by reloading the panel contents
- var docPanel = $('docPanel');
- docPanel.setStyle('visibility', 'hidden');
- // show the ajax wait panel
- $('docPanelOverlayAjax').setStyle('display', 'block');
-
- // Stop all the animation effects
- MyDocs.FxAll.each(function(fx, i)
- {
- fx.stop();
- });
-
- docPanel.empty();
- docPanel.removeEvents('mouseleave');
- MyDocs.start();
- },
-
- /**
- * Apply a semi-transparent modal overlay skin to the main panel area
- */
- applyModal: function()
- {
- $("docPanelOverlay").setStyle('opacity', MyDocs.OVERLAY_OPACITY);
- },
-
- /**
- * Remove the modal overlay skin from the main panel area
- */
- removeModal: function()
- {
- $("docPanelOverlay").setStyle('opacity', 0);
- },
-
- /**
- * Called when the Edit Details dialog returns
- */
- editDetailsCallback: function()
- {
- // Refresh the inner panel
- MyDocs.refreshList(true);
- },
-
- /**
- * Display a message bubble of helpful info to the user. Calling this function in quick
- * succession will cause previous message to be lost as the new ones are displayed.
- *
- * @param message Message text to display
- */
- displayMessage: function(message)
- {
- var panel = $("docMessagePanel");
- if ($defined(panel.timeout))
- {
- clearTimeout(panel.timeout);
- panel.timeout = null;
- }
-
- panel.setStyle("opacity", 0);
- panel.setStyle("margin-top", -60);
-
- panel.getChildren()[1].setHTML(message);
-
- // reset the close box animation by refreshing the image source
- $("docMessagePanelCloseImage").src = getContextPath() + "/images/icons/close_portlet_animation.gif";
-
- panel.fxMessage = new Fx.Styles(panel,
- {
- duration: 1000,
- transition: Fx.Transitions.sineInOut
- });
- panel.fxMessage.start({'margin-top': -40, 'opacity': [0, 0.75]});
-
-
- panel.timeout = window.setTimeout(this.fadeOutMessage, 9000);
- },
-
- /**
- * Timer callback function to fade out the message panel
- */
- fadeOutMessage: function()
- {
- var panel = $("docMessagePanel");
- panel.timeout = null;
-
- var fxMessage = new Fx.Styles(panel,
- {
- duration: 1000,
- transition: Fx.Transitions.sineInOut
- });
- fxMessage.start({'margin-top': -60, 'opacity': [0]});
- },
-
- /**
- * Close the message panel immediately when the user clicks the close icon
- */
- closeMessage: function()
- {
- var panel = $("docMessagePanel");
- if ($defined(panel.timeout))
- {
- clearTimeout(panel.timeout);
- panel.timeout = null;
- }
- panel.fxMessage.stop();
- panel.setStyle("opacity", 0);
- }
-};
-
-window.addEvent('load', MyDocs.start);
\ No newline at end of file
diff --git a/source/web/scripts/ajax/dojo/dojo.js b/source/web/scripts/ajax/dojo/dojo.js
deleted file mode 100644
index 5fea346ec7..0000000000
--- a/source/web/scripts/ajax/dojo/dojo.js
+++ /dev/null
@@ -1,6414 +0,0 @@
-/*
- Copyright (c) 2004-2006, The Dojo Foundation
- All Rights Reserved.
-
- Licensed under the Academic Free License version 2.1 or above OR the
- modified BSD license. For more information on Dojo licensing, see:
-
- http://dojotoolkit.org/community/licensing.shtml
-*/
-
-/*
- This is a compiled version of Dojo, built for deployment and not for
- development. To get an editable version, please visit:
-
- http://dojotoolkit.org
-
- for documentation and information on getting the source.
-*/
-
-if(typeof dojo=="undefined"){
-var dj_global=this;
-var dj_currentContext=this;
-function dj_undef(_1,_2){
-return (typeof (_2||dj_currentContext)[_1]=="undefined");
-}
-if(dj_undef("djConfig",this)){
-var djConfig={};
-}
-if(dj_undef("dojo",this)){
-var dojo={};
-}
-dojo.global=function(){
-return dj_currentContext;
-};
-dojo.locale=djConfig.locale;
-dojo.version={major:0,minor:4,patch:1,flag:"",revision:Number("$Rev: 6824 $".match(/[0-9]+/)[0]),toString:function(){
-with(dojo.version){
-return major+"."+minor+"."+patch+flag+" ("+revision+")";
-}
-}};
-dojo.evalProp=function(_3,_4,_5){
-if((!_4)||(!_3)){
-return undefined;
-}
-if(!dj_undef(_3,_4)){
-return _4[_3];
-}
-return (_5?(_4[_3]={}):undefined);
-};
-dojo.parseObjPath=function(_6,_7,_8){
-var _9=(_7||dojo.global());
-var _a=_6.split(".");
-var _b=_a.pop();
-for(var i=0,l=_a.length;i1){
-dh.modulesLoadedListeners.push(function(){
-obj[_3d]();
-});
-}
-}
-if(dh.post_load_&&dh.inFlightCount==0&&!dh.loadNotifying){
-dh.callLoaded();
-}
-};
-dojo.addOnUnload=function(obj,_40){
-var dh=dojo.hostenv;
-if(arguments.length==1){
-dh.unloadListeners.push(obj);
-}else{
-if(arguments.length>1){
-dh.unloadListeners.push(function(){
-obj[_40]();
-});
-}
-}
-};
-dojo.hostenv.modulesLoaded=function(){
-if(this.post_load_){
-return;
-}
-if(this.loadUriStack.length==0&&this.getTextStack.length==0){
-if(this.inFlightCount>0){
-dojo.debug("files still in flight!");
-return;
-}
-dojo.hostenv.callLoaded();
-}
-};
-dojo.hostenv.callLoaded=function(){
-if(typeof setTimeout=="object"){
-setTimeout("dojo.hostenv.loaded();",0);
-}else{
-dojo.hostenv.loaded();
-}
-};
-dojo.hostenv.getModuleSymbols=function(_42){
-var _43=_42.split(".");
-for(var i=_43.length;i>0;i--){
-var _45=_43.slice(0,i).join(".");
-if((i==1)&&!this.moduleHasPrefix(_45)){
-_43[0]="../"+_43[0];
-}else{
-var _46=this.getModulePrefix(_45);
-if(_46!=_45){
-_43.splice(0,i,_46);
-break;
-}
-}
-}
-return _43;
-};
-dojo.hostenv._global_omit_module_check=false;
-dojo.hostenv.loadModule=function(_47,_48,_49){
-if(!_47){
-return;
-}
-_49=this._global_omit_module_check||_49;
-var _4a=this.findModule(_47,false);
-if(_4a){
-return _4a;
-}
-if(dj_undef(_47,this.loading_modules_)){
-this.addedToLoadingCount.push(_47);
-}
-this.loading_modules_[_47]=1;
-var _4b=_47.replace(/\./g,"/")+".js";
-var _4c=_47.split(".");
-var _4d=this.getModuleSymbols(_47);
-var _4e=((_4d[0].charAt(0)!="/")&&!_4d[0].match(/^\w+:/));
-var _4f=_4d[_4d.length-1];
-var ok;
-if(_4f=="*"){
-_47=_4c.slice(0,-1).join(".");
-while(_4d.length){
-_4d.pop();
-_4d.push(this.pkgFileName);
-_4b=_4d.join("/")+".js";
-if(_4e&&_4b.charAt(0)=="/"){
-_4b=_4b.slice(1);
-}
-ok=this.loadPath(_4b,!_49?_47:null);
-if(ok){
-break;
-}
-_4d.pop();
-}
-}else{
-_4b=_4d.join("/")+".js";
-_47=_4c.join(".");
-var _51=!_49?_47:null;
-ok=this.loadPath(_4b,_51);
-if(!ok&&!_48){
-_4d.pop();
-while(_4d.length){
-_4b=_4d.join("/")+".js";
-ok=this.loadPath(_4b,_51);
-if(ok){
-break;
-}
-_4d.pop();
-_4b=_4d.join("/")+"/"+this.pkgFileName+".js";
-if(_4e&&_4b.charAt(0)=="/"){
-_4b=_4b.slice(1);
-}
-ok=this.loadPath(_4b,_51);
-if(ok){
-break;
-}
-}
-}
-if(!ok&&!_49){
-dojo.raise("Could not load '"+_47+"'; last tried '"+_4b+"'");
-}
-}
-if(!_49&&!this["isXDomain"]){
-_4a=this.findModule(_47,false);
-if(!_4a){
-dojo.raise("symbol '"+_47+"' is not defined after loading '"+_4b+"'");
-}
-}
-return _4a;
-};
-dojo.hostenv.startPackage=function(_52){
-var _53=String(_52);
-var _54=_53;
-var _55=_52.split(/\./);
-if(_55[_55.length-1]=="*"){
-_55.pop();
-_54=_55.join(".");
-}
-var _56=dojo.evalObjPath(_54,true);
-this.loaded_modules_[_53]=_56;
-this.loaded_modules_[_54]=_56;
-return _56;
-};
-dojo.hostenv.findModule=function(_57,_58){
-var lmn=String(_57);
-if(this.loaded_modules_[lmn]){
-return this.loaded_modules_[lmn];
-}
-if(_58){
-dojo.raise("no loaded module named '"+_57+"'");
-}
-return null;
-};
-dojo.kwCompoundRequire=function(_5a){
-var _5b=_5a["common"]||[];
-var _5c=_5a[dojo.hostenv.name_]?_5b.concat(_5a[dojo.hostenv.name_]||[]):_5b.concat(_5a["default"]||[]);
-for(var x=0;x<_5c.length;x++){
-var _5e=_5c[x];
-if(_5e.constructor==Array){
-dojo.hostenv.loadModule.apply(dojo.hostenv,_5e);
-}else{
-dojo.hostenv.loadModule(_5e);
-}
-}
-};
-dojo.require=function(_5f){
-dojo.hostenv.loadModule.apply(dojo.hostenv,arguments);
-};
-dojo.requireIf=function(_60,_61){
-var _62=arguments[0];
-if((_62===true)||(_62=="common")||(_62&&dojo.render[_62].capable)){
-var _63=[];
-for(var i=1;i0;i--){
-_74.push(_73.slice(0,i).join("-"));
-}
-_74.push(false);
-if(_71){
-_74.reverse();
-}
-for(var j=_74.length-1;j>=0;j--){
-var loc=_74[j]||"ROOT";
-var _78=_72(loc);
-if(_78){
-break;
-}
-}
-};
-dojo.hostenv.localesGenerated;
-dojo.hostenv.registerNlsPrefix=function(){
-dojo.registerModulePath("nls","nls");
-};
-dojo.hostenv.preloadLocalizations=function(){
-if(dojo.hostenv.localesGenerated){
-dojo.hostenv.registerNlsPrefix();
-function preload(_79){
-_79=dojo.hostenv.normalizeLocale(_79);
-dojo.hostenv.searchLocalePath(_79,true,function(loc){
-for(var i=0;i_84.length){
-_84=_85[i];
-}
-}
-}
-if(!_84){
-_84="ROOT";
-}
-}
-var _87=_81?_84:_82;
-var _88=dojo.hostenv.findModule(_83);
-var _89=null;
-if(_88){
-if(djConfig.localizationComplete&&_88._built){
-return;
-}
-var _8a=_87.replace("-","_");
-var _8b=_83+"."+_8a;
-_89=dojo.hostenv.findModule(_8b);
-}
-if(!_89){
-_88=dojo.hostenv.startPackage(_83);
-var _8c=dojo.hostenv.getModuleSymbols(_7e);
-var _8d=_8c.concat("nls").join("/");
-var _8e;
-dojo.hostenv.searchLocalePath(_87,_81,function(loc){
-var _90=loc.replace("-","_");
-var _91=_83+"."+_90;
-var _92=false;
-if(!dojo.hostenv.findModule(_91)){
-dojo.hostenv.startPackage(_91);
-var _93=[_8d];
-if(loc!="ROOT"){
-_93.push(loc);
-}
-_93.push(_7f);
-var _94=_93.join("/")+".js";
-_92=dojo.hostenv.loadPath(_94,null,function(_95){
-var _96=function(){
-};
-_96.prototype=_8e;
-_88[_90]=new _96();
-for(var j in _95){
-_88[_90][j]=_95[j];
-}
-});
-}else{
-_92=true;
-}
-if(_92&&_88[_90]){
-_8e=_88[_90];
-}else{
-_88[_90]=_8e;
-}
-if(_81){
-return true;
-}
-});
-}
-if(_81&&_82!=_84){
-_88[_82.replace("-","_")]=_88[_84.replace("-","_")];
-}
-};
-(function(){
-var _98=djConfig.extraLocale;
-if(_98){
-if(!_98 instanceof Array){
-_98=[_98];
-}
-var req=dojo.requireLocalization;
-dojo.requireLocalization=function(m,b,_9c,_9d){
-req(m,b,_9c,_9d);
-if(_9c){
-return;
-}
-for(var i=0;i<_98.length;i++){
-req(m,b,_98[i],_9d);
-}
-};
-}
-})();
-}
-if(typeof window!="undefined"){
-(function(){
-if(djConfig.allowQueryConfig){
-var _9f=document.location.toString();
-var _a0=_9f.split("?",2);
-if(_a0.length>1){
-var _a1=_a0[1];
-var _a2=_a1.split("&");
-for(var x in _a2){
-var sp=_a2[x].split("=");
-if((sp[0].length>9)&&(sp[0].substr(0,9)=="djConfig.")){
-var opt=sp[0].substr(9);
-try{
-djConfig[opt]=eval(sp[1]);
-}
-catch(e){
-djConfig[opt]=sp[1];
-}
-}
-}
-}
-}
-if(((djConfig["baseScriptUri"]=="")||(djConfig["baseRelativePath"]==""))&&(document&&document.getElementsByTagName)){
-var _a6=document.getElementsByTagName("script");
-var _a7=/(__package__|dojo|bootstrap1)\.js([\?\.]|$)/i;
-for(var i=0;i<_a6.length;i++){
-var src=_a6[i].getAttribute("src");
-if(!src){
-continue;
-}
-var m=src.match(_a7);
-if(m){
-var _ab=src.substring(0,m.index);
-if(src.indexOf("bootstrap1")>-1){
-_ab+="../";
-}
-if(!this["djConfig"]){
-djConfig={};
-}
-if(djConfig["baseScriptUri"]==""){
-djConfig["baseScriptUri"]=_ab;
-}
-if(djConfig["baseRelativePath"]==""){
-djConfig["baseRelativePath"]=_ab;
-}
-break;
-}
-}
-}
-var dr=dojo.render;
-var drh=dojo.render.html;
-var drs=dojo.render.svg;
-var dua=(drh.UA=navigator.userAgent);
-var dav=(drh.AV=navigator.appVersion);
-var t=true;
-var f=false;
-drh.capable=t;
-drh.support.builtin=t;
-dr.ver=parseFloat(drh.AV);
-dr.os.mac=dav.indexOf("Macintosh")>=0;
-dr.os.win=dav.indexOf("Windows")>=0;
-dr.os.linux=dav.indexOf("X11")>=0;
-drh.opera=dua.indexOf("Opera")>=0;
-drh.khtml=(dav.indexOf("Konqueror")>=0)||(dav.indexOf("Safari")>=0);
-drh.safari=dav.indexOf("Safari")>=0;
-var _b3=dua.indexOf("Gecko");
-drh.mozilla=drh.moz=(_b3>=0)&&(!drh.khtml);
-if(drh.mozilla){
-drh.geckoVersion=dua.substring(_b3+6,_b3+14);
-}
-drh.ie=(document.all)&&(!drh.opera);
-drh.ie50=drh.ie&&dav.indexOf("MSIE 5.0")>=0;
-drh.ie55=drh.ie&&dav.indexOf("MSIE 5.5")>=0;
-drh.ie60=drh.ie&&dav.indexOf("MSIE 6.0")>=0;
-drh.ie70=drh.ie&&dav.indexOf("MSIE 7.0")>=0;
-var cm=document["compatMode"];
-drh.quirks=(cm=="BackCompat")||(cm=="QuirksMode")||drh.ie55||drh.ie50;
-dojo.locale=dojo.locale||(drh.ie?navigator.userLanguage:navigator.language).toLowerCase();
-dr.vml.capable=drh.ie;
-drs.capable=f;
-drs.support.plugin=f;
-drs.support.builtin=f;
-var _b5=window["document"];
-var tdi=_b5["implementation"];
-if((tdi)&&(tdi["hasFeature"])&&(tdi.hasFeature("org.w3c.dom.svg","1.0"))){
-drs.capable=t;
-drs.support.builtin=t;
-drs.support.plugin=f;
-}
-if(drh.safari){
-var tmp=dua.split("AppleWebKit/")[1];
-var ver=parseFloat(tmp.split(" ")[0]);
-if(ver>=420){
-drs.capable=t;
-drs.support.builtin=t;
-drs.support.plugin=f;
-}
-}else{
-}
-})();
-dojo.hostenv.startPackage("dojo.hostenv");
-dojo.render.name=dojo.hostenv.name_="browser";
-dojo.hostenv.searchIds=[];
-dojo.hostenv._XMLHTTP_PROGIDS=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"];
-dojo.hostenv.getXmlhttpObject=function(){
-var _b9=null;
-var _ba=null;
-try{
-_b9=new XMLHttpRequest();
-}
-catch(e){
-}
-if(!_b9){
-for(var i=0;i<3;++i){
-var _bc=dojo.hostenv._XMLHTTP_PROGIDS[i];
-try{
-_b9=new ActiveXObject(_bc);
-}
-catch(e){
-_ba=e;
-}
-if(_b9){
-dojo.hostenv._XMLHTTP_PROGIDS=[_bc];
-break;
-}
-}
-}
-if(!_b9){
-return dojo.raise("XMLHTTP not available",_ba);
-}
-return _b9;
-};
-dojo.hostenv._blockAsync=false;
-dojo.hostenv.getText=function(uri,_be,_bf){
-if(!_be){
-this._blockAsync=true;
-}
-var _c0=this.getXmlhttpObject();
-function isDocumentOk(_c1){
-var _c2=_c1["status"];
-return Boolean((!_c2)||((200<=_c2)&&(300>_c2))||(_c2==304));
-}
-if(_be){
-var _c3=this,_c4=null,gbl=dojo.global();
-var xhr=dojo.evalObjPath("dojo.io.XMLHTTPTransport");
-_c0.onreadystatechange=function(){
-if(_c4){
-gbl.clearTimeout(_c4);
-_c4=null;
-}
-if(_c3._blockAsync||(xhr&&xhr._blockAsync)){
-_c4=gbl.setTimeout(function(){
-_c0.onreadystatechange.apply(this);
-},10);
-}else{
-if(4==_c0.readyState){
-if(isDocumentOk(_c0)){
-_be(_c0.responseText);
-}
-}
-}
-};
-}
-_c0.open("GET",uri,_be?true:false);
-try{
-_c0.send(null);
-if(_be){
-return null;
-}
-if(!isDocumentOk(_c0)){
-var err=Error("Unable to load "+uri+" status:"+_c0.status);
-err.status=_c0.status;
-err.responseText=_c0.responseText;
-throw err;
-}
-}
-catch(e){
-this._blockAsync=false;
-if((_bf)&&(!_be)){
-return null;
-}else{
-throw e;
-}
-}
-this._blockAsync=false;
-return _c0.responseText;
-};
-dojo.hostenv.defaultDebugContainerId="dojoDebug";
-dojo.hostenv._println_buffer=[];
-dojo.hostenv._println_safe=false;
-dojo.hostenv.println=function(_c8){
-if(!dojo.hostenv._println_safe){
-dojo.hostenv._println_buffer.push(_c8);
-}else{
-try{
-var _c9=document.getElementById(djConfig.debugContainerId?djConfig.debugContainerId:dojo.hostenv.defaultDebugContainerId);
-if(!_c9){
-_c9=dojo.body();
-}
-var div=document.createElement("div");
-div.appendChild(document.createTextNode(_c8));
-_c9.appendChild(div);
-}
-catch(e){
-try{
-document.write("
"+_c8+"
");
-}
-catch(e2){
-window.status=_c8;
-}
-}
-}
-};
-dojo.addOnLoad(function(){
-dojo.hostenv._println_safe=true;
-while(dojo.hostenv._println_buffer.length>0){
-dojo.hostenv.println(dojo.hostenv._println_buffer.shift());
-}
-});
-function dj_addNodeEvtHdlr(_cb,_cc,fp){
-var _ce=_cb["on"+_cc]||function(){
-};
-_cb["on"+_cc]=function(){
-fp.apply(_cb,arguments);
-_ce.apply(_cb,arguments);
-};
-return true;
-}
-function dj_load_init(e){
-var _d0=(e&&e.type)?e.type.toLowerCase():"load";
-if(arguments.callee.initialized||(_d0!="domcontentloaded"&&_d0!="load")){
-return;
-}
-arguments.callee.initialized=true;
-if(typeof (_timer)!="undefined"){
-clearInterval(_timer);
-delete _timer;
-}
-var _d1=function(){
-if(dojo.render.html.ie){
-dojo.hostenv.makeWidgets();
-}
-};
-if(dojo.hostenv.inFlightCount==0){
-_d1();
-dojo.hostenv.modulesLoaded();
-}else{
-dojo.hostenv.modulesLoadedListeners.unshift(_d1);
-}
-}
-if(document.addEventListener){
-if(dojo.render.html.opera||(dojo.render.html.moz&&!djConfig.delayMozLoadingFix)){
-document.addEventListener("DOMContentLoaded",dj_load_init,null);
-}
-window.addEventListener("load",dj_load_init,null);
-}
-if(dojo.render.html.ie&&dojo.render.os.win){
-document.attachEvent("onreadystatechange",function(e){
-if(document.readyState=="complete"){
-dj_load_init();
-}
-});
-}
-if(/(WebKit|khtml)/i.test(navigator.userAgent)){
-var _timer=setInterval(function(){
-if(/loaded|complete/.test(document.readyState)){
-dj_load_init();
-}
-},10);
-}
-if(dojo.render.html.ie){
-dj_addNodeEvtHdlr(window,"beforeunload",function(){
-dojo.hostenv._unloading=true;
-window.setTimeout(function(){
-dojo.hostenv._unloading=false;
-},0);
-});
-}
-dj_addNodeEvtHdlr(window,"unload",function(){
-dojo.hostenv.unloaded();
-if((!dojo.render.html.ie)||(dojo.render.html.ie&&dojo.hostenv._unloading)){
-dojo.hostenv.unloaded();
-}
-});
-dojo.hostenv.makeWidgets=function(){
-var _d3=[];
-if(djConfig.searchIds&&djConfig.searchIds.length>0){
-_d3=_d3.concat(djConfig.searchIds);
-}
-if(dojo.hostenv.searchIds&&dojo.hostenv.searchIds.length>0){
-_d3=_d3.concat(dojo.hostenv.searchIds);
-}
-if((djConfig.parseWidgets)||(_d3.length>0)){
-if(dojo.evalObjPath("dojo.widget.Parse")){
-var _d4=new dojo.xml.Parse();
-if(_d3.length>0){
-for(var x=0;x<_d3.length;x++){
-var _d6=document.getElementById(_d3[x]);
-if(!_d6){
-continue;
-}
-var _d7=_d4.parseElement(_d6,null,true);
-dojo.widget.getParser().createComponents(_d7);
-}
-}else{
-if(djConfig.parseWidgets){
-var _d7=_d4.parseElement(dojo.body(),null,true);
-dojo.widget.getParser().createComponents(_d7);
-}
-}
-}
-}
-};
-dojo.addOnLoad(function(){
-if(!dojo.render.html.ie){
-dojo.hostenv.makeWidgets();
-}
-});
-try{
-if(dojo.render.html.ie){
-document.namespaces.add("v","urn:schemas-microsoft-com:vml");
-document.createStyleSheet().addRule("v\\:*","behavior:url(#default#VML)");
-}
-}
-catch(e){
-}
-dojo.hostenv.writeIncludes=function(){
-};
-if(!dj_undef("document",this)){
-dj_currentDocument=this.document;
-}
-dojo.doc=function(){
-return dj_currentDocument;
-};
-dojo.body=function(){
-return dojo.doc().body||dojo.doc().getElementsByTagName("body")[0];
-};
-dojo.byId=function(id,doc){
-if((id)&&((typeof id=="string")||(id instanceof String))){
-if(!doc){
-doc=dj_currentDocument;
-}
-var ele=doc.getElementById(id);
-if(ele&&(ele.id!=id)&&doc.all){
-ele=null;
-eles=doc.all[id];
-if(eles){
-if(eles.length){
-for(var i=0;i");
-}
-catch(e){
-var _f5=document.createElement("script");
-_f5.src=_f4;
-document.getElementsByTagName("head")[0].appendChild(_f5);
-}
-}
-}
-})();
-dojo.provide("dojo.string.common");
-dojo.string.trim=function(str,wh){
-if(!str.replace){
-return str;
-}
-if(!str.length){
-return str;
-}
-var re=(wh>0)?(/^\s+/):(wh<0)?(/\s+$/):(/^\s+|\s+$/g);
-return str.replace(re,"");
-};
-dojo.string.trimStart=function(str){
-return dojo.string.trim(str,1);
-};
-dojo.string.trimEnd=function(str){
-return dojo.string.trim(str,-1);
-};
-dojo.string.repeat=function(str,_fc,_fd){
-var out="";
-for(var i=0;i<_fc;i++){
-out+=str;
-if(_fd&&i<_fc-1){
-out+=_fd;
-}
-}
-return out;
-};
-dojo.string.pad=function(str,len,c,dir){
-var out=String(str);
-if(!c){
-c="0";
-}
-if(!dir){
-dir=1;
-}
-while(out.length0){
-out=c+out;
-}else{
-out+=c;
-}
-}
-return out;
-};
-dojo.string.padLeft=function(str,len,c){
-return dojo.string.pad(str,len,c,1);
-};
-dojo.string.padRight=function(str,len,c){
-return dojo.string.pad(str,len,c,-1);
-};
-dojo.provide("dojo.string");
-dojo.provide("dojo.lang.common");
-dojo.lang.inherits=function(_10b,_10c){
-if(!dojo.lang.isFunction(_10c)){
-dojo.raise("dojo.inherits: superclass argument ["+_10c+"] must be a function (subclass: ["+_10b+"']");
-}
-_10b.prototype=new _10c();
-_10b.prototype.constructor=_10b;
-_10b.superclass=_10c.prototype;
-_10b["super"]=_10c.prototype;
-};
-dojo.lang._mixin=function(obj,_10e){
-var tobj={};
-for(var x in _10e){
-if((typeof tobj[x]=="undefined")||(tobj[x]!=_10e[x])){
-obj[x]=_10e[x];
-}
-}
-if(dojo.render.html.ie&&(typeof (_10e["toString"])=="function")&&(_10e["toString"]!=obj["toString"])&&(_10e["toString"]!=tobj["toString"])){
-obj.toString=_10e.toString;
-}
-return obj;
-};
-dojo.lang.mixin=function(obj,_112){
-for(var i=1,l=arguments.length;i-1;
-};
-dojo.lang.isObject=function(it){
-if(typeof it=="undefined"){
-return false;
-}
-return (typeof it=="object"||it===null||dojo.lang.isArray(it)||dojo.lang.isFunction(it));
-};
-dojo.lang.isArray=function(it){
-return (it&&it instanceof Array||typeof it=="array");
-};
-dojo.lang.isArrayLike=function(it){
-if((!it)||(dojo.lang.isUndefined(it))){
-return false;
-}
-if(dojo.lang.isString(it)){
-return false;
-}
-if(dojo.lang.isFunction(it)){
-return false;
-}
-if(dojo.lang.isArray(it)){
-return true;
-}
-if((it.tagName)&&(it.tagName.toLowerCase()=="form")){
-return false;
-}
-if(dojo.lang.isNumber(it.length)&&isFinite(it.length)){
-return true;
-}
-return false;
-};
-dojo.lang.isFunction=function(it){
-return (it instanceof Function||typeof it=="function");
-};
-(function(){
-if((dojo.render.html.capable)&&(dojo.render.html["safari"])){
-dojo.lang.isFunction=function(it){
-if((typeof (it)=="function")&&(it=="[object NodeList]")){
-return false;
-}
-return (it instanceof Function||typeof it=="function");
-};
-}
-})();
-dojo.lang.isString=function(it){
-return (typeof it=="string"||it instanceof String);
-};
-dojo.lang.isAlien=function(it){
-if(!it){
-return false;
-}
-return !dojo.lang.isFunction(it)&&/\{\s*\[native code\]\s*\}/.test(String(it));
-};
-dojo.lang.isBoolean=function(it){
-return (it instanceof Boolean||typeof it=="boolean");
-};
-dojo.lang.isNumber=function(it){
-return (it instanceof Number||typeof it=="number");
-};
-dojo.lang.isUndefined=function(it){
-return ((typeof (it)=="undefined")&&(it==undefined));
-};
-dojo.provide("dojo.lang.extras");
-dojo.lang.setTimeout=function(func,_132){
-var _133=window,_134=2;
-if(!dojo.lang.isFunction(func)){
-_133=func;
-func=_132;
-_132=arguments[2];
-_134++;
-}
-if(dojo.lang.isString(func)){
-func=_133[func];
-}
-var args=[];
-for(var i=_134;i=4){
-this.changeUrl=_14a;
-}
-}
-};
-dojo.lang.extend(dojo.io.Request,{url:"",mimetype:"text/plain",method:"GET",content:undefined,transport:undefined,changeUrl:undefined,formNode:undefined,sync:false,bindSuccess:false,useCache:false,preventCache:false,load:function(type,data,_14d,_14e){
-},error:function(type,_150,_151,_152){
-},timeout:function(type,_154,_155,_156){
-},handle:function(type,data,_159,_15a){
-},timeoutSeconds:0,abort:function(){
-},fromKwArgs:function(_15b){
-if(_15b["url"]){
-_15b.url=_15b.url.toString();
-}
-if(_15b["formNode"]){
-_15b.formNode=dojo.byId(_15b.formNode);
-}
-if(!_15b["method"]&&_15b["formNode"]&&_15b["formNode"].method){
-_15b.method=_15b["formNode"].method;
-}
-if(!_15b["handle"]&&_15b["handler"]){
-_15b.handle=_15b.handler;
-}
-if(!_15b["load"]&&_15b["loaded"]){
-_15b.load=_15b.loaded;
-}
-if(!_15b["changeUrl"]&&_15b["changeURL"]){
-_15b.changeUrl=_15b.changeURL;
-}
-_15b.encoding=dojo.lang.firstValued(_15b["encoding"],djConfig["bindEncoding"],"");
-_15b.sendTransport=dojo.lang.firstValued(_15b["sendTransport"],djConfig["ioSendTransport"],false);
-var _15c=dojo.lang.isFunction;
-for(var x=0;x0){
-dojo.io.bind(dojo.io._bindQueue.shift());
-}else{
-dojo.io._queueBindInFlight=false;
-}
-}
-};
-dojo.io._bindQueue=[];
-dojo.io._queueBindInFlight=false;
-dojo.io.argsFromMap=function(map,_170,last){
-var enc=/utf/i.test(_170||"")?encodeURIComponent:dojo.string.encodeAscii;
-var _173=[];
-var _174=new Object();
-for(var name in map){
-var _176=function(elt){
-var val=enc(name)+"="+enc(elt);
-_173[(last==name)?"push":"unshift"](val);
-};
-if(!_174[name]){
-var _179=map[name];
-if(dojo.lang.isArray(_179)){
-dojo.lang.forEach(_179,_176);
-}else{
-_176(_179);
-}
-}
-}
-return _173.join("&");
-};
-dojo.io.setIFrameSrc=function(_17a,src,_17c){
-try{
-var r=dojo.render.html;
-if(!_17c){
-if(r.safari){
-_17a.location=src;
-}else{
-frames[_17a.name].location=src;
-}
-}else{
-var idoc;
-if(r.ie){
-idoc=_17a.contentWindow.document;
-}else{
-if(r.safari){
-idoc=_17a.document;
-}else{
-idoc=_17a.contentWindow;
-}
-}
-if(!idoc){
-_17a.location=src;
-return;
-}else{
-idoc.location.replace(src);
-}
-}
-}
-catch(e){
-dojo.debug(e);
-dojo.debug("setIFrameSrc: "+e);
-}
-};
-dojo.provide("dojo.lang.array");
-dojo.lang.mixin(dojo.lang,{has:function(obj,name){
-try{
-return typeof obj[name]!="undefined";
-}
-catch(e){
-return false;
-}
-},isEmpty:function(obj){
-if(dojo.lang.isObject(obj)){
-var tmp={};
-var _183=0;
-for(var x in obj){
-if(obj[x]&&(!tmp[x])){
-_183++;
-break;
-}
-}
-return _183==0;
-}else{
-if(dojo.lang.isArrayLike(obj)||dojo.lang.isString(obj)){
-return obj.length==0;
-}
-}
-},map:function(arr,obj,_187){
-var _188=dojo.lang.isString(arr);
-if(_188){
-arr=arr.split("");
-}
-if(dojo.lang.isFunction(obj)&&(!_187)){
-_187=obj;
-obj=dj_global;
-}else{
-if(dojo.lang.isFunction(obj)&&_187){
-var _189=obj;
-obj=_187;
-_187=_189;
-}
-}
-if(Array.map){
-var _18a=Array.map(arr,_187,obj);
-}else{
-var _18a=[];
-for(var i=0;i=3){
-dojo.raise("thisObject doesn't exist!");
-}
-_1a8=dj_global;
-}
-_1aa=[];
-for(var i=0;i/gm,">").replace(/"/gm,""");
-if(!_1e9){
-str=str.replace(/'/gm,"'");
-}
-return str;
-};
-dojo.string.escapeSql=function(str){
-return str.replace(/'/gm,"''");
-};
-dojo.string.escapeRegExp=function(str){
-return str.replace(/\\/gm,"\\\\").replace(/([\f\b\n\t\r[\^$|?*+(){}])/gm,"\\$1");
-};
-dojo.string.escapeJavaScript=function(str){
-return str.replace(/(["'\f\b\n\t\r])/gm,"\\$1");
-};
-dojo.string.escapeString=function(str){
-return ("\""+str.replace(/(["\\])/g,"\\$1")+"\"").replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r");
-};
-dojo.string.summary=function(str,len){
-if(!len||str.length<=len){
-return str;
-}
-return str.substring(0,len).replace(/\.+$/,"")+"...";
-};
-dojo.string.endsWith=function(str,end,_1f2){
-if(_1f2){
-str=str.toLowerCase();
-end=end.toLowerCase();
-}
-if((str.length-end.length)<0){
-return false;
-}
-return str.lastIndexOf(end)==str.length-end.length;
-};
-dojo.string.endsWithAny=function(str){
-for(var i=1;i-1){
-return true;
-}
-}
-return false;
-};
-dojo.string.normalizeNewlines=function(text,_1fd){
-if(_1fd=="\n"){
-text=text.replace(/\r\n/g,"\n");
-text=text.replace(/\r/g,"\n");
-}else{
-if(_1fd=="\r"){
-text=text.replace(/\r\n/g,"\r");
-text=text.replace(/\n/g,"\r");
-}else{
-text=text.replace(/([^\r])\n/g,"$1\r\n").replace(/\r([^\n])/g,"\r\n$1");
-}
-}
-return text;
-};
-dojo.string.splitEscaped=function(str,_1ff){
-var _200=[];
-for(var i=0,_202=0;i0){
-return _225[0];
-}
-node=node.parentNode;
-}
-if(_224){
-return null;
-}
-return _225;
-};
-dojo.dom.getAncestorsByTag=function(node,tag,_229){
-tag=tag.toLowerCase();
-return dojo.dom.getAncestors(node,function(el){
-return ((el.tagName)&&(el.tagName.toLowerCase()==tag));
-},_229);
-};
-dojo.dom.getFirstAncestorByTag=function(node,tag){
-return dojo.dom.getAncestorsByTag(node,tag,true);
-};
-dojo.dom.isDescendantOf=function(node,_22e,_22f){
-if(_22f&&node){
-node=node.parentNode;
-}
-while(node){
-if(node==_22e){
-return true;
-}
-node=node.parentNode;
-}
-return false;
-};
-dojo.dom.innerXML=function(node){
-if(node.innerXML){
-return node.innerXML;
-}else{
-if(node.xml){
-return node.xml;
-}else{
-if(typeof XMLSerializer!="undefined"){
-return (new XMLSerializer()).serializeToString(node);
-}
-}
-}
-};
-dojo.dom.createDocument=function(){
-var doc=null;
-var _232=dojo.doc();
-if(!dj_undef("ActiveXObject")){
-var _233=["MSXML2","Microsoft","MSXML","MSXML3"];
-for(var i=0;i<_233.length;i++){
-try{
-doc=new ActiveXObject(_233[i]+".XMLDOM");
-}
-catch(e){
-}
-if(doc){
-break;
-}
-}
-}else{
-if((_232.implementation)&&(_232.implementation.createDocument)){
-doc=_232.implementation.createDocument("","",null);
-}
-}
-return doc;
-};
-dojo.dom.createDocumentFromText=function(str,_236){
-if(!_236){
-_236="text/xml";
-}
-if(!dj_undef("DOMParser")){
-var _237=new DOMParser();
-return _237.parseFromString(str,_236);
-}else{
-if(!dj_undef("ActiveXObject")){
-var _238=dojo.dom.createDocument();
-if(_238){
-_238.async=false;
-_238.loadXML(str);
-return _238;
-}else{
-dojo.debug("toXml didn't work?");
-}
-}else{
-var _239=dojo.doc();
-if(_239.createElement){
-var tmp=_239.createElement("xml");
-tmp.innerHTML=str;
-if(_239.implementation&&_239.implementation.createDocument){
-var _23b=_239.implementation.createDocument("foo","",null);
-for(var i=0;i1){
-var _250=dojo.doc();
-dojo.dom.replaceChildren(node,_250.createTextNode(text));
-return text;
-}else{
-if(node.textContent!=undefined){
-return node.textContent;
-}
-var _251="";
-if(node==null){
-return _251;
-}
-for(var i=0;i");
-}
-}
-catch(e){
-}
-if(dojo.render.html.opera){
-dojo.debug("Opera is not supported with dojo.undo.browser, so back/forward detection will not work.");
-}
-dojo.undo.browser={initialHref:(!dj_undef("window"))?window.location.href:"",initialHash:(!dj_undef("window"))?window.location.hash:"",moveForward:false,historyStack:[],forwardStack:[],historyIframe:null,bookmarkAnchor:null,locationTimer:null,setInitialState:function(args){
-this.initialState=this._createState(this.initialHref,args,this.initialHash);
-},addToHistory:function(args){
-this.forwardStack=[];
-var hash=null;
-var url=null;
-if(!this.historyIframe){
-this.historyIframe=window.frames["djhistory"];
-}
-if(!this.bookmarkAnchor){
-this.bookmarkAnchor=document.createElement("a");
-dojo.body().appendChild(this.bookmarkAnchor);
-this.bookmarkAnchor.style.display="none";
-}
-if(args["changeUrl"]){
-hash="#"+((args["changeUrl"]!==true)?args["changeUrl"]:(new Date()).getTime());
-if(this.historyStack.length==0&&this.initialState.urlHash==hash){
-this.initialState=this._createState(url,args,hash);
-return;
-}else{
-if(this.historyStack.length>0&&this.historyStack[this.historyStack.length-1].urlHash==hash){
-this.historyStack[this.historyStack.length-1]=this._createState(url,args,hash);
-return;
-}
-}
-this.changingUrl=true;
-setTimeout("window.location.href = '"+hash+"'; dojo.undo.browser.changingUrl = false;",1);
-this.bookmarkAnchor.href=hash;
-if(dojo.render.html.ie){
-url=this._loadIframeHistory();
-var _260=args["back"]||args["backButton"]||args["handle"];
-var tcb=function(_262){
-if(window.location.hash!=""){
-setTimeout("window.location.href = '"+hash+"';",1);
-}
-_260.apply(this,[_262]);
-};
-if(args["back"]){
-args.back=tcb;
-}else{
-if(args["backButton"]){
-args.backButton=tcb;
-}else{
-if(args["handle"]){
-args.handle=tcb;
-}
-}
-}
-var _263=args["forward"]||args["forwardButton"]||args["handle"];
-var tfw=function(_265){
-if(window.location.hash!=""){
-window.location.href=hash;
-}
-if(_263){
-_263.apply(this,[_265]);
-}
-};
-if(args["forward"]){
-args.forward=tfw;
-}else{
-if(args["forwardButton"]){
-args.forwardButton=tfw;
-}else{
-if(args["handle"]){
-args.handle=tfw;
-}
-}
-}
-}else{
-if(dojo.render.html.moz){
-if(!this.locationTimer){
-this.locationTimer=setInterval("dojo.undo.browser.checkLocation();",200);
-}
-}
-}
-}else{
-url=this._loadIframeHistory();
-}
-this.historyStack.push(this._createState(url,args,hash));
-},checkLocation:function(){
-if(!this.changingUrl){
-var hsl=this.historyStack.length;
-if((window.location.hash==this.initialHash||window.location.href==this.initialHref)&&(hsl==1)){
-this.handleBackButton();
-return;
-}
-if(this.forwardStack.length>0){
-if(this.forwardStack[this.forwardStack.length-1].urlHash==window.location.hash){
-this.handleForwardButton();
-return;
-}
-}
-if((hsl>=2)&&(this.historyStack[hsl-2])){
-if(this.historyStack[hsl-2].urlHash==window.location.hash){
-this.handleBackButton();
-return;
-}
-}
-}
-},iframeLoaded:function(evt,_268){
-if(!dojo.render.html.opera){
-var _269=this._getUrlQuery(_268.href);
-if(_269==null){
-if(this.historyStack.length==1){
-this.handleBackButton();
-}
-return;
-}
-if(this.moveForward){
-this.moveForward=false;
-return;
-}
-if(this.historyStack.length>=2&&_269==this._getUrlQuery(this.historyStack[this.historyStack.length-2].url)){
-this.handleBackButton();
-}else{
-if(this.forwardStack.length>0&&_269==this._getUrlQuery(this.forwardStack[this.forwardStack.length-1].url)){
-this.handleForwardButton();
-}
-}
-}
-},handleBackButton:function(){
-var _26a=this.historyStack.pop();
-if(!_26a){
-return;
-}
-var last=this.historyStack[this.historyStack.length-1];
-if(!last&&this.historyStack.length==0){
-last=this.initialState;
-}
-if(last){
-if(last.kwArgs["back"]){
-last.kwArgs["back"]();
-}else{
-if(last.kwArgs["backButton"]){
-last.kwArgs["backButton"]();
-}else{
-if(last.kwArgs["handle"]){
-last.kwArgs.handle("back");
-}
-}
-}
-}
-this.forwardStack.push(_26a);
-},handleForwardButton:function(){
-var last=this.forwardStack.pop();
-if(!last){
-return;
-}
-if(last.kwArgs["forward"]){
-last.kwArgs.forward();
-}else{
-if(last.kwArgs["forwardButton"]){
-last.kwArgs.forwardButton();
-}else{
-if(last.kwArgs["handle"]){
-last.kwArgs.handle("forward");
-}
-}
-}
-this.historyStack.push(last);
-},_createState:function(url,args,hash){
-return {"url":url,"kwArgs":args,"urlHash":hash};
-},_getUrlQuery:function(url){
-var _271=url.split("?");
-if(_271.length<2){
-return null;
-}else{
-return _271[1];
-}
-},_loadIframeHistory:function(){
-var url=dojo.hostenv.getBaseScriptUri()+"iframe_history.html?"+(new Date()).getTime();
-this.moveForward=true;
-dojo.io.setIFrameSrc(this.historyIframe,url,false);
-return url;
-}};
-dojo.provide("dojo.io.BrowserIO");
-if(!dj_undef("window")){
-dojo.io.checkChildrenForFile=function(node){
-var _274=false;
-var _275=node.getElementsByTagName("input");
-dojo.lang.forEach(_275,function(_276){
-if(_274){
-return;
-}
-if(_276.getAttribute("type")=="file"){
-_274=true;
-}
-});
-return _274;
-};
-dojo.io.formHasFile=function(_277){
-return dojo.io.checkChildrenForFile(_277);
-};
-dojo.io.updateNode=function(node,_279){
-node=dojo.byId(node);
-var args=_279;
-if(dojo.lang.isString(_279)){
-args={url:_279};
-}
-args.mimetype="text/html";
-args.load=function(t,d,e){
-while(node.firstChild){
-dojo.dom.destroyNode(node.firstChild);
-}
-node.innerHTML=d;
-};
-dojo.io.bind(args);
-};
-dojo.io.formFilter=function(node){
-var type=(node.type||"").toLowerCase();
-return !node.disabled&&node.name&&!dojo.lang.inArray(["file","submit","image","reset","button"],type);
-};
-dojo.io.encodeForm=function(_280,_281,_282){
-if((!_280)||(!_280.tagName)||(!_280.tagName.toLowerCase()=="form")){
-dojo.raise("Attempted to encode a non-form element.");
-}
-if(!_282){
-_282=dojo.io.formFilter;
-}
-var enc=/utf/i.test(_281||"")?encodeURIComponent:dojo.string.encodeAscii;
-var _284=[];
-for(var i=0;i<_280.elements.length;i++){
-var elm=_280.elements[i];
-if(!elm||elm.tagName.toLowerCase()=="fieldset"||!_282(elm)){
-continue;
-}
-var name=enc(elm.name);
-var type=elm.type.toLowerCase();
-if(type=="select-multiple"){
-for(var j=0;j=200)&&(http.status<300))||(http.status==304)||(location.protocol=="file:"&&(http.status==0||http.status==undefined))||(location.protocol=="chrome:"&&(http.status==0||http.status==undefined))){
-var ret;
-if(_2ab.method.toLowerCase()=="head"){
-var _2b1=http.getAllResponseHeaders();
-ret={};
-ret.toString=function(){
-return _2b1;
-};
-var _2b2=_2b1.split(/[\r\n]+/g);
-for(var i=0;i<_2b2.length;i++){
-var pair=_2b2[i].match(/^([^:]+)\s*:\s*(.+)$/i);
-if(pair){
-ret[pair[1]]=pair[2];
-}
-}
-}else{
-if(_2ab.mimetype=="text/javascript"){
-try{
-ret=dj_eval(http.responseText);
-}
-catch(e){
-dojo.debug(e);
-dojo.debug(http.responseText);
-ret=null;
-}
-}else{
-if(_2ab.mimetype=="text/json"||_2ab.mimetype=="application/json"){
-try{
-ret=dj_eval("("+http.responseText+")");
-}
-catch(e){
-dojo.debug(e);
-dojo.debug(http.responseText);
-ret=false;
-}
-}else{
-if((_2ab.mimetype=="application/xml")||(_2ab.mimetype=="text/xml")){
-ret=http.responseXML;
-if(!ret||typeof ret=="string"||!http.getResponseHeader("Content-Type")){
-ret=dojo.dom.createDocumentFromText(http.responseText);
-}
-}else{
-ret=http.responseText;
-}
-}
-}
-}
-if(_2af){
-addToCache(url,_2ae,_2ab.method,http);
-}
-_2ab[(typeof _2ab.load=="function")?"load":"handle"]("load",ret,http,_2ab);
-}else{
-var _2b5=new dojo.io.Error("XMLHttpTransport Error: "+http.status+" "+http.statusText);
-_2ab[(typeof _2ab.error=="function")?"error":"handle"]("error",_2b5,http,_2ab);
-}
-}
-function setHeaders(http,_2b7){
-if(_2b7["headers"]){
-for(var _2b8 in _2b7["headers"]){
-if(_2b8.toLowerCase()=="content-type"&&!_2b7["contentType"]){
-_2b7["contentType"]=_2b7["headers"][_2b8];
-}else{
-http.setRequestHeader(_2b8,_2b7["headers"][_2b8]);
-}
-}
-}
-}
-this.inFlight=[];
-this.inFlightTimer=null;
-this.startWatchingInFlight=function(){
-if(!this.inFlightTimer){
-this.inFlightTimer=setTimeout("dojo.io.XMLHTTPTransport.watchInFlight();",10);
-}
-};
-this.watchInFlight=function(){
-var now=null;
-if(!dojo.hostenv._blockAsync&&!_29f._blockAsync){
-for(var x=this.inFlight.length-1;x>=0;x--){
-try{
-var tif=this.inFlight[x];
-if(!tif||tif.http._aborted||!tif.http.readyState){
-this.inFlight.splice(x,1);
-continue;
-}
-if(4==tif.http.readyState){
-this.inFlight.splice(x,1);
-doLoad(tif.req,tif.http,tif.url,tif.query,tif.useCache);
-}else{
-if(tif.startTime){
-if(!now){
-now=(new Date()).getTime();
-}
-if(tif.startTime+(tif.req.timeoutSeconds*1000)-1){
-dojo.debug("Warning: dojo.io.bind: stripping hash values from url:",url);
-url=url.split("#")[0];
-}
-if(_2bf["file"]){
-_2bf.method="post";
-}
-if(!_2bf["method"]){
-_2bf.method="get";
-}
-if(_2bf.method.toLowerCase()=="get"){
-_2bf.multipart=false;
-}else{
-if(_2bf["file"]){
-_2bf.multipart=true;
-}else{
-if(!_2bf["multipart"]){
-_2bf.multipart=false;
-}
-}
-}
-if(_2bf["backButton"]||_2bf["back"]||_2bf["changeUrl"]){
-dojo.undo.browser.addToHistory(_2bf);
-}
-var _2c4=_2bf["content"]||{};
-if(_2bf.sendTransport){
-_2c4["dojo.transport"]="xmlhttp";
-}
-do{
-if(_2bf.postContent){
-_2c1=_2bf.postContent;
-break;
-}
-if(_2c4){
-_2c1+=dojo.io.argsFromMap(_2c4,_2bf.encoding);
-}
-if(_2bf.method.toLowerCase()=="get"||!_2bf.multipart){
-break;
-}
-var t=[];
-if(_2c1.length){
-var q=_2c1.split("&");
-for(var i=0;i-1?"&":"?")+_2c1;
-}
-if(_2cb){
-_2d1+=(dojo.string.endsWithAny(_2d1,"?","&")?"":(_2d1.indexOf("?")>-1?"&":"?"))+"dojo.preventCache="+new Date().valueOf();
-}
-if(!_2bf.user){
-http.open(_2bf.method.toUpperCase(),_2d1,_2ca);
-}else{
-http.open(_2bf.method.toUpperCase(),_2d1,_2ca,_2bf.user,_2bf.password);
-}
-setHeaders(http,_2bf);
-try{
-http.send(null);
-}
-catch(e){
-if(typeof http.abort=="function"){
-http.abort();
-}
-doLoad(_2bf,{status:404},url,_2c1,_2cc);
-}
-}
-if(!_2ca){
-doLoad(_2bf,http,url,_2c1,_2cc);
-_29f._blockAsync=false;
-}
-_2bf.abort=function(){
-try{
-http._aborted=true;
-}
-catch(e){
-}
-return http.abort();
-};
-return;
-};
-dojo.io.transports.addTransport("XMLHTTPTransport");
-};
-}
-dojo.provide("dojo.io.cookie");
-dojo.io.cookie.setCookie=function(name,_2d3,days,path,_2d6,_2d7){
-var _2d8=-1;
-if((typeof days=="number")&&(days>=0)){
-var d=new Date();
-d.setTime(d.getTime()+(days*24*60*60*1000));
-_2d8=d.toGMTString();
-}
-_2d3=escape(_2d3);
-document.cookie=name+"="+_2d3+";"+(_2d8!=-1?" expires="+_2d8+";":"")+(path?"path="+path:"")+(_2d6?"; domain="+_2d6:"")+(_2d7?"; secure":"");
-};
-dojo.io.cookie.set=dojo.io.cookie.setCookie;
-dojo.io.cookie.getCookie=function(name){
-var idx=document.cookie.lastIndexOf(name+"=");
-if(idx==-1){
-return null;
-}
-var _2dc=document.cookie.substring(idx+name.length+1);
-var end=_2dc.indexOf(";");
-if(end==-1){
-end=_2dc.length;
-}
-_2dc=_2dc.substring(0,end);
-_2dc=unescape(_2dc);
-return _2dc;
-};
-dojo.io.cookie.get=dojo.io.cookie.getCookie;
-dojo.io.cookie.deleteCookie=function(name){
-dojo.io.cookie.setCookie(name,"-",0);
-};
-dojo.io.cookie.setObjectCookie=function(name,obj,days,path,_2e3,_2e4,_2e5){
-if(arguments.length==5){
-_2e5=_2e3;
-_2e3=null;
-_2e4=null;
-}
-var _2e6=[],_2e7,_2e8="";
-if(!_2e5){
-_2e7=dojo.io.cookie.getObjectCookie(name);
-}
-if(days>=0){
-if(!_2e7){
-_2e7={};
-}
-for(var prop in obj){
-if(obj[prop]==null){
-delete _2e7[prop];
-}else{
-if((typeof obj[prop]=="string")||(typeof obj[prop]=="number")){
-_2e7[prop]=obj[prop];
-}
-}
-}
-prop=null;
-for(var prop in _2e7){
-_2e6.push(escape(prop)+"="+escape(_2e7[prop]));
-}
-_2e8=_2e6.join("&");
-}
-dojo.io.cookie.setCookie(name,_2e8,days,path,_2e3,_2e4);
-};
-dojo.io.cookie.getObjectCookie=function(name){
-var _2eb=null,_2ec=dojo.io.cookie.getCookie(name);
-if(_2ec){
-_2eb={};
-var _2ed=_2ec.split("&");
-for(var i=0;i<_2ed.length;i++){
-var pair=_2ed[i].split("=");
-var _2f0=pair[1];
-if(isNaN(_2f0)){
-_2f0=unescape(pair[1]);
-}
-_2eb[unescape(pair[0])]=_2f0;
-}
-}
-return _2eb;
-};
-dojo.io.cookie.isSupported=function(){
-if(typeof navigator.cookieEnabled!="boolean"){
-dojo.io.cookie.setCookie("__TestingYourBrowserForCookieSupport__","CookiesAllowed",90,null);
-var _2f1=dojo.io.cookie.getCookie("__TestingYourBrowserForCookieSupport__");
-navigator.cookieEnabled=(_2f1=="CookiesAllowed");
-if(navigator.cookieEnabled){
-this.deleteCookie("__TestingYourBrowserForCookieSupport__");
-}
-}
-return navigator.cookieEnabled;
-};
-if(!dojo.io.cookies){
-dojo.io.cookies=dojo.io.cookie;
-}
-dojo.provide("dojo.io.*");
-dojo.provide("dojo.event.common");
-dojo.event=new function(){
-this._canTimeout=dojo.lang.isFunction(dj_global["setTimeout"])||dojo.lang.isAlien(dj_global["setTimeout"]);
-function interpolateArgs(args,_2f3){
-var dl=dojo.lang;
-var ao={srcObj:dj_global,srcFunc:null,adviceObj:dj_global,adviceFunc:null,aroundObj:null,aroundFunc:null,adviceType:(args.length>2)?args[0]:"after",precedence:"last",once:false,delay:null,rate:0,adviceMsg:false};
-switch(args.length){
-case 0:
-return;
-case 1:
-return;
-case 2:
-ao.srcFunc=args[0];
-ao.adviceFunc=args[1];
-break;
-case 3:
-if((dl.isObject(args[0]))&&(dl.isString(args[1]))&&(dl.isString(args[2]))){
-ao.adviceType="after";
-ao.srcObj=args[0];
-ao.srcFunc=args[1];
-ao.adviceFunc=args[2];
-}else{
-if((dl.isString(args[1]))&&(dl.isString(args[2]))){
-ao.srcFunc=args[1];
-ao.adviceFunc=args[2];
-}else{
-if((dl.isObject(args[0]))&&(dl.isString(args[1]))&&(dl.isFunction(args[2]))){
-ao.adviceType="after";
-ao.srcObj=args[0];
-ao.srcFunc=args[1];
-var _2f6=dl.nameAnonFunc(args[2],ao.adviceObj,_2f3);
-ao.adviceFunc=_2f6;
-}else{
-if((dl.isFunction(args[0]))&&(dl.isObject(args[1]))&&(dl.isString(args[2]))){
-ao.adviceType="after";
-ao.srcObj=dj_global;
-var _2f6=dl.nameAnonFunc(args[0],ao.srcObj,_2f3);
-ao.srcFunc=_2f6;
-ao.adviceObj=args[1];
-ao.adviceFunc=args[2];
-}
-}
-}
-}
-break;
-case 4:
-if((dl.isObject(args[0]))&&(dl.isObject(args[2]))){
-ao.adviceType="after";
-ao.srcObj=args[0];
-ao.srcFunc=args[1];
-ao.adviceObj=args[2];
-ao.adviceFunc=args[3];
-}else{
-if((dl.isString(args[0]))&&(dl.isString(args[1]))&&(dl.isObject(args[2]))){
-ao.adviceType=args[0];
-ao.srcObj=dj_global;
-ao.srcFunc=args[1];
-ao.adviceObj=args[2];
-ao.adviceFunc=args[3];
-}else{
-if((dl.isString(args[0]))&&(dl.isFunction(args[1]))&&(dl.isObject(args[2]))){
-ao.adviceType=args[0];
-ao.srcObj=dj_global;
-var _2f6=dl.nameAnonFunc(args[1],dj_global,_2f3);
-ao.srcFunc=_2f6;
-ao.adviceObj=args[2];
-ao.adviceFunc=args[3];
-}else{
-if((dl.isString(args[0]))&&(dl.isObject(args[1]))&&(dl.isString(args[2]))&&(dl.isFunction(args[3]))){
-ao.srcObj=args[1];
-ao.srcFunc=args[2];
-var _2f6=dl.nameAnonFunc(args[3],dj_global,_2f3);
-ao.adviceObj=dj_global;
-ao.adviceFunc=_2f6;
-}else{
-if(dl.isObject(args[1])){
-ao.srcObj=args[1];
-ao.srcFunc=args[2];
-ao.adviceObj=dj_global;
-ao.adviceFunc=args[3];
-}else{
-if(dl.isObject(args[2])){
-ao.srcObj=dj_global;
-ao.srcFunc=args[1];
-ao.adviceObj=args[2];
-ao.adviceFunc=args[3];
-}else{
-ao.srcObj=ao.adviceObj=ao.aroundObj=dj_global;
-ao.srcFunc=args[1];
-ao.adviceFunc=args[2];
-ao.aroundFunc=args[3];
-}
-}
-}
-}
-}
-}
-break;
-case 6:
-ao.srcObj=args[1];
-ao.srcFunc=args[2];
-ao.adviceObj=args[3];
-ao.adviceFunc=args[4];
-ao.aroundFunc=args[5];
-ao.aroundObj=dj_global;
-break;
-default:
-ao.srcObj=args[1];
-ao.srcFunc=args[2];
-ao.adviceObj=args[3];
-ao.adviceFunc=args[4];
-ao.aroundObj=args[5];
-ao.aroundFunc=args[6];
-ao.once=args[7];
-ao.delay=args[8];
-ao.rate=args[9];
-ao.adviceMsg=args[10];
-break;
-}
-if(dl.isFunction(ao.aroundFunc)){
-var _2f6=dl.nameAnonFunc(ao.aroundFunc,ao.aroundObj,_2f3);
-ao.aroundFunc=_2f6;
-}
-if(dl.isFunction(ao.srcFunc)){
-ao.srcFunc=dl.getNameInObj(ao.srcObj,ao.srcFunc);
-}
-if(dl.isFunction(ao.adviceFunc)){
-ao.adviceFunc=dl.getNameInObj(ao.adviceObj,ao.adviceFunc);
-}
-if((ao.aroundObj)&&(dl.isFunction(ao.aroundFunc))){
-ao.aroundFunc=dl.getNameInObj(ao.aroundObj,ao.aroundFunc);
-}
-if(!ao.srcObj){
-dojo.raise("bad srcObj for srcFunc: "+ao.srcFunc);
-}
-if(!ao.adviceObj){
-dojo.raise("bad adviceObj for adviceFunc: "+ao.adviceFunc);
-}
-if(!ao.adviceFunc){
-dojo.debug("bad adviceFunc for srcFunc: "+ao.srcFunc);
-dojo.debugShallow(ao);
-}
-return ao;
-}
-this.connect=function(){
-if(arguments.length==1){
-var ao=arguments[0];
-}else{
-var ao=interpolateArgs(arguments,true);
-}
-if(dojo.lang.isString(ao.srcFunc)&&(ao.srcFunc.toLowerCase()=="onkey")){
-if(dojo.render.html.ie){
-ao.srcFunc="onkeydown";
-this.connect(ao);
-}
-ao.srcFunc="onkeypress";
-}
-if(dojo.lang.isArray(ao.srcObj)&&ao.srcObj!=""){
-var _2f8={};
-for(var x in ao){
-_2f8[x]=ao[x];
-}
-var mjps=[];
-dojo.lang.forEach(ao.srcObj,function(src){
-if((dojo.render.html.capable)&&(dojo.lang.isString(src))){
-src=dojo.byId(src);
-}
-_2f8.srcObj=src;
-mjps.push(dojo.event.connect.call(dojo.event,_2f8));
-});
-return mjps;
-}
-var mjp=dojo.event.MethodJoinPoint.getForMethod(ao.srcObj,ao.srcFunc);
-if(ao.adviceFunc){
-var mjp2=dojo.event.MethodJoinPoint.getForMethod(ao.adviceObj,ao.adviceFunc);
-}
-mjp.kwAddAdvice(ao);
-return mjp;
-};
-this.log=function(a1,a2){
-var _300;
-if((arguments.length==1)&&(typeof a1=="object")){
-_300=a1;
-}else{
-_300={srcObj:a1,srcFunc:a2};
-}
-_300.adviceFunc=function(){
-var _301=[];
-for(var x=0;x=this.jp_.around.length){
-return this.jp_.object[this.jp_.methodname].apply(this.jp_.object,this.args);
-}else{
-var ti=this.jp_.around[this.around_index];
-var mobj=ti[0]||dj_global;
-var meth=ti[1];
-return mobj[meth].call(mobj,this);
-}
-};
-dojo.event.MethodJoinPoint=function(obj,_318){
-this.object=obj||dj_global;
-this.methodname=_318;
-this.methodfunc=this.object[_318];
-this.squelch=false;
-};
-dojo.event.MethodJoinPoint.getForMethod=function(obj,_31a){
-if(!obj){
-obj=dj_global;
-}
-if(!obj[_31a]){
-obj[_31a]=function(){
-};
-if(!obj[_31a]){
-dojo.raise("Cannot set do-nothing method on that object "+_31a);
-}
-}else{
-if((!dojo.lang.isFunction(obj[_31a]))&&(!dojo.lang.isAlien(obj[_31a]))){
-return null;
-}
-}
-var _31b=_31a+"$joinpoint";
-var _31c=_31a+"$joinpoint$method";
-var _31d=obj[_31b];
-if(!_31d){
-var _31e=false;
-if(dojo.event["browser"]){
-if((obj["attachEvent"])||(obj["nodeType"])||(obj["addEventListener"])){
-_31e=true;
-dojo.event.browser.addClobberNodeAttrs(obj,[_31b,_31c,_31a]);
-}
-}
-var _31f=obj[_31a].length;
-obj[_31c]=obj[_31a];
-_31d=obj[_31b]=new dojo.event.MethodJoinPoint(obj,_31c);
-obj[_31a]=function(){
-var args=[];
-if((_31e)&&(!arguments.length)){
-var evt=null;
-try{
-if(obj.ownerDocument){
-evt=obj.ownerDocument.parentWindow.event;
-}else{
-if(obj.documentElement){
-evt=obj.documentElement.ownerDocument.parentWindow.event;
-}else{
-if(obj.event){
-evt=obj.event;
-}else{
-evt=window.event;
-}
-}
-}
-}
-catch(e){
-evt=window.event;
-}
-if(evt){
-args.push(dojo.event.browser.fixEvent(evt,this));
-}
-}else{
-for(var x=0;x0)){
-dojo.lang.forEach(this.before.concat(new Array()),_337);
-}
-var _338;
-try{
-if((this["around"])&&(this.around.length>0)){
-var mi=new dojo.event.MethodInvocation(this,obj,args);
-_338=mi.proceed();
-}else{
-if(this.methodfunc){
-_338=this.object[this.methodname].apply(this.object,args);
-}
-}
-}
-catch(e){
-if(!this.squelch){
-dojo.debug(e,"when calling",this.methodname,"on",this.object,"with arguments",args);
-dojo.raise(e);
-}
-}
-if((this["after"])&&(this.after.length>0)){
-dojo.lang.forEach(this.after.concat(new Array()),_337);
-}
-return (this.methodfunc)?_338:null;
-},getArr:function(kind){
-var type="after";
-if((typeof kind=="string")&&(kind.indexOf("before")!=-1)){
-type="before";
-}else{
-if(kind=="around"){
-type="around";
-}
-}
-if(!this[type]){
-this[type]=[];
-}
-return this[type];
-},kwAddAdvice:function(args){
-this.addAdvice(args["adviceObj"],args["adviceFunc"],args["aroundObj"],args["aroundFunc"],args["adviceType"],args["precedence"],args["once"],args["delay"],args["rate"],args["adviceMsg"]);
-},addAdvice:function(_33d,_33e,_33f,_340,_341,_342,once,_344,rate,_346){
-var arr=this.getArr(_341);
-if(!arr){
-dojo.raise("bad this: "+this);
-}
-var ao=[_33d,_33e,_33f,_340,_344,rate,_346];
-if(once){
-if(this.hasAdvice(_33d,_33e,_341,arr)>=0){
-return;
-}
-}
-if(_342=="first"){
-arr.unshift(ao);
-}else{
-arr.push(ao);
-}
-},hasAdvice:function(_349,_34a,_34b,arr){
-if(!arr){
-arr=this.getArr(_34b);
-}
-var ind=-1;
-for(var x=0;x=0;i=i-1){
-var el=na[i];
-try{
-if(el&&el["__clobberAttrs__"]){
-for(var j=0;j=65&&_39c<=90&&evt.shiftKey==false){
-_39c+=32;
-}
-if(_39c>=1&&_39c<=26&&evt.ctrlKey){
-_39c+=96;
-}
-evt.key=String.fromCharCode(_39c);
-}
-}
-}else{
-if(evt["type"]=="keypress"){
-if(dojo.render.html.opera){
-if(evt.which==0){
-evt.key=evt.keyCode;
-}else{
-if(evt.which>0){
-switch(evt.which){
-case evt.KEY_SHIFT:
-case evt.KEY_CTRL:
-case evt.KEY_ALT:
-case evt.KEY_CAPS_LOCK:
-case evt.KEY_NUM_LOCK:
-case evt.KEY_SCROLL_LOCK:
-break;
-case evt.KEY_PAUSE:
-case evt.KEY_TAB:
-case evt.KEY_BACKSPACE:
-case evt.KEY_ENTER:
-case evt.KEY_ESCAPE:
-evt.key=evt.which;
-break;
-default:
-var _39c=evt.which;
-if((evt.ctrlKey||evt.altKey||evt.metaKey)&&(evt.which>=65&&evt.which<=90&&evt.shiftKey==false)){
-_39c+=32;
-}
-evt.key=String.fromCharCode(_39c);
-}
-}
-}
-}else{
-if(dojo.render.html.ie){
-if(!evt.ctrlKey&&!evt.altKey&&evt.keyCode>=evt.KEY_SPACE){
-evt.key=String.fromCharCode(evt.keyCode);
-}
-}else{
-if(dojo.render.html.safari){
-switch(evt.keyCode){
-case 25:
-evt.key=evt.KEY_TAB;
-evt.shift=true;
-break;
-case 63232:
-evt.key=evt.KEY_UP_ARROW;
-break;
-case 63233:
-evt.key=evt.KEY_DOWN_ARROW;
-break;
-case 63234:
-evt.key=evt.KEY_LEFT_ARROW;
-break;
-case 63235:
-evt.key=evt.KEY_RIGHT_ARROW;
-break;
-case 63236:
-evt.key=evt.KEY_F1;
-break;
-case 63237:
-evt.key=evt.KEY_F2;
-break;
-case 63238:
-evt.key=evt.KEY_F3;
-break;
-case 63239:
-evt.key=evt.KEY_F4;
-break;
-case 63240:
-evt.key=evt.KEY_F5;
-break;
-case 63241:
-evt.key=evt.KEY_F6;
-break;
-case 63242:
-evt.key=evt.KEY_F7;
-break;
-case 63243:
-evt.key=evt.KEY_F8;
-break;
-case 63244:
-evt.key=evt.KEY_F9;
-break;
-case 63245:
-evt.key=evt.KEY_F10;
-break;
-case 63246:
-evt.key=evt.KEY_F11;
-break;
-case 63247:
-evt.key=evt.KEY_F12;
-break;
-case 63250:
-evt.key=evt.KEY_PAUSE;
-break;
-case 63272:
-evt.key=evt.KEY_DELETE;
-break;
-case 63273:
-evt.key=evt.KEY_HOME;
-break;
-case 63275:
-evt.key=evt.KEY_END;
-break;
-case 63276:
-evt.key=evt.KEY_PAGE_UP;
-break;
-case 63277:
-evt.key=evt.KEY_PAGE_DOWN;
-break;
-case 63302:
-evt.key=evt.KEY_INSERT;
-break;
-case 63248:
-case 63249:
-case 63289:
-break;
-default:
-evt.key=evt.charCode>=evt.KEY_SPACE?String.fromCharCode(evt.charCode):evt.keyCode;
-}
-}else{
-evt.key=evt.charCode>0?String.fromCharCode(evt.charCode):evt.keyCode;
-}
-}
-}
-}
-}
-}
-if(dojo.render.html.ie){
-if(!evt.target){
-evt.target=evt.srcElement;
-}
-if(!evt.currentTarget){
-evt.currentTarget=(_39a?_39a:evt.srcElement);
-}
-if(!evt.layerX){
-evt.layerX=evt.offsetX;
-}
-if(!evt.layerY){
-evt.layerY=evt.offsetY;
-}
-var doc=(evt.srcElement&&evt.srcElement.ownerDocument)?evt.srcElement.ownerDocument:document;
-var _39e=((dojo.render.html.ie55)||(doc["compatMode"]=="BackCompat"))?doc.body:doc.documentElement;
-if(!evt.pageX){
-evt.pageX=evt.clientX+(_39e.scrollLeft||0);
-}
-if(!evt.pageY){
-evt.pageY=evt.clientY+(_39e.scrollTop||0);
-}
-if(evt.type=="mouseover"){
-evt.relatedTarget=evt.fromElement;
-}
-if(evt.type=="mouseout"){
-evt.relatedTarget=evt.toElement;
-}
-this.currentEvent=evt;
-evt.callListener=this.callListener;
-evt.stopPropagation=this._stopPropagation;
-evt.preventDefault=this._preventDefault;
-}
-return evt;
-};
-this.stopEvent=function(evt){
-if(window.event){
-evt.cancelBubble=true;
-evt.returnValue=false;
-}else{
-evt.preventDefault();
-evt.stopPropagation();
-}
-};
-};
-dojo.provide("dojo.event.*");
-dojo.provide("dojo.gfx.color");
-dojo.gfx.color.Color=function(r,g,b,a){
-if(dojo.lang.isArray(r)){
-this.r=r[0];
-this.g=r[1];
-this.b=r[2];
-this.a=r[3]||1;
-}else{
-if(dojo.lang.isString(r)){
-var rgb=dojo.gfx.color.extractRGB(r);
-this.r=rgb[0];
-this.g=rgb[1];
-this.b=rgb[2];
-this.a=g||1;
-}else{
-if(r instanceof dojo.gfx.color.Color){
-this.r=r.r;
-this.b=r.b;
-this.g=r.g;
-this.a=r.a;
-}else{
-this.r=r;
-this.g=g;
-this.b=b;
-this.a=a;
-}
-}
-}
-};
-dojo.gfx.color.Color.fromArray=function(arr){
-return new dojo.gfx.color.Color(arr[0],arr[1],arr[2],arr[3]);
-};
-dojo.extend(dojo.gfx.color.Color,{toRgb:function(_3a6){
-if(_3a6){
-return this.toRgba();
-}else{
-return [this.r,this.g,this.b];
-}
-},toRgba:function(){
-return [this.r,this.g,this.b,this.a];
-},toHex:function(){
-return dojo.gfx.color.rgb2hex(this.toRgb());
-},toCss:function(){
-return "rgb("+this.toRgb().join()+")";
-},toString:function(){
-return this.toHex();
-},blend:function(_3a7,_3a8){
-var rgb=null;
-if(dojo.lang.isArray(_3a7)){
-rgb=_3a7;
-}else{
-if(_3a7 instanceof dojo.gfx.color.Color){
-rgb=_3a7.toRgb();
-}else{
-rgb=new dojo.gfx.color.Color(_3a7).toRgb();
-}
-}
-return dojo.gfx.color.blend(this.toRgb(),rgb,_3a8);
-}});
-dojo.gfx.color.named={white:[255,255,255],black:[0,0,0],red:[255,0,0],green:[0,255,0],lime:[0,255,0],blue:[0,0,255],navy:[0,0,128],gray:[128,128,128],silver:[192,192,192]};
-dojo.gfx.color.blend=function(a,b,_3ac){
-if(typeof a=="string"){
-return dojo.gfx.color.blendHex(a,b,_3ac);
-}
-if(!_3ac){
-_3ac=0;
-}
-_3ac=Math.min(Math.max(-1,_3ac),1);
-_3ac=((_3ac+1)/2);
-var c=[];
-for(var x=0;x<3;x++){
-c[x]=parseInt(b[x]+((a[x]-b[x])*_3ac));
-}
-return c;
-};
-dojo.gfx.color.blendHex=function(a,b,_3b1){
-return dojo.gfx.color.rgb2hex(dojo.gfx.color.blend(dojo.gfx.color.hex2rgb(a),dojo.gfx.color.hex2rgb(b),_3b1));
-};
-dojo.gfx.color.extractRGB=function(_3b2){
-var hex="0123456789abcdef";
-_3b2=_3b2.toLowerCase();
-if(_3b2.indexOf("rgb")==0){
-var _3b4=_3b2.match(/rgba*\((\d+), *(\d+), *(\d+)/i);
-var ret=_3b4.splice(1,3);
-return ret;
-}else{
-var _3b6=dojo.gfx.color.hex2rgb(_3b2);
-if(_3b6){
-return _3b6;
-}else{
-return dojo.gfx.color.named[_3b2]||[255,255,255];
-}
-}
-};
-dojo.gfx.color.hex2rgb=function(hex){
-var _3b8="0123456789ABCDEF";
-var rgb=new Array(3);
-if(hex.indexOf("#")==0){
-hex=hex.substring(1);
-}
-hex=hex.toUpperCase();
-if(hex.replace(new RegExp("["+_3b8+"]","g"),"")!=""){
-return null;
-}
-if(hex.length==3){
-rgb[0]=hex.charAt(0)+hex.charAt(0);
-rgb[1]=hex.charAt(1)+hex.charAt(1);
-rgb[2]=hex.charAt(2)+hex.charAt(2);
-}else{
-rgb[0]=hex.substring(0,2);
-rgb[1]=hex.substring(2,4);
-rgb[2]=hex.substring(4);
-}
-for(var i=0;i0){
-this.duration=_3d8;
-}
-if(_3db){
-this.repeatCount=_3db;
-}
-if(rate){
-this.rate=rate;
-}
-if(_3d7){
-dojo.lang.forEach(["handler","beforeBegin","onBegin","onEnd","onPlay","onStop","onAnimate"],function(item){
-if(_3d7[item]){
-this.connect(item,_3d7[item]);
-}
-},this);
-}
-if(_3da&&dojo.lang.isFunction(_3da)){
-this.easing=_3da;
-}
-};
-dojo.inherits(dojo.lfx.Animation,dojo.lfx.IAnimation);
-dojo.lang.extend(dojo.lfx.Animation,{_startTime:null,_endTime:null,_timer:null,_percent:0,_startRepeatCount:0,play:function(_3de,_3df){
-if(_3df){
-clearTimeout(this._timer);
-this._active=false;
-this._paused=false;
-this._percent=0;
-}else{
-if(this._active&&!this._paused){
-return this;
-}
-}
-this.fire("handler",["beforeBegin"]);
-this.fire("beforeBegin");
-if(_3de>0){
-setTimeout(dojo.lang.hitch(this,function(){
-this.play(null,_3df);
-}),_3de);
-return this;
-}
-this._startTime=new Date().valueOf();
-if(this._paused){
-this._startTime-=(this.duration*this._percent/100);
-}
-this._endTime=this._startTime+this.duration;
-this._active=true;
-this._paused=false;
-var step=this._percent/100;
-var _3e1=this.curve.getValue(step);
-if(this._percent==0){
-if(!this._startRepeatCount){
-this._startRepeatCount=this.repeatCount;
-}
-this.fire("handler",["begin",_3e1]);
-this.fire("onBegin",[_3e1]);
-}
-this.fire("handler",["play",_3e1]);
-this.fire("onPlay",[_3e1]);
-this._cycle();
-return this;
-},pause:function(){
-clearTimeout(this._timer);
-if(!this._active){
-return this;
-}
-this._paused=true;
-var _3e2=this.curve.getValue(this._percent/100);
-this.fire("handler",["pause",_3e2]);
-this.fire("onPause",[_3e2]);
-return this;
-},gotoPercent:function(pct,_3e4){
-clearTimeout(this._timer);
-this._active=true;
-this._paused=true;
-this._percent=pct;
-if(_3e4){
-this.play();
-}
-return this;
-},stop:function(_3e5){
-clearTimeout(this._timer);
-var step=this._percent/100;
-if(_3e5){
-step=1;
-}
-var _3e7=this.curve.getValue(step);
-this.fire("handler",["stop",_3e7]);
-this.fire("onStop",[_3e7]);
-this._active=false;
-this._paused=false;
-return this;
-},status:function(){
-if(this._active){
-return this._paused?"paused":"playing";
-}else{
-return "stopped";
-}
-return this;
-},_cycle:function(){
-clearTimeout(this._timer);
-if(this._active){
-var curr=new Date().valueOf();
-var step=(curr-this._startTime)/(this._endTime-this._startTime);
-if(step>=1){
-step=1;
-this._percent=100;
-}else{
-this._percent=step*100;
-}
-if((this.easing)&&(dojo.lang.isFunction(this.easing))){
-step=this.easing(step);
-}
-var _3ea=this.curve.getValue(step);
-this.fire("handler",["animate",_3ea]);
-this.fire("onAnimate",[_3ea]);
-if(step<1){
-this._timer=setTimeout(dojo.lang.hitch(this,"_cycle"),this.rate);
-}else{
-this._active=false;
-this.fire("handler",["end"]);
-this.fire("onEnd");
-if(this.repeatCount>0){
-this.repeatCount--;
-this.play(null,true);
-}else{
-if(this.repeatCount==-1){
-this.play(null,true);
-}else{
-if(this._startRepeatCount){
-this.repeatCount=this._startRepeatCount;
-this._startRepeatCount=0;
-}
-}
-}
-}
-}
-return this;
-}});
-dojo.lfx.Combine=function(_3eb){
-dojo.lfx.IAnimation.call(this);
-this._anims=[];
-this._animsEnded=0;
-var _3ec=arguments;
-if(_3ec.length==1&&(dojo.lang.isArray(_3ec[0])||dojo.lang.isArrayLike(_3ec[0]))){
-_3ec=_3ec[0];
-}
-dojo.lang.forEach(_3ec,function(anim){
-this._anims.push(anim);
-anim.connect("onEnd",dojo.lang.hitch(this,"_onAnimsEnded"));
-},this);
-};
-dojo.inherits(dojo.lfx.Combine,dojo.lfx.IAnimation);
-dojo.lang.extend(dojo.lfx.Combine,{_animsEnded:0,play:function(_3ee,_3ef){
-if(!this._anims.length){
-return this;
-}
-this.fire("beforeBegin");
-if(_3ee>0){
-setTimeout(dojo.lang.hitch(this,function(){
-this.play(null,_3ef);
-}),_3ee);
-return this;
-}
-if(_3ef||this._anims[0].percent==0){
-this.fire("onBegin");
-}
-this.fire("onPlay");
-this._animsCall("play",null,_3ef);
-return this;
-},pause:function(){
-this.fire("onPause");
-this._animsCall("pause");
-return this;
-},stop:function(_3f0){
-this.fire("onStop");
-this._animsCall("stop",_3f0);
-return this;
-},_onAnimsEnded:function(){
-this._animsEnded++;
-if(this._animsEnded>=this._anims.length){
-this.fire("onEnd");
-}
-return this;
-},_animsCall:function(_3f1){
-var args=[];
-if(arguments.length>1){
-for(var i=1;i0){
-setTimeout(dojo.lang.hitch(this,function(){
-this.play(null,_3fd);
-}),_3fc);
-return this;
-}
-if(_3fe){
-if(this._currAnim==0){
-this.fire("handler",["begin",this._currAnim]);
-this.fire("onBegin",[this._currAnim]);
-}
-this.fire("onPlay",[this._currAnim]);
-_3fe.play(null,_3fd);
-}
-return this;
-},pause:function(){
-if(this._anims[this._currAnim]){
-this._anims[this._currAnim].pause();
-this.fire("onPause",[this._currAnim]);
-}
-return this;
-},playPause:function(){
-if(this._anims.length==0){
-return this;
-}
-if(this._currAnim==-1){
-this._currAnim=0;
-}
-var _3ff=this._anims[this._currAnim];
-if(_3ff){
-if(!_3ff._active||_3ff._paused){
-this.play();
-}else{
-this.pause();
-}
-}
-return this;
-},stop:function(){
-var _400=this._anims[this._currAnim];
-if(_400){
-_400.stop();
-this.fire("onStop",[this._currAnim]);
-}
-return _400;
-},_playNext:function(){
-if(this._currAnim==-1||this._anims.length==0){
-return this;
-}
-this._currAnim++;
-if(this._anims[this._currAnim]){
-this._anims[this._currAnim].play(null,true);
-}
-return this;
-}});
-dojo.lfx.combine=function(_401){
-var _402=arguments;
-if(dojo.lang.isArray(arguments[0])){
-_402=arguments[0];
-}
-if(_402.length==1){
-return _402[0];
-}
-return new dojo.lfx.Combine(_402);
-};
-dojo.lfx.chain=function(_403){
-var _404=arguments;
-if(dojo.lang.isArray(arguments[0])){
-_404=arguments[0];
-}
-if(_404.length==1){
-return _404[0];
-}
-return new dojo.lfx.Chain(_404);
-};
-dojo.provide("dojo.html.common");
-dojo.lang.mixin(dojo.html,dojo.dom);
-dojo.html.body=function(){
-dojo.deprecated("dojo.html.body() moved to dojo.body()","0.5");
-return dojo.body();
-};
-dojo.html.getEventTarget=function(evt){
-if(!evt){
-evt=dojo.global().event||{};
-}
-var t=(evt.srcElement?evt.srcElement:(evt.target?evt.target:null));
-while((t)&&(t.nodeType!=1)){
-t=t.parentNode;
-}
-return t;
-};
-dojo.html.getViewport=function(){
-var _407=dojo.global();
-var _408=dojo.doc();
-var w=0;
-var h=0;
-if(dojo.render.html.mozilla){
-w=_408.documentElement.clientWidth;
-h=_407.innerHeight;
-}else{
-if(!dojo.render.html.opera&&_407.innerWidth){
-w=_407.innerWidth;
-h=_407.innerHeight;
-}else{
-if(!dojo.render.html.opera&&dojo.exists(_408,"documentElement.clientWidth")){
-var w2=_408.documentElement.clientWidth;
-if(!w||w2&&w20&&!(j==1&&segs[0]=="")&&segs[j]==".."&&segs[j-1]!=".."){
-if(j==segs.length-1){
-segs.splice(j,1);
-segs[j-1]="";
-}else{
-segs.splice(j-1,2);
-j-=2;
-}
-}
-}
-}
-_431.path=segs.join("/");
-}
-}
-}
-}
-uri="";
-if(_431.scheme!=null){
-uri+=_431.scheme+":";
-}
-if(_431.authority!=null){
-uri+="//"+_431.authority;
-}
-uri+=_431.path;
-if(_431.query!=null){
-uri+="?"+_431.query;
-}
-if(_431.fragment!=null){
-uri+="#"+_431.fragment;
-}
-}
-this.uri=uri.toString();
-var _436="^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$";
-var r=this.uri.match(new RegExp(_436));
-this.scheme=r[2]||(r[1]?"":null);
-this.authority=r[4]||(r[3]?"":null);
-this.path=r[5];
-this.query=r[7]||(r[6]?"":null);
-this.fragment=r[9]||(r[8]?"":null);
-if(this.authority!=null){
-_436="^((([^:]+:)?([^@]+))@)?([^:]*)(:([0-9]+))?$";
-r=this.authority.match(new RegExp(_436));
-this.user=r[3]||null;
-this.password=r[4]||null;
-this.host=r[5];
-this.port=r[7]||null;
-}
-this.toString=function(){
-return this.uri;
-};
-};
-};
-dojo.provide("dojo.html.style");
-dojo.html.getClass=function(node){
-node=dojo.byId(node);
-if(!node){
-return "";
-}
-var cs="";
-if(node.className){
-cs=node.className;
-}else{
-if(dojo.html.hasAttribute(node,"class")){
-cs=dojo.html.getAttribute(node,"class");
-}
-}
-return cs.replace(/^\s+|\s+$/g,"");
-};
-dojo.html.getClasses=function(node){
-var c=dojo.html.getClass(node);
-return (c=="")?[]:c.split(/\s+/g);
-};
-dojo.html.hasClass=function(node,_43d){
-return (new RegExp("(^|\\s+)"+_43d+"(\\s+|$)")).test(dojo.html.getClass(node));
-};
-dojo.html.prependClass=function(node,_43f){
-_43f+=" "+dojo.html.getClass(node);
-return dojo.html.setClass(node,_43f);
-};
-dojo.html.addClass=function(node,_441){
-if(dojo.html.hasClass(node,_441)){
-return false;
-}
-_441=(dojo.html.getClass(node)+" "+_441).replace(/^\s+|\s+$/g,"");
-return dojo.html.setClass(node,_441);
-};
-dojo.html.setClass=function(node,_443){
-node=dojo.byId(node);
-var cs=new String(_443);
-try{
-if(typeof node.className=="string"){
-node.className=cs;
-}else{
-if(node.setAttribute){
-node.setAttribute("class",_443);
-node.className=cs;
-}else{
-return false;
-}
-}
-}
-catch(e){
-dojo.debug("dojo.html.setClass() failed",e);
-}
-return true;
-};
-dojo.html.removeClass=function(node,_446,_447){
-try{
-if(!_447){
-var _448=dojo.html.getClass(node).replace(new RegExp("(^|\\s+)"+_446+"(\\s+|$)"),"$1$2");
-}else{
-var _448=dojo.html.getClass(node).replace(_446,"");
-}
-dojo.html.setClass(node,_448);
-}
-catch(e){
-dojo.debug("dojo.html.removeClass() failed",e);
-}
-return true;
-};
-dojo.html.replaceClass=function(node,_44a,_44b){
-dojo.html.removeClass(node,_44b);
-dojo.html.addClass(node,_44a);
-};
-dojo.html.classMatchType={ContainsAll:0,ContainsAny:1,IsOnly:2};
-dojo.html.getElementsByClass=function(_44c,_44d,_44e,_44f,_450){
-_450=false;
-var _451=dojo.doc();
-_44d=dojo.byId(_44d)||_451;
-var _452=_44c.split(/\s+/g);
-var _453=[];
-if(_44f!=1&&_44f!=2){
-_44f=0;
-}
-var _454=new RegExp("(\\s|^)(("+_452.join(")|(")+"))(\\s|$)");
-var _455=_452.join(" ").length;
-var _456=[];
-if(!_450&&_451.evaluate){
-var _457=".//"+(_44e||"*")+"[contains(";
-if(_44f!=dojo.html.classMatchType.ContainsAny){
-_457+="concat(' ',@class,' '), ' "+_452.join(" ') and contains(concat(' ',@class,' '), ' ")+" ')";
-if(_44f==2){
-_457+=" and string-length(@class)="+_455+"]";
-}else{
-_457+="]";
-}
-}else{
-_457+="concat(' ',@class,' '), ' "+_452.join(" ') or contains(concat(' ',@class,' '), ' ")+" ')]";
-}
-var _458=_451.evaluate(_457,_44d,null,XPathResult.ANY_TYPE,null);
-var _459=_458.iterateNext();
-while(_459){
-try{
-_456.push(_459);
-_459=_458.iterateNext();
-}
-catch(e){
-break;
-}
-}
-return _456;
-}else{
-if(!_44e){
-_44e="*";
-}
-_456=_44d.getElementsByTagName(_44e);
-var node,i=0;
-outer:
-while(node=_456[i++]){
-var _45c=dojo.html.getClasses(node);
-if(_45c.length==0){
-continue outer;
-}
-var _45d=0;
-for(var j=0;j<_45c.length;j++){
-if(_454.test(_45c[j])){
-if(_44f==dojo.html.classMatchType.ContainsAny){
-_453.push(node);
-continue outer;
-}else{
-_45d++;
-}
-}else{
-if(_44f==dojo.html.classMatchType.IsOnly){
-continue outer;
-}
-}
-}
-if(_45d==_452.length){
-if((_44f==dojo.html.classMatchType.IsOnly)&&(_45d==_45c.length)){
-_453.push(node);
-}else{
-if(_44f==dojo.html.classMatchType.ContainsAll){
-_453.push(node);
-}
-}
-}
-}
-return _453;
-}
-};
-dojo.html.getElementsByClassName=dojo.html.getElementsByClass;
-dojo.html.toCamelCase=function(_45f){
-var arr=_45f.split("-"),cc=arr[0];
-for(var i=1;i=1){
-if(h.ie){
-dojo.html.clearOpacity(node);
-return;
-}else{
-_4c5=0.999999;
-}
-}else{
-if(_4c5<0){
-_4c5=0;
-}
-}
-}
-if(h.ie){
-if(node.nodeName.toLowerCase()=="tr"){
-var tds=node.getElementsByTagName("td");
-for(var x=0;x=0.999999?1:Number(opac);
-};
-dojo.provide("dojo.html.color");
-dojo.html.getBackgroundColor=function(node){
-node=dojo.byId(node);
-var _4d1;
-do{
-_4d1=dojo.html.getStyle(node,"background-color");
-if(_4d1.toLowerCase()=="rgba(0, 0, 0, 0)"){
-_4d1="transparent";
-}
-if(node==document.getElementsByTagName("body")[0]){
-node=null;
-break;
-}
-node=node.parentNode;
-}while(node&&dojo.lang.inArray(["transparent",""],_4d1));
-if(_4d1=="transparent"){
-_4d1=[255,255,255,0];
-}else{
-_4d1=dojo.gfx.color.extractRGB(_4d1);
-}
-return _4d1;
-};
-dojo.provide("dojo.html.layout");
-dojo.html.sumAncestorProperties=function(node,prop){
-node=dojo.byId(node);
-if(!node){
-return 0;
-}
-var _4d4=0;
-while(node){
-if(dojo.html.getComputedStyle(node,"position")=="fixed"){
-return 0;
-}
-var val=node[prop];
-if(val){
-_4d4+=val-0;
-if(node==dojo.body()){
-break;
-}
-}
-node=node.parentNode;
-}
-return _4d4;
-};
-dojo.html.setStyleAttributes=function(node,_4d7){
-node=dojo.byId(node);
-var _4d8=_4d7.replace(/(;)?\s*$/,"").split(";");
-for(var i=0;i<_4d8.length;i++){
-var _4da=_4d8[i].split(":");
-var name=_4da[0].replace(/\s*$/,"").replace(/^\s*/,"").toLowerCase();
-var _4dc=_4da[1].replace(/\s*$/,"").replace(/^\s*/,"");
-switch(name){
-case "opacity":
-dojo.html.setOpacity(node,_4dc);
-break;
-case "content-height":
-dojo.html.setContentBox(node,{height:_4dc});
-break;
-case "content-width":
-dojo.html.setContentBox(node,{width:_4dc});
-break;
-case "outer-height":
-dojo.html.setMarginBox(node,{height:_4dc});
-break;
-case "outer-width":
-dojo.html.setMarginBox(node,{width:_4dc});
-break;
-default:
-node.style[dojo.html.toCamelCase(name)]=_4dc;
-}
-}
-};
-dojo.html.boxSizing={MARGIN_BOX:"margin-box",BORDER_BOX:"border-box",PADDING_BOX:"padding-box",CONTENT_BOX:"content-box"};
-dojo.html.getAbsolutePosition=dojo.html.abs=function(node,_4de,_4df){
-node=dojo.byId(node,node.ownerDocument);
-var ret={x:0,y:0};
-var bs=dojo.html.boxSizing;
-if(!_4df){
-_4df=bs.CONTENT_BOX;
-}
-var _4e2=2;
-var _4e3;
-switch(_4df){
-case bs.MARGIN_BOX:
-_4e3=3;
-break;
-case bs.BORDER_BOX:
-_4e3=2;
-break;
-case bs.PADDING_BOX:
-default:
-_4e3=1;
-break;
-case bs.CONTENT_BOX:
-_4e3=0;
-break;
-}
-var h=dojo.render.html;
-var db=document["body"]||document["documentElement"];
-if(h.ie){
-with(node.getBoundingClientRect()){
-ret.x=left-2;
-ret.y=top-2;
-}
-}else{
-if(document.getBoxObjectFor){
-_4e2=1;
-try{
-var bo=document.getBoxObjectFor(node);
-ret.x=bo.x-dojo.html.sumAncestorProperties(node,"scrollLeft");
-ret.y=bo.y-dojo.html.sumAncestorProperties(node,"scrollTop");
-}
-catch(e){
-}
-}else{
-if(node["offsetParent"]){
-var _4e7;
-if((h.safari)&&(node.style.getPropertyValue("position")=="absolute")&&(node.parentNode==db)){
-_4e7=db;
-}else{
-_4e7=db.parentNode;
-}
-if(node.parentNode!=db){
-var nd=node;
-if(dojo.render.html.opera){
-nd=db;
-}
-ret.x-=dojo.html.sumAncestorProperties(nd,"scrollLeft");
-ret.y-=dojo.html.sumAncestorProperties(nd,"scrollTop");
-}
-var _4e9=node;
-do{
-var n=_4e9["offsetLeft"];
-if(!h.opera||n>0){
-ret.x+=isNaN(n)?0:n;
-}
-var m=_4e9["offsetTop"];
-ret.y+=isNaN(m)?0:m;
-_4e9=_4e9.offsetParent;
-}while((_4e9!=_4e7)&&(_4e9!=null));
-}else{
-if(node["x"]&&node["y"]){
-ret.x+=isNaN(node.x)?0:node.x;
-ret.y+=isNaN(node.y)?0:node.y;
-}
-}
-}
-}
-if(_4de){
-var _4ec=dojo.html.getScroll();
-ret.y+=_4ec.top;
-ret.x+=_4ec.left;
-}
-var _4ed=[dojo.html.getPaddingExtent,dojo.html.getBorderExtent,dojo.html.getMarginExtent];
-if(_4e2>_4e3){
-for(var i=_4e3;i<_4e2;++i){
-ret.y+=_4ed[i](node,"top");
-ret.x+=_4ed[i](node,"left");
-}
-}else{
-if(_4e2<_4e3){
-for(var i=_4e3;i>_4e2;--i){
-ret.y-=_4ed[i-1](node,"top");
-ret.x-=_4ed[i-1](node,"left");
-}
-}
-}
-ret.top=ret.y;
-ret.left=ret.x;
-return ret;
-};
-dojo.html.isPositionAbsolute=function(node){
-return (dojo.html.getComputedStyle(node,"position")=="absolute");
-};
-dojo.html._sumPixelValues=function(node,_4f1,_4f2){
-var _4f3=0;
-for(var x=0;x<_4f1.length;x++){
-_4f3+=dojo.html.getPixelValue(node,_4f1[x],_4f2);
-}
-return _4f3;
-};
-dojo.html.getMargin=function(node){
-return {width:dojo.html._sumPixelValues(node,["margin-left","margin-right"],(dojo.html.getComputedStyle(node,"position")=="absolute")),height:dojo.html._sumPixelValues(node,["margin-top","margin-bottom"],(dojo.html.getComputedStyle(node,"position")=="absolute"))};
-};
-dojo.html.getBorder=function(node){
-return {width:dojo.html.getBorderExtent(node,"left")+dojo.html.getBorderExtent(node,"right"),height:dojo.html.getBorderExtent(node,"top")+dojo.html.getBorderExtent(node,"bottom")};
-};
-dojo.html.getBorderExtent=function(node,side){
-return (dojo.html.getStyle(node,"border-"+side+"-style")=="none"?0:dojo.html.getPixelValue(node,"border-"+side+"-width"));
-};
-dojo.html.getMarginExtent=function(node,side){
-return dojo.html._sumPixelValues(node,["margin-"+side],dojo.html.isPositionAbsolute(node));
-};
-dojo.html.getPaddingExtent=function(node,side){
-return dojo.html._sumPixelValues(node,["padding-"+side],true);
-};
-dojo.html.getPadding=function(node){
-return {width:dojo.html._sumPixelValues(node,["padding-left","padding-right"],true),height:dojo.html._sumPixelValues(node,["padding-top","padding-bottom"],true)};
-};
-dojo.html.getPadBorder=function(node){
-var pad=dojo.html.getPadding(node);
-var _500=dojo.html.getBorder(node);
-return {width:pad.width+_500.width,height:pad.height+_500.height};
-};
-dojo.html.getBoxSizing=function(node){
-var h=dojo.render.html;
-var bs=dojo.html.boxSizing;
-if(((h.ie)||(h.opera))&&node.nodeName!="IMG"){
-var cm=document["compatMode"];
-if((cm=="BackCompat")||(cm=="QuirksMode")){
-return bs.BORDER_BOX;
-}else{
-return bs.CONTENT_BOX;
-}
-}else{
-if(arguments.length==0){
-node=document.documentElement;
-}
-var _505=dojo.html.getStyle(node,"-moz-box-sizing");
-if(!_505){
-_505=dojo.html.getStyle(node,"box-sizing");
-}
-return (_505?_505:bs.CONTENT_BOX);
-}
-};
-dojo.html.isBorderBox=function(node){
-return (dojo.html.getBoxSizing(node)==dojo.html.boxSizing.BORDER_BOX);
-};
-dojo.html.getBorderBox=function(node){
-node=dojo.byId(node);
-return {width:node.offsetWidth,height:node.offsetHeight};
-};
-dojo.html.getPaddingBox=function(node){
-var box=dojo.html.getBorderBox(node);
-var _50a=dojo.html.getBorder(node);
-return {width:box.width-_50a.width,height:box.height-_50a.height};
-};
-dojo.html.getContentBox=function(node){
-node=dojo.byId(node);
-var _50c=dojo.html.getPadBorder(node);
-return {width:node.offsetWidth-_50c.width,height:node.offsetHeight-_50c.height};
-};
-dojo.html.setContentBox=function(node,args){
-node=dojo.byId(node);
-var _50f=0;
-var _510=0;
-var isbb=dojo.html.isBorderBox(node);
-var _512=(isbb?dojo.html.getPadBorder(node):{width:0,height:0});
-var ret={};
-if(typeof args.width!="undefined"){
-_50f=args.width+_512.width;
-ret.width=dojo.html.setPositivePixelValue(node,"width",_50f);
-}
-if(typeof args.height!="undefined"){
-_510=args.height+_512.height;
-ret.height=dojo.html.setPositivePixelValue(node,"height",_510);
-}
-return ret;
-};
-dojo.html.getMarginBox=function(node){
-var _515=dojo.html.getBorderBox(node);
-var _516=dojo.html.getMargin(node);
-return {width:_515.width+_516.width,height:_515.height+_516.height};
-};
-dojo.html.setMarginBox=function(node,args){
-node=dojo.byId(node);
-var _519=0;
-var _51a=0;
-var isbb=dojo.html.isBorderBox(node);
-var _51c=(!isbb?dojo.html.getPadBorder(node):{width:0,height:0});
-var _51d=dojo.html.getMargin(node);
-var ret={};
-if(typeof args.width!="undefined"){
-_519=args.width-_51c.width;
-_519-=_51d.width;
-ret.width=dojo.html.setPositivePixelValue(node,"width",_519);
-}
-if(typeof args.height!="undefined"){
-_51a=args.height-_51c.height;
-_51a-=_51d.height;
-ret.height=dojo.html.setPositivePixelValue(node,"height",_51a);
-}
-return ret;
-};
-dojo.html.getElementBox=function(node,type){
-var bs=dojo.html.boxSizing;
-switch(type){
-case bs.MARGIN_BOX:
-return dojo.html.getMarginBox(node);
-case bs.BORDER_BOX:
-return dojo.html.getBorderBox(node);
-case bs.PADDING_BOX:
-return dojo.html.getPaddingBox(node);
-case bs.CONTENT_BOX:
-default:
-return dojo.html.getContentBox(node);
-}
-};
-dojo.html.toCoordinateObject=dojo.html.toCoordinateArray=function(_522,_523,_524){
-if(_522 instanceof Array||typeof _522=="array"){
-dojo.deprecated("dojo.html.toCoordinateArray","use dojo.html.toCoordinateObject({left: , top: , width: , height: }) instead","0.5");
-while(_522.length<4){
-_522.push(0);
-}
-while(_522.length>4){
-_522.pop();
-}
-var ret={left:_522[0],top:_522[1],width:_522[2],height:_522[3]};
-}else{
-if(!_522.nodeType&&!(_522 instanceof String||typeof _522=="string")&&("width" in _522||"height" in _522||"left" in _522||"x" in _522||"top" in _522||"y" in _522)){
-var ret={left:_522.left||_522.x||0,top:_522.top||_522.y||0,width:_522.width||0,height:_522.height||0};
-}else{
-var node=dojo.byId(_522);
-var pos=dojo.html.abs(node,_523,_524);
-var _528=dojo.html.getMarginBox(node);
-var ret={left:pos.left,top:pos.top,width:_528.width,height:_528.height};
-}
-}
-ret.x=ret.left;
-ret.y=ret.top;
-return ret;
-};
-dojo.html.setMarginBoxWidth=dojo.html.setOuterWidth=function(node,_52a){
-return dojo.html._callDeprecated("setMarginBoxWidth","setMarginBox",arguments,"width");
-};
-dojo.html.setMarginBoxHeight=dojo.html.setOuterHeight=function(){
-return dojo.html._callDeprecated("setMarginBoxHeight","setMarginBox",arguments,"height");
-};
-dojo.html.getMarginBoxWidth=dojo.html.getOuterWidth=function(){
-return dojo.html._callDeprecated("getMarginBoxWidth","getMarginBox",arguments,null,"width");
-};
-dojo.html.getMarginBoxHeight=dojo.html.getOuterHeight=function(){
-return dojo.html._callDeprecated("getMarginBoxHeight","getMarginBox",arguments,null,"height");
-};
-dojo.html.getTotalOffset=function(node,type,_52d){
-return dojo.html._callDeprecated("getTotalOffset","getAbsolutePosition",arguments,null,type);
-};
-dojo.html.getAbsoluteX=function(node,_52f){
-return dojo.html._callDeprecated("getAbsoluteX","getAbsolutePosition",arguments,null,"x");
-};
-dojo.html.getAbsoluteY=function(node,_531){
-return dojo.html._callDeprecated("getAbsoluteY","getAbsolutePosition",arguments,null,"y");
-};
-dojo.html.totalOffsetLeft=function(node,_533){
-return dojo.html._callDeprecated("totalOffsetLeft","getAbsolutePosition",arguments,null,"left");
-};
-dojo.html.totalOffsetTop=function(node,_535){
-return dojo.html._callDeprecated("totalOffsetTop","getAbsolutePosition",arguments,null,"top");
-};
-dojo.html.getMarginWidth=function(node){
-return dojo.html._callDeprecated("getMarginWidth","getMargin",arguments,null,"width");
-};
-dojo.html.getMarginHeight=function(node){
-return dojo.html._callDeprecated("getMarginHeight","getMargin",arguments,null,"height");
-};
-dojo.html.getBorderWidth=function(node){
-return dojo.html._callDeprecated("getBorderWidth","getBorder",arguments,null,"width");
-};
-dojo.html.getBorderHeight=function(node){
-return dojo.html._callDeprecated("getBorderHeight","getBorder",arguments,null,"height");
-};
-dojo.html.getPaddingWidth=function(node){
-return dojo.html._callDeprecated("getPaddingWidth","getPadding",arguments,null,"width");
-};
-dojo.html.getPaddingHeight=function(node){
-return dojo.html._callDeprecated("getPaddingHeight","getPadding",arguments,null,"height");
-};
-dojo.html.getPadBorderWidth=function(node){
-return dojo.html._callDeprecated("getPadBorderWidth","getPadBorder",arguments,null,"width");
-};
-dojo.html.getPadBorderHeight=function(node){
-return dojo.html._callDeprecated("getPadBorderHeight","getPadBorder",arguments,null,"height");
-};
-dojo.html.getBorderBoxWidth=dojo.html.getInnerWidth=function(){
-return dojo.html._callDeprecated("getBorderBoxWidth","getBorderBox",arguments,null,"width");
-};
-dojo.html.getBorderBoxHeight=dojo.html.getInnerHeight=function(){
-return dojo.html._callDeprecated("getBorderBoxHeight","getBorderBox",arguments,null,"height");
-};
-dojo.html.getContentBoxWidth=dojo.html.getContentWidth=function(){
-return dojo.html._callDeprecated("getContentBoxWidth","getContentBox",arguments,null,"width");
-};
-dojo.html.getContentBoxHeight=dojo.html.getContentHeight=function(){
-return dojo.html._callDeprecated("getContentBoxHeight","getContentBox",arguments,null,"height");
-};
-dojo.html.setContentBoxWidth=dojo.html.setContentWidth=function(node,_53f){
-return dojo.html._callDeprecated("setContentBoxWidth","setContentBox",arguments,"width");
-};
-dojo.html.setContentBoxHeight=dojo.html.setContentHeight=function(node,_541){
-return dojo.html._callDeprecated("setContentBoxHeight","setContentBox",arguments,"height");
-};
-dojo.provide("dojo.lfx.html");
-dojo.lfx.html._byId=function(_542){
-if(!_542){
-return [];
-}
-if(dojo.lang.isArrayLike(_542)){
-if(!_542.alreadyChecked){
-var n=[];
-dojo.lang.forEach(_542,function(node){
-n.push(dojo.byId(node));
-});
-n.alreadyChecked=true;
-return n;
-}else{
-return _542;
-}
-}else{
-var n=[];
-n.push(dojo.byId(_542));
-n.alreadyChecked=true;
-return n;
-}
-};
-dojo.lfx.html.propertyAnimation=function(_545,_546,_547,_548,_549){
-_545=dojo.lfx.html._byId(_545);
-var _54a={"propertyMap":_546,"nodes":_545,"duration":_547,"easing":_548||dojo.lfx.easeDefault};
-var _54b=function(args){
-if(args.nodes.length==1){
-var pm=args.propertyMap;
-if(!dojo.lang.isArray(args.propertyMap)){
-var parr=[];
-for(var _54f in pm){
-pm[_54f].property=_54f;
-parr.push(pm[_54f]);
-}
-pm=args.propertyMap=parr;
-}
-dojo.lang.forEach(pm,function(prop){
-if(dj_undef("start",prop)){
-if(prop.property!="opacity"){
-prop.start=parseInt(dojo.html.getComputedStyle(args.nodes[0],prop.property));
-}else{
-prop.start=dojo.html.getOpacity(args.nodes[0]);
-}
-}
-});
-}
-};
-var _551=function(_552){
-var _553=[];
-dojo.lang.forEach(_552,function(c){
-_553.push(Math.round(c));
-});
-return _553;
-};
-var _555=function(n,_557){
-n=dojo.byId(n);
-if(!n||!n.style){
-return;
-}
-for(var s in _557){
-try{
-if(s=="opacity"){
-dojo.html.setOpacity(n,_557[s]);
-}else{
-n.style[s]=_557[s];
-}
-}
-catch(e){
-dojo.debug(e);
-}
-}
-};
-var _559=function(_55a){
-this._properties=_55a;
-this.diffs=new Array(_55a.length);
-dojo.lang.forEach(_55a,function(prop,i){
-if(dojo.lang.isFunction(prop.start)){
-prop.start=prop.start(prop,i);
-}
-if(dojo.lang.isFunction(prop.end)){
-prop.end=prop.end(prop,i);
-}
-if(dojo.lang.isArray(prop.start)){
-this.diffs[i]=null;
-}else{
-if(prop.start instanceof dojo.gfx.color.Color){
-prop.startRgb=prop.start.toRgb();
-prop.endRgb=prop.end.toRgb();
-}else{
-this.diffs[i]=prop.end-prop.start;
-}
-}
-},this);
-this.getValue=function(n){
-var ret={};
-dojo.lang.forEach(this._properties,function(prop,i){
-var _561=null;
-if(dojo.lang.isArray(prop.start)){
-}else{
-if(prop.start instanceof dojo.gfx.color.Color){
-_561=(prop.units||"rgb")+"(";
-for(var j=0;j3){
-_5d6.pop();
-}
-var rgb=new dojo.gfx.color.Color(_5d0);
-var _5db=new dojo.gfx.color.Color(_5d6);
-var anim=dojo.lfx.propertyAnimation(node,{"background-color":{start:rgb,end:_5db}},_5d1,_5d2,{"beforeBegin":function(){
-if(_5d8){
-node.style.backgroundImage="none";
-}
-node.style.backgroundColor="rgb("+rgb.toRgb().join(",")+")";
-},"onEnd":function(){
-if(_5d8){
-node.style.backgroundImage=_5d8;
-}
-if(_5d9){
-node.style.backgroundColor="transparent";
-}
-if(_5d3){
-_5d3(node,anim);
-}
-}});
-_5d4.push(anim);
-});
-return dojo.lfx.combine(_5d4);
-};
-dojo.lfx.html.unhighlight=function(_5dd,_5de,_5df,_5e0,_5e1){
-_5dd=dojo.lfx.html._byId(_5dd);
-var _5e2=[];
-dojo.lang.forEach(_5dd,function(node){
-var _5e4=new dojo.gfx.color.Color(dojo.html.getBackgroundColor(node));
-var rgb=new dojo.gfx.color.Color(_5de);
-var _5e6=dojo.html.getStyle(node,"background-image");
-var anim=dojo.lfx.propertyAnimation(node,{"background-color":{start:_5e4,end:rgb}},_5df,_5e0,{"beforeBegin":function(){
-if(_5e6){
-node.style.backgroundImage="none";
-}
-node.style.backgroundColor="rgb("+_5e4.toRgb().join(",")+")";
-},"onEnd":function(){
-if(_5e1){
-_5e1(node,anim);
-}
-}});
-_5e2.push(anim);
-});
-return dojo.lfx.combine(_5e2);
-};
-dojo.lang.mixin(dojo.lfx,dojo.lfx.html);
-dojo.provide("dojo.lfx.*");
-
diff --git a/source/web/scripts/ajax/dojo/dojo.js.uncompressed.js b/source/web/scripts/ajax/dojo/dojo.js.uncompressed.js
deleted file mode 100644
index 764357e5ba..0000000000
--- a/source/web/scripts/ajax/dojo/dojo.js.uncompressed.js
+++ /dev/null
@@ -1,9694 +0,0 @@
-if(typeof dojo == "undefined"){
-
-/**
-* @file bootstrap1.js
-*
-* summary: First file that is loaded that 'bootstraps' the entire dojo library suite.
-* note: Must run before hostenv_*.js file.
-*
-* @author Copyright 2004 Mark D. Anderson (mda@discerning.com)
-* TODOC: should the copyright be changed to Dojo Foundation?
-* @license Licensed under the Academic Free License 2.1 http://www.opensource.org/licenses/afl-2.1.php
-*
-* $Id: bootstrap1.js 6824 2006-12-06 09:34:32Z alex $
-*/
-
-// TODOC: HOW TO DOC THE BELOW?
-// @global: djConfig
-// summary:
-// Application code can set the global 'djConfig' prior to loading
-// the library to override certain global settings for how dojo works.
-// description: The variables that can be set are as follows:
-// - isDebug: false
-// - allowQueryConfig: false
-// - baseScriptUri: ""
-// - baseRelativePath: ""
-// - libraryScriptUri: ""
-// - iePreventClobber: false
-// - ieClobberMinimal: true
-// - locale: undefined
-// - extraLocale: undefined
-// - preventBackButtonFix: true
-// - searchIds: []
-// - parseWidgets: true
-// TODOC: HOW TO DOC THESE VARIABLES?
-// TODOC: IS THIS A COMPLETE LIST?
-// note:
-// 'djConfig' does not exist under 'dojo.*' so that it can be set before the
-// 'dojo' variable exists.
-// note:
-// Setting any of these variables *after* the library has loaded does nothing at all.
-// TODOC: is this still true? Release notes for 0.3 indicated they could be set after load.
-//
-
-
-//TODOC: HOW TO DOC THIS?
-// @global: dj_global
-// summary:
-// an alias for the top-level global object in the host environment
-// (e.g., the window object in a browser).
-// description:
-// Refer to 'dj_global' rather than referring to window to ensure your
-// code runs correctly in contexts other than web browsers (eg: Rhino on a server).
-var dj_global = this;
-
-//TODOC: HOW TO DOC THIS?
-// @global: dj_currentContext
-// summary:
-// Private global context object. Where 'dj_global' always refers to the boot-time
-// global context, 'dj_currentContext' can be modified for temporary context shifting.
-// dojo.global() returns dj_currentContext.
-// description:
-// Refer to dojo.global() rather than referring to dj_global to ensure your
-// code runs correctly in managed contexts.
-var dj_currentContext = this;
-
-
-// ****************************************************************
-// global public utils
-// TODOC: DO WE WANT TO NOTE THAT THESE ARE GLOBAL PUBLIC UTILS?
-// ****************************************************************
-
-function dj_undef(/*String*/ name, /*Object?*/ object){
- //summary: Returns true if 'name' is defined on 'object' (or globally if 'object' is null).
- //description: Note that 'defined' and 'exists' are not the same concept.
- return (typeof (object || dj_currentContext)[name] == "undefined"); // Boolean
-}
-
-// make sure djConfig is defined
-if(dj_undef("djConfig", this)){
- var djConfig = {};
-}
-
-//TODOC: HOW TO DOC THIS?
-// dojo is the root variable of (almost all) our public symbols -- make sure it is defined.
-if(dj_undef("dojo", this)){
- var dojo = {};
-}
-
-dojo.global = function(){
- // summary:
- // return the current global context object
- // (e.g., the window object in a browser).
- // description:
- // Refer to 'dojo.global()' rather than referring to window to ensure your
- // code runs correctly in contexts other than web browsers (eg: Rhino on a server).
- return dj_currentContext;
-}
-
-// Override locale setting, if specified
-dojo.locale = djConfig.locale;
-
-//TODOC: HOW TO DOC THIS?
-dojo.version = {
- // summary: version number of this instance of dojo.
- major: 0, minor: 4, patch: 1, flag: "",
- revision: Number("$Rev: 6824 $".match(/[0-9]+/)[0]),
- toString: function(){
- with(dojo.version){
- return major + "." + minor + "." + patch + flag + " (" + revision + ")"; // String
- }
- }
-}
-
-dojo.evalProp = function(/*String*/ name, /*Object*/ object, /*Boolean?*/ create){
- // summary: Returns 'object[name]'. If not defined and 'create' is true, will return a new Object.
- // description:
- // Returns null if 'object[name]' is not defined and 'create' is not true.
- // Note: 'defined' and 'exists' are not the same concept.
- if((!object)||(!name)) return undefined; // undefined
- if(!dj_undef(name, object)) return object[name]; // mixed
- return (create ? (object[name]={}) : undefined); // mixed
-}
-
-dojo.parseObjPath = function(/*String*/ path, /*Object?*/ context, /*Boolean?*/ create){
- // summary: Parse string path to an object, and return corresponding object reference and property name.
- // description:
- // Returns an object with two properties, 'obj' and 'prop'.
- // 'obj[prop]' is the reference indicated by 'path'.
- // path: Path to an object, in the form "A.B.C".
- // context: Object to use as root of path. Defaults to 'dojo.global()'.
- // create: If true, Objects will be created at any point along the 'path' that is undefined.
- var object = (context || dojo.global());
- var names = path.split('.');
- var prop = names.pop();
- for (var i=0,l=names.length;i 1) {
- dh.modulesLoadedListeners.push(function() {
- obj[functionName]();
- });
- }
-
- //Added for xdomain loading. dojo.addOnLoad is used to
- //indicate callbacks after doing some dojo.require() statements.
- //In the xdomain case, if all the requires are loaded (after initial
- //page load), then immediately call any listeners.
- if(dh.post_load_ && dh.inFlightCount == 0 && !dh.loadNotifying){
- dh.callLoaded();
- }
-}
-
-dojo.addOnUnload = function(/*Object?*/obj, /*String|Function?*/functionName){
-// summary: registers a function to be triggered when the page unloads
-//
-// usage:
-// dojo.addOnLoad(functionPointer)
-// dojo.addOnLoad(object, "functionName")
- var dh = dojo.hostenv;
- if(arguments.length == 1){
- dh.unloadListeners.push(obj);
- } else if(arguments.length > 1) {
- dh.unloadListeners.push(function() {
- obj[functionName]();
- });
- }
-}
-
-dojo.hostenv.modulesLoaded = function(){
- if(this.post_load_){ return; }
- if(this.loadUriStack.length==0 && this.getTextStack.length==0){
- if(this.inFlightCount > 0){
- dojo.debug("files still in flight!");
- return;
- }
- dojo.hostenv.callLoaded();
- }
-}
-
-dojo.hostenv.callLoaded = function(){
- if(typeof setTimeout == "object"){
- setTimeout("dojo.hostenv.loaded();", 0);
- }else{
- dojo.hostenv.loaded();
- }
-}
-
-dojo.hostenv.getModuleSymbols = function(/*String*/modulename){
-// summary:
-// Converts a module name in dotted JS notation to an array representing the path in the source tree
- var syms = modulename.split(".");
- for(var i = syms.length; i>0; i--){
- var parentModule = syms.slice(0, i).join(".");
- if((i==1) && !this.moduleHasPrefix(parentModule)){
- // Support default module directory (sibling of dojo) for top-level modules
- syms[0] = "../" + syms[0];
- }else{
- var parentModulePath = this.getModulePrefix(parentModule);
- if(parentModulePath != parentModule){
- syms.splice(0, i, parentModulePath);
- break;
- }
- }
- }
- return syms; // Array
-}
-
-dojo.hostenv._global_omit_module_check = false;
-dojo.hostenv.loadModule = function(/*String*/moduleName, /*Boolean?*/exactOnly, /*Boolean?*/omitModuleCheck){
-// summary:
-// loads a Javascript module from the appropriate URI
-//
-// description:
-// loadModule("A.B") first checks to see if symbol A.B is defined.
-// If it is, it is simply returned (nothing to do).
-//
-// If it is not defined, it will look for "A/B.js" in the script root directory,
-// followed by "A.js".
-//
-// It throws if it cannot find a file to load, or if the symbol A.B is not
-// defined after loading.
-//
-// It returns the object A.B.
-//
-// This does nothing about importing symbols into the current package.
-// It is presumed that the caller will take care of that. For example, to import
-// all symbols:
-//
-// with (dojo.hostenv.loadModule("A.B")) {
-// ...
-// }
-//
-// And to import just the leaf symbol:
-//
-// var B = dojo.hostenv.loadModule("A.B");
-// ...
-//
-// dj_load is an alias for dojo.hostenv.loadModule
-
- if(!moduleName){ return; }
- omitModuleCheck = this._global_omit_module_check || omitModuleCheck;
- var module = this.findModule(moduleName, false);
- if(module){
- return module;
- }
-
- // protect against infinite recursion from mutual dependencies
- if(dj_undef(moduleName, this.loading_modules_)){
- this.addedToLoadingCount.push(moduleName);
- }
- this.loading_modules_[moduleName] = 1;
-
- // convert periods to slashes
- var relpath = moduleName.replace(/\./g, '/') + '.js';
-
- var nsyms = moduleName.split(".");
-
- // this line allowed loading of a module manifest as if it were a namespace
- // it's an interesting idea, but shouldn't be combined with 'namespaces' proper
- // and leads to unwanted dependencies
- // the effect can be achieved in other (albeit less-flexible) ways now, so I am
- // removing this pending further design work
- // perhaps we can explicitly define this idea of a 'module manifest', and subclass
- // 'namespace manifest' from that
- //dojo.getNamespace(nsyms[0]);
-
- var syms = this.getModuleSymbols(moduleName);
- var startedRelative = ((syms[0].charAt(0) != '/') && !syms[0].match(/^\w+:/));
- var last = syms[syms.length - 1];
- var ok;
- // figure out if we're looking for a full package, if so, we want to do
- // things slightly diffrently
- if(last=="*"){
- moduleName = nsyms.slice(0, -1).join('.');
- while(syms.length){
- syms.pop();
- syms.push(this.pkgFileName);
- relpath = syms.join("/") + '.js';
- if(startedRelative && relpath.charAt(0)=="/"){
- relpath = relpath.slice(1);
- }
- ok = this.loadPath(relpath, !omitModuleCheck ? moduleName : null);
- if(ok){ break; }
- syms.pop();
- }
- }else{
- relpath = syms.join("/") + '.js';
- moduleName = nsyms.join('.');
- var modArg = !omitModuleCheck ? moduleName : null;
- ok = this.loadPath(relpath, modArg);
- if(!ok && !exactOnly){
- syms.pop();
- while(syms.length){
- relpath = syms.join('/') + '.js';
- ok = this.loadPath(relpath, modArg);
- if(ok){ break; }
- syms.pop();
- relpath = syms.join('/') + '/'+this.pkgFileName+'.js';
- if(startedRelative && relpath.charAt(0)=="/"){
- relpath = relpath.slice(1);
- }
- ok = this.loadPath(relpath, modArg);
- if(ok){ break; }
- }
- }
-
- if(!ok && !omitModuleCheck){
- dojo.raise("Could not load '" + moduleName + "'; last tried '" + relpath + "'");
- }
- }
-
- // check that the symbol was defined
- //Don't bother if we're doing xdomain (asynchronous) loading.
- if(!omitModuleCheck && !this["isXDomain"]){
- // pass in false so we can give better error
- module = this.findModule(moduleName, false);
- if(!module){
- dojo.raise("symbol '" + moduleName + "' is not defined after loading '" + relpath + "'");
- }
- }
-
- return module;
-}
-
-dojo.hostenv.startPackage = function(/*String*/packageName){
-// summary:
-// Creates a JavaScript package
-//
-// description:
-// startPackage("A.B") follows the path, and at each level creates a new empty
-// object or uses what already exists. It returns the result.
-//
-// packageName: the package to be created as a String in dot notation
-
- //Make sure we have a string.
- var fullPkgName = String(packageName);
- var strippedPkgName = fullPkgName;
-
- var syms = packageName.split(/\./);
- if(syms[syms.length-1]=="*"){
- syms.pop();
- strippedPkgName = syms.join(".");
- }
- var evaledPkg = dojo.evalObjPath(strippedPkgName, true);
- this.loaded_modules_[fullPkgName] = evaledPkg;
- this.loaded_modules_[strippedPkgName] = evaledPkg;
-
- return evaledPkg; // Object
-}
-
-dojo.hostenv.findModule = function(/*String*/moduleName, /*Boolean?*/mustExist){
-// summary:
-// Returns the Object representing the module, if it exists, otherwise null.
-//
-// moduleName A fully qualified module including package name, like 'A.B'.
-// mustExist Optional, default false. throw instead of returning null
-// if the module does not currently exist.
-
- var lmn = String(moduleName);
-
- if(this.loaded_modules_[lmn]){
- return this.loaded_modules_[lmn]; // Object
- }
-
- if(mustExist){
- dojo.raise("no loaded module named '" + moduleName + "'");
- }
- return null; // null
-}
-
-//Start of old bootstrap2:
-
-dojo.kwCompoundRequire = function(/*Object containing Arrays*/modMap){
-// description:
-// This method taks a "map" of arrays which one can use to optionally load dojo
-// modules. The map is indexed by the possible dojo.hostenv.name_ values, with
-// two additional values: "default" and "common". The items in the "default"
-// array will be loaded if none of the other items have been choosen based on
-// the hostenv.name_ item. The items in the "common" array will _always_ be
-// loaded, regardless of which list is chosen. Here's how it's normally
-// called:
-//
-// dojo.kwCompoundRequire({
-// browser: [
-// ["foo.bar.baz", true, true], // an example that passes multiple args to loadModule()
-// "foo.sample.*",
-// "foo.test,
-// ],
-// default: [ "foo.sample.*" ],
-// common: [ "really.important.module.*" ]
-// });
-
- var common = modMap["common"]||[];
- var result = modMap[dojo.hostenv.name_] ? common.concat(modMap[dojo.hostenv.name_]||[]) : common.concat(modMap["default"]||[]);
-
- for(var x=0; x,
- // relative to Dojo root. For example, module acme is mapped to ../acme.
- // If you want to use a different module name, use dojo.registerModulePath.
- return dojo.hostenv.setModulePrefix(module, prefix);
-}
-
-dojo.setModulePrefix = function(/*String*/module, /*String*/prefix){
- // summary: maps a module name to a path
- dojo.deprecated('dojo.setModulePrefix("' + module + '", "' + prefix + '")', "replaced by dojo.registerModulePath", "0.5");
- return dojo.registerModulePath(module, prefix);
-}
-
-dojo.exists = function(/*Object*/obj, /*String*/name){
- // summary: determine if an object supports a given method
- // description: useful for longer api chains where you have to test each object in the chain
- var p = name.split(".");
- for(var i = 0; i < p.length; i++){
- if(!obj[p[i]]){ return false; } // Boolean
- obj = obj[p[i]];
- }
- return true; // Boolean
-}
-
-// Localization routines
-
-dojo.hostenv.normalizeLocale = function(/*String?*/locale){
-// summary:
-// Returns canonical form of locale, as used by Dojo. All variants are case-insensitive and are separated by '-'
-// as specified in RFC 3066. If no locale is specified, the user agent's default is returned.
-
- var result = locale ? locale.toLowerCase() : dojo.locale;
- if(result == "root"){
- result = "ROOT";
- }
- return result;// String
-};
-
-dojo.hostenv.searchLocalePath = function(/*String*/locale, /*Boolean*/down, /*Function*/searchFunc){
-// summary:
-// A helper method to assist in searching for locale-based resources. Will iterate through
-// the variants of a particular locale, either up or down, executing a callback function.
-// For example, "en-us" and true will try "en-us" followed by "en" and finally "ROOT".
-
- locale = dojo.hostenv.normalizeLocale(locale);
-
- var elements = locale.split('-');
- var searchlist = [];
- for(var i = elements.length; i > 0; i--){
- searchlist.push(elements.slice(0, i).join('-'));
- }
- searchlist.push(false);
- if(down){searchlist.reverse();}
-
- for(var j = searchlist.length - 1; j >= 0; j--){
- var loc = searchlist[j] || "ROOT";
- var stop = searchFunc(loc);
- if(stop){ break; }
- }
-}
-
-//These two functions are placed outside of preloadLocalizations
-//So that the xd loading can use/override them.
-dojo.hostenv.localesGenerated /***BUILD:localesGenerated***/; // value will be inserted here at build time, if necessary
-
-dojo.hostenv.registerNlsPrefix = function(){
-// summary:
-// Register module "nls" to point where Dojo can find pre-built localization files
- dojo.registerModulePath("nls","nls");
-}
-
-dojo.hostenv.preloadLocalizations = function(){
-// summary:
-// Load built, flattened resource bundles, if available for all locales used in the page.
-// Execute only once. Note that this is a no-op unless there is a build.
-
- if(dojo.hostenv.localesGenerated){
- dojo.hostenv.registerNlsPrefix();
-
- function preload(locale){
- locale = dojo.hostenv.normalizeLocale(locale);
- dojo.hostenv.searchLocalePath(locale, true, function(loc){
- for(var i=0; i bestLocale.length){
- bestLocale = flatLocales[i];
- }
- }
- }
- if(!bestLocale){
- bestLocale = "ROOT";
- }
- }
-
- //See if the desired locale is already loaded.
- var tempLocale = availableFlatLocales ? bestLocale : targetLocale;
- var bundle = dojo.hostenv.findModule(bundlePackage);
- var localizedBundle = null;
- if(bundle){
- if(djConfig.localizationComplete && bundle._built){return;}
- var jsLoc = tempLocale.replace('-', '_');
- var translationPackage = bundlePackage+"."+jsLoc;
- localizedBundle = dojo.hostenv.findModule(translationPackage);
- }
-
- if(!localizedBundle){
- bundle = dojo.hostenv.startPackage(bundlePackage);
- var syms = dojo.hostenv.getModuleSymbols(moduleName);
- var modpath = syms.concat("nls").join("/");
- var parent;
-
- dojo.hostenv.searchLocalePath(tempLocale, availableFlatLocales, function(loc){
- var jsLoc = loc.replace('-', '_');
- var translationPackage = bundlePackage + "." + jsLoc;
- var loaded = false;
- if(!dojo.hostenv.findModule(translationPackage)){
- // Mark loaded whether it's found or not, so that further load attempts will not be made
- dojo.hostenv.startPackage(translationPackage);
- var module = [modpath];
- if(loc != "ROOT"){module.push(loc);}
- module.push(bundleName);
- var filespec = module.join("/") + '.js';
- loaded = dojo.hostenv.loadPath(filespec, null, function(hash){
- // Use singleton with prototype to point to parent bundle, then mix-in result from loadPath
- var clazz = function(){};
- clazz.prototype = parent;
- bundle[jsLoc] = new clazz();
- for(var j in hash){ bundle[jsLoc][j] = hash[j]; }
- });
- }else{
- loaded = true;
- }
- if(loaded && bundle[jsLoc]){
- parent = bundle[jsLoc];
- }else{
- bundle[jsLoc] = parent;
- }
-
- if(availableFlatLocales){
- //Stop the locale path searching if we know the availableFlatLocales, since
- //the first call to this function will load the only bundle that is needed.
- return true;
- }
- });
- }
-
- //Save the best locale bundle as the target locale bundle when we know the
- //the available bundles.
- if(availableFlatLocales && targetLocale != bestLocale){
- bundle[targetLocale.replace('-', '_')] = bundle[bestLocale.replace('-', '_')];
- }
-};
-
-(function(){
- // If other locales are used, dojo.requireLocalization should load them as well, by default.
- // Override dojo.requireLocalization to do load the default bundle, then iterate through the
- // extraLocale list and load those translations as well, unless a particular locale was requested.
-
- var extra = djConfig.extraLocale;
- if(extra){
- if(!extra instanceof Array){
- extra = [extra];
- }
-
- var req = dojo.requireLocalization;
- dojo.requireLocalization = function(m, b, locale, availableFlatLocales){
- req(m,b,locale, availableFlatLocales);
- if(locale){return;}
- for(var i=0; i 1){
- var paramStr = params[1];
- var pairs = paramStr.split("&");
- for(var x in pairs){
- var sp = pairs[x].split("=");
- // FIXME: is this eval dangerous?
- if((sp[0].length > 9)&&(sp[0].substr(0, 9) == "djConfig.")){
- var opt = sp[0].substr(9);
- try{
- djConfig[opt]=eval(sp[1]);
- }catch(e){
- djConfig[opt]=sp[1];
- }
- }
- }
- }
- }
-
- if(
- ((djConfig["baseScriptUri"] == "")||(djConfig["baseRelativePath"] == "")) &&
- (document && document.getElementsByTagName)
- ){
- var scripts = document.getElementsByTagName("script");
- var rePkg = /(__package__|dojo|bootstrap1)\.js([\?\.]|$)/i;
- for(var i = 0; i < scripts.length; i++) {
- var src = scripts[i].getAttribute("src");
- if(!src) { continue; }
- var m = src.match(rePkg);
- if(m) {
- var root = src.substring(0, m.index);
- if(src.indexOf("bootstrap1") > -1) { root += "../"; }
- if(!this["djConfig"]) { djConfig = {}; }
- if(djConfig["baseScriptUri"] == "") { djConfig["baseScriptUri"] = root; }
- if(djConfig["baseRelativePath"] == "") { djConfig["baseRelativePath"] = root; }
- break;
- }
- }
- }
-
- // fill in the rendering support information in dojo.render.*
- var dr = dojo.render;
- var drh = dojo.render.html;
- var drs = dojo.render.svg;
- var dua = (drh.UA = navigator.userAgent);
- var dav = (drh.AV = navigator.appVersion);
- var t = true;
- var f = false;
- drh.capable = t;
- drh.support.builtin = t;
-
- dr.ver = parseFloat(drh.AV);
- dr.os.mac = dav.indexOf("Macintosh") >= 0;
- dr.os.win = dav.indexOf("Windows") >= 0;
- // could also be Solaris or something, but it's the same browser
- dr.os.linux = dav.indexOf("X11") >= 0;
-
- drh.opera = dua.indexOf("Opera") >= 0;
- drh.khtml = (dav.indexOf("Konqueror") >= 0)||(dav.indexOf("Safari") >= 0);
- drh.safari = dav.indexOf("Safari") >= 0;
- var geckoPos = dua.indexOf("Gecko");
- drh.mozilla = drh.moz = (geckoPos >= 0)&&(!drh.khtml);
- if (drh.mozilla) {
- // gecko version is YYYYMMDD
- drh.geckoVersion = dua.substring(geckoPos + 6, geckoPos + 14);
- }
- drh.ie = (document.all)&&(!drh.opera);
- drh.ie50 = drh.ie && dav.indexOf("MSIE 5.0")>=0;
- drh.ie55 = drh.ie && dav.indexOf("MSIE 5.5")>=0;
- drh.ie60 = drh.ie && dav.indexOf("MSIE 6.0")>=0;
- drh.ie70 = drh.ie && dav.indexOf("MSIE 7.0")>=0;
-
- var cm = document["compatMode"];
- drh.quirks = (cm == "BackCompat")||(cm == "QuirksMode")||drh.ie55||drh.ie50;
-
- // TODO: is the HTML LANG attribute relevant?
- dojo.locale = dojo.locale || (drh.ie ? navigator.userLanguage : navigator.language).toLowerCase();
-
- dr.vml.capable=drh.ie;
- drs.capable = f;
- drs.support.plugin = f;
- drs.support.builtin = f;
- var tdoc = window["document"];
- var tdi = tdoc["implementation"];
-
- if((tdi)&&(tdi["hasFeature"])&&(tdi.hasFeature("org.w3c.dom.svg", "1.0"))){
- drs.capable = t;
- drs.support.builtin = t;
- drs.support.plugin = f;
- }
- // webkits after 420 support SVG natively. The test string is "AppleWebKit/420+"
- if(drh.safari){
- var tmp = dua.split("AppleWebKit/")[1];
- var ver = parseFloat(tmp.split(" ")[0]);
- if(ver >= 420){
- drs.capable = t;
- drs.support.builtin = t;
- drs.support.plugin = f;
- }
- }else{
- }
- })();
-
- dojo.hostenv.startPackage("dojo.hostenv");
-
- dojo.render.name = dojo.hostenv.name_ = 'browser';
- dojo.hostenv.searchIds = [];
-
- // These are in order of decreasing likelihood; this will change in time.
- dojo.hostenv._XMLHTTP_PROGIDS = ['Msxml2.XMLHTTP', 'Microsoft.XMLHTTP', 'Msxml2.XMLHTTP.4.0'];
-
- dojo.hostenv.getXmlhttpObject = function(){
- // summary: does the work of portably generating a new XMLHTTPRequest object.
- var http = null;
- var last_e = null;
- try{ http = new XMLHttpRequest(); }catch(e){}
- if(!http){
- for(var i=0; i<3; ++i){
- var progid = dojo.hostenv._XMLHTTP_PROGIDS[i];
- try{
- http = new ActiveXObject(progid);
- }catch(e){
- last_e = e;
- }
-
- if(http){
- dojo.hostenv._XMLHTTP_PROGIDS = [progid]; // so faster next time
- break;
- }
- }
-
- /*if(http && !http.toString) {
- http.toString = function() { "[object XMLHttpRequest]"; }
- }*/
- }
-
- if(!http){
- return dojo.raise("XMLHTTP not available", last_e);
- }
-
- return http; // XMLHTTPRequest instance
- }
-
- dojo.hostenv._blockAsync = false;
- dojo.hostenv.getText = function(uri, async_cb, fail_ok){
- // summary: Read the contents of the specified uri and return those contents.
- // uri:
- // A relative or absolute uri. If absolute, it still must be in
- // the same "domain" as we are.
- // async_cb:
- // If not specified, load synchronously. If specified, load
- // asynchronously, and use async_cb as the progress handler which
- // takes the xmlhttp object as its argument. If async_cb, this
- // function returns null.
- // fail_ok:
- // Default false. If fail_ok and !async_cb and loading fails,
- // return null instead of throwing.
-
- // need to block async callbacks from snatching this thread as the result
- // of an async callback might call another sync XHR, this hangs khtml forever
- // hostenv._blockAsync must also be checked in BrowserIO's watchInFlight()
- // NOTE: must be declared before scope switches ie. this.getXmlhttpObject()
- if(!async_cb){ this._blockAsync = true; }
-
- var http = this.getXmlhttpObject();
-
- function isDocumentOk(http){
- var stat = http["status"];
- // allow a 304 use cache, needed in konq (is this compliant with the http spec?)
- return Boolean((!stat)||((200 <= stat)&&(300 > stat))||(stat==304));
- }
-
- if(async_cb){
- var _this = this, timer = null, gbl = dojo.global();
- var xhr = dojo.evalObjPath("dojo.io.XMLHTTPTransport");
- http.onreadystatechange = function(){
- if(timer){ gbl.clearTimeout(timer); timer = null; }
- if(_this._blockAsync || (xhr && xhr._blockAsync)){
- timer = gbl.setTimeout(function () { http.onreadystatechange.apply(this); }, 10);
- }else{
- if(4==http.readyState){
- if(isDocumentOk(http)){
- // dojo.debug("LOADED URI: "+uri);
- async_cb(http.responseText);
- }
- }
- }
- }
- }
-
- http.open('GET', uri, async_cb ? true : false);
- try{
- http.send(null);
- if(async_cb){
- return null;
- }
- if(!isDocumentOk(http)){
- var err = Error("Unable to load "+uri+" status:"+ http.status);
- err.status = http.status;
- err.responseText = http.responseText;
- throw err;
- }
- }catch(e){
- this._blockAsync = false;
- if((fail_ok)&&(!async_cb)){
- return null;
- }else{
- throw e;
- }
- }
-
- this._blockAsync = false;
- return http.responseText; // String
- }
-
- dojo.hostenv.defaultDebugContainerId = 'dojoDebug';
- dojo.hostenv._println_buffer = [];
- dojo.hostenv._println_safe = false;
- dojo.hostenv.println = function(/*String*/line){
- // summary:
- // prints the provided line to whatever logging container is
- // available. If the page isn't loaded yet, the line may be added
- // to a buffer for printing later.
- if(!dojo.hostenv._println_safe){
- dojo.hostenv._println_buffer.push(line);
- }else{
- try {
- var console = document.getElementById(djConfig.debugContainerId ?
- djConfig.debugContainerId : dojo.hostenv.defaultDebugContainerId);
- if(!console) { console = dojo.body(); }
-
- var div = document.createElement("div");
- div.appendChild(document.createTextNode(line));
- console.appendChild(div);
- } catch (e) {
- try{
- // safari needs the output wrapped in an element for some reason
- document.write("
" + line + "
");
- }catch(e2){
- window.status = line;
- }
- }
- }
- }
-
- dojo.addOnLoad(function(){
- dojo.hostenv._println_safe = true;
- while(dojo.hostenv._println_buffer.length > 0){
- dojo.hostenv.println(dojo.hostenv._println_buffer.shift());
- }
- });
-
- function dj_addNodeEvtHdlr(/*DomNode*/node, /*String*/evtName, /*Function*/fp){
- // summary:
- // non-destructively adds the specified function to the node's
- // evtName handler.
- // node: the DomNode to add the handler to
- // evtName: should be in the form "click" for "onclick" handlers
- var oldHandler = node["on"+evtName] || function(){};
- node["on"+evtName] = function(){
- fp.apply(node, arguments);
- oldHandler.apply(node, arguments);
- }
- return true;
- }
-
- // BEGIN DOMContentLoaded, from Dean Edwards (http://dean.edwards.name/weblog/2006/06/again/)
- function dj_load_init(e){
- // allow multiple calls, only first one will take effect
- // A bug in khtml calls events callbacks for document for event which isnt supported
- // for example a created contextmenu event calls DOMContentLoaded, workaround
- var type = (e && e.type) ? e.type.toLowerCase() : "load";
- if(arguments.callee.initialized || (type!="domcontentloaded" && type!="load")){ return; }
- arguments.callee.initialized = true;
- if(typeof(_timer) != 'undefined'){
- clearInterval(_timer);
- delete _timer;
- }
-
- var initFunc = function(){
- //perform initialization
- if(dojo.render.html.ie){
- dojo.hostenv.makeWidgets();
- }
- };
-
- if(dojo.hostenv.inFlightCount == 0){
- initFunc();
- dojo.hostenv.modulesLoaded();
- }else{
- //This else case should be xdomain loading.
- //Make sure this is the first thing in the load listener array.
- //Part of the dojo.addOnLoad guarantee is that when the listeners are notified,
- //It means the DOM (or page) has loaded and that widgets have been parsed.
- dojo.hostenv.modulesLoadedListeners.unshift(initFunc);
- }
- }
-
- // START DOMContentLoaded
- // Mozilla and Opera 9 expose the event we could use
- if(document.addEventListener){
- if(dojo.render.html.opera || (dojo.render.html.moz && !djConfig.delayMozLoadingFix)){
- document.addEventListener("DOMContentLoaded", dj_load_init, null);
- }
-
- // mainly for Opera 8.5, won't be fired if DOMContentLoaded fired already.
- // also used for Mozilla because of trac #1640
- window.addEventListener("load", dj_load_init, null);
- }
-
- // for Internet Explorer. readyState will not be achieved on init call, but dojo doesn't need it
- // however, we'll include it because we don't know if there are other functions added that might.
- // Note that this has changed because the build process strips all comments--including conditional
- // ones.
- if(dojo.render.html.ie && dojo.render.os.win){
- document.attachEvent("onreadystatechange", function(e){
- if(document.readyState == "complete"){
- dj_load_init();
- }
- });
- }
-
- if (/(WebKit|khtml)/i.test(navigator.userAgent)) { // sniff
- var _timer = setInterval(function() {
- if (/loaded|complete/.test(document.readyState)) {
- dj_load_init(); // call the onload handler
- }
- }, 10);
- }
- // END DOMContentLoaded
-
- // IE WebControl hosted in an application can fire "beforeunload" and "unload"
- // events when control visibility changes, causing Dojo to unload too soon. The
- // following code fixes the problem
- // Reference: http://support.microsoft.com/default.aspx?scid=kb;en-us;199155
- if(dojo.render.html.ie){
- dj_addNodeEvtHdlr(window, "beforeunload", function(){
- dojo.hostenv._unloading = true;
- window.setTimeout(function() {
- dojo.hostenv._unloading = false;
- }, 0);
- });
- }
-
- dj_addNodeEvtHdlr(window, "unload", function(){
- dojo.hostenv.unloaded();
- if((!dojo.render.html.ie)||(dojo.render.html.ie && dojo.hostenv._unloading)){
- dojo.hostenv.unloaded();
- }
- });
-
- dojo.hostenv.makeWidgets = function(){
- // you can put searchIds in djConfig and dojo.hostenv at the moment
- // we should probably eventually move to one or the other
- var sids = [];
- if(djConfig.searchIds && djConfig.searchIds.length > 0) {
- sids = sids.concat(djConfig.searchIds);
- }
- if(dojo.hostenv.searchIds && dojo.hostenv.searchIds.length > 0) {
- sids = sids.concat(dojo.hostenv.searchIds);
- }
-
- if((djConfig.parseWidgets)||(sids.length > 0)){
- if(dojo.evalObjPath("dojo.widget.Parse")){
- // we must do this on a delay to avoid:
- // http://www.shaftek.org/blog/archives/000212.html
- // (IE bug)
- var parser = new dojo.xml.Parse();
- if(sids.length > 0){
- for(var x=0; x");
- } catch (e) {
- var script = document.createElement("script");
- script.src = spath;
- document.getElementsByTagName("head")[0].appendChild(script);
- }
- }
- }
-})();
-
-dojo.provide("dojo.string.common");
-
-dojo.string.trim = function(/* string */str, /* integer? */wh){
- // summary
- // Trim whitespace from str. If wh > 0, trim from start, if wh < 0, trim from end, else both
- if(!str.replace){ return str; }
- if(!str.length){ return str; }
- var re = (wh > 0) ? (/^\s+/) : (wh < 0) ? (/\s+$/) : (/^\s+|\s+$/g);
- return str.replace(re, ""); // string
-}
-
-dojo.string.trimStart = function(/* string */str) {
- // summary
- // Trim whitespace at the beginning of 'str'
- return dojo.string.trim(str, 1); // string
-}
-
-dojo.string.trimEnd = function(/* string */str) {
- // summary
- // Trim whitespace at the end of 'str'
- return dojo.string.trim(str, -1);
-}
-
-dojo.string.repeat = function(/* string */str, /* integer */count, /* string? */separator) {
- // summary
- // Return 'str' repeated 'count' times, optionally placing 'separator' between each rep
- var out = "";
- for(var i = 0; i < count; i++) {
- out += str;
- if(separator && i < count - 1) {
- out += separator;
- }
- }
- return out; // string
-}
-
-dojo.string.pad = function(/* string */str, /* integer */len/*=2*/, /* string */ c/*='0'*/, /* integer */dir/*=1*/) {
- // summary
- // Pad 'str' to guarantee that it is at least 'len' length with the character 'c' at either the
- // start (dir=1) or end (dir=-1) of the string
- var out = String(str);
- if(!c) {
- c = '0';
- }
- if(!dir) {
- dir = 1;
- }
- while(out.length < len) {
- if(dir > 0) {
- out = c + out;
- } else {
- out += c;
- }
- }
- return out; // string
-}
-
-dojo.string.padLeft = function(/* string */str, /* integer */len, /* string */c) {
- // summary
- // same as dojo.string.pad(str, len, c, 1)
- return dojo.string.pad(str, len, c, 1); // string
-}
-
-dojo.string.padRight = function(/* string */str, /* integer */len, /* string */c) {
- // summary
- // same as dojo.string.pad(str, len, c, -1)
- return dojo.string.pad(str, len, c, -1); // string
-}
-
-dojo.provide("dojo.string");
-
-dojo.provide("dojo.lang.common");
-
-dojo.lang.inherits = function(/*Function*/subclass, /*Function*/superclass){
- // summary: Set up inheritance between two classes.
- if(!dojo.lang.isFunction(superclass)){
- dojo.raise("dojo.inherits: superclass argument ["+superclass+"] must be a function (subclass: ["+subclass+"']");
- }
- subclass.prototype = new superclass();
- subclass.prototype.constructor = subclass;
- subclass.superclass = superclass.prototype;
- // DEPRECATED: super is a reserved word, use 'superclass'
- subclass['super'] = superclass.prototype;
-}
-
-dojo.lang._mixin = function(/*Object*/ obj, /*Object*/ props){
- // summary:
- // Adds all properties and methods of props to obj. This addition is
- // "prototype extension safe", so that instances of objects will not
- // pass along prototype defaults.
- var tobj = {};
- for(var x in props){
- // the "tobj" condition avoid copying properties in "props"
- // inherited from Object.prototype. For example, if obj has a custom
- // toString() method, don't overwrite it with the toString() method
- // that props inherited from Object.protoype
- if((typeof tobj[x] == "undefined") || (tobj[x] != props[x])){
- obj[x] = props[x];
- }
- }
- // IE doesn't recognize custom toStrings in for..in
- if(dojo.render.html.ie
- && (typeof(props["toString"]) == "function")
- && (props["toString"] != obj["toString"])
- && (props["toString"] != tobj["toString"]))
- {
- obj.toString = props.toString;
- }
- return obj; // Object
-}
-
-dojo.lang.mixin = function(/*Object*/obj, /*Object...*/props){
- // summary: Adds all properties and methods of props to obj.
- for(var i=1, l=arguments.length; i -1; // boolean
-}
-
-/**
- * Partial implmentation of is* functions from
- * http://www.crockford.com/javascript/recommend.html
- * NOTE: some of these may not be the best thing to use in all situations
- * as they aren't part of core JS and therefore can't work in every case.
- * See WARNING messages inline for tips.
- *
- * The following is* functions are fairly "safe"
- */
-
-dojo.lang.isObject = function(/*anything*/ it){
- // summary: Return true if it is an Object, Array or Function.
- if(typeof it == "undefined"){ return false; }
- return (typeof it == "object" || it === null || dojo.lang.isArray(it) || dojo.lang.isFunction(it)); // Boolean
-}
-
-dojo.lang.isArray = function(/*anything*/ it){
- // summary: Return true if it is an Array.
- return (it && it instanceof Array || typeof it == "array"); // Boolean
-}
-
-dojo.lang.isArrayLike = function(/*anything*/ it){
- // summary:
- // Return true if it can be used as an array (i.e. is an object with
- // an integer length property).
- if((!it)||(dojo.lang.isUndefined(it))){ return false; }
- if(dojo.lang.isString(it)){ return false; }
- if(dojo.lang.isFunction(it)){ return false; } // keeps out built-in constructors (Number, String, ...) which have length properties
- if(dojo.lang.isArray(it)){ return true; }
- // form node itself is ArrayLike, but not always iterable. Use form.elements instead.
- if((it.tagName)&&(it.tagName.toLowerCase()=='form')){ return false; }
- if(dojo.lang.isNumber(it.length) && isFinite(it.length)){ return true; }
- return false; // Boolean
-}
-
-dojo.lang.isFunction = function(/*anything*/ it){
- // summary: Return true if it is a Function.
- return (it instanceof Function || typeof it == "function"); // Boolean
-};
-
-(function(){
- // webkit treats NodeList as a function, which is bad
- if((dojo.render.html.capable)&&(dojo.render.html["safari"])){
- dojo.lang.isFunction = function(/*anything*/ it){
- if((typeof(it) == "function") && (it == "[object NodeList]")) { return false; }
- return (it instanceof Function || typeof it == "function"); // Boolean
- }
- }
-})();
-
-dojo.lang.isString = function(/*anything*/ it){
- // summary: Return true if it is a String.
- return (typeof it == "string" || it instanceof String);
-}
-
-dojo.lang.isAlien = function(/*anything*/ it){
- // summary: Return true if it is not a built-in function. False if not.
- if(!it){ return false; }
- return !dojo.lang.isFunction(it) && /\{\s*\[native code\]\s*\}/.test(String(it)); // Boolean
-}
-
-dojo.lang.isBoolean = function(/*anything*/ it){
- // summary: Return true if it is a Boolean.
- return (it instanceof Boolean || typeof it == "boolean"); // Boolean
-}
-
-/**
- * The following is***() functions are somewhat "unsafe". Fortunately,
- * there are workarounds the the language provides and are mentioned
- * in the WARNING messages.
- *
- */
-dojo.lang.isNumber = function(/*anything*/ it){
- // summary: Return true if it is a number.
- // description:
- // WARNING - In most cases, isNaN(it) is sufficient to determine whether or not
- // something is a number or can be used as such. For example, a number or string
- // can be used interchangably when accessing array items (array["1"] is the same as
- // array[1]) and isNaN will return false for both values ("1" and 1). However,
- // isNumber("1") will return false, which is generally not too useful.
- // Also, isNumber(NaN) returns true, again, this isn't generally useful, but there
- // are corner cases (like when you want to make sure that two things are really
- // the same type of thing). That is really where isNumber "shines".
- //
- // Recommendation - Use isNaN(it) when possible
-
- return (it instanceof Number || typeof it == "number"); // Boolean
-}
-
-/*
- * FIXME: Should isUndefined go away since it is error prone?
- */
-dojo.lang.isUndefined = function(/*anything*/ it){
- // summary: Return true if it is not defined.
- // description:
- // WARNING - In some cases, isUndefined will not behave as you
- // might expect. If you do isUndefined(foo) and there is no earlier
- // reference to foo, an error will be thrown before isUndefined is
- // called. It behaves correctly if you scope yor object first, i.e.
- // isUndefined(foo.bar) where foo is an object and bar isn't a
- // property of the object.
- //
- // Recommendation - Use typeof foo == "undefined" when possible
-
- return ((typeof(it) == "undefined")&&(it == undefined)); // Boolean
-}
-
-// end Crockford functions
-
-dojo.provide("dojo.lang.extras");
-
-
-dojo.lang.setTimeout = function(/*Function*/func, /*int*/delay /*, ...*/){
- // summary:
- // Sets a timeout in milliseconds to execute a function in a given
- // context with optional arguments.
- // usage:
- // dojo.lang.setTimeout(Object context, function func, number delay[, arg1[, ...]]);
- // dojo.lang.setTimeout(function func, number delay[, arg1[, ...]]);
-
- var context = window, argsStart = 2;
- if(!dojo.lang.isFunction(func)){
- context = func;
- func = delay;
- delay = arguments[2];
- argsStart++;
- }
-
- if(dojo.lang.isString(func)){
- func = context[func];
- }
-
- var args = [];
- for (var i = argsStart; i < arguments.length; i++){
- args.push(arguments[i]);
- }
- return dojo.global().setTimeout(function(){ func.apply(context, args); }, delay); // int
-}
-
-dojo.lang.clearTimeout = function(/*int*/timer){
- // summary: clears timer by number from the execution queue
-
- // FIXME:
- // why do we have this function? It's not portable outside of browser
- // environments and it's a stupid wrapper on something that browsers
- // provide anyway.
- dojo.global().clearTimeout(timer);
-}
-
-dojo.lang.getNameInObj = function(/*Object*/ns, /*unknown*/item){
- // summary:
- // looks for a value in the object ns with a value matching item and
- // returns the property name
- // ns: if null, dj_global is used
- // item: value to return a name for
- if(!ns){ ns = dj_global; }
-
- for(var x in ns){
- if(ns[x] === item){
- return new String(x); // String
- }
- }
- return null; // null
-}
-
-dojo.lang.shallowCopy = function(/*Object*/obj, /*Boolean?*/deep){
- // summary:
- // copies object obj one level deep, or full depth if deep is true
- var i, ret;
-
- if(obj === null){ /*obj: null*/ return null; } // null
-
- if(dojo.lang.isObject(obj)){
- // obj: Object
- ret = new obj.constructor();
- for(i in obj){
- if(dojo.lang.isUndefined(ret[i])){
- ret[i] = deep ? dojo.lang.shallowCopy(obj[i], deep) : obj[i];
- }
- }
- }else if(dojo.lang.isArray(obj)){
- // obj: Array
- ret = [];
- for(i=0; i hacks:
- * iframe document hacks allow browsers to communicate asynchronously
- * with a server via HTTP POST and GET operations. With significant
- * effort and server cooperation, low-latency data transit between
- * client and server can be acheived via iframe mechanisms (repubsub).
- *
- * SVG:
- * Adobe's SVG viewer implements helpful primitives for XML-based
- * requests, but receipt of arbitrary text data seems unlikely w/o
- * sections.
- *
- *
- * A discussion between Dylan, Mark, Tom, and Alex helped to lay down a lot
- * the IO API interface. A transcript of it can be found at:
- * http://dojotoolkit.org/viewcvs/viewcvs.py/documents/irc/irc_io_api_log.txt?rev=307&view=auto
- *
- * Also referenced in the design of the API was the DOM 3 L&S spec:
- * http://www.w3.org/TR/2004/REC-DOM-Level-3-LS-20040407/load-save.html
- ******************************************************************************/
-
-// a map of the available transport options. Transports should add themselves
-// by calling add(name)
-dojo.io.transports = [];
-dojo.io.hdlrFuncNames = [ "load", "error", "timeout" ]; // we're omitting a progress() event for now
-
-dojo.io.Request = function(/*String*/ url, /*String*/ mimetype, /*String*/ transport, /*String or Boolean*/ changeUrl){
-// summary:
-// Constructs a Request object that is used by dojo.io.bind().
-// description:
-// dojo.io.bind() will create one of these for you if
-// you call dojo.io.bind() with an plain object containing the bind parameters.
-// This method can either take the arguments specified, or an Object containing all of the parameters that you
-// want to use to create the dojo.io.Request (similar to how dojo.io.bind() is called.
-// The named parameters to this constructor represent the minimum set of parameters need
- if((arguments.length == 1)&&(arguments[0].constructor == Object)){
- this.fromKwArgs(arguments[0]);
- }else{
- this.url = url;
- if(mimetype){ this.mimetype = mimetype; }
- if(transport){ this.transport = transport; }
- if(arguments.length >= 4){ this.changeUrl = changeUrl; }
- }
-}
-
-dojo.lang.extend(dojo.io.Request, {
-
- /** The URL to hit */
- url: "",
-
- /** The mime type used to interrpret the response body */
- mimetype: "text/plain",
-
- /** The HTTP method to use */
- method: "GET",
-
- /** An Object containing key-value pairs to be included with the request */
- content: undefined, // Object
-
- /** The transport medium to use */
- transport: undefined, // String
-
- /** If defined the URL of the page is physically changed */
- changeUrl: undefined, // String
-
- /** A form node to use in the request */
- formNode: undefined, // HTMLFormElement
-
- /** Whether the request should be made synchronously */
- sync: false,
-
- bindSuccess: false,
-
- /** Cache/look for the request in the cache before attempting to request?
- * NOTE: this isn't a browser cache, this is internal and would only cache in-page
- */
- useCache: false,
-
- /** Prevent the browser from caching this by adding a query string argument to the URL */
- preventCache: false,
-
- // events stuff
- load: function(/*String*/type, /*Object*/data, /*Object*/transportImplementation, /*Object*/kwArgs){
- // summary:
- // Called on successful completion of a bind.
- // type: String
- // A string with value "load"
- // data: Object
- // The object representing the result of the bind. The actual structure
- // of the data object will depend on the mimetype that was given to bind
- // in the bind arguments.
- // transportImplementation: Object
- // The object that implements a particular transport. Structure is depedent
- // on the transport. For XMLHTTPTransport (dojo.io.BrowserIO), it will be the
- // XMLHttpRequest object from the browser.
- // kwArgs: Object
- // Object that contains the request parameters that were given to the
- // bind call. Useful for storing and retrieving state from when bind
- // was called.
- },
- error: function(/*String*/type, /*Object*/error, /*Object*/transportImplementation, /*Object*/kwArgs){
- // summary:
- // Called when there is an error with a bind.
- // type: String
- // A string with value "error"
- // error: Object
- // The error object. Should be a dojo.io.Error object, but not guaranteed.
- // transportImplementation: Object
- // The object that implements a particular transport. Structure is depedent
- // on the transport. For XMLHTTPTransport (dojo.io.BrowserIO), it will be the
- // XMLHttpRequest object from the browser.
- // kwArgs: Object
- // Object that contains the request parameters that were given to the
- // bind call. Useful for storing and retrieving state from when bind
- // was called.
- },
- timeout: function(/*String*/type, /*Object*/empty, /*Object*/transportImplementation, /*Object*/kwArgs){
- // summary:
- // Called when there is an error with a bind. Only implemented in certain transports at this time.
- // type: String
- // A string with value "timeout"
- // empty: Object
- // Should be null. Just a spacer argument so that load, error, timeout and handle have the
- // same signatures.
- // transportImplementation: Object
- // The object that implements a particular transport. Structure is depedent
- // on the transport. For XMLHTTPTransport (dojo.io.BrowserIO), it will be the
- // XMLHttpRequest object from the browser. May be null for the timeout case for
- // some transports.
- // kwArgs: Object
- // Object that contains the request parameters that were given to the
- // bind call. Useful for storing and retrieving state from when bind
- // was called.
- },
- handle: function(/*String*/type, /*Object*/data, /*Object*/transportImplementation, /*Object*/kwArgs){
- // summary:
- // The handle method can be defined instead of defining separate load, error and timeout
- // callbacks.
- // type: String
- // A string with the type of callback: "load", "error", or "timeout".
- // data: Object
- // See the above callbacks for what this parameter could be.
- // transportImplementation: Object
- // The object that implements a particular transport. Structure is depedent
- // on the transport. For XMLHTTPTransport (dojo.io.BrowserIO), it will be the
- // XMLHttpRequest object from the browser.
- // kwArgs: Object
- // Object that contains the request parameters that were given to the
- // bind call. Useful for storing and retrieving state from when bind
- // was called.
- },
-
- //FIXME: change IframeIO.js to use timeouts?
- // The number of seconds to wait until firing a timeout callback.
- // If it is zero, that means, don't do a timeout check.
- timeoutSeconds: 0,
-
- // the abort method needs to be filled in by the transport that accepts the
- // bind() request
- abort: function(){ },
-
- // backButton: function(){ },
- // forwardButton: function(){ },
-
- fromKwArgs: function(/*Object*/ kwArgs){
- // summary:
- // Creates a dojo.io.Request from a simple object (kwArgs object).
-
- // normalize args
- if(kwArgs["url"]){ kwArgs.url = kwArgs.url.toString(); }
- if(kwArgs["formNode"]) { kwArgs.formNode = dojo.byId(kwArgs.formNode); }
- if(!kwArgs["method"] && kwArgs["formNode"] && kwArgs["formNode"].method) {
- kwArgs.method = kwArgs["formNode"].method;
- }
-
- // backwards compatibility
- if(!kwArgs["handle"] && kwArgs["handler"]){ kwArgs.handle = kwArgs.handler; }
- if(!kwArgs["load"] && kwArgs["loaded"]){ kwArgs.load = kwArgs.loaded; }
- if(!kwArgs["changeUrl"] && kwArgs["changeURL"]) { kwArgs.changeUrl = kwArgs.changeURL; }
-
- // encoding fun!
- kwArgs.encoding = dojo.lang.firstValued(kwArgs["encoding"], djConfig["bindEncoding"], "");
-
- kwArgs.sendTransport = dojo.lang.firstValued(kwArgs["sendTransport"], djConfig["ioSendTransport"], false);
-
- var isFunction = dojo.lang.isFunction;
- for(var x=0; x 0){
- dojo.io.bind(dojo.io._bindQueue.shift());
- }else{
- dojo.io._queueBindInFlight = false;
- }
- }
-}
-dojo.io._bindQueue = [];
-dojo.io._queueBindInFlight = false;
-
-dojo.io.argsFromMap = function(/*Object*/map, /*String?*/encoding, /*String?*/last){
- // summary:
- // Converts name/values pairs in the map object to an URL-encoded string
- // with format of name1=value1&name2=value2...
- // map: Object
- // Object that has the contains the names and values.
- // encoding: String?
- // String to specify how to encode the name and value. If the encoding string
- // contains "utf" (case-insensitive), then encodeURIComponent is used. Otherwise
- // dojo.string.encodeAscii is used.
- // last: String?
- // The last parameter in the list. Helps with final string formatting?
- var enc = /utf/i.test(encoding||"") ? encodeURIComponent : dojo.string.encodeAscii;
- var mapped = [];
- var control = new Object();
- for(var name in map){
- var domap = function(elt){
- var val = enc(name)+"="+enc(elt);
- mapped[(last == name) ? "push" : "unshift"](val);
- }
- if(!control[name]){
- var value = map[name];
- // FIXME: should be isArrayLike?
- if (dojo.lang.isArray(value)){
- dojo.lang.forEach(value, domap);
- }else{
- domap(value);
- }
- }
- }
- return mapped.join("&"); //String
-}
-
-dojo.io.setIFrameSrc = function(/*DOMNode*/ iframe, /*String*/ src, /*Boolean*/ replace){
- //summary:
- // Sets the URL that is loaded in an IFrame. The replace parameter indicates whether
- // location.replace() should be used when changing the location of the iframe.
- try{
- var r = dojo.render.html;
- // dojo.debug(iframe);
- if(!replace){
- if(r.safari){
- iframe.location = src;
- }else{
- frames[iframe.name].location = src;
- }
- }else{
- // Fun with DOM 0 incompatibilities!
- var idoc;
- if(r.ie){
- idoc = iframe.contentWindow.document;
- }else if(r.safari){
- idoc = iframe.document;
- }else{ // if(r.moz){
- idoc = iframe.contentWindow;
- }
-
- //For Safari (at least 2.0.3) and Opera, if the iframe
- //has just been created but it doesn't have content
- //yet, then iframe.document may be null. In that case,
- //use iframe.location and return.
- if(!idoc){
- iframe.location = src;
- return;
- }else{
- idoc.location.replace(src);
- }
- }
- }catch(e){
- dojo.debug(e);
- dojo.debug("setIFrameSrc: "+e);
- }
-}
-
-/*
-dojo.io.sampleTranport = new function(){
- this.canHandle = function(kwArgs){
- // canHandle just tells dojo.io.bind() if this is a good transport to
- // use for the particular type of request.
- if(
- (
- (kwArgs["mimetype"] == "text/plain") ||
- (kwArgs["mimetype"] == "text/html") ||
- (kwArgs["mimetype"] == "text/javascript")
- )&&(
- (kwArgs["method"] == "get") ||
- ( (kwArgs["method"] == "post") && (!kwArgs["formNode"]) )
- )
- ){
- return true;
- }
-
- return false;
- }
-
- this.bind = function(kwArgs){
- var hdlrObj = {};
-
- // set up a handler object
- for(var x=0; x1; });
- // // returns false
- // dojo.lang.every([1, 2, 3, 4], function(item){ return item>0; });
- // // returns true
- return this._everyOrSome(true, arr, callback, thisObject); // Boolean
- },
-
- some: function(/*Array*/arr, /*Function*/callback, /*Object?*/thisObject){
- // summary:
- // determines whether or not any item in the array satisfies the
- // condition implemented by callback. thisObject may be used to
- // scope the call to callback. The function signature is derived
- // from the JavaScript 1.6 Array.some() function. More
- // information on this can be found here:
- // http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Array:some
- // examples:
- // dojo.lang.some([1, 2, 3, 4], function(item){ return item>1; });
- // // returns true
- // dojo.lang.some([1, 2, 3, 4], function(item){ return item<1; });
- // // returns false
- return this._everyOrSome(false, arr, callback, thisObject); // Boolean
- },
-
- filter: function(/*Array*/arr, /*Function*/callback, /*Object?*/thisObject){
- // summary:
- // returns a new Array with those items from arr that match the
- // condition implemented by callback.thisObject may be used to
- // scope the call to callback. The function signature is derived
- // from the JavaScript 1.6 Array.filter() function, although
- // special accomidation is made in our implementation for strings.
- // More information on the JS 1.6 API can be found here:
- // http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Array:filter
- // examples:
- // dojo.lang.some([1, 2, 3, 4], function(item){ return item>1; });
- // // returns [2, 3, 4]
- var isString = dojo.lang.isString(arr);
- if(isString){ /*arr: String*/arr = arr.split(""); }
- var outArr;
- if(Array.filter){
- outArr = Array.filter(arr, callback, thisObject);
- }else{
- if(!thisObject){
- if(arguments.length >= 3){ dojo.raise("thisObject doesn't exist!"); }
- thisObject = dj_global;
- }
-
- outArr = [];
- for(var i = 0; i < arr.length; i++){
- if(callback.call(thisObject, arr[i], i, arr)){
- outArr.push(arr[i]);
- }
- }
- }
- if(isString){
- return outArr.join(""); // String
- } else {
- return outArr; // Array
- }
- },
-
- unnest: function(/* ... */){
- // summary:
- // Creates a 1-D array out of all the arguments passed,
- // unravelling any array-like objects in the process
- // usage:
- // unnest(1, 2, 3) ==> [1, 2, 3]
- // unnest(1, [2, [3], [[[4]]]]) ==> [1, 2, 3, 4]
-
- var out = [];
- for(var i = 0; i < arguments.length; i++){
- if(dojo.lang.isArrayLike(arguments[i])){
- var add = dojo.lang.unnest.apply(this, arguments[i]);
- out = out.concat(add);
- }else{
- out.push(arguments[i]);
- }
- }
- return out; // Array
- },
-
- toArray: function(/*Object*/arrayLike, /*Number*/startOffset){
- // summary:
- // Converts an array-like object (i.e. arguments, DOMCollection)
- // to an array. Returns a new Array object.
- var array = [];
- for(var i = startOffset||0; i < arrayLike.length; i++){
- array.push(arrayLike[i]);
- }
- return array; // Array
- }
-});
-
-dojo.provide("dojo.lang.func");
-
-dojo.lang.hitch = function(/*Object*/thisObject, /*Function|String*/method){
- // summary:
- // Returns a function that will only ever execute in the a given scope
- // (thisObject). This allows for easy use of object member functions
- // in callbacks and other places in which the "this" keyword may
- // otherwise not reference the expected scope. Note that the order of
- // arguments may be reversed in a future version.
- // thisObject: the scope to run the method in
- // method:
- // a function to be "bound" to thisObject or the name of the method in
- // thisObject to be used as the basis for the binding
- // usage:
- // dojo.lang.hitch(foo, "bar")(); // runs foo.bar() in the scope of foo
- // dojo.lang.hitch(foo, myFunction); // returns a function that runs myFunction in the scope of foo
-
- // FIXME:
- // should this be extended to "fixate" arguments in a manner similar
- // to dojo.lang.curry, but without the default execution of curry()?
- var fcn = (dojo.lang.isString(method) ? thisObject[method] : method) || function(){};
- return function(){
- return fcn.apply(thisObject, arguments); // Function
- };
-}
-
-dojo.lang.anonCtr = 0;
-dojo.lang.anon = {};
-
-dojo.lang.nameAnonFunc = function(/*Function*/anonFuncPtr, /*Object*/thisObj, /*Boolean*/searchForNames){
- // summary:
- // Creates a reference to anonFuncPtr in thisObj with a completely
- // unique name. The new name is returned as a String. If
- // searchForNames is true, an effort will be made to locate an
- // existing reference to anonFuncPtr in thisObj, and if one is found,
- // the existing name will be returned instead. The default is for
- // searchForNames to be false.
- var nso = (thisObj|| dojo.lang.anon);
- if( (searchForNames) ||
- ((dj_global["djConfig"])&&(djConfig["slowAnonFuncLookups"] == true)) ){
- for(var x in nso){
- try{
- if(nso[x] === anonFuncPtr){
- return x;
- }
- }catch(e){} // window.external fails in IE embedded in Eclipse (Eclipse bug #151165)
- }
- }
- var ret = "__"+dojo.lang.anonCtr++;
- while(typeof nso[ret] != "undefined"){
- ret = "__"+dojo.lang.anonCtr++;
- }
- nso[ret] = anonFuncPtr;
- return ret; // String
-}
-
-dojo.lang.forward = function(funcName){
- // summary:
- // Returns a function that forwards a method call to
- // this.funcName(...). Unlike dojo.lang.hitch(), the "this" scope is
- // not fixed on a single object. Ported from MochiKit.
- return function(){
- return this[funcName].apply(this, arguments);
- }; // Function
-}
-
-dojo.lang.curry = function(thisObj, func /* args ... */){
- // summary:
- // similar to the curry() method found in many functional programming
- // environments, this function returns an "argument accumulator"
- // function, bound to a particular scope, and "primed" with a variable
- // number of arguments. The curry method is unique in that it returns
- // a function that may return other "partial" function which can be
- // called repeatedly. New functions are returned until the arity of
- // the original function is reached, at which point the underlying
- // function (func) is called in the scope thisObj with all of the
- // accumulated arguments (plus any extras) in positional order.
- // examples:
- // assuming a function defined like this:
- // var foo = {
- // bar: function(arg1, arg2, arg3){
- // dojo.debug.apply(dojo, arguments);
- // }
- // };
- //
- // dojo.lang.curry() can be used most simply in this way:
- //
- // tmp = dojo.lang.curry(foo, foo.bar, "arg one", "thinger");
- // tmp("blah", "this is superfluous");
- // // debugs: "arg one thinger blah this is superfluous"
- // tmp("blah");
- // // debugs: "arg one thinger blah"
- // tmp();
- // // returns a function exactly like tmp that expects one argument
- //
- // other intermittent functions could be created until the 3
- // positional arguments are filled:
- //
- // tmp = dojo.lang.curry(foo, foo.bar, "arg one");
- // tmp2 = tmp("arg two");
- // tmp2("blah blah");
- // // debugs: "arg one arg two blah blah"
- // tmp2("oy");
- // // debugs: "arg one arg two oy"
- //
- // curry() can also be used to call the function if enough arguments
- // are passed in the initial invocation:
- //
- // dojo.lang.curry(foo, foo.bar, "one", "two", "three", "four");
- // // debugs: "one two three four"
- // dojo.lang.curry(foo, foo.bar, "one", "two", "three");
- // // debugs: "one two three"
-
-
- // FIXME: the order of func and thisObj should be changed!!!
- var outerArgs = [];
- thisObj = thisObj||dj_global;
- if(dojo.lang.isString(func)){
- func = thisObj[func];
- }
- for(var x=2; x"'
-// Optionally skips escapes for single quotes
-
- str = str.replace(/&/gm, "&").replace(//gm, ">").replace(/"/gm, """);
- if(!noSingleQuotes){ str = str.replace(/'/gm, "'"); }
- return str; // string
-}
-
-dojo.string.escapeSql = function(/*string*/str){
-//summary:
-// Adds escape sequences for single quotes in SQL expressions
-
- return str.replace(/'/gm, "''"); //string
-}
-
-dojo.string.escapeRegExp = function(/*string*/str){
-//summary:
-// Adds escape sequences for special characters in regular expressions
-
- return str.replace(/\\/gm, "\\\\").replace(/([\f\b\n\t\r[\^$|?*+(){}])/gm, "\\$1"); // string
-}
-
-//FIXME: should this one also escape backslash?
-dojo.string.escapeJavaScript = function(/*string*/str){
-//summary:
-// Adds escape sequences for single and double quotes as well
-// as non-visible characters in JavaScript string literal expressions
-
- return str.replace(/(["'\f\b\n\t\r])/gm, "\\$1"); // string
-}
-
-//FIXME: looks a lot like escapeJavaScript, just adds quotes? deprecate one?
-dojo.string.escapeString = function(/*string*/str){
-//summary:
-// Adds escape sequences for non-visual characters, double quote and backslash
-// and surrounds with double quotes to form a valid string literal.
- return ('"' + str.replace(/(["\\])/g, '\\$1') + '"'
- ).replace(/[\f]/g, "\\f"
- ).replace(/[\b]/g, "\\b"
- ).replace(/[\n]/g, "\\n"
- ).replace(/[\t]/g, "\\t"
- ).replace(/[\r]/g, "\\r"); // string
-}
-
-// TODO: make an HTML version
-dojo.string.summary = function(/*string*/str, /*number*/len){
-// summary:
-// Truncates 'str' after 'len' characters and appends periods as necessary so that it ends with "..."
-
- if(!len || str.length <= len){
- return str; // string
- }
-
- return str.substring(0, len).replace(/\.+$/, "") + "..."; // string
-}
-
-dojo.string.endsWith = function(/*string*/str, /*string*/end, /*boolean*/ignoreCase){
-// summary:
-// Returns true if 'str' ends with 'end'
-
- if(ignoreCase){
- str = str.toLowerCase();
- end = end.toLowerCase();
- }
- if((str.length - end.length) < 0){
- return false; // boolean
- }
- return str.lastIndexOf(end) == str.length - end.length; // boolean
-}
-
-dojo.string.endsWithAny = function(/*string*/str /* , ... */){
-// summary:
-// Returns true if 'str' ends with any of the arguments[2 -> n]
-
- for(var i = 1; i < arguments.length; i++) {
- if(dojo.string.endsWith(str, arguments[i])) {
- return true; // boolean
- }
- }
- return false; // boolean
-}
-
-dojo.string.startsWith = function(/*string*/str, /*string*/start, /*boolean*/ignoreCase){
-// summary:
-// Returns true if 'str' starts with 'start'
-
- if(ignoreCase) {
- str = str.toLowerCase();
- start = start.toLowerCase();
- }
- return str.indexOf(start) == 0; // boolean
-}
-
-dojo.string.startsWithAny = function(/*string*/str /* , ... */){
-// summary:
-// Returns true if 'str' starts with any of the arguments[2 -> n]
-
- for(var i = 1; i < arguments.length; i++) {
- if(dojo.string.startsWith(str, arguments[i])) {
- return true; // boolean
- }
- }
- return false; // boolean
-}
-
-dojo.string.has = function(/*string*/str /* , ... */) {
-// summary:
-// Returns true if 'str' contains any of the arguments 2 -> n
-
- for(var i = 1; i < arguments.length; i++) {
- if(str.indexOf(arguments[i]) > -1){
- return true; // boolean
- }
- }
- return false; // boolean
-}
-
-dojo.string.normalizeNewlines = function(/*string*/text, /*string? (\n or \r)*/newlineChar){
-// summary:
-// Changes occurences of CR and LF in text to CRLF, or if newlineChar is provided as '\n' or '\r',
-// substitutes newlineChar for occurrences of CR/LF and CRLF
-
- if (newlineChar == "\n"){
- text = text.replace(/\r\n/g, "\n");
- text = text.replace(/\r/g, "\n");
- } else if (newlineChar == "\r"){
- text = text.replace(/\r\n/g, "\r");
- text = text.replace(/\n/g, "\r");
- }else{
- text = text.replace(/([^\r])\n/g, "$1\r\n").replace(/\r([^\n])/g, "\r\n$1");
- }
- return text; // string
-}
-
-dojo.string.splitEscaped = function(/*string*/str, /*string of length=1*/charac){
-// summary:
-// Splits 'str' into an array separated by 'charac', but skips characters escaped with a backslash
-
- var components = [];
- for (var i = 0, prevcomma = 0; i < str.length; i++){
- if (str.charAt(i) == '\\'){ i++; continue; }
- if (str.charAt(i) == charac){
- components.push(str.substring(prevcomma, i));
- prevcomma = i + 1;
- }
- }
- components.push(str.substr(prevcomma));
- return components; // array
-}
-
-dojo.provide("dojo.dom");
-
-dojo.dom.ELEMENT_NODE = 1;
-dojo.dom.ATTRIBUTE_NODE = 2;
-dojo.dom.TEXT_NODE = 3;
-dojo.dom.CDATA_SECTION_NODE = 4;
-dojo.dom.ENTITY_REFERENCE_NODE = 5;
-dojo.dom.ENTITY_NODE = 6;
-dojo.dom.PROCESSING_INSTRUCTION_NODE = 7;
-dojo.dom.COMMENT_NODE = 8;
-dojo.dom.DOCUMENT_NODE = 9;
-dojo.dom.DOCUMENT_TYPE_NODE = 10;
-dojo.dom.DOCUMENT_FRAGMENT_NODE = 11;
-dojo.dom.NOTATION_NODE = 12;
-
-dojo.dom.dojoml = "http://www.dojotoolkit.org/2004/dojoml";
-
-/**
- * comprehensive list of XML namespaces
-**/
-dojo.dom.xmlns = {
- // summary
- // aliases for various common XML namespaces
- svg : "http://www.w3.org/2000/svg",
- smil : "http://www.w3.org/2001/SMIL20/",
- mml : "http://www.w3.org/1998/Math/MathML",
- cml : "http://www.xml-cml.org",
- xlink : "http://www.w3.org/1999/xlink",
- xhtml : "http://www.w3.org/1999/xhtml",
- xul : "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul",
- xbl : "http://www.mozilla.org/xbl",
- fo : "http://www.w3.org/1999/XSL/Format",
- xsl : "http://www.w3.org/1999/XSL/Transform",
- xslt : "http://www.w3.org/1999/XSL/Transform",
- xi : "http://www.w3.org/2001/XInclude",
- xforms : "http://www.w3.org/2002/01/xforms",
- saxon : "http://icl.com/saxon",
- xalan : "http://xml.apache.org/xslt",
- xsd : "http://www.w3.org/2001/XMLSchema",
- dt: "http://www.w3.org/2001/XMLSchema-datatypes",
- xsi : "http://www.w3.org/2001/XMLSchema-instance",
- rdf : "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
- rdfs : "http://www.w3.org/2000/01/rdf-schema#",
- dc : "http://purl.org/dc/elements/1.1/",
- dcq: "http://purl.org/dc/qualifiers/1.0",
- "soap-env" : "http://schemas.xmlsoap.org/soap/envelope/",
- wsdl : "http://schemas.xmlsoap.org/wsdl/",
- AdobeExtensions : "http://ns.adobe.com/AdobeSVGViewerExtensions/3.0/"
-};
-
-dojo.dom.isNode = function(/* object */wh){
- // summary:
- // checks to see if wh is actually a node.
- if(typeof Element == "function") {
- try {
- return wh instanceof Element; // boolean
- } catch(e) {}
- } else {
- // best-guess
- return wh && !isNaN(wh.nodeType); // boolean
- }
-}
-
-dojo.dom.getUniqueId = function(){
- // summary:
- // returns a unique string for use with any DOM element
- var _document = dojo.doc();
- do {
- var id = "dj_unique_" + (++arguments.callee._idIncrement);
- }while(_document.getElementById(id));
- return id; // string
-}
-dojo.dom.getUniqueId._idIncrement = 0;
-
-dojo.dom.firstElement = dojo.dom.getFirstChildElement = function(/* Element */parentNode, /* string? */tagName){
- // summary:
- // returns the first child element matching tagName
- var node = parentNode.firstChild;
- while(node && node.nodeType != dojo.dom.ELEMENT_NODE){
- node = node.nextSibling;
- }
- if(tagName && node && node.tagName && node.tagName.toLowerCase() != tagName.toLowerCase()) {
- node = dojo.dom.nextElement(node, tagName);
- }
- return node; // Element
-}
-
-dojo.dom.lastElement = dojo.dom.getLastChildElement = function(/* Element */parentNode, /* string? */tagName){
- // summary:
- // returns the last child element matching tagName
- var node = parentNode.lastChild;
- while(node && node.nodeType != dojo.dom.ELEMENT_NODE) {
- node = node.previousSibling;
- }
- if(tagName && node && node.tagName && node.tagName.toLowerCase() != tagName.toLowerCase()) {
- node = dojo.dom.prevElement(node, tagName);
- }
- return node; // Element
-}
-
-dojo.dom.nextElement = dojo.dom.getNextSiblingElement = function(/* Node */node, /* string? */tagName){
- // summary:
- // returns the next sibling element matching tagName
- if(!node) { return null; }
- do {
- node = node.nextSibling;
- } while(node && node.nodeType != dojo.dom.ELEMENT_NODE);
-
- if(node && tagName && tagName.toLowerCase() != node.tagName.toLowerCase()) {
- return dojo.dom.nextElement(node, tagName);
- }
- return node; // Element
-}
-
-dojo.dom.prevElement = dojo.dom.getPreviousSiblingElement = function(/* Node */node, /* string? */tagName){
- // summary:
- // returns the previous sibling element matching tagName
- if(!node) { return null; }
- if(tagName) { tagName = tagName.toLowerCase(); }
- do {
- node = node.previousSibling;
- } while(node && node.nodeType != dojo.dom.ELEMENT_NODE);
-
- if(node && tagName && tagName.toLowerCase() != node.tagName.toLowerCase()) {
- return dojo.dom.prevElement(node, tagName);
- }
- return node; // Element
-}
-
-// TODO: hmph
-/*this.forEachChildTag = function(node, unaryFunc) {
- var child = this.getFirstChildTag(node);
- while(child) {
- if(unaryFunc(child) == "break") { break; }
- child = this.getNextSiblingTag(child);
- }
-}*/
-
-dojo.dom.moveChildren = function(/*Element*/srcNode, /*Element*/destNode, /*boolean?*/trim){
- // summary:
- // Moves children from srcNode to destNode and returns the count of
- // children moved; will trim off text nodes if trim == true
- var count = 0;
- if(trim) {
- while(srcNode.hasChildNodes() &&
- srcNode.firstChild.nodeType == dojo.dom.TEXT_NODE) {
- srcNode.removeChild(srcNode.firstChild);
- }
- while(srcNode.hasChildNodes() &&
- srcNode.lastChild.nodeType == dojo.dom.TEXT_NODE) {
- srcNode.removeChild(srcNode.lastChild);
- }
- }
- while(srcNode.hasChildNodes()){
- destNode.appendChild(srcNode.firstChild);
- count++;
- }
- return count; // number
-}
-
-dojo.dom.copyChildren = function(/*Element*/srcNode, /*Element*/destNode, /*boolean?*/trim){
- // summary:
- // Copies children from srcNde to destNode and returns the count of
- // children copied; will trim off text nodes if trim == true
- var clonedNode = srcNode.cloneNode(true);
- return this.moveChildren(clonedNode, destNode, trim); // number
-}
-
-dojo.dom.replaceChildren = function(/*Element*/node, /*Node*/newChild){
- // summary:
- // Removes all children of node and appends newChild. All the existing
- // children will be destroyed.
- // FIXME: what if newChild is an array-like object?
- var nodes = [];
- if(dojo.render.html.ie){
- for(var i=0;i 0){
- return ancestors[0]; // Node
- }
-
- node = node.parentNode;
- }
- if(returnFirstHit){ return null; }
- return ancestors; // array
-}
-
-dojo.dom.getAncestorsByTag = function(/*Node*/node, /*String*/tag, /*boolean?*/returnFirstHit){
- // summary:
- // returns all ancestors matching tag (as tagName), will only return
- // first one if returnFirstHit
- tag = tag.toLowerCase();
- return dojo.dom.getAncestors(node, function(el){
- return ((el.tagName)&&(el.tagName.toLowerCase() == tag));
- }, returnFirstHit); // Node || array
-}
-
-dojo.dom.getFirstAncestorByTag = function(/*Node*/node, /*string*/tag){
- // summary:
- // Returns first ancestor of node with tag tagName
- return dojo.dom.getAncestorsByTag(node, tag, true); // Node
-}
-
-dojo.dom.isDescendantOf = function(/* Node */node, /* Node */ancestor, /* boolean? */guaranteeDescendant){
- // summary
- // Returns boolean if node is a descendant of ancestor
- // guaranteeDescendant allows us to be a "true" isDescendantOf function
- if(guaranteeDescendant && node) { node = node.parentNode; }
- while(node) {
- if(node == ancestor){
- return true; // boolean
- }
- node = node.parentNode;
- }
- return false; // boolean
-}
-
-dojo.dom.innerXML = function(/*Node*/node){
- // summary:
- // Implementation of MS's innerXML function.
- if(node.innerXML){
- return node.innerXML; // string
- }else if (node.xml){
- return node.xml; // string
- }else if(typeof XMLSerializer != "undefined"){
- return (new XMLSerializer()).serializeToString(node); // string
- }
-}
-
-dojo.dom.createDocument = function(){
- // summary:
- // cross-browser implementation of creating an XML document object.
- var doc = null;
- var _document = dojo.doc();
-
- if(!dj_undef("ActiveXObject")){
- var prefixes = [ "MSXML2", "Microsoft", "MSXML", "MSXML3" ];
- for(var i = 0; i1) {
- var _document = dojo.doc();
- dojo.dom.replaceChildren(node, _document.createTextNode(text));
- return text; // string
- } else {
- if(node.textContent != undefined){ //FF 1.5
- return node.textContent; // string
- }
- var _result = "";
- if (node == null) { return _result; }
- for (var i = 0; i < node.childNodes.length; i++) {
- switch (node.childNodes[i].nodeType) {
- case 1: // ELEMENT_NODE
- case 5: // ENTITY_REFERENCE_NODE
- _result += dojo.dom.textContent(node.childNodes[i]);
- break;
- case 3: // TEXT_NODE
- case 2: // ATTRIBUTE_NODE
- case 4: // CDATA_SECTION_NODE
- _result += node.childNodes[i].nodeValue;
- break;
- default:
- break;
- }
- }
- return _result; // string
- }
-}
-
-dojo.dom.hasParent = function(/*Node*/node){
- // summary:
- // returns whether or not node is a child of another node.
- return Boolean(node && node.parentNode && dojo.dom.isNode(node.parentNode)); // boolean
-}
-
-/**
- * Examples:
- *
- * myFooNode =
- * isTag(myFooNode, "foo"); // returns "foo"
- * isTag(myFooNode, "bar"); // returns ""
- * isTag(myFooNode, "FOO"); // returns ""
- * isTag(myFooNode, "hey", "foo", "bar"); // returns "foo"
-**/
-dojo.dom.isTag = function(/* Node */node /* ... */){
- // summary:
- // determines if node has any of the provided tag names and returns
- // the tag name that matches, empty string otherwise.
- if(node && node.tagName) {
- for(var i=1; i");
- }
-}catch(e){/* squelch */}
-
-if(dojo.render.html.opera){
- dojo.debug("Opera is not supported with dojo.undo.browser, so back/forward detection will not work.");
-}
-
-dojo.undo.browser = {
- initialHref: (!dj_undef("window")) ? window.location.href : "",
- initialHash: (!dj_undef("window")) ? window.location.hash : "",
-
- moveForward: false,
- historyStack: [],
- forwardStack: [],
- historyIframe: null,
- bookmarkAnchor: null,
- locationTimer: null,
-
- /**
- *
- */
- setInitialState: function(/*Object*/args){
- //summary: Sets the state object and back callback for the very first page that is loaded.
- //description: It is recommended that you call this method as part of an event listener that is registered via
- //dojo.addOnLoad().
- //args: Object
- // See the addToHistory() function for the list of valid args properties.
- this.initialState = this._createState(this.initialHref, args, this.initialHash);
- },
-
- //FIXME: Would like to support arbitrary back/forward jumps. Have to rework iframeLoaded among other things.
- //FIXME: is there a slight race condition in moz using change URL with the timer check and when
- // the hash gets set? I think I have seen a back/forward call in quick succession, but not consistent.
- addToHistory: function(args){
- //summary: adds a state object (args) to the history list. You must set
- //djConfig.preventBackButtonFix = false to use dojo.undo.browser.
-
- //args: Object
- // args can have the following properties:
- // To support getting back button notifications, the object argument should implement a
- // function called either "back", "backButton", or "handle". The string "back" will be
- // passed as the first and only argument to this callback.
- // - To support getting forward button notifications, the object argument should implement a
- // function called either "forward", "forwardButton", or "handle". The string "forward" will be
- // passed as the first and only argument to this callback.
- // - If you want the browser location string to change, define "changeUrl" on the object. If the
- // value of "changeUrl" is true, then a unique number will be appended to the URL as a fragment
- // identifier (http://some.domain.com/path#uniquenumber). If it is any other value that does
- // not evaluate to false, that value will be used as the fragment identifier. For example,
- // if changeUrl: 'page1', then the URL will look like: http://some.domain.com/path#page1
- // Full example:
- // dojo.undo.browser.addToHistory({
- // back: function() { alert('back pressed'); },
- // forward: function() { alert('forward pressed'); },
- // changeUrl: true
- // });
- //
- // BROWSER NOTES:
- // Safari 1.2:
- // back button "works" fine, however it's not possible to actually
- // DETECT that you've moved backwards by inspecting window.location.
- // Unless there is some other means of locating.
- // FIXME: perhaps we can poll on history.length?
- // Safari 2.0.3+ (and probably 1.3.2+):
- // works fine, except when changeUrl is used. When changeUrl is used,
- // Safari jumps all the way back to whatever page was shown before
- // the page that uses dojo.undo.browser support.
- // IE 5.5 SP2:
- // back button behavior is macro. It does not move back to the
- // previous hash value, but to the last full page load. This suggests
- // that the iframe is the correct way to capture the back button in
- // these cases.
- // Don't test this page using local disk for MSIE. MSIE will not create
- // a history list for iframe_history.html if served from a file: URL.
- // The XML served back from the XHR tests will also not be properly
- // created if served from local disk. Serve the test pages from a web
- // server to test in that browser.
- // IE 6.0:
- // same behavior as IE 5.5 SP2
- // Firefox 1.0+:
- // the back button will return us to the previous hash on the same
- // page, thereby not requiring an iframe hack, although we do then
- // need to run a timer to detect inter-page movement.
-
- //If addToHistory is called, then that means we prune the
- //forward stack -- the user went back, then wanted to
- //start a new forward path.
- this.forwardStack = [];
-
- var hash = null;
- var url = null;
- if(!this.historyIframe){
- this.historyIframe = window.frames["djhistory"];
- }
- if(!this.bookmarkAnchor){
- this.bookmarkAnchor = document.createElement("a");
- dojo.body().appendChild(this.bookmarkAnchor);
- this.bookmarkAnchor.style.display = "none";
- }
- if(args["changeUrl"]){
- hash = "#"+ ((args["changeUrl"]!==true) ? args["changeUrl"] : (new Date()).getTime());
-
- //If the current hash matches the new one, just replace the history object with
- //this new one. It doesn't make sense to track different state objects for the same
- //logical URL. This matches the browser behavior of only putting in one history
- //item no matter how many times you click on the same #hash link, at least in Firefox
- //and Safari, and there is no reliable way in those browsers to know if a #hash link
- //has been clicked on multiple times. So making this the standard behavior in all browsers
- //so that dojo.undo.browser's behavior is the same in all browsers.
- if(this.historyStack.length == 0 && this.initialState.urlHash == hash){
- this.initialState = this._createState(url, args, hash);
- return;
- }else if(this.historyStack.length > 0 && this.historyStack[this.historyStack.length - 1].urlHash == hash){
- this.historyStack[this.historyStack.length - 1] = this._createState(url, args, hash);
- return;
- }
-
- this.changingUrl = true;
- setTimeout("window.location.href = '"+hash+"'; dojo.undo.browser.changingUrl = false;", 1);
- this.bookmarkAnchor.href = hash;
-
- if(dojo.render.html.ie){
- url = this._loadIframeHistory();
-
- var oldCB = args["back"]||args["backButton"]||args["handle"];
-
- //The function takes handleName as a parameter, in case the
- //callback we are overriding was "handle". In that case,
- //we will need to pass the handle name to handle.
- var tcb = function(handleName){
- if(window.location.hash != ""){
- setTimeout("window.location.href = '"+hash+"';", 1);
- }
- //Use apply to set "this" to args, and to try to avoid memory leaks.
- oldCB.apply(this, [handleName]);
- }
-
- //Set interceptor function in the right place.
- if(args["back"]){
- args.back = tcb;
- }else if(args["backButton"]){
- args.backButton = tcb;
- }else if(args["handle"]){
- args.handle = tcb;
- }
-
- var oldFW = args["forward"]||args["forwardButton"]||args["handle"];
-
- //The function takes handleName as a parameter, in case the
- //callback we are overriding was "handle". In that case,
- //we will need to pass the handle name to handle.
- var tfw = function(handleName){
- if(window.location.hash != ""){
- window.location.href = hash;
- }
- if(oldFW){ // we might not actually have one
- //Use apply to set "this" to args, and to try to avoid memory leaks.
- oldFW.apply(this, [handleName]);
- }
- }
-
- //Set interceptor function in the right place.
- if(args["forward"]){
- args.forward = tfw;
- }else if(args["forwardButton"]){
- args.forwardButton = tfw;
- }else if(args["handle"]){
- args.handle = tfw;
- }
-
- }else if(dojo.render.html.moz){
- // start the timer
- if(!this.locationTimer){
- this.locationTimer = setInterval("dojo.undo.browser.checkLocation();", 200);
- }
- }
- }else{
- url = this._loadIframeHistory();
- }
-
- this.historyStack.push(this._createState(url, args, hash));
- },
-
- checkLocation: function(){
- //summary: private method. Do not call this directly.
- if (!this.changingUrl){
- var hsl = this.historyStack.length;
-
- if((window.location.hash == this.initialHash||window.location.href == this.initialHref)&&(hsl == 1)){
- // FIXME: could this ever be a forward button?
- // we can't clear it because we still need to check for forwards. Ugg.
- // clearInterval(this.locationTimer);
- this.handleBackButton();
- return;
- }
-
- // first check to see if we could have gone forward. We always halt on
- // a no-hash item.
- if(this.forwardStack.length > 0){
- if(this.forwardStack[this.forwardStack.length-1].urlHash == window.location.hash){
- this.handleForwardButton();
- return;
- }
- }
-
- // ok, that didn't work, try someplace back in the history stack
- if((hsl >= 2)&&(this.historyStack[hsl-2])){
- if(this.historyStack[hsl-2].urlHash==window.location.hash){
- this.handleBackButton();
- return;
- }
- }
- }
- },
-
- iframeLoaded: function(evt, ifrLoc){
- //summary: private method. Do not call this directly.
- if(!dojo.render.html.opera){
- var query = this._getUrlQuery(ifrLoc.href);
- if(query == null){
- // alert("iframeLoaded");
- // we hit the end of the history, so we should go back
- if(this.historyStack.length == 1){
- this.handleBackButton();
- }
- return;
- }
- if(this.moveForward){
- // we were expecting it, so it's not either a forward or backward movement
- this.moveForward = false;
- return;
- }
-
- //Check the back stack first, since it is more likely.
- //Note that only one step back or forward is supported.
- if(this.historyStack.length >= 2 && query == this._getUrlQuery(this.historyStack[this.historyStack.length-2].url)){
- this.handleBackButton();
- }
- else if(this.forwardStack.length > 0 && query == this._getUrlQuery(this.forwardStack[this.forwardStack.length-1].url)){
- this.handleForwardButton();
- }
- }
- },
-
- handleBackButton: function(){
- //summary: private method. Do not call this directly.
-
- //The "current" page is always at the top of the history stack.
- var current = this.historyStack.pop();
- if(!current){ return; }
- var last = this.historyStack[this.historyStack.length-1];
- if(!last && this.historyStack.length == 0){
- last = this.initialState;
- }
- if (last){
- if(last.kwArgs["back"]){
- last.kwArgs["back"]();
- }else if(last.kwArgs["backButton"]){
- last.kwArgs["backButton"]();
- }else if(last.kwArgs["handle"]){
- last.kwArgs.handle("back");
- }
- }
- this.forwardStack.push(current);
- },
-
- handleForwardButton: function(){
- //summary: private method. Do not call this directly.
-
- var last = this.forwardStack.pop();
- if(!last){ return; }
- if(last.kwArgs["forward"]){
- last.kwArgs.forward();
- }else if(last.kwArgs["forwardButton"]){
- last.kwArgs.forwardButton();
- }else if(last.kwArgs["handle"]){
- last.kwArgs.handle("forward");
- }
- this.historyStack.push(last);
- },
-
- _createState: function(url, args, hash){
- //summary: private method. Do not call this directly.
-
- return {"url": url, "kwArgs": args, "urlHash": hash}; //Object
- },
-
- _getUrlQuery: function(url){
- //summary: private method. Do not call this directly.
- var segments = url.split("?");
- if (segments.length < 2){
- return null; //null
- }
- else{
- return segments[1]; //String
- }
- },
-
- _loadIframeHistory: function(){
- //summary: private method. Do not call this directly.
- var url = dojo.hostenv.getBaseScriptUri()+"iframe_history.html?"+(new Date()).getTime();
- this.moveForward = true;
- dojo.io.setIFrameSrc(this.historyIframe, url, false);
- return url; //String
- }
-}
-
-dojo.provide("dojo.io.BrowserIO");
-
-
-if(!dj_undef("window")) {
-
-dojo.io.checkChildrenForFile = function(/*DOMNode*/node){
- //summary: Checks any child nodes of node for an input type="file" element.
- var hasFile = false;
- var inputs = node.getElementsByTagName("input");
- dojo.lang.forEach(inputs, function(input){
- if(hasFile){ return; }
- if(input.getAttribute("type")=="file"){
- hasFile = true;
- }
- });
- return hasFile; //boolean
-}
-
-dojo.io.formHasFile = function(/*DOMNode*/formNode){
- //summary: Just calls dojo.io.checkChildrenForFile().
- return dojo.io.checkChildrenForFile(formNode); //boolean
-}
-
-dojo.io.updateNode = function(/*DOMNode*/node, /*String or Object*/urlOrArgs){
- //summary: Updates a DOMnode with the result of a dojo.io.bind() call.
- //node: DOMNode
- //urlOrArgs: String or Object
- // Either a String that has an URL, or an object containing dojo.io.bind()
- // arguments.
- node = dojo.byId(node);
- var args = urlOrArgs;
- if(dojo.lang.isString(urlOrArgs)){
- args = { url: urlOrArgs };
- }
- args.mimetype = "text/html";
- args.load = function(t, d, e){
- while(node.firstChild){
- dojo.dom.destroyNode(node.firstChild);
- }
- node.innerHTML = d;
- };
- dojo.io.bind(args);
-}
-
-dojo.io.formFilter = function(/*DOMNode*/node) {
- //summary: Returns true if the node is an input element that is enabled, has
- //a name, and whose type is one of the following values: ["file", "submit", "image", "reset", "button"]
- var type = (node.type||"").toLowerCase();
- return !node.disabled && node.name
- && !dojo.lang.inArray(["file", "submit", "image", "reset", "button"], type); //boolean
-}
-
-// TODO: Move to htmlUtils
-dojo.io.encodeForm = function(/*DOMNode*/formNode, /*String?*/encoding, /*Function?*/formFilter){
- //summary: Converts the names and values of form elements into an URL-encoded
- //string (name=value&name=value...).
- //formNode: DOMNode
- //encoding: String?
- // The encoding to use for the values. Specify a string that starts with
- // "utf" (for instance, "utf8"), to use encodeURIComponent() as the encoding
- // function. Otherwise, dojo.string.encodeAscii will be used.
- //formFilter: Function?
- // A function used to filter out form elements. The element node will be passed
- // to the formFilter function, and a boolean result is expected (true indicating
- // indicating that the element should have its name/value included in the output).
- // If no formFilter is specified, then dojo.io.formFilter() will be used.
- if((!formNode)||(!formNode.tagName)||(!formNode.tagName.toLowerCase() == "form")){
- dojo.raise("Attempted to encode a non-form element.");
- }
- if(!formFilter) { formFilter = dojo.io.formFilter; }
- var enc = /utf/i.test(encoding||"") ? encodeURIComponent : dojo.string.encodeAscii;
- var values = [];
-
- for(var i = 0; i < formNode.elements.length; i++){
- var elm = formNode.elements[i];
- if(!elm || elm.tagName.toLowerCase() == "fieldset" || !formFilter(elm)) { continue; }
- var name = enc(elm.name);
- var type = elm.type.toLowerCase();
-
- if(type == "select-multiple"){
- for(var j = 0; j < elm.options.length; j++){
- if(elm.options[j].selected) {
- values.push(name + "=" + enc(elm.options[j].value));
- }
- }
- }else if(dojo.lang.inArray(["radio", "checkbox"], type)){
- if(elm.checked){
- values.push(name + "=" + enc(elm.value));
- }
- }else{
- values.push(name + "=" + enc(elm.value));
- }
- }
-
- // now collect input type="image", which doesn't show up in the elements array
- var inputs = formNode.getElementsByTagName("input");
- for(var i = 0; i < inputs.length; i++) {
- var input = inputs[i];
- if(input.type.toLowerCase() == "image" && input.form == formNode
- && formFilter(input)) {
- var name = enc(input.name);
- values.push(name + "=" + enc(input.value));
- values.push(name + ".x=0");
- values.push(name + ".y=0");
- }
- }
- return values.join("&") + "&"; //String
-}
-
-dojo.io.FormBind = function(/*DOMNode or Object*/args) {
- //summary: constructor for a dojo.io.FormBind object. See the Dojo Book for
- //some information on usage: http://manual.dojotoolkit.org/WikiHome/DojoDotBook/Book23
- //args: DOMNode or Object
- // args can either be the DOMNode for a form element, or an object containing
- // dojo.io.bind() arguments, one of which should be formNode with the value of
- // a form element DOMNode.
- this.bindArgs = {};
-
- if(args && args.formNode) {
- this.init(args);
- } else if(args) {
- this.init({formNode: args});
- }
-}
-dojo.lang.extend(dojo.io.FormBind, {
- form: null,
-
- bindArgs: null,
-
- clickedButton: null,
-
- init: function(/*DOMNode or Object*/args) {
- //summary: Internal function called by the dojo.io.FormBind() constructor
- //do not call this method directly.
- var form = dojo.byId(args.formNode);
-
- if(!form || !form.tagName || form.tagName.toLowerCase() != "form") {
- throw new Error("FormBind: Couldn't apply, invalid form");
- } else if(this.form == form) {
- return;
- } else if(this.form) {
- throw new Error("FormBind: Already applied to a form");
- }
-
- dojo.lang.mixin(this.bindArgs, args);
- this.form = form;
-
- this.connect(form, "onsubmit", "submit");
-
- for(var i = 0; i < form.elements.length; i++) {
- var node = form.elements[i];
- if(node && node.type && dojo.lang.inArray(["submit", "button"], node.type.toLowerCase())) {
- this.connect(node, "onclick", "click");
- }
- }
-
- var inputs = form.getElementsByTagName("input");
- for(var i = 0; i < inputs.length; i++) {
- var input = inputs[i];
- if(input.type.toLowerCase() == "image" && input.form == form) {
- this.connect(input, "onclick", "click");
- }
- }
- },
-
- onSubmit: function(/*DOMNode*/form) {
- //summary: Function used to verify that the form is OK to submit.
- //Override this function if you want specific form validation done.
- return true; //boolean
- },
-
- submit: function(/*Event*/e) {
- //summary: internal function that is connected as a listener to the
- //form's onsubmit event.
- e.preventDefault();
- if(this.onSubmit(this.form)) {
- dojo.io.bind(dojo.lang.mixin(this.bindArgs, {
- formFilter: dojo.lang.hitch(this, "formFilter")
- }));
- }
- },
-
- click: function(/*Event*/e) {
- //summary: internal method that is connected as a listener to the
- //form's elements whose click event can submit a form.
- var node = e.currentTarget;
- if(node.disabled) { return; }
- this.clickedButton = node;
- },
-
- formFilter: function(/*DOMNode*/node) {
- //summary: internal function used to know which form element values to include
- // in the dojo.io.bind() request.
- var type = (node.type||"").toLowerCase();
- var accept = false;
- if(node.disabled || !node.name) {
- accept = false;
- } else if(dojo.lang.inArray(["submit", "button", "image"], type)) {
- if(!this.clickedButton) { this.clickedButton = node; }
- accept = node == this.clickedButton;
- } else {
- accept = !dojo.lang.inArray(["file", "submit", "reset", "button"], type);
- }
- return accept; //boolean
- },
-
- // in case you don't have dojo.event.* pulled in
- connect: function(/*Object*/srcObj, /*Function*/srcFcn, /*Function*/targetFcn) {
- //summary: internal function used to connect event listeners to form elements
- //that trigger events. Used in case dojo.event is not loaded.
- if(dojo.evalObjPath("dojo.event.connect")) {
- dojo.event.connect(srcObj, srcFcn, this, targetFcn);
- } else {
- var fcn = dojo.lang.hitch(this, targetFcn);
- srcObj[srcFcn] = function(e) {
- if(!e) { e = window.event; }
- if(!e.currentTarget) { e.currentTarget = e.srcElement; }
- if(!e.preventDefault) { e.preventDefault = function() { window.event.returnValue = false; } }
- fcn(e);
- }
- }
- }
-});
-
-dojo.io.XMLHTTPTransport = new function(){
- //summary: The object that implements the dojo.io.bind transport for XMLHttpRequest.
- var _this = this;
-
- var _cache = {}; // FIXME: make this public? do we even need to?
- this.useCache = false; // if this is true, we'll cache unless kwArgs.useCache = false
- this.preventCache = false; // if this is true, we'll always force GET requests to cache
-
- // FIXME: Should this even be a function? or do we just hard code it in the next 2 functions?
- function getCacheKey(url, query, method) {
- return url + "|" + query + "|" + method.toLowerCase();
- }
-
- function addToCache(url, query, method, http) {
- _cache[getCacheKey(url, query, method)] = http;
- }
-
- function getFromCache(url, query, method) {
- return _cache[getCacheKey(url, query, method)];
- }
-
- this.clearCache = function() {
- _cache = {};
- }
-
- // moved successful load stuff here
- function doLoad(kwArgs, http, url, query, useCache) {
- if( ((http.status>=200)&&(http.status<300))|| // allow any 2XX response code
- (http.status==304)|| // get it out of the cache
- (location.protocol=="file:" && (http.status==0 || http.status==undefined))||
- (location.protocol=="chrome:" && (http.status==0 || http.status==undefined))
- ){
- var ret;
- if(kwArgs.method.toLowerCase() == "head"){
- var headers = http.getAllResponseHeaders();
- ret = {};
- ret.toString = function(){ return headers; }
- var values = headers.split(/[\r\n]+/g);
- for(var i = 0; i < values.length; i++) {
- var pair = values[i].match(/^([^:]+)\s*:\s*(.+)$/i);
- if(pair) {
- ret[pair[1]] = pair[2];
- }
- }
- }else if(kwArgs.mimetype == "text/javascript"){
- try{
- ret = dj_eval(http.responseText);
- }catch(e){
- dojo.debug(e);
- dojo.debug(http.responseText);
- ret = null;
- }
- }else if(kwArgs.mimetype == "text/json" || kwArgs.mimetype == "application/json"){
- try{
- ret = dj_eval("("+http.responseText+")");
- }catch(e){
- dojo.debug(e);
- dojo.debug(http.responseText);
- ret = false;
- }
- }else if((kwArgs.mimetype == "application/xml")||
- (kwArgs.mimetype == "text/xml")){
- ret = http.responseXML;
- if(!ret || typeof ret == "string" || !http.getResponseHeader("Content-Type")) {
- ret = dojo.dom.createDocumentFromText(http.responseText);
- }
- }else{
- ret = http.responseText;
- }
-
- if(useCache){ // only cache successful responses
- addToCache(url, query, kwArgs.method, http);
- }
- kwArgs[(typeof kwArgs.load == "function") ? "load" : "handle"]("load", ret, http, kwArgs);
- }else{
- var errObj = new dojo.io.Error("XMLHttpTransport Error: "+http.status+" "+http.statusText);
- kwArgs[(typeof kwArgs.error == "function") ? "error" : "handle"]("error", errObj, http, kwArgs);
- }
- }
-
- // set headers (note: Content-Type will get overriden if kwArgs.contentType is set)
- function setHeaders(http, kwArgs){
- if(kwArgs["headers"]) {
- for(var header in kwArgs["headers"]) {
- if(header.toLowerCase() == "content-type" && !kwArgs["contentType"]) {
- kwArgs["contentType"] = kwArgs["headers"][header];
- } else {
- http.setRequestHeader(header, kwArgs["headers"][header]);
- }
- }
- }
- }
-
- this.inFlight = [];
- this.inFlightTimer = null;
-
- this.startWatchingInFlight = function(){
- //summary: internal method used to trigger a timer to watch all inflight
- //XMLHttpRequests.
- if(!this.inFlightTimer){
- // setInterval broken in mozilla x86_64 in some circumstances, see
- // https://bugzilla.mozilla.org/show_bug.cgi?id=344439
- // using setTimeout instead
- this.inFlightTimer = setTimeout("dojo.io.XMLHTTPTransport.watchInFlight();", 10);
- }
- }
-
- this.watchInFlight = function(){
- //summary: internal method that checks each inflight XMLHttpRequest to see
- //if it has completed or if the timeout situation applies.
- var now = null;
- // make sure sync calls stay thread safe, if this callback is called during a sync call
- // and this results in another sync call before the first sync call ends the browser hangs
- if(!dojo.hostenv._blockAsync && !_this._blockAsync){
- for(var x=this.inFlight.length-1; x>=0; x--){
- try{
- var tif = this.inFlight[x];
- if(!tif || tif.http._aborted || !tif.http.readyState){
- this.inFlight.splice(x, 1); continue;
- }
- if(4==tif.http.readyState){
- // remove it so we can clean refs
- this.inFlight.splice(x, 1);
- doLoad(tif.req, tif.http, tif.url, tif.query, tif.useCache);
- }else if (tif.startTime){
- //See if this is a timeout case.
- if(!now){
- now = (new Date()).getTime();
- }
- if(tif.startTime + (tif.req.timeoutSeconds * 1000) < now){
- //Stop the request.
- if(typeof tif.http.abort == "function"){
- tif.http.abort();
- }
-
- // remove it so we can clean refs
- this.inFlight.splice(x, 1);
- tif.req[(typeof tif.req.timeout == "function") ? "timeout" : "handle"]("timeout", null, tif.http, tif.req);
- }
- }
- }catch(e){
- try{
- var errObj = new dojo.io.Error("XMLHttpTransport.watchInFlight Error: " + e);
- tif.req[(typeof tif.req.error == "function") ? "error" : "handle"]("error", errObj, tif.http, tif.req);
- }catch(e2){
- dojo.debug("XMLHttpTransport error callback failed: " + e2);
- }
- }
- }
- }
-
- clearTimeout(this.inFlightTimer);
- if(this.inFlight.length == 0){
- this.inFlightTimer = null;
- return;
- }
- this.inFlightTimer = setTimeout("dojo.io.XMLHTTPTransport.watchInFlight();", 10);
- }
-
- var hasXmlHttp = dojo.hostenv.getXmlhttpObject() ? true : false;
- this.canHandle = function(/*dojo.io.Request*/kwArgs){
- //summary: Tells dojo.io.bind() if this is a good transport to
- //use for the particular type of request. This type of transport cannot
- //handle forms that have an input type="file" element.
-
- // FIXME: we need to determine when form values need to be
- // multi-part mime encoded and avoid using this transport for those
- // requests.
- return hasXmlHttp
- && dojo.lang.inArray(["text/plain", "text/html", "application/xml", "text/xml", "text/javascript", "text/json", "application/json"], (kwArgs["mimetype"].toLowerCase()||""))
- && !( kwArgs["formNode"] && dojo.io.formHasFile(kwArgs["formNode"]) ); //boolean
- }
-
- this.multipartBoundary = "45309FFF-BD65-4d50-99C9-36986896A96F"; // unique guid as a boundary value for multipart posts
-
- this.bind = function(/*dojo.io.Request*/kwArgs){
- //summary: function that sends the request to the server.
-
- //This function will attach an abort() function to the kwArgs dojo.io.Request object,
- //so if you need to abort the request, you can call that method on the request object.
- //The following are acceptable properties in kwArgs (in addition to the
- //normal dojo.io.Request object properties).
- //url: String: URL the server URL to use for the request.
- //method: String: the HTTP method to use (GET, POST, etc...).
- //mimetype: Specifies what format the result data should be given to the load/handle callback. Valid values are:
- // text/javascript, text/json, application/json, application/xml, text/xml. Any other mimetype will give back a text
- // string.
- //transport: String: specify "XMLHTTPTransport" to force the use of this XMLHttpRequest transport.
- //headers: Object: The object property names and values will be sent as HTTP request header
- // names and values.
- //sendTransport: boolean: If true, then dojo.transport=xmlhttp will be added to the request.
- //encoding: String: The type of encoding to use when dealing with the content kwArgs property.
- //content: Object: The content object is converted into a name=value&name=value string, by
- // using dojo.io.argsFromMap(). The encoding kwArgs property is passed to dojo.io.argsFromMap()
- // for use in encoding the names and values. The resulting string is added to the request.
- //formNode: DOMNode: a form element node. This should not normally be used. Use new dojo.io.FormBind() instead.
- // If formNode is used, then the names and values of the form elements will be converted
- // to a name=value&name=value string and added to the request. The encoding kwArgs property is used
- // to encode the names and values.
- //postContent: String: Raw name=value&name=value string to be included as part of the request.
- //back or backButton: Function: A function to be called if the back button is pressed. If this kwArgs property
- // is used, then back button support via dojo.undo.browser will be used. See notes for dojo.undo.browser on usage.
- // You need to set djConfig.preventBackButtonFix = false to enable back button support.
- //changeUrl: boolean or String: Used as part of back button support. See notes for dojo.undo.browser on usage.
- //user: String: The user name. Used in conjuction with password. Passed to XMLHttpRequest.open().
- //password: String: The user's password. Used in conjuction with user. Passed to XMLHttpRequest.open().
- //file: Object or Array of Objects: an object simulating a file to be uploaded. file objects should have the following properties:
- // name or fileName: the name of the file
- // contentType: the MIME content type for the file.
- // content: the actual content of the file.
- //multipart: boolean: indicates whether this should be a multipart mime request. If kwArgs.file exists, then this
- // property is set to true automatically.
- //sync: boolean: if true, then a synchronous XMLHttpRequest call is done,
- // if false (the default), then an asynchronous call is used.
- //preventCache: boolean: If true, then a cache busting parameter is added to the request URL.
- // default value is false.
- //useCache: boolean: If true, then XMLHttpTransport will keep an internal cache of the server
- // response and use that response if a similar request is done again.
- // A similar request is one that has the same URL, query string and HTTP method value.
- // default is false.
- if(!kwArgs["url"]){
- // are we performing a history action?
- if( !kwArgs["formNode"]
- && (kwArgs["backButton"] || kwArgs["back"] || kwArgs["changeUrl"] || kwArgs["watchForURL"])
- && (!djConfig.preventBackButtonFix)) {
- dojo.deprecated("Using dojo.io.XMLHTTPTransport.bind() to add to browser history without doing an IO request",
- "Use dojo.undo.browser.addToHistory() instead.", "0.4");
- dojo.undo.browser.addToHistory(kwArgs);
- return true;
- }
- }
-
- // build this first for cache purposes
- var url = kwArgs.url;
- var query = "";
- if(kwArgs["formNode"]){
- var ta = kwArgs.formNode.getAttribute("action");
- if((ta)&&(!kwArgs["url"])){ url = ta; }
- var tp = kwArgs.formNode.getAttribute("method");
- if((tp)&&(!kwArgs["method"])){ kwArgs.method = tp; }
- query += dojo.io.encodeForm(kwArgs.formNode, kwArgs.encoding, kwArgs["formFilter"]);
- }
-
- if(url.indexOf("#") > -1) {
- dojo.debug("Warning: dojo.io.bind: stripping hash values from url:", url);
- url = url.split("#")[0];
- }
-
- if(kwArgs["file"]){
- // force post for file transfer
- kwArgs.method = "post";
- }
-
- if(!kwArgs["method"]){
- kwArgs.method = "get";
- }
-
- // guess the multipart value
- if(kwArgs.method.toLowerCase() == "get"){
- // GET cannot use multipart
- kwArgs.multipart = false;
- }else{
- if(kwArgs["file"]){
- // enforce multipart when sending files
- kwArgs.multipart = true;
- }else if(!kwArgs["multipart"]){
- // default
- kwArgs.multipart = false;
- }
- }
-
- if(kwArgs["backButton"] || kwArgs["back"] || kwArgs["changeUrl"]){
- dojo.undo.browser.addToHistory(kwArgs);
- }
-
- var content = kwArgs["content"] || {};
-
- if(kwArgs.sendTransport) {
- content["dojo.transport"] = "xmlhttp";
- }
-
- do { // break-block
- if(kwArgs.postContent){
- query = kwArgs.postContent;
- break;
- }
-
- if(content) {
- query += dojo.io.argsFromMap(content, kwArgs.encoding);
- }
-
- if(kwArgs.method.toLowerCase() == "get" || !kwArgs.multipart){
- break;
- }
-
- var t = [];
- if(query.length){
- var q = query.split("&");
- for(var i = 0; i < q.length; ++i){
- if(q[i].length){
- var p = q[i].split("=");
- t.push( "--" + this.multipartBoundary,
- "Content-Disposition: form-data; name=\"" + p[0] + "\"",
- "",
- p[1]);
- }
- }
- }
-
- if(kwArgs.file){
- if(dojo.lang.isArray(kwArgs.file)){
- for(var i = 0; i < kwArgs.file.length; ++i){
- var o = kwArgs.file[i];
- t.push( "--" + this.multipartBoundary,
- "Content-Disposition: form-data; name=\"" + o.name + "\"; filename=\"" + ("fileName" in o ? o.fileName : o.name) + "\"",
- "Content-Type: " + ("contentType" in o ? o.contentType : "application/octet-stream"),
- "",
- o.content);
- }
- }else{
- var o = kwArgs.file;
- t.push( "--" + this.multipartBoundary,
- "Content-Disposition: form-data; name=\"" + o.name + "\"; filename=\"" + ("fileName" in o ? o.fileName : o.name) + "\"",
- "Content-Type: " + ("contentType" in o ? o.contentType : "application/octet-stream"),
- "",
- o.content);
- }
- }
-
- if(t.length){
- t.push("--"+this.multipartBoundary+"--", "");
- query = t.join("\r\n");
- }
- }while(false);
-
- // kwArgs.Connection = "close";
-
- var async = kwArgs["sync"] ? false : true;
-
- var preventCache = kwArgs["preventCache"] ||
- (this.preventCache == true && kwArgs["preventCache"] != false);
- var useCache = kwArgs["useCache"] == true ||
- (this.useCache == true && kwArgs["useCache"] != false );
-
- // preventCache is browser-level (add query string junk), useCache
- // is for the local cache. If we say preventCache, then don't attempt
- // to look in the cache, but if useCache is true, we still want to cache
- // the response
- if(!preventCache && useCache){
- var cachedHttp = getFromCache(url, query, kwArgs.method);
- if(cachedHttp){
- doLoad(kwArgs, cachedHttp, url, query, false);
- return;
- }
- }
-
- // much of this is from getText, but reproduced here because we need
- // more flexibility
- var http = dojo.hostenv.getXmlhttpObject(kwArgs);
- var received = false;
-
- // build a handler function that calls back to the handler obj
- if(async){
- var startTime =
- // FIXME: setting up this callback handler leaks on IE!!!
- this.inFlight.push({
- "req": kwArgs,
- "http": http,
- "url": url,
- "query": query,
- "useCache": useCache,
- "startTime": kwArgs.timeoutSeconds ? (new Date()).getTime() : 0
- });
- this.startWatchingInFlight();
- }else{
- // block async callbacks until sync is in, needed in khtml, others?
- _this._blockAsync = true;
- }
-
- if(kwArgs.method.toLowerCase() == "post"){
- // FIXME: need to hack in more flexible Content-Type setting here!
- if (!kwArgs.user) {
- http.open("POST", url, async);
- }else{
- http.open("POST", url, async, kwArgs.user, kwArgs.password);
- }
- setHeaders(http, kwArgs);
- http.setRequestHeader("Content-Type", kwArgs.multipart ? ("multipart/form-data; boundary=" + this.multipartBoundary) :
- (kwArgs.contentType || "application/x-www-form-urlencoded"));
- try{
- http.send(query);
- }catch(e){
- if(typeof http.abort == "function"){
- http.abort();
- }
- doLoad(kwArgs, {status: 404}, url, query, useCache);
- }
- }else{
- var tmpUrl = url;
- if(query != "") {
- tmpUrl += (tmpUrl.indexOf("?") > -1 ? "&" : "?") + query;
- }
- if(preventCache) {
- tmpUrl += (dojo.string.endsWithAny(tmpUrl, "?", "&")
- ? "" : (tmpUrl.indexOf("?") > -1 ? "&" : "?")) + "dojo.preventCache=" + new Date().valueOf();
- }
- if (!kwArgs.user) {
- http.open(kwArgs.method.toUpperCase(), tmpUrl, async);
- }else{
- http.open(kwArgs.method.toUpperCase(), tmpUrl, async, kwArgs.user, kwArgs.password);
- }
- setHeaders(http, kwArgs);
- try {
- http.send(null);
- }catch(e) {
- if(typeof http.abort == "function"){
- http.abort();
- }
- doLoad(kwArgs, {status: 404}, url, query, useCache);
- }
- }
-
- if( !async ) {
- doLoad(kwArgs, http, url, query, useCache);
- _this._blockAsync = false;
- }
-
- kwArgs.abort = function(){
- try{// khtml doesent reset readyState on abort, need this workaround
- http._aborted = true;
- }catch(e){/*squelsh*/}
- return http.abort();
- }
-
- return;
- }
- dojo.io.transports.addTransport("XMLHTTPTransport");
-}
-
-}
-dojo.provide("dojo.io.cookie");
-
-dojo.io.cookie.setCookie = function(/*String*/name, /*String*/value,
- /*Number?*/days, /*String?*/path,
- /*String?*/domain, /*boolean?*/secure){
- //summary: sets a cookie.
- var expires = -1;
- if((typeof days == "number")&&(days >= 0)){
- var d = new Date();
- d.setTime(d.getTime()+(days*24*60*60*1000));
- expires = d.toGMTString();
- }
- value = escape(value);
- document.cookie = name + "=" + value + ";"
- + (expires != -1 ? " expires=" + expires + ";" : "")
- + (path ? "path=" + path : "")
- + (domain ? "; domain=" + domain : "")
- + (secure ? "; secure" : "");
-}
-
-dojo.io.cookie.set = dojo.io.cookie.setCookie;
-
-dojo.io.cookie.getCookie = function(/*String*/name){
- //summary: Gets a cookie with the given name.
-
- // FIXME: Which cookie should we return?
- // If there are cookies set for different sub domains in the current
- // scope there could be more than one cookie with the same name.
- // I think taking the last one in the list takes the one from the
- // deepest subdomain, which is what we're doing here.
- var idx = document.cookie.lastIndexOf(name+'=');
- if(idx == -1) { return null; }
- var value = document.cookie.substring(idx+name.length+1);
- var end = value.indexOf(';');
- if(end == -1) { end = value.length; }
- value = value.substring(0, end);
- value = unescape(value);
- return value; //String
-}
-
-dojo.io.cookie.get = dojo.io.cookie.getCookie;
-
-dojo.io.cookie.deleteCookie = function(/*String*/name){
- //summary: Deletes a cookie with the given name.
- dojo.io.cookie.setCookie(name, "-", 0);
-}
-
-dojo.io.cookie.setObjectCookie = function( /*String*/name, /*Object*/obj,
- /*Number?*/days, /*String?*/path,
- /*String?*/domain, /*boolean?*/secure,
- /*boolean?*/clearCurrent){
- //summary: Takes an object, serializes it to a cookie value, and either
- //sets a cookie with the serialized value.
- //description: If clearCurrent is true, then any current cookie value
- //for this object will be replaced with the the new serialized object value.
- //If clearCurrent is false, then the existing cookie value will be modified
- //with any changes from the new object value.
- //Objects must be simple name/value pairs where the value is either a string
- //or a number. Any other value will be ignored.
- if(arguments.length == 5){ // for backwards compat
- clearCurrent = domain;
- domain = null;
- secure = null;
- }
- var pairs = [], cookie, value = "";
- if(!clearCurrent){
- cookie = dojo.io.cookie.getObjectCookie(name);
- }
- if(days >= 0){
- if(!cookie){ cookie = {}; }
- for(var prop in obj){
- if(obj[prop] == null){
- delete cookie[prop];
- }else if((typeof obj[prop] == "string")||(typeof obj[prop] == "number")){
- cookie[prop] = obj[prop];
- }
- }
- prop = null;
- for(var prop in cookie){
- pairs.push(escape(prop) + "=" + escape(cookie[prop]));
- }
- value = pairs.join("&");
- }
- dojo.io.cookie.setCookie(name, value, days, path, domain, secure);
-}
-
-dojo.io.cookie.getObjectCookie = function(/*String*/name){
- //summary: Gets an object value for the given cookie name. The complement of
- //dojo.io.cookie.setObjectCookie().
- var values = null, cookie = dojo.io.cookie.getCookie(name);
- if(cookie){
- values = {};
- var pairs = cookie.split("&");
- for(var i = 0; i < pairs.length; i++){
- var pair = pairs[i].split("=");
- var value = pair[1];
- if( isNaN(value) ){ value = unescape(pair[1]); }
- values[ unescape(pair[0]) ] = value;
- }
- }
- return values;
-}
-
-dojo.io.cookie.isSupported = function(){
- //summary: Tests the browser to see if cookies are enabled.
- if(typeof navigator.cookieEnabled != "boolean"){
- dojo.io.cookie.setCookie("__TestingYourBrowserForCookieSupport__",
- "CookiesAllowed", 90, null);
- var cookieVal = dojo.io.cookie.getCookie("__TestingYourBrowserForCookieSupport__");
- navigator.cookieEnabled = (cookieVal == "CookiesAllowed");
- if(navigator.cookieEnabled){
- // FIXME: should we leave this around?
- this.deleteCookie("__TestingYourBrowserForCookieSupport__");
- }
- }
- return navigator.cookieEnabled; //boolean
-}
-
-// need to leave this in for backwards-compat from 0.1 for when it gets pulled in by dojo.io.*
-if(!dojo.io.cookies){ dojo.io.cookies = dojo.io.cookie; }
-
-dojo.provide("dojo.io.*");
-
-dojo.provide("dojo.event.common");
-
-
-// TODO: connection filter functions
-// these are functions that accept a method invocation (like around
-// advice) and return a boolean based on it. That value determines
-// whether or not the connection proceeds. It could "feel" like around
-// advice for those who know what it is (calling proceed() or not),
-// but I think presenting it as a "filter" and/or calling it with the
-// function args and not the MethodInvocation might make it more
-// palletable to "normal" users than around-advice currently is
-// TODO: execution scope mangling
-// YUI's event facility by default executes listeners in the context
-// of the source object. This is very odd, but should probably be
-// supported as an option (both for the source and for the dest). It
-// can be thought of as a connection-specific hitch().
-// TODO: more resiliency for 4+ arguments to connect()
-
-dojo.event = new function(){
- this._canTimeout = dojo.lang.isFunction(dj_global["setTimeout"])||dojo.lang.isAlien(dj_global["setTimeout"]);
-
- // FIXME: where should we put this method (not here!)?
- function interpolateArgs(args, searchForNames){
- var dl = dojo.lang;
- var ao = {
- srcObj: dj_global,
- srcFunc: null,
- adviceObj: dj_global,
- adviceFunc: null,
- aroundObj: null,
- aroundFunc: null,
- adviceType: (args.length>2) ? args[0] : "after",
- precedence: "last",
- once: false,
- delay: null,
- rate: 0,
- adviceMsg: false
- };
-
- switch(args.length){
- case 0: return;
- case 1: return;
- case 2:
- ao.srcFunc = args[0];
- ao.adviceFunc = args[1];
- break;
- case 3:
- if((dl.isObject(args[0]))&&(dl.isString(args[1]))&&(dl.isString(args[2]))){
- ao.adviceType = "after";
- ao.srcObj = args[0];
- ao.srcFunc = args[1];
- ao.adviceFunc = args[2];
- }else if((dl.isString(args[1]))&&(dl.isString(args[2]))){
- ao.srcFunc = args[1];
- ao.adviceFunc = args[2];
- }else if((dl.isObject(args[0]))&&(dl.isString(args[1]))&&(dl.isFunction(args[2]))){
- ao.adviceType = "after";
- ao.srcObj = args[0];
- ao.srcFunc = args[1];
- var tmpName = dl.nameAnonFunc(args[2], ao.adviceObj, searchForNames);
- ao.adviceFunc = tmpName;
- }else if((dl.isFunction(args[0]))&&(dl.isObject(args[1]))&&(dl.isString(args[2]))){
- ao.adviceType = "after";
- ao.srcObj = dj_global;
- var tmpName = dl.nameAnonFunc(args[0], ao.srcObj, searchForNames);
- ao.srcFunc = tmpName;
- ao.adviceObj = args[1];
- ao.adviceFunc = args[2];
- }
- break;
- case 4:
- if((dl.isObject(args[0]))&&(dl.isObject(args[2]))){
- // we can assume that we've got an old-style "connect" from
- // the sigslot school of event attachment. We therefore
- // assume after-advice.
- ao.adviceType = "after";
- ao.srcObj = args[0];
- ao.srcFunc = args[1];
- ao.adviceObj = args[2];
- ao.adviceFunc = args[3];
- }else if((dl.isString(args[0]))&&(dl.isString(args[1]))&&(dl.isObject(args[2]))){
- ao.adviceType = args[0];
- ao.srcObj = dj_global;
- ao.srcFunc = args[1];
- ao.adviceObj = args[2];
- ao.adviceFunc = args[3];
- }else if((dl.isString(args[0]))&&(dl.isFunction(args[1]))&&(dl.isObject(args[2]))){
- ao.adviceType = args[0];
- ao.srcObj = dj_global;
- var tmpName = dl.nameAnonFunc(args[1], dj_global, searchForNames);
- ao.srcFunc = tmpName;
- ao.adviceObj = args[2];
- ao.adviceFunc = args[3];
- }else if((dl.isString(args[0]))&&(dl.isObject(args[1]))&&(dl.isString(args[2]))&&(dl.isFunction(args[3]))){
- ao.srcObj = args[1];
- ao.srcFunc = args[2];
- var tmpName = dl.nameAnonFunc(args[3], dj_global, searchForNames);
- ao.adviceObj = dj_global;
- ao.adviceFunc = tmpName;
- }else if(dl.isObject(args[1])){
- ao.srcObj = args[1];
- ao.srcFunc = args[2];
- ao.adviceObj = dj_global;
- ao.adviceFunc = args[3];
- }else if(dl.isObject(args[2])){
- ao.srcObj = dj_global;
- ao.srcFunc = args[1];
- ao.adviceObj = args[2];
- ao.adviceFunc = args[3];
- }else{
- ao.srcObj = ao.adviceObj = ao.aroundObj = dj_global;
- ao.srcFunc = args[1];
- ao.adviceFunc = args[2];
- ao.aroundFunc = args[3];
- }
- break;
- case 6:
- ao.srcObj = args[1];
- ao.srcFunc = args[2];
- ao.adviceObj = args[3]
- ao.adviceFunc = args[4];
- ao.aroundFunc = args[5];
- ao.aroundObj = dj_global;
- break;
- default:
- ao.srcObj = args[1];
- ao.srcFunc = args[2];
- ao.adviceObj = args[3]
- ao.adviceFunc = args[4];
- ao.aroundObj = args[5];
- ao.aroundFunc = args[6];
- ao.once = args[7];
- ao.delay = args[8];
- ao.rate = args[9];
- ao.adviceMsg = args[10];
- break;
- }
-
- if(dl.isFunction(ao.aroundFunc)){
- var tmpName = dl.nameAnonFunc(ao.aroundFunc, ao.aroundObj, searchForNames);
- ao.aroundFunc = tmpName;
- }
-
- if(dl.isFunction(ao.srcFunc)){
- ao.srcFunc = dl.getNameInObj(ao.srcObj, ao.srcFunc);
- }
-
- if(dl.isFunction(ao.adviceFunc)){
- ao.adviceFunc = dl.getNameInObj(ao.adviceObj, ao.adviceFunc);
- }
-
- if((ao.aroundObj)&&(dl.isFunction(ao.aroundFunc))){
- ao.aroundFunc = dl.getNameInObj(ao.aroundObj, ao.aroundFunc);
- }
-
- if(!ao.srcObj){
- dojo.raise("bad srcObj for srcFunc: "+ao.srcFunc);
- }
- if(!ao.adviceObj){
- dojo.raise("bad adviceObj for adviceFunc: "+ao.adviceFunc);
- }
-
- if(!ao.adviceFunc){
- dojo.debug("bad adviceFunc for srcFunc: "+ao.srcFunc);
- dojo.debugShallow(ao);
- }
-
- return ao;
- }
-
- this.connect = function(/*...*/){
- // summary:
- // dojo.event.connect is the glue that holds most Dojo-based
- // applications together. Most combinations of arguments are
- // supported, with the connect() method attempting to disambiguate
- // the implied types of positional parameters. The following will
- // all work:
- // dojo.event.connect("globalFunctionName1", "globalFunctionName2");
- // dojo.event.connect(functionReference1, functionReference2);
- // dojo.event.connect("globalFunctionName1", functionReference2);
- // dojo.event.connect(functionReference1, "globalFunctionName2");
- // dojo.event.connect(scope1, "functionName1", "globalFunctionName2");
- // dojo.event.connect("globalFunctionName1", scope2, "functionName2");
- // dojo.event.connect(scope1, "functionName1", scope2, "functionName2");
- // dojo.event.connect("after", scope1, "functionName1", scope2, "functionName2");
- // dojo.event.connect("before", scope1, "functionName1", scope2, "functionName2");
- // dojo.event.connect("around", scope1, "functionName1",
- // scope2, "functionName2",
- // aroundFunctionReference);
- // dojo.event.connect("around", scope1, "functionName1",
- // scope2, "functionName2",
- // scope3, "aroundFunctionName");
- // dojo.event.connect("before-around", scope1, "functionName1",
- // scope2, "functionName2",
- // aroundFunctionReference);
- // dojo.event.connect("after-around", scope1, "functionName1",
- // scope2, "functionName2",
- // aroundFunctionReference);
- // dojo.event.connect("after-around", scope1, "functionName1",
- // scope2, "functionName2",
- // scope3, "aroundFunctionName");
- // dojo.event.connect("around", scope1, "functionName1",
- // scope2, "functionName2",
- // scope3, "aroundFunctionName", true, 30);
- // dojo.event.connect("around", scope1, "functionName1",
- // scope2, "functionName2",
- // scope3, "aroundFunctionName", null, null, 10);
- // adviceType:
- // Optional. String. One of "before", "after", "around",
- // "before-around", or "after-around". FIXME
- // srcObj:
- // the scope in which to locate/execute the named srcFunc. Along
- // with srcFunc, this creates a way to dereference the function to
- // call. So if the function in question is "foo.bar", the
- // srcObj/srcFunc pair would be foo and "bar", where "bar" is a
- // string and foo is an object reference.
- // srcFunc:
- // the name of the function to connect to. When it is executed,
- // the listener being registered with this call will be called.
- // The adviceType defines the call order between the source and
- // the target functions.
- // adviceObj:
- // the scope in which to locate/execute the named adviceFunc.
- // adviceFunc:
- // the name of the function being conected to srcObj.srcFunc
- // aroundObj:
- // the scope in which to locate/execute the named aroundFunc.
- // aroundFunc:
- // the name of, or a reference to, the function that will be used
- // to mediate the advice call. Around advice requires a special
- // unary function that will be passed a "MethodInvocation" object.
- // These objects have several important properties, namely:
- // - args
- // a mutable array of arguments to be passed into the
- // wrapped function
- // - proceed
- // a function that "continues" the invocation. The result
- // of this function is the return of the wrapped function.
- // You can then manipulate this return before passing it
- // back out (or take further action based on it).
- // once:
- // boolean that determines whether or not this connect() will
- // create a new connection if an identical connect() has already
- // been made. Defaults to "false".
- // delay:
- // an optional delay (in ms), as an integer, for dispatch of a
- // listener after the source has been fired.
- // rate:
- // an optional rate throttling parameter (integer, in ms). When
- // specified, this particular connection will not fire more than
- // once in the interval specified by the rate
- // adviceMsg:
- // boolean. Should the listener have all the parameters passed in
- // as a single argument?
-
- /*
- ao.adviceType = args[0];
- ao.srcObj = args[1];
- ao.srcFunc = args[2];
- ao.adviceObj = args[3]
- ao.adviceFunc = args[4];
- ao.aroundObj = args[5];
- ao.aroundFunc = args[6];
- ao.once = args[7];
- ao.delay = args[8];
- ao.rate = args[9];
- ao.adviceMsg = args[10];
- */
- if(arguments.length == 1){
- var ao = arguments[0];
- }else{
- var ao = interpolateArgs(arguments, true);
- }
- if(dojo.lang.isString(ao.srcFunc) && (ao.srcFunc.toLowerCase() == "onkey") ){
- if(dojo.render.html.ie){
- ao.srcFunc = "onkeydown";
- this.connect(ao);
- }
- ao.srcFunc = "onkeypress";
- }
-
-
- if(dojo.lang.isArray(ao.srcObj) && ao.srcObj!=""){
- var tmpAO = {};
- for(var x in ao){
- tmpAO[x] = ao[x];
- }
- var mjps = [];
- dojo.lang.forEach(ao.srcObj, function(src){
- if((dojo.render.html.capable)&&(dojo.lang.isString(src))){
- src = dojo.byId(src);
- // dojo.debug(src);
- }
- tmpAO.srcObj = src;
- // dojo.debug(tmpAO.srcObj, tmpAO.srcFunc);
- // dojo.debug(tmpAO.adviceObj, tmpAO.adviceFunc);
- mjps.push(dojo.event.connect.call(dojo.event, tmpAO));
- });
- return mjps;
- }
-
- // FIXME: just doing a "getForMethod()" seems to be enough to put this into infinite recursion!!
- var mjp = dojo.event.MethodJoinPoint.getForMethod(ao.srcObj, ao.srcFunc);
- if(ao.adviceFunc){
- var mjp2 = dojo.event.MethodJoinPoint.getForMethod(ao.adviceObj, ao.adviceFunc);
- }
-
- mjp.kwAddAdvice(ao);
-
- // advanced users might want to fsck w/ the join point manually
- return mjp; // a MethodJoinPoint object
- }
-
- this.log = function(/*object or funcName*/ a1, /*funcName*/ a2){
- // summary:
- // a function that will wrap and log all calls to the specified
- // a1.a2() function. If only a1 is passed, it'll be used as a
- // function or function name on the global context. Logging will
- // be sent to dojo.debug
- // a1:
- // if a2 is passed, this should be an object. If not, it can be a
- // function or function name.
- // a2:
- // a function name
- var kwArgs;
- if((arguments.length == 1)&&(typeof a1 == "object")){
- kwArgs = a1;
- }else{
- kwArgs = {
- srcObj: a1,
- srcFunc: a2
- };
- }
- kwArgs.adviceFunc = function(){
- var argsStr = [];
- for(var x=0; x= this.jp_.around.length){
- return this.jp_.object[this.jp_.methodname].apply(this.jp_.object, this.args);
- // return this.jp_.run_before_after(this.object, this.args);
- }else{
- var ti = this.jp_.around[this.around_index];
- var mobj = ti[0]||dj_global;
- var meth = ti[1];
- return mobj[meth].call(mobj, this);
- }
-}
-
-
-dojo.event.MethodJoinPoint = function(/*Object*/obj, /*String*/funcName){
- this.object = obj||dj_global;
- this.methodname = funcName;
- this.methodfunc = this.object[funcName];
- this.squelch = false;
- // this.before = [];
- // this.after = [];
- // this.around = [];
-}
-
-dojo.event.MethodJoinPoint.getForMethod = function(/*Object*/obj, /*String*/funcName){
- // summary:
- // "static" class function for returning a MethodJoinPoint from a
- // scoped function. If one doesn't exist, one is created.
- // obj:
- // the scope to search for the function in
- // funcName:
- // the name of the function to return a MethodJoinPoint for
- if(!obj){ obj = dj_global; }
- if(!obj[funcName]){
- // supply a do-nothing method implementation
- obj[funcName] = function(){};
- if(!obj[funcName]){
- // e.g. cannot add to inbuilt objects in IE6
- dojo.raise("Cannot set do-nothing method on that object "+funcName);
- }
- }else if((!dojo.lang.isFunction(obj[funcName]))&&(!dojo.lang.isAlien(obj[funcName]))){
- // FIXME: should we throw an exception here instead?
- return null;
- }
- // we hide our joinpoint instance in obj[funcName + '$joinpoint']
- var jpname = funcName + "$joinpoint";
- var jpfuncname = funcName + "$joinpoint$method";
- var joinpoint = obj[jpname];
- if(!joinpoint){
- var isNode = false;
- if(dojo.event["browser"]){
- if( (obj["attachEvent"])||
- (obj["nodeType"])||
- (obj["addEventListener"]) ){
- isNode = true;
- dojo.event.browser.addClobberNodeAttrs(obj, [jpname, jpfuncname, funcName]);
- }
- }
- var origArity = obj[funcName].length;
- obj[jpfuncname] = obj[funcName];
- // joinpoint = obj[jpname] = new dojo.event.MethodJoinPoint(obj, funcName);
- joinpoint = obj[jpname] = new dojo.event.MethodJoinPoint(obj, jpfuncname);
- obj[funcName] = function(){
- var args = [];
-
- if((isNode)&&(!arguments.length)){
- var evt = null;
- try{
- if(obj.ownerDocument){
- evt = obj.ownerDocument.parentWindow.event;
- }else if(obj.documentElement){
- evt = obj.documentElement.ownerDocument.parentWindow.event;
- }else if(obj.event){ //obj is a window
- evt = obj.event;
- }else{
- evt = window.event;
- }
- }catch(e){
- evt = window.event;
- }
-
- if(evt){
- args.push(dojo.event.browser.fixEvent(evt, this));
- }
- }else{
- for(var x=0; x0)){
- // pass a cloned array, if this event disconnects this event forEach on this.before wont work
- dojo.lang.forEach(this.before.concat(new Array()), unRollSquelch);
- }
-
- var result;
- try{
- if((this["around"])&&(this.around.length>0)){
- var mi = new dojo.event.MethodInvocation(this, obj, args);
- result = mi.proceed();
- }else if(this.methodfunc){
- result = this.object[this.methodname].apply(this.object, args);
- }
- }catch(e){
- if(!this.squelch){
- dojo.debug(e,"when calling",this.methodname,"on",this.object,"with arguments",args);
- dojo.raise(e);
- }
- }
-
- if((this["after"])&&(this.after.length>0)){
- // see comment on this.before above
- dojo.lang.forEach(this.after.concat(new Array()), unRollSquelch);
- }
-
- return (this.methodfunc) ? result : null;
- },
-
- getArr: function(/*String*/kind){
- // summary: return a list of listeners of the past "kind"
- // kind:
- // can be one of: "before", "after", "around", "before-around", or
- // "after-around"
- var type = "after";
- // FIXME: we should be able to do this through props or Array.in()
- if((typeof kind == "string")&&(kind.indexOf("before")!=-1)){
- type = "before";
- }else if(kind=="around"){
- type = "around";
- }
- if(!this[type]){ this[type] = []; }
- return this[type]; // Array
- },
-
- kwAddAdvice: function(/*Object*/args){
- // summary:
- // adds advice to the joinpoint with arguments in a map
- // args:
- // An object that can have the following properties:
- // - adviceType
- // - adviceObj
- // - adviceFunc
- // - aroundObj
- // - aroundFunc
- // - once
- // - delay
- // - rate
- // - adviceMsg
- this.addAdvice( args["adviceObj"], args["adviceFunc"],
- args["aroundObj"], args["aroundFunc"],
- args["adviceType"], args["precedence"],
- args["once"], args["delay"], args["rate"],
- args["adviceMsg"]);
- },
-
- addAdvice: function( thisAdviceObj, thisAdvice,
- thisAroundObj, thisAround,
- adviceType, precedence,
- once, delay, rate, asMessage){
- // summary:
- // add advice to this joinpoint using positional parameters
- // thisAdviceObj:
- // the scope in which to locate/execute the named adviceFunc.
- // thisAdviceFunc:
- // the name of the function being conected
- // thisAroundObj:
- // the scope in which to locate/execute the named aroundFunc.
- // thisAroundFunc:
- // the name of the function that will be used to mediate the
- // advice call.
- // adviceType:
- // Optional. String. One of "before", "after", "around",
- // "before-around", or "after-around". FIXME
- // once:
- // boolean that determines whether or not this advice will create
- // a new connection if an identical advice set has already been
- // provided. Defaults to "false".
- // delay:
- // an optional delay (in ms), as an integer, for dispatch of a
- // listener after the source has been fired.
- // rate:
- // an optional rate throttling parameter (integer, in ms). When
- // specified, this particular connection will not fire more than
- // once in the interval specified by the rate
- // adviceMsg:
- // boolean. Should the listener have all the parameters passed in
- // as a single argument?
- var arr = this.getArr(adviceType);
- if(!arr){
- dojo.raise("bad this: " + this);
- }
-
- var ao = [thisAdviceObj, thisAdvice, thisAroundObj, thisAround, delay, rate, asMessage];
-
- if(once){
- if(this.hasAdvice(thisAdviceObj, thisAdvice, adviceType, arr) >= 0){
- return;
- }
- }
-
- if(precedence == "first"){
- arr.unshift(ao);
- }else{
- arr.push(ao);
- }
- },
-
- hasAdvice: function(thisAdviceObj, thisAdvice, adviceType, arr){
- // summary:
- // returns the array index of the first existing connection
- // betweened the passed advice and this joinpoint. Will be -1 if
- // none exists.
- // thisAdviceObj:
- // the scope in which to locate/execute the named adviceFunc.
- // thisAdviceFunc:
- // the name of the function being conected
- // adviceType:
- // Optional. String. One of "before", "after", "around",
- // "before-around", or "after-around". FIXME
- // arr:
- // Optional. The list of advices to search. Will be found via
- // adviceType if not passed
- if(!arr){ arr = this.getArr(adviceType); }
- var ind = -1;
- for(var x=0; x=0; i=i-1){
- var el = na[i];
- try{
- if(el && el["__clobberAttrs__"]){
- for(var j=0; j= 65 && unifiedCharCode <= 90 && evt.shiftKey == false){
- unifiedCharCode += 32;
- }
- if(unifiedCharCode >= 1 && unifiedCharCode <= 26 && evt.ctrlKey){
- unifiedCharCode += 96; // 001-032 = ctrl+[a-z]
- }
- evt.key = String.fromCharCode(unifiedCharCode);
- }
- }
- } else if(evt["type"] == "keypress"){
- if(dojo.render.html.opera){
- if(evt.which == 0){
- evt.key = evt.keyCode;
- }else if(evt.which > 0){
- switch(evt.which){
- case evt.KEY_SHIFT:
- case evt.KEY_CTRL:
- case evt.KEY_ALT:
- case evt.KEY_CAPS_LOCK:
- case evt.KEY_NUM_LOCK:
- case evt.KEY_SCROLL_LOCK:
- break;
- case evt.KEY_PAUSE:
- case evt.KEY_TAB:
- case evt.KEY_BACKSPACE:
- case evt.KEY_ENTER:
- case evt.KEY_ESCAPE:
- evt.key = evt.which;
- break;
- default:
- var unifiedCharCode = evt.which;
- if((evt.ctrlKey || evt.altKey || evt.metaKey) && (evt.which >= 65 && evt.which <= 90 && evt.shiftKey == false)){
- unifiedCharCode += 32;
- }
- evt.key = String.fromCharCode(unifiedCharCode);
- }
- }
- }else if(dojo.render.html.ie){ // catch some IE keys that are hard to get in keyDown
- // key combinations were handled in onKeyDown
- if(!evt.ctrlKey && !evt.altKey && evt.keyCode >= evt.KEY_SPACE){
- evt.key = String.fromCharCode(evt.keyCode);
- }
- }else if(dojo.render.html.safari){
- switch(evt.keyCode){
- case 25: evt.key = evt.KEY_TAB; evt.shift = true;break;
- case 63232: evt.key = evt.KEY_UP_ARROW; break;
- case 63233: evt.key = evt.KEY_DOWN_ARROW; break;
- case 63234: evt.key = evt.KEY_LEFT_ARROW; break;
- case 63235: evt.key = evt.KEY_RIGHT_ARROW; break;
- case 63236: evt.key = evt.KEY_F1; break;
- case 63237: evt.key = evt.KEY_F2; break;
- case 63238: evt.key = evt.KEY_F3; break;
- case 63239: evt.key = evt.KEY_F4; break;
- case 63240: evt.key = evt.KEY_F5; break;
- case 63241: evt.key = evt.KEY_F6; break;
- case 63242: evt.key = evt.KEY_F7; break;
- case 63243: evt.key = evt.KEY_F8; break;
- case 63244: evt.key = evt.KEY_F9; break;
- case 63245: evt.key = evt.KEY_F10; break;
- case 63246: evt.key = evt.KEY_F11; break;
- case 63247: evt.key = evt.KEY_F12; break;
- case 63250: evt.key = evt.KEY_PAUSE; break;
- case 63272: evt.key = evt.KEY_DELETE; break;
- case 63273: evt.key = evt.KEY_HOME; break;
- case 63275: evt.key = evt.KEY_END; break;
- case 63276: evt.key = evt.KEY_PAGE_UP; break;
- case 63277: evt.key = evt.KEY_PAGE_DOWN; break;
- case 63302: evt.key = evt.KEY_INSERT; break;
- case 63248://prtscr
- case 63249://scrolllock
- case 63289://numlock
- break;
- default:
- evt.key = evt.charCode >= evt.KEY_SPACE ? String.fromCharCode(evt.charCode) : evt.keyCode;
- }
- }else{
- evt.key = evt.charCode > 0 ? String.fromCharCode(evt.charCode) : evt.keyCode;
- }
- }
- }
- if(dojo.render.html.ie){
- if(!evt.target){ evt.target = evt.srcElement; }
- if(!evt.currentTarget){ evt.currentTarget = (sender ? sender : evt.srcElement); }
- if(!evt.layerX){ evt.layerX = evt.offsetX; }
- if(!evt.layerY){ evt.layerY = evt.offsetY; }
- // FIXME: scroll position query is duped from dojo.html to avoid dependency on that entire module
- // DONOT replace the following to use dojo.body(), in IE, document.documentElement should be used
- // here rather than document.body
- var doc = (evt.srcElement && evt.srcElement.ownerDocument) ? evt.srcElement.ownerDocument : document;
- var docBody = ((dojo.render.html.ie55)||(doc["compatMode"] == "BackCompat")) ? doc.body : doc.documentElement;
- if(!evt.pageX){ evt.pageX = evt.clientX + (docBody.scrollLeft || 0) }
- if(!evt.pageY){ evt.pageY = evt.clientY + (docBody.scrollTop || 0) }
- // mouseover
- if(evt.type == "mouseover"){ evt.relatedTarget = evt.fromElement; }
- // mouseout
- if(evt.type == "mouseout"){ evt.relatedTarget = evt.toElement; }
- this.currentEvent = evt;
- evt.callListener = this.callListener;
- evt.stopPropagation = this._stopPropagation;
- evt.preventDefault = this._preventDefault;
- }
- return evt; // Event
- }
-
- this.stopEvent = function(/*Event*/evt){
- // summary:
- // prevents propigation and clobbers the default action of the
- // passed event
- // evt: Optional for IE. The native event object.
- if(window.event){
- evt.cancelBubble = true;
- evt.returnValue = false;
- }else{
- evt.preventDefault();
- evt.stopPropagation();
- }
- }
-}
-
-dojo.provide("dojo.event.*");
-
-dojo.provide("dojo.gfx.color");
-
-// TODO: rewrite the "x2y" methods to take advantage of the parsing
-// abilities of the Color object. Also, beef up the Color
-// object (as possible) to parse most common formats
-
-// takes an r, g, b, a(lpha) value, [r, g, b, a] array, "rgb(...)" string, hex string (#aaa, #aaaaaa, aaaaaaa)
-dojo.gfx.color.Color = function(r, g, b, a) {
- // dojo.debug("r:", r[0], "g:", r[1], "b:", r[2]);
- if(dojo.lang.isArray(r)){
- this.r = r[0];
- this.g = r[1];
- this.b = r[2];
- this.a = r[3]||1.0;
- }else if(dojo.lang.isString(r)){
- var rgb = dojo.gfx.color.extractRGB(r);
- this.r = rgb[0];
- this.g = rgb[1];
- this.b = rgb[2];
- this.a = g||1.0;
- }else if(r instanceof dojo.gfx.color.Color){
- // why does this create a new instance if we were passed one?
- this.r = r.r;
- this.b = r.b;
- this.g = r.g;
- this.a = r.a;
- }else{
- this.r = r;
- this.g = g;
- this.b = b;
- this.a = a;
- }
-}
-
-dojo.gfx.color.Color.fromArray = function(arr) {
- return new dojo.gfx.color.Color(arr[0], arr[1], arr[2], arr[3]);
-}
-
-dojo.extend(dojo.gfx.color.Color, {
- toRgb: function(includeAlpha) {
- if(includeAlpha) {
- return this.toRgba();
- } else {
- return [this.r, this.g, this.b];
- }
- },
- toRgba: function() {
- return [this.r, this.g, this.b, this.a];
- },
- toHex: function() {
- return dojo.gfx.color.rgb2hex(this.toRgb());
- },
- toCss: function() {
- return "rgb(" + this.toRgb().join() + ")";
- },
- toString: function() {
- return this.toHex(); // decent default?
- },
- blend: function(color, weight){
- var rgb = null;
- if(dojo.lang.isArray(color)){
- rgb = color;
- }else if(color instanceof dojo.gfx.color.Color){
- rgb = color.toRgb();
- }else{
- rgb = new dojo.gfx.color.Color(color).toRgb();
- }
- return dojo.gfx.color.blend(this.toRgb(), rgb, weight);
- }
-});
-
-dojo.gfx.color.named = {
- white: [255,255,255],
- black: [0,0,0],
- red: [255,0,0],
- green: [0,255,0],
- lime: [0,255,0],
- blue: [0,0,255],
- navy: [0,0,128],
- gray: [128,128,128],
- silver: [192,192,192]
-};
-
-dojo.gfx.color.blend = function(a, b, weight){
- // summary:
- // blend colors a and b (both as RGB array or hex strings) with weight
- // from -1 to +1, 0 being a 50/50 blend
- if(typeof a == "string"){
- return dojo.gfx.color.blendHex(a, b, weight);
- }
- if(!weight){
- weight = 0;
- }
- weight = Math.min(Math.max(-1, weight), 1);
-
- // alex: this interface blows.
- // map -1 to 1 to the range 0 to 1
- weight = ((weight + 1)/2);
-
- var c = [];
-
- // var stop = (1000*weight);
- for(var x = 0; x < 3; x++){
- c[x] = parseInt( b[x] + ( (a[x] - b[x]) * weight) );
- }
- return c;
-}
-
-// very convenient blend that takes and returns hex values
-// (will get called automatically by blend when blend gets strings)
-dojo.gfx.color.blendHex = function(a, b, weight) {
- return dojo.gfx.color.rgb2hex(dojo.gfx.color.blend(dojo.gfx.color.hex2rgb(a), dojo.gfx.color.hex2rgb(b), weight));
-}
-
-// get RGB array from css-style color declarations
-dojo.gfx.color.extractRGB = function(color) {
- var hex = "0123456789abcdef";
- color = color.toLowerCase();
- if( color.indexOf("rgb") == 0 ) {
- var matches = color.match(/rgba*\((\d+), *(\d+), *(\d+)/i);
- var ret = matches.splice(1, 3);
- return ret;
- } else {
- var colors = dojo.gfx.color.hex2rgb(color);
- if(colors) {
- return colors;
- } else {
- // named color (how many do we support?)
- return dojo.gfx.color.named[color] || [255, 255, 255];
- }
- }
-}
-
-dojo.gfx.color.hex2rgb = function(hex) {
- var hexNum = "0123456789ABCDEF";
- var rgb = new Array(3);
- if( hex.indexOf("#") == 0 ) { hex = hex.substring(1); }
- hex = hex.toUpperCase();
- if(hex.replace(new RegExp("["+hexNum+"]", "g"), "") != "") {
- return null;
- }
- if( hex.length == 3 ) {
- rgb[0] = hex.charAt(0) + hex.charAt(0)
- rgb[1] = hex.charAt(1) + hex.charAt(1)
- rgb[2] = hex.charAt(2) + hex.charAt(2);
- } else {
- rgb[0] = hex.substring(0, 2);
- rgb[1] = hex.substring(2, 4);
- rgb[2] = hex.substring(4);
- }
- for(var i = 0; i < rgb.length; i++) {
- rgb[i] = hexNum.indexOf(rgb[i].charAt(0)) * 16 + hexNum.indexOf(rgb[i].charAt(1));
- }
- return rgb;
-}
-
-dojo.gfx.color.rgb2hex = function(r, g, b) {
- if(dojo.lang.isArray(r)) {
- g = r[1] || 0;
- b = r[2] || 0;
- r = r[0] || 0;
- }
- var ret = dojo.lang.map([r, g, b], function(x) {
- x = new Number(x);
- var s = x.toString(16);
- while(s.length < 2) { s = "0" + s; }
- return s;
- });
- ret.unshift("#");
- return ret.join("");
-}
-
-dojo.provide("dojo.lfx.Animation");
-
-
-/*
- Animation package based on Dan Pupius' work: http://pupius.co.uk/js/Toolkit.Drawing.js
-*/
-dojo.lfx.Line = function(/*int*/ start, /*int*/ end){
- // summary: dojo.lfx.Line is the object used to generate values
- // from a start value to an end value
- this.start = start;
- this.end = end;
- if(dojo.lang.isArray(start)){
- /* start: Array
- end: Array
- pId: a */
- var diff = [];
- dojo.lang.forEach(this.start, function(s,i){
- diff[i] = this.end[i] - s;
- }, this);
-
- this.getValue = function(/*float*/ n){
- var res = [];
- dojo.lang.forEach(this.start, function(s, i){
- res[i] = (diff[i] * n) + s;
- }, this);
- return res; // Array
- }
- }else{
- var diff = end - start;
-
- this.getValue = function(/*float*/ n){
- // summary: returns the point on the line
- // n: a floating point number greater than 0 and less than 1
- return (diff * n) + this.start; // Decimal
- }
- }
-}
-
-dojo.lfx.easeDefault = function(/*Decimal?*/ n){
- // summary: Returns the point for point n on a sin wave.
- if(dojo.render.html.khtml){
- // the cool kids are obviously not using konqueror...
- // found a very wierd bug in floats constants, 1.5 evals as 1
- // seems somebody mixed up ints and floats in 3.5.4 ??
- // FIXME: investigate more and post a KDE bug (Fredrik)
- return (parseFloat("0.5")+((Math.sin( (n+parseFloat("1.5")) * Math.PI))/2));
- }else{
- return (0.5+((Math.sin( (n+1.5) * Math.PI))/2));
- }
-}
-
-dojo.lfx.easeIn = function(/*Decimal?*/ n){
- // summary: returns the point on an easing curve
- // n: a floating point number greater than 0 and less than 1
- return Math.pow(n, 3);
-}
-
-dojo.lfx.easeOut = function(/*Decimal?*/ n){
- // summary: returns the point on the line
- // n: a floating point number greater than 0 and less than 1
- return ( 1 - Math.pow(1 - n, 3) );
-}
-
-dojo.lfx.easeInOut = function(/*Decimal?*/ n){
- // summary: returns the point on the line
- // n: a floating point number greater than 0 and less than 1
- return ( (3 * Math.pow(n, 2)) - (2 * Math.pow(n, 3)) );
-}
-
-dojo.lfx.IAnimation = function(){
- // summary: dojo.lfx.IAnimation is an interface that implements
- // commonly used functions of animation objects
-}
-dojo.lang.extend(dojo.lfx.IAnimation, {
- // public properties
- curve: null,
- duration: 1000,
- easing: null,
- repeatCount: 0,
- rate: 25,
-
- // events
- handler: null,
- beforeBegin: null,
- onBegin: null,
- onAnimate: null,
- onEnd: null,
- onPlay: null,
- onPause: null,
- onStop: null,
-
- // public methods
- play: null,
- pause: null,
- stop: null,
-
- connect: function(/*Event*/ evt, /*Object*/ scope, /*Function*/ newFunc){
- // summary: Convenience function. Quickly connect to an event
- // of this object and save the old functions connected to it.
- // evt: The name of the event to connect to.
- // scope: the scope in which to run newFunc.
- // newFunc: the function to run when evt is fired.
- if(!newFunc){
- /* scope: Function
- newFunc: null
- pId: f */
- newFunc = scope;
- scope = this;
- }
- newFunc = dojo.lang.hitch(scope, newFunc);
- var oldFunc = this[evt]||function(){};
- this[evt] = function(){
- var ret = oldFunc.apply(this, arguments);
- newFunc.apply(this, arguments);
- return ret;
- }
- return this; // dojo.lfx.IAnimation
- },
-
- fire: function(/*Event*/ evt, /*Array*/ args){
- // summary: Convenience function. Fire event "evt" and pass it
- // the arguments specified in "args".
- // evt: The event to fire.
- // args: The arguments to pass to the event.
- if(this[evt]){
- this[evt].apply(this, (args||[]));
- }
- return this; // dojo.lfx.IAnimation
- },
-
- repeat: function(/*int*/ count){
- // summary: Set the repeat count of this object.
- // count: How many times to repeat the animation.
- this.repeatCount = count;
- return this; // dojo.lfx.IAnimation
- },
-
- // private properties
- _active: false,
- _paused: false
-});
-
-dojo.lfx.Animation = function( /*Object*/ handlers,
- /*int*/ duration,
- /*dojo.lfx.Line*/ curve,
- /*function*/ easing,
- /*int*/ repeatCount,
- /*int*/ rate){
- // summary
- // a generic animation object that fires callbacks into it's handlers
- // object at various states
- // handlers: { handler: Function?, onstart: Function?, onstop: Function?, onanimate: Function? }
- dojo.lfx.IAnimation.call(this);
- if(dojo.lang.isNumber(handlers)||(!handlers && duration.getValue)){
- // no handlers argument:
- rate = repeatCount;
- repeatCount = easing;
- easing = curve;
- curve = duration;
- duration = handlers;
- handlers = null;
- }else if(handlers.getValue||dojo.lang.isArray(handlers)){
- // no handlers or duration:
- rate = easing;
- repeatCount = curve;
- easing = duration;
- curve = handlers;
- duration = null;
- handlers = null;
- }
- if(dojo.lang.isArray(curve)){
- /* curve: Array
- pId: a */
- this.curve = new dojo.lfx.Line(curve[0], curve[1]);
- }else{
- this.curve = curve;
- }
- if(duration != null && duration > 0){ this.duration = duration; }
- if(repeatCount){ this.repeatCount = repeatCount; }
- if(rate){ this.rate = rate; }
- if(handlers){
- dojo.lang.forEach([
- "handler", "beforeBegin", "onBegin",
- "onEnd", "onPlay", "onStop", "onAnimate"
- ], function(item){
- if(handlers[item]){
- this.connect(item, handlers[item]);
- }
- }, this);
- }
- if(easing && dojo.lang.isFunction(easing)){
- this.easing=easing;
- }
-}
-dojo.inherits(dojo.lfx.Animation, dojo.lfx.IAnimation);
-dojo.lang.extend(dojo.lfx.Animation, {
- // "private" properties
- _startTime: null,
- _endTime: null,
- _timer: null,
- _percent: 0,
- _startRepeatCount: 0,
-
- // public methods
- play: function(/*int?*/ delay, /*bool?*/ gotoStart){
- // summary: Start the animation.
- // delay: How many milliseconds to delay before starting.
- // gotoStart: If true, starts the animation from the beginning; otherwise,
- // starts it from its current position.
- if(gotoStart){
- clearTimeout(this._timer);
- this._active = false;
- this._paused = false;
- this._percent = 0;
- }else if(this._active && !this._paused){
- return this; // dojo.lfx.Animation
- }
-
- this.fire("handler", ["beforeBegin"]);
- this.fire("beforeBegin");
-
- if(delay > 0){
- setTimeout(dojo.lang.hitch(this, function(){ this.play(null, gotoStart); }), delay);
- return this; // dojo.lfx.Animation
- }
-
- this._startTime = new Date().valueOf();
- if(this._paused){
- this._startTime -= (this.duration * this._percent / 100);
- }
- this._endTime = this._startTime + this.duration;
-
- this._active = true;
- this._paused = false;
-
- var step = this._percent / 100;
- var value = this.curve.getValue(step);
- if(this._percent == 0 ){
- if(!this._startRepeatCount){
- this._startRepeatCount = this.repeatCount;
- }
- this.fire("handler", ["begin", value]);
- this.fire("onBegin", [value]);
- }
-
- this.fire("handler", ["play", value]);
- this.fire("onPlay", [value]);
-
- this._cycle();
- return this; // dojo.lfx.Animation
- },
-
- pause: function(){
- // summary: Pauses a running animation.
- clearTimeout(this._timer);
- if(!this._active){ return this; /*dojo.lfx.Animation*/}
- this._paused = true;
- var value = this.curve.getValue(this._percent / 100);
- this.fire("handler", ["pause", value]);
- this.fire("onPause", [value]);
- return this; // dojo.lfx.Animation
- },
-
- gotoPercent: function(/*Decimal*/ pct, /*bool?*/ andPlay){
- // summary: Sets the progress of the animation.
- // pct: A percentage in decimal notation (between and including 0.0 and 1.0).
- // andPlay: If true, play the animation after setting the progress.
- clearTimeout(this._timer);
- this._active = true;
- this._paused = true;
- this._percent = pct;
- if(andPlay){ this.play(); }
- return this; // dojo.lfx.Animation
- },
-
- stop: function(/*bool?*/ gotoEnd){
- // summary: Stops a running animation.
- // gotoEnd: If true, the animation will end.
- clearTimeout(this._timer);
- var step = this._percent / 100;
- if(gotoEnd){
- step = 1;
- }
- var value = this.curve.getValue(step);
- this.fire("handler", ["stop", value]);
- this.fire("onStop", [value]);
- this._active = false;
- this._paused = false;
- return this; // dojo.lfx.Animation
- },
-
- status: function(){
- // summary: Returns a string representation of the status of
- // the animation.
- if(this._active){
- return this._paused ? "paused" : "playing"; // String
- }else{
- return "stopped"; // String
- }
- return this;
- },
-
- // "private" methods
- _cycle: function(){
- clearTimeout(this._timer);
- if(this._active){
- var curr = new Date().valueOf();
- var step = (curr - this._startTime) / (this._endTime - this._startTime);
-
- if(step >= 1){
- step = 1;
- this._percent = 100;
- }else{
- this._percent = step * 100;
- }
-
- // Perform easing
- if((this.easing)&&(dojo.lang.isFunction(this.easing))){
- step = this.easing(step);
- }
-
- var value = this.curve.getValue(step);
- this.fire("handler", ["animate", value]);
- this.fire("onAnimate", [value]);
-
- if( step < 1 ){
- this._timer = setTimeout(dojo.lang.hitch(this, "_cycle"), this.rate);
- }else{
- this._active = false;
- this.fire("handler", ["end"]);
- this.fire("onEnd");
-
- if(this.repeatCount > 0){
- this.repeatCount--;
- this.play(null, true);
- }else if(this.repeatCount == -1){
- this.play(null, true);
- }else{
- if(this._startRepeatCount){
- this.repeatCount = this._startRepeatCount;
- this._startRepeatCount = 0;
- }
- }
- }
- }
- return this; // dojo.lfx.Animation
- }
-});
-
-dojo.lfx.Combine = function(/*dojo.lfx.IAnimation...*/ animations){
- // summary: An animation object to play animations passed to it at the same time.
- dojo.lfx.IAnimation.call(this);
- this._anims = [];
- this._animsEnded = 0;
-
- var anims = arguments;
- if(anims.length == 1 && (dojo.lang.isArray(anims[0]) || dojo.lang.isArrayLike(anims[0]))){
- /* animations: dojo.lfx.IAnimation[]
- pId: a */
- anims = anims[0];
- }
-
- dojo.lang.forEach(anims, function(anim){
- this._anims.push(anim);
- anim.connect("onEnd", dojo.lang.hitch(this, "_onAnimsEnded"));
- }, this);
-}
-dojo.inherits(dojo.lfx.Combine, dojo.lfx.IAnimation);
-dojo.lang.extend(dojo.lfx.Combine, {
- // private members
- _animsEnded: 0,
-
- // public methods
- play: function(/*int?*/ delay, /*bool?*/ gotoStart){
- // summary: Start the animations.
- // delay: How many milliseconds to delay before starting.
- // gotoStart: If true, starts the animations from the beginning; otherwise,
- // starts them from their current position.
- if( !this._anims.length ){ return this; /*dojo.lfx.Combine*/}
-
- this.fire("beforeBegin");
-
- if(delay > 0){
- setTimeout(dojo.lang.hitch(this, function(){ this.play(null, gotoStart); }), delay);
- return this; // dojo.lfx.Combine
- }
-
- if(gotoStart || this._anims[0].percent == 0){
- this.fire("onBegin");
- }
- this.fire("onPlay");
- this._animsCall("play", null, gotoStart);
- return this; // dojo.lfx.Combine
- },
-
- pause: function(){
- // summary: Pauses the running animations.
- this.fire("onPause");
- this._animsCall("pause");
- return this; // dojo.lfx.Combine
- },
-
- stop: function(/*bool?*/ gotoEnd){
- // summary: Stops the running animations.
- // gotoEnd: If true, the animations will end.
- this.fire("onStop");
- this._animsCall("stop", gotoEnd);
- return this; // dojo.lfx.Combine
- },
-
- // private methods
- _onAnimsEnded: function(){
- this._animsEnded++;
- if(this._animsEnded >= this._anims.length){
- this.fire("onEnd");
- }
- return this; // dojo.lfx.Combine
- },
-
- _animsCall: function(/*String*/ funcName){
- var args = [];
- if(arguments.length > 1){
- for(var i = 1 ; i < arguments.length ; i++){
- args.push(arguments[i]);
- }
- }
- var _this = this;
- dojo.lang.forEach(this._anims, function(anim){
- anim[funcName](args);
- }, _this);
- return this; // dojo.lfx.Combine
- }
-});
-
-dojo.lfx.Chain = function(/*dojo.lfx.IAnimation...*/ animations) {
- // summary: An animation object to play animations passed to it
- // one after another.
- dojo.lfx.IAnimation.call(this);
- this._anims = [];
- this._currAnim = -1;
-
- var anims = arguments;
- if(anims.length == 1 && (dojo.lang.isArray(anims[0]) || dojo.lang.isArrayLike(anims[0]))){
- /* animations: dojo.lfx.IAnimation[]
- pId: a */
- anims = anims[0];
- }
-
- var _this = this;
- dojo.lang.forEach(anims, function(anim, i, anims_arr){
- this._anims.push(anim);
- if(i < anims_arr.length - 1){
- anim.connect("onEnd", dojo.lang.hitch(this, "_playNext") );
- }else{
- anim.connect("onEnd", dojo.lang.hitch(this, function(){ this.fire("onEnd"); }) );
- }
- }, this);
-}
-dojo.inherits(dojo.lfx.Chain, dojo.lfx.IAnimation);
-dojo.lang.extend(dojo.lfx.Chain, {
- // private members
- _currAnim: -1,
-
- // public methods
- play: function(/*int?*/ delay, /*bool?*/ gotoStart){
- // summary: Start the animation sequence.
- // delay: How many milliseconds to delay before starting.
- // gotoStart: If true, starts the sequence from the beginning; otherwise,
- // starts it from its current position.
- if( !this._anims.length ) { return this; /*dojo.lfx.Chain*/}
- if( gotoStart || !this._anims[this._currAnim] ) {
- this._currAnim = 0;
- }
-
- var currentAnimation = this._anims[this._currAnim];
-
- this.fire("beforeBegin");
- if(delay > 0){
- setTimeout(dojo.lang.hitch(this, function(){ this.play(null, gotoStart); }), delay);
- return this; // dojo.lfx.Chain
- }
-
- if(currentAnimation){
- if(this._currAnim == 0){
- this.fire("handler", ["begin", this._currAnim]);
- this.fire("onBegin", [this._currAnim]);
- }
- this.fire("onPlay", [this._currAnim]);
- currentAnimation.play(null, gotoStart);
- }
- return this; // dojo.lfx.Chain
- },
-
- pause: function(){
- // summary: Pauses the running animation sequence.
- if( this._anims[this._currAnim] ) {
- this._anims[this._currAnim].pause();
- this.fire("onPause", [this._currAnim]);
- }
- return this; // dojo.lfx.Chain
- },
-
- playPause: function(){
- // summary: If the animation sequence is playing, pause it; otherwise,
- // play it.
- if(this._anims.length == 0){ return this; }
- if(this._currAnim == -1){ this._currAnim = 0; }
- var currAnim = this._anims[this._currAnim];
- if( currAnim ) {
- if( !currAnim._active || currAnim._paused ) {
- this.play();
- } else {
- this.pause();
- }
- }
- return this; // dojo.lfx.Chain
- },
-
- stop: function(){
- // summary: Stops the running animations.
- var currAnim = this._anims[this._currAnim];
- if(currAnim){
- currAnim.stop();
- this.fire("onStop", [this._currAnim]);
- }
- return currAnim; // dojo.lfx.IAnimation
- },
-
- // private methods
- _playNext: function(){
- if( this._currAnim == -1 || this._anims.length == 0 ) { return this; }
- this._currAnim++;
- if( this._anims[this._currAnim] ){
- this._anims[this._currAnim].play(null, true);
- }
- return this; // dojo.lfx.Chain
- }
-});
-
-dojo.lfx.combine = function(/*dojo.lfx.IAnimation...*/ animations){
- // summary: Convenience function. Returns a dojo.lfx.Combine created
- // using the animations passed in.
- var anims = arguments;
- if(dojo.lang.isArray(arguments[0])){
- /* animations: dojo.lfx.IAnimation[]
- pId: a */
- anims = arguments[0];
- }
- if(anims.length == 1){ return anims[0]; }
- return new dojo.lfx.Combine(anims); // dojo.lfx.Combine
-}
-
-dojo.lfx.chain = function(/*dojo.lfx.IAnimation...*/ animations){
- // summary: Convenience function. Returns a dojo.lfx.Chain created
- // using the animations passed in.
- var anims = arguments;
- if(dojo.lang.isArray(arguments[0])){
- /* animations: dojo.lfx.IAnimation[]
- pId: a */
- anims = arguments[0];
- }
- if(anims.length == 1){ return anims[0]; }
- return new dojo.lfx.Chain(anims); // dojo.lfx.Combine
-}
-
-dojo.provide("dojo.html.common");
-
-dojo.lang.mixin(dojo.html, dojo.dom);
-
-dojo.html.body = function(){
- dojo.deprecated("dojo.html.body() moved to dojo.body()", "0.5");
- return dojo.body();
-}
-
-// FIXME: we are going to assume that we can throw any and every rendering
-// engine into the IE 5.x box model. In Mozilla, we do this w/ CSS.
-// Need to investigate for KHTML and Opera
-
-dojo.html.getEventTarget = function(/* DOMEvent */evt){
- // summary
- // Returns the target of an event
- if(!evt) { evt = dojo.global().event || {} };
- var t = (evt.srcElement ? evt.srcElement : (evt.target ? evt.target : null));
- while((t)&&(t.nodeType!=1)){ t = t.parentNode; }
- return t; // HTMLElement
-}
-
-dojo.html.getViewport = function(){
- // summary
- // Returns the dimensions of the viewable area of a browser window
- var _window = dojo.global();
- var _document = dojo.doc();
- var w = 0;
- var h = 0;
-
- if(dojo.render.html.mozilla){
- // mozilla
- w = _document.documentElement.clientWidth;
- h = _window.innerHeight;
- }else if(!dojo.render.html.opera && _window.innerWidth){
- //in opera9, dojo.body().clientWidth should be used, instead
- //of window.innerWidth/document.documentElement.clientWidth
- //so we have to check whether it is opera
- w = _window.innerWidth;
- h = _window.innerHeight;
- } else if (!dojo.render.html.opera && dojo.exists(_document, "documentElement.clientWidth")){
- // IE6 Strict
- var w2 = _document.documentElement.clientWidth;
- // this lets us account for scrollbars
- if(!w || w2 && w2 < w) {
- w = w2;
- }
- h = _document.documentElement.clientHeight;
- } else if (dojo.body().clientWidth){
- // IE, Opera
- w = dojo.body().clientWidth;
- h = dojo.body().clientHeight;
- }
- return { width: w, height: h }; // object
-}
-
-dojo.html.getScroll = function(){
- // summary
- // Returns the scroll position of the document
- var _window = dojo.global();
- var _document = dojo.doc();
- var top = _window.pageYOffset || _document.documentElement.scrollTop || dojo.body().scrollTop || 0;
- var left = _window.pageXOffset || _document.documentElement.scrollLeft || dojo.body().scrollLeft || 0;
- return {
- top: top,
- left: left,
- offset:{ x: left, y: top } // note the change, NOT an Array with added properties.
- }; // object
-}
-
-dojo.html.getParentByType = function(/* HTMLElement */node, /* string */type) {
- // summary
- // Returns the first ancestor of node with tagName type.
- var _document = dojo.doc();
- var parent = dojo.byId(node);
- type = type.toLowerCase();
- while((parent)&&(parent.nodeName.toLowerCase()!=type)){
- if(parent==(_document["body"]||_document["documentElement"])){
- return null;
- }
- parent = parent.parentNode;
- }
- return parent; // HTMLElement
-}
-
-dojo.html.getAttribute = function(/* HTMLElement */node, /* string */attr){
- // summary
- // Returns the value of attribute attr from node.
- node = dojo.byId(node);
- // FIXME: need to add support for attr-specific accessors
- if((!node)||(!node.getAttribute)){
- // if(attr !== 'nwType'){
- // alert("getAttr of '" + attr + "' with bad node");
- // }
- return null;
- }
- var ta = typeof attr == 'string' ? attr : new String(attr);
-
- // first try the approach most likely to succeed
- var v = node.getAttribute(ta.toUpperCase());
- if((v)&&(typeof v == 'string')&&(v!="")){
- return v; // string
- }
-
- // try returning the attributes value, if we couldn't get it as a string
- if(v && v.value){
- return v.value; // string
- }
-
- // this should work on Opera 7, but it's a little on the crashy side
- if((node.getAttributeNode)&&(node.getAttributeNode(ta))){
- return (node.getAttributeNode(ta)).value; // string
- }else if(node.getAttribute(ta)){
- return node.getAttribute(ta); // string
- }else if(node.getAttribute(ta.toLowerCase())){
- return node.getAttribute(ta.toLowerCase()); // string
- }
- return null; // string
-}
-
-dojo.html.hasAttribute = function(/* HTMLElement */node, /* string */attr){
- // summary
- // Determines whether or not the specified node carries a value for the attribute in question.
- return dojo.html.getAttribute(dojo.byId(node), attr) ? true : false; // boolean
-}
-
-dojo.html.getCursorPosition = function(/* DOMEvent */e){
- // summary
- // Returns the mouse position relative to the document (not the viewport).
- // For example, if you have a document that is 10000px tall,
- // but your browser window is only 100px tall,
- // if you scroll to the bottom of the document and call this function it
- // will return {x: 0, y: 10000}
- // NOTE: for events delivered via dojo.event.connect() and/or dojoAttachEvent (for widgets),
- // you can just access evt.pageX and evt.pageY, rather than calling this function.
- e = e || dojo.global().event;
- var cursor = {x:0, y:0};
- if(e.pageX || e.pageY){
- cursor.x = e.pageX;
- cursor.y = e.pageY;
- }else{
- var de = dojo.doc().documentElement;
- var db = dojo.body();
- cursor.x = e.clientX + ((de||db)["scrollLeft"]) - ((de||db)["clientLeft"]);
- cursor.y = e.clientY + ((de||db)["scrollTop"]) - ((de||db)["clientTop"]);
- }
- return cursor; // object
-}
-
-dojo.html.isTag = function(/* HTMLElement */node) {
- // summary
- // Like dojo.dom.isTag, except case-insensitive
- node = dojo.byId(node);
- if(node && node.tagName) {
- for (var i=1; i,
- //which will be treated as an external javascript file in IE
- var xscript = dojo.doc().createElement('script');
- xscript.src = "javascript:'dojo.html.createExternalElement=function(doc, tag){ return doc.createElement(tag); }'";
- dojo.doc().getElementsByTagName("head")[0].appendChild(xscript);
- })();
- }
-}else{
- //for other browsers, simply use document.createElement
- //is enough
- dojo.html.createExternalElement = function(/* HTMLDocument */doc, /* string */tag){
- // summary
- // Creates an element in the HTML document, here for ActiveX activation workaround.
- return doc.createElement(tag); // HTMLElement
- }
-}
-
-dojo.html._callDeprecated = function(inFunc, replFunc, args, argName, retValue){
- dojo.deprecated("dojo.html." + inFunc,
- "replaced by dojo.html." + replFunc + "(" + (argName ? "node, {"+ argName + ": " + argName + "}" : "" ) + ")" + (retValue ? "." + retValue : ""), "0.5");
- var newArgs = [];
- if(argName){ var argsIn = {}; argsIn[argName] = args[1]; newArgs.push(args[0]); newArgs.push(argsIn); }
- else { newArgs = args }
- var ret = dojo.html[replFunc].apply(dojo.html, args);
- if(retValue){ return ret[retValue]; }
- else { return ret; }
-}
-
-dojo.html.getViewportWidth = function(){
- return dojo.html._callDeprecated("getViewportWidth", "getViewport", arguments, null, "width");
-}
-dojo.html.getViewportHeight = function(){
- return dojo.html._callDeprecated("getViewportHeight", "getViewport", arguments, null, "height");
-}
-dojo.html.getViewportSize = function(){
- return dojo.html._callDeprecated("getViewportSize", "getViewport", arguments);
-}
-dojo.html.getScrollTop = function(){
- return dojo.html._callDeprecated("getScrollTop", "getScroll", arguments, null, "top");
-}
-dojo.html.getScrollLeft = function(){
- return dojo.html._callDeprecated("getScrollLeft", "getScroll", arguments, null, "left");
-}
-dojo.html.getScrollOffset = function(){
- return dojo.html._callDeprecated("getScrollOffset", "getScroll", arguments, null, "offset");
-}
-
-dojo.provide("dojo.uri.Uri");
-
-dojo.uri = new function() {
- this.dojoUri = function (/*dojo.uri.Uri||String*/uri) {
- // summary: returns a Uri object resolved relative to the dojo root
- return new dojo.uri.Uri(dojo.hostenv.getBaseScriptUri(), uri);
- }
-
- this.moduleUri = function(/*String*/module, /*dojo.uri.Uri||String*/uri){
- // summary: returns a Uri object relative to a module
- // description: Examples: dojo.uri.moduleUri("dojo","Editor"), or dojo.uri.moduleUri("acme","someWidget")
- var loc = dojo.hostenv.getModuleSymbols(module).join('/');
- //var loc = dojo.hostenv.getModulePrefix(module);
- if(!loc){return null;}
- if(loc.lastIndexOf("/") != loc.length-1){loc += "/";}
- return new dojo.uri.Uri(dojo.hostenv.getBaseScriptUri()+loc,uri);
- }
-
- this.Uri = function (/*dojo.uri.Uri||String...*/) {
- // summary: Constructor to create an object representing a URI.
- // description:
- // Each argument is evaluated in order relative to the next until
- // a canonical uri is produced. To get an absolute Uri relative
- // to the current document use
- // new dojo.uri.Uri(document.baseURI, uri)
-
- // TODO: support for IPv6, see RFC 2732
-
- // resolve uri components relative to each other
- var uri = arguments[0];
- for (var i = 1; i < arguments.length; i++) {
- if(!arguments[i]) { continue; }
-
- // Safari doesn't support this.constructor so we have to be explicit
- var relobj = new dojo.uri.Uri(arguments[i].toString());
- var uriobj = new dojo.uri.Uri(uri.toString());
-
- if ((relobj.path=="")&&(relobj.scheme==null)&&(relobj.authority==null)&&(relobj.query==null)) {
- if (relobj.fragment != null) { uriobj.fragment = relobj.fragment; }
- relobj = uriobj;
- } else if (relobj.scheme == null) {
- relobj.scheme = uriobj.scheme;
-
- if (relobj.authority == null) {
- relobj.authority = uriobj.authority;
-
- if (relobj.path.charAt(0) != "/") {
- var path = uriobj.path.substring(0,
- uriobj.path.lastIndexOf("/") + 1) + relobj.path;
-
- var segs = path.split("/");
- for (var j = 0; j < segs.length; j++) {
- if (segs[j] == ".") {
- if (j == segs.length - 1) { segs[j] = ""; }
- else { segs.splice(j, 1); j--; }
- } else if (j > 0 && !(j == 1 && segs[0] == "") &&
- segs[j] == ".." && segs[j-1] != "..") {
-
- if (j == segs.length - 1) { segs.splice(j, 1); segs[j - 1] = ""; }
- else { segs.splice(j - 1, 2); j -= 2; }
- }
- }
- relobj.path = segs.join("/");
- }
- }
- }
-
- uri = "";
- if (relobj.scheme != null) { uri += relobj.scheme + ":"; }
- if (relobj.authority != null) { uri += "//" + relobj.authority; }
- uri += relobj.path;
- if (relobj.query != null) { uri += "?" + relobj.query; }
- if (relobj.fragment != null) { uri += "#" + relobj.fragment; }
- }
-
- this.uri = uri.toString();
-
- // break the uri into its main components
- var regexp = "^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?$";
- var r = this.uri.match(new RegExp(regexp));
-
- this.scheme = r[2] || (r[1] ? "" : null);
- this.authority = r[4] || (r[3] ? "" : null);
- this.path = r[5]; // can never be undefined
- this.query = r[7] || (r[6] ? "" : null);
- this.fragment = r[9] || (r[8] ? "" : null);
-
- if (this.authority != null) {
- // server based naming authority
- regexp = "^((([^:]+:)?([^@]+))@)?([^:]*)(:([0-9]+))?$";
- r = this.authority.match(new RegExp(regexp));
-
- this.user = r[3] || null;
- this.password = r[4] || null;
- this.host = r[5];
- this.port = r[7] || null;
- }
-
- this.toString = function(){ return this.uri; }
- }
-};
-
-dojo.provide("dojo.html.style");
-
-dojo.html.getClass = function(/* HTMLElement */node){
- // summary
- // Returns the string value of the list of CSS classes currently assigned directly
- // to the node in question. Returns an empty string if no class attribute is found;
- node = dojo.byId(node);
- if(!node){ return ""; }
- var cs = "";
- if(node.className){
- cs = node.className;
- }else if(dojo.html.hasAttribute(node, "class")){
- cs = dojo.html.getAttribute(node, "class");
- }
- return cs.replace(/^\s+|\s+$/g, ""); // string
-}
-
-dojo.html.getClasses = function(/* HTMLElement */node) {
- // summary
- // Returns an array of CSS classes currently assigned directly to the node in question.
- // Returns an empty array if no classes are found;
- var c = dojo.html.getClass(node);
- return (c == "") ? [] : c.split(/\s+/g); // array
-}
-
-dojo.html.hasClass = function(/* HTMLElement */node, /* string */classname){
- // summary
- // Returns whether or not the specified classname is a portion of the
- // class list currently applied to the node. Does not cover cascaded
- // styles, only classes directly applied to the node.
- return (new RegExp('(^|\\s+)'+classname+'(\\s+|$)')).test(dojo.html.getClass(node)) // boolean
-}
-
-dojo.html.prependClass = function(/* HTMLElement */node, /* string */classStr){
- // summary
- // Adds the specified class to the beginning of the class list on the
- // passed node. This gives the specified class the highest precidence
- // when style cascading is calculated for the node. Returns true or
- // false; indicating success or failure of the operation, respectively.
- classStr += " " + dojo.html.getClass(node);
- return dojo.html.setClass(node, classStr); // boolean
-}
-
-dojo.html.addClass = function(/* HTMLElement */node, /* string */classStr){
- // summary
- // Adds the specified class to the end of the class list on the
- // passed &node;. Returns &true; or &false; indicating success or failure.
- if (dojo.html.hasClass(node, classStr)) {
- return false;
- }
- classStr = (dojo.html.getClass(node) + " " + classStr).replace(/^\s+|\s+$/g,"");
- return dojo.html.setClass(node, classStr); // boolean
-}
-
-dojo.html.setClass = function(/* HTMLElement */node, /* string */classStr){
- // summary
- // Clobbers the existing list of classes for the node, replacing it with
- // the list given in the 2nd argument. Returns true or false
- // indicating success or failure.
- node = dojo.byId(node);
- var cs = new String(classStr);
- try{
- if(typeof node.className == "string"){
- node.className = cs;
- }else if(node.setAttribute){
- node.setAttribute("class", classStr);
- node.className = cs;
- }else{
- return false;
- }
- }catch(e){
- dojo.debug("dojo.html.setClass() failed", e);
- }
- return true;
-}
-
-dojo.html.removeClass = function(/* HTMLElement */node, /* string */classStr, /* boolean? */allowPartialMatches){
- // summary
- // Removes the className from the node;. Returns true or false indicating success or failure.
- try{
- if (!allowPartialMatches) {
- var newcs = dojo.html.getClass(node).replace(new RegExp('(^|\\s+)'+classStr+'(\\s+|$)'), "$1$2");
- } else {
- var newcs = dojo.html.getClass(node).replace(classStr,'');
- }
- dojo.html.setClass(node, newcs);
- }catch(e){
- dojo.debug("dojo.html.removeClass() failed", e);
- }
- return true; // boolean
-}
-
-dojo.html.replaceClass = function(/* HTMLElement */node, /* string */newClass, /* string */oldClass) {
- // summary
- // Replaces 'oldClass' and adds 'newClass' to node
- dojo.html.removeClass(node, oldClass);
- dojo.html.addClass(node, newClass);
-}
-
-// Enum type for getElementsByClass classMatchType arg:
-dojo.html.classMatchType = {
- ContainsAll : 0, // all of the classes are part of the node's class (default)
- ContainsAny : 1, // any of the classes are part of the node's class
- IsOnly : 2 // only all of the classes are part of the node's class
-}
-
-
-dojo.html.getElementsByClass = function(
- /* string */classStr,
- /* HTMLElement? */parent,
- /* string? */nodeType,
- /* integer? */classMatchType,
- /* boolean? */useNonXpath
-){
- // summary
- // Returns an array of nodes for the given classStr, children of a
- // parent, and optionally of a certain nodeType
- // FIXME: temporarily set to false because of several dojo tickets related
- // to the xpath version not working consistently in firefox.
- useNonXpath = false;
- var _document = dojo.doc();
- parent = dojo.byId(parent) || _document;
- var classes = classStr.split(/\s+/g);
- var nodes = [];
- if( classMatchType != 1 && classMatchType != 2 ) classMatchType = 0; // make it enum
- var reClass = new RegExp("(\\s|^)((" + classes.join(")|(") + "))(\\s|$)");
- var srtLength = classes.join(" ").length;
- var candidateNodes = [];
-
- if(!useNonXpath && _document.evaluate) { // supports dom 3 xpath
- var xpath = ".//" + (nodeType || "*") + "[contains(";
- if(classMatchType != dojo.html.classMatchType.ContainsAny){
- xpath += "concat(' ',@class,' '), ' " +
- classes.join(" ') and contains(concat(' ',@class,' '), ' ") +
- " ')";
- if (classMatchType == 2) {
- xpath += " and string-length(@class)="+srtLength+"]";
- }else{
- xpath += "]";
- }
- }else{
- xpath += "concat(' ',@class,' '), ' " +
- classes.join(" ') or contains(concat(' ',@class,' '), ' ") +
- " ')]";
- }
- var xpathResult = _document.evaluate(xpath, parent, null, XPathResult.ANY_TYPE, null);
- var result = xpathResult.iterateNext();
- while(result){
- try{
- candidateNodes.push(result);
- result = xpathResult.iterateNext();
- }catch(e){ break; }
- }
- return candidateNodes; // NodeList
- }else{
- if(!nodeType){
- nodeType = "*";
- }
- candidateNodes = parent.getElementsByTagName(nodeType);
-
- var node, i = 0;
- outer:
- while(node = candidateNodes[i++]){
- var nodeClasses = dojo.html.getClasses(node);
- if(nodeClasses.length == 0){ continue outer; }
- var matches = 0;
-
- for(var j = 0; j < nodeClasses.length; j++){
- if(reClass.test(nodeClasses[j])){
- if(classMatchType == dojo.html.classMatchType.ContainsAny){
- nodes.push(node);
- continue outer;
- }else{
- matches++;
- }
- }else{
- if(classMatchType == dojo.html.classMatchType.IsOnly){
- continue outer;
- }
- }
- }
-
- if(matches == classes.length){
- if( (classMatchType == dojo.html.classMatchType.IsOnly)&&
- (matches == nodeClasses.length)){
- nodes.push(node);
- }else if(classMatchType == dojo.html.classMatchType.ContainsAll){
- nodes.push(node);
- }
- }
- }
- return nodes; // NodeList
- }
-}
-dojo.html.getElementsByClassName = dojo.html.getElementsByClass;
-
-dojo.html.toCamelCase = function(/* string */selector){
- // summary
- // Translates a CSS selector string to a camel-cased one.
- var arr = selector.split('-'), cc = arr[0];
- for(var i = 1; i < arr.length; i++) {
- cc += arr[i].charAt(0).toUpperCase() + arr[i].substring(1);
- }
- return cc; // string
-}
-
-dojo.html.toSelectorCase = function(/* string */selector){
- // summary
- // Translates a camel cased string to a selector cased one.
- return selector.replace(/([A-Z])/g, "-$1" ).toLowerCase(); // string
-}
-
-dojo.html.getComputedStyle = function(/* HTMLElement */node, /* string */cssSelector, /* integer? */inValue){
- // summary
- // Returns the computed style of cssSelector on node.
- node = dojo.byId(node);
- // cssSelector may actually be in camel case, so force selector version
- var cssSelector = dojo.html.toSelectorCase(cssSelector);
- var property = dojo.html.toCamelCase(cssSelector);
- if(!node || !node.style){
- return inValue;
- } else if (document.defaultView && dojo.html.isDescendantOf(node, node.ownerDocument)){ // W3, gecko, KHTML
- try{
- // mozilla segfaults when margin-* and node is removed from doc
- // FIXME: need to figure out a if there is quicker workaround
- var cs = document.defaultView.getComputedStyle(node, "");
- if(cs){
- return cs.getPropertyValue(cssSelector); // integer
- }
- }catch(e){ // reports are that Safari can throw an exception above
- if(node.style.getPropertyValue){ // W3
- return node.style.getPropertyValue(cssSelector); // integer
- } else {
- return inValue; // integer
- }
- }
- } else if(node.currentStyle){ // IE
- return node.currentStyle[property]; // integer
- }
-
- if(node.style.getPropertyValue){ // W3
- return node.style.getPropertyValue(cssSelector); // integer
- }else{
- return inValue; // integer
- }
-}
-
-dojo.html.getStyleProperty = function(/* HTMLElement */node, /* string */cssSelector){
- // summary
- // Returns the value of the passed style
- node = dojo.byId(node);
- return (node && node.style ? node.style[dojo.html.toCamelCase(cssSelector)] : undefined); // string
-}
-
-dojo.html.getStyle = function(/* HTMLElement */node, /* string */cssSelector){
- // summary
- // Returns the computed value of the passed style
- var value = dojo.html.getStyleProperty(node, cssSelector);
- return (value ? value : dojo.html.getComputedStyle(node, cssSelector)); // string || integer
-}
-
-dojo.html.setStyle = function(/* HTMLElement */node, /* string */cssSelector, /* string */value){
- // summary
- // Set the value of passed style on node
- node = dojo.byId(node);
- if(node && node.style){
- var camelCased = dojo.html.toCamelCase(cssSelector);
- node.style[camelCased] = value;
- }
-}
-
-dojo.html.setStyleText = function (/* HTMLElement */target, /* string */text) {
- // summary
- // Try to set the entire cssText property of the passed target; equiv of setting style attribute.
- try {
- target.style.cssText = text;
- } catch (e) {
- target.setAttribute("style", text);
- }
-}
-
-dojo.html.copyStyle = function(/* HTMLElement */target, /* HTMLElement */source){
- // summary
- // work around for opera which doesn't have cssText, and for IE which fails on setAttribute
- if(!source.style.cssText){
- target.setAttribute("style", source.getAttribute("style"));
- }else{
- target.style.cssText = source.style.cssText;
- }
- dojo.html.addClass(target, dojo.html.getClass(source));
-}
-
-dojo.html.getUnitValue = function(/* HTMLElement */node, /* string */cssSelector, /* boolean? */autoIsZero){
- // summary
- // Get the value of passed selector, with the specific units used
- var s = dojo.html.getComputedStyle(node, cssSelector);
- if((!s)||((s == 'auto')&&(autoIsZero))){
- return { value: 0, units: 'px' }; // object
- }
- // FIXME: is regex inefficient vs. parseInt or some manual test?
- var match = s.match(/(\-?[\d.]+)([a-z%]*)/i);
- if (!match){return dojo.html.getUnitValue.bad;}
- return { value: Number(match[1]), units: match[2].toLowerCase() }; // object
-}
-dojo.html.getUnitValue.bad = { value: NaN, units: '' };
-
-dojo.html.getPixelValue = function(/* HTMLElement */node, /* string */cssSelector, /* boolean? */autoIsZero){
- // summary
- // Get the value of passed selector in pixels.
- var result = dojo.html.getUnitValue(node, cssSelector, autoIsZero);
- // FIXME: there is serious debate as to whether or not this is the right solution
- if(isNaN(result.value)){
- return 0; // integer
- }
- // FIXME: code exists for converting other units to px (see Dean Edward's IE7)
- // but there are cross-browser complexities
- if((result.value)&&(result.units != 'px')){
- return NaN; // integer
- }
- return result.value; // integer
-}
-
-dojo.html.setPositivePixelValue = function(/* HTMLElement */node, /* string */selector, /* integer */value){
- // summary
- // Attempt to set the value of selector on node as a positive pixel value.
- if(isNaN(value)){return false;}
- node.style[selector] = Math.max(0, value) + 'px';
- return true; // boolean
-}
-
-dojo.html.styleSheet = null;
-
-// FIXME: this is a really basic stub for adding and removing cssRules, but
-// it assumes that you know the index of the cssRule that you want to add
-// or remove, making it less than useful. So we need something that can
-// search for the selector that you you want to remove.
-dojo.html.insertCssRule = function(/* string */selector, /* string */declaration, /* integer? */index) {
- // summary
- // Attempt to insert declaration as selector on the internal stylesheet; if index try to set it there.
- if (!dojo.html.styleSheet) {
- if (document.createStyleSheet) { // IE
- dojo.html.styleSheet = document.createStyleSheet();
- } else if (document.styleSheets[0]) { // rest
- // FIXME: should create a new style sheet here
- // fall back on an exsiting style sheet
- dojo.html.styleSheet = document.styleSheets[0];
- } else {
- return null; // integer
- } // fail
- }
-
- if (arguments.length < 3) { // index may == 0
- if (dojo.html.styleSheet.cssRules) { // W3
- index = dojo.html.styleSheet.cssRules.length;
- } else if (dojo.html.styleSheet.rules) { // IE
- index = dojo.html.styleSheet.rules.length;
- } else {
- return null; // integer
- } // fail
- }
-
- if (dojo.html.styleSheet.insertRule) { // W3
- var rule = selector + " { " + declaration + " }";
- return dojo.html.styleSheet.insertRule(rule, index); // integer
- } else if (dojo.html.styleSheet.addRule) { // IE
- return dojo.html.styleSheet.addRule(selector, declaration, index); // integer
- } else {
- return null; // integer
- } // fail
-}
-
-dojo.html.removeCssRule = function(/* integer? */index){
- // summary
- // Attempt to remove the rule at index.
- if(!dojo.html.styleSheet){
- dojo.debug("no stylesheet defined for removing rules");
- return false;
- }
- if(dojo.render.html.ie){
- if(!index){
- index = dojo.html.styleSheet.rules.length;
- dojo.html.styleSheet.removeRule(index);
- }
- }else if(document.styleSheets[0]){
- if(!index){
- index = dojo.html.styleSheet.cssRules.length;
- }
- dojo.html.styleSheet.deleteRule(index);
- }
- return true; // boolean
-}
-
-dojo.html._insertedCssFiles = []; // cache container needed because IE reformats cssText when added to DOM
-dojo.html.insertCssFile = function(/* string */URI, /* HTMLDocument? */doc, /* boolean? */checkDuplicates, /* boolean */fail_ok){
- // summary
- // calls css by XmlHTTP and inserts it into DOM as
- if(!URI){ return; }
- if(!doc){ doc = document; }
- var cssStr = dojo.hostenv.getText(URI, false, fail_ok);
- if(cssStr===null){ return; }
- cssStr = dojo.html.fixPathsInCssText(cssStr, URI);
-
- if(checkDuplicates){
- var idx = -1, node, ent = dojo.html._insertedCssFiles;
- for(var i = 0; i < ent.length; i++){
- if((ent[i].doc == doc) && (ent[i].cssText == cssStr)){
- idx = i; node = ent[i].nodeRef;
- break;
- }
- }
- // make sure we havent deleted our node
- if(node){
- var styles = doc.getElementsByTagName("style");
- for(var i = 0; i < styles.length; i++){
- if(styles[i] == node){
- return;
- }
- }
- // delete this entry
- dojo.html._insertedCssFiles.shift(idx, 1);
- }
- }
-
- var style = dojo.html.insertCssText(cssStr, doc);
- dojo.html._insertedCssFiles.push({'doc': doc, 'cssText': cssStr, 'nodeRef': style});
-
- // insert custom attribute ex dbgHref="../foo.css" usefull when debugging in DOM inspectors, no?
- if(style && djConfig.isDebug){
- style.setAttribute("dbgHref", URI);
- }
- return style; // HTMLStyleElement
-}
-
-dojo.html.insertCssText = function(/* string */cssStr, /* HTMLDocument? */doc, /* string? */URI){
- // summary
- // Attempt to insert CSS rules into the document through inserting a style element
- // DomNode Style = insertCssText(String ".dojoMenu {color: green;}"[, DomDoc document, dojo.uri.Uri Url ])
- if(!cssStr){
- return; // HTMLStyleElement
- }
- if(!doc){ doc = document; }
- if(URI){// fix paths in cssStr
- cssStr = dojo.html.fixPathsInCssText(cssStr, URI);
- }
- var style = doc.createElement("style");
- style.setAttribute("type", "text/css");
- // IE is b0rken enough to require that we add the element to the doc
- // before changing it's properties
- var head = doc.getElementsByTagName("head")[0];
- if(!head){ // must have a head tag
- dojo.debug("No head tag in document, aborting styles");
- return; // HTMLStyleElement
- }else{
- head.appendChild(style);
- }
- if(style.styleSheet){// IE
- var setFunc = function(){
- try{
- style.styleSheet.cssText = cssStr;
- }catch(e){ dojo.debug(e); }
- };
- if(style.styleSheet.disabled){
- setTimeout(setFunc, 10);
- }else{
- setFunc();
- }
- }else{ // w3c
- var cssText = doc.createTextNode(cssStr);
- style.appendChild(cssText);
- }
- return style; // HTMLStyleElement
-}
-
-dojo.html.fixPathsInCssText = function(/* string */cssStr, /* string */URI){
- // summary
- // usage: cssText comes from dojoroot/src/widget/templates/Foobar.css
- // it has .dojoFoo { background-image: url(images/bar.png);} then uri should point to dojoroot/src/widget/templates/
- if(!cssStr || !URI){ return; }
- var match, str = "", url = "", urlChrs = "[\\t\\s\\w\\(\\)\\/\\.\\\\'\"-:#=&?~]+";
- var regex = new RegExp('url\\(\\s*('+urlChrs+')\\s*\\)');
- var regexProtocol = /(file|https?|ftps?):\/\//;
- regexTrim = new RegExp("^[\\s]*(['\"]?)("+urlChrs+")\\1[\\s]*?$");
- if(dojo.render.html.ie55 || dojo.render.html.ie60){
- var regexIe = new RegExp("AlphaImageLoader\\((.*)src\=['\"]("+urlChrs+")['\"]");
- // TODO: need to decide how to handle relative paths and AlphaImageLoader see #1441
- // current implementation breaks on build with intern_strings
- while(match = regexIe.exec(cssStr)){
- url = match[2].replace(regexTrim, "$2");
- if(!regexProtocol.exec(url)){
- url = (new dojo.uri.Uri(URI, url).toString());
- }
- str += cssStr.substring(0, match.index) + "AlphaImageLoader(" + match[1] + "src='" + url + "'";
- cssStr = cssStr.substr(match.index + match[0].length);
- }
- cssStr = str + cssStr;
- str = "";
- }
-
- while(match = regex.exec(cssStr)){
- url = match[1].replace(regexTrim, "$2");
- if(!regexProtocol.exec(url)){
- url = (new dojo.uri.Uri(URI, url).toString());
- }
- str += cssStr.substring(0, match.index) + "url(" + url + ")";
- cssStr = cssStr.substr(match.index + match[0].length);
- }
- return str + cssStr; // string
-}
-
-dojo.html.setActiveStyleSheet = function(/* string */title){
- // summary
- // Activate style sheet with specified title.
- var i = 0, a, els = dojo.doc().getElementsByTagName("link");
- while (a = els[i++]) {
- if(a.getAttribute("rel").indexOf("style") != -1 && a.getAttribute("title")){
- a.disabled = true;
- if (a.getAttribute("title") == title) { a.disabled = false; }
- }
- }
-}
-
-dojo.html.getActiveStyleSheet = function(){
- // summary
- // return the title of the currently active stylesheet
- var i = 0, a, els = dojo.doc().getElementsByTagName("link");
- while (a = els[i++]) {
- if (a.getAttribute("rel").indexOf("style") != -1
- && a.getAttribute("title")
- && !a.disabled
- ){
- return a.getAttribute("title"); // string
- }
- }
- return null; // string
-}
-
-dojo.html.getPreferredStyleSheet = function(){
- // summary
- // Return the preferred stylesheet title (i.e. link without alt attribute)
- var i = 0, a, els = dojo.doc().getElementsByTagName("link");
- while (a = els[i++]) {
- if(a.getAttribute("rel").indexOf("style") != -1
- && a.getAttribute("rel").indexOf("alt") == -1
- && a.getAttribute("title")
- ){
- return a.getAttribute("title"); // string
- }
- }
- return null; // string
-}
-
-dojo.html.applyBrowserClass = function(/* HTMLElement */node){
- // summary
- // Applies pre-set class names based on browser & version to the passed node.
- // Modified version of Morris' CSS hack.
- var drh=dojo.render.html;
- var classes = {
- dj_ie: drh.ie,
- dj_ie55: drh.ie55,
- dj_ie6: drh.ie60,
- dj_ie7: drh.ie70,
- dj_iequirks: drh.ie && drh.quirks,
- dj_opera: drh.opera,
- dj_opera8: drh.opera && (Math.floor(dojo.render.version)==8),
- dj_opera9: drh.opera && (Math.floor(dojo.render.version)==9),
- dj_khtml: drh.khtml,
- dj_safari: drh.safari,
- dj_gecko: drh.mozilla
- }; // no dojo unsupported browsers
- for(var p in classes){
- if(classes[p]){
- dojo.html.addClass(node, p);
- }
- }
-};
-
-dojo.provide("dojo.html.display");
-
-dojo.html._toggle = function(node, tester, setter){
- node = dojo.byId(node);
- setter(node, !tester(node));
- return tester(node);
-}
-
-dojo.html.show = function(/* HTMLElement */node){
- // summary
- // Show the passed element by reverting display property set by dojo.html.hide
- node = dojo.byId(node);
- if(dojo.html.getStyleProperty(node, 'display')=='none'){
- dojo.html.setStyle(node, 'display', (node.dojoDisplayCache||''));
- node.dojoDisplayCache = undefined; // cannot use delete on a node in IE6
- }
-}
-
-dojo.html.hide = function(/* HTMLElement */node){
- // summary
- // Hide the passed element by setting display:none
- node = dojo.byId(node);
- if(typeof node["dojoDisplayCache"] == "undefined"){ // it could == '', so we cannot say !node.dojoDisplayCount
- var d = dojo.html.getStyleProperty(node, 'display')
- if(d!='none'){
- node.dojoDisplayCache = d;
- }
- }
- dojo.html.setStyle(node, 'display', 'none');
-}
-
-dojo.html.setShowing = function(/* HTMLElement */node, /* boolean? */showing){
- // summary
- // Calls show() if showing is true, hide() otherwise
- dojo.html[(showing ? 'show' : 'hide')](node);
-}
-
-dojo.html.isShowing = function(/* HTMLElement */node){
- // summary
- // Returns whether the element is displayed or not.
- // FIXME: returns true if node is bad, isHidden would be easier to make correct
- return (dojo.html.getStyleProperty(node, 'display') != 'none'); // boolean
-}
-
-dojo.html.toggleShowing = function(/* HTMLElement */node){
- // summary
- // Call setShowing() on node with the complement of isShowing(), then return the new value of isShowing()
- return dojo.html._toggle(node, dojo.html.isShowing, dojo.html.setShowing); // boolean
-}
-
-// Simple mapping of tag names to display values
-// FIXME: simplistic
-dojo.html.displayMap = { tr: '', td: '', th: '', img: 'inline', span: 'inline', input: 'inline', button: 'inline' };
-
-dojo.html.suggestDisplayByTagName = function(/* HTMLElement */node){
- // summary
- // Suggest a value for the display property that will show 'node' based on it's tag
- node = dojo.byId(node);
- if(node && node.tagName){
- var tag = node.tagName.toLowerCase();
- return (tag in dojo.html.displayMap ? dojo.html.displayMap[tag] : 'block'); // string
- }
-}
-
-dojo.html.setDisplay = function(/* HTMLElement */node, /* string */display){
- // summary
- // Sets the value of style.display to value of 'display' parameter if it is a string.
- // Otherwise, if 'display' is false, set style.display to 'none'.
- // Finally, set 'display' to a suggested display value based on the node's tag
- dojo.html.setStyle(node, 'display', ((display instanceof String || typeof display == "string") ? display : (display ? dojo.html.suggestDisplayByTagName(node) : 'none')));
-}
-
-dojo.html.isDisplayed = function(/* HTMLElement */node){
- // summary
- // Is true if the the computed display style for node is not 'none'
- // FIXME: returns true if node is bad, isNotDisplayed would be easier to make correct
- return (dojo.html.getComputedStyle(node, 'display') != 'none'); // boolean
-}
-
-dojo.html.toggleDisplay = function(/* HTMLElement */node){
- // summary
- // Call setDisplay() on node with the complement of isDisplayed(), then
- // return the new value of isDisplayed()
- return dojo.html._toggle(node, dojo.html.isDisplayed, dojo.html.setDisplay); // boolean
-}
-
-dojo.html.setVisibility = function(/* HTMLElement */node, /* string */visibility){
- // summary
- // Sets the value of style.visibility to value of 'visibility' parameter if it is a string.
- // Otherwise, if 'visibility' is false, set style.visibility to 'hidden'. Finally, set style.visibility to 'visible'.
- dojo.html.setStyle(node, 'visibility', ((visibility instanceof String || typeof visibility == "string") ? visibility : (visibility ? 'visible' : 'hidden')));
-}
-
-dojo.html.isVisible = function(/* HTMLElement */node){
- // summary
- // Returns true if the the computed visibility style for node is not 'hidden'
- // FIXME: returns true if node is bad, isInvisible would be easier to make correct
- return (dojo.html.getComputedStyle(node, 'visibility') != 'hidden'); // boolean
-}
-
-dojo.html.toggleVisibility = function(node){
- // summary
- // Call setVisibility() on node with the complement of isVisible(), then return the new value of isVisible()
- return dojo.html._toggle(node, dojo.html.isVisible, dojo.html.setVisibility); // boolean
-}
-
-dojo.html.setOpacity = function(/* HTMLElement */node, /* float */opacity, /* boolean? */dontFixOpacity){
- // summary
- // Sets the opacity of node in a cross-browser way.
- // float between 0.0 (transparent) and 1.0 (opaque)
- node = dojo.byId(node);
- var h = dojo.render.html;
- if(!dontFixOpacity){
- if( opacity >= 1.0){
- if(h.ie){
- dojo.html.clearOpacity(node);
- return;
- }else{
- opacity = 0.999999;
- }
- }else if( opacity < 0.0){ opacity = 0; }
- }
- if(h.ie){
- if(node.nodeName.toLowerCase() == "tr"){
- // FIXME: is this too naive? will we get more than we want?
- var tds = node.getElementsByTagName("td");
- for(var x=0; x= 0.999999 ? 1.0 : Number(opac); // float
-}
-
-dojo.provide("dojo.html.color");
-
-
-dojo.html.getBackgroundColor = function(/* HTMLElement */node){
- // summary
- // returns the background color of the passed node as a 32-bit color (RGBA)
- node = dojo.byId(node);
- var color;
- do{
- color = dojo.html.getStyle(node, "background-color");
- // Safari doesn't say "transparent"
- if(color.toLowerCase() == "rgba(0, 0, 0, 0)") { color = "transparent"; }
- if(node == document.getElementsByTagName("body")[0]) { node = null; break; }
- node = node.parentNode;
- }while(node && dojo.lang.inArray(["transparent", ""], color));
- if(color == "transparent"){
- color = [255, 255, 255, 0];
- }else{
- color = dojo.gfx.color.extractRGB(color);
- }
- return color; // array
-}
-
-dojo.provide("dojo.html.layout");
-
-
-dojo.html.sumAncestorProperties = function(/* HTMLElement */node, /* string */prop){
- // summary
- // Returns the sum of the passed property on all ancestors of node.
- node = dojo.byId(node);
- if(!node){ return 0; } // FIXME: throw an error?
-
- var retVal = 0;
- while(node){
- if(dojo.html.getComputedStyle(node, 'position') == 'fixed'){
- return 0;
- }
- var val = node[prop];
- if(val){
- retVal += val - 0;
- if(node==dojo.body()){ break; }// opera and khtml #body & #html has the same values, we only need one value
- }
- node = node.parentNode;
- }
- return retVal; // integer
-}
-
-dojo.html.setStyleAttributes = function(/* HTMLElement */node, /* string */attributes) {
- // summary
- // allows a dev to pass a string similar to what you'd pass in style="", and apply it to a node.
- node = dojo.byId(node);
- var splittedAttribs=attributes.replace(/(;)?\s*$/, "").split(";");
- for(var i=0; i0){
- ret.x += isNaN(n) ? 0 : n;
- }
- var m = curnode["offsetTop"];
- ret.y += isNaN(m) ? 0 : m;
- curnode = curnode.offsetParent;
- }while((curnode != endNode)&&(curnode != null));
- }else if(node["x"]&&node["y"]){
- ret.x += isNaN(node.x) ? 0 : node.x;
- ret.y += isNaN(node.y) ? 0 : node.y;
- }
- }
-
- // account for document scrolling!
- if(includeScroll){
- var scroll = dojo.html.getScroll();
- ret.y += scroll.top;
- ret.x += scroll.left;
- }
-
- var extentFuncArray=[dojo.html.getPaddingExtent, dojo.html.getBorderExtent, dojo.html.getMarginExtent];
- if(nativeBoxType > targetBoxType){
- for(var i=targetBoxType;inativeBoxType;--i){
- ret.y -= extentFuncArray[i-1](node, 'top');
- ret.x -= extentFuncArray[i-1](node, 'left');
- }
- }
- ret.top = ret.y;
- ret.left = ret.x;
- return ret; // object
-}
-
-dojo.html.isPositionAbsolute = function(/* HTMLElement */node){
- // summary
- // Returns true if the element is absolutely positioned.
- return (dojo.html.getComputedStyle(node, 'position') == 'absolute'); // boolean
-}
-
-dojo.html._sumPixelValues = function(/* HTMLElement */node, selectors, autoIsZero){
- var total = 0;
- for(var x=0; x 4 ) { coords.pop(); }
- var ret = {
- left: coords[0],
- top: coords[1],
- width: coords[2],
- height: coords[3]
- };
- }else if(!coords.nodeType && !(coords instanceof String || typeof coords == "string") &&
- ('width' in coords || 'height' in coords || 'left' in coords ||
- 'x' in coords || 'top' in coords || 'y' in coords)){
- // coords is a coordinate object or at least part of one
- var ret = {
- left: coords.left||coords.x||0,
- top: coords.top||coords.y||0,
- width: coords.width||0,
- height: coords.height||0
- };
- }else{
- // coords is an dom object (or dom object id); return it's coordinates
- var node = dojo.byId(coords);
- var pos = dojo.html.abs(node, includeScroll, boxtype);
- var marginbox = dojo.html.getMarginBox(node);
- var ret = {
- left: pos.left,
- top: pos.top,
- width: marginbox.width,
- height: marginbox.height
- };
- }
- ret.x = ret.left;
- ret.y = ret.top;
- return ret; // object
-}
-
-dojo.html.setMarginBoxWidth = dojo.html.setOuterWidth = function(node, width){
- return dojo.html._callDeprecated("setMarginBoxWidth", "setMarginBox", arguments, "width");
-}
-dojo.html.setMarginBoxHeight = dojo.html.setOuterHeight = function(){
- return dojo.html._callDeprecated("setMarginBoxHeight", "setMarginBox", arguments, "height");
-}
-dojo.html.getMarginBoxWidth = dojo.html.getOuterWidth = function(){
- return dojo.html._callDeprecated("getMarginBoxWidth", "getMarginBox", arguments, null, "width");
-}
-dojo.html.getMarginBoxHeight = dojo.html.getOuterHeight = function(){
- return dojo.html._callDeprecated("getMarginBoxHeight", "getMarginBox", arguments, null, "height");
-}
-dojo.html.getTotalOffset = function(node, type, includeScroll){
- return dojo.html._callDeprecated("getTotalOffset", "getAbsolutePosition", arguments, null, type);
-}
-dojo.html.getAbsoluteX = function(node, includeScroll){
- return dojo.html._callDeprecated("getAbsoluteX", "getAbsolutePosition", arguments, null, "x");
-}
-dojo.html.getAbsoluteY = function(node, includeScroll){
- return dojo.html._callDeprecated("getAbsoluteY", "getAbsolutePosition", arguments, null, "y");
-}
-dojo.html.totalOffsetLeft = function(node, includeScroll){
- return dojo.html._callDeprecated("totalOffsetLeft", "getAbsolutePosition", arguments, null, "left");
-}
-dojo.html.totalOffsetTop = function(node, includeScroll){
- return dojo.html._callDeprecated("totalOffsetTop", "getAbsolutePosition", arguments, null, "top");
-}
-dojo.html.getMarginWidth = function(node){
- return dojo.html._callDeprecated("getMarginWidth", "getMargin", arguments, null, "width");
-}
-dojo.html.getMarginHeight = function(node){
- return dojo.html._callDeprecated("getMarginHeight", "getMargin", arguments, null, "height");
-}
-dojo.html.getBorderWidth = function(node){
- return dojo.html._callDeprecated("getBorderWidth", "getBorder", arguments, null, "width");
-}
-dojo.html.getBorderHeight = function(node){
- return dojo.html._callDeprecated("getBorderHeight", "getBorder", arguments, null, "height");
-}
-dojo.html.getPaddingWidth = function(node){
- return dojo.html._callDeprecated("getPaddingWidth", "getPadding", arguments, null, "width");
-}
-dojo.html.getPaddingHeight = function(node){
- return dojo.html._callDeprecated("getPaddingHeight", "getPadding", arguments, null, "height");
-}
-dojo.html.getPadBorderWidth = function(node){
- return dojo.html._callDeprecated("getPadBorderWidth", "getPadBorder", arguments, null, "width");
-}
-dojo.html.getPadBorderHeight = function(node){
- return dojo.html._callDeprecated("getPadBorderHeight", "getPadBorder", arguments, null, "height");
-}
-dojo.html.getBorderBoxWidth = dojo.html.getInnerWidth = function(){
- return dojo.html._callDeprecated("getBorderBoxWidth", "getBorderBox", arguments, null, "width");
-}
-dojo.html.getBorderBoxHeight = dojo.html.getInnerHeight = function(){
- return dojo.html._callDeprecated("getBorderBoxHeight", "getBorderBox", arguments, null, "height");
-}
-dojo.html.getContentBoxWidth = dojo.html.getContentWidth = function(){
- return dojo.html._callDeprecated("getContentBoxWidth", "getContentBox", arguments, null, "width");
-}
-dojo.html.getContentBoxHeight = dojo.html.getContentHeight = function(){
- return dojo.html._callDeprecated("getContentBoxHeight", "getContentBox", arguments, null, "height");
-}
-dojo.html.setContentBoxWidth = dojo.html.setContentWidth = function(node, width){
- return dojo.html._callDeprecated("setContentBoxWidth", "setContentBox", arguments, "width");
-}
-dojo.html.setContentBoxHeight = dojo.html.setContentHeight = function(node, height){
- return dojo.html._callDeprecated("setContentBoxHeight", "setContentBox", arguments, "height");
-}
-
-dojo.provide("dojo.lfx.html");
-
-
-dojo.lfx.html._byId = function(nodes){
- if(!nodes){ return []; }
- if(dojo.lang.isArrayLike(nodes)){
- if(!nodes.alreadyChecked){
- var n = [];
- dojo.lang.forEach(nodes, function(node){
- n.push(dojo.byId(node));
- });
- n.alreadyChecked = true;
- return n;
- }else{
- return nodes;
- }
- }else{
- var n = [];
- n.push(dojo.byId(nodes));
- n.alreadyChecked = true;
- return n;
- }
-}
-
-dojo.lfx.html.propertyAnimation = function( /*DOMNode[]*/ nodes,
- /*Object[]*/ propertyMap,
- /*int*/ duration,
- /*function*/ easing,
- /*Object*/ handlers){
- // summary: Returns an animation that will transition the properties of "nodes"
- // depending how they are defined in "propertyMap".
- // nodes: An array of DOMNodes or one DOMNode.
- // propertyMap: { property: String, start: Decimal?, end: Decimal?, units: String? }
- // An array of objects defining properties to change.
- // duration: Duration of the animation in milliseconds.
- // easing: An easing function.
- // handlers: { handler: Function?, onstart: Function?, onstop: Function?, onanimate: Function? }
- nodes = dojo.lfx.html._byId(nodes);
-
- var targs = {
- "propertyMap": propertyMap,
- "nodes": nodes,
- "duration": duration,
- "easing": easing||dojo.lfx.easeDefault
- };
-
- var setEmUp = function(args){
- if(args.nodes.length==1){
- // FIXME: we're only supporting start-value filling when one node is
- // passed
-
- var pm = args.propertyMap;
- if(!dojo.lang.isArray(args.propertyMap)){
- // it's stupid to have to pack an array with a set of objects
- // when you can just pass in an object list
- var parr = [];
- for(var pname in pm){
- pm[pname].property = pname;
- parr.push(pm[pname]);
- }
- pm = args.propertyMap = parr;
- }
- dojo.lang.forEach(pm, function(prop){
- if(dj_undef("start", prop)){
- if(prop.property != "opacity"){
- prop.start = parseInt(dojo.html.getComputedStyle(args.nodes[0], prop.property));
- }else{
- prop.start = dojo.html.getOpacity(args.nodes[0]);
- }
- }
- });
- }
- }
-
- var coordsAsInts = function(coords){
- var cints = [];
- dojo.lang.forEach(coords, function(c){
- cints.push(Math.round(c));
- });
- return cints;
- }
-
- var setStyle = function(n, style){
- n = dojo.byId(n);
- if(!n || !n.style){ return; }
- for(var s in style){
- try{
- if(s == "opacity"){
- dojo.html.setOpacity(n, style[s]);
- }else{
- n.style[s] = style[s];
- }
- }catch(e){ dojo.debug(e); }
- }
- }
-
- var propLine = function(properties){
- this._properties = properties;
- this.diffs = new Array(properties.length);
- dojo.lang.forEach(properties, function(prop, i){
- // calculate the end - start to optimize a bit
- if(dojo.lang.isFunction(prop.start)){
- prop.start = prop.start(prop, i);
- }
- if(dojo.lang.isFunction(prop.end)){
- prop.end = prop.end(prop, i);
- }
- if(dojo.lang.isArray(prop.start)){
- // don't loop through the arrays
- this.diffs[i] = null;
- }else if(prop.start instanceof dojo.gfx.color.Color){
- // save these so we don't have to call toRgb() every getValue() call
- prop.startRgb = prop.start.toRgb();
- prop.endRgb = prop.end.toRgb();
- }else{
- this.diffs[i] = prop.end - prop.start;
- }
- }, this);
-
- this.getValue = function(n){
- var ret = {};
- dojo.lang.forEach(this._properties, function(prop, i){
- var value = null;
- if(dojo.lang.isArray(prop.start)){
- // FIXME: what to do here?
- }else if(prop.start instanceof dojo.gfx.color.Color){
- value = (prop.units||"rgb") + "(";
- for(var j = 0 ; j < prop.startRgb.length ; j++){
- value += Math.round(((prop.endRgb[j] - prop.startRgb[j]) * n) + prop.startRgb[j]) + (j < prop.startRgb.length - 1 ? "," : "");
- }
- value += ")";
- }else{
- value = ((this.diffs[i]) * n) + prop.start + (prop.property != "opacity" ? prop.units||"px" : "");
- }
- ret[dojo.html.toCamelCase(prop.property)] = value;
- }, this);
- return ret;
- }
- }
-
- var anim = new dojo.lfx.Animation({
- beforeBegin: function(){
- setEmUp(targs);
- anim.curve = new propLine(targs.propertyMap);
- },
- onAnimate: function(propValues){
- dojo.lang.forEach(targs.nodes, function(node){
- setStyle(node, propValues);
- });
- }
- },
- targs.duration,
- null,
- targs.easing
- );
- if(handlers){
- for(var x in handlers){
- if(dojo.lang.isFunction(handlers[x])){
- anim.connect(x, anim, handlers[x]);
- }
- }
- }
-
- return anim; // dojo.lfx.Animation
-}
-
-dojo.lfx.html._makeFadeable = function(nodes){
- var makeFade = function(node){
- if(dojo.render.html.ie){
- // only set the zoom if the "tickle" value would be the same as the
- // default
- if( (node.style.zoom.length == 0) &&
- (dojo.html.getStyle(node, "zoom") == "normal") ){
- // make sure the node "hasLayout"
- // NOTE: this has been tested with larger and smaller user-set text
- // sizes and works fine
- node.style.zoom = "1";
- // node.style.zoom = "normal";
- }
- // don't set the width to auto if it didn't already cascade that way.
- // We don't want to f anyones designs
- if( (node.style.width.length == 0) &&
- (dojo.html.getStyle(node, "width") == "auto") ){
- node.style.width = "auto";
- }
- }
- }
- if(dojo.lang.isArrayLike(nodes)){
- dojo.lang.forEach(nodes, makeFade);
- }else{
- makeFade(nodes);
- }
-}
-
-dojo.lfx.html.fade = function(/*DOMNode[]*/ nodes,
- /*Object*/values,
- /*int?*/ duration,
- /*Function?*/ easing,
- /*Function?*/ callback){
- // summary:Returns an animation that will fade the "nodes" from the start to end values passed.
- // nodes: An array of DOMNodes or one DOMNode.
- // values: { start: Decimal?, end: Decimal? }
- // duration: Duration of the animation in milliseconds.
- // easing: An easing function.
- // callback: Function to run at the end of the animation.
- nodes = dojo.lfx.html._byId(nodes);
- var props = { property: "opacity" };
- if(!dj_undef("start", values)){
- props.start = values.start;
- }else{
- props.start = function(){ return dojo.html.getOpacity(nodes[0]); };
- }
-
- if(!dj_undef("end", values)){
- props.end = values.end;
- }else{
- dojo.raise("dojo.lfx.html.fade needs an end value");
- }
-
- var anim = dojo.lfx.propertyAnimation(nodes, [ props ], duration, easing);
- anim.connect("beforeBegin", function(){
- dojo.lfx.html._makeFadeable(nodes);
- });
- if(callback){
- anim.connect("onEnd", function(){ callback(nodes, anim); });
- }
-
- return anim; // dojo.lfx.Animation
-}
-
-dojo.lfx.html.fadeIn = function(/*DOMNode[]*/ nodes, /*int?*/ duration, /*Function?*/ easing, /*Function?*/ callback){
- // summary: Returns an animation that will fade "nodes" from its current opacity to fully opaque.
- // nodes: An array of DOMNodes or one DOMNode.
- // duration: Duration of the animation in milliseconds.
- // easing: An easing function.
- // callback: Function to run at the end of the animation.
- return dojo.lfx.html.fade(nodes, { end: 1 }, duration, easing, callback); // dojo.lfx.Animation
-}
-
-dojo.lfx.html.fadeOut = function(/*DOMNode[]*/ nodes, /*int?*/ duration, /*Function?*/ easing, /*Function?*/ callback){
- // summary: Returns an animation that will fade "nodes" from its current opacity to fully transparent.
- // nodes: An array of DOMNodes or one DOMNode.
- // duration: Duration of the animation in milliseconds.
- // easing: An easing function.
- // callback: Function to run at the end of the animation.
- return dojo.lfx.html.fade(nodes, { end: 0 }, duration, easing, callback); // dojo.lfx.Animation
-}
-
-dojo.lfx.html.fadeShow = function(/*DOMNode[]*/ nodes, /*int?*/ duration, /*Function?*/ easing, /*Function?*/ callback){
- // summary: Returns an animation that will fade "nodes" from transparent to opaque and shows
- // "nodes" at the end if it is hidden.
- // nodes: An array of DOMNodes or one DOMNode.
- // duration: Duration of the animation in milliseconds.
- // easing: An easing function.
- // callback: Function to run at the end of the animation.
- nodes=dojo.lfx.html._byId(nodes);
- dojo.lang.forEach(nodes, function(node){
- dojo.html.setOpacity(node, 0.0);
- });
-
- var anim = dojo.lfx.html.fadeIn(nodes, duration, easing, callback);
- anim.connect("beforeBegin", function(){
- if(dojo.lang.isArrayLike(nodes)){
- dojo.lang.forEach(nodes, dojo.html.show);
- }else{
- dojo.html.show(nodes);
- }
- });
-
- return anim; // dojo.lfx.Animation
-}
-
-dojo.lfx.html.fadeHide = function(/*DOMNode[]*/ nodes, /*int?*/ duration, /*Function?*/ easing, /*Function?*/ callback){
- // summary: Returns an animation that will fade "nodes" from its current opacity to opaque and hides
- // "nodes" at the end.
- // nodes: An array of DOMNodes or one DOMNode.
- // duration: Duration of the animation in milliseconds.
- // easing: An easing function.
- // callback: Function to run at the end of the animation.
- var anim = dojo.lfx.html.fadeOut(nodes, duration, easing, function(){
- if(dojo.lang.isArrayLike(nodes)){
- dojo.lang.forEach(nodes, dojo.html.hide);
- }else{
- dojo.html.hide(nodes);
- }
- if(callback){ callback(nodes, anim); }
- });
-
- return anim; // dojo.lfx.Animation
-}
-
-dojo.lfx.html.wipeIn = function(/*DOMNode[]*/ nodes, /*int?*/ duration, /*Function?*/ easing, /*Function?*/ callback){
- // summary: Returns an animation that will show and wipe in "nodes".
- // nodes: An array of DOMNodes or one DOMNode.
- // duration: Duration of the animation in milliseconds.
- // easing: An easing function.
- // callback: Function to run at the end of the animation.
- nodes = dojo.lfx.html._byId(nodes);
- var anims = [];
-
- dojo.lang.forEach(nodes, function(node){
- var oprop = { }; // old properties of node (before we mucked w/them)
-
- // get node height, either it's natural height or it's height specified via style or class attributes
- // (for FF, the node has to be (temporarily) rendered to measure height)
- // TODO: should this offscreen code be part of dojo.html, so that getBorderBox() works on hidden nodes?
- var origTop, origLeft, origPosition;
- with(node.style){
- origTop=top; origLeft=left; origPosition=position;
- top="-9999px"; left="-9999px"; position="absolute";
- display="";
- }
- var height = dojo.html.getBorderBox(node).height;
- with(node.style){
- top=origTop; left=origLeft; position=origPosition;
- display="none";
- }
-
- var anim = dojo.lfx.propertyAnimation(node,
- { "height": {
- start: 1, // 0 causes IE to display the whole panel
- end: function(){ return height; }
- }
- },
- duration,
- easing);
-
- anim.connect("beforeBegin", function(){
- oprop.overflow = node.style.overflow;
- oprop.height = node.style.height;
- with(node.style){
- overflow = "hidden";
- height = "1px"; // 0 causes IE to display the whole panel
- }
- dojo.html.show(node);
- });
-
- anim.connect("onEnd", function(){
- with(node.style){
- overflow = oprop.overflow;
- height = oprop.height;
- }
- if(callback){ callback(node, anim); }
- });
- anims.push(anim);
- });
-
- return dojo.lfx.combine(anims); // dojo.lfx.Combine
-}
-
-dojo.lfx.html.wipeOut = function(/*DOMNode[]*/ nodes, /*int?*/ duration, /*Function?*/ easing, /*Function?*/ callback){
- // summary: Returns an animation that will wipe out and hide "nodes".
- // nodes: An array of DOMNodes or one DOMNode.
- // duration: Duration of the animation in milliseconds.
- // easing: An easing function.
- // callback: Function to run at the end of the animation.
- nodes = dojo.lfx.html._byId(nodes);
- var anims = [];
-
- dojo.lang.forEach(nodes, function(node){
- var oprop = { }; // old properties of node (before we mucked w/them)
- var anim = dojo.lfx.propertyAnimation(node,
- { "height": {
- start: function(){ return dojo.html.getContentBox(node).height; },
- end: 1 // 0 causes IE to display the whole panel
- }
- },
- duration,
- easing,
- {
- "beforeBegin": function(){
- oprop.overflow = node.style.overflow;
- oprop.height = node.style.height;
- with(node.style){
- overflow = "hidden";
- }
- dojo.html.show(node);
- },
-
- "onEnd": function(){
- dojo.html.hide(node);
- with(node.style){
- overflow = oprop.overflow;
- height = oprop.height;
- }
- if(callback){ callback(node, anim); }
- }
- }
- );
- anims.push(anim);
- });
-
- return dojo.lfx.combine(anims); // dojo.lfx.Combine
-}
-
-dojo.lfx.html.slideTo = function(/*DOMNode*/ nodes,
- /*Object*/ coords,
- /*int?*/ duration,
- /*Function?*/ easing,
- /*Function?*/ callback){
- // summary: Returns an animation that will slide "nodes" from its current position to
- // the position defined in "coords".
- // nodes: An array of DOMNodes or one DOMNode.
- // coords: { top: Decimal?, left: Decimal? }
- // duration: Duration of the animation in milliseconds.
- // easing: An easing function.
- // callback: Function to run at the end of the animation.
- nodes = dojo.lfx.html._byId(nodes);
- var anims = [];
- var compute = dojo.html.getComputedStyle;
-
- if(dojo.lang.isArray(coords)){
- /* coords: Array
- pId: a */
- dojo.deprecated('dojo.lfx.html.slideTo(node, array)', 'use dojo.lfx.html.slideTo(node, {top: value, left: value});', '0.5');
- coords = { top: coords[0], left: coords[1] };
- }
- dojo.lang.forEach(nodes, function(node){
- var top = null;
- var left = null;
-
- var init = (function(){
- var innerNode = node;
- return function(){
- var pos = compute(innerNode, 'position');
- top = (pos == 'absolute' ? node.offsetTop : parseInt(compute(node, 'top')) || 0);
- left = (pos == 'absolute' ? node.offsetLeft : parseInt(compute(node, 'left')) || 0);
-
- if (!dojo.lang.inArray(['absolute', 'relative'], pos)) {
- var ret = dojo.html.abs(innerNode, true);
- dojo.html.setStyleAttributes(innerNode, "position:absolute;top:"+ret.y+"px;left:"+ret.x+"px;");
- top = ret.y;
- left = ret.x;
- }
- }
- })();
- init();
-
- var anim = dojo.lfx.propertyAnimation(node,
- { "top": { start: top, end: (coords.top||0) },
- "left": { start: left, end: (coords.left||0) }
- },
- duration,
- easing,
- { "beforeBegin": init }
- );
-
- if(callback){
- anim.connect("onEnd", function(){ callback(nodes, anim); });
- }
-
- anims.push(anim);
- });
-
- return dojo.lfx.combine(anims); // dojo.lfx.Combine
-}
-
-dojo.lfx.html.slideBy = function(/*DOMNode*/ nodes, /*Object*/ coords, /*int?*/ duration, /*Function?*/ easing, /*Function?*/ callback){
- // summary: Returns an animation that will slide "nodes" from its current position
- // to its current position plus the numbers defined in "coords".
- // nodes: An array of DOMNodes or one DOMNode.
- // coords: { top: Decimal?, left: Decimal? }
- // duration: Duration of the animation in milliseconds.
- // easing: An easing function.
- // callback: Function to run at the end of the animation.
- nodes = dojo.lfx.html._byId(nodes);
- var anims = [];
- var compute = dojo.html.getComputedStyle;
-
- if(dojo.lang.isArray(coords)){
- /* coords: Array
- pId: a */
- dojo.deprecated('dojo.lfx.html.slideBy(node, array)', 'use dojo.lfx.html.slideBy(node, {top: value, left: value});', '0.5');
- coords = { top: coords[0], left: coords[1] };
- }
-
- dojo.lang.forEach(nodes, function(node){
- var top = null;
- var left = null;
-
- var init = (function(){
- var innerNode = node;
- return function(){
- var pos = compute(innerNode, 'position');
- top = (pos == 'absolute' ? node.offsetTop : parseInt(compute(node, 'top')) || 0);
- left = (pos == 'absolute' ? node.offsetLeft : parseInt(compute(node, 'left')) || 0);
-
- if (!dojo.lang.inArray(['absolute', 'relative'], pos)) {
- var ret = dojo.html.abs(innerNode, true);
- dojo.html.setStyleAttributes(innerNode, "position:absolute;top:"+ret.y+"px;left:"+ret.x+"px;");
- top = ret.y;
- left = ret.x;
- }
- }
- })();
- init();
-
- var anim = dojo.lfx.propertyAnimation(node,
- {
- "top": { start: top, end: top+(coords.top||0) },
- "left": { start: left, end: left+(coords.left||0) }
- },
- duration,
- easing).connect("beforeBegin", init);
-
- if(callback){
- anim.connect("onEnd", function(){ callback(nodes, anim); });
- }
-
- anims.push(anim);
- });
-
- return dojo.lfx.combine(anims); // dojo.lfx.Combine
-}
-
-dojo.lfx.html.explode = function(/*DOMNode*/ start,
- /*DOMNode*/ endNode,
- /*int?*/ duration,
- /*Function?*/ easing,
- /*Function?*/ callback){
- // summary: Returns an animation that will
- // start:
- // endNode:
- // duration: Duration of the animation in milliseconds.
- // easing: An easing function.
- // callback: Function to run at the end of the animation.
- var h = dojo.html;
- start = dojo.byId(start);
- endNode = dojo.byId(endNode);
- var startCoords = h.toCoordinateObject(start, true);
- var outline = document.createElement("div");
- h.copyStyle(outline, endNode);
- if(endNode.explodeClassName){ outline.className = endNode.explodeClassName; }
- with(outline.style){
- position = "absolute";
- display = "none";
- // border = "1px solid black";
- var backgroundStyle = h.getStyle(start, "background-color");
- backgroundColor = backgroundStyle ? backgroundStyle.toLowerCase() : "transparent";
- backgroundColor = (backgroundColor == "transparent") ? "rgb(221, 221, 221)" : backgroundColor;
- }
- dojo.body().appendChild(outline);
-
- with(endNode.style){
- visibility = "hidden";
- display = "block";
- }
- var endCoords = h.toCoordinateObject(endNode, true);
- with(endNode.style){
- display = "none";
- visibility = "visible";
- }
-
- var props = { opacity: { start: 0.5, end: 1.0 } };
- dojo.lang.forEach(["height", "width", "top", "left"], function(type){
- props[type] = { start: startCoords[type], end: endCoords[type] }
- });
-
- var anim = new dojo.lfx.propertyAnimation(outline,
- props,
- duration,
- easing,
- {
- "beforeBegin": function(){
- h.setDisplay(outline, "block");
- },
- "onEnd": function(){
- h.setDisplay(endNode, "block");
- outline.parentNode.removeChild(outline);
- }
- }
- );
-
- if(callback){
- anim.connect("onEnd", function(){ callback(endNode, anim); });
- }
- return anim; // dojo.lfx.Animation
-}
-
-dojo.lfx.html.implode = function(/*DOMNode*/ startNode,
- /*DOMNode*/ end,
- /*int?*/ duration,
- /*Function?*/ easing,
- /*Function?*/ callback){
- // summary: Returns an animation that will
- // startNode:
- // end:
- // duration: Duration of the animation in milliseconds.
- // easing: An easing function.
- // callback: Function to run at the end of the animation.
- var h = dojo.html;
- startNode = dojo.byId(startNode);
- end = dojo.byId(end);
- var startCoords = dojo.html.toCoordinateObject(startNode, true);
- var endCoords = dojo.html.toCoordinateObject(end, true);
-
- var outline = document.createElement("div");
- dojo.html.copyStyle(outline, startNode);
- if (startNode.explodeClassName) { outline.className = startNode.explodeClassName; }
- dojo.html.setOpacity(outline, 0.3);
- with(outline.style){
- position = "absolute";
- display = "none";
- backgroundColor = h.getStyle(startNode, "background-color").toLowerCase();
- }
- dojo.body().appendChild(outline);
-
- var props = { opacity: { start: 1.0, end: 0.5 } };
- dojo.lang.forEach(["height", "width", "top", "left"], function(type){
- props[type] = { start: startCoords[type], end: endCoords[type] }
- });
-
- var anim = new dojo.lfx.propertyAnimation(outline,
- props,
- duration,
- easing,
- {
- "beforeBegin": function(){
- dojo.html.hide(startNode);
- dojo.html.show(outline);
- },
- "onEnd": function(){
- outline.parentNode.removeChild(outline);
- }
- }
- );
-
- if(callback){
- anim.connect("onEnd", function(){ callback(startNode, anim); });
- }
- return anim; // dojo.lfx.Animation
-}
-
-dojo.lfx.html.highlight = function(/*DOMNode[]*/ nodes,
- /*dojo.gfx.color.Color*/ startColor,
- /*int?*/ duration,
- /*Function?*/ easing,
- /*Function?*/ callback){
- // summary: Returns an animation that will set the background color
- // of "nodes" to startColor and transition it to "nodes"
- // original color.
- // startColor: Color to transition from.
- // duration: Duration of the animation in milliseconds.
- // easing: An easing function.
- // callback: Function to run at the end of the animation.
- nodes = dojo.lfx.html._byId(nodes);
- var anims = [];
-
- dojo.lang.forEach(nodes, function(node){
- var color = dojo.html.getBackgroundColor(node);
- var bg = dojo.html.getStyle(node, "background-color").toLowerCase();
- var bgImage = dojo.html.getStyle(node, "background-image");
- var wasTransparent = (bg == "transparent" || bg == "rgba(0, 0, 0, 0)");
- while(color.length > 3) { color.pop(); }
-
- var rgb = new dojo.gfx.color.Color(startColor);
- var endRgb = new dojo.gfx.color.Color(color);
-
- var anim = dojo.lfx.propertyAnimation(node,
- { "background-color": { start: rgb, end: endRgb } },
- duration,
- easing,
- {
- "beforeBegin": function(){
- if(bgImage){
- node.style.backgroundImage = "none";
- }
- node.style.backgroundColor = "rgb(" + rgb.toRgb().join(",") + ")";
- },
- "onEnd": function(){
- if(bgImage){
- node.style.backgroundImage = bgImage;
- }
- if(wasTransparent){
- node.style.backgroundColor = "transparent";
- }
- if(callback){
- callback(node, anim);
- }
- }
- }
- );
-
- anims.push(anim);
- });
- return dojo.lfx.combine(anims); // dojo.lfx.Combine
-}
-
-dojo.lfx.html.unhighlight = function(/*DOMNode[]*/ nodes,
- /*dojo.gfx.color.Color*/ endColor,
- /*int?*/ duration,
- /*Function?*/ easing,
- /*Function?*/ callback){
- // summary: Returns an animation that will transition "nodes" background color
- // from its current color to "endColor".
- // endColor: Color to transition to.
- // duration: Duration of the animation in milliseconds.
- // easing: An easing function.
- // callback: Function to run at the end of the animation.
- nodes = dojo.lfx.html._byId(nodes);
- var anims = [];
-
- dojo.lang.forEach(nodes, function(node){
- var color = new dojo.gfx.color.Color(dojo.html.getBackgroundColor(node));
- var rgb = new dojo.gfx.color.Color(endColor);
-
- var bgImage = dojo.html.getStyle(node, "background-image");
-
- var anim = dojo.lfx.propertyAnimation(node,
- { "background-color": { start: color, end: rgb } },
- duration,
- easing,
- {
- "beforeBegin": function(){
- if(bgImage){
- node.style.backgroundImage = "none";
- }
- node.style.backgroundColor = "rgb(" + color.toRgb().join(",") + ")";
- },
- "onEnd": function(){
- if(callback){
- callback(node, anim);
- }
- }
- }
- );
- anims.push(anim);
- });
- return dojo.lfx.combine(anims); // dojo.lfx.Combine
-}
-
-dojo.lang.mixin(dojo.lfx, dojo.lfx.html);
-
-dojo.provide("dojo.lfx.*");
diff --git a/source/web/scripts/ajax/dojo/src/AdapterRegistry.js b/source/web/scripts/ajax/dojo/src/AdapterRegistry.js
deleted file mode 100644
index 742b182134..0000000000
--- a/source/web/scripts/ajax/dojo/src/AdapterRegistry.js
+++ /dev/null
@@ -1,88 +0,0 @@
-/*
- Copyright (c) 2004-2006, The Dojo Foundation
- All Rights Reserved.
-
- Licensed under the Academic Free License version 2.1 or above OR the
- modified BSD license. For more information on Dojo licensing, see:
-
- http://dojotoolkit.org/community/licensing.shtml
-*/
-
-dojo.provide("dojo.AdapterRegistry");
-dojo.require("dojo.lang.func");
-
-dojo.AdapterRegistry = function(/*Boolean?*/ returnWrappers){
- // summary:
- // A registry to make contextual calling/searching easier.
- // description:
- // Objects of this class keep list of arrays in the form [name, check,
- // wrap, directReturn] that are used to determine what the contextual
- // result of a set of checked arguments is. All check/wrap functions
- // in this registry should be of the same arity.
- this.pairs = [];
- this.returnWrappers = returnWrappers || false;
-}
-
-dojo.lang.extend(dojo.AdapterRegistry, {
- register: function(name, check, /*Function*/ wrap, directReturn, override){
- // summary:
- // register a check function to determine if the wrap function or
- // object gets selected
- // name: String
- // a way to identify this matcher.
- // check: Function
- // a function that arguments are passed to from the adapter's
- // match() function. The check function should return true if the
- // given arguments are appropriate for the wrap function.
- // directReturn: Boolean?
- // If directReturn is true, the value passed in for wrap will be
- // returned instead of being called. Alternately, the
- // AdapterRegistry can be set globally to "return not call" using
- // the returnWrappers property. Either way, this behavior allows
- // the registry to act as a "search" function instead of a
- // function interception library.
- // override: Boolean?
- // If override is given and true, the check function will be given
- // highest priority. Otherwise, it will be the lowest priority
- // adapter.
-
- var type = (override) ? "unshift" : "push";
- this.pairs[type]([name, check, wrap, directReturn]);
- },
-
- match: function(/* ... */){
- // summary:
- // Find an adapter for the given arguments. If no suitable adapter
- // is found, throws an exception. match() accepts any number of
- // arguments, all of which are passed to all matching functions
- // from the registered pairs.
- for(var i = 0; i < this.pairs.length; i++){
- var pair = this.pairs[i];
- if(pair[1].apply(this, arguments)){
- if((pair[3])||(this.returnWrappers)){
- return pair[2];
- }else{
- return pair[2].apply(this, arguments);
- }
- }
- }
- throw new Error("No match found");
- // dojo.raise("No match found");
- },
-
- unregister: function(name){
- // summary: Remove a named adapter from the registry
-
- // FIXME: this is kind of a dumb way to handle this. On a large
- // registry this will be slow-ish and we can use the name as a lookup
- // should we choose to trade memory for speed.
- for(var i = 0; i < this.pairs.length; i++){
- var pair = this.pairs[i];
- if(pair[0] == name){
- this.pairs.splice(i, 1);
- return true;
- }
- }
- return false;
- }
-});
diff --git a/source/web/scripts/ajax/dojo/src/Deferred.js b/source/web/scripts/ajax/dojo/src/Deferred.js
deleted file mode 100644
index 882ecfffa0..0000000000
--- a/source/web/scripts/ajax/dojo/src/Deferred.js
+++ /dev/null
@@ -1,313 +0,0 @@
-/*
- Copyright (c) 2004-2006, The Dojo Foundation
- All Rights Reserved.
-
- Licensed under the Academic Free License version 2.1 or above OR the
- modified BSD license. For more information on Dojo licensing, see:
-
- http://dojotoolkit.org/community/licensing.shtml
-*/
-
-dojo.provide("dojo.Deferred");
-dojo.require("dojo.lang.func");
-
-dojo.Deferred = function(/*Function?*/ canceller){
- /*
- NOTE: this namespace and documentation are imported wholesale
- from MochiKit
-
- Encapsulates a sequence of callbacks in response to a value that
- may not yet be available. This is modeled after the Deferred class
- from Twisted .
-
- Why do we want this? JavaScript has no threads, and even if it did,
- threads are hard. Deferreds are a way of abstracting non-blocking
- events, such as the final response to an XMLHttpRequest.
-
- The sequence of callbacks is internally represented as a list
- of 2-tuples containing the callback/errback pair. For example,
- the following call sequence::
-
- var d = new Deferred();
- d.addCallback(myCallback);
- d.addErrback(myErrback);
- d.addBoth(myBoth);
- d.addCallbacks(myCallback, myErrback);
-
- is translated into a Deferred with the following internal
- representation::
-
- [
- [myCallback, null],
- [null, myErrback],
- [myBoth, myBoth],
- [myCallback, myErrback]
- ]
-
- The Deferred also keeps track of its current status (fired).
- Its status may be one of three things:
-
- -1: no value yet (initial condition)
- 0: success
- 1: error
-
- A Deferred will be in the error state if one of the following
- three conditions are met:
-
- 1. The result given to callback or errback is "instanceof" Error
- 2. The previous callback or errback raised an exception while
- executing
- 3. The previous callback or errback returned a value "instanceof"
- Error
-
- Otherwise, the Deferred will be in the success state. The state of
- the Deferred determines the next element in the callback sequence to
- run.
-
- When a callback or errback occurs with the example deferred chain,
- something equivalent to the following will happen (imagine that
- exceptions are caught and returned)::
-
- // d.callback(result) or d.errback(result)
- if(!(result instanceof Error)){
- result = myCallback(result);
- }
- if(result instanceof Error){
- result = myErrback(result);
- }
- result = myBoth(result);
- if(result instanceof Error){
- result = myErrback(result);
- }else{
- result = myCallback(result);
- }
-
- The result is then stored away in case another step is added to the
- callback sequence. Since the Deferred already has a value available,
- any new callbacks added will be called immediately.
-
- There are two other "advanced" details about this implementation that
- are useful:
-
- Callbacks are allowed to return Deferred instances themselves, so you
- can build complicated sequences of events with ease.
-
- The creator of the Deferred may specify a canceller. The canceller
- is a function that will be called if Deferred.cancel is called before
- the Deferred fires. You can use this to implement clean aborting of
- an XMLHttpRequest, etc. Note that cancel will fire the deferred with
- a CancelledError (unless your canceller returns another kind of
- error), so the errbacks should be prepared to handle that error for
- cancellable Deferreds.
-
- */
-
- this.chain = [];
- this.id = this._nextId();
- this.fired = -1;
- this.paused = 0;
- this.results = [null, null];
- this.canceller = canceller;
- this.silentlyCancelled = false;
-};
-
-dojo.lang.extend(dojo.Deferred, {
- getFunctionFromArgs: function(){
- var a = arguments;
- if((a[0])&&(!a[1])){
- if(dojo.lang.isFunction(a[0])){
- return a[0];
- }else if(dojo.lang.isString(a[0])){
- return dj_global[a[0]];
- }
- }else if((a[0])&&(a[1])){
- return dojo.lang.hitch(a[0], a[1]);
- }
- return null;
- },
-
- makeCalled: function() {
- var deferred = new dojo.Deferred();
- deferred.callback();
- return deferred;
- },
-
- repr: function(){
- var state;
- if(this.fired == -1){
- state = 'unfired';
- }else if(this.fired == 0){
- state = 'success';
- } else {
- state = 'error';
- }
- return 'Deferred(' + this.id + ', ' + state + ')';
- },
-
- toString: dojo.lang.forward("repr"),
-
- _nextId: (function(){
- var n = 1;
- return function(){ return n++; };
- })(),
-
- cancel: function(){
- // summary: Cancels a Deferred that has not yet received a value, or is
- // waiting on another Deferred as its value.
- // description:
- // If a canceller is defined, the canceller is called. If the
- // canceller did not return an error, or there was no canceller,
- // then the errback chain is started with CancelledError.
- if(this.fired == -1){
- if (this.canceller){
- this.canceller(this);
- }else{
- this.silentlyCancelled = true;
- }
- if(this.fired == -1){
- this.errback(new Error(this.repr()));
- }
- }else if( (this.fired == 0)&&
- (this.results[0] instanceof dojo.Deferred)){
- this.results[0].cancel();
- }
- },
-
-
- _pause: function(){
- // summary: Used internally to signal that it's waiting on another Deferred
- this.paused++;
- },
-
- _unpause: function(){
- // summary: Used internally to signal that it's no longer waiting on
- // another Deferred.
- this.paused--;
- if ((this.paused == 0) && (this.fired >= 0)) {
- this._fire();
- }
- },
-
- _continue: function(res){
- // summary: Used internally when a dependent deferred fires.
- this._resback(res);
- this._unpause();
- },
-
- _resback: function(res){
- // The primitive that means either callback or errback
- this.fired = ((res instanceof Error) ? 1 : 0);
- this.results[this.fired] = res;
- this._fire();
- },
-
- _check: function(){
- if(this.fired != -1){
- if(!this.silentlyCancelled){
- dojo.raise("already called!");
- }
- this.silentlyCancelled = false;
- return;
- }
- },
-
- callback: function(res){
- // summary: Begin the callback sequence with a non-error value.
-
- /*
- callback or errback should only be called once on a given
- Deferred.
- */
- this._check();
- this._resback(res);
- },
-
- errback: function(res){
- // summary: Begin the callback sequence with an error result.
- this._check();
- if(!(res instanceof Error)){
- res = new Error(res);
- }
- this._resback(res);
- },
-
- addBoth: function(cb, cbfn){
- /* summary
- Add the same function as both a callback and an errback as the
- next element on the callback sequence. This is useful for code
- that you want to guarantee to run, e.g. a finalizer.
- */
- var enclosed = this.getFunctionFromArgs(cb, cbfn);
- if(arguments.length > 2){
- enclosed = dojo.lang.curryArguments(null, enclosed, arguments, 2);
- }
- return this.addCallbacks(enclosed, enclosed);
- },
-
- addCallback: function(cb, cbfn){
- // summary: Add a single callback to the end of the callback sequence.
- var enclosed = this.getFunctionFromArgs(cb, cbfn);
- if(arguments.length > 2){
- enclosed = dojo.lang.curryArguments(null, enclosed, arguments, 2);
- }
- return this.addCallbacks(enclosed, null);
- },
-
- addErrback: function(cb, cbfn){
- // summary: Add a single callback to the end of the callback sequence.
- var enclosed = this.getFunctionFromArgs(cb, cbfn);
- if(arguments.length > 2){
- enclosed = dojo.lang.curryArguments(null, enclosed, arguments, 2);
- }
- return this.addCallbacks(null, enclosed);
- return this.addCallbacks(null, cbfn);
- },
-
- addCallbacks: function (cb, eb) {
- // summary: Add separate callback and errback to the end of the callback
- // sequence.
- this.chain.push([cb, eb])
- if (this.fired >= 0) {
- this._fire();
- }
- return this;
- },
-
- _fire: function(){
- // summary: Used internally to exhaust the callback sequence when a result
- // is available.
- var chain = this.chain;
- var fired = this.fired;
- var res = this.results[fired];
- var self = this;
- var cb = null;
- while (chain.length > 0 && this.paused == 0) {
- // Array
- var pair = chain.shift();
- var f = pair[fired];
- if (f == null) {
- continue;
- }
- try {
- res = f(res);
- fired = ((res instanceof Error) ? 1 : 0);
- if(res instanceof dojo.Deferred) {
- cb = function(res){
- self._continue(res);
- }
- this._pause();
- }
- }catch(err){
- fired = 1;
- res = err;
- }
- }
- this.fired = fired;
- this.results[fired] = res;
- if((cb)&&(this.paused)){
- // this is for "tail recursion" in case the dependent
- // deferred is already fired
- res.addBoth(cb);
- }
- }
-});
diff --git a/source/web/scripts/ajax/dojo/src/DeferredList.js b/source/web/scripts/ajax/dojo/src/DeferredList.js
deleted file mode 100644
index 0364ad8116..0000000000
--- a/source/web/scripts/ajax/dojo/src/DeferredList.js
+++ /dev/null
@@ -1,88 +0,0 @@
-/*
- Copyright (c) 2004-2006, The Dojo Foundation
- All Rights Reserved.
-
- Licensed under the Academic Free License version 2.1 or above OR the
- modified BSD license. For more information on Dojo licensing, see:
-
- http://dojotoolkit.org/community/licensing.shtml
-*/
-
-dojo.require("dojo.Deferred");
-
-dojo.provide("dojo.DeferredList");
-
-
-dojo.DeferredList = function (list, /*bool?*/ fireOnOneCallback, /*bool?*/ fireOnOneErrback, /*bool?*/ consumeErrors, /*Function?*/ canceller) {
- this.list = list;
- this.resultList = new Array(this.list.length);
-
- // Deferred init
- this.chain = [];
- this.id = this._nextId();
- this.fired = -1;
- this.paused = 0;
- this.results = [null, null];
- this.canceller = canceller;
- this.silentlyCancelled = false;
-
- if (this.list.length === 0 && !fireOnOneCallback) {
- this.callback(this.resultList);
- }
-
- this.finishedCount = 0;
- this.fireOnOneCallback = fireOnOneCallback;
- this.fireOnOneErrback = fireOnOneErrback;
- this.consumeErrors = consumeErrors;
-
- var index = 0;
-
- var _this = this;
-
- dojo.lang.forEach(this.list, function(d) {
- var _index = index;
- //dojo.debug("add cb/errb index "+_index);
- d.addCallback(function(r) { _this._cbDeferred(_index, true, r) });
- d.addErrback(function(r) { _this._cbDeferred(_index, false, r) });
- index++;
- });
-
-};
-
-
-dojo.inherits(dojo.DeferredList, dojo.Deferred);
-
-dojo.lang.extend(dojo.DeferredList, {
-
- _cbDeferred: function (index, succeeded, result) {
- //dojo.debug("Fire "+index+" succ "+succeeded+" res "+result);
- this.resultList[index] = [succeeded, result];
- this.finishedCount += 1;
- if (this.fired !== 0) {
- if (succeeded && this.fireOnOneCallback) {
- this.callback([index, result]);
- } else if (!succeeded && this.fireOnOneErrback) {
- this.errback(result);
- } else if (this.finishedCount == this.list.length) {
- this.callback(this.resultList);
- }
- }
- if (!succeeded && this.consumeErrors) {
- result = null;
- }
- return result;
- },
-
- gatherResults: function (deferredList) {
- var d = new dojo.DeferredList(deferredList, false, true, false);
- d.addCallback(function (results) {
- var ret = [];
- for (var i = 0; i < results.length; i++) {
- ret.push(results[i][1]);
- }
- return ret;
- });
- return d;
- }
-});
-
diff --git a/source/web/scripts/ajax/dojo/src/a11y.js b/source/web/scripts/ajax/dojo/src/a11y.js
deleted file mode 100644
index 2b417ae1ae..0000000000
--- a/source/web/scripts/ajax/dojo/src/a11y.js
+++ /dev/null
@@ -1,103 +0,0 @@
-/*
- Copyright (c) 2004-2006, The Dojo Foundation
- All Rights Reserved.
-
- Licensed under the Academic Free License version 2.1 or above OR the
- modified BSD license. For more information on Dojo licensing, see:
-
- http://dojotoolkit.org/community/licensing.shtml
-*/
-
-dojo.provide("dojo.a11y");
-
-dojo.require("dojo.uri.*");
-dojo.require("dojo.html.common");
-
-dojo.a11y = {
- // imgPath: String path to the test image for determining if images are displayed or not
- // doAccessibleCheck: Boolean if true will perform check for need to create accessible widgets
- // accessible: Boolean uninitialized when null (accessible check has not been performed)
- // if true generate accessible widgets
- imgPath:dojo.uri.dojoUri("src/widget/templates/images"),
- doAccessibleCheck: true,
- accessible: null,
-
- checkAccessible: function(){
- // summary:
- // perform check for accessibility if accessibility checking is turned
- // on and the accessibility test has not been performed yet
- if(this.accessible === null){
- this.accessible = false; //default
- if(this.doAccessibleCheck == true){
- this.accessible = this.testAccessible();
- }
- }
- return this.accessible; /* Boolean */
- },
-
- testAccessible: function(){
- // summary:
- // Always perform the accessibility check to determine if high
- // contrast mode is on or display of images are turned off. Currently only checks
- // in IE and Mozilla.
- this.accessible = false; //default
- if (dojo.render.html.ie || dojo.render.html.mozilla){
- var div = document.createElement("div");
- //div.style.color="rgb(153,204,204)";
- div.style.backgroundImage = "url(\"" + this.imgPath + "/tab_close.gif\")";
- // must add to hierarchy before can view currentStyle below
- dojo.body().appendChild(div);
- // in FF and IE the value for the current background style of the added div
- // will be "none" in high contrast mode
- // in FF the return value will be url(invalid-url:) when running over http
- var bkImg = null;
- if (window.getComputedStyle ) {
- var cStyle = getComputedStyle(div, "");
- bkImg = cStyle.getPropertyValue("background-image");
- }else{
- bkImg = div.currentStyle.backgroundImage;
- }
- var bUseImgElem = false;
- if (bkImg != null && (bkImg == "none" || bkImg == "url(invalid-url:)" )) {
- this.accessible = true;
- }
- /*
- if(this.accessible == false && document.images){
- // test if images are off in IE
- var testImg = new Image();
- if(testImg.fileSize) {
- testImg.src = this.imgPath + "/tab_close.gif";
- if(testImg.fileSize < 0){
- this.accessible = true;
- }
- }
- }*/
- dojo.body().removeChild(div);
- }
- return this.accessible; /* Boolean */
- },
-
- setCheckAccessible: function(/* Boolean */ bTest){
- // summary:
- // Set whether or not to check for accessibility mode. Default value
- // of module is true - perform check for accessibility modes.
- // bTest: Boolean - true to check; false to turn off checking
- this.doAccessibleCheck = bTest;
- },
-
- setAccessibleMode: function(){
- // summary:
- // perform the accessibility check and sets the correct mode to load
- // a11y widgets. Only runs if test for accessiiblity has not been performed yet.
- // Call testAccessible() to force the test.
- if (this.accessible === null){
- if (this.checkAccessible()){
- dojo.render.html.prefixes.unshift("a11y");
- }
- }
- return this.accessible; /* Boolean */
- }
-};
-
-//dojo.hostenv.modulesLoadedListeners.unshift(function() { dojo.a11y.setAccessibleMode(); });
-//dojo.event.connect("before", dojo.hostenv, "makeWidgets", dojo.a11y, "setAccessibleMode");
diff --git a/source/web/scripts/ajax/dojo/src/animation.js b/source/web/scripts/ajax/dojo/src/animation.js
deleted file mode 100644
index d877b8f3fb..0000000000
--- a/source/web/scripts/ajax/dojo/src/animation.js
+++ /dev/null
@@ -1,14 +0,0 @@
-/*
- Copyright (c) 2004-2006, The Dojo Foundation
- All Rights Reserved.
-
- Licensed under the Academic Free License version 2.1 or above OR the
- modified BSD license. For more information on Dojo licensing, see:
-
- http://dojotoolkit.org/community/licensing.shtml
-*/
-
-dojo.provide("dojo.animation");
-dojo.require("dojo.animation.Animation");
-
-dojo.deprecated("dojo.animation is slated for removal in 0.5; use dojo.lfx instead.", "0.5");
diff --git a/source/web/scripts/ajax/dojo/src/animation/Animation.js b/source/web/scripts/ajax/dojo/src/animation/Animation.js
deleted file mode 100644
index 0d704e5603..0000000000
--- a/source/web/scripts/ajax/dojo/src/animation/Animation.js
+++ /dev/null
@@ -1,245 +0,0 @@
-/*
- Copyright (c) 2004-2006, The Dojo Foundation
- All Rights Reserved.
-
- Licensed under the Academic Free License version 2.1 or above OR the
- modified BSD license. For more information on Dojo licensing, see:
-
- http://dojotoolkit.org/community/licensing.shtml
-*/
-
-dojo.provide("dojo.animation.Animation");
-dojo.require("dojo.animation.AnimationEvent");
-
-dojo.require("dojo.lang.func");
-dojo.require("dojo.math");
-dojo.require("dojo.math.curves");
-
-dojo.deprecated("dojo.animation.Animation is slated for removal in 0.5; use dojo.lfx.* instead.", "0.5");
-
-/*
-Animation package based off of Dan Pupius' work on Animations:
-http://pupius.co.uk/js/Toolkit.Drawing.js
-*/
-
-dojo.animation.Animation = function(/*dojo.math.curves.* */ curve, /*int*/ duration, /*Decimal?*/ accel, /*int?*/ repeatCount, /*int?*/ rate) {
- // summary: Animation object iterates a set of numbers over a curve for a given amount of time, calling 'onAnimate' at each step.
- // curve: Curve to animate over.
- // duration: Duration of the animation, in milliseconds.
- // accel: Either an integer or curve representing amount of acceleration. (?) Default is linear acceleration.
- // repeatCount: Number of times to repeat the animation. Default is 0.
- // rate: Time between animation steps, in milliseconds. Default is 25.
- // description: Calls the following events: "onBegin", "onAnimate", "onEnd", "onPlay", "onPause", "onStop"
- // If the animation implements a "handler" function, that will be called before each event is called.
-
- if(dojo.lang.isArray(curve)) {
- // curve: Array
- // id: i
- curve = new dojo.math.curves.Line(curve[0], curve[1]);
- }
- this.curve = curve;
- this.duration = duration;
- this.repeatCount = repeatCount || 0;
- this.rate = rate || 25;
- if(accel) {
- // accel: Decimal
- // id: j
- if(dojo.lang.isFunction(accel.getValue)) {
- // accel: dojo.math.curves.CatmullRom
- // id: k
- this.accel = accel;
- } else {
- var i = 0.35*accel+0.5; // 0.15 <= i <= 0.85
- this.accel = new dojo.math.curves.CatmullRom([[0], [i], [1]], 0.45);
- }
- }
-}
-
-dojo.lang.extend(dojo.animation.Animation, {
- // public properties
- curve: null,
- duration: 0,
- repeatCount: 0,
- accel: null,
-
- // events
- onBegin: null,
- onAnimate: null,
- onEnd: null,
- onPlay: null,
- onPause: null,
- onStop: null,
- handler: null,
-
- // "private" properties
- _animSequence: null,
- _startTime: null,
- _endTime: null,
- _lastFrame: null,
- _timer: null,
- _percent: 0,
- _active: false,
- _paused: false,
- _startRepeatCount: 0,
-
- // public methods
- play: function(/*Boolean?*/ gotoStart) {
- // summary: Play the animation.
- // goToStart: If true, will restart the animation from the beginning.
- // Otherwise, starts from current play counter.
- // description: Sends an "onPlay" event to any observers.
- // Also sends an "onBegin" event if starting from the beginning.
- if( gotoStart ) {
- clearTimeout(this._timer);
- this._active = false;
- this._paused = false;
- this._percent = 0;
- } else if( this._active && !this._paused ) {
- return;
- }
-
- this._startTime = new Date().valueOf();
- if( this._paused ) {
- this._startTime -= (this.duration * this._percent / 100);
- }
- this._endTime = this._startTime + this.duration;
- this._lastFrame = this._startTime;
-
- var e = new dojo.animation.AnimationEvent(this, null, this.curve.getValue(this._percent),
- this._startTime, this._startTime, this._endTime, this.duration, this._percent, 0);
-
- this._active = true;
- this._paused = false;
-
- if( this._percent == 0 ) {
- if(!this._startRepeatCount) {
- this._startRepeatCount = this.repeatCount;
- }
- e.type = "begin";
- if(typeof this.handler == "function") { this.handler(e); }
- if(typeof this.onBegin == "function") { this.onBegin(e); }
- }
-
- e.type = "play";
- if(typeof this.handler == "function") { this.handler(e); }
- if(typeof this.onPlay == "function") { this.onPlay(e); }
-
- if(this._animSequence) { this._animSequence._setCurrent(this); }
-
- this._cycle();
- },
-
- pause: function() {
- // summary: Temporarily stop the animation, leaving the play counter at the current location.
- // Resume later with sequence.play()
- // description: Sends an "onPause" AnimationEvent to any observers.
- clearTimeout(this._timer);
- if( !this._active ) { return; }
- this._paused = true;
- var e = new dojo.animation.AnimationEvent(this, "pause", this.curve.getValue(this._percent),
- this._startTime, new Date().valueOf(), this._endTime, this.duration, this._percent, 0);
- if(typeof this.handler == "function") { this.handler(e); }
- if(typeof this.onPause == "function") { this.onPause(e); }
- },
-
- playPause: function() {
- // summary: Toggle between play and paused states.
- if( !this._active || this._paused ) {
- this.play();
- } else {
- this.pause();
- }
- },
-
- gotoPercent: function(/*int*/ pct, /*Boolean*/ andPlay) {
- // summary: Set the play counter at a certain point in the animation.
- // pct: Point to set the play counter to, expressed as a percentage (0 to 100).
- // andPlay: If true, will start the animation at the counter automatically.
- clearTimeout(this._timer);
- this._active = true;
- this._paused = true;
- this._percent = pct;
- if( andPlay ) { this.play(); }
- },
-
- stop: function(/*Boolean?*/ gotoEnd) {
- // summary: Stop the animation.
- // gotoEnd: If true, will advance play counter to the end before sending the event.
- // description: Sends an "onStop" AnimationEvent to any observers.
- clearTimeout(this._timer);
- var step = this._percent / 100;
- if( gotoEnd ) {
- step = 1;
- }
- var e = new dojo.animation.AnimationEvent(this, "stop", this.curve.getValue(step),
- this._startTime, new Date().valueOf(), this._endTime, this.duration, this._percent);
- if(typeof this.handler == "function") { this.handler(e); }
- if(typeof this.onStop == "function") { this.onStop(e); }
- this._active = false;
- this._paused = false;
- },
-
- status: function() {
- // summary: Return the status of the animation.
- // description: Returns one of "playing", "paused" or "stopped".
- if( this._active ) {
- return this._paused ? "paused" : "playing"; /* String */
- } else {
- return "stopped"; /* String */
- }
- },
-
- // "private" methods
- _cycle: function() {
- // summary: Perform once 'cycle' or step of the animation.
- clearTimeout(this._timer);
- if( this._active ) {
- var curr = new Date().valueOf();
- var step = (curr - this._startTime) / (this._endTime - this._startTime);
- var fps = 1000 / (curr - this._lastFrame);
- this._lastFrame = curr;
-
- if( step >= 1 ) {
- step = 1;
- this._percent = 100;
- } else {
- this._percent = step * 100;
- }
-
- // Perform accelleration
- if(this.accel && this.accel.getValue) {
- step = this.accel.getValue(step);
- }
-
- var e = new dojo.animation.AnimationEvent(this, "animate", this.curve.getValue(step),
- this._startTime, curr, this._endTime, this.duration, this._percent, Math.round(fps));
-
- if(typeof this.handler == "function") { this.handler(e); }
- if(typeof this.onAnimate == "function") { this.onAnimate(e); }
-
- if( step < 1 ) {
- this._timer = setTimeout(dojo.lang.hitch(this, "_cycle"), this.rate);
- } else {
- e.type = "end";
- this._active = false;
- if(typeof this.handler == "function") { this.handler(e); }
- if(typeof this.onEnd == "function") { this.onEnd(e); }
-
- if( this.repeatCount > 0 ) {
- this.repeatCount--;
- this.play(true);
- } else if( this.repeatCount == -1 ) {
- this.play(true);
- } else {
- if(this._startRepeatCount) {
- this.repeatCount = this._startRepeatCount;
- this._startRepeatCount = 0;
- }
- if( this._animSequence ) {
- this._animSequence._playNext();
- }
- }
- }
- }
- }
-});
diff --git a/source/web/scripts/ajax/dojo/src/animation/AnimationEvent.js b/source/web/scripts/ajax/dojo/src/animation/AnimationEvent.js
deleted file mode 100644
index bc14d02a1b..0000000000
--- a/source/web/scripts/ajax/dojo/src/animation/AnimationEvent.js
+++ /dev/null
@@ -1,64 +0,0 @@
-/*
- Copyright (c) 2004-2006, The Dojo Foundation
- All Rights Reserved.
-
- Licensed under the Academic Free License version 2.1 or above OR the
- modified BSD license. For more information on Dojo licensing, see:
-
- http://dojotoolkit.org/community/licensing.shtml
-*/
-
-dojo.provide("dojo.animation.AnimationEvent");
-dojo.require("dojo.lang.common");
-
-dojo.deprecated("dojo.animation.AnimationEvent is slated for removal in 0.5; use dojo.lfx.* instead.", "0.5");
-
-dojo.animation.AnimationEvent = function(
- /*dojo.animation.Animation*/ animation,
- /*String*/type,
- /*int[] */ coords,
- /*int*/ startTime,
- /*int*/ currentTime,
- /*int*/ endTime,
- /*int*/ duration,
- /*int*/ percent,
- /*int?*/ fps) {
- // summary: Event sent at various points during an Animation.
- // animation: Animation throwing the event.
- // type: One of: "animate", "begin", "end", "play", "pause" or "stop".
- // coords: Current coordinates of the animation.
- // startTime: Time the animation was started, as milliseconds.
- // currentTime: Time the event was thrown, as milliseconds.
- // endTime: Time the animation is expected to complete, as milliseconds.
- // duration: Duration of the animation, in milliseconds.
- // percent: Percent of the animation that has completed, between 0 and 100.
- // fps: Frames currently shown per second. (Only sent for "animate" event).
- // description: The AnimationEvent has public properties of the same name as
- // all constructor arguments, plus "x", "y" and "z".
-
- this.type = type; // "animate", "begin", "end", "play", "pause", "stop"
- this.animation = animation;
-
- this.coords = coords;
- this.x = coords[0];
- this.y = coords[1];
- this.z = coords[2];
-
- this.startTime = startTime;
- this.currentTime = currentTime;
- this.endTime = endTime;
-
- this.duration = duration;
- this.percent = percent;
- this.fps = fps;
-};
-dojo.extend(dojo.animation.AnimationEvent, {
- coordsAsInts: function() {
- // summary: Coerce the coordinates into integers.
- var cints = new Array(this.coords.length);
- for(var i = 0; i < this.coords.length; i++) {
- cints[i] = Math.round(this.coords[i]);
- }
- return cints;
- }
-});
diff --git a/source/web/scripts/ajax/dojo/src/animation/AnimationSequence.js b/source/web/scripts/ajax/dojo/src/animation/AnimationSequence.js
deleted file mode 100644
index 4c1392423b..0000000000
--- a/source/web/scripts/ajax/dojo/src/animation/AnimationSequence.js
+++ /dev/null
@@ -1,162 +0,0 @@
-/*
- Copyright (c) 2004-2006, The Dojo Foundation
- All Rights Reserved.
-
- Licensed under the Academic Free License version 2.1 or above OR the
- modified BSD license. For more information on Dojo licensing, see:
-
- http://dojotoolkit.org/community/licensing.shtml
-*/
-
-dojo.provide("dojo.animation.AnimationSequence");
-dojo.require("dojo.animation.AnimationEvent");
-dojo.require("dojo.animation.Animation");
-
-dojo.deprecated("dojo.animation.AnimationSequence is slated for removal in 0.5; use dojo.lfx.* instead.", "0.5");
-
-dojo.animation.AnimationSequence = function(/*int?*/ repeatCount){
- // summary: Sequence of Animations, played one after the other.
- // repeatCount: Number of times to repeat the entire sequence. Default is 0 (play once only).
- // description: Calls the following events: "onBegin", "onEnd", "onNext"
- // If the animation implements a "handler" function, that will be called before each event is called.
- this._anims = [];
- this.repeatCount = repeatCount || 0;
-}
-
-dojo.lang.extend(dojo.animation.AnimationSequence, {
- repeatCount: 0,
-
- _anims: [],
- _currAnim: -1,
-
- onBegin: null,
- onEnd: null,
- onNext: null,
- handler: null,
-
- add: function() {
- // summary: Add one or more Animations to the sequence.
- // description: args: Animations (dojo.animation.Animation) to add to the sequence.
- for(var i = 0; i < arguments.length; i++) {
- this._anims.push(arguments[i]);
- arguments[i]._animSequence = this;
- }
- },
-
- remove: function(/*dojo.animation.Animation*/ anim) {
- // summary: Remove one particular animation from the sequence.
- // amim: Animation to remove.
- for(var i = 0; i < this._anims.length; i++) {
- if( this._anims[i] == anim ) {
- this._anims[i]._animSequence = null;
- this._anims.splice(i, 1);
- break;
- }
- }
- },
-
- removeAll: function() {
- // summary: Remove all animations from the sequence.
- for(var i = 0; i < this._anims.length; i++) {
- this._anims[i]._animSequence = null;
- }
- this._anims = [];
- this._currAnim = -1;
- },
-
- clear: function() {
- // summary: Remove all animations from the sequence.
- this.removeAll();
- },
-
- play: function(/*Boolean?*/ gotoStart) {
- // summary: Play the animation sequence.
- // gotoStart: If true, will start at the beginning of the first sequence.
- // Otherwise, starts at the current play counter of the current animation.
- // description: Sends an "onBegin" event to any observers.
- if( this._anims.length == 0 ) { return; }
- if( gotoStart || !this._anims[this._currAnim] ) {
- this._currAnim = 0;
- }
- if( this._anims[this._currAnim] ) {
- if( this._currAnim == 0 ) {
- var e = {type: "begin", animation: this._anims[this._currAnim]};
- if(typeof this.handler == "function") { this.handler(e); }
- if(typeof this.onBegin == "function") { this.onBegin(e); }
- }
- this._anims[this._currAnim].play(gotoStart);
- }
- },
-
- pause: function() {
- // summary: temporarily stop the current animation. Resume later with sequence.play()
- if( this._anims[this._currAnim] ) {
- this._anims[this._currAnim].pause();
- }
- },
-
- playPause: function() {
- // summary: Toggle between play and paused states.
- if( this._anims.length == 0 ) { return; }
- if( this._currAnim == -1 ) { this._currAnim = 0; }
- if( this._anims[this._currAnim] ) {
- this._anims[this._currAnim].playPause();
- }
- },
-
- stop: function() {
- // summary: Stop the current animation.
- if( this._anims[this._currAnim] ) {
- this._anims[this._currAnim].stop();
- }
- },
-
- status: function() {
- // summary: Return the status of the current animation.
- // description: Returns one of "playing", "paused" or "stopped".
- if( this._anims[this._currAnim] ) {
- return this._anims[this._currAnim].status();
- } else {
- return "stopped";
- }
- },
-
- _setCurrent: function(/*dojo.animation.Animation*/ anim) {
- // summary: Set the current animation.
- // anim: Animation to make current, must have already been added to the sequence.
- for(var i = 0; i < this._anims.length; i++) {
- if( this._anims[i] == anim ) {
- this._currAnim = i;
- break;
- }
- }
- },
-
- _playNext: function() {
- // summary: Play the next animation in the sequence.
- // description: Sends an "onNext" event to any observers.
- // Also sends "onEnd" if the last animation is finished.
- if( this._currAnim == -1 || this._anims.length == 0 ) { return; }
- this._currAnim++;
- if( this._anims[this._currAnim] ) {
- var e = {type: "next", animation: this._anims[this._currAnim]};
- if(typeof this.handler == "function") { this.handler(e); }
- if(typeof this.onNext == "function") { this.onNext(e); }
- this._anims[this._currAnim].play(true);
- } else {
- var e = {type: "end", animation: this._anims[this._anims.length-1]};
- if(typeof this.handler == "function") { this.handler(e); }
- if(typeof this.onEnd == "function") { this.onEnd(e); }
- if(this.repeatCount > 0) {
- this._currAnim = 0;
- this.repeatCount--;
- this._anims[this._currAnim].play(true);
- } else if(this.repeatCount == -1) {
- this._currAnim = 0;
- this._anims[this._currAnim].play(true);
- } else {
- this._currAnim = -1;
- }
- }
- }
-});
diff --git a/source/web/scripts/ajax/dojo/src/animation/Timer.js b/source/web/scripts/ajax/dojo/src/animation/Timer.js
deleted file mode 100644
index bf83ccbb4a..0000000000
--- a/source/web/scripts/ajax/dojo/src/animation/Timer.js
+++ /dev/null
@@ -1,16 +0,0 @@
-/*
- Copyright (c) 2004-2006, The Dojo Foundation
- All Rights Reserved.
-
- Licensed under the Academic Free License version 2.1 or above OR the
- modified BSD license. For more information on Dojo licensing, see:
-
- http://dojotoolkit.org/community/licensing.shtml
-*/
-
-dojo.provide("dojo.animation.Timer");
-dojo.require("dojo.lang.timing.Timer");
-
-dojo.deprecated("dojo.animation.Timer is now dojo.lang.timing.Timer", "0.5");
-
-dojo.animation.Timer = dojo.lang.timing.Timer;
diff --git a/source/web/scripts/ajax/dojo/src/animation/__package__.js b/source/web/scripts/ajax/dojo/src/animation/__package__.js
deleted file mode 100644
index 1ceb877f8e..0000000000
--- a/source/web/scripts/ajax/dojo/src/animation/__package__.js
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- Copyright (c) 2004-2006, The Dojo Foundation
- All Rights Reserved.
-
- Licensed under the Academic Free License version 2.1 or above OR the
- modified BSD license. For more information on Dojo licensing, see:
-
- http://dojotoolkit.org/community/licensing.shtml
-*/
-
-dojo.kwCompoundRequire({
- common: [
- "dojo.animation.AnimationEvent",
- "dojo.animation.Animation",
- "dojo.animation.AnimationSequence"
- ]
-});
-dojo.provide("dojo.animation.*");
-
-dojo.deprecated("dojo.Animation.* is slated for removal in 0.5; use dojo.lfx.* instead.", "0.5");
diff --git a/source/web/scripts/ajax/dojo/src/behavior.js b/source/web/scripts/ajax/dojo/src/behavior.js
deleted file mode 100644
index 26995d6732..0000000000
--- a/source/web/scripts/ajax/dojo/src/behavior.js
+++ /dev/null
@@ -1,248 +0,0 @@
-/*
- Copyright (c) 2004-2006, The Dojo Foundation
- All Rights Reserved.
-
- Licensed under the Academic Free License version 2.1 or above OR the
- modified BSD license. For more information on Dojo licensing, see:
-
- http://dojotoolkit.org/community/licensing.shtml
-*/
-
-dojo.provide("dojo.behavior");
-dojo.require("dojo.event.*");
-
-dojo.require("dojo.experimental");
-dojo.experimental("dojo.behavior");
-
-dojo.behavior = new function(){
- function arrIn(obj, name){
- if(!obj[name]){ obj[name] = []; }
- return obj[name];
- }
-
- function forIn(obj, scope, func){
- var tmpObj = {};
- for(var x in obj){
- if(typeof tmpObj[x] == "undefined"){
- if(!func){
- scope(obj[x], x);
- }else{
- func.call(scope, obj[x], x);
- }
- }
- }
- }
-
- // FIXME: need a better test so we don't exclude nightly Safari's!
- this.behaviors = {};
- this.add = function(behaviorObj){
- /* behavior objects are specified in the following format:
- *
- * {
- * "#id": {
- * "found": function(element){
- * // ...
- * },
- *
- * "onblah": {targetObj: foo, targetFunc: "bar"},
- *
- * "onblarg": "/foo/bar/baz/blarg",
- *
- * "onevent": function(evt){
- * },
- *
- * "onotherevent: function(evt){
- * // ...
- * }
- * },
- *
- * "#id2": {
- * // ...
- * },
- *
- * "#id3": function(element){
- * // ...
- * },
- *
- * // publish the match on a topic
- * "#id4": "/found/topic/name",
- *
- * // match all direct descendants
- * "#id4 > *": function(element){
- * // ...
- * },
- *
- * // match the first child node that's an element
- * "#id4 > @firstElement": { ... },
- *
- * // match the last child node that's an element
- * "#id4 > @lastElement": { ... },
- *
- * // all elements of type tagname
- * "tagname": {
- * // ...
- * },
- *
- * // maps to roughly:
- * // dojo.lang.forEach(body.getElementsByTagName("tagname1"), function(node){
- * // dojo.lang.forEach(node.getElementsByTagName("tagname2"), function(node2){
- * // dojo.lang.forEach(node2.getElementsByTagName("tagname3", function(node3){
- * // // apply rules
- * // });
- * // });
- * // });
- * "tagname1 tagname2 tagname3": {
- * // ...
- * },
- *
- * ".classname": {
- * // ...
- * },
- *
- * "tagname.classname": {
- * // ...
- * },
- * }
- *
- * The "found" method is a generalized handler that's called as soon
- * as the node matches the selector. Rules for values that follow also
- * apply to the "found" key.
- *
- * The "on*" handlers are attached with dojo.event.connect(). If the
- * value is not a function but is rather an object, it's assumed to be
- * the "other half" of a dojo.event.kwConnect() argument object. It
- * may contain any/all properties of such a connection modifier save
- * for the sourceObj and sourceFunc properties which are filled in by
- * the system automatically. If a string is instead encountered, the
- * node publishes the specified event on the topic contained in the
- * string value.
- *
- * If the value corresponding to the ID key is a function and not a
- * list, it's treated as though it was the value of "found".
- *
- */
-
- var tmpObj = {};
- forIn(behaviorObj, this, function(behavior, name){
- var tBehavior = arrIn(this.behaviors, name);
- if((dojo.lang.isString(behavior))||(dojo.lang.isFunction(behavior))){
- behavior = { found: behavior };
- }
- forIn(behavior, function(rule, ruleName){
- arrIn(tBehavior, ruleName).push(rule);
- });
- });
- }
-
- this.apply = function(){
- dojo.profile.start("dojo.behavior.apply");
- var r = dojo.render.html;
- // note, we apply one way for fast queries and one way for slow
- // iteration. So be it.
- var safariGoodEnough = (!r.safari);
- if(r.safari){
- // Anything over release #420 should work the fast way
- var uas = r.UA.split("AppleWebKit/")[1];
- if(parseInt(uas.match(/[0-9.]{3,}/)) >= 420){
- safariGoodEnough = true;
- }
- }
- if((dj_undef("behaviorFastParse", djConfig) ? (safariGoodEnough) : djConfig["behaviorFastParse"])){
- this.applyFast();
- }else{
- this.applySlow();
- }
- dojo.profile.end("dojo.behavior.apply");
- }
-
- this.matchCache = {};
-
- this.elementsById = function(id, handleRemoved){
- var removed = [];
- var added = [];
- arrIn(this.matchCache, id);
- if(handleRemoved){
- var nodes = this.matchCache[id];
- for(var x=0; x");
- } catch (e) {
- var script = document.createElement("script");
- script.src = spath;
- document.getElementsByTagName("head")[0].appendChild(script);
- }
- }
- }
-})();
diff --git a/source/web/scripts/ajax/dojo/src/browser_debug.js b/source/web/scripts/ajax/dojo/src/browser_debug.js
deleted file mode 100644
index b1b563d018..0000000000
--- a/source/web/scripts/ajax/dojo/src/browser_debug.js
+++ /dev/null
@@ -1,176 +0,0 @@
-/*
- Copyright (c) 2004-2006, The Dojo Foundation
- All Rights Reserved.
-
- Licensed under the Academic Free License version 2.1 or above OR the
- modified BSD license. For more information on Dojo licensing, see:
-
- http://dojotoolkit.org/community/licensing.shtml
-*/
-
-dojo.hostenv.loadedUris.push("../src/bootstrap1.js");
-dojo.hostenv.loadedUris.push("../src/loader.js");
-dojo.hostenv.loadedUris.push("../src/hostenv_browser.js");
-dojo.hostenv.loadedUris.push("../src/bootstrap2.js");
-dojo.hostenv._loadedUrisListStart = dojo.hostenv.loadedUris.length;
-
-function removeComments(contents){
- contents = new String((!contents) ? "" : contents);
- // clobber all comments
- // FIXME broken if // or /* inside quotes or regexp
- contents = contents.replace( /^(.*?)\/\/(.*)$/mg , "$1");
- contents = contents.replace( /(\n)/mg , "__DOJONEWLINE");
- contents = contents.replace( /\/\*(.*?)\*\//g , "");
- return contents.replace( /__DOJONEWLINE/mg , "\n");
-}
-
-dojo.hostenv.getRequiresAndProvides = function(contents){
- // FIXME: should probably memoize this!
- if(!contents){ return []; }
-
-
- // check to see if we need to load anything else first. Ugg.
- var deps = [];
- var tmp;
- RegExp.lastIndex = 0;
- var testExp = /dojo.(hostenv.loadModule|hostenv.require|require|requireIf|kwCompoundRequire|hostenv.conditionalLoadModule|hostenv.startPackage|provide)\([\w\W]*?\)/mg;
- while((tmp = testExp.exec(contents)) != null){
- deps.push(tmp[0]);
- }
- return deps;
-}
-
-dojo.hostenv.getDelayRequiresAndProvides = function(contents){
- // FIXME: should probably memoize this!
- if(!contents){ return []; }
-
- // check to see if we need to load anything else first. Ugg.
- var deps = [];
- var tmp;
- RegExp.lastIndex = 0;
- var testExp = /dojo.(requireAfterIf)\([\w\W]*?\)/mg;
- while((tmp = testExp.exec(contents)) != null){
- deps.push(tmp[0]);
- }
- return deps;
-}
-
-/*
-dojo.getNonExistantDescendants = function(objpath){
- var ret = [];
- // fast path for no periods
- if(typeof objpath != "string"){ return dj_global; }
- if(objpath.indexOf('.') == -1){
- if(dj_undef(objpath, dj_global)){
- ret.push[objpath];
- }
- return ret;
- }
-
- var syms = objpath.split(/\./);
- var obj = dj_global;
- for(var i=0;i=0; x--){
- dojo.clobberLastObject(removals[x]);
- }
- var depList = [];
- var seen = dojo.hostenv._writtenIncludes;
- for(var x=0; x");
- }
- document.write("");
- dojo.hostenv._loadedUrisListStart = 0;
- if (!willCallAgain) {
- // turn off debugAtAllCosts, so that dojo.require() calls inside of ContentPane hrefs
- // work correctly
- dj_eval = old_dj_eval;
- dojo.hostenv.loadUri = dojo.hostenv.oldLoadUri;
- }
-}
diff --git a/source/web/scripts/ajax/dojo/src/cal/iCalendar.js b/source/web/scripts/ajax/dojo/src/cal/iCalendar.js
deleted file mode 100644
index 0da52f9d17..0000000000
--- a/source/web/scripts/ajax/dojo/src/cal/iCalendar.js
+++ /dev/null
@@ -1,815 +0,0 @@
-/*
- Copyright (c) 2004-2006, The Dojo Foundation
- All Rights Reserved.
-
- Licensed under the Academic Free License version 2.1 or above OR the
- modified BSD license. For more information on Dojo licensing, see:
-
- http://dojotoolkit.org/community/licensing.shtml
-*/
-
-dojo.provide("dojo.cal.iCalendar");
-dojo.require("dojo.lang.common");
-dojo.require("dojo.cal.textDirectory");
-dojo.require("dojo.date.common");
-dojo.require("dojo.date.serialize");
-
-
-dojo.cal.iCalendar.fromText = function (/* string */text) {
- // summary
- // Parse text of an iCalendar and return an array of iCalendar objects
-
- var properties = dojo.cal.textDirectory.tokenise(text);
- var calendars = [];
-
- //dojo.debug("Parsing iCal String");
- for (var i = 0, begun = false; i < properties.length; i++) {
- var prop = properties[i];
- if (!begun) {
- if (prop.name == 'BEGIN' && prop.value == 'VCALENDAR') {
- begun = true;
- var calbody = [];
- }
- } else if (prop.name == 'END' && prop.value == 'VCALENDAR') {
- calendars.push(new dojo.cal.iCalendar.VCalendar(calbody));
- begun = false;
- } else {
- calbody.push(prop);
- }
- }
- return /* array */calendars;
-}
-
-
-dojo.cal.iCalendar.Component = function (/* string */ body ) {
- // summary
- // A component is the basic container of all this stuff.
-
- if (!this.name) {
- this.name = "COMPONENT"
- }
-
- this.properties = [];
- this.components = [];
-
- if (body) {
- for (var i = 0, context = ''; i < body.length; i++) {
- if (context == '') {
- if (body[i].name == 'BEGIN') {
- context = body[i].value;
- var childprops = [];
- } else {
- this.addProperty(new dojo.cal.iCalendar.Property(body[i]));
- }
- } else if (body[i].name == 'END' && body[i].value == context) {
- if (context=="VEVENT") {
- this.addComponent(new dojo.cal.iCalendar.VEvent(childprops));
- } else if (context=="VTIMEZONE") {
- this.addComponent(new dojo.cal.iCalendar.VTimeZone(childprops));
- } else if (context=="VTODO") {
- this.addComponent(new dojo.cal.iCalendar.VTodo(childprops));
- } else if (context=="VJOURNAL") {
- this.addComponent(new dojo.cal.iCalendar.VJournal(childprops));
- } else if (context=="VFREEBUSY") {
- this.addComponent(new dojo.cal.iCalendar.VFreeBusy(childprops));
- } else if (context=="STANDARD") {
- this.addComponent(new dojo.cal.iCalendar.Standard(childprops));
- } else if (context=="DAYLIGHT") {
- this.addComponent(new dojo.cal.iCalendar.Daylight(childprops));
- } else if (context=="VALARM") {
- this.addComponent(new dojo.cal.iCalendar.VAlarm(childprops));
- }else {
- dojo.unimplemented("dojo.cal.iCalendar." + context);
- }
- context = '';
- } else {
- childprops.push(body[i]);
- }
- }
-
- if (this._ValidProperties) {
- this.postCreate();
- }
- }
-}
-
-dojo.extend(dojo.cal.iCalendar.Component, {
-
- addProperty: function (prop) {
- // summary
- // push a new property onto a component.
- this.properties.push(prop);
- this[prop.name.toLowerCase()] = prop;
- },
-
- addComponent: function (prop) {
- // summary
- // add a component to this components list of children.
- this.components.push(prop);
- },
-
- postCreate: function() {
- for (var x=0; x 0) {
- return events;
- }
-
- return null;
- }
-});
-
-/*
- * STANDARD
- */
-
-var StandardProperties = [
- _P("dtstart", 1, true), _P("tzoffsetto", 1, true), _P("tzoffsetfrom", 1, true),
- _P("comment"), _P("rdate"), _P("rrule"), _P("tzname")
-];
-
-
-dojo.cal.iCalendar.Standard = function (/* string */ body) {
- // summary
- // STANDARD Component
-
- this.name = "STANDARD";
- this._ValidProperties = StandardProperties;
- dojo.cal.iCalendar.Component.call(this, body);
-}
-
-dojo.inherits(dojo.cal.iCalendar.Standard, dojo.cal.iCalendar.Component);
-
-/*
- * DAYLIGHT
- */
-
-var DaylightProperties = [
- _P("dtstart", 1, true), _P("tzoffsetto", 1, true), _P("tzoffsetfrom", 1, true),
- _P("comment"), _P("rdate"), _P("rrule"), _P("tzname")
-];
-
-dojo.cal.iCalendar.Daylight = function (/* string */ body) {
- // summary
- // Daylight Component
- this.name = "DAYLIGHT";
- this._ValidProperties = DaylightProperties;
- dojo.cal.iCalendar.Component.call(this, body);
-}
-
-dojo.inherits(dojo.cal.iCalendar.Daylight, dojo.cal.iCalendar.Component);
-
-/*
- * VEVENT
- */
-
-var VEventProperties = [
- // these can occur once only
- _P("class", 1), _P("created", 1), _P("description", 1), _P("dtstart", 1),
- _P("geo", 1), _P("last-mod", 1), _P("location", 1), _P("organizer", 1),
- _P("priority", 1), _P("dtstamp", 1), _P("seq", 1), _P("status", 1),
- _P("summary", 1), _P("transp", 1), _P("uid", 1), _P("url", 1), _P("recurid", 1),
- // these two are exclusive
- [_P("dtend", 1), _P("duration", 1)],
- // these can occur many times over
- _P("attach"), _P("attendee"), _P("categories"), _P("comment"), _P("contact"),
- _P("exdate"), _P("exrule"), _P("rstatus"), _P("related"), _P("resources"),
- _P("rdate"), _P("rrule")
-];
-
-dojo.cal.iCalendar.VEvent = function (/* string */ body) {
- // summary
- // VEVENT Component
- this._ValidProperties = VEventProperties;
- this.name = "VEVENT";
- dojo.cal.iCalendar.Component.call(this, body);
- this.recurring = false;
- this.startDate = dojo.date.fromIso8601(this.dtstart.value);
-}
-
-dojo.inherits(dojo.cal.iCalendar.VEvent, dojo.cal.iCalendar.Component);
-
-dojo.extend(dojo.cal.iCalendar.VEvent, {
- getDates: function(until) {
- var dtstart = this.getDate();
-
- var recurranceSet = [];
- var weekdays=["su","mo","tu","we","th","fr","sa"];
- var order = {
- "daily": 1, "weekly": 2, "monthly": 3, "yearly": 4,
- "byday": 1, "bymonthday": 1, "byweekno": 2, "bymonth": 3, "byyearday": 4};
-
- // expand rrules into the recurrance
- for (var x=0; x interval) {
- interval = rrule.interval;
- }
-
- var set = [];
- var freqInt = order[freq];
-
- if (rrule.until) {
- var tmpUntil = dojo.date.fromIso8601(rrule.until);
- } else {
- var tmpUntil = until
- }
-
- if (tmpUntil > until) {
- tmpUntil = until
- }
-
-
- if (dtstart 1) {
- var regex = "([+-]?)([0-9]{1,3})";
- for (var z=1; x 0) {
- var regex = "([+-]?)([0-9]{1,3})";
- for (var z=0; z 0) {
- var regex = "([+-]?)([0-9]{0,1}?)([A-Za-z]{1,2})";
- for (var z=0; z 0){
- arr = this.name.split('.');
- this.group = arr[0];
- this.name = arr[1];
- }
-
- // don't do any parsing, leave to implementation
- this.value = right;
-}
-
-
-dojo.cal.textDirectory.tokenise = function(/*String*/text){
-// summary: parses text into an array of properties.
-
- // normlize to one property per line and parse
- var nText = dojo.string.normalizeNewlines(text,"\n").
- replace(/\n[ \t]/g, '').
- replace(/\x00/g, '');
-
- var lines = nText.split("\n");
- var properties = [];
-
- for(var i = 0; i < lines.length; i++){
- if(dojo.string.trim(lines[i]) == ''){ continue; }
- var prop = new dojo.cal.textDirectory.Property(lines[i]);
- properties.push(prop);
- }
- return properties; // Array
-}
diff --git a/source/web/scripts/ajax/dojo/src/charting/Axis.js b/source/web/scripts/ajax/dojo/src/charting/Axis.js
deleted file mode 100644
index fcd3bc6c51..0000000000
--- a/source/web/scripts/ajax/dojo/src/charting/Axis.js
+++ /dev/null
@@ -1,146 +0,0 @@
-/*
- Copyright (c) 2004-2006, The Dojo Foundation
- All Rights Reserved.
-
- Licensed under the Academic Free License version 2.1 or above OR the
- modified BSD license. For more information on Dojo licensing, see:
-
- http://dojotoolkit.org/community/licensing.shtml
-*/
-
-dojo.provide("dojo.charting.Axis");
-dojo.require("dojo.lang.common");
-
-dojo.charting.Axis = function(/* string? */label, /* string? */scale, /* array? */labels){
- var id = "dojo-charting-axis-"+dojo.charting.Axis.count++;
- this.getId=function(){ return id; };
- this.setId=function(key){ id = key; };
- this.scale = scale || "linear"; // linear || log
- this.label = label || "";
- this.showLabel = true; // show axis label.
- this.showLabels = true; // show interval ticks.
- this.showLines = false; // if you want lines over the range of the plot area
- this.showTicks = false; // if you want tick marks on the axis.
- this.range = { upper : 0, lower : 0 }; // range of individual axis.
- this.origin = "min"; // this can be any number, "min" or "max". min/max is translated on init.
-
- this.labels = labels || [];
- this._labels = []; // what we really use to draw things.
- this.nodes={ main: null, axis: null, label: null, labels: null, lines: null, ticks: null };
-};
-dojo.charting.Axis.count = 0;
-
-dojo.extend(dojo.charting.Axis, {
- // TODO: implement log scaling.
- getCoord: function(
- /* float */val,
- /* dojo.charting.PlotArea */plotArea,
- /* dojo.charting.Plot */plot
- ){
- // summary
- // returns the coordinate of val based on this axis range, plot area and plot.
- val = parseFloat(val, 10);
- var area = plotArea.getArea();
- if(plot.axisX == this){
- var offset = 0 - this.range.lower;
- var min = this.range.lower + offset; // FIXME: check this.
- var max = this.range.upper + offset;
- val += offset;
- return (val*((area.right-area.left)/max))+area.left; // float
- } else {
- var max = this.range.upper;
- var min = this.range.lower;
- var offset = 0;
- if(min<0){
- offset += Math.abs(min);
- }
- max += offset; min += offset; val += offset;
- var pmin = area.bottom;
- var pmax = area.top;
- return (((pmin-pmax)/(max-min))*(max-val))+pmax;
- }
- },
- initializeOrigin: function(drawAgainst, plane){
- // figure out the origin value.
- if(isNaN(this.origin)){
- if(this.origin.toLowerCase() == "max"){
- this.origin = drawAgainst.range[(plane=="y")?"upper":"lower"];
- }
- else if (this.origin.toLowerCase() == "min"){
- this.origin = drawAgainst.range[(plane=="y")?"lower":"upper"];
- }
- else { this.origin=0; }
- }
- },
- initializeLabels: function(){
- // Translate the labels if needed.
- if(this.labels.length == 0){
- this.showLabels = false;
- this.showLines = false;
- this.showTicks = false;
- } else {
- if(this.labels[0].label && this.labels[0].value != null){
- for(var i=0; i0){
- var s=a.pop();
- this._labels.push({ label: s, value: this.range.upper });
- }
- // do the rest.
- if(a.length>0){
- var range = this.range.upper - this.range.lower;
- var step = range / (this.labels.length-1);
- for(var i=1; i<=a.length; i++){
- this._labels.push({
- label: a[i-1],
- value: this.range.lower+(step*i)
- });
- }
- }
- }
- }
- },
- initialize: function(plotArea, plot, drawAgainst, plane){
- // summary
- // Initialize the passed axis descriptor. Note that this should always
- // be the result of plotArea.getAxes, and not the axis directly!
- this.destroy();
- this.initializeOrigin(drawAgainst, plane);
- this.initializeLabels();
- var node = this.render(plotArea, plot, drawAgainst, plane);
- return node;
- },
- destroy: function(){
- for(var p in this.nodes){
- while(this.nodes[p] && this.nodes[p].childNodes.length > 0){
- this.nodes[p].removeChild(this.nodes[p].childNodes[0]);
- }
- if(this.nodes[p] && this.nodes[p].parentNode){
- this.nodes[p].parentNode.removeChild(this.nodes[p]);
- }
- this.nodes[p] = null;
- }
- }
-});
-
-dojo.requireIf(dojo.render.svg.capable, "dojo.charting.svg.Axis");
-dojo.requireIf(dojo.render.vml.capable, "dojo.charting.vml.Axis");
diff --git a/source/web/scripts/ajax/dojo/src/charting/Chart.js b/source/web/scripts/ajax/dojo/src/charting/Chart.js
deleted file mode 100644
index 13502e50dd..0000000000
--- a/source/web/scripts/ajax/dojo/src/charting/Chart.js
+++ /dev/null
@@ -1,85 +0,0 @@
-/*
- Copyright (c) 2004-2006, The Dojo Foundation
- All Rights Reserved.
-
- Licensed under the Academic Free License version 2.1 or above OR the
- modified BSD license. For more information on Dojo licensing, see:
-
- http://dojotoolkit.org/community/licensing.shtml
-*/
-
-dojo.provide("dojo.charting.Chart");
-dojo.require("dojo.lang.common");
-dojo.require("dojo.charting.PlotArea");
-
-dojo.charting.Chart = function(
- /* HTMLElement? */node,
- /* string? */title,
- /* string? */description
-){
- // summary
- // Create the basic Chart object.
- this.node = node || null;
- this.title = title || "Chart"; // pure string.
- this.description = description || ""; // HTML is allowed.
- this.plotAreas = [];
-};
-
-dojo.extend(dojo.charting.Chart, {
- // methods
- addPlotArea: function(/* object */obj, /* bool? */doRender){
- // summary
- // Add a PlotArea to this chart; object should be in the
- // form of: { plotArea, (x, y) or (top, left) }
- if(obj.x!=null && obj.left==null){ obj.left = obj.x; }
- if(obj.y!=null && obj.top==null){ obj.top = obj.y; }
- this.plotAreas.push(obj);
- if(doRender){ this.render(); }
- },
-
- // events
- onInitialize:function(chart){ },
- onRender:function(chart){ },
- onDestroy:function(chart){ },
-
- // standard build methods
- initialize: function(){
- // summary
- // Initialize the Chart by rendering it.
- if(!this.node){
- dojo.raise("dojo.charting.Chart.initialize: there must be a root node defined for the Chart.");
- }
- this.destroy();
- this.render();
- this.onInitialize(this);
- },
- render:function(){
- // summary
- // Render the chart in its entirety.
- if(this.node.style.position != "absolute"){
- this.node.style.position = "relative";
- }
- for(var i=0; i 0){
- this.node.removeChild(this.node.childNodes[0]);
- }
- }
-});
diff --git a/source/web/scripts/ajax/dojo/src/charting/Plot.js b/source/web/scripts/ajax/dojo/src/charting/Plot.js
deleted file mode 100644
index 0560eee05e..0000000000
--- a/source/web/scripts/ajax/dojo/src/charting/Plot.js
+++ /dev/null
@@ -1,103 +0,0 @@
-/*
- Copyright (c) 2004-2006, The Dojo Foundation
- All Rights Reserved.
-
- Licensed under the Academic Free License version 2.1 or above OR the
- modified BSD license. For more information on Dojo licensing, see:
-
- http://dojotoolkit.org/community/licensing.shtml
-*/
-
-dojo.provide("dojo.charting.Plot");
-dojo.require("dojo.lang.common");
-dojo.require("dojo.charting.Axis");
-dojo.require("dojo.charting.Series");
-
-dojo.charting.RenderPlotSeries = { Singly:"single", Grouped:"grouped" };
-
-dojo.charting.Plot = function(
- /* dojo.charting.Axis? */xaxis,
- /* dojo.charting.Axis? */yaxis,
- /* dojo.charting.Series[]? */series
-){
- // summary
- // Creates a new instance of a Plot (X/Y Axis + n Series).
- var id = "dojo-charting-plot-"+dojo.charting.Plot.count++;
- this.getId=function(){ return id; };
- this.setId=function(key){ id = key; };
- this.axisX = null;
- this.axisY = null;
- this.series = [];
- this.dataNode = null;
-
- // for bar charts, pie charts and stacked charts, change to Grouped.
- this.renderType = dojo.charting.RenderPlotSeries.Singly;
- if(xaxis){
- this.setAxis(xaxis,"x");
- }
- if(yaxis){
- this.setAxis(yaxis,"y");
- }
- if(series){
- for(var i=0; i 0){
- node.removeChild(node.childNodes[0]);
- }
- this.dataNode=null;
- }
-});
diff --git a/source/web/scripts/ajax/dojo/src/charting/PlotArea.js b/source/web/scripts/ajax/dojo/src/charting/PlotArea.js
deleted file mode 100644
index 6e64791a5b..0000000000
--- a/source/web/scripts/ajax/dojo/src/charting/PlotArea.js
+++ /dev/null
@@ -1,195 +0,0 @@
-/*
- Copyright (c) 2004-2006, The Dojo Foundation
- All Rights Reserved.
-
- Licensed under the Academic Free License version 2.1 or above OR the
- modified BSD license. For more information on Dojo licensing, see:
-
- http://dojotoolkit.org/community/licensing.shtml
-*/
-
-dojo.provide("dojo.charting.PlotArea");
-dojo.require("dojo.lang.common");
-dojo.require("dojo.gfx.color");
-dojo.require("dojo.gfx.color.hsl");
-dojo.require("dojo.charting.Plot");
-
-dojo.charting.PlotArea = function(){
- // summary
- // Creates a new PlotArea for drawing onto a Chart.
- var id="dojo-charting-plotarea-"+dojo.charting.PlotArea.count++;
- this.getId=function(){ return id; };
- this.setId=function(key){ id = key; };
- this.areaType = "standard"; // standard || radar
- this.plots = []; // plots that will be drawn on this area
-
- this.size={ width:600, height:400 };
- this.padding={ top:10, right:10, bottom:20, left:20 };
-
- // drawing node references.
- this.nodes = {
- main:null,
- area:null,
- background: null,
- axes: null,
- plots: null
- };
-
- // this is preset for a limited color range (green to purple),
- // anticipating a max of 32 series on this plot area.
- // if you need more flexibility, override these numbers.
- this._color = { h: 140, s: 120, l: 120, step: 27 };
-};
-dojo.charting.PlotArea.count = 0;
-
-dojo.extend(dojo.charting.PlotArea, {
- nextColor: function(){
- // summary
- // Advances the internal HSV cursor and returns the next generated color.
- var rgb=dojo.gfx.color.hsl2rgb(this._color.h, this._color.s, this._color.l);
- this._color.h = (this._color.h + this._color.step)%360;
- while(this._color.h < 140){
- this._color.h += this._color.step;
- }
- return dojo.gfx.color.rgb2hex(rgb[0], rgb[1], rgb[2]); // string
- },
- getArea:function(){
- // summary
- // Return an object describing the coordinates of the available area to plot on.
- return {
- left: this.padding.left,
- right: this.size.width - this.padding.right,
- top: this.padding.top,
- bottom: this.size.height - this.padding.bottom,
- toString:function(){
- var a=[ this.top, this.right, this.bottom, this.left ];
- return "["+a.join()+"]";
- }
- }; // object
- },
- getAxes: function(){
- // summary
- // get the unique axes for this plot area.
- var axes={};
- for(var i=0; i 0){
- node.removeChild(node.childNodes[0]);
- }
- this.nodes[p]=null;
- }
- }
-});
-
-dojo.requireIf(dojo.render.svg.capable, "dojo.charting.svg.PlotArea");
-dojo.requireIf(dojo.render.vml.capable, "dojo.charting.vml.PlotArea");
diff --git a/source/web/scripts/ajax/dojo/src/charting/Plotters.js b/source/web/scripts/ajax/dojo/src/charting/Plotters.js
deleted file mode 100644
index 3c91d67197..0000000000
--- a/source/web/scripts/ajax/dojo/src/charting/Plotters.js
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- Copyright (c) 2004-2006, The Dojo Foundation
- All Rights Reserved.
-
- Licensed under the Academic Free License version 2.1 or above OR the
- modified BSD license. For more information on Dojo licensing, see:
-
- http://dojotoolkit.org/community/licensing.shtml
-*/
-
-dojo.provide("dojo.charting.Plotters");
-
-/*
- * Plotters is the placeholder; what will happen is that the proper renderer types
- * will be mixed into this object (as opposed to creating a new one).
- */
-
-dojo.requireIf(dojo.render.svg.capable, "dojo.charting.svg.Plotters");
-dojo.requireIf(dojo.render.vml.capable, "dojo.charting.vml.Plotters");
diff --git a/source/web/scripts/ajax/dojo/src/charting/README.txt b/source/web/scripts/ajax/dojo/src/charting/README.txt
deleted file mode 100644
index 28a1c71b24..0000000000
--- a/source/web/scripts/ajax/dojo/src/charting/README.txt
+++ /dev/null
@@ -1,46 +0,0 @@
-Dojo Charting Engine
-=========================================================================
-The Dojo Charting Engine is a (fairly) complex object structure, designed
-to provide as much flexibility as possible in terms of chart construction.
-To this end, the engine details the following structure:
-
-Chart
----PlotArea[]
-------Plot[]
----------Axis (axisX)
----------Axis (axisY)
----------Series[]
-
-
-A Chart object is the main entity; it is the entire graphic. A Chart may
-have any number of PlotArea objects, which are the basic canvas against
-which data is plotted. A PlotArea may have any number of Plot objects,
-which is a container representing up to 2 axes and any number of series
-to be plotted against those axes; a Series represents a binding against
-two fields from a data source (initial rev, this data source is always of
-type dojo.collections.Store but this will probably change once dojo.data
-is in production).
-
-The point of this structure is to allow for as much flexibility as possible
-in terms of what kinds of charts can be represented by the engine. The
-current plan is to accomodate up to analytical financial charts, which tend
-to have 3 plot areas and any number of different types of axes on each one.
-
-The main exception to this is the pie chart, which will have it's own
-custom codebase. Also, 3D charts are not accounted for at this time,
-although the only thing that will probably need to be altered to make
-that work would be Plot and Series (to accomodate the additional Z axis).
-
-Finally, a Plot will render its series[] through the use of Plotters, which
-are custom methods to render specific types of charts.
--------------------------------------------------------------------------
-In terms of widgets, the basic concept is that there is a central, super-
-flexible Chart widget (Chart, oddly enough), and then any number of preset
-chart type widgets, that are basically built to serve a simple, easy
-purpose. For instance, if someone just needs to plot a series of lines,
-they would be better off using the LineChart widget; but if someone needed
-to plot a combo chart, that has 2 Y Axes (one linear, one log) against the
-same X Axis, using lines and areas, then they will want to use a Chart widget.
-Note also that unlike other widgets, the Charting engine *can* be called
-directly from script *without* the need for the actual widget engine to be
-loaded; the Chart widgets are thin wrappers around the charting engine.
\ No newline at end of file
diff --git a/source/web/scripts/ajax/dojo/src/charting/Series.js b/source/web/scripts/ajax/dojo/src/charting/Series.js
deleted file mode 100644
index f5174f96c3..0000000000
--- a/source/web/scripts/ajax/dojo/src/charting/Series.js
+++ /dev/null
@@ -1,215 +0,0 @@
-/*
- Copyright (c) 2004-2006, The Dojo Foundation
- All Rights Reserved.
-
- Licensed under the Academic Free License version 2.1 or above OR the
- modified BSD license. For more information on Dojo licensing, see:
-
- http://dojotoolkit.org/community/licensing.shtml
-*/
-
-dojo.provide("dojo.charting.Series");
-dojo.require("dojo.lang.common");
-dojo.require("dojo.charting.Plotters");
-
-dojo.charting.Series = function(/* object? */kwArgs){
- // summary
- // Create an instance of data series for plotting.
- var args = kwArgs || { length:1 };
- this.dataSource = args.dataSource || null;
- this.bindings = { };
- this.color = args.color;
- this.label = args.label;
-
- if(args.bindings){
- for(var p in args.bindings){
- this.addBinding(p, args.bindings[p]);
- }
- }
-};
-
-dojo.extend(dojo.charting.Series, {
- bind:function(/* dojo.collections.Store */src, /* object */bindings){
- // summary
- // Bind this series to src, with bindings.
- this.dataSource = src;
- this.bindings = bindings;
- },
- addBinding:function(/* string */name, /* string */binding){
- // summary
- // Bind to field "binding" using "name".
- this.bindings[name] = binding;
- },
- evaluate:function(/* object? */kwArgs){
- // summary
- // Evaluate all bindings and return an array of objects describing the bind.
- var ret = [];
- var a = this.dataSource.getData();
- var l = a.length;
- var start = 0;
- var end = l;
-
- /* Allow for ranges. Can be done in one of two ways:
- * 1. { from, to } as 0-based indices
- * 2. { length } as num of data points to get; a negative
- * value will start from the end of the data set.
- * No kwArg object means the full data set will be evaluated
- * and returned.
- */
- if(kwArgs){
- if(kwArgs.from){
- start = Math.max(kwArgs.from,0);
- if(kwArgs.to){
- end = Math.min(kwArgs.to, end);
- }
- }
- else if(kwArgs.length){
- if(kwArgs.length < 0){
- // length points from end
- start = Math.max((end + length),0);
- } else {
- end = Math.min((start + length), end);
- }
- }
- }
-
- for(var i=start; i b.x) return 1;
- if(a.x < b.x) return -1;
- return 0;
- });
- }
- return ret; // array
- },
-
- // trends
- trends:{
- createRange: function(/* array */values, /* int */len){
- // summary
- // Creates the data range used for all trends.
- var idx = values.length-1;
- var length = (len||values.length);
- return { "index": idx, "length": length, "start":Math.max(idx-length,0) }; // object
- },
-
- mean: function(/* array */values, /* int */len){
- // summary
- // Returns the mean or average over the set of values.
- var range = this.createRange(values, len);
- if(range.index<0){ return 0; }
- var total = 0;
- var count = 0;
- for(var i=range.index; i>=range.start; i--){
- total += values[i].y;
- count++;
- }
- total /= Math.max(count,1);
- return total; // float
- },
-
- variance: function(/* array */values,/* int */len){
- // summary
- // Returns the variance of the set of values.
- var range = this.createRange(values,len);
- if(range.index < 0){ return 0; }
- var total = 0;
- var square = 0;
- var count = 0;
- for(var i=range.index; i>=range.start; i--){
- total += values[i].y;
- square += Math.pow(values[i].y, 2);
- count++;
- }
- return (square/count)-Math.pow(total/count,2); // float
- },
-
- standardDeviation: function(/* array */values, /* int */len){
- // summary
- // Returns the standard deviation of the set of values.
- return Math.sqrt(this.getVariance(values, len)); // float
- },
-
- max: function(/* array */values, /* int */len){
- // summary
- // Returns the max number in the set of values.
- var range = this.createRange(values, len);
- if(range.index < 0){ return 0; }
- var max = Number.MIN_VALUE;
- for (var i=range.index; i>=range.start; i--){
- max = Math.max(values[i].y,max);
- }
- return max; // float
- },
-
- min: function(/* array */values, /* int */len){
- // summary
- // Returns the lowest number in the set of values.
- var range=this.createRange(values, len);
- if(range.index < 0){ return 0; }
- var min = Number.MAX_VALUE;
- for(var i=range.index; i>=range.start; i--){
- min = Math.min(values[i].y, min);
- }
- return min; // float
- },
-
- median: function(/* array */values, /* int */len){
- // summary
- // Returns the median in the set of values (number closest to the middle of a sorted set).
- var range = this.createRange(values, len);
- if(range.index<0){ return 0; }
- var a = [];
- for (var i=range.index; i>=range.start; i--){
- var b=false;
- for(var j=0; j 0){
- return a[Math.ceil(a.length / 2)]; // float
- }
- return 0; // float
- },
-
- mode: function(/* array */values, /* int */len){
- // summary
- // Returns the mode in the set of values
- var range=this.createRange(values, len);
- if(range.index<0){ return 0; }
- var o = {};
- var ret = 0
- var median = Number.MIN_VALUE;
- for(var i=range.index; i>=range.start; i--){
- if (!o[values[i].y]){
- o[values[i].y] = 1;
- } else {
- o[values[i].y]++;
- }
- }
- for(var p in o){
- if(median < o[p]){
- median = o[p];
- ret=p;
- }
- }
- return ret;
- }
- }
-});
diff --git a/source/web/scripts/ajax/dojo/src/charting/__package__.js b/source/web/scripts/ajax/dojo/src/charting/__package__.js
deleted file mode 100644
index 969c611bb7..0000000000
--- a/source/web/scripts/ajax/dojo/src/charting/__package__.js
+++ /dev/null
@@ -1,11 +0,0 @@
-/*
- Copyright (c) 2004-2006, The Dojo Foundation
- All Rights Reserved.
-
- Licensed under the Academic Free License version 2.1 or above OR the
- modified BSD license. For more information on Dojo licensing, see:
-
- http://dojotoolkit.org/community/licensing.shtml
-*/
-
-dojo.provide("dojo.charting.*");
diff --git a/source/web/scripts/ajax/dojo/src/charting/svg/Axis.js b/source/web/scripts/ajax/dojo/src/charting/svg/Axis.js
deleted file mode 100644
index e16b54328a..0000000000
--- a/source/web/scripts/ajax/dojo/src/charting/svg/Axis.js
+++ /dev/null
@@ -1,226 +0,0 @@
-/*
- Copyright (c) 2004-2006, The Dojo Foundation
- All Rights Reserved.
-
- Licensed under the Academic Free License version 2.1 or above OR the
- modified BSD license. For more information on Dojo licensing, see:
-
- http://dojotoolkit.org/community/licensing.shtml
-*/
-
-dojo.provide("dojo.charting.svg.Axis");
-dojo.require("dojo.lang.common");
-
-if(dojo.render.svg.capable){
- dojo.extend(dojo.charting.Axis, {
- renderLines: function(
- /* dojo.charting.PlotArea */plotArea,
- /* dojo.charting.Plot */plot,
- /* string */plane
- ){
- // summary
- // Renders any reference lines for this axis.
- if(this.nodes.lines){
- while(this.nodes.lines.childNodes.length > 0){
- this.nodes.lines.removeChild(this.nodes.lines.childNodes[0]);
- }
- if(this.nodes.lines.parentNode){
- this.nodes.lines.parentNode.removeChild(this.nodes.lines);
- this.nodes.lines = null;
- }
- }
-
- var area = plotArea.getArea();
- var g = this.nodes.lines = document.createElementNS(dojo.svg.xmlns.svg, "g");
- g.setAttribute("id", this.getId()+"-lines");
- for(var i=0; i 0){
- this.nodes.ticks.removeChild(this.nodes.ticks.childNodes[0]);
- }
- if(this.nodes.ticks.parentNode){
- this.nodes.ticks.parentNode.removeChild(this.nodes.ticks);
- this.nodes.ticks = null;
- }
- }
-
- var g = this.nodes.ticks = document.createElementNS(dojo.svg.xmlns.svg, "g");
- g.setAttribute("id", this.getId()+"-ticks");
- for(var i=0; i 0){
- this.nodes.labels.removeChild(this.nodes.labels.childNodes[0]);
- }
- if(this.nodes.labels.parentNode){
- this.nodes.labels.parentNode.removeChild(this.nodes.labels);
- this.nodes.labels = null;
- }
- }
- var g = this.nodes.labels = document.createElementNS(dojo.svg.xmlns.svg, "g");
- g.setAttribute("id", this.getId()+"-labels");
-
- for(var i=0; i 0){
- x = xOrigin;
- }
-
- var bar=document.createElementNS(dojo.svg.xmlns.svg, "rect");
- bar.setAttribute("fill", data[j][i].series.color);
- bar.setAttribute("stroke-width", "0");
- bar.setAttribute("x", xA);
- bar.setAttribute("y", y);
- bar.setAttribute("width", w);
- bar.setAttribute("height", barH);
- bar.setAttribute("fill-opacity", "0.6");
- if(applyTo){ applyTo(bar, data[j][i].src); }
- group.appendChild(bar);
- }
- }
- return group; // SVGGElement
- },
- Gantt: function(
- /* dojo.charting.PlotArea */plotarea,
- /* dojo.charting.Plot */plot,
- /* object? */kwArgs,
- /* function? */applyTo
- ){
- // summary
- // Plots a grouped set of Gantt bars
- // Bindings: high/low
- var area = plotarea.getArea();
- var group = document.createElementNS(dojo.svg.xmlns.svg, "g");
-
- // precompile the data
- var n = plot.series.length; // how many series
- var data = [];
- for(var i=0; i high){
- var t = high;
- high = low;
- low = t;
- }
- var x = plot.axisX.getCoord(low, plotarea, plot);
- var w = plot.axisX.getCoord(high, plotarea, plot) - x;
- var y = yStart + (barH*j);
-
- var bar=document.createElementNS(dojo.svg.xmlns.svg, "rect");
- bar.setAttribute("fill", data[j][i].series.color);
- bar.setAttribute("stroke-width", "0");
- bar.setAttribute("x", x);
- bar.setAttribute("y", y);
- bar.setAttribute("width", w);
- bar.setAttribute("height", barH);
- bar.setAttribute("fill-opacity", "0.6");
- if(applyTo){ applyTo(bar, data[j][i].src); }
- group.appendChild(bar);
- }
- }
- return group; // SVGGElement
- },
- StackedArea: function(
- /* dojo.charting.PlotArea */plotarea,
- /* dojo.charting.Plot */plot,
- /* object? */kwArgs,
- /* function? */applyTo
- ){
- // summary
- // Plots a set of stacked areas.
- // Bindings: x/y
- var area = plotarea.getArea();
- var group = document.createElementNS(dojo.svg.xmlns.svg, "g");
-
- // precompile the data
- var n = plot.series.length; // how many series
- var data = [];
- var totals = [];
-
- // we're assuming that all series for this plot has the name x assignment for now.
- for(var i=0; i=0; i--){
- var path = document.createElementNS(dojo.svg.xmlns.svg, "path");
- path.setAttribute("fill", data[i][0].series.color);
- path.setAttribute("fill-opacity", "0.4");
- path.setAttribute("stroke", data[i][0].series.color);
- path.setAttribute("stroke-width" , "1");
- path.setAttribute("stroke-opacity", "0.85");
-
- var cmd = [];
- var r=3;
- for(var j=0; j=0; j--){
- var x = plot.axisX.getCoord(values[j].x, plotarea, plot);
- var y = plot.axisY.getCoord(values[j].y, plotarea, plot);
- cmd.push("L");
- cmd.push(x+","+y);
- }
- }
- path.setAttribute("d", cmd.join(" ")+ " Z");
- group.appendChild(path);
- }
- return group; // SVGGElement
- },
- StackedCurvedArea: function(
- /* dojo.charting.PlotArea */plotarea,
- /* dojo.charting.Plot */plot,
- /* object? */kwArgs,
- /* function? */applyTo
- ){
- // summary
- // Plots a set of stacked areas, using a tensioning factor to soften points.
- // Bindings: x/y
- var tension = 3;
- var area = plotarea.getArea();
- var group = document.createElementNS(dojo.svg.xmlns.svg, "g");
-
- // precompile the data
- var n = plot.series.length; // how many series
- var data = [];
- var totals = [];
-
- // we're assuming that all series for this plot has the name x assignment for now.
- for(var i=0; i=0; i--){
- var path = document.createElementNS(dojo.svg.xmlns.svg, "path");
- path.setAttribute("fill", data[i][0].series.color);
- path.setAttribute("fill-opacity", "0.4");
- path.setAttribute("stroke", data[i][0].series.color);
- path.setAttribute("stroke-width" , "1");
- path.setAttribute("stroke-opacity", "0.85");
-
- var cmd = [];
- var r=3;
- for(var j=0; j0){
- dx = x - plot.axisX.getCoord(values[j-1].x, plotarea, plot);
- dy = plot.axisY.getCoord(values[j-1].y, plotarea, plot);
- }
-
- if(j==0){ cmd.push("M"); }
- else {
- cmd.push("C");
- var cx = x-(tension-1) * (dx/tension);
- cmd.push(cx + "," + dy);
- cx = x - (dx/tension);
- cmd.push(cx + "," + y);
- }
- cmd.push(x+","+y);
-
- // points on the line
- var c=document.createElementNS(dojo.svg.xmlns.svg, "circle");
- c.setAttribute("cx",x);
- c.setAttribute("cy",y);
- c.setAttribute("r","3");
- c.setAttribute("fill", values[j].series.color);
- c.setAttribute("fill-opacity", "0.6");
- c.setAttribute("stroke-width", "1");
- c.setAttribute("stroke-opacity", "0.85");
- group.appendChild(c);
- if(applyTo){ applyTo(c, data[i].src); }
- }
-
- // now run the path backwards from the previous series.
- if(i == 0){
- cmd.push("L");
- cmd.push(x + "," + plot.axisY.getCoord(plot.axisX.origin, plotarea, plot));
- cmd.push("L");
- cmd.push(plot.axisX.getCoord(data[0][0].x, plotarea, plot) + "," + plot.axisY.getCoord(plot.axisX.origin, plotarea, plot));
- cmd.push("Z");
- } else {
- var values = data[i-1];
- cmd.push("L");
- cmd.push(x + "," + Math.round(plot.axisY.getCoord(values[values.length-1].y, plotarea, plot)));
- for(var j=values.length-2; j>=0; j--){
- var x = plot.axisX.getCoord(values[j].x, plotarea, plot);
- var y = plot.axisY.getCoord(values[j].y, plotarea, plot);
- var dx = x - plot.axisX.getCoord(values[j+1].x, plotarea, plot);
- var dy = plot.axisY.getCoord(values[j+1].y, plotarea, plot);
-
- cmd.push("C");
- var cx = x-(tension-1) * (dx/tension);
- cmd.push(cx + "," + dy);
- cx = x - (dx/tension);
- cmd.push(cx + "," + y);
- cmd.push(x+","+y);
- }
- }
- path.setAttribute("d", cmd.join(" ")+ " Z");
- group.appendChild(path);
- }
- return group; // SVGGElement
- },
-
- /*********************************************************
- * Single plotters: one series at a time.
- *********************************************************/
- DataBar: function(
- /* array */data,
- /* dojo.charting.PlotArea */plotarea,
- /* dojo.charting.Plot */plot,
- /* function? */applyTo
- ){
- // summary
- // Plots a set of bars in relation to y==0.
- // Bindings: x/y
- var area = plotarea.getArea();
- var group = document.createElementNS(dojo.svg.xmlns.svg, "g");
-
- var n = data.length;
- var w = (area.right-area.left)/(plot.axisX.range.upper - plot.axisX.range.lower); // the width of each group.
- var yOrigin = plot.axisY.getCoord(plot.axisX.origin, plotarea, plot);
-
- for(var i=0; i0){
- dx = x - plot.axisX.getCoord(data[i-1].x, plotarea, plot);
- dy = plot.axisY.getCoord(data[i-1].y, plotarea, plot);
- }
-
- if(i==0){ cmd.push("M"); }
- else {
- cmd.push("C");
- var cx = x-(tension-1) * (dx/tension);
- cmd.push(cx + "," + dy);
- cx = x - (dx/tension);
- cmd.push(cx + "," + y);
- }
- cmd.push(x+","+y);
-
- // points on the line
- var c=document.createElementNS(dojo.svg.xmlns.svg, "circle");
- c.setAttribute("cx",x);
- c.setAttribute("cy",y);
- c.setAttribute("r","3");
- c.setAttribute("fill", data[i].series.color);
- c.setAttribute("fill-opacity", "0.6");
- c.setAttribute("stroke-width", "1");
- c.setAttribute("stroke-opacity", "0.85");
- line.appendChild(c);
- if(applyTo){ applyTo(c, data[i].src); }
- }
- path.setAttribute("d", cmd.join(" "));
- return line; // SVGGElement
- },
- Area: function(
- /* array */data,
- /* dojo.charting.PlotArea */plotarea,
- /* dojo.charting.Plot */plot,
- /* function? */applyTo
- ){
- // summary
- // Plots the series as an area.
- // Bindings: x/y
- var area = plotarea.getArea();
- var line = document.createElementNS(dojo.svg.xmlns.svg, "g");
- var path = document.createElementNS(dojo.svg.xmlns.svg, "path");
- line.appendChild(path);
-
- path.setAttribute("fill", data[0].series.color);
- path.setAttribute("fill-opacity", "0.4");
- path.setAttribute("stroke", data[0].series.color);
- path.setAttribute("stroke-width" , "1");
- path.setAttribute("stroke-opacity", "0.85");
- if(data[0].series.label != null){
- path.setAttribute("title", data[0].series.label);
- }
-
- var cmd=[];
- for(var i=0; i0){
- dx = x - plot.axisX.getCoord(data[i-1].x, plotarea, plot);
- dy = plot.axisY.getCoord(data[i-1].y, plotarea, plot);
- }
-
- if(i==0){ cmd.push("M"); }
- else {
- cmd.push("C");
- var cx = x-(tension-1) * (dx/tension);
- cmd.push(cx + "," + dy);
- cx = x - (dx/tension);
- cmd.push(cx + "," + y);
- }
- cmd.push(x+","+y);
-
- // points on the line
- var c=document.createElementNS(dojo.svg.xmlns.svg, "circle");
- c.setAttribute("cx",x);
- c.setAttribute("cy",y);
- c.setAttribute("r","3");
- c.setAttribute("fill", data[i].series.color);
- c.setAttribute("fill-opacity", "0.6");
- c.setAttribute("stroke-width", "1");
- c.setAttribute("stroke-opacity", "0.85");
- line.appendChild(c);
- if(applyTo){ applyTo(c, data[i].src); }
- }
- // finish it off
- cmd.push("L");
- cmd.push(x + "," + plot.axisY.getCoord(plot.axisX.origin, plotarea, plot));
- cmd.push("L");
- cmd.push(plot.axisX.getCoord(data[0].x, plotarea, plot) + "," + plot.axisY.getCoord(plot.axisX.origin, plotarea, plot));
- cmd.push("Z");
- path.setAttribute("d", cmd.join(" "));
- return line; // SVGGElement
- },
- HighLow: function(
- /* array */data,
- /* dojo.charting.PlotArea */plotarea,
- /* dojo.charting.Plot */plot,
- /* function? */applyTo
- ){
- // summary
- // Plots the series as a set of high/low bars.
- // Bindings: x/high/low
- var area = plotarea.getArea();
- var group = document.createElementNS(dojo.svg.xmlns.svg, "g");
-
- var n = data.length;
- var part = ((area.right-area.left)/(plot.axisX.range.upper - plot.axisX.range.lower))/4;
- var w = part*2;
-
- for(var i=0; i high){
- var t = low;
- low = high;
- high = t;
- }
-
- var x = plot.axisX.getCoord(data[i].x, plotarea, plot) - (w/2);
- var y = plot.axisY.getCoord(high, plotarea, plot);
- var h = plot.axisY.getCoord(low, plotarea, plot)-y;
-
- // high + low
- var bar=document.createElementNS(dojo.svg.xmlns.svg, "rect");
- bar.setAttribute("fill", data[i].series.color);
- bar.setAttribute("stroke-width", "0");
- bar.setAttribute("x", x);
- bar.setAttribute("y", y);
- bar.setAttribute("width", w);
- bar.setAttribute("height", h);
- bar.setAttribute("fill-opacity", "0.6");
- if(applyTo){ applyTo(bar, data[i].src); }
- group.appendChild(bar);
- }
- return group; // SVGGElement
- },
- HighLowClose: function(
- /* array */data,
- /* dojo.charting.PlotArea */plotarea,
- /* dojo.charting.Plot */plot,
- /* function? */applyTo
- ){
- // summary
- // Plots the series as a set of high/low bars with a close indicator.
- // Bindings: x/high/low/close
- var area = plotarea.getArea();
- var group = document.createElementNS(dojo.svg.xmlns.svg, "g");
-
- var n = data.length;
- var part = ((area.right-area.left)/(plot.axisX.range.upper - plot.axisX.range.lower))/4;
- var w = part*2;
-
- for(var i=0; i high){
- var t = low;
- low = high;
- high = t;
- }
- var c = data[i].close;
-
- var x = plot.axisX.getCoord(data[i].x, plotarea, plot) - (w/2);
- var y = plot.axisY.getCoord(high, plotarea, plot);
- var h = plot.axisY.getCoord(low, plotarea, plot)-y;
- var close = plot.axisY.getCoord(c, plotarea, plot);
-
- var g = document.createElementNS(dojo.svg.xmlns.svg, "g");
-
- // high + low
- var bar=document.createElementNS(dojo.svg.xmlns.svg, "rect");
- bar.setAttribute("fill", data[i].series.color);
- bar.setAttribute("stroke-width", "0");
- bar.setAttribute("x", x);
- bar.setAttribute("y", y);
- bar.setAttribute("width", w);
- bar.setAttribute("height", h);
- bar.setAttribute("fill-opacity", "0.6");
- g.appendChild(bar);
-
- // close
- var line=document.createElementNS(dojo.svg.xmlns.svg, "line");
- line.setAttribute("x1", x);
- line.setAttribute("x2", x+w+(part*2));
- line.setAttribute("y1", close);
- line.setAttribute("y2", close);
- line.setAttribute("style", "stroke:"+data[i].series.color+";stroke-width:1px;stroke-opacity:0.6;");
- g.appendChild(line);
-
- if(applyTo){ applyTo(g, data[i].src); }
- group.appendChild(g);
- }
- return group; // SVGGElement
- },
- HighLowOpenClose: function(
- /* array */data,
- /* dojo.charting.PlotArea */plotarea,
- /* dojo.charting.Plot */plot,
- /* function? */applyTo
- ){
- // summary
- // Plots the series as a set of high/low bars with open and close indicators.
- // Bindings: x/high/low/open/close
- var area = plotarea.getArea();
- var group = document.createElementNS(dojo.svg.xmlns.svg, "g");
-
- var n = data.length;
- var part = ((area.right-area.left)/(plot.axisX.range.upper - plot.axisX.range.lower))/4;
- var w = part*2;
-
- for(var i=0; i high){
- var t = low;
- low = high;
- high = t;
- }
- var o = data[i].open;
- var c = data[i].close;
-
- var x = plot.axisX.getCoord(data[i].x, plotarea, plot) - (w/2);
- var y = plot.axisY.getCoord(high, plotarea, plot);
- var h = plot.axisY.getCoord(low, plotarea, plot)-y;
- var open = plot.axisY.getCoord(o, plotarea, plot);
- var close = plot.axisY.getCoord(c, plotarea, plot);
-
- var g = document.createElementNS(dojo.svg.xmlns.svg, "g");
-
- // high + low
- var bar=document.createElementNS(dojo.svg.xmlns.svg, "rect");
- bar.setAttribute("fill", data[i].series.color);
- bar.setAttribute("stroke-width", "0");
- bar.setAttribute("x", x);
- bar.setAttribute("y", y);
- bar.setAttribute("width", w);
- bar.setAttribute("height", h);
- bar.setAttribute("fill-opacity", "0.6");
- g.appendChild(bar);
-
- // open
- var line=document.createElementNS(dojo.svg.xmlns.svg, "line");
- line.setAttribute("x1", x-(part*2));
- line.setAttribute("x2", x+w);
- line.setAttribute("y1", open);
- line.setAttribute("y2", open);
- line.setAttribute("style", "stroke:"+data[i].series.color+";stroke-width:1px;stroke-opacity:0.6;");
- g.appendChild(line);
-
- // close
- var line=document.createElementNS(dojo.svg.xmlns.svg, "line");
- line.setAttribute("x1", x);
- line.setAttribute("x2", x+w+(part*2));
- line.setAttribute("y1", close);
- line.setAttribute("y2", close);
- line.setAttribute("style", "stroke:"+data[i].series.color+";stroke-width:1px;stroke-opacity:0.6;");
- g.appendChild(line);
-
- if(applyTo){ applyTo(g, data[i].src); }
- group.appendChild(g);
- }
- return group; // SVGGElement
- },
- Scatter: function(
- /* array */data,
- /* dojo.charting.PlotArea */plotarea,
- /* dojo.charting.Plot */plot,
- /* function? */applyTo
- ){
- // summary
- // Plots the series as a set of points.
- // Bindings: x/y
- var r=7;
- var group = document.createElementNS(dojo.svg.xmlns.svg, "g");
- for (var i=0; i 0){
- this.nodes.lines.removeChild(this.nodes.lines.childNodes[0]);
- }
- if(this.nodes.lines.parentNode){
- this.nodes.lines.parentNode.removeChild(this.nodes.lines);
- this.nodes.lines = null;
- }
- }
-
- var area = plotArea.getArea();
- var g = this.nodes.lines = document.createElement("div");
- g.setAttribute("id", this.getId()+"-lines");
- for(var i=0; i 0){
- this.nodes.ticks.removeChild(this.nodes.ticks.childNodes[0]);
- }
- if(this.nodes.ticks.parentNode){
- this.nodes.ticks.parentNode.removeChild(this.nodes.ticks);
- this.nodes.ticks = null;
- }
- }
-
- var g = this.nodes.ticks = document.createElement("div");
- g.setAttribute("id", this.getId()+"-ticks");
- for(var i=0; i 0){
- this.nodes.labels.removeChild(this.nodes.labels.childNodes[0]);
- }
- if(this.nodes.labels.parentNode){
- this.nodes.labels.parentNode.removeChild(this.nodes.labels);
- this.nodes.labels = null;
- }
- }
- var g = this.nodes.labels = document.createElement("div");
- g.setAttribute("id", this.getId()+"-labels");
-
- for(var i=0; i 0){
- x = xOrigin;
- }
-
- var bar=document.createElement("v:rect");
- bar.style.position="absolute";
- bar.style.top=y+1+"px";
- bar.style.left=xA+"px";
- bar.style.width=w+"px";
- bar.style.height=barH+"px";
- bar.setAttribute("fillColor", data[j][i].series.color);
- bar.setAttribute("stroked", "false");
- bar.style.antialias="false";
- var fill=document.createElement("v:fill");
- fill.setAttribute("opacity", "0.6");
- bar.appendChild(fill);
- if(applyTo){ applyTo(bar, data[j][i].src); }
- group.appendChild(bar);
- }
- }
-
- // calculate the width of each bar.
- var space = 4;
- var n = plot.series.length;
- var h = ((area.bottom-area.top)-(space*(n-1)))/n;
- var xOrigin = plot.axisX.getCoord(0, plotarea, plot);
- for(var i=0; i 0){
- xA = x;
- x = xOrigin;
- }
-
- }
- return group; // HTMLDivElement
- },
- Gantt: function(
- /* dojo.charting.PlotArea */plotarea,
- /* dojo.charting.Plot */plot,
- /* object? */kwArgs,
- /* function? */applyTo
- ){
- // summary
- // Plots a grouped set of Gantt bars
- // Bindings: high/low
- var area = plotarea.getArea();
- var group = dojo.charting.Plotters._group(plotarea);
-
- // precompile the data
- var n = plot.series.length; // how many series
- var data = [];
- for(var i=0; i high){
- var t = high;
- high = low;
- low = t;
- }
- var x = plot.axisX.getCoord(low, plotarea, plot);
- var w = plot.axisX.getCoord(high, plotarea, plot) - x;
- var y = yStart + (barH*j);
-
- var bar=document.createElement("v:rect");
- bar.style.position="absolute";
- bar.style.top=y+1+"px";
- bar.style.left=x+"px";
- bar.style.width=w+"px";
- bar.style.height=barH+"px";
- bar.setAttribute("fillColor", data[j][i].series.color);
- bar.setAttribute("stroked", "false");
- bar.style.antialias="false";
- var fill=document.createElement("v:fill");
- fill.setAttribute("opacity", "0.6");
- bar.appendChild(fill);
- if(applyTo){ applyTo(bar, data[j][i].src); }
- group.appendChild(bar);
- }
- }
- return group; // HTMLDivElement
- },
- StackedArea: function(
- /* dojo.charting.PlotArea */plotarea,
- /* dojo.charting.Plot */plot,
- /* object? */kwArgs,
- /* function? */applyTo
- ){
- // summary
- // Plots a set of stacked areas.
- // Bindings: x/y
- var area = plotarea.getArea();
- var group = dojo.charting.Plotters._group(plotarea);
-
- // precompile the data
- var n = plot.series.length; // how many series
- var data = [];
- var totals = [];
-
- // we're assuming that all series for this plot has the name x assignment for now.
- for(var i=0; i=0; i--){
- var path=document.createElement("v:shape");
- path.setAttribute("strokeweight", "1px");
- path.setAttribute("strokecolor", data[i][0].series.color);
- path.setAttribute("fillcolor", data[i][0].series.color);
- path.setAttribute("coordsize", (area.right-area.left) + "," + (area.bottom-area.top));
- path.style.position="absolute";
- path.style.top="0px";
- path.style.left="0px";
- path.style.width=area.right-area.left+"px";
- path.style.height=area.bottom-area.top+"px";
- var stroke=document.createElement("v:stroke");
- stroke.setAttribute("opacity", "0.8");
- path.appendChild(stroke);
- var fill=document.createElement("v:fill");
- fill.setAttribute("opacity", "0.4");
- path.appendChild(fill);
-
- var cmd = [];
- var r=3;
- for(var j=0; j=0; j--){
- var x = Math.round(plot.axisX.getCoord(values[j].x, plotarea, plot));
- var y = Math.round(plot.axisY.getCoord(values[j].y, plotarea, plot));
-
- cmd.push("l");
- cmd.push(x+","+y);
- }
- }
- path.setAttribute("path", cmd.join(" ")+" x e");
- group.appendChild(path);
- }
- return group; // HTMLDivElement
- },
- StackedCurvedArea: function(
- /* dojo.charting.PlotArea */plotarea,
- /* dojo.charting.Plot */plot,
- /* object? */kwArgs,
- /* function? */applyTo
- ){
- // summary
- // Plots a set of stacked areas, using a tensioning factor to soften points.
- // Bindings: x/y
- var tension = 3;
- var area = plotarea.getArea();
- var group = dojo.charting.Plotters._group(plotarea);
-
- // precompile the data
- var n = plot.series.length; // how many series
- var data = [];
- var totals = [];
-
- // we're assuming that all series for this plot has the name x assignment for now.
- for(var i=0; i=0; i--){
- var path=document.createElement("v:shape");
- path.setAttribute("strokeweight", "1px");
- path.setAttribute("strokecolor", data[i][0].series.color);
- path.setAttribute("fillcolor", data[i][0].series.color);
- path.setAttribute("coordsize", (area.right-area.left) + "," + (area.bottom-area.top));
- path.style.position="absolute";
- path.style.top="0px";
- path.style.left="0px";
- path.style.width=area.right-area.left+"px";
- path.style.height=area.bottom-area.top+"px";
- var stroke=document.createElement("v:stroke");
- stroke.setAttribute("opacity", "0.8");
- path.appendChild(stroke);
- var fill=document.createElement("v:fill");
- fill.setAttribute("opacity", "0.4");
- path.appendChild(fill);
-
- var cmd = [];
- var r=3;
- for(var j=0; j=0; j--){
- var x = Math.round(plot.axisX.getCoord(values[j].x, plotarea, plot));
- var y = Math.round(plot.axisY.getCoord(values[j].y, plotarea, plot));
-
- var lastx = Math.round(plot.axisX.getCoord(values[j+1].x, plotarea, plot));
- var lasty = Math.round(plot.axisY.getCoord(values[j+1].y, plotarea, plot));
- var dx=x-lastx;
- var dy=y-lasty;
-
- cmd.push("c");
- var cx=Math.round((x-(tension-1)*(dx/tension)));
- cmd.push(cx+","+lasty);
- cx=Math.round((x-(dx/tension)));
- cmd.push(cx+","+y);
- cmd.push(x+","+y);
- }
- }
- path.setAttribute("path", cmd.join(" ")+" x e");
- group.appendChild(path);
- }
- return group; // HTMLDivElement
- },
-
- /*********************************************************
- * Single plotters: one series at a time.
- *********************************************************/
- DataBar: function(
- /* array */data,
- /* dojo.charting.PlotArea */plotarea,
- /* dojo.charting.Plot */plot,
- /* function? */applyTo
- ){
- // summary
- // Plots a set of bars in relation to y==0.
- // Bindings: x/y
- var area = plotarea.getArea();
- var group = dojo.charting.Plotters._group(plotarea);
-
- var n = data.length;
- var w = (area.right-area.left)/(plot.axisX.range.upper - plot.axisX.range.lower); // the width of each group.
- var yOrigin = plot.axisY.getCoord(plot.axisX.origin, plotarea, plot);
-
- for(var i=0; i high){
- var t = low;
- low = high;
- high = t;
- }
-
- var x = plot.axisX.getCoord(data[i].x, plotarea, plot) - (w/2);
- var y = plot.axisY.getCoord(high, plotarea, plot);
- var h = plot.axisY.getCoord(low, plotarea, plot)-y;
-
- // high + low
- var bar=document.createElement("v:rect");
- bar.style.position="absolute";
- bar.style.top=y+1+"px";
- bar.style.left=x+"px";
- bar.style.width=w+"px";
- bar.style.height=h+"px";
- bar.setAttribute("fillColor", data[i].series.color);
- bar.setAttribute("stroked", "false");
- bar.style.antialias="false";
- var fill=document.createElement("v:fill");
- fill.setAttribute("opacity", "0.6");
- bar.appendChild(fill);
- if(applyTo){ applyTo(bar, data[i].src); }
- group.appendChild(bar);
- }
- return group; // HTMLDivElement
- },
- HighLowClose: function(
- /* array */data,
- /* dojo.charting.PlotArea */plotarea,
- /* dojo.charting.Plot */plot,
- /* function? */applyTo
- ){
- // summary
- // Plots the series as a set of high/low bars with a close indicator.
- // Bindings: x/high/low/close
- var area = plotarea.getArea();
- var group = dojo.charting.Plotters._group(plotarea);
-
- var n = data.length;
- var part = ((area.right-area.left)/(plot.axisX.range.upper - plot.axisX.range.lower))/4;
- var w = part*2;
-
- for(var i=0; i high){
- var t = low;
- low = high;
- high = t;
- }
- var c = data[i].close;
-
- var x = plot.axisX.getCoord(data[i].x, plotarea, plot) - (w/2);
- var y = plot.axisY.getCoord(high, plotarea, plot);
- var h = plot.axisY.getCoord(low, plotarea, plot)-y;
- var close = plot.axisY.getCoord(c, plotarea, plot);
-
- var g = document.createElement("div");
-
- // high + low
- var bar=document.createElement("v:rect");
- bar.style.position="absolute";
- bar.style.top=y+1+"px";
- bar.style.left=x+"px";
- bar.style.width=w+"px";
- bar.style.height=h+"px";
- bar.setAttribute("fillColor", data[i].series.color);
- bar.setAttribute("stroked", "false");
- bar.style.antialias="false";
- var fill=document.createElement("v:fill");
- fill.setAttribute("opacity", "0.6");
- bar.appendChild(fill);
- g.appendChild(bar);
-
- var line = document.createElement("v:line");
- line.setAttribute("strokecolor", data[i].series.color);
- line.setAttribute("strokeweight", "1px");
- line.setAttribute("from", x+"px,"+close+"px");
- line.setAttribute("to", (x+w+(part*2)-2)+"px,"+close+"px");
- var s=line.style;
- s.position="absolute";
- s.top="0px";
- s.left="0px";
- s.antialias="false";
- var str=document.createElement("v:stroke");
- str.setAttribute("opacity","0.6");
- line.appendChild(str);
- g.appendChild(line);
-
- if(applyTo){ applyTo(g, data[i].src); }
- group.appendChild(g);
- }
- return group; // HTMLDivElement
- },
- HighLowOpenClose: function(
- /* array */data,
- /* dojo.charting.PlotArea */plotarea,
- /* dojo.charting.Plot */plot,
- /* function? */applyTo
- ){
- // summary
- // Plots the series as a set of high/low bars with open and close indicators.
- // Bindings: x/high/low/open/close
- var area = plotarea.getArea();
- var group = dojo.charting.Plotters._group(plotarea);
-
- var n = data.length;
- var part = ((area.right-area.left)/(plot.axisX.range.upper - plot.axisX.range.lower))/4;
- var w = part*2;
-
- for(var i=0; i high){
- var t = low;
- low = high;
- high = t;
- }
- var o = data[i].open;
- var c = data[i].close;
-
- var x = plot.axisX.getCoord(data[i].x, plotarea, plot) - (w/2);
- var y = plot.axisY.getCoord(high, plotarea, plot);
- var h = plot.axisY.getCoord(low, plotarea, plot)-y;
- var open = plot.axisY.getCoord(o, plotarea, plot);
- var close = plot.axisY.getCoord(c, plotarea, plot);
-
- var g = document.createElement("div");
-
- // high + low
- var bar=document.createElement("v:rect");
- bar.style.position="absolute";
- bar.style.top=y+1+"px";
- bar.style.left=x+"px";
- bar.style.width=w+"px";
- bar.style.height=h+"px";
- bar.setAttribute("fillColor", data[i].series.color);
- bar.setAttribute("stroked", "false");
- bar.style.antialias="false";
- var fill=document.createElement("v:fill");
- fill.setAttribute("opacity", "0.6");
- bar.appendChild(fill);
- g.appendChild(bar);
-
- var line = document.createElement("v:line");
- line.setAttribute("strokecolor", data[i].series.color);
- line.setAttribute("strokeweight", "1px");
- line.setAttribute("from", (x-(part*2))+"px,"+open+"px");
- line.setAttribute("to", (x+w-2)+"px,"+open+"px");
- var s=line.style;
- s.position="absolute";
- s.top="0px";
- s.left="0px";
- s.antialias="false";
- var str=document.createElement("v:stroke");
- str.setAttribute("opacity","0.6");
- line.appendChild(str);
- g.appendChild(line);
-
- var line = document.createElement("v:line");
- line.setAttribute("strokecolor", data[i].series.color);
- line.setAttribute("strokeweight", "1px");
- line.setAttribute("from", x+"px,"+close+"px");
- line.setAttribute("to", (x+w+(part*2)-2)+"px,"+close+"px");
- var s=line.style;
- s.position="absolute";
- s.top="0px";
- s.left="0px";
- s.antialias="false";
- var str=document.createElement("v:stroke");
- str.setAttribute("opacity","0.6");
- line.appendChild(str);
- g.appendChild(line);
-
- if(applyTo){ applyTo(g, data[i].src); }
- group.appendChild(g);
- }
- return group; // HTMLDivElement
- },
- Scatter: function(
- /* array */data,
- /* dojo.charting.PlotArea */plotarea,
- /* dojo.charting.Plot */plot,
- /* function? */applyTo
- ){
- // summary
- // Plots the series as a set of points.
- // Bindings: x/y
- var r=6;
- var mod=r/2;
-
- var area = plotarea.getArea();
- var group = dojo.charting.Plotters._group(plotarea);
-
- for(var i=0; i=0) {
- items.splice(i,1);
- }
- this.count=items.length;
- };
- this.removeAt=function(/* int */ i){
- // summary
- // return an array with function applied to all elements
- items.splice(i,1);
- this.count=items.length;
- };
- this.reverse=function(){
- // summary
- // Reverse the internal array
- items.reverse();
- };
- this.sort=function(/* function? */ fn){
- // summary
- // sort the internal array
- if(fn){
- items.sort(fn);
- }else{
- items.sort();
- }
- };
- this.setByIndex=function(/* int */ i, /* object */ obj){
- // summary
- // Set an element in the array by the passed index.
- items[i]=obj;
- this.count=items.length;
- };
- this.toArray=function(){
- // summary
- // Return a new array with all of the items of the internal array concatenated.
- return [].concat(items);
- }
- this.toString=function(/* string */ delim){
- // summary
- // implementation of toString, follows [].toString();
- return items.join((delim||","));
- };
-};
diff --git a/source/web/scripts/ajax/dojo/src/collections/BinaryTree.js b/source/web/scripts/ajax/dojo/src/collections/BinaryTree.js
deleted file mode 100644
index 445e1059b1..0000000000
--- a/source/web/scripts/ajax/dojo/src/collections/BinaryTree.js
+++ /dev/null
@@ -1,203 +0,0 @@
-/*
- Copyright (c) 2004-2006, The Dojo Foundation
- All Rights Reserved.
-
- Licensed under the Academic Free License version 2.1 or above OR the
- modified BSD license. For more information on Dojo licensing, see:
-
- http://dojotoolkit.org/community/licensing.shtml
-*/
-
-dojo.provide("dojo.collections.BinaryTree");
-dojo.require("dojo.collections.Collections");
-dojo.require("dojo.experimental");
-
-dojo.experimental("dojo.collections.BinaryTree");
-
-dojo.collections.BinaryTree=function(data){
- function node(data, rnode, lnode){
- this.value=data||null;
- this.right=rnode||null;
- this.left=lnode||null;
- this.clone=function(){
- var c=new node();
- if (this.value.value) c.value=this.value.clone();
- else c.value=this.value;
- if (this.left) c.left=this.left.clone();
- if (this.right) c.right=this.right.clone();
- }
- this.compare=function(n){
- if (this.value > n.value) return 1;
- if (this.value < n.value) return -1;
- return 0;
- }
- this.compareData=function(d){
- if (this.value > d) return 1;
- if (this.value < d) return -1;
- return 0;
- }
- }
-
- function inorderTraversalBuildup(current, a){
- if (current){
- inorderTraversalBuildup(current.left, a);
- a.add(current);
- inorderTraversalBuildup(current.right, a);
- }
- }
-
- function preorderTraversal(current, sep){
- var s="";
- if (current){
- s=current.value.toString() + sep;
- s += preorderTraversal(current.left, sep);
- s += preorderTraversal(current.right, sep);
- }
- return s;
- }
- function inorderTraversal(current, sep){
- var s="";
- if (current){
- s=inorderTraversal(current.left, sep);
- s += current.value.toString() + sep;
- s += inorderTraversal(current.right, sep);
- }
- return s;
- }
- function postorderTraversal(current, sep){
- var s="";
- if (current){
- s=postorderTraversal(current.left, sep);
- s += postorderTraversal(current.right, sep);
- s += current.value.toString() + sep;
- }
- return s;
- }
-
- function searchHelper(current, data){
- if (!current) return null;
- var i=current.compareData(data);
- if (i==0) return current;
- if (i>0) return searchHelper(current.left, data);
- else return searchHelper(current.right, data);
- }
-
- this.add=function(data){
- var n=new node(data);
- var i;
- var current=root;
- var parent=null;
- while (current){
- i=current.compare(n);
- if (i == 0) return;
- parent=current;
- if (i > 0) current=current.left;
- else current=current.right;
- }
- this.count++;
- if (!parent) root=n;
- else {
- i=parent.compare(n);
- if (i > 0) parent.left=n;
- else parent.right=n;
- }
- };
- this.clear=function(){
- root=null;
- this.count=0;
- };
- this.clone=function(){
- var c=new dojo.collections.BinaryTree();
- c.root=root.clone();
- c.count=this.count;
- return c;
- };
- this.contains=function(data){
- return this.search(data) != null;
- };
- this.deleteData=function(data){
- var current=root;
- var parent=null;
- var i=current.compareData(data);
- while (i != 0 && current != null){
- if (i > 0){
- parent=current;
- current=current.left;
- } else if (i < 0) {
- parent=current;
- current=current.right;
- }
- i=current.compareData(data);
- }
- if (!current) return;
- this.count--;
- if (!current.right) {
- if (!parent) root=current.left;
- else {
- i=parent.compare(current);
- if (i > 0) parent.left=current.left;
- else if (i < 0) parent.right=current.left;
- }
- } else if (!current.right.left){
- if (!parent) root=current.right;
- else {
- i=parent.compare(current);
- if (i > 0) parent.left=current.right;
- else if (i < 0) parent.right=current.right;
- }
- } else {
- var leftmost=current.right.left;
- var lmParent=current.right;
- while (leftmost.left != null){
- lmParent=leftmost;
- leftmost=leftmost.left;
- }
- lmParent.left=leftmost.right;
- leftmost.left=current.left;
- leftmost.right=current.right;
- if (!parent) root=leftmost;
- else {
- i=parent.compare(current);
- if (i > 0) parent.left=leftmost;
- else if (i < 0) parent.right=leftmost;
- }
- }
- };
- this.getIterator=function(){
- var a=[];
- inorderTraversalBuildup(root, a);
- return new dojo.collections.Iterator(a);
- };
- this.search=function(data){
- return searchHelper(root, data);
- };
- this.toString=function(order, sep){
- if (!order) var order=dojo.collections.BinaryTree.TraversalMethods.Inorder;
- if (!sep) var sep=" ";
- var s="";
- switch (order){
- case dojo.collections.BinaryTree.TraversalMethods.Preorder:
- s=preorderTraversal(root, sep);
- break;
- case dojo.collections.BinaryTree.TraversalMethods.Inorder:
- s=inorderTraversal(root, sep);
- break;
- case dojo.collections.BinaryTree.TraversalMethods.Postorder:
- s=postorderTraversal(root, sep);
- break;
- };
- if (s.length == 0) return "";
- else return s.substring(0, s.length - sep.length);
- };
-
- this.count=0;
- var root=this.root=null;
- if (data) {
- this.add(data);
- }
-}
-dojo.collections.BinaryTree.TraversalMethods={
- Preorder : 1,
- Inorder : 2,
- Postorder : 3
-};
diff --git a/source/web/scripts/ajax/dojo/src/collections/Collections.js b/source/web/scripts/ajax/dojo/src/collections/Collections.js
deleted file mode 100644
index 6c1cf628fb..0000000000
--- a/source/web/scripts/ajax/dojo/src/collections/Collections.js
+++ /dev/null
@@ -1,124 +0,0 @@
-/*
- Copyright (c) 2004-2006, The Dojo Foundation
- All Rights Reserved.
-
- Licensed under the Academic Free License version 2.1 or above OR the
- modified BSD license. For more information on Dojo licensing, see:
-
- http://dojotoolkit.org/community/licensing.shtml
-*/
-
-dojo.provide("dojo.collections.Collections");
-
-dojo.collections.DictionaryEntry=function(/* string */k, /* object */v){
- // summary
- // return an object of type dojo.collections.DictionaryEntry
- this.key=k;
- this.value=v;
- this.valueOf=function(){
- return this.value; // object
- };
- this.toString=function(){
- return String(this.value); // string
- };
-}
-
-/* Iterators
- * The collections.Iterators (Iterator and DictionaryIterator) are built to
- * work with the Collections included in this module. However, they *can*
- * be used with arrays and objects, respectively, should one choose to do so.
- */
-dojo.collections.Iterator=function(/* array */arr){
- // summary
- // return an object of type dojo.collections.Iterator
- var a=arr;
- var position=0;
- this.element=a[position]||null;
- this.atEnd=function(){
- // summary
- // Test to see if the internal cursor has reached the end of the internal collection.
- return (position>=a.length); // bool
- };
- this.get=function(){
- // summary
- // Test to see if the internal cursor has reached the end of the internal collection.
- if(this.atEnd()){
- return null; // object
- }
- this.element=a[position++];
- return this.element; // object
- };
- this.map=function(/* function */fn, /* object? */scope){
- // summary
- // Functional iteration with optional scope.
- var s=scope||dj_global;
- if(Array.map){
- return Array.map(a,fn,s); // array
- }else{
- var arr=[];
- for(var i=0; i=a.length); // bool
- };
- this.get=function(){
- // summary
- // Test to see if the internal cursor has reached the end of the internal collection.
- if(this.atEnd()){
- return null; // object
- }
- this.element=a[position++];
- return this.element; // object
- };
- this.map=function(/* function */fn, /* object? */scope){
- // summary
- // Functional iteration with optional scope.
- var s=scope||dj_global;
- if(Array.map){
- return Array.map(a,fn,s); // array
- }else{
- var arr=[];
- for(var i=0; i=o.length);
- }
- this.get=function(){
- if(this.atEnd()){
- return null; // object
- }
- this.element=o[position++];
- return this.element; // object
- };
- this.map=function(/* function */fn, /* object? */scope){
- var s=scope||dj_global;
- if(Array.map){
- return Array.map(o,fn,s); // array
- }else{
- var arr=[];
- for(var i=0; i 1){
- n=new node(arguments[0],arguments[1]);
- }
- if(!this.nodes.containsKey(n.key)){
- this.nodes.add(n);
- this.count++;
- }
- };
- this.addDirectedEdge=function(uKey, vKey, cost){
- var uNode,vNode;
- if(uKey.constructor!= node){
- uNode=this.nodes.item(uKey);
- vNode=this.nodes.item(vKey);
- }else{
- uNode=uKey;
- vNode=vKey;
- }
- var c=cost||0;
- uNode.addDirected(vNode,c);
- };
- this.addUndirectedEdge=function(uKey, vKey, cost){
- var uNode, vNode;
- if(uKey.constructor!=node){
- uNode=this.nodes.item(uKey);
- vNode=this.nodes.item(vKey);
- }else{
- uNode=uKey;
- vNode=vKey;
- }
- var c=cost||0;
- uNode.addDirected(vNode,c);
- vNode.addDirected(uNode,c);
- };
- this.contains=function(n){
- return this.nodes.containsKey(n.key);
- };
- this.containsKey=function(k){
- return this.nodes.containsKey(k);
- };
-}
diff --git a/source/web/scripts/ajax/dojo/src/collections/Queue.js b/source/web/scripts/ajax/dojo/src/collections/Queue.js
deleted file mode 100644
index 739259b13d..0000000000
--- a/source/web/scripts/ajax/dojo/src/collections/Queue.js
+++ /dev/null
@@ -1,87 +0,0 @@
-/*
- Copyright (c) 2004-2006, The Dojo Foundation
- All Rights Reserved.
-
- Licensed under the Academic Free License version 2.1 or above OR the
- modified BSD license. For more information on Dojo licensing, see:
-
- http://dojotoolkit.org/community/licensing.shtml
-*/
-
-dojo.provide("dojo.collections.Queue");
-dojo.require("dojo.collections.Collections");
-
-dojo.collections.Queue=function(/* array? */arr){
- // summary
- // return an object of type dojo.collections.Queue
- var q=[];
- if (arr){
- q=q.concat(arr);
- }
- this.count=q.length;
- this.clear=function(){
- // summary
- // clears the internal collection
- q=[];
- this.count=q.length;
- };
- this.clone=function(){
- // summary
- // creates a new Queue based on this one
- return new dojo.collections.Queue(q); // dojo.collections.Queue
- };
- this.contains=function(/* object */ o){
- // summary
- // Check to see if the passed object is an element in this queue
- for(var i=0; i val) return 1;
- if (this.value < val) return -1;
- return 0;
- }
- this.incrementHeight = function(){
- this.nodes.incrementHeight();
- this.height++;
- };
- this.decrementHeight = function(){
- this.nodes.decrementHeight();
- this.height--;
- };
- }
- function nodeList(height){
- var arr = [];
- this.height = height;
- for (var i = 0; i < height; i++) arr[i] = null;
- this.item = function(i){
- return arr[i];
- };
- this.incrementHeight = function(){
- this.height++;
- arr[this.height] = null;
- };
- this.decrementHeight = function(){
- arr.splice(arr.length - 1, 1);
- this.height--;
- };
- }
- function iterator(list){
- this.element = list.head;
- this.atEnd = function(){
- return (this.element==null);
- }
- this.get = function(){
- if(this.atEnd()){
- return null;
- }
- this.element=this.element.nodes[0];
- return this.element;
- }
- this.reset = function(){
- this.element = list.head;
- }
- }
-
- function chooseRandomHeight(max){
- var level = 1;
- while (Math.random() < PROB && level < max) level++;
- return level;
- }
-
- var PROB = 0.5;
- var comparisons = 0;
-
- this.head = new node(1);
- this.count = 0;
- this.add = function(val){
- var updates = [];
- var current = this.head;
- for (var i = this.head.height; i >= 0; i--){
- if (!(current.nodes[i] != null && current.nodes[i].compare(val) < 0)) comparisons++;
- while (current.nodes[i] != null && current.nodes[i].compare(val) < 0){
- current = current.nodes[i];
- comparisons++;
- }
- updates[i] = current;
- }
- if (current.nodes[0] != null && current.nodes[0].compare(val) == 0) return;
- var n = new node(val, chooseRandomHeight(this.head.height + 1));
- this.count++;
- if (n.height > this.head.height){
- this.head.incrementHeight();
- this.head.nodes[this.head.height - 1] = n;
- }
- for (i = 0; i < n.height; i++){
- if (i < updates.length) {
- n.nodes[i] = updates[i].nodes[i];
- updates[i].nodes[i] = n;
- }
- }
- };
-
- this.contains = function(val){
- var current = this.head;
- var i;
- for (i = this.head.height - 1; i >= 0; i--) {
- while (current.item(i) != null) {
- comparisons++;
- var result = current.nodes[i].compare(val);
- if (result == 0) return true;
- else if (result < 0) current = current.nodes[i];
- else break;
- }
- }
- return false;
- };
- this.getIterator = function(){
- return new iterator(this);
- };
-
- this.remove = function(val){
- var updates = [];
- var current = this.head;
- for (var i = this.head.height - 1; i >= 0; i--){
- if (!(current.nodes[i] != null && current.nodes[i].compare(val) < 0)) comparisons++;
- while (current.nodes[i] != null && current.nodes[i].compare(val) < 0) {
- current = current.nodes[i];
- comparisons++;
- }
- updates[i] = current;
- }
-
- current = current.nodes[0];
- if (current != null && current.compare(val) == 0){
- this.count--;
- for (var i = 0; i < this.head.height; i++){
- if (updates[i].nodes[i] != current) break;
- else updates[i].nodes[i] = current.nodes[i];
- }
- if (this.head.nodes[this.head.height - 1] == null) this.head.decrementHeight();
- }
- };
- this.resetComparisons = function(){
- comparisons = 0;
- };
-}
diff --git a/source/web/scripts/ajax/dojo/src/collections/SortedList.js b/source/web/scripts/ajax/dojo/src/collections/SortedList.js
deleted file mode 100644
index 0ba84da63e..0000000000
--- a/source/web/scripts/ajax/dojo/src/collections/SortedList.js
+++ /dev/null
@@ -1,211 +0,0 @@
-/*
- Copyright (c) 2004-2006, The Dojo Foundation
- All Rights Reserved.
-
- Licensed under the Academic Free License version 2.1 or above OR the
- modified BSD license. For more information on Dojo licensing, see:
-
- http://dojotoolkit.org/community/licensing.shtml
-*/
-
-dojo.provide("dojo.collections.SortedList");
-dojo.require("dojo.collections.Collections");
-
-dojo.collections.SortedList=function(/* object? */ dictionary){
- // summary
- // creates a collection that acts like a dictionary but is also internally sorted.
- // Note that the act of adding any elements forces an internal resort, making this object potentially slow.
- var _this=this;
- var items={};
- var q=[];
- var sorter=function(a,b){
- if (a.key > b.key) return 1;
- if (a.key < b.key) return -1;
- return 0;
- };
- var build=function(){
- q=[];
- var e=_this.getIterator();
- while (!e.atEnd()){
- q.push(e.get());
- }
- q.sort(sorter);
- };
- var testObject={};
-
- this.count=q.length;
- this.add=function(/* string */ k,/* object */v){
- // summary
- // add the passed value to the dictionary at location k
- if (!items[k]) {
- items[k]=new dojo.collections.DictionaryEntry(k,v);
- this.count=q.push(items[k]);
- q.sort(sorter);
- }
- };
- this.clear=function(){
- // summary
- // clear the internal collections
- items={};
- q=[];
- this.count=q.length;
- };
- this.clone=function(){
- // summary
- // create a clone of this sorted list
- return new dojo.collections.SortedList(this); // dojo.collections.SortedList
- };
- this.contains=this.containsKey=function(/* string */ k){
- // summary
- // Check to see if the list has a location k
- if(testObject[k]){
- return false; // bool
- }
- return (items[k]!=null); // bool
- };
- this.containsValue=function(/* object */ o){
- // summary
- // Check to see if this list contains the passed object
- var e=this.getIterator();
- while (!e.atEnd()){
- var item=e.get();
- if(item.value==o){
- return true; // bool
- }
- }
- return false; // bool
- };
- this.copyTo=function(/* array */ arr, /* int */ i){
- // summary
- // copy the contents of the list into array arr at index i
- var e=this.getIterator();
- var idx=i;
- while(!e.atEnd()){
- arr.splice(idx,0,e.get());
- idx++;
- }
- };
- this.entry=function(/* string */ k){
- // summary
- // return the object at location k
- return items[k]; // dojo.collections.DictionaryEntry
- };
- this.forEach=function(/* function */ fn, /* object? */ scope){
- // summary
- // functional iterator, following the mozilla spec.
- var s=scope||dj_global;
- if(Array.forEach){
- Array.forEach(q, fn, s);
- }else{
- for(var i=0; i1) {
- field = parts.pop();
- do{
- if(parts[i].indexOf("()")>-1){
- var temp=parts[i++].split("()")[0];
- if(!o[temp]){
- dojo.raise("dojo.collections.Store.getField(obj, '" + field + "'): '" + temp + "' is not a property of the passed object.");
- } else {
- // this *will* throw an error if the method in question can't be invoked without arguments.
- o = o[temp]();
- }
- } else {
- o = o[parts[i++]];
- }
- } while (i-1){
- data.splice(idx,1);
- }
- };
- this.removeDataByKey = function(/*string*/key){
- // summary
- // remove the object at key from the internal data array.
- this.removeData(this.getDataByKey(key));
- };
- this.removeDataByIndex = function(/*number*/idx){
- // summary
- // remove the object at idx from the internal data array.
- this.removeData(this.getDataByIndex(idx));
- };
-
- if(jsonArray && jsonArray.length && jsonArray[0]){
- this.setData(jsonArray);
- }
-};
-
-dojo.extend(dojo.collections.Store, {
- getField:function(/*object*/obj, /*string*/field){
- // helper to get the nested value if needed.
- var parts=field.split("."), i=0, o=obj;
- do{
- if(parts[i].indexOf("()")>-1){
- var temp=parts[i++].split("()")[0];
- if(!o[temp]){
- dojo.raise("dojo.collections.Store.getField(obj, '" + field + "'): '" + temp + "' is not a property of the passed object.");
- } else {
- // this *will* throw an error if the method in question can't be invoked without arguments.
- o = o[temp]();
- }
- } else {
- o = o[parts[i++]];
- }
- } while (i -1){
- p = p.split(".");
- while(p.length>1){
- var pr = p.shift();
- o[pr] = {};
- o = o[pr];
- }
- p = p[0];
- }
-
- var type = meta[i].getType();
- if(type == String){
- o[p] = data;
- } else {
- if(data){
- o[p] = new type(data);
- } else {
- o[p] = new type();
- }
- }
- }
- return obj;
- };
-
- // we have initialization data, let's parse it.
- var arr=[];
- for(var i=0; i>16)^0xffff))+(((sum&0xffff)^0xffff)+1);
- }
- return sum;
- }
- function split(x){
- var r=x&0xffffffff;
- if(r<0) {
- r=-r;
- return [((r&0xffff)^0xffff)+1,(r>>16)^0xffff];
- }
- return [r&0xffff,(r>>16)];
- }
- function xor(x,y){
- var xs=split(x);
- var ys=split(y);
- return (0x10000*(xs[1]^ys[1]))+(xs[0]^ys[0]);
- }
- function $(v, box){
- var d=v&0xff; v>>=8;
- var c=v&0xff; v>>=8;
- var b=v&0xff; v>>=8;
- var a=v&0xff;
- var r=add(box.s0[a],box.s1[b]);
- r=xor(r,box.s2[c]);
- return add(r,box.s3[d]);
- }
-////////////////////////////////////////////////////////////////////////////
- function eb(o, box){
- var l=o.left;
- var r=o.right;
- l=xor(l,box.p[0]);
- r=xor(r,xor($(l,box),box.p[1]));
- l=xor(l,xor($(r,box),box.p[2]));
- r=xor(r,xor($(l,box),box.p[3]));
- l=xor(l,xor($(r,box),box.p[4]));
- r=xor(r,xor($(l,box),box.p[5]));
- l=xor(l,xor($(r,box),box.p[6]));
- r=xor(r,xor($(l,box),box.p[7]));
- l=xor(l,xor($(r,box),box.p[8]));
- r=xor(r,xor($(l,box),box.p[9]));
- l=xor(l,xor($(r,box),box.p[10]));
- r=xor(r,xor($(l,box),box.p[11]));
- l=xor(l,xor($(r,box),box.p[12]));
- r=xor(r,xor($(l,box),box.p[13]));
- l=xor(l,xor($(r,box),box.p[14]));
- r=xor(r,xor($(l,box),box.p[15]));
- l=xor(l,xor($(r,box),box.p[16]));
- o.right=l;
- o.left=xor(r,box.p[17]);
- }
-
- function db(o, box){
- var l=o.left;
- var r=o.right;
- l=xor(l,box.p[17]);
- r=xor(r,xor($(l,box),box.p[16]));
- l=xor(l,xor($(r,box),box.p[15]));
- r=xor(r,xor($(l,box),box.p[14]));
- l=xor(l,xor($(r,box),box.p[13]));
- r=xor(r,xor($(l,box),box.p[12]));
- l=xor(l,xor($(r,box),box.p[11]));
- r=xor(r,xor($(l,box),box.p[10]));
- l=xor(l,xor($(r,box),box.p[9]));
- r=xor(r,xor($(l,box),box.p[8]));
- l=xor(l,xor($(r,box),box.p[7]));
- r=xor(r,xor($(l,box),box.p[6]));
- l=xor(l,xor($(r,box),box.p[5]));
- r=xor(r,xor($(l,box),box.p[4]));
- l=xor(l,xor($(r,box),box.p[3]));
- r=xor(r,xor($(l,box),box.p[2]));
- l=xor(l,xor($(r,box),box.p[1]));
- o.right=l;
- o.left=xor(r,box.p[0]);
- }
-
- // Note that we aren't caching contexts here; it might take a little longer
- // but we should be more secure this way.
- function init(key){
- var k=key;
- if (typeof(k)=="string"){
- var a=[];
- for(var i=0; i>>18)&0x3f));
- s.push(tab.charAt((t>>>12)&0x3f));
- s.push(tab.charAt((t>>>6)&0x3f));
- s.push(tab.charAt(t&0x3f));
- }
- // deal with trailers, based on patch from Peter Wood.
- switch(rm){
- case 2:{
- var t=ba[i++]<<16|ba[i++]<<8;
- s.push(tab.charAt((t>>>18)&0x3f));
- s.push(tab.charAt((t>>>12)&0x3f));
- s.push(tab.charAt((t>>>6)&0x3f));
- s.push(p);
- break;
- }
- case 1:{
- var t=ba[i++]<<16;
- s.push(tab.charAt((t>>>18)&0x3f));
- s.push(tab.charAt((t>>>12)&0x3f));
- s.push(p);
- s.push(p);
- break;
- }
- }
- return s.join("");
- }
- function fromBase64(str){
- var s=str.split("");
- var p="=";
- var tab="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
- var out=[];
- var l=s.length;
- while(s[--l]==p){ }
- for (var i=0; i>>16)&0xff);
- out.push((t>>>8)&0xff);
- out.push(t&0xff);
- }
- return out;
- }
-////////////////////////////////////////////////////////////////////////////
-// PUBLIC FUNCTIONS
-// 0.2: Only supporting ECB mode for now.
-////////////////////////////////////////////////////////////////////////////
- this.getIV=function(/* dojo.crypto.outputTypes? */ outputType){
- // summary
- // returns the initialization vector in the output format specified by outputType
- var out=outputType||dojo.crypto.outputTypes.Base64;
- switch(out){
- case dojo.crypto.outputTypes.Hex:{
- var s=[];
- for(var i=0; i> 3;
- var pos=0;
- var o={};
- var isCBC=(mode==dojo.crypto.cipherModes.CBC);
- var vector={left:iv.left||null, right:iv.right||null};
- for(var i=0; i>24)&0xff);
- cipher.push((o.left>>16)&0xff);
- cipher.push((o.left>>8)&0xff);
- cipher.push(o.left&0xff);
- cipher.push((o.right>>24)&0xff);
- cipher.push((o.right>>16)&0xff);
- cipher.push((o.right>>8)&0xff);
- cipher.push(o.right&0xff);
- pos+=8;
- }
- switch(out){
- case dojo.crypto.outputTypes.Hex:{
- var s=[];
- for(var i=0; i> 3;
- var pos=0;
- var o={};
- var isCBC=(mode==dojo.crypto.cipherModes.CBC);
- var vector={left:iv.left||null, right:iv.right||null};
- for(var i=0; i>24)&0xff);
- pt.push((o.left>>16)&0xff);
- pt.push((o.left>>8)&0xff);
- pt.push(o.left&0xff);
- pt.push((o.right>>24)&0xff);
- pt.push((o.right>>16)&0xff);
- pt.push((o.right>>8)&0xff);
- pt.push(o.right&0xff);
- pos+=8;
- }
-
- // check for padding, and remove.
- if(pt[pt.length-1]==pt[pt.length-2]||pt[pt.length-1]==0x01){
- var n=pt[pt.length-1];
- pt.splice(pt.length-n, n);
- }
-
- // convert to string
- for(var i=0; i>5]|=(s.charCodeAt(i/chrsz)&mask)<<(i%32);
- return wa;
- }
- function toString(wa){
- var s=[];
- for(var i=0; i>5]>>>(i%32))&mask));
- return s.join("");
- }
- function toHex(wa) {
- var h="0123456789abcdef";
- var s=[];
- for(var i=0; i>2]>>((i%4)*8+4))&0xF)+h.charAt((wa[i>>2]>>((i%4)*8))&0xF));
- }
- return s.join("");
- }
- function toBase64(wa){
- var p="=";
- var tab="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
- var s=[];
- for(var i=0; i>2]>>8*(i%4))&0xFF)<<16)|(((wa[i+1>>2]>>8*((i+1)%4))&0xFF)<<8)|((wa[i+2>>2]>>8*((i+2)%4))&0xFF);
- for(var j=0; j<4; j++){
- if(i*8+j*6>wa.length*32) s.push(p);
- else s.push(tab.charAt((t>>6*(3-j))&0x3F));
- }
- }
- return s.join("");
- }
- function add(x,y) {
- var l=(x&0xFFFF)+(y&0xFFFF);
- var m=(x>>16)+(y>>16)+(l>>16);
- return (m<<16)|(l&0xFFFF);
- }
- function R(n,c){ return (n<>>(32-c)); }
- function C(q,a,b,x,s,t){ return add(R(add(add(a,q),add(x,t)),s),b); }
- function FF(a,b,c,d,x,s,t){ return C((b&c)|((~b)&d),a,b,x,s,t); }
- function GG(a,b,c,d,x,s,t){ return C((b&d)|(c&(~d)),a,b,x,s,t); }
- function HH(a,b,c,d,x,s,t){ return C(b^c^d,a,b,x,s,t); }
- function II(a,b,c,d,x,s,t){ return C(c^(b|(~d)),a,b,x,s,t); }
- function core(x,len){
- x[len>>5]|=0x80<<((len)%32);
- x[(((len+64)>>>9)<<4)+14]=len;
- var a= 1732584193;
- var b=-271733879;
- var c=-1732584194;
- var d= 271733878;
- for(var i=0; i16) wa=core(wa,key.length*chrsz);
- var l=[], r=[];
- for(var i=0; i<16; i++){
- l[i]=wa[i]^0x36363636;
- r[i]=wa[i]^0x5c5c5c5c;
- }
- var h=core(l.concat(toWord(data)),512+data.length*chrsz);
- return core(r.concat(h),640);
- }
-
- // Public functions
- this.compute=function(/* string */data, /* dojo.crypto.outputTypes */outputType){
- // summary
- // computes the digest of data, and returns the result as a string of type outputType
- var out=outputType||dojo.crypto.outputTypes.Base64;
- switch(out){
- case dojo.crypto.outputTypes.Hex:{
- return toHex(core(toWord(data),data.length*chrsz)); // string
- }
- case dojo.crypto.outputTypes.String:{
- return toString(core(toWord(data),data.length*chrsz)); // string
- }
- default:{
- return toBase64(core(toWord(data),data.length*chrsz)); // string
- }
- }
- };
- this.getHMAC=function(/* string */data, /* string */key, /* dojo.crypto.outputTypes */outputType){
- // summary
- // computes a digest of data using key, and returns the result as a string of outputType
- var out=outputType||dojo.crypto.outputTypes.Base64;
- switch(out){
- case dojo.crypto.outputTypes.Hex:{
- return toHex(hmac(data,key)); // string
- }
- case dojo.crypto.outputTypes.String:{
- return toString(hmac(data,key)); // string
- }
- default:{
- return toBase64(hmac(data,key)); // string
- }
- }
- };
-}();
diff --git a/source/web/scripts/ajax/dojo/src/crypto/Rijndael.js b/source/web/scripts/ajax/dojo/src/crypto/Rijndael.js
deleted file mode 100644
index 3fa88cc07b..0000000000
--- a/source/web/scripts/ajax/dojo/src/crypto/Rijndael.js
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- Copyright (c) 2004-2006, The Dojo Foundation
- All Rights Reserved.
-
- Licensed under the Academic Free License version 2.1 or above OR the
- modified BSD license. For more information on Dojo licensing, see:
-
- http://dojotoolkit.org/community/licensing.shtml
-*/
-
-dojo.provide("dojo.crypto.Rijndael");
-dojo.require("dojo.crypto");
-dojo.require("dojo.experimental");
-
-dojo.experimental("dojo.crypto.Rijndael");
-
-dojo.crypto.Rijndael = new function(){
- this.encrypt=function(plaintext, key){
- };
- this.decrypt=function(ciphertext, key){
- };
-}();
diff --git a/source/web/scripts/ajax/dojo/src/crypto/SHA1.js b/source/web/scripts/ajax/dojo/src/crypto/SHA1.js
deleted file mode 100644
index 7119a7c1c9..0000000000
--- a/source/web/scripts/ajax/dojo/src/crypto/SHA1.js
+++ /dev/null
@@ -1,154 +0,0 @@
-dojo.require("dojo.crypto");
-dojo.provide("dojo.crypto.SHA1");
-dojo.require("dojo.experimental");
-
-/*
- * A JavaScript implementation of the Secure Hash Algorithm, SHA-1, as defined
- * in FIPS PUB 180-1
- *
- * Version 2.1a Copyright Paul Johnston 2000 - 2002.
- * Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet
- * Distributed under the BSD License
- * See http://pajhome.org.uk/crypt/md5 for details.
- *
- * Dojo port by Tom Trenka
- */
-dojo.experimental("dojo.crypto.SHA1");
-
-dojo.crypto.SHA1 = new function(){
- var chrsz=8;
- var mask=(1<>5]|=(s.charCodeAt(i/chrsz)&mask)<<(i%32);
- return wa;
- }
- function toString(wa){
- var s=[];
- for(var i=0; i>5]>>>(i%32))&mask));
- return s.join("");
- }
- function toHex(wa) {
- var h="0123456789abcdef";
- var s=[];
- for(var i=0; i>2]>>((i%4)*8+4))&0xF)+h.charAt((wa[i>>2]>>((i%4)*8))&0xF));
- }
- return s.join("");
- }
- function toBase64(wa){
- var p="=";
- var tab="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
- var s=[];
- for(var i=0; i>2]>>8*(i%4))&0xFF)<<16)|(((wa[i+1>>2]>>8*((i+1)%4))&0xFF)<<8)|((wa[i+2>>2]>>8*((i+2)%4))&0xFF);
- for(var j=0; j<4; j++){
- if(i*8+j*6>wa.length*32) s.push(p);
- else s.push(tab.charAt((t>>6*(3-j))&0x3F));
- }
- }
- return s.join("");
- }
-
- // math
- function add(x,y){
- var l=(x&0xffff)+(y&0xffff);
- var m=(x>>16)+(y>>16)+(l>>16);
- return (m<<16)|(l&0xffff);
- }
- function r(x,n){ return (x<>>(32-n)); }
-
- // SHA rounds
- function f(u,v,w){ return ((u&v)|(~u&w)); }
- function g(u,v,w){ return ((u&v)|(u&w)|(v&w)); }
- function h(u,v,w){ return (u^v^w); }
-
- function fn(i,u,v,w){
- if(i<20) return f(u,v,w);
- if(i<40) return h(u,v,w);
- if(i<60) return g(u,v,w);
- return h(u,v,w);
- }
- function cnst(i){
- if(i<20) return 1518500249;
- if(i<40) return 1859775393;
- if(i<60) return -1894007588;
- return -899497514;
- }
-
- function core(x,len){
- x[len>>5]|=0x80<<(24-len%32);
- x[((len+64>>9)<<4)+15]=len;
-
- var w=[];
- var a= 1732584193; // 0x67452301
- var b=-271733879; // 0xefcdab89
- var c=-1732584194; // 0x98badcfe
- var d= 271733878; // 0x10325476
- var e=-1009589776; // 0xc3d2e1f0
-
- for(var i=0; i16) wa=core(wa,key.length*chrsz);
- var l=[], r=[];
- for(var i=0; i<16; i++){
- l[i]=wa[i]^0x36363636;
- r[i]=wa[i]^0x5c5c5c5c;
- }
- var h=core(l.concat(toWord(data)),512+data.length*chrsz);
- return core(r.concat(h),640);
- }
-
- this.compute=function(data,outputType){
- var out=outputType||dojo.crypto.outputTypes.Base64;
- switch(out){
- case dojo.crypto.outputTypes.Hex:{
- return toHex(core(toWord(data),data.length*chrsz));
- }
- case dojo.crypto.outputTypes.String:{
- return toString(core(toWord(data),data.length*chrsz));
- }
- default:{
- return toBase64(core(toWord(data),data.length*chrsz));
- }
- }
- };
- this.getHMAC=function(data,key,outputType){
- var out=outputType||dojo.crypto.outputTypes.Base64;
- switch(out){
- case dojo.crypto.outputTypes.Hex:{
- return toHex(hmac(data,key));
- }
- case dojo.crypto.outputTypes.String:{
- return toString(hmac(data,key));
- }
- default:{
- return toBase64(hmac(data,key));
- }
- }
- };
-}();
diff --git a/source/web/scripts/ajax/dojo/src/crypto/SHA256.js b/source/web/scripts/ajax/dojo/src/crypto/SHA256.js
deleted file mode 100644
index 00a97c6b83..0000000000
--- a/source/web/scripts/ajax/dojo/src/crypto/SHA256.js
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- Copyright (c) 2004-2006, The Dojo Foundation
- All Rights Reserved.
-
- Licensed under the Academic Free License version 2.1 or above OR the
- modified BSD license. For more information on Dojo licensing, see:
-
- http://dojotoolkit.org/community/licensing.shtml
-*/
-
-dojo.provide("dojo.crypto.SHA256");
-dojo.require("dojo.crypto");
-dojo.require("dojo.experimental");
-
-dojo.experimental("dojo.crypto.SHA256");
-
-dojo.crypto.SHA256 = new function(){
- this.compute=function(s){
- };
-}();
diff --git a/source/web/scripts/ajax/dojo/src/crypto/__package__.js b/source/web/scripts/ajax/dojo/src/crypto/__package__.js
deleted file mode 100644
index 652b66d795..0000000000
--- a/source/web/scripts/ajax/dojo/src/crypto/__package__.js
+++ /dev/null
@@ -1,17 +0,0 @@
-/*
- Copyright (c) 2004-2006, The Dojo Foundation
- All Rights Reserved.
-
- Licensed under the Academic Free License version 2.1 or above OR the
- modified BSD license. For more information on Dojo licensing, see:
-
- http://dojotoolkit.org/community/licensing.shtml
-*/
-
-dojo.kwCompoundRequire({
- common: [
- "dojo.crypto",
- "dojo.crypto.MD5"
- ]
-});
-dojo.provide("dojo.crypto.*");
diff --git a/source/web/scripts/ajax/dojo/src/data.js b/source/web/scripts/ajax/dojo/src/data.js
deleted file mode 100644
index 36532e9f77..0000000000
--- a/source/web/scripts/ajax/dojo/src/data.js
+++ /dev/null
@@ -1,15 +0,0 @@
-/*
- Copyright (c) 2004-2006, The Dojo Foundation
- All Rights Reserved.
-
- Licensed under the Academic Free License version 2.1 or above OR the
- modified BSD license. For more information on Dojo licensing, see:
-
- http://dojotoolkit.org/community/licensing.shtml
-*/
-
-dojo.provide("dojo.data");
-
-// currently a stub for dojo.data
-
-dojo.data = {};
diff --git a/source/web/scripts/ajax/dojo/src/data/CsvStore.js b/source/web/scripts/ajax/dojo/src/data/CsvStore.js
deleted file mode 100644
index b9da442671..0000000000
--- a/source/web/scripts/ajax/dojo/src/data/CsvStore.js
+++ /dev/null
@@ -1,207 +0,0 @@
-/*
- Copyright (c) 2004-2006, The Dojo Foundation
- All Rights Reserved.
-
- Licensed under the Academic Free License version 2.1 or above OR the
- modified BSD license. For more information on Dojo licensing, see:
-
- http://dojotoolkit.org/community/licensing.shtml
-*/
-
-dojo.provide("dojo.data.CsvStore");
-dojo.require("dojo.data.core.RemoteStore");
-dojo.require("dojo.lang.assert");
-
-dojo.declare("dojo.data.CsvStore", dojo.data.core.RemoteStore, {
- /* summary:
- * The CsvStore subclasses dojo.data.core.RemoteStore to implement
- * the dojo.data.core.Read API.
- */
-
- /* examples:
- * var csvStore = new dojo.data.CsvStore({queryUrl:"movies.csv");
- * var csvStore = new dojo.data.CsvStore({url:"http://example.com/movies.csv");
- */
- _setupQueryRequest: function(/* dojo.data.core.Result */ result, /* object */ requestKw) {
- // summary: See dojo.data.core.RemoteStore._setupQueryRequest()
- var serverQueryUrl = this._serverQueryUrl ? this._serverQueryUrl : "";
- var queryUrl = result.query ? result.query : "";
- requestKw.url = serverQueryUrl + queryUrl;
- requestKw.method = 'get';
- },
-
- _resultToQueryData: function(/* varies */ serverResponseData) {
- // summary: See dojo.data.core.RemoteStore._resultToQueryData()
- var csvFileContentString = serverResponseData;
- var arrayOfArrays = this._getArrayOfArraysFromCsvFileContents(csvFileContentString);
- var arrayOfObjects = this._getArrayOfObjectsFromArrayOfArrays(arrayOfArrays);
- var remoteStoreData = this._getRemoteStoreDataFromArrayOfObjects(arrayOfObjects);
- return remoteStoreData;
- },
-
- _setupSaveRequest: function(/* object */ saveKeywordArgs, /* object */ requestKw) {
- // summary: See dojo.data.core.RemoteStore._setupSaveRequest()
- // description: NOT IMPLEMENTED -- CsvStore is a read-only store
- },
-
- // -------------------------------------------------------------------
- // Private methods
- _getArrayOfArraysFromCsvFileContents: function(/* string */ csvFileContents) {
- /* summary:
- * Parses a string of CSV records into a nested array structure.
- * description:
- * Given a string containing CSV records, this method parses
- * the string and returns a data structure containing the parsed
- * content. The data structure we return is an array of length
- * R, where R is the number of rows (lines) in the CSV data. The
- * return array contains one sub-array for each CSV line, and each
- * sub-array contains C string values, where C is the number of
- * columns in the CSV data.
- */
-
- /* example:
- * For example, given this CSV string as input:
- * "Title, Year, Producer \n Alien, 1979, Ridley Scott \n Blade Runner, 1982, Ridley Scott"
- * We will return this data structure:
- * [["Title", "Year", "Producer"]
- * ["Alien", "1979", "Ridley Scott"],
- * ["Blade Runner", "1982", "Ridley Scott"]]
- */
- dojo.lang.assertType(csvFileContents, String);
-
- var lineEndingCharacters = new RegExp("\r\n|\n|\r");
- var leadingWhiteSpaceCharacters = new RegExp("^\\s+",'g');
- var trailingWhiteSpaceCharacters = new RegExp("\\s+$",'g');
- var doubleQuotes = new RegExp('""','g');
- var arrayOfOutputRecords = [];
-
- var arrayOfInputLines = csvFileContents.split(lineEndingCharacters);
- for (var i in arrayOfInputLines) {
- var singleLine = arrayOfInputLines[i];
- if (singleLine.length > 0) {
- var listOfFields = singleLine.split(',');
- var j = 0;
- while (j < listOfFields.length) {
- var space_field_space = listOfFields[j];
- var field_space = space_field_space.replace(leadingWhiteSpaceCharacters, ''); // trim leading whitespace
- var field = field_space.replace(trailingWhiteSpaceCharacters, ''); // trim trailing whitespace
- var firstChar = field.charAt(0);
- var lastChar = field.charAt(field.length - 1);
- var secondToLastChar = field.charAt(field.length - 2);
- var thirdToLastChar = field.charAt(field.length - 3);
- if ((firstChar == '"') &&
- ((lastChar != '"') ||
- ((lastChar == '"') && (secondToLastChar == '"') && (thirdToLastChar != '"')) )) {
- if (j+1 === listOfFields.length) {
- // alert("The last field in record " + i + " is corrupted:\n" + field);
- return null;
- }
- var nextField = listOfFields[j+1];
- listOfFields[j] = field_space + ',' + nextField;
- listOfFields.splice(j+1, 1); // delete element [j+1] from the list
- } else {
- if ((firstChar == '"') && (lastChar == '"')) {
- field = field.slice(1, (field.length - 1)); // trim the " characters off the ends
- field = field.replace(doubleQuotes, '"'); // replace "" with "
- }
- listOfFields[j] = field;
- j += 1;
- }
- }
- arrayOfOutputRecords.push(listOfFields);
- }
- }
- return arrayOfOutputRecords; // Array
- },
-
- _getArrayOfObjectsFromArrayOfArrays: function(/* array[] */ arrayOfArrays) {
- /* summary:
- * Converts a nested array structure into an array of keyword objects.
- */
-
- /* example:
- * For example, given this as input:
- * [["Title", "Year", "Producer"]
- * ["Alien", "1979", "Ridley Scott"],
- * ["Blade Runner", "1982", "Ridley Scott"]]
- * We will return this as output:
- * [{"Title":"Alien", "Year":"1979", "Producer":"Ridley Scott"},
- * {"Title":"Blade Runner", "Year":"1982", "Producer":"Ridley Scott"}]
- */
- dojo.lang.assertType(arrayOfArrays, Array);
- var arrayOfItems = [];
- if (arrayOfArrays.length > 1) {
- var arrayOfKeys = arrayOfArrays[0];
- for (var i = 1; i < arrayOfArrays.length; ++i) {
- var row = arrayOfArrays[i];
- var item = {};
- for (var j in row) {
- var value = row[j];
- var key = arrayOfKeys[j];
- item[key] = value;
- }
- arrayOfItems.push(item);
- }
- }
- return arrayOfItems; // Array
- },
-
- _getRemoteStoreDataFromArrayOfObjects: function(/* object[] */ arrayOfObjects) {
- /* summary:
- * Converts an array of keyword objects in the internal record data
- * structure used by RemoteStore.
- */
-
- /* example:
- * For example, given this as input:
- * [{"Title":"Alien", "Year":"1979", "Producer":"Ridley Scott"},
- * {"Title":"Blade Runner", "Year":"1982", "Producer":"Ridley Scott"}]
- * We will return this as output:
- * { "1": {"Title":["Alien"], "Year":["1979"], "Producer":["Ridley Scott"]},
- * "2": {"Title":["Blade Runner"], "Year":["1982"], "Producer":["Ridley Scott"]}
- * }
- */
- dojo.lang.assertType(arrayOfObjects, Array);
- var output = {};
- for (var i = 0; i < arrayOfObjects.length; ++i) {
- var object = arrayOfObjects[i];
- for (var key in object) {
- var value = object[key]; // {"Title":"Alien"} --> "Alien"
- object[key] = [value]; // {"Title":["Alien"]}
- }
- output[i] = object;
- }
- return output; // Object
- },
-
- // CsvStore implements the dojo.data.core.Read API, but does not yet
- // implements the dojo.data.core.Write API. CsvStore extends RemoteStore,
- // and RemoteStore does implement the Write API, so we need to explicitly
- // mark those Write API methods as being unimplemented.
- newItem: function(/* object? */ attributes, /* object? */ keywordArgs) {
- dojo.unimplemented('dojo.data.CsvStore.newItem');
- },
- deleteItem: function(/* item */ item) {
- dojo.unimplemented('dojo.data.CsvStore.deleteItem');
- },
- setValues: function(/* item */ item, /* attribute || string */ attribute, /* array */ values) {
- dojo.unimplemented('dojo.data.CsvStore.setValues');
- },
- set: function(/* item */ item, /* attribute || string */ attribute, /* almost anything */ value) {
- dojo.unimplemented('dojo.data.CsvStore.set');
- },
- unsetAttribute: function(/* item */ item, /* attribute || string */ attribute) {
- dojo.unimplemented('dojo.data.CsvStore.unsetAttribute');
- },
- save: function(/* object? */ keywordArgs) {
- dojo.unimplemented('dojo.data.CsvStore.save');
- },
- revert: function() {
- dojo.unimplemented('dojo.data.CsvStore.revert');
- },
- isDirty: function(/*item?*/ item) {
- dojo.unimplemented('dojo.data.CsvStore.isDirty');
- }
-
-});
-
diff --git a/source/web/scripts/ajax/dojo/src/data/OpmlStore.js b/source/web/scripts/ajax/dojo/src/data/OpmlStore.js
deleted file mode 100644
index 3b4904fe0d..0000000000
--- a/source/web/scripts/ajax/dojo/src/data/OpmlStore.js
+++ /dev/null
@@ -1,224 +0,0 @@
-/*
- Copyright (c) 2004-2006, The Dojo Foundation
- All Rights Reserved.
-
- Licensed under the Academic Free License version 2.1 or above OR the
- modified BSD license. For more information on Dojo licensing, see:
-
- http://dojotoolkit.org/community/licensing.shtml
-*/
-
-dojo.provide("dojo.data.OpmlStore");
-dojo.require("dojo.data.core.Read");
-dojo.require("dojo.data.core.Result");
-dojo.require("dojo.lang.assert");
-dojo.require("dojo.json");
-
-dojo.require("dojo.experimental");
-dojo.experimental("dojo.data.OpmlStore");
-// FIXME: The OpmlStore works in Firefox but does not yet work in IE.
-
-dojo.declare("dojo.data.OpmlStore", dojo.data.core.Read, {
- /* summary:
- * The OpmlStore implements the dojo.data.core.Read API.
- */
-
- /* examples:
- * var opmlStore = new dojo.data.OpmlStore({url:"geography.opml"});
- * var opmlStore = new dojo.data.OpmlStore({url:"http://example.com/geography.opml"});
- */
- initializer: function(/* object */ keywordParameters) {
- // keywordParameters: {url: String}
- this._arrayOfTopLevelItems = [];
- this._metadataNodes = null;
- this._loadFinished = false;
- this._opmlFileUrl = keywordParameters["url"];
- },
-
- _assertIsItem: function(/* item */ item) {
- if (!this.isItem(item)) {
- throw new Error("dojo.data.OpmlStore: a function was passed an item argument that was not an item");
- }
- },
-
- _removeChildNodesThatAreNotElementNodes: function(/* node */ node, /* boolean */ recursive) {
- var childNodes = node.childNodes;
- if (childNodes.length == 0) {
- return;
- }
- var nodesToRemove = [];
- var i, childNode;
- for (i = 0; i < childNodes.length; ++i) {
- childNode = childNodes[i];
- if (childNode.nodeType != Node.ELEMENT_NODE) {
- nodesToRemove.push(childNode);
- }
- };
- // dojo.debug('trim: ' + childNodes.length + ' total, ' + nodesToRemove.length + ' junk');
- for (i = 0; i < nodesToRemove.length; ++i) {
- childNode = nodesToRemove[i];
- node.removeChild(childNode);
- }
- // dojo.debug('trim: ' + childNodes.length + ' remaining');
- if (recursive) {
- for (i = 0; i < childNodes.length; ++i) {
- childNode = childNodes[i];
- this._removeChildNodesThatAreNotElementNodes(childNode, recursive);
- }
- }
- },
-
- _processRawXmlTree: function(/* xmlDoc */ rawXmlTree) {
- var headNodes = rawXmlTree.getElementsByTagName('head');
- var headNode = headNodes[0];
- this._removeChildNodesThatAreNotElementNodes(headNode);
- this._metadataNodes = headNode.childNodes;
- var bodyNodes = rawXmlTree.getElementsByTagName('body');
- var bodyNode = bodyNodes[0];
- this._removeChildNodesThatAreNotElementNodes(bodyNode, true);
-
- var bodyChildNodes = bodyNodes[0].childNodes;
- for (var i = 0; i < bodyChildNodes.length; ++i) {
- var node = bodyChildNodes[i];
- if (node.tagName == 'outline') {
- this._arrayOfTopLevelItems.push(node);
- }
- }
- },
-
- get: function(/* item */ item, /* attribute || attribute-name-string */ attribute, /* value? */ defaultValue) {
- // summary: See dojo.data.core.Read.get()
- this._assertIsItem(item);
- if (attribute == 'children') {
- return (item.firstChild || defaultValue);
- } else {
- var value = item.getAttribute(attribute);
- value = (value != undefined) ? value : defaultValue;
- return value;
- }
- },
-
- getValues: function(/* item */ item, /* attribute || attribute-name-string */ attribute) {
- // summary: See dojo.data.core.Read.getValues()
- this._assertIsItem(item);
- if (attribute == 'children') {
- var array = [];
- for (var i = 0; i < item.childNodes.length; ++i) {
- array.push(item.childNodes[i]);
- }
- return array; // Array
- // return item.childNodes; // FIXME: this isn't really an Array
- } else {
- return [item.getAttribute(attribute)]; // Array
- }
- },
-
- getAttributes: function(/* item */ item) {
- // summary: See dojo.data.core.Read.getAttributes()
- this._assertIsItem(item);
- var attributes = [];
- var xmlNode = item;
- var xmlAttributes = xmlNode.attributes;
- for (var i = 0; i < xmlAttributes.length; ++i) {
- var xmlAttribute = xmlAttributes.item(i);
- attributes.push(xmlAttribute.nodeName);
- }
- if (xmlNode.childNodes.length > 0) {
- attributes.push('children');
- }
- return attributes; // array
- },
-
- hasAttribute: function(/* item */ item, /* attribute || attribute-name-string */ attribute) {
- // summary: See dojo.data.core.Read.hasAttribute()
- return (this.getValues(item, attribute).length > 0);
- },
-
- containsValue: function(/* item */ item, /* attribute || attribute-name-string */ attribute, /* anything */ value) {
- // summary: See dojo.data.core.Read.containsValue()
- var values = this.getValues(item, attribute);
- for (var i = 0; i < values.length; ++i) {
- var possibleValue = values[i];
- if (value == possibleValue) {
- return true;
- }
- }
- return false; // boolean
- },
-
- isItem: function(/* anything */ something) {
- return (something &&
- something.nodeType == Node.ELEMENT_NODE &&
- something.tagName == 'outline'); // boolean
- },
-
- isItemAvailable: function(/* anything */ something) {
- return this.isItem(something);
- },
-
- find: function(/* object? || dojo.data.core.Result */ keywordArgs) {
- // summary: See dojo.data.core.Read.find()
- var result = null;
- if (keywordArgs instanceof dojo.data.core.Result) {
- result = keywordArgs;
- result.store = this;
- } else {
- result = new dojo.data.core.Result(keywordArgs, this);
- }
- var self = this;
- var bindHandler = function(type, data, evt) {
- var scope = result.scope || dj_global;
- if (type == "load") {
- self._processRawXmlTree(data);
- if (result.saveResult) {
- result.items = self._arrayOfTopLevelItems;
- }
- if (result.onbegin) {
- result.onbegin.call(scope, result);
- }
- for (var i=0; i < self._arrayOfTopLevelItems.length; i++) {
- var item = self._arrayOfTopLevelItems[i];
- if (result.onnext && !result._aborted) {
- result.onnext.call(scope, item, result);
- }
- }
- if (result.oncompleted && !result._aborted) {
- result.oncompleted.call(scope, result);
- }
- } else if(type == "error" || type == 'timeout') {
- // todo: how to handle timeout?
- var errorObject = data;
- // dojo.debug("error in dojo.data.OpmlStore.find(): " + dojo.json.serialize(errorObject));
- if (result.onerror) {
- result.onerror.call(scope, data);
- }
- }
- };
-
- if (!this._loadFinished) {
- if (this._opmlFileUrl) {
- var bindRequest = dojo.io.bind({
- url: this._opmlFileUrl, // "playlist.opml",
- handle: bindHandler,
- mimetype: "text/xml",
- sync: (result.sync || false) });
- result._abortFunc = bindRequest.abort;
- }
- }
- return result; // dojo.data.csv.Result
- },
-
- getIdentity: function(/* item */ item) {
- // summary: See dojo.data.core.Read.getIdentity()
- dojo.unimplemented('dojo.data.OpmlStore.getIdentity()');
- return null;
- },
-
- findByIdentity: function(/* string */ identity) {
- // summary: See dojo.data.core.Read.findByIdentity()
- dojo.unimplemented('dojo.data.OpmlStore.findByIdentity()');
- return null;
- }
-});
-
-
diff --git a/source/web/scripts/ajax/dojo/src/data/RdfStore.js b/source/web/scripts/ajax/dojo/src/data/RdfStore.js
deleted file mode 100644
index 74c4751be7..0000000000
--- a/source/web/scripts/ajax/dojo/src/data/RdfStore.js
+++ /dev/null
@@ -1,292 +0,0 @@
-/*
- Copyright (c) 2004-2006, The Dojo Foundation
- All Rights Reserved.
-
- Licensed under the Academic Free License version 2.1 or above OR the
- modified BSD license. For more information on Dojo licensing, see:
-
- http://dojotoolkit.org/community/licensing.shtml
-*/
-
-dojo.provide("dojo.data.RdfStore");
-dojo.provide("dojo.data.RhizomeStore");
-dojo.require("dojo.lang.declare");
-dojo.require("dojo.data.core.RemoteStore");
-dojo.require("dojo.experimental");
-
-/* summary:
- * RdfStore provides a dojo.data Store for querying and updating a server
- * that supports the SPARQL Query Result JSON format.
- * (see http://www.w3.org/TR/rdf-sparql-json-res/)
- *
- * It also maps RDF datatypes to Javascript objects.
- *
- * RdfStore makes following assumptions about the Result JSON:
- * (1) The result always contains 3 bound variables named "s","p", and "o",
- * and each result binding is treated as an RDF statement.
- * (2) When saving changes to the store, the JSON "results" object will also
- * contain a "deleted" key whose value is a list of deleted RDF resources.
- *
- */
-
-dojo.data.RdfDatatypeSerializer = function(/* JavaScript type */type, /* function */convertFunc, /* RDF datatype URI */uri) {
- /* summary:
- This class serializes a javascript object into a RDF datatype literal.
- */
- this.type = type;
- this._converter = convertFunc;
- this.uri = uri;
- this.serialize = function(value) {
- return this._converter.call(value, value);
- };
-}
-
-dojo.declare("dojo.data.RdfStore", dojo.data.core.RemoteStore, {
-
- _datatypeMap: {
- //map datatype strings to constructor function
- literal: function(value) {
- var literal = value.value;
- if (value["xml:lang"]) {
- literal.lang = value["xml:lang"];
- }
- return literal;
- },
-
- uri: function(value) {
- return { id: value.value };
- },
-
- bnode: function(value) {
- return { id: '_:' + value.value };
- },
-
- 'http://www.w3.org/2001/XMLSchema#int': function(value) {
- return parseInt(value.value);
- },
- 'http://www.w3.org/2001/XMLSchema#integer': function(value) {
- return parseInt(value.value);
- },
- 'http://www.w3.org/2001/XMLSchema#long': function(value) {
- return parseInt(value.value);
- },
- 'http://www.w3.org/2001/XMLSchema#float': function(value) {
- return parseFloat(value.value);
- },
- 'http://www.w3.org/2001/XMLSchema#double': function(value) {
- return parseFloat(value.value);
- },
- 'http://www.w3.org/2001/XMLSchema#boolean': function(value) {
- return !value || value == "false" || value == "0" ? false : true;
- }
- //todo: more datatypes:
- //integer subtypes, string types, XMLiteral
- //,'http://www.w3.org/2001/XMLSchema#... : function(value) { return parseInt(value.value); }
- },
-
- _datatypeSerializers: [
- new dojo.data.RdfDatatypeSerializer(Number, Number.toString, 'http://www.w3.org/2001/XMLSchema#float'),
- new dojo.data.RdfDatatypeSerializer(Boolean, Boolean.toString, 'http://www.w3.org/2001/XMLSchema#boolean')
- ],
-
- _findDatatypeSerializer: function(value) {
- var length = this._datatypeSerializers.length;
- for (var i = 0; i < length; i++) {
- var datatype = this._datatypeSerializers[i];
- if (value instanceof datatype.type) {
- return datatype;
- }
- }
- },
-
- _toRDFValue: function(value) {
- //convert values to rdf json format
- //(from http://www.w3.org/TR/2006/NOTE-rdf-sparql-json-res-20061004/)
-
- var rdfvalue = {};
- if (value.id) {
- if (value.id.slice(0, 2) == '_:') {
- rdfvalue.type = 'bnode';
- rdfvalue.value = value.id.substring(2);
- } else {
- rdfvalue.type = 'uri';
- rdfvalue.value = value.id;
- }
- } else if (typeof value == "string" || value instanceof String) {
- rdfvalue.type = 'literal';
- rdfvalue.value = value;
- if (value.lang)
- rdfvalue["xml:lang"] = value.lang;
- } else {
- if (typeof value == "number")
- value = new Number(value);
- else if (typeof value == "boolean")
- value = new Boolean(value);
-
- var datatype = this._findDatatypeSerializer(value);
- if (datatype) {
- rdfvalue = {
- "type": "typed-literal",
- "datatype": datatype.uri,
- "value": value.toString()
- //todo: datatype.serialize(value) causes
- //Error: Function.prototype.toString called on incompatible number
- };
- } else {
- //treat it as a string
- //todo: warn?
- rdfvalue = {
- "type": "literal",
- "value": value.toString() };
- }
- }
- return rdfvalue;
- },
-
- _setupSaveRequest: function(saveKeywordArgs, requestKw) {
- /*
- This function prepares the save request by populating requestKw,
- an associative array that will be passed to dojo.io.bind.
- */
-
- //see http://www.w3.org/TR/rdf-sparql-json-res/
- var rdfResult = { "head": {'vars': ['s','p','o']},
- "results": {'bindings': []} };
-
- var resources = [];
- for (var key in this._deleted) {
- resources.push(key);
- }
- rdfResult.results.deleted = resources;
-
- for (key in this._changed) {
- var subject = this._toRDFValue(this.getIdentity(key))
-
- var attributes = this._changed[key];
- for (var attr in attributes) {
- var predicate = {type:'uri', value: attr};
-
- var values = attributes[attr];
- if (!values.length)
- continue;
- var rdfvalues = [];
- for (var i = 0; i < values.length; i++) {
- var rdfvalue = this._toRDFValue(values[i]);
- rdfResult.results.bindings.push(
- {s: subject, p: predicate, o: rdfvalue});
- }
- }
- }
-
- var oldRegistry = dojo.json.jsonRegistry;
- dojo.json.jsonRegistry = this._jsonRegistry;
- var jsonString = dojo.json.serialize(rdfResult);
- dojo.json.jsonRegistry = oldRegistry;
-
- //dojo.debug('save json' , jsonString);
-
- requestKw.postContent = jsonString;
- },
-
- _resultToQueryMetadata: function(json) {
- return json.head;
- },
-
- _resultToQueryData: function(json) {
- //assume s, p, o bindings
- var items = {};
- var stmts = json.results.bindings;
- for (var i = 0; i < stmts.length; i++) {
- var stmt = stmts[i];
- //assert stmt.s && stmt.p && stmt.o;
- var subject = stmt.s.value;
- if (stmt.s.type == 'bnode') {
- subject = '_:' + subject;
- }
- //else { assert stmt.s.type == 'uri';}
- var attributes = data[subject];
- if (!attributes) {
- attributes = {};
- data[stmt.s] = attributes;
- }
- var attr = attributes[stmt.p.value];
- if (!attr) {
- attributes[stmt.p.value] = [stmt.o];
- } else {
- attr.push(stmt.o);
- }
- }
- return items;
- }
-});
-
-dojo.declare("dojo.data.RhizomeStore", dojo.data.RdfStore, {
- /* summary:
- * RhizomeStore is a subclass of RdfStore that works with
- * the Rhizome semantic wiki (see http://www.liminalzone.org)
- * Rhizome understands the RemoteStore's "native" json format
- * so it doesn't need to convert it to the SPARQL Query Result format.
- */
-
- initializer: function(kwArgs) {
- this._serverQueryUrl = kwArgs.baseUrl + 'search?view=json&searchType=RxPath&search=';
- this._serverSaveUrl = kwArgs.baseUrl + 'save-metadata';
- },
-
- _resultToQueryMetadata: function(json) {
- return json;
- },
-
- _resultToQueryData: function(json) {
- //dojo.debug( 'resultjson ' + dojo.json.serialize(json) );
- return json;
- },
-
- _setupSaveRequest: function(saveKeywordArgs, requestKw) {
- /*
- This function prepares the save request by populating requestKw,
- an associative array that will be passed to dojo.io.bind.
- */
- requestKw.url = this._serverSaveUrl;
- requestKw.method = 'post';
- requestKw.mimetype = "text/plain";
-
- var resources = [];
- for (var key in this._deleted) {
- resources.push(key);
- }
-
- var changes = {};
- for (key in this._changed) {
- if (!this._added[key]) { //don't put new resources in this list
- resources.push(key);
- }
-
- var attributes = this._changed[key];
- var rdfattributes = {};
- for (var attr in attributes) {
- var values = attributes[attr];
- if (!values.length)
- continue;
- var rdfvalues = [];
- for (var i = 0; i < values.length; i++) {
- var rdfvalue = this._toRDFValue(values[i]);
- rdfvalues.push(rdfvalue);
- }
- rdfattributes[attr] = rdfvalues;
- }
- changes[key] = rdfattributes;
- }
-
- var oldRegistry = dojo.json.jsonRegistry;
- dojo.json.jsonRegistry = this._jsonRegistry;
- var jsonString = dojo.json.serialize(changes);
- dojo.json.jsonRegistry = oldRegistry;
-
- requestKw.content = {
- rdfFormat: 'json',
- resource: resources,
- metadata: jsonString
- };
- }
-});
diff --git a/source/web/scripts/ajax/dojo/src/data/YahooStore.js b/source/web/scripts/ajax/dojo/src/data/YahooStore.js
deleted file mode 100644
index 52ad0cdfeb..0000000000
--- a/source/web/scripts/ajax/dojo/src/data/YahooStore.js
+++ /dev/null
@@ -1,53 +0,0 @@
-/*
- Copyright (c) 2004-2006, The Dojo Foundation
- All Rights Reserved.
-
- Licensed under the Academic Free License version 2.1 or above OR the
- modified BSD license. For more information on Dojo licensing, see:
-
- http://dojotoolkit.org/community/licensing.shtml
-*/
-
-dojo.provide("dojo.data.YahooStore");
-dojo.require("dojo.data.core.RemoteStore");
-dojo.require("dojo.lang.declare");
-dojo.require("dojo.io.ScriptSrcIO");
-
-dojo.declare("dojo.data.YahooStore", dojo.data.core.RemoteStore, {
- /* Summary:
- * The YahooStore implements the dojo.data.core.Read API.
- */
- _setupQueryRequest: function(result, requestKw) {
- var start = 1;
- var count = 1;
- if (result) {
- start = result.start || start;
- count = result.count || count;
- }
- var sourceUrl = "http://api.search.yahoo.com/WebSearchService/V1/webSearch?appid=dojo&language=en&query=" +
- result.query + "&start=" + start + "&results=" + count + "&output=json";
- requestKw.url = sourceUrl;
- requestKw.transport = "ScriptSrcTransport";
- requestKw.mimetype = "text/json";
- requestKw.jsonParamName = 'callback';
- },
-
- _resultToQueryMetadata: function(json) {
- return json.ResultSet;
- },
-
- _resultToQueryData: function(json) {
- var data = {}
- for (var i = 0; i < json.ResultSet.totalResultsReturned; ++i) {
- var record = json.ResultSet.Result[i];
- var item = {};
- item["Url"] = [record.Url];
- item["Title"] = [record.Title];
- item["Summary"] =[ record.Summary];
- var arrayIndex = (json.ResultSet.firstResultPosition - 1) + i;
- data[ arrayIndex.toString() ] = item;
- }
- return data;
- }
-});
-
diff --git a/source/web/scripts/ajax/dojo/src/data/core/Read.js b/source/web/scripts/ajax/dojo/src/data/core/Read.js
deleted file mode 100644
index f687e2ebef..0000000000
--- a/source/web/scripts/ajax/dojo/src/data/core/Read.js
+++ /dev/null
@@ -1,321 +0,0 @@
-/*
- Copyright (c) 2004-2006, The Dojo Foundation
- All Rights Reserved.
-
- Licensed under the Academic Free License version 2.1 or above OR the
- modified BSD license. For more information on Dojo licensing, see:
-
- http://dojotoolkit.org/community/licensing.shtml
-*/
-
-dojo.provide("dojo.data.core.Read");
-dojo.require("dojo.data.core.Result");
-dojo.require("dojo.lang.declare");
-dojo.require("dojo.experimental");
-
-/* summary:
- * This is an abstract API that data provider implementations conform to.
- * This file defines methods signatures and intentionally leaves all the
- * methods unimplemented.
- */
-dojo.experimental("dojo.data.core.Read");
-
-dojo.declare("dojo.data.core.Read", null, {
- get: function(/* item */ item, /* attribute || attribute-name-string */ attribute, /* value? */ defaultValue) {
- /* summary:
- * Returns a single attribute value.
- * Returns defaultValue if *item* does not have a value for *attribute*.
- * Returns null if null was explicitly set as the attribute value.
- * Returns undefined if the item does not have a value for the given
- * attribute, or if the item does not have the attribute.
- * description:
- * Saying that an "item x does not have a value for an attribute y"
- * is identical to saying that an "item x does not have attribute y".
- * It is an oxymoron to say "that attribute is present but has no values"
- * or "the item has that attribute but does not have any attribute values".
- * If store.hasAttribute(item, attribute) returns false, then
- * store.get(item, attribute) will return undefined.
- */
-
- /* exceptions:
- * Conforming implementations should throw an exception if *item* is not
- * an item, or *attribute* is neither an attribute object or a string.
- * examples:
- * var darthVader = store.get(lukeSkywalker, "father");
- */
- dojo.unimplemented('dojo.data.core.Read.get');
- var attributeValue = null;
- return attributeValue; // a literal, an item, null, or undefined (never an array)
- },
-
- getValues: function(/* item */ item, /* attribute || attribute-name-string */ attribute) {
- /* summary:
- * This getValues() method works just like the get() method, but getValues()
- * always returns an array rather than a single attribute value. The array
- * may be empty, may contain a single attribute value, or may contain many
- * attribute values.
- * If the item does not have a value for the given attribute, then getValues()
- * will return an empty array: []. (So, if store.hasAttribute(item, attribute)
- * returns false, then store.getValues(item, attribute) will return [].)
- */
-
- /* exceptions:
- * Throws an exception if *item* is not an item, or *attribute* is neither an
- * attribute object or a string.
- * examples:
- * var friendsOfLuke = store.get(lukeSkywalker, "friends");
- */
- dojo.unimplemented('dojo.data.core.Read.getValues');
- var array = null;
- return array; // an array that may contain literals and items
- },
-
- getAttributes: function(/* item */ item) {
- /* summary:
- * Returns an array with all the attributes that this item has. This
- * method will always return an array; if the item has no attributes
- * at all, getAttributes() will return an empty array: [].
- */
-
- /* exceptions:
- * Throws an exception if *item* is not an item.
- * examples:
- * var array = store.getAttributes(kermit);
- */
- dojo.unimplemented('dojo.data.core.Read.getAttributes');
- var array = null;
- return array; // array
- },
-
- hasAttribute: function(/* item */ item, /* attribute || attribute-name-string */ attribute) {
- /* summary:
- * Returns true if the given *item* has a value for the given *attribute*.
- */
-
- /* exceptions:
- * Throws an exception if *item* is not an item, or *attribute* is neither an
- * attribute object or a string.
- * examples:
- * var trueOrFalse = store.hasAttribute(kermit, "color");
- */
- dojo.unimplemented('dojo.data.core.Read.hasAttribute');
- return false; // boolean
- },
-
- containsValue: function(/* item */ item, /* attribute || attribute-name-string */ attribute, /* anything */ value) {
- /* summary:
- * Returns true if the given *value* is one of the values that getValue()
- * would return.
- */
-
- /* exceptions:
- * Throws an exception if *item* is not an item, or *attribute* is neither an
- * attribute object or a string.
- * examples:
- * var trueOrFalse = store.containsValue(kermit, "color", "green");
- */
- dojo.unimplemented('dojo.data.core.Read.containsValue');
- return false; // boolean
- },
-
- isItem: function(/* anything */ something) {
- /* summary:
- * Returns true if *something* is an item. Returns false if *something*
- * is a literal or is any object other than an item.
- */
-
- /* examples:
- * var yes = store.isItem(store.newItem());
- * var no = store.isItem("green");
- */
- dojo.unimplemented('dojo.data.core.Read.isItem');
- return false; // boolean
- },
-
- isItemAvailable: function(/* anything */ something) {
- /* summary:
- * Returns false if isItem(something) is false. Returns false if
- * if isItem(something) is true but the the item is not yet available
- * in local memory (for example, if the item has not yet been fully
- * loaded from the server).
- */
-
- /* examples:
- * var yes = store.isItemAvailable(store.newItem());
- * var no = store.isItemAvailable("green");
- */
- dojo.unimplemented('dojo.data.core.Read.isItemAvailable');
- return false; // boolean
- },
-
- find: function(/* object? || dojo.data.core.Result */ keywordArgs) {
- /* summary:
- * Given a query, this method executes the query and makes the
- * results available as data items.
- * description:
- * A Result object will always be returned, even if the result set
- * is empty. A Result object will always be returned immediately.
- * By default the Result object will be fully populated with result
- * items as soon as it is created (synchronously). The caller may
- * request that the find() operation be executed asynchronously, in
- * which case the Result object will be returned immediately but
- * will not yet be populated with result items.
- * For more info about the Result API, see dojo.data.core.Result
- * keywordArgs:
- * The keywordArgs parameter may either be an instance of
- * dojo.data.core.Result or may be a simple anonymous object
- * that may contain any of the following:
- * { query: query-string or query-object,
- * sync: Boolean,
- * saveResult: Boolean,
- * onbegin: Function,
- * onnext: Function,
- * oncompleted: Function,
- * onerror: Function,
- * scope: object
- * }
- * All implementations should accept keywordArgs objects with any of
- * the 7 standard properties: query, sync, saveResult, onnext, oncompleted,
- * onerror, and scope. Some implementations may accept additional
- * properties in the keywordArgs object as valid parameters, such as
- * {maxResults:100} or {includeOutliers:true}.
- * The *query* parameter.
- * The query may be optional in some data store implementations.
- * The dojo.data.core.Read API does not specify the syntax or semantics
- * of the query itself -- each different data store implementation
- * may have its own notion of what a query should look like.
- * In most implementations the query will probably be a string, but
- * in some implementations the query might be a Date, or a number,
- * or some complex keyword parameter object. The dojo.data.core.Read
- * API is completely agnostic about what the query actually is.
- * The *sync* parameter.
- * The sync parameter specifies whether the find operation is asynchronous
- * or not, with {sync:false} for asynchronous finds operations and
- * {sync:true} for synchronous find operations. If no sync parameter
- * is specified, the default is {sync:true}.
- * The *saveResult* parameter.
- * If saveResult is true, then the find call will return a Result
- * object that includes a property called *items*, and *items* will
- * contain an array of the items found by the query. If no saveResult
- * parameter is specified and no onnext Function is set, the default
- * saveResult value will be {saveResult:true}. If no saveResult
- * parameter is specified but an onnext Function is set, the default
- * saveResult value will be {saveResult:false}.
- * The *onbegin* parameter.
- * If an onbegin callback function is provided, the callback function
- * will be called just once, before the first onnext callback is called.
- * The onbegin callback function will be passed a single argument:
- * the Result object. The onbegin callback will be called even if
- * query returns zero items.
- * The *onnext* parameter.
- * If an onnext callback function is provided, the callback function
- * will be called as each item in the result is received. The callback
- * function will be passed two arguments: the item itself, and the
- * Result object.
- * The *oncompleted* parameter.
- * If an oncompleted callback function is provided, the callback function
- * will be called just once, after the last onnext callback is called.
- * The oncompleted callback function will be passed a single argument:
- * the Result object. The oncompleted callback will be called even if
- * query returns zero items.
- * The *onerror* parameter.
- * If an onerror callback function is provided, the callback function
- * will be called if there is any sort of error while attempting to
- * execute the query..
- * The onerror callback function will be passed two arguments:
- * an Error object and the Result object.
- * The *scope* parameter.
- * If a scope object is provided, all of the callback function (onnext,
- * oncompleted, onerror) will be invoked in the context of the scope
- * object. In the body of the callback function, the value of the "this"
- * keyword will be the scope object. If no scope object is provided,
- * the callback functions will be called in the context of dj_global.
- * For example, onnext.call(scope, item, result) vs.
- * onnext.call(dj_global, item, result)
- * returns:
- * The find() method will return an instance of dojo.data.core.Result
- * (or an object that extends dojo.data.core.Result or conforms to the
- * dojo.data.core.Result API). If the find() method was passed an
- * instance of dojo.data.core.Result as an argument, the same instance
- * will be returned. If the find() method was passed a simple
- * keywordArgs object, like {sync:true}, then the properties in the
- * keywordArgs object will be copied into the Result object that
- * find() returns. The Result object will also have additional
- * properties when it is returned. The result.store property will
- * have a pointer to the datastore object that find() is a method of.
- * The result.length will be -1 if the find() operation has not
- * finished or if there was an error; if the find() operation
- * finishes successfully, result.length will be the number of items
- * that were found. If the saveResult property was set to true, or
- * if no onnext callback was set, the result.item property will
- * contain an array of data items. The result.resultMetadata property
- * will contain an additional metaData that was returned by the query
- * along with the data items. For example, if the query returned a
- * list of 500 houses for sales, the resultMetadata property might
- * contain the average asking price of the houses, or info about
- * how long the query took to execute.
- */
-
- /* exceptions:
- * Throws an exception if the query is not valid, or if the query
- * is required but was not supplied.
- * examples:
- * var result = store.find({query:"all books"});
- * var result = store.find();
- * var result = store.find({query:"foo/bar", sync:true});
- * var result = store.find({query:"foo/bar", sync:false, onnext:callback});
- * var result = store.find({query:{author:"King"}, maxResults:100});
- */
- dojo.unimplemented('dojo.data.core.Read.find');
- var result = null; // new dojo.data.core.Result().
- return result; // a dojo.data.core.Result object
- },
-
- getIdentity: function(/* item */ item) {
- /* summary:
- * Returns a unique identifer for an item. The return value will be
- * either a string or something that has a toString() method (such as,
- * for example, a dojo.uuid.Uuid object).
- * description:
- * ISSUE -
- * Should we move this method out of dojo.data.core.Read, and put it somewhere
- * else, like maybe dojo.data.core.Identity?
- */
-
- /* exceptions:
- * Conforming implementations may throw an exception or return null if
- * item is not an item.
- * examples:
- * var itemId = store.getIdentity(kermit);
- * assert(kermit === store.findByIdentity(store.getIdentity(kermit)));
- */
- dojo.unimplemented('dojo.data.core.Read.getIdentity');
- var itemIdentifyString = null;
- return itemIdentifyString; // string
- },
-
- findByIdentity: function(/* string */ identity) {
- /* summary:
- * Given the identity of an item, this method returns the item that has
- * that identity. Conforming implementations should return null if there
- * is no item with the given identity. Implementations of findByIdentity()
- * may sometimes return an item from a local cache and may sometimes
- * fetch an item from a remote server, in which case the call to
- * findByIdentity() will block until the findByIdentity() implementation
- * has the item to return.
- * description:
- * FIXME -
- * In our meeting on 2006-10-03 we resolved to move the findByIdentity()
- * method out of the Read.js API and into the Identity.js API, as soon
- * as we have an Identity.js API.
- */
-
- /* examples:
- * var alaska = store.getByIdentity("AK");
- * assert("AK" == store.getIdentity(store.getByIdentity("AK")));
- */
- dojo.unimplemented('dojo.data.core.Read.getByIdentity');
- var item = null;
- return item; // item
- }
-});
diff --git a/source/web/scripts/ajax/dojo/src/data/core/RemoteStore.js b/source/web/scripts/ajax/dojo/src/data/core/RemoteStore.js
deleted file mode 100644
index 2a4c2db88d..0000000000
--- a/source/web/scripts/ajax/dojo/src/data/core/RemoteStore.js
+++ /dev/null
@@ -1,590 +0,0 @@
-/*
- Copyright (c) 2004-2006, The Dojo Foundation
- All Rights Reserved.
-
- Licensed under the Academic Free License version 2.1 or above OR the
- modified BSD license. For more information on Dojo licensing, see:
-
- http://dojotoolkit.org/community/licensing.shtml
-*/
-
-dojo.provide("dojo.data.core.RemoteStore");
-dojo.require("dojo.data.core.Read");
-dojo.require("dojo.data.core.Write");
-dojo.require("dojo.data.core.Result");
-dojo.require("dojo.experimental");
-dojo.require("dojo.Deferred");
-dojo.require("dojo.lang.declare");
-dojo.require("dojo.json");
-dojo.require("dojo.io.*");
-
-/* summary:
- * RemoteStore is an implemention the dojo.data.core.Read and Write APIs.
- * It is designed to serve as a base class for dojo.data stores which interact
- * with stateless web services that can querying and modifying record-oriented
- * data. Its features include asynchronous and synchronous querying and saving;
- * caching of queries; transactions; and datatype mapping.
- */
-
-/**************************************************************************
- Classes derived from RemoteStore should implement the following three
- methods, which are each described in the documentation below:
- _setupQueryRequest(result, requestKw)
- _resultToQueryData(responseData)
- _setupSaveRequest(saveKeywordArgs, requestKw)
-
- Data Consistency Guarantees
-
- * if two references to the same item are obtained (e.g. from two different query results) any changes to one item will be reflected in the other item reference.
- * If an item has changed on the server and the item is retrieved via a new query, any previously obtained references to the item will (silently) reflect these new values.
- * However, any uncommitted changes will not be "overwritten".
- * If server queries are made while there are uncommitted changes, no attempt is made to evaluate whether the modifications would change the query result, e.g. add any uncommitted new items that match the query.
- * However, uncomitted deleted items are removed from the query result.
- * The transaction isolation level is equivalent to JDBC's "Read Committed":
- each store instance is treated as separate transaction; since there is no row or table locking so nonrepeatable and phantom reads are possible.
-
- Memory Usage
-
- Because Javascript doesn't support weak references or user-defined finalize methods, there is a tradeoff between data consistency and memory usage.
- In order to implement the above consistency guarantees (and to provide caching), RemoteStore remembers all the queries and items retrieved.
- To reduce memory consumption, use the method forgetResults(query);
-
- Store assumptions
-
- RemoteStore makes some assumptions about the nature of the remote store, things may break if these aren't true:
- * that the items contained in a query response include all the attributes of the item (e.g. all the columns of a row).
- (to fix: changes need to record add and removes and fix self._data[key] = [ attributeDict, refCount]; )
- * the query result may contain references to items that are not available to the client; use isItem() to test for the presence of the item.
- * that modification to an item's attributes won't change it's primary key.
-
-**************************************************************************/
-
-/* dojo.data API issues to resolve:
- * save should returns a Deferred, might want to add keyword argument with 'sync'
- */
-
-dojo.experimental("dojo.data.core.RemoteStore");
-
-dojo.lang.declare("dojo.data.core.RemoteStore", [dojo.data.core.Read, dojo.data.core.Write], {
-
- _datatypeMap: {
- //map datatype strings to constructor function
- },
-
- //set to customize json serialization
- _jsonRegistry: dojo.json.jsonRegistry,
-
- initializer: function(/* object */ kwArgs) {
- if (!kwArgs) {
- kwArgs = {};
- }
- this._serverQueryUrl = kwArgs.queryUrl || "";
- this._serverSaveUrl = kwArgs.saveUrl || "";
-
- this._deleted = {}; // deleted items {id: 1}
- this._changed = {}; // {id: {attr: [new values]}} // [] if attribute is removed
- this._added = {}; // {id: 1} list of added items
- this._results = {}; // {query: [ id1, ]}; // todo: make MRUDict of queries
- /* data is a dictionary that conforms to this format:
- { id-string: { attribute-string: [ value1, value2 ] } }
- where value is either an atomic JSON data type or
- { 'id': string } for references to items
- or
- { 'type': 'name', 'value': 'value' } for user-defined datatypes
- */
- this._data = {}; // {id: [values, refcount]} // todo: handle refcount
- this._numItems = 0;
- },
-
- _setupQueryRequest: function(/* dojo.data.core.Result */ result, /* object */ requestKw) {
- /* summary:
- * Classes derived from RemoteStore should override this method to
- * provide their own implementations.
- * This function prepares the query request by populating requestKw,
- * an associative array that will be passed to dojo.io.bind.
- */
- result.query = result.query || "";
- requestKw.url = this._serverQueryUrl + encodeURIComponent(result.query);
- requestKw.method = 'get';
- requestKw.mimetype = "text/json";
- },
-
- _resultToQueryMetadata: function(/* varies */ serverResponseData) {
- /* summary:
- * Classes derived from RemoteStore should override this method to
- * provide their own implementations.
- * Converts the server response data into the resultMetadata object
- * that will be returned to the caller.
- * returns:
- * This simple default implementation just returns the entire raw
- * serverResponseData, allowing the caller complete access to the
- * raw response data and metadata.
- */
- return serverResponseData;
- },
-
- _resultToQueryData: function(/* varies */ serverResponseData) {
- /* summary:
- * Classes derived from RemoteStore should override this method to
- * provide their own implementations.
- * Converts the server response data into the internal data structure
- * used by RemoteStore.
- * returns:
- * The RemoteStore implementation requires _resultToQueryData() to
- * return an object that looks like:
- * {item1-identifier-string: {
- * attribute1-string: [ value1, value2, ... ],
- * attribute2-string: [ value3, value4, ... ],
- * ...
- * },
- * item2-identifier-string: {
- * attribute1-string: [ value10, value11, ... ],
- * attribute2-string: [ value12, value13, ... ],
- * ...
- * }
- * }
- * where value is either an atomic JSON data type or
- * {'id': string } for references to items
- * or
- * {'type': 'name', 'value': 'value' } for user-defined datatypes
- * data:
- * This simple default implementation assumes that the *serverResponseData*
- * argument is an object that looks like:
- * { data:{ ... }, format:'format identifier', other metadata }
- *
- */
- return serverResponseData.data;
- },
-
- _remoteToLocalValues: function(/* object */ attributes) {
- for (var key in attributes) {
- var values = attributes[key];
- for (var i = 0; i < values.length; i++) {
- var value = values[i];
- var type = value.datatype || value.type;
- if (type) {
- // todo: better error handling?
- var localValue = value.value;
- if (this._datatypeMap[type])
- localValue = this._datatypeMap[type](value);
- values[i] = localValue;
- }
- }
- }
- return attributes; // object (attributes argument, modified in-place)
- },
-
- _queryToQueryKey: function(query) {
- /* summary:
- * Convert the query to a string that uniquely represents this query.
- * (Used by the query cache.)
- */
- if (typeof query == "string")
- return query;
- else
- return dojo.json.serialize(query);
- },
-
- _assertIsItem: function(/* item */ item) {
- if (!this.isItem(item)) {
- throw new Error("dojo.data.RemoteStore: a function was passed an item argument that was not an item");
- }
- },
-
- get: function(/* item */ item, /* attribute || string */ attribute, /* value? */ defaultValue) {
- // summary: See dojo.data.core.Read.get()
- var valueArray = this.getValues(item, attribute);
- if (valueArray.length == 0) {
- return defaultValue;
- }
- return valueArray[0]; // value
- },
-
- getValues: function(/* item */ item, /* attribute || string */ attribute) {
- // summary: See dojo.data.core.Read.getValues()
- var itemIdentity = this.getIdentity(item);
- this._assertIsItem(itemIdentity);
- var changes = this._changed[itemIdentity];
- if (changes) {
- var newvalues = changes[attribute];
- if (newvalues !== undefined) {
- return newvalues; // Array
- }
- else {
- return []; // Array
- }
- }
- // return item.atts[attribute];
- return this._data[itemIdentity][0][attribute]; // Array
- },
-
- getAttributes: function(/* item */ item) {
- // summary: See dojo.data.core.Read.getAttributes()
- var itemIdentity = this.getIdentity(item);
- if (!itemIdentity)
- return undefined; //todo: raise exception
-
- var atts = [];
- //var attrDict = item.attrs;
- var attrDict = this._data[itemIdentity][0];
- for (var att in attrDict) {
- atts.push(att);
- }
- return atts; // Array
- },
-
- hasAttribute: function(/* item */ item, /* attribute || string */ attribute) {
- // summary: See dojo.data.core.Read.hasAttribute()
- var valueArray = this.getValues(item, attribute);
- return valueArray.length ? true : false; // Boolean
- },
-
- containsValue: function(/* item */ item, /* attribute || string */ attribute, /* value */ value) {
- // summary: See dojo.data.core.Read.containsValue()
- var valueArray = this.getValues(item, attribute);
- for (var i=0; i < valueArray.length; i++) {
- if (valueArray[i] == value) {
- return true; // Boolean
- }
- }
- return false; // Boolean
- },
-
- isItem: function(/* anything */ something) {
- // summary: See dojo.data.core.Read.isItem()
- if (!something) { return false; }
- var itemIdentity = something;
- // var id = something.id ? something.id : something;
- // if (!id) { return false; }
- if (this._deleted[itemIdentity]) { return false; } //todo: do this?
- if (this._data[itemIdentity]) { return true; }
- if (this._added[itemIdentity]) { return true; }
- return false; // Boolean
- },
-
- find: function(/* object? || dojo.data.core.Result */ keywordArgs) {
- // summary: See dojo.data.core.Read.find()
- /* description:
- * In addition to the keywordArgs parameters described in the
- * dojo.data.core.Read.find() documentation, the keywordArgs for
- * the RemoteStore find() method may include a bindArgs parameter,
- * which the RemoteStore will pass to dojo.io.bind when it sends
- * the query. The bindArgs parameter should be a keyword argument
- * object, as described in the dojo.io.bind documentation.
- */
- var result = null;
- if (keywordArgs instanceof dojo.data.core.Result) {
- result = keywordArgs;
- result.store = this;
- } else {
- result = new dojo.data.core.Result(keywordArgs, this);
- }
- var query = result.query;
-
- //todo: use this._results to implement caching
- var self = this;
- var bindfunc = function(type, data, evt) {
- var scope = result.scope || dj_global;
- if(type == "load") {
- //dojo.debug("loaded 1 " + dojo.json.serialize(data) );
- result.resultMetadata = self._resultToQueryMetadata(data);
- var dataDict = self._resultToQueryData(data);
- //dojo.debug("loaded 2 " + dojo.json.serialize(dataDict) );
- if (result.onbegin) {
- result.onbegin.call(scope, result);
- }
- var count = 0;
- var resultData = [];
- var newItemCount = 0;
- for (var key in dataDict) {
- if (result._aborted) {
- break;
- }
- if (!self._deleted[key]) { //skip deleted items
- //todo if in _added, remove from _added
- var values = dataDict[key];
- var attributeDict = self._remoteToLocalValues(values);
- var existingValue = self._data[key];
- var refCount = 1;
- if (existingValue) {
- refCount = ++existingValue[1]; //increment ref count
- } else {
- newItemCount++;
- }
- //note: if the item already exists, we replace the item with latest set of attributes
- //this assumes queries always return complete records
- self._data[key] = [ attributeDict, refCount];
- resultData.push(key);
- count++;
- if (result.onnext) {
- result.onnext.call(scope, key, result);
- }
- }
- }
- self._results[self._queryToQueryKey(query)] = resultData;
- self._numItems += newItemCount;
-
- result.length = count;
- if (result.saveResult) {
- result.items = resultData;
- }
- if (!result._aborted && result.oncompleted) {
- result.oncompleted.call(scope, result);
- }
- } else if(type == "error" || type == 'timeout') {
- // here, "data" is our error object
- //todo: how to handle timeout?
- dojo.debug("find error: " + dojo.json.serialize(data));
- if (result.onerror) {
- result.onerror.call(scope, data);
- }
- }
- };
-
- var bindKw = keywordArgs.bindArgs || {};
- bindKw.sync = result.sync;
- bindKw.handle = bindfunc;
-
- this._setupQueryRequest(result, bindKw);
- var request = dojo.io.bind(bindKw);
- //todo: error if not bind success
- //dojo.debug( "bind success " + request.bindSuccess);
- result._abortFunc = request.abort;
- return result;
- },
-
- getIdentity: function(item) {
- // summary: See dojo.data.core.Read.getIdentity()
- if (!this.isItem(item)) {
- return null;
- }
- return (item.id ? item.id : item); // Identity
- },
-
-/*
- findByIdentity: function(id) {
- var item = this._latestData[id];
- var idQuery = "/" + "*[.='"+id+"']";
- //if (!item) item = this.find(idQuery, {async=0}); //todo: support bind(async=0)
- if (item)
- return new _Item(id, item, this);
- return null;
- },
-*/
-
-/****
-Write API
-***/
- newItem: function(/* object? */ attributes, /* object? */ keywordArgs) {
- var itemIdentity = keywordArgs['identity'];
- if (this._deleted[itemIdentity]) {
- delete this._deleted[itemIdentity];
- } else {
- this._added[itemIdentity] = 1;
- //todo? this._numItems++; ?? but its not in this._data
- }
- if (attributes) {
- // FIXME:
- for (var attribute in attributes) {
- var valueOrArrayOfValues = attributes[attribute];
- if (dojo.lang.isArray(valueOrArrayOfValues)) {
- this.setValues(itemIdentity, attribute, valueOrArrayOfValues);
- } else {
- this.set(itemIdentity, attribute, valueOrArrayOfValues);
- }
- }
- }
- return { id: itemIdentity };
- },
-
- deleteItem: function(/* item */ item) {
- var identity = this.getIdentity(item);
- if (!identity) {
- return false;
- }
-
- if (this._added[identity]) {
- delete this._added[identity];
- } else {
- this._deleted[identity] = 1;
- //todo? this._numItems--; ?? but its still in this._data
- }
-
- if (this._changed[identity]) {
- delete this._changed[identity];
- }
- return true;
- },
-
- setValues: function(/* item */ item, /* attribute || string */ attribute, /* array */ values) {
- var identity = this.getIdentity(item);
- if (!identity) {
- return undefined; //todo: raise exception
- }
-
- var changes = this._changed[identity];
- if (!changes) {
- changes = {}
- this._changed[identity] = changes;
- }
- changes[attribute] = values;
- return true; // boolean
- },
-
- set: function(/* item */ item, /* attribute || string */ attribute, /* almost anything */ value) {
- return this.setValues(item, attribute, [value]);
- },
-
- unsetAttribute: function(/* item */ item, /* attribute || string */ attribute) {
- return this.setValues(item, attribute, []);
- },
-
- _initChanges: function() {
- this._deleted = {};
- this._changed = {};
- this._added = {};
- },
-
- _setupSaveRequest: function(saveKeywordArgs, requestKw) {
- /* summary:
- * This function prepares the save request by populating requestKw,
- * an associative array that will be passed to dojo.io.bind.
- */
- requestKw.url = this._serverSaveUrl;
- requestKw.method = 'post';
- requestKw.mimetype = "text/plain";
- var deleted = [];
- for (var key in this._deleted) {
- deleted.push(key);
- }
- //don't need _added in saveStruct, changed covers that info
- var saveStruct = {'changed': this._changed, 'deleted': deleted };
- var oldRegistry = dojo.json.jsonRegistry;
- dojo.json.jsonRegistry = this._jsonRegistry;
- var jsonString = dojo.json.serialize(saveStruct);
- dojo.json.jsonRegistry = oldRegistry;
- requestKw.postContent = jsonString;
- },
-
- save: function(/* object? */ keywordArgs) {
- /* summary:
- * Saves all the changes that have been made.
- * keywordArgs:
- * The optional keywordArgs parameter may contain 'sync' to specify
- * whether the save operation is asynchronous or not. The default is
- * asynchronous.
- * examples:
- * store.save();
- * store.save({sync:true});
- * store.save({sync:false});
- */
- keywordArgs = keywordArgs || {};
- var result = new dojo.Deferred();
- var self = this;
-
- var bindfunc = function(type, data, evt) {
- if(type == "load"){
- if (result.fired == 1) {
- //it seems that mysteriously "load" sometime
- //gets called after "error"
- //so check if an error has already occurred
- //and stop if it has
- return;
- }
- //update this._data upon save
- var key = null;
- for (key in self._added) {
- if (!self._data[key])
- self._data[key] = [{} , 1];
- }
- for (key in self._changed) {
- var existing = self._data[key];
- var changes = self._changed[key];
- if (existing) {
- existing[0] = changes;
- } else {
- self._data[key] = [changes, 1];
- }
- }
- for (key in self._deleted) {
- if (self._data[key]) {
- delete self._data[key];
- }
- }
- self._initChanges();
- result.callback(true); //todo: what result to pass?
- } else if(type == "error" || type == 'timeout'){
- result.errback(data); //todo: how to handle timeout
- }
- };
-
- var bindKw = { sync: keywordArgs["sync"], handle: bindfunc };
- this._setupSaveRequest(keywordArgs, bindKw);
- var request = dojo.io.bind(bindKw);
- result.canceller = function(deferred) { request.abort(); };
-
- return result;
- },
-
- revert: function() {
- this._initChanges();
- return true;
- },
-
- isDirty: function(/*item?*/ item) {
- if (item) {
- // return true if this item is dirty
- var identity = item.id || item;
- return this._deleted[identity] || this._changed[identity];
- } else {
- // return true if any item is dirty
- var key = null;
- for (key in this._changed) {
- return true;
- }
- for (key in this._deleted) {
- return true;
- }
- for (key in this._added) {
- return true;
- }
-
- return false;
- }
- },
-
-/**
-additional public methods
-*/
- createReference: function(idstring) {
- return { id : idstring };
- },
-
- getSize: function() {
- return this._numItems;
- },
-
- forgetResults: function(query) {
- var queryKey = this._queryToQueryKey(query);
- var results = this._results[queryKey];
- if (!results) return false;
-
- var removed = 0;
- for (var i = 0; i < results.length; i++) {
- var key = results[i];
- var existingValue = this._data[key];
- if (existingValue[1] <= 1) {
- delete this._data[key];
- removed++;
- }
- else
- existingValue[1] = --existingValue[1];
- }
- delete this._results[queryKey];
- this._numItems -= removed;
- return true;
- }
-});
-
-
-
diff --git a/source/web/scripts/ajax/dojo/src/data/core/Result.js b/source/web/scripts/ajax/dojo/src/data/core/Result.js
deleted file mode 100644
index da6a4e63d9..0000000000
--- a/source/web/scripts/ajax/dojo/src/data/core/Result.js
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- Copyright (c) 2004-2006, The Dojo Foundation
- All Rights Reserved.
-
- Licensed under the Academic Free License version 2.1 or above OR the
- modified BSD license. For more information on Dojo licensing, see:
-
- http://dojotoolkit.org/community/licensing.shtml
-*/
-
-dojo.provide("dojo.data.core.Result");
-dojo.require("dojo.lang.declare");
-dojo.require("dojo.experimental");
-
-/* summary:
- * Instances of dojo.data.core.Result are returned by the find() method
- * of datastores that implement the dojo.data.core.Read API. For more
- * documentation, see the find() method on dojo.data.core.Read.
- */
-dojo.experimental("dojo.data.core.Result");
-
-dojo.declare("dojo.data.core.Result", null, {
- initializer: function(/* object */ keywordArgs, /* dojo.data.core.Read */ store) {
- this.fromKwArgs(keywordArgs || {});
- this.items = null;
- this.resultMetadata = null;
- this.length = -1; // -1 until completion
- this.store = store;
-
- this._aborted = false;
- this._abortFunc = null;
- },
-
- /* Whether the request should be made synchronously.
- * We default to true if there's no {sync:false} property in the keywordArgs
- * in the initializer for a given instance of dojo.data.core.Result.
- */
- sync: true,
-
- //timeout: function(type){ }, todo: support this
- //timeoutSeconds: 0, todo: support this
-
- // the abort method needs to be filled in by the transport that accepts the
- // bind() request
- abort: function() {
- this._aborted = true;
- if (this._abortFunc) {
- this._abortFunc();
- }
- },
-
- fromKwArgs: function(/* object */ kwArgs) {
- if (typeof kwArgs.saveResult == "undefined") {
- this.saveResult = kwArgs.onnext ? false : true;
- }
- dojo.lang.mixin(this, kwArgs);
- }
-});
diff --git a/source/web/scripts/ajax/dojo/src/data/core/Write.js b/source/web/scripts/ajax/dojo/src/data/core/Write.js
deleted file mode 100644
index 24df296a2e..0000000000
--- a/source/web/scripts/ajax/dojo/src/data/core/Write.js
+++ /dev/null
@@ -1,169 +0,0 @@
-/*
- Copyright (c) 2004-2006, The Dojo Foundation
- All Rights Reserved.
-
- Licensed under the Academic Free License version 2.1 or above OR the
- modified BSD license. For more information on Dojo licensing, see:
-
- http://dojotoolkit.org/community/licensing.shtml
-*/
-
-dojo.provide("dojo.data.core.Write");
-dojo.require("dojo.data.core.Read");
-dojo.require("dojo.lang.declare");
-dojo.require("dojo.experimental");
-
-/* summary:
- * This is an abstract API that data provider implementations conform to.
- * This file defines methods signatures and intentionally leaves all the
- * methods unimplemented.
- */
-dojo.experimental("dojo.data.core.Write");
-
-dojo.declare("dojo.data.core.Write", dojo.data.core.Read, {
- newItem: function(/* object? */ keywordArgs) {
- /* summary:
- * Returns a newly created item. Sets the attributes of the new
- * item based on the *keywordArgs* provided.
- */
-
- /* exceptions:
- * Throws an exception if *keywordArgs* is a string or a number or
- * anything other than a simple anonymous object.
- * examples:
- * var kermit = store.newItem({name: "Kermit", color:[blue, green]});
- */
- var newItem;
- dojo.unimplemented('dojo.data.core.Write.newItem');
- return newItem; // item
- },
-
- deleteItem: function(/* item */ item) {
- /* summary:
- * Deletes an item from the store.
- */
-
- /* exceptions:
- * Throws an exception if the argument *item* is not an item
- * (if store.isItem(item) returns false).
- * examples:
- * var success = store.deleteItem(kermit);
- */
- dojo.unimplemented('dojo.data.core.Write.deleteItem');
- return false; // boolean
- },
-
- set: function(/* item */ item, /* attribute || string */ attribute, /* almost anything */ value) {
- /* summary:
- * Sets the value of an attribute on an item.
- * Replaces any previous value or values.
- */
-
- /* exceptions:
- * Throws an exception if *item* is not an item, or if *attribute*
- * is neither an attribute object or a string.
- * Throws an exception if *value* is undefined.
- * examples:
- * var success = store.set(kermit, "color", "green");
- */
- dojo.unimplemented('dojo.data.core.Write.set');
- return false; // boolean
- },
-
- setValues: function(/* item */ item, /* attribute || string */ attribute, /* array */ values) {
- /* summary:
- * Adds each value in the *values* array as a value of the given
- * attribute on the given item.
- * Replaces any previous value or values.
- * Calling store.setValues(x, y, []) (with *values* as an empty array) has
- * the same effect as calling store.clear(x, y).
- */
-
- /* exceptions:
- * Throws an exception if *values* is not an array, if *item* is not an
- * item, or if *attribute* is neither an attribute object or a string.
- * examples:
- * var success = store.setValues(kermit, "color", ["green", "aqua"]);
- * success = store.setValues(kermit, "color", []);
- * if (success) {assert(!store.hasAttribute(kermit, "color"));}
- */
- dojo.unimplemented('dojo.data.core.Write.setValues');
- return false; // boolean
- },
-
- unsetAttribute: function(/* item */ item, /* attribute || string */ attribute) {
- /* summary:
- * Deletes all the values of an attribute on an item.
- */
-
- /* exceptions:
- * Throws an exception if *item* is not an item, or if *attribute*
- * is neither an attribute object or a string.
- * examples:
- * var success = store.unsetAttribute(kermit, "color");
- * if (success) {assert(!store.hasAttribute(kermit, "color"));}
- */
- dojo.unimplemented('dojo.data.core.Write.clear');
- return false; // boolean
- },
-
- save: function() {
- /* summary:
- * Saves to the server all the changes that have been made locally.
- * The save operation may take some time. By default the save will
- * be done synchronously, before the call returns. The caller may
- * be request an asynchronous save by passing {async: true}.
- * If the caller requests an asynchronous save, the data store may do
- * either a synchronous or asynchronous save, whichever it prefers.
- * Different data store implementations may take additional optional
- * parameters.
- * description:
- * ISSUE -
- * Should the async save take a callback, like this:
- * store.save({sync: false, onComplete: callback});
- * Or should the async save return a Deferred, like this:
- * var deferred = store.save({sync: false});
- * deferred.addCallbacks(successCallback, errorCallback);
- * Or should save() return boolean, like this:
- * var success = store.save();
- */
-
- /* examples:
- * var success = store.save();
- * var success = store.save({sync: false});
- */
- dojo.unimplemented('dojo.data.core.Write.save');
- return false; // boolean
- },
-
- revert: function() {
- /* summary:
- * Discards any unsaved changes.
- */
-
- /* examples:
- * var success = store.revert();
- */
- dojo.unimplemented('dojo.data.core.Write.revert');
- return false; // boolean
- },
-
- isDirty: function(/* item? */ item) {
- /* summary:
- * Given an item, isDirty() returns true if the item has been modified
- * since the last save(). If isDirty() is called with no *item* argument,
- * then this method returns true if any item has been modified since
- * the last save().
- */
-
- /* exceptions:
- * Throws an exception if isDirty() is passed an argument and the
- * argument is not an item.
- * examples:
- * var trueOrFalse = store.isDirty(kermit); // true if kermit is dirty
- * var trueOrFalse = store.isDirty(); // true if any item is dirty
- */
- dojo.unimplemented('dojo.data.core.Write.isDirty');
- return false; // boolean
- }
-});
diff --git a/source/web/scripts/ajax/dojo/src/data/old/Attribute.js b/source/web/scripts/ajax/dojo/src/data/old/Attribute.js
deleted file mode 100644
index 3c0a4ceb10..0000000000
--- a/source/web/scripts/ajax/dojo/src/data/old/Attribute.js
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
- Copyright (c) 2004-2006, The Dojo Foundation
- All Rights Reserved.
-
- Licensed under the Academic Free License version 2.1 or above OR the
- modified BSD license. For more information on Dojo licensing, see:
-
- http://dojotoolkit.org/community/licensing.shtml
-*/
-
-dojo.provide("dojo.data.old.Attribute");
-dojo.require("dojo.data.old.Item");
-dojo.require("dojo.lang.assert");
-
-// -------------------------------------------------------------------
-// Constructor
-// -------------------------------------------------------------------
-dojo.data.old.Attribute = function(/* dojo.data.old.provider.Base */ dataProvider, /* string */ attributeId) {
- /**
- * summary:
- * An Attribute object represents something like a column in
- * a relational database.
- */
- dojo.lang.assertType(dataProvider, dojo.data.old.provider.Base, {optional: true});
- dojo.lang.assertType(attributeId, String);
- dojo.data.old.Item.call(this, dataProvider);
- this._attributeId = attributeId;
-};
-dojo.inherits(dojo.data.old.Attribute, dojo.data.old.Item);
-
-// -------------------------------------------------------------------
-// Public instance methods
-// -------------------------------------------------------------------
-dojo.data.old.Attribute.prototype.toString = function() {
- return this._attributeId; // string
-};
-
-dojo.data.old.Attribute.prototype.getAttributeId = function() {
- /**
- * summary:
- * Returns the string token that uniquely identifies this
- * attribute within the context of a data provider.
- * For a data provider that accesses relational databases,
- * typical attributeIds might be tokens like "name", "age",
- * "ssn", or "dept_key".
- */
- return this._attributeId; // string
-};
-
-dojo.data.old.Attribute.prototype.getType = function() {
- /**
- * summary: Returns the data type of the values of this attribute.
- */
- return this.get('type'); // dojo.data.old.Type or null
-};
-
-dojo.data.old.Attribute.prototype.setType = function(/* dojo.data.old.Type or null */ type) {
- /**
- * summary: Sets the data type for this attribute.
- */
- this.set('type', type);
-};
diff --git a/source/web/scripts/ajax/dojo/src/data/old/Item.js b/source/web/scripts/ajax/dojo/src/data/old/Item.js
deleted file mode 100644
index 0a2df32a0a..0000000000
--- a/source/web/scripts/ajax/dojo/src/data/old/Item.js
+++ /dev/null
@@ -1,327 +0,0 @@
-/*
- Copyright (c) 2004-2006, The Dojo Foundation
- All Rights Reserved.
-
- Licensed under the Academic Free License version 2.1 or above OR the
- modified BSD license. For more information on Dojo licensing, see:
-
- http://dojotoolkit.org/community/licensing.shtml
-*/
-
-dojo.provide("dojo.data.old.Item");
-dojo.require("dojo.data.old.Observable");
-dojo.require("dojo.data.old.Value");
-dojo.require("dojo.lang.common");
-dojo.require("dojo.lang.assert");
-
-// -------------------------------------------------------------------
-// Constructor
-// -------------------------------------------------------------------
-dojo.data.old.Item = function(/* dojo.data.old.provider.Base */ dataProvider) {
- /**
- * summary:
- * An Item has attributes and attribute values, sort of like
- * a record in a database, or a 'struct' in C. Instances of
- * the Item class know how to store and retrieve their
- * attribute values.
- */
- dojo.lang.assertType(dataProvider, dojo.data.old.provider.Base, {optional: true});
- dojo.data.old.Observable.call(this);
- this._dataProvider = dataProvider;
- this._dictionaryOfAttributeValues = {};
-};
-dojo.inherits(dojo.data.old.Item, dojo.data.old.Observable);
-
-// -------------------------------------------------------------------
-// Public class methods
-// -------------------------------------------------------------------
-dojo.data.old.Item.compare = function(/* dojo.data.old.Item */ itemOne, /* dojo.data.old.Item */ itemTwo) {
- /**
- * summary:
- * Given two Items to compare, this method returns 0, 1, or -1.
- * This method is designed to be used by sorting routines, like
- * the JavaScript built-in Array sort() method.
- *
- * Example:
- *