caleeli / mathmlformula

Automatically exported from code.google.com/p/mathmlformula
1 stars 0 forks source link

Ability to send additional parameters to server save script. #33

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In my usage of fmath, I need to put created images into additional sub 
directories.  That information needs to be sent from the edit page.  Currently 
there does not appear to be that functionality.

Original issue reported on code.google.com by tim.ocon...@gmail.com on 18 May 2011 at 1:37

GoogleCodeExporter commented 9 years ago
How do you want to add this information ?

Have you tried to put in xml file for the property urlGenerateImage:
http://yoursite/folder/generateImage.jsp?param1=value

or you want to by sent by javascript ?

Original comment by ionel.alexandru@gmail.com on 18 May 2011 at 1:22

GoogleCodeExporter commented 9 years ago
I am also facing the same problem. And I want the extra information to be sent 
by javascript.

Original comment by debasish...@gmail.com on 28 Dec 2011 at 12:49

GoogleCodeExporter commented 9 years ago
Have you tried to put in xml file for the property urlGenerateImage:
http://yoursite/folder/generateImage.jsp?param1=value

Original comment by ionel.alexandru@gmail.com on 28 Dec 2011 at 2:47

GoogleCodeExporter commented 9 years ago
Yes but I can't put it in the xml, as the additional information is dynamic and 
is present in the page where FMath is integrated. Please suggest any other 
alternative if possible.
Thanks.

Original comment by debasish...@gmail.com on 30 Dec 2011 at 6:16

GoogleCodeExporter commented 9 years ago
hmm,

We can have 2 ways:
1. a javascript call to set the additional parameters in the page.
2. My editor looks in the calling url for some known parameters
Do you use my editor in a plugin (CKEditor, ...) ? 

regards
alex

Original comment by ionel.alexandru@gmail.com on 3 Jan 2012 at 2:43

GoogleCodeExporter commented 9 years ago
I also have the same problem. I want modify the property urlGenerateImage 
dinamically.

I use the mathml as a plugin inside CKEditor.

http://mysite/folder/generateImage.jsp?param1=value

The param1 parameter is only known by the page where fmath is integrated.

How can I do that?

Thank you,
Angel

Original comment by annu...@gmail.com on 7 May 2012 at 7:58

GoogleCodeExporter commented 9 years ago
I will try to think to a solution using javascript

regards
alex

Original comment by ionel.alexandru@gmail.com on 7 May 2012 at 1:40

GoogleCodeExporter commented 9 years ago
I need the same functionality. I need to append a formula identifier to the url 
where the image is going to be posted to. This identifier is dynamically 
generated within the page where the CKEDITOR + FMATH editor is included. I 
would also like to set all the parameters from the CKEDITOR initialization, 
something like

config.fmath.urlGenerateImage =  '<%= urltopost %>';
config.fmath.disableOpen =  '<%= disableOpen %>';

Original comment by hernan.m...@eqip.com.ar on 15 Oct 2012 at 1:33

GoogleCodeExporter commented 9 years ago
I use CKEditor + fMath with ASP.NET, I found the fMath at all ignore my 
setting: <property id="urlGenerateImage">/capture/imageCapture.aspx</property>, 
and always visit the /capture/imageCapture.jsp, why? Do you encounter this case?

Original comment by z...@tq-soft.com on 6 Nov 2012 at 5:05

GoogleCodeExporter commented 9 years ago
yes, it is working. I tried now.

But the browser cache it. I tried to view in the browser the xml file and I 
click refresh.

regards

Original comment by ionel.alexandru@gmail.com on 6 Nov 2012 at 8:39

GoogleCodeExporter commented 9 years ago
ionel.alexandru, it is working as your comment, extremely grateful for your 
help!

Original comment by z...@tq-soft.com on 7 Nov 2012 at 6:51

GoogleCodeExporter commented 9 years ago
I work to add a javascript method to change the property urlGenerateImage. 
This could be used to add extra information.

Original comment by ionel.alexandru@gmail.com on 13 Nov 2012 at 4:26

GoogleCodeExporter commented 9 years ago
Hi! Have you made any progress on this? Is the code for the CKEditor version of 
this flash file available? I couldn't find any reference to any variables from 
the xml file in the source code on this site.

Original comment by jone...@gmail.com on 22 Feb 2013 at 7:44

GoogleCodeExporter commented 9 years ago
Hi, 

try the javascript method "setUrlGenerateImage(String newUrl);"
Also you have the method "getUrlGenerateImage()".

Original comment by ionel.alexandru@gmail.com on 25 Feb 2013 at 8:01

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
hi, can you please provide any simple example?

Original comment by shailend...@gmail.com on 29 Mar 2013 at 11:49

GoogleCodeExporter commented 9 years ago
simple page to display the editor and call javascript methods

Original comment by ionel.alexandru@gmail.com on 2 Apr 2013 at 1:25

Attachments: