Hi,
I have a solution based on struts tiles, webflows, prototype and
problem which could be solved by creating and subscribing events on
each jsp page I have....
I saw
Event.observe('foo', 'click', doStuff);
but 'click' is a common event send by for example <a href>
I have a portal in which the menu is always the same so it can
magazine some javascript data....
I would need my own event firing mechanism like that:
Event.fire('Event_x40_user')
and then on some specific page there would be something like that
Event.observe('Event_x40_user', doStuff);
doStuff would be a javascript method on the observing page....
Does prototype enables such solutions???
If not.. do u know any javascript library/framework enabling solutions
like that ?
If yes.. pleas send me some examples or links - I was searching but
didn't find ..
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---