cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniele Madama" <>
Subject Re: Can i do this thing?
Date Tue, 08 Nov 2005 14:04:47 GMT
I'm not sure about what I'm saying :D, but I think that you can do a
InputModule, like
used in portal block. This component work with linkrewriter, a little
description can be found here [1] and in the component doc.


> Hi all. I must do a link rewriteron an HTML file tha i have form tidy
> generator. I must rewite the link by using some values contained in a
> java.util.Map; i have this Map populated by the content in the tag "<a";
> i.e if the link is <a href="controllo.html"> controllo criminale</a> in
> the Map i have done a similar thing:
> Map m = new HasMap();
> m.put( "controllo criminale", "pageId=2" );
> By this linkrewriter i want to do a similar thing:
> to take the value of the tag a (that is the String controllo criminale)
> to check if this string is present in the map (if m.contains("controllo
> criminale"))
> to change the href value from href="controllo.html" to
> href="invoke?pageId=2"
> Can i do a similar thing by using SAX or must i use DOM. If i can use
> SAX... can anyone show me how i can do?
> Thanks to all.
>   Angelo.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:


The box said "Requires Windows 95/98/Me/Nt/2k/XP or better" .... so I
installed Linux !

Daniele Madama

Pro-netics s.r.l.
Via Elio Lampridio Cerva 127/c
Tel. 0651530849

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message