Hi,

I know its not the (to be harmless)  nicest way, but my ESQL in JavaScript
works fine. I just wanted to know if it is possible in Javascript-Functions
to place passed parameters in ESQL-Statements.

Jonny

----------------------------------------------------------------------------------------------------

This electronic message contains information from the mmo2 plc Group which
may be
privileged or confidential. The information is intended to be for the use
of the
individual(s) or entity named above. If you are not the intended recipient
be aware
that any disclosure, copying, distribution or use of the contents of this
information
is prohibited. If you have received this electronic message in error,
please notify
us by telephone or email (to the numbers or address above) immediately.



|---------+-------------------------------------->
|         |           Christian Haul             |
|         |           <[EMAIL PROTECTED]|
|         |           rmstadt.de>                |
|         |                                      |
|         |           01/08/03 11:30 AM          |
|         |           Please respond to          |
|         |           cocoon-users               |
|         |                                      |
|---------+-------------------------------------->
  
>------------------------------------------------------------------------------------------------------------------------------|
  |                                                                                    
                                          |
  |       To:       [EMAIL PROTECTED]                                        
                                          |
  |       cc:                                                                          
                                          |
  |       Subject:  Re: ESQL and JavaScript                                            
                                          |
  
>------------------------------------------------------------------------------------------------------------------------------|




On 08.Jan.2003 -- 10:53 AM, [EMAIL PROTECTED] wrote:
> I have a Javascript-Function, which gets a parameter passed. I want this
> parameter now in my ESQL-Statement. Is there a way to do this?

Javascript (if client side) is completely unrelated to XSP and ESQL in
particular.

Server side Javascript (i.e. flow script) can pass parameters to the
XSP. See examples (e.g. calculator) for this and in particular
jpath.xsl. Passing values using request attributes is also possible.

For dynamic queries with ESQL please see the docs. Starting with 2.0.4
there is a section dedicated to this on the ESQL page.
http://xml.apache.org/cocoon/userdocs/xsp/esql.html

             Chris.

Please follow up summarizing your problem and which suggested solution
/ information worked for you when you consider your problem
solved. Add "SUMMARY: " to the subject line. This will make FAQ
generation and searching the list easier. In addition, it makes
helping you more fun. Thank you.

--
C h r i s t i a n       H a u l
[EMAIL PROTECTED]
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

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

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






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

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

Reply via email to