FOROS PROFESIONALES
WINDEV
,
WEBDEV
y
WINDEV Mobile
Inicio
|
Mensajes recientes
|
Conéctese...
|
Desconectar
|
Español
Inicio
→
WEBDEV 2024
→
Calling browser procedures
Calling browser procedures
Iniciado por rafadev, 21,ago. 2014 13:05 - 5 respuestas
Conéctese…
rafadev
#1
Miembro registrado
49 mensajes
Publicado el 21,agosto 2014 - 13:05
Hi everybody
We can call a browser code by the function ExecuteProcess() from the server code.
But there is another way for do that without this function?
Informar
0
0
Diego Sanchez
#2
Miembro registrado
39 mensajes
Publicado el 21,agosto 2014 - 16:22
What are you trying to acomplish ?
--
Diego Sanchez
Tecnoinformática S.A.
Informar
0
0
rafadev
#3
Miembro registrado
49 mensajes
Publicado el 21,agosto 2014 - 16:56
I want to call a BROWSER procedure FROM the SERVER code. If it was the opposite, I will do that with AjaxExecute(). Do you understand me?
Informar
0
0
Fabrice Harari
#4
Publicado el 21,agosto 2014 - 19:36
Hi
This is not directly possible.
In order to achieve something like that, you need:
---on the BROWSER SIDE----
- a timer on the browser side
- the browser procedure called by the timer checks the content of a
hidden field
- based on the content, the timer will call this procedure or that
procedure using executeprocess (in browser code)
---on the SERVER SIDE-----
- any code with AJAX checked can set a value in the hidden field
- the automatic ajax system will send the value to the browser side
where the timer called procedure will find it and work accordingly
Best regards
--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting
NEW: WXShowroom.com is available: Show your projects!
More information on
http://www.fabriceharari.com
On 8/21/2014 8:56 AM, rafadev wrote:
I want to call a BROWSER procedure FROM the SERVER code. If it was the
opposite, I will do that with AjaxExecute(). Do you understand me?
Informar
0
0
rafadev
#5
Miembro registrado
49 mensajes
Publicado el 22,agosto 2014 - 10:22
Thanks Fabrice, this isn't a clean method.. but effective
Informar
0
0
Fabrice Harari
#6
Publicado el 22,agosto 2014 - 13:25
Sorry about that, but I'm not a cleaning lady, so I don't care
And because on the web we are in fact working with two separate
programs, one on the browser, and the other on the server, it's pretty
much always this kind of technique that is used. Ajax is basically doing
the same thing, but at the browser/system level
Best regards
--
Fabrice Harari
International WinDev, WebDev and WinDev mobile Consulting
NEW: WXShowroom.com is available: Show your projects!
More information on
http://www.fabriceharari.com
On 8/22/2014 2:22 AM, rafadev wrote:
> Thanks Fabrice, this isn't a clean method.. but effective
Informar
0
0
→ Volver a WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versiones precedentes)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Búsqueda Tipo
Sólo temas
Todos los mensajes
Periodo Buscar
Cualquier fecha
Última hora
Última 24 horas
Última semana
Último mes
Último año
Cancelar
Vista previa del mensaje
Añadiendo una imagen
Importar una imagen desde una URL
Enviar una imagen desde un archivo de su disco
Arrastrar un archivo o click en "Examinar..."
o
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto