Hi, everyone,
I use xsp get the values of two strings? How can I use these variables
in the xml form. My code is as following. Thanks for your kind help.
Jarry
...
int i;
int num = 1;
String col = ;
String filesname = ;
String fname = filesname.substrin
Carlos,
Thanks so much. I got it.
Here is my code:
col
file
Jarry
On Apr 8, 2005 2:40 PM, Carlos Chávez <[EMAIL PROTECTED]> wrote:
>
> Jarry Liu Escribio :-)
> > Hi, everyone,
> >
> > I use xsp get the values of two strings? How can I use
Hi, everyone.
I want to use checkbox to selelct multiple files and upload them at
the same time? But if I use < input type ="file.>, it can only
support one file. Do you have any idea?
Thanks.
Jarry
-
To unsubscribe, e-mai
Yes, if I put as , in the file
browser, I can only chooser one file to upload. Do you have any
solution to choose multilple files at the same time.
On Apr 12, 2005 10:59 AM, Aurélien DEHAY <[EMAIL PROTECTED]> wrote:
> Hi.
>
> Le mardi 12 avril 2005 à 10:54 -0400, Jarry Liu a
>
> Regards
> Jorg
>
> Jarry Liu wrote:
> > Yes, if I put as , in the file
> > browser, I can only chooser one file to upload. Do you have any
> > solution to choose multilple files at the same time.
> >
> >
> >
> >
> > On Apr 12, 2005 1
Hi everyone,
I have a question about parameter passing from script file to xsl as following:
in file " tran.js ":
function selectcol(){
var colle= cocoon.request.get("collection");
cocoon.sendpage("browse/", {col:colle});
}
in sitemap.xmap:
.
Then, in " dir.xsl "
Great! It works!
Thanks Peter.
On 4/19/05, Peter Kröpfl <[EMAIL PROTECTED]> wrote:
>
> > in file " tran.js ":
> >
> > function selectcol(){
> > var colle= cocoon.request.get("collection");
> > cocoon.sendpage("browse/", {col:colle});
> > }
> >
> > in sitemap.xmap:
> >
> >
> >
I got the correct result in both
way. So as for in sitemap, it handle the parameter
both from Javascript function and html form. I am not sure if I
understand it rightly.
Regards, Jarry
On 4/19/05, Upayavira <[EMAIL PROTECTED]> wrote:
> Jarry Liu wrote:
> > Great! It work
Hi, everyone,
In my sitemap, I have
I need some value from javascript, and at the same time, I need use
xsp to handle this value, so I needtoo. Now I can solve this problem in two
steps with two seperate generator. Is there any solution to put this
two ( "jx and serverpages" ) together in
Hi,
I need help for backup xml database.
As you know, for creating, we can use
with xmldb transformer. But it seems that no specific transformer for
backup. Anybody can give me some idea how to backup the xml database.
Thanks.
Jarry
--
Hi all,
I use XPathQuery get some information from xmldb. How can I save the
result to a file?
Thanks in advance.
Jarry
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi all,
I try to use javascript to load xml file. Followings are part of the
code. (got them from http://www.quirksmode.org/dom/importxml.html).
I am using Mac, so it can pop out "1" "2" "5". But "6" never shows up.
Anbody can help me to figure out why I can't load the xml file? Thank
a lot.
J
t;[EMAIL PROTECTED]> wrote:
> Jarry Liu wrote:
>
> >Hi all,
> >
> >I try to use javascript to load xml file. Followings are part of the
> >code. (got them from http://www.quirksmode.org/dom/importxml.html).
> >I am using Mac, so it can pop out "1" "2&
Hi, all
This question is about the samples in cocoon 2.1.6, under
samples/blocks/javaflow.
in samples.xml:
...
Example for the Java Flow implementation
...
in sitemap.xmap:
...
...
...
>From the sitemap, after I click Calculator link, it will call function
calcula
hfuss <[EMAIL PROTECTED]> wrote:
> Jarry Liu wrote:
>
> > No method 'docalculator' found. {...calculator=public void
> > org.apache.cocoon.samples.flow.java.CalculatorFlow.doCalculator(),
> > ..}.
> >
> > It seems that they defind calculator as doCal
Gregor and Geert,
Thanks for your help. As Gregor said, it is just a naming conversion.
Same as the relationship between GET and DOGET. Wast 4 hours to find
it (*_*)!!
On 6/17/05, Geert Josten <[EMAIL PROTECTED]> wrote:
> Hi,
>
> It must be something in the JavaInterpreter class of the ja
Hi, all
I am learning to use cocoon control flow with java. My question
is if I can pass argument in the function call in sitemap.xmap. For
example, can I do something like this :
I tried and it seems that cocoon doesn't understand it, and it
receives the whole part of process(
Hi,
I just checked again and found I can pass argument as following.
If using javascript, I can get the value of filename by
var param = cocoon.parameters.filename;
But how can I get it if I use java instead of javascript.
Jarry
---
coon.components.flow.java.ContinuationContext;
>
>
>
> ContinuationContext context = (ContinuationContext)
> Continuation.currentContinuation().getContext();
> Parameters parameters = context.getParameters();
> String foo = parameters.getParameter( "foo" );
>
>
> HTH,
>
&g
Hi,
I am using cocoon control flow with java. I add an variable named as
stepIndex with value 10 in a Hashtable ht, and using sendPageAndWait.
How can I retrieve the value of stepIndex in sitemap.xmap? I tried to
use request-param, but doesn't work. Any idea?
Thanks.
Jarry
Here is part of t
Hi,
I am using java control flow. In the middle of the flow, I need use
DomParser function parse( String file) to read the new xml file that I
got from the pipeline. I use sourcewriting transformer to write the
new xml to disk and nameed it as temp.xml and then parse it to
DomParser. But after wr
Hi,
I still have no idea how to do it. Any suggestion will be highly appreciated.
On 7/13/05, Jarry Liu <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am using java control flow. In the middle of the flow, I need use
> DomParser function parse( String file) to read the new xml
parse(file);
} catch(Exception e) {
e.printStackTrace();
}
...
On 7/15/05, Victoria Vitaver <[EMAIL PROTECTED]> wrote:
> Jarry Liu wrote:
> > Hi,
> >
> > I still have no idea how to do it. Any suggestion will be highly
> > appreci
On 7/19/05, oceatoon <[EMAIL PROTECTED]> wrote:
> Hi
>
> While working with selectors I would like to test more than one value in my
> test
> something like this
>
> or region,province or region|province
> I tried all the variations I could think of, but none work , is this
> possible ?
>
> Than
I am not sure if it should like this:
Here is some code I used and works without problem:
>
Good luck.
Jarry
On 7/19/05, oceatoon <[EMAIL PROTECTED]> wrote:
> > Hi
> >
> > While working with selectors I would like to test more
Sorry, I misunderstand it as in xsl file. I have no idea how to deal
with it in sitemap.xmap.
On 7/19/05, Jarry Liu <[EMAIL PROTECTED]> wrote:
> I am not sure if it should like this:
>
>
>
> Here is some code I used and
Try to use sourcewritingtransformer.
http://cocoon.apache.org/2.1/userdocs/transformers/sourcewriting-transformer.html
Good luck
Jarry
On 7/21/05, Andres Taborda <[EMAIL PROTECTED]> wrote:
> some user know how to selection
> the source with pipeline and send the source to an
> file.
> Is say, wr
Hi, all
I am trying to use JEuclid to convert MathML to SVG. But I just got
source files from http://sourceforge.net/projects/jeuclid/. I find I
can't compile these files even if I add all the jar file in java lib.
I searched from google and it was suggested to use build.sh, but there
is not bui
I just solved it by using ant. Thanks.
On 7/21/05, Jarry Liu <[EMAIL PROTECTED]> wrote:
> Hi, all
>
> I am trying to use JEuclid to convert MathML to SVG. But I just got
> source files from http://sourceforge.net/projects/jeuclid/. I find I
> can't compile these f
Hi,
I am very interested with this topic. Can you give me more information
about this SVG and Fragment Extractor?
I use JEuclid to tansform MathML and present it with SVG. But in the
output, I want add other html stuff in it. How can I do it?
Here is part of the code I used:
Thanks.
ECTED]> wrote:
> On 26.07.2005 18:55, Jarry Liu wrote:
>
> > I am very interested with this topic. Can you give me more information
> > about this SVG and Fragment Extractor?
>
> The FragmentExtractor{Generator|Transformer} can be found in the batik
> block in 2.1.
very general language to represents the diagrams (we called
> it DML) and use XSLT to generate SVGs from that language. If this is
> interesting for you I might get the permission to share the stuff
> with you.
>
> Regards,
>
> Benni
>
>
>
> Am 26.07.2005 um 18:5
Joerg,
Thanks again for you help.
I am using Mac OS X and Safari as the browser, so it may be the reason
why I can't get htm + svg together. I will try other browers later.
Jarry
> From what I see FragmentExtractor* is really the wrong for you. But
> there is nothing special about the svgxml ser
Derek and every one,
Thanks for your kind help.
Finally, I got it by using , which links the
SVG source to my html file.
Here is my sample code:
step1
end to step 1
step2
34 matches
Mail list logo