Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Calling controller in a static link
atosoriginal
Hi
I want to call a controller on a static link . I have tried to call the controller from a link by passing the component id and iwPreAtions in querystring. My URL is as follow . when I am clicking on the link I am getting this error (17:35:03,031 ERROR [RuntimePage] - No sumbit component id [1217931052359]). The component controller is in the same page.
Can anyone let me know what I am doing wrong. Attached is the URL I am creating.
Thanking in advance
<br><A HREF=
http://ao-in002004/iw-preview/fr_FR/himanshu-test.page?&submit=true&componentID=1217931052359&iwPreActions=mycontroller&username=himanshu&password=him>http://ao-in002004/iw-preview/fr_FR/himanshu-test.page?&submit=true&componentID=1217931052359&iwPreActions=mycontroller&username=himanshu&password=him</A><br&gt
;
Find more posts tagged with
Comments
AlexC
I am assuming this is version 3.0.x?
Things to check:
1. Does that page contain the component id
2. Does that component have an External (pre-3.1 you have to have External for the component controller to be executed)
If needed can you attach the .page file so I can see.
atosoriginal
yes, my LS version is 3.0.2.
1) yes, the component id is defined on the Appearance XML . If you are talking about the page , r u talking about as a hidden filed or in the URL as a query string.
2)yes, it has one external defined. This same cotroller is working when I use it a form submission.
AlexC
Can you use some HTTP monitor (like HttpWatch or Fiddler2) and capture what is being transmitted then check the .page file to make sure that component id actually exists, if all that is fine then can you post the HTTP request header and the .page file XML and I can check to see if I can spot the problem.