Forum  Core :: SDK (Vi...  Developing the ...  How to call obscured JS function given its name (Events_CreateEvent)?
Previous Previous
 
Next Next
New Post 8/27/2009 7:13 AM
  rdhatch
635 posts
1st Level Poster




Re: How to call obscured JS function given its name (Events_CreateEvent)? 

Thanks, Ori!

Ryan


Ryan D. Hatch, VWG MVP
GeniusCode.net | VWG Community Frameworks | VWG Wiki
 
New Post 8/31/2009 6:31 AM
  ori.cohen
4390 posts
1st Level Poster




Re: How to call obscured JS function given its name (Events_CreateEvent)? 

Hello Ryan,

Just to make sure, this is what you meant right?

Regards,

Ori Cohen
Support Manager, the Visual WebGui team

 
New Post 8/31/2009 7:12 AM
  rdhatch
635 posts
1st Level Poster




Re: How to call obscured JS function given its name (Events_CreateEvent)? 

Hi Ori -

Yes, Thanks for checking.  That solution will be perfect.

Thanks again!

Ryan


Ryan D. Hatch, VWG MVP
GeniusCode.net | VWG Community Frameworks | VWG Wiki
 
New Post 9/2/2009 7:28 AM
  Guy
2346 posts
1st Level Poster




Re: How to call obscured JS function given its name (Events_CreateEvent)? 

 Hi Ryan,

I missed this thread and got to it through the issue that Ori opened. The idea you had to provide an interface that will resolve method names exists and it is called IContextMethodInvoker and the Visual WebGui context implements it. All you need to do is to cast the context to this interface and call the following method IContextMethodInvoker.GetMethodName(IRegisteredComponent objTarget, string strMember) which in order to get the VWG global service you will be able to use any registered component. In 6.4 you will need to register a component that has a skin that inherits from CommonSkin...

Hope that helps...

Guy

 
New Post 9/2/2009 8:33 AM
  rdhatch
635 posts
1st Level Poster




Re: How to call obscured JS function given its name (Events_CreateEvent)? 

Excellent.  Exactly what I needed.
 

Thank you very much, Guy.
 

Ryan


Ryan D. Hatch, VWG MVP
GeniusCode.net | VWG Community Frameworks | VWG Wiki
 
Previous Previous
 
Next Next
  Forum  Core :: SDK (Vi...  Developing the ...  How to call obscured JS function given its name (Events_CreateEvent)?
Assessment Bottom
.NET Web, Cloud and Mobile application delivery platform | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2011 Visual WebGui®       Visual WebGui weblog on ASP.NET Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS