Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
jquery and mach-ii
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
jarthel  
View profile  
 More options Jul 3, 1:01 am
From: jarthel <jart...@gmail.com>
Date: Thu, 2 Jul 2009 22:01:34 -0700 (PDT)
Local: Fri, Jul 3 2009 1:01 am
Subject: jquery and mach-ii
I have a very simple page (http://www.pastebin.ca/1482646). This HTML
code was from a "view source code" of a mach-ii event that displays a
form. I also created a new "test.cfm" file using the HTML as its
contents. this test.cfm is outside of mach-ii or any framework. It is
located in a test folder in my webroot.

If I pressed "submit" (using mach-ii version), line 40 in the HTML
code above will be displayed thrice. In all the 3 instances, the value
of tempCounter stays the same.

If pressed submit on my standalone test.cfm, line 40 will be displayed
only 1 which is correct.

Any idea on what is happening on the mach-ii version?

thank you very much for the help :)


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jarthel  
View profile  
 More options Jul 3, 2:36 am
From: jarthel <jart...@gmail.com>
Date: Thu, 2 Jul 2009 23:36:35 -0700 (PDT)
Local: Fri, Jul 3 2009 2:36 am
Subject: Re: jquery and mach-ii
did some investigation:

this is mach-ii.xml entry that displays the form
++++++++++
                <event-handler event="showApplicationFormPartANew" access="public">
                        <event-arg name="application_id" value="0" />
                        <notify listener="applicationsListener"
method="retrieveApplicationPartA" resultArg="applications" />
                        <view-page name="partAForm" contentArg="content"  />
                        <execute subroutine="pageLayoutWithLeftnav" />
                </event-handler>
+++++++++++

if I remove the execute subroutine line, it works fine.

These are the contents of the subroutine:
+++++++++++++
                <subroutine name="pageLayoutWithLeftnav">
                        <view-page name="layout"  />
                </subroutine>
++++++++++++++

layout: <page-view name="layout" page="/views/layout.cfm" />

layout.cfm contents: <cfoutput>#event.getArg("content")#</cfoutput>


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jarthel  
View profile  
 More options Jul 3, 2:42 am
From: jarthel <jart...@gmail.com>
Date: Thu, 2 Jul 2009 23:42:29 -0700 (PDT)
Local: Fri, Jul 3 2009 2:42 am
Subject: Re: jquery and mach-ii
I forgot to say that the subroutine I'm using is exact (exact for
names and the news notifier is not present in my version).

I'm beginning to think the only solution to not use "subroutines" and
just have the entire "layout in the form file (in my example, it would
be "partAForm".

thanks again :)


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google