Joel P W Pitt wrote:
Hi all,
I tried giving the image map a name ("map") as so:
Ah! I see my mistake. I've been assuming form image buttons, not image maps.
You could either use Conal's suggestion in his post, or use this in your
HTML:
If you use that, you'll be able to use the code you'
Hi Joel
Joel wrote:
> >> When I examine the XML returned by the RequestGenerator,
> it has all
> >> the headers
> >> etc. and then the parameters. The relevent part looked like:
> >>
> >>
> >>
> >>
Since you report that the parameters appeared in the RequestGenerator
output, you could extract
Hi all,
I tried giving the image map a name ("map") as so:
I renamed the request-param to get map properties like so:
I still have the same problems :(
I may just make an XSP page to process the query string and then redirect
to a URL with the coordinates explicitly specified
Joel Pitt wrote:
I tried this earlier with the URL Joel quoted and the RequestGenerator
ignored the parameters completely. I took a quick look in the generator
source code and saw that it dumped an Avalon "Parameters" object to the SAX
stream: it called parameters.getNames() to get an iteration of
> I tried this earlier with the URL Joel quoted and the RequestGenerator
> ignored the parameters completely. I took a quick look in the generator
> source code and saw that it dumped an Avalon "Parameters" object to the SAX
> stream: it called parameters.getNames() to get an iteration of the
> par
David Kavanagh wrote:
> Your original note said the URL looked like ... index?35,45 (or
> something like that). Normally, the image map (or for image
> button) will
> have a name and the params returned are image.x and image.y.
> If you use
> the request generator, what params are shown? A simple
Joel,
Your original note said the URL looked like ... index?35,45 (or
something like that). Normally, the image map (or for image button) will
have a name and the params returned are image.x and image.y. If you use
the request generator, what params are shown? A simple pipeline in the
sitemap
Joel P W Pitt wrote:
Woops. Looks like I celebrated too soon.
I'm recieving null values using both methods.
Here is my flowscript code if it helps:
function info() {
var x = cocoon.request.getParameter("image.x");
var y = cocoon.request.getParameter("image.y");
What is the 'name' attribute
On 16.Sep.2003 -- 04:51 PM, Joel P W Pitt wrote:
> Hi there,
>
> I've tried several times to get help here with no luck, so I thought I'd
> resort to a more general question.
>
> Is it possible to use a matcher to match against the request string?
> For example:
>
> If I had the URL
> http://loc
Woops. Looks like I celebrated too soon.
I'm recieving null values using both methods.
Here is my flowscript code if it helps:
function info() {
var x = cocoon.request.getParameter("image.x");
var y = cocoon.request.getParameter("image.y");
if (x == null) cocoon.sendPageAndWait("index.xs
Thanks Upayavira! Both those options work fine. I knew there must be a
simple
solution to it ;)
Thanks,
Joel
Upayavira wrote:
I'm pretty sure the following will work:
1) In the sitemap:
2) In flowscript:
var x = cocoon.request.getParameter("image.x");
var y = cocoon.request.getParameter("
I'm pretty sure the following will work:
1) In the sitemap:
2) In flowscript:
var x = cocoon.request.getParameter("image.x");
var y = cocoon.request.getParameter("image.y");
Regards, Upayavira
Conal Tuohy wrote:
Sorry ... I read your question properly this time: I think you might be able t
Sorry ... I read your question properly this time: I think you might be able to use
the RequestGenerator to get your image map co-ordinates.
> -Original Message-
> From: Joel P W Pitt [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 16 September 2003 4:52 p.m.
> To: [EMAIL PROTECTED]
> Subject:
Use the request-param input module:
...
See http://wiki.cocoondev.org/Wiki.jsp?page=RequestParameterModule
Cheers
COn
> -Original Message-
> From: Joel P W Pitt [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, 16 September 2003 4:52 p.m.
> To: [EMAIL PROTECTED]
> Subject: M
14 matches
Mail list logo