Sylvain Wallez wrote:
Guido Casper wrote:
Hi all,
is the on-action event supposed to work with either row-action or
repeater-action?
Neither of the following works (meaning it works in general, but
nothing is printed to the console):
fd:row-action id=addaftersection action-command=add-after
Title: Removing white space, comments, etc
Hello,
Ive had a good look through the wiki, and across the internet in general, and Ive been unable to find anything useful in relation to the stripping of white space and undesirable elements (comments, display:none, etc)
Could anyone suggest a
Daniel, if I were you I'd add an XSLT stage to your pipeline to clean up stuff like
this prior to serialization.
Add empty templates for the things you want to biff.
xsl:template match=comment()/
xsl:template match=*[contains(@style,'display:none')]/
xsl:template match=@align|@color/
etc.
Le 28 sept. 04, à 09:12, Conal Tuohy a écrit :
...Add an identity template to copy everything else:
xsl:template match=@*|*
xsl:apply-templates select=@*/
xsl:apply-templates/
/xsl:template...
While we're at it, it is often useful to strip extra namespace nodes:
!-- Copy
In this case, the STX transformer would probably be faster (SAX based
rather than in-memory document). The syntax isn't too much different
from the XSLT.
There's also a cleanup/indent transformer that I put into bugzilla a
little while back.
I would like to make work this simple idea, when an URI (**.html) is
requested for the first time, it's generated and a file is written
somewhere ; otherwise, cocoon cache handle. I have implemented a bad
patch of my own, directly on pipeline, but if an action can do the job...
I should
Daniel Willis wrote:
Hello,
I've had a good look through the wiki, and across the internet in
general, and I've been unable to find anything useful in relation to the
stripping of white space and undesirable elements (comments,
'display:none', etc)
Frédéric Glorieux wrote:
I would like to make work this simple idea, when an URI (**.html) is
requested for the first time, it's generated and a file is written
somewhere ; otherwise, cocoon cache handle. I have implemented a bad
patch of my own, directly on pipeline, but if an action can do
Hi every on e
The solution to use an imbricated forEach, where the first one is used with
XPath and the second with the end begin attributes and therefore in
JEXL. Within the first forEach use a set JXTemplate variable that takes a
loop context relative XPath value, and then the variarble can
Hello all,
I get this Exception when using an ImageReader:
java.lang.NoClassDefFoundError
at
sun.awt.image.codec.JPEGImageDecoderImpl.getDecodedColorModel(JPEGImageDecoderImpl.java:293)
at
sun.awt.image.codec.JPEGImageDecoderImpl.readJPEGStream(Native Method)
at
Hi,
let's see if I got you right, if you have a subset of elements that
should appear in form1 AND form2
and some elements that are unique for both, you could
- write a javascript function that manually copies values from form1 to
form2
- use just ONE form object for both forms with two
Hi,
I have XSP-precompilation working reliable with Cocoon 2.1.3, this is how
my ant target looks like:
target name=precompile-xsp-files description=Compiles previously distributed XSP
files
property name=cocoon.context value=${basedir}/lib/cocoon/
path id=cp
!-- Patch for
[EMAIL PROTECTED] wrote:
Hi,
I have XSP-precompilation working reliable with Cocoon 2.1.3, this is how
my ant target looks like:
Yes, it works on 2.1.3. I believe it is broken on 2.1.5 (or should I say
'I broke it' on 2.1.5 :-(
Regards, Upayavira
target name=precompile-xsp-files
Hello all,
I've just started with Cocoon and with XML. I'am really surprised with
the power of XML.
In the past I have written text documents in LaTeX that include some
simple math expressions and some images. Then I usually converted them
to PDF with pdflatex and to html with latex2html.
Now I
João
Welcome to the Cocoon Universe... all your wishes will soon
be granted (after you add in some hard work, of course ;-)
I am not sure about the Math part - perhaps the combination
of SVG and the appropriate Unicode selection will help towards
the creation of math expressions... there is
On Tue, 28 Sep 2004 14:28:46 -0400, Joao Miguel Ferreira
[EMAIL PROTECTED] wrote:
I've just started with Cocoon and with XML. I'am really surprised with
the power of XML.
In the past I have written text documents in LaTeX that include some
simple math expressions and some images. Then I usually
Hi,
I keep periodically getting this error msg., but don't
know why.
I am using
cocoon.releaseComponent(factory);
at the end of my script..but don't know if that is
needed.
TIA.
Paul
[JDO] DEBUG: OjbStoreConnector.begin:
connectionReadyForRelease=false
Hi,
I have a form with a repeater accessed at say /forms/testForm. Now when
the user adds a row to the repeater, the url in the browser addressbar
becomes /forms/49q83pafvkyxvcma.continue
Any way to avoid this?
Regards
Jorg
-
Hi,
I have Cocoon web site backed by a database. On inserts or updates of some rows
in the database, I update the Lucene index with the LuceneIndexTransformer.
I don't see however how to delete a specific row/column (which is identified by
a particular url) from the Lucene index.
As a
Hi,
I am using cocoon forms to edit xml documents. The forms are set up
using jsp's to retrieve the relevant template information from a
document stored in an Xindice database. The jsp's then forward on to
the cocoon forms, with variables being set in the session so that they
can be retrieved
Jorg Heymans wrote:
Hi,
I have a form with a repeater accessed at say /forms/testForm. Now
when the user adds a row to the repeater, the url in the browser
addressbar becomes /forms/49q83pafvkyxvcma.continue
Any way to avoid this?
You can stick it into a hidden field if you wish. There's a
. Hi Frans! .
Monday, September 27, 2004, 8:31:58 PM, you wrote:
FE On Monday 27 September 2004 17:46, Bertrand Delacretaz wrote:
[...]
FE I don't think it addresses my problem since it's probably cool once the
FE content have been generated. In either case, I think serving fast is no
FE
. Hi g[R]eK! .
Tuesday, September 28, 2004, 6:10:04 PM, you wrote:
gRe . Hi Frans! .
gRe Monday, September 27, 2004, 8:31:58 PM, you wrote:
FE On Monday 27 September 2004 17:46, Bertrand Delacretaz wrote:
gRe [...]
FE I don't think it addresses my problem since it's probably cool once the
FE
When the login/welcome page is loaded, the portal does
a auto-login of an anonymous user. For the anonymous
user it loads up a default skin for displaying the
page. Then, when a user logs in, the skin is changed
to whatever their preference is. I was able to fix
the problem, it turns out I'd
Hello,
In my portal there's a MyPreferences tab which lets
the user select things like what skin they'd like to
use for the portal. When this is changed, the
settings are stored in two files on an exist database.
One file is a custom profiles/layout/portal.xml file
for the user, which has
On Tuesday 28 September 2004 16:10, g[R]eK wrote:
. Hi Frans! .
Monday, September 27, 2004, 8:31:58 PM, you wrote:
FE On Monday 27 September 2004 17:46, Bertrand Delacretaz wrote:
[...]
FE I don't think it addresses my problem since it's probably cool once the
FE content have been
Hi,
I have an authenticator which sets user id in the session request
object, defined as follows:
map:match pattern=login
map:act type=auth-login
map:parameter name=handler value=testauth/
map:parameter name=parameter_userid value={request-param:userid}/
map:parameter
Hello all,
Has anyone incorporated Chainsaw as the default logger for Cocoon as an
alternative to the now seemingly defunct LF5?
And/Or how does one use Log4J as the primary logger in Cocoon?
Thanks,
Tony
-
To unsubscribe,
Thanks Upayavira !
Wondering if anyone at least got the "offline page generation" working on cocoon 2.1.5. If yes, can you post sample logkit.xconf and cli.xconf?
Also, are the xsp pages expected to be compiled every time pages are generated (as per the setting in cocoon.xconf)? In that case,this
29 matches
Mail list logo