|
|
| Author |
Message |
|
| Guest |
Posted: Sat Jan 26, 2008 6:19 am |
|
|
|
Guest
|
Given the name of a module M and a function F is there a function to
give the URL which can be called to calculate the equivilant URL. for
example,
if the server is located at http://127.0.0.1/theapp/
M = module,
F = function,
[A1, A2, A3] = arg_list,
calc_url(M,F,[A1, A2, A3])
returns
http://127.0.0.1/theapp/M/F/A1/A2/A3
Jeff.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "erlyweb" group.
To post to this group, send email to erlyweb@googlegroups.com
To unsubscribe from this group, send email to erlyweb-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---
Post recived from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Sat Jan 26, 2008 6:22 am |
|
|
|
Guest
|
No, there's no such function, but if you want to create it I'll be
happy to accept the contribution!
Yariv
On Jan 25, 2008 10:19 PM, jm <jeffm@ghostgun.com> wrote:
>
> Given the name of a module M and a function F is there a function to
> give the URL which can be called to calculate the equivilant URL. for
> example,
>
> if the server is located at http://127.0.0.1/theapp/
>
> M = module,
> F = function,
> [A1, A2, A3] = arg_list,
> calc_url(M,F,[A1, A2, A3])
>
> returns
>
> http://127.0.0.1/theapp/M/F/A1/A2/A3
>
>
> Jeff.
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "erlyweb" group.
To post to this group, send email to erlyweb@googlegroups.com
To unsubscribe from this group, send email to erlyweb-unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---
Post recived from mailinglist |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|