#267 OnLoadAction

open
nobody
None
5
2013-02-21
2012-10-26
pigbar
No

We can define an acction to be lauched on every request, but sometimes this approach is not the best One.
It will be Nice to allow de definition for an action to get launched on_every_load not on every request.
Those kind of actions will be throw when the module (or the page the module is inserted into) are loaded, not on Javax request.

Thx

Discussion

  • Javier Paniza

    Javier Paniza - 2012-10-29

    What is "on_every_load"?
    When the module is first loaded by OpenXava?
    Maybe a JavaScript event?
    Which concrete problem do you want to solve?

     
  • pigbar

    pigbar - 2012-10-29

    Threre is the answer: Those kind of actions will be throw when the module (or the page the module is inserted into) are loaded, not on Javax request.
    I mean the event should be throw when the container for the module is reloaded, for example, when the page containig an ox module is reloaded.
    It is diferet from OnEvereyRequest, and OnInit actions for Ox.

    Regards

     
  • Javier Paniza

    Javier Paniza - 2012-10-30

    Are you talking about the 'Reload' button of the browser?
    Show me a concrete example where you need this feature?

     
  • raydev

    raydev - 2013-02-21

    Hi Javier, I have a similar request.
    My case is that I want a module to be displayed in list mode everytime the page is loaded. An on-load event such as that described could easily solve the problem.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks