This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
docpublic:systemes:esup:esup_socle_3_2 [2011/09/22 13:04] PROCACCIA |
docpublic:systemes:esup:esup_socle_3_2 [2011/09/28 20:35] (current) PROCACCIA |
||
|---|---|---|---|
| Line 3593: | Line 3593: | ||
| 24mn30 | 24mn30 | ||
| Portlet Path est recherché dans le portlet.xml | Portlet Path est recherché dans le portlet.xml | ||
| - | la servlet "pluto invoquer" | + | la servlet "pluto invoquer" |
| Line 3622: | Line 3622: | ||
| si pb au ant deploy sur le repartoire $tomcat_home/ | si pb au ant deploy sur le repartoire $tomcat_home/ | ||
| + | |||
| + | ==== Publication ==== | ||
| + | |||
| + | http:// | ||
| + | |||
| + | en mode " | ||
| + | |||
| + | < | ||
| + | [esup@esup32dev ~/ | ||
| + | $ ant db.import -Ddir=/ | ||
| + | Buildfile: build.xml | ||
| + | ... | ||
| + | | ||
| + | | ||
| + | | ||
| + | ... | ||
| + | [java] Import of / | ||
| + | |||
| + | BUILD SUCCESSFUL | ||
| + | Total time: 18 seconds | ||
| + | </ | ||
| + | |||
| + | |||
| + | On peux aussi commencer sur ce premier canal par le publier via l' | ||
| + | |||
| + | Connexion Admin au portail => clique sur Gestionnaire de Cannaux (uPortal/ | ||
| + | helas cela plante ... | ||
| + | |||
| + | < | ||
| + | ERROR [org.jasig.portal.ChannelManager# | ||
| + | org.springframework.webflow.execution.ActionExecutionException: | ||
| + | at org.springframework.webflow.execution.ActionExecutor.execute(ActionExecutor.java: | ||
| + | ... | ||
| + | Caused by: org.springframework.binding.expression.EvaluationException: | ||
| + | ... | ||
| + | Caused by: ognl.MethodFailedException: | ||
| + | ... | ||
| + | Caused by: org.springframework.dao.InvalidDataAccessApiUsageException: | ||
| + | ... | ||
| + | Caused by: java.lang.IllegalArgumentException: | ||
| + | </ | ||
| + | |||
| + | |||
| + | |||
| + | |||
| < | < | ||
| Line 3628: | Line 3673: | ||
| drwxrwxr-x 2 root esup 4096 Sep 22 11:42 / | drwxrwxr-x 2 root esup 4096 Sep 22 11:42 / | ||
| </ | </ | ||
| + | |||
| + | |||
| Exporter le contenu de la base de données: | Exporter le contenu de la base de données: | ||
| Line 3635: | Line 3682: | ||
| $ mkdir db-exports | $ mkdir db-exports | ||
| [esup@esup32dev ~/ | [esup@esup32dev ~/ | ||
| - | $ ant db.export -Dtype=all -Ddir=./db-exports | + | $ ant db.export -Dtype=all -Ddir=/ |
| + | |||
| + | [esup@esup32dev ~/ | ||
| + | $ ls -l db-exports/ | ||
| + | total 44 | ||
| + | drwxrwxr-x 2 esup esup 4096 Sep 22 15:31 channel | ||
| + | drwxrwxr-x 2 esup esup 4096 Sep 22 15:31 channel-type | ||
| + | drwxrwxr-x 2 esup esup 4096 Sep 22 15:32 entity-type | ||
| + | drwxrwxr-x 2 esup esup 4096 Sep 22 15:31 fragment-layout | ||
| + | drwxrwxr-x 2 esup esup 4096 Sep 22 15:32 group_membership | ||
| + | drwxrwxr-x 2 esup esup 4096 Sep 22 15:31 layout | ||
| + | drwxrwxr-x 2 esup esup 4096 Sep 22 15:31 permission_set | ||
| + | drwxrwxr-x 2 esup esup 4096 Sep 22 15:31 profile | ||
| + | drwxrwxr-x 2 esup esup 4096 Sep 22 15:32 structure | ||
| + | drwxrwxr-x 2 esup esup 4096 Sep 22 15:31 theme | ||
| + | drwxrwxr-x 2 esup esup 4096 Sep 22 15:31 user | ||
| + | |||
| </ | </ | ||
| + | ===== stats ===== | ||
| + | |||
| + | video4 39mn30s | ||
| + | |||
| + | Par defaut le portail agrège un fichier de stats definis dns le config.propoerties | ||
| + | |||
| + | < | ||
| + | # STATS Options | ||
| + | esup.stats.file=${esup.log.dir}/ | ||
| + | </ | ||
| + | |||
| + | ===== Mobiles ===== | ||
| + | |||
| + | video4 43mn | ||
| + | |||
| + | Par defaut le portail dispose de deux themes mobiles, iphone et android detectés sur le user-agent. | ||
| + | pour les canaux portlet ... c'est a eux de le gerer. Mais la navigation générale du portail est gérée . | ||
| + | |||
| + | UNR IDF => esup-mobile . | ||
| + | |||
| + | |||
| + | ===== JavaScripts ===== | ||
| + | |||
| + | video 4 46mn30s | ||
| + | javascript jquery ... exemple redimensionner dynamiquement une iframe et afficher aussi un bouton pour sortir l' | ||
| + | Penser a desagreger les CSS afin de rendre les codes source | ||
| ===== Tutoriel esup3 en video ==== | ===== Tutoriel esup3 en video ==== | ||