Coder Social home page Coder Social logo

Comments (2)

draperd avatar draperd commented on August 15, 2024 1

Your model is being defined in a WebScript that is running on the server. The value of checkbox.config.value will be whatever it is defined in that WebScript. When the page loads that will be translated into JavaScript running on the client ... the "filtre" attribute will be fixed to whatever it was set to in the WebScript - you cannot reference a JavaScript variable defined and executed on the server from within the browser.

If you want to have list data reloaded based on a changing form control then you should look at the "alfresco/lists/AlfFilteredList" (see http://dev.alfresco.com/resource/docs/aikau-jsdoc/AlfFilteredList.html). We have examples in the unit test application that you can experiment with. See (https://github.com/Alfresco/Aikau/blob/74d632daf1ebb496e7e1240e563a654566853e43/aikau/src/test/resources/testApp/WEB-INF/classes/alfresco/site-webscripts/alfresco/lists/FilteredList.get.js)

The unit test pages for filtered list can be found at this URL (http://localhost:8089/aikau/page/tp/ws/FilteredList) once you've built and started the test application.

from aikau.

RedRaccoon avatar RedRaccoon commented on August 15, 2024

Thank you

from aikau.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.