|
From: <fg...@us...> - 2009-01-30 16:16:06
|
Revision: 963
http://openutils.svn.sourceforge.net/openutils/?rev=963&view=rev
Author: fgiust
Date: 2009-01-30 16:16:01 +0000 (Fri, 30 Jan 2009)
Log Message:
-----------
ignores
Modified Paths:
--------------
trunk/openutils-mgnlstruts11/src/main/java/it/openutils/mgnlstruts11/render/StrutsRenderer.java
trunk/openutils-mgnlstruts11/src/main/java/it/openutils/mgnlstruts11/taglib/MgnlFormTag.java
trunk/pom.xml
Added Paths:
-----------
trunk/openutils-mgnlstruts11/src/site/
trunk/openutils-mgnlstruts11/src/site/apt/
trunk/openutils-mgnlstruts11/src/site/apt/index.apt
trunk/openutils-mgnlstruts11/src/site/changes/
trunk/openutils-mgnlstruts11/src/site/changes/changes.xml
trunk/openutils-mgnlstruts11/src/site/site.xml
Property Changed:
----------------
trunk/openutils-deployment/
trunk/openutils-mgnlcas/
trunk/openutils-mgnlcontrols/
trunk/openutils-mgnlgroovy/
trunk/openutils-mgnlmessages/
Property changes on: trunk/openutils-deployment
___________________________________________________________________
Modified: svn:ignore
- .wtpmodules
target
.classpath
.project
.settings
.checkstyle
+ .wtpmodules
target
.classpath
.project
.settings
.checkstyle
pom.xml.releaseBackup
release.properties
Property changes on: trunk/openutils-mgnlcas
___________________________________________________________________
Added: svn:ignore
+
.settings
.checkstyle
.classpath
.project
target
Property changes on: trunk/openutils-mgnlcontrols
___________________________________________________________________
Modified: svn:ignore
- target
.settings
.checkstyle
.classpath
.project
+ target
.settings
.checkstyle
.classpath
.project
pom.xml.releaseBackup
release.properties
Property changes on: trunk/openutils-mgnlgroovy
___________________________________________________________________
Added: svn:ignore
+ target
.settings
.checkstyle
.classpath
.project
Property changes on: trunk/openutils-mgnlmessages
___________________________________________________________________
Added: svn:ignore
+ target
.settings
.checkstyle
.classpath
.project
Modified: trunk/openutils-mgnlstruts11/src/main/java/it/openutils/mgnlstruts11/render/StrutsRenderer.java
===================================================================
--- trunk/openutils-mgnlstruts11/src/main/java/it/openutils/mgnlstruts11/render/StrutsRenderer.java 2009-01-30 15:41:52 UTC (rev 962)
+++ trunk/openutils-mgnlstruts11/src/main/java/it/openutils/mgnlstruts11/render/StrutsRenderer.java 2009-01-30 16:16:01 UTC (rev 963)
@@ -144,7 +144,7 @@
}
}
}
- MgnlRequestProcessor rp = (MgnlRequestProcessor) getRequestProcessor(mc, servletContext, dispatcher);
+ RequestProcessor rp = getRequestProcessor(mc, servletContext, dispatcher);
rp.process(request, response);
}
catch (ServletException e)
@@ -180,7 +180,6 @@
protected synchronized RequestProcessor getRequestProcessor(ModuleConfig config, ServletContext servletContext,
ActionServlet dispatcher) throws ServletException
{
- String key = Globals.REQUEST_PROCESSOR_KEY + config.getPrefix();
- return (RequestProcessor) servletContext.getAttribute(key);
+ return ((MgnlStrutsServlet) dispatcher).getRequestProcessor(config);
}
}
Modified: trunk/openutils-mgnlstruts11/src/main/java/it/openutils/mgnlstruts11/taglib/MgnlFormTag.java
===================================================================
--- trunk/openutils-mgnlstruts11/src/main/java/it/openutils/mgnlstruts11/taglib/MgnlFormTag.java 2009-01-30 15:41:52 UTC (rev 962)
+++ trunk/openutils-mgnlstruts11/src/main/java/it/openutils/mgnlstruts11/taglib/MgnlFormTag.java 2009-01-30 16:16:01 UTC (rev 963)
@@ -83,6 +83,13 @@
if (pageUri != null)
{
results.append(pageUri);
+
+ String anchor = actionUrl;
+ if (StringUtils.contains(anchor, "/"))
+ {
+ anchor = StringUtils.substringAfterLast(anchor, "/");
+ }
+ results.append("#" + anchor);
}
results.append("\"");
Added: trunk/openutils-mgnlstruts11/src/site/apt/index.apt
===================================================================
--- trunk/openutils-mgnlstruts11/src/site/apt/index.apt (rev 0)
+++ trunk/openutils-mgnlstruts11/src/site/apt/index.apt 2009-01-30 16:16:01 UTC (rev 963)
@@ -0,0 +1,28 @@
+ --------------------------
+ openutils-mgnlmedia
+ --------------------------
+ Fabrizio Giustina
+ --------------------------
+
+About openutils-mgnlmedia
+
+ openutils-mgnlmedia is a custom {{{http://www.magnolia.info}magnolia}} module for the management of multimedia assets
+ like images and videos.
+
+ <<This module requires magnolia 3.6.x, and will not work on any earlier version!>>
+
+
+
+Configuration
+
+ First of all drop the openutils-mgnlstripes jar and the stripes jar into WEB-INF/lib, or (better) if you are using maven
+ just declare the following dependency:
+
++----------------------------------------------+
+ <dependency>
+ <groupId>net.sourceforge.openutils</groupId>
+ <artifactId>openutils-mgnlmedia</artifactId>
+ <version>0.1</version>
+ </dependency>
++----------------------------------------------+
+
Property changes on: trunk/openutils-mgnlstruts11/src/site/apt/index.apt
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:keywords
+ Author Date Id Revision
Added: svn:eol-style
+ native
Added: trunk/openutils-mgnlstruts11/src/site/changes/changes.xml
===================================================================
--- trunk/openutils-mgnlstruts11/src/site/changes/changes.xml (rev 0)
+++ trunk/openutils-mgnlstruts11/src/site/changes/changes.xml 2009-01-30 16:16:01 UTC (rev 963)
@@ -0,0 +1,15 @@
+<?xml version="1.0"?>
+ <!--
+ "type" attribute can be: add, remove, update or fix.
+-->
+<document>
+ <properties>
+ <title>Changes</title>
+ <author email="fgiust(at)users.sourceforge.net">Fabrizio Giustina</author>
+ </properties>
+ <body>
+ <release version="0.1" date="2008-12-04" description="">
+ <action type="add" dev="fgiust">first alpha release</action>
+ </release>
+ </body>
+</document>
\ No newline at end of file
Property changes on: trunk/openutils-mgnlstruts11/src/site/changes/changes.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:keywords
+ Author Date Id Revision
Added: svn:eol-style
+ native
Added: trunk/openutils-mgnlstruts11/src/site/site.xml
===================================================================
--- trunk/openutils-mgnlstruts11/src/site/site.xml (rev 0)
+++ trunk/openutils-mgnlstruts11/src/site/site.xml 2009-01-30 16:16:01 UTC (rev 963)
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project name="Openutils mgnlmedia">
+ <publishDate position="navigation-bottom" format="yyyy-MM-dd" />
+ <version position="navigation-bottom" />
+ <bannerRight>
+ <name>Openutils</name>
+ <src>http://openutils.sourceforge.net/images/openutils-logo.png
+ </src>
+ <href>http://openutils.sourceforge.net</href>
+ </bannerRight>
+ <bannerLeft>
+ <name>Sourceforge</name>
+ <src>http://sourceforge.net/sflogo.php?group_id=150467&amp;type=2</src>
+ <href>http://www.sourceforge.net/projects/openutils</href>
+ </bannerLeft>
+ <body>
+ <head>
+ <link rel="icon" href="images/favicon.ico" />
+ </head>
+ <breadcrumbs>
+ <item name="openutils" href="http://openutils.sourceforge.net/" />
+ <item name="openutils-mgnlstruts11" href="http://openutils.sourceforge.net/openutils-mgnlstruts11" />
+ </breadcrumbs>
+ <menu name="openutils mgnlmedia">
+ <item name="About" href="index.html"></item>
+ </menu>
+ <menu ref="modules" inherit="bottom" />
+ <menu ref="reports" inherit="bottom" />
+ </body>
+ <skin>
+ <groupId>net.sourceforge.openutils</groupId>
+ <artifactId>openutils-maven-skin</artifactId>
+ <version>1.1</version>
+ </skin>
+</project>
Property changes on: trunk/openutils-mgnlstruts11/src/site/site.xml
___________________________________________________________________
Added: svn:mime-type
+ text/plain
Added: svn:keywords
+ Author Date Id Revision
Added: svn:eol-style
+ native
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2009-01-30 15:41:52 UTC (rev 962)
+++ trunk/pom.xml 2009-01-30 16:16:01 UTC (rev 963)
@@ -244,13 +244,11 @@
<module>openutils-mgnlmessages</module>
<module>openutils-mgnlcas</module>
<module>openutils-mgnlgroovy</module>
- <!--
+ <module>openutils-mgnlstruts11</module>
+ <module>openutils-mgnlmedia</module>
<module>openutils-elfunctions</module>
- <module>openutils-mgnlmessages</module>
+ <!--
<module>openutils-mgnlrating</module>
- <module>openutils-mgnlcas</module>
- <module>openutils-mgnlgroovy</module>
- <module>openutils-mgnlmedia</module>
-->
<!-- <module>openutils-spring-remote-callback</module>-->
</modules>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|