Re: already defined in logicsheets

2001-11-30 Thread Igor Sazhnev


- Original Message -
From: "Andrei Zudin" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, November 30, 2001 2:11 PM
Subject: Re: already defined in logicsheets


> > ...
> > then i get java "already defined in this method" error on all my object
> from
> > logicsheets
> > how can it would be done? - several instance of my object in xsp page?
>
> Seems so. What's the template for  in your logicsheet?

Hi all!
thanx to all - i solve this problem by including my variable and etc
declaration in  template of my logicsheet - not inside
.. part
this generate java code, where my declaration is inside class derived from
XSPGenerator, not inside generate method - and its work fine!

Igor Sazhnev


-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




already defined in logicsheets

2001-11-30 Thread Igor Sazhnev

Hi all!
Can anyone help me?
i have logicsheets implementing calendar which inserted in xsp page like
this:




all work fine - but i need two calendar on page, so:
...

...

...
then i get java "already defined in this method" error on all my object from
logicsheets
how can it would be done? - several instance of my object in xsp page?

best regards, Igor Sazhnev


-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: How do I use logicsheets parameters

2001-11-29 Thread Igor Sazhnev


- Original Message -
From: "Christopher Watson" <[EMAIL PROTECTED]>
To: "Cocoon-Users (E-mail)" <[EMAIL PROTECTED]>
Sent: Thursday, November 29, 2001 6:11 PM
Subject: How do I use logicsheets parameters


> Could someone help me? I could benefit from a "logicsheet parameters 101"
>
> I want to use my own logicsheet and pass in runtime parameter(s)
>
> I have set up a logicsheet with the namespace mytags and a "function"
> get_my_param,
> to which I want to pass an xsp/java variable. In the following xsp I have
> three goes at passing
> a String variable called bag - with the value "56891" - but with no
success.
>
> (The logicsheet is based on guesses from what I found in session.xsl,
> util.xsl etc.)
>
>   the results, and the logicsheet follow the listing of the page
>
>   
> 
>   
>   
> 

i solve this problem by using not get-nested-content, but get-nested-string
template from esql.xsl  - may be it help
i get this info from cocoon archive maillists

Best regards Igor Sazhnev



-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: Excel serializer for Cocoon !

2001-11-29 Thread Igor Sazhnev


- Original Message - 
From: "Yann SECQ" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 29, 2001 11:52 AM
Subject: Re: Excel serializer for Cocoon !


> Alex Kachanov wrote:
> 
> > Why do we need Excel serizalier at all, when you can just change 
> > content type to excel mime type and any browser will launch excel
> > automatically
> > and reformat your HTML table as you wish?
> 
> Alex, I'm curious to see how you embed formulas within HTML table !
> 
> Cheers, yann.
as i know it done throw =sum(a1:c1) or FORMULA=sum(a1:c1)
its information from one of  msdn articles :)

Ratty


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: Excel serializer for Cocoon !

2001-11-29 Thread Igor Sazhnev

- Original Message -
From: "Alex Kachanov" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 29, 2001 11:54 AM
Subject: RE: Excel serializer for Cocoon !


> Why do we need Excel serizalier at all, when you can just change
> content type to excel mime type and any browser will launch excel
> automatically
> and reformat your HTML table as you wish?
one another example :
in my report one column is a number like 23.1 or 45.6
when i simple write in xsl

in what case Excel show me not 23.1 but 23.januar - ie it parse it as day
and month and properly display 45.6 - because there is no momth with 45 days
in it :))
in that case i must use  vnd.ms-excel.numberformat:#.#;  style in table cell
to excel display it properly
But it must done not by me - its work of serializer
And again - i need to pass original document formatting to excel (ie cell ,
border, color etc) - but then i tried to change mime-type it works only in
msexcell200 but in excel97 - not
And its not all :))


-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>


Re: Excel serializer for Cocoon !

2001-11-29 Thread Igor Sazhnev


- Original Message -
From: "Yann SECQ" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 29, 2001 11:32 AM
Subject: POI : Excel serializer for Cocoon !


> Hi Cocoonners,
> it's not yet ready for prime time, but here is a great projet
> for Cocoon users : an Excel serializer.
>
> Could we hope an integration within Cocoon2 for Christmas ;)
Hi Yann!!
it would be fine to get it work with Cocoon2
I very need such stuff for working with my reports and serializing it to
Excel
How can i (we)  help in developing/testing POI?
and has it alpha version of serializer already working?
Best regards , Igor Sazhnev


-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: running Tomcat in background when I log off

2001-11-28 Thread Igor Sazhnev



 

  - Original Message - 
  From: 
  Alex Kachanov 
  
  To: [EMAIL PROTECTED] 
  
  Sent: Wednesday, November 28, 2001 12:15 
  PM
  Subject: running Tomcat in background 
  when I log off
  
  On 
  Linux Tomcat is running fine when I'm logged in.
  But 
  when I log off all tasks are killed (including 
  Tomcat)
  How 
  can I leave Tomcat running when I log off?
   
  "nohup" trick won't work by some 
  reason
  
 
and how are you  start Tomcat ?
is it tomcat.sh start or tomcat.sh run or something 
  else?


xsp:include in logicsheet

2001-11-26 Thread Igor Sazhnev

In my logicsheet i must use java.uitl.Calendar in import.
How i can include it in basic xsp, from which my logicsheet called?
 do i must write something like this in logicsheet:



java.util.Calendar

 ...

  ?
when i tried it i give me error - something like "; expected"!
in generated code i see import java.util.Calendar inside my xsp generated
class - as i unterstood its wrong
Please help me!!



-
Please check that your question has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>