conditional display of a controller

2013-08-08
2013-08-12
  • florian_adler

    florian_adler - 2013-08-08

    Hello,

    I have a tab with a field status that can have 'ACTIVE', 'REJECT', 'DONE' as value.
    When I select an element from the list, I display it as well as some controller. I want to have the controllers 'validate' and 'reject' only active when the field is 'ACTIVE'.

    What is you recommendation to do it?

    Best regards,

    -f-

     
  • Javier Paniza

    Javier Paniza - 2013-08-12

    Hi Florian,

    you have to define your own XAVA_SEARCH_ACTION and from your action change the current controllers with setControllers() (or add/removeActions()).


    Help others in this forum as I help you.
    Need more help? Get OpenXava professional support.

     

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