Menu

knxweb readonly parameter?

Help
Ronny H
2008-11-02
2012-12-14
  • Ronny H

    Ronny H - 2008-11-02

    Hi

    for any alarm status object i would show a image (or a text object). This is not a problem with a typ of switch, but these buttons a clickable. Is there a way to make those objects only readable?

    Thanks

    Ronny

     
    • Ronny H

      Ronny H - 2008-11-06

      Hi jef2000,

      i changed the code of "cswitch.js" and "editcswitch.js" to create a readonly checkbox in the visual switchobject. Now it is possible to set a light to readonly and the object status didn't changed with the left mousebutton. Could you examine my source code changes please? If yes, how can i send you these files?

      Regards,

      Ronny

       
    • hd88

      hd88 - 2009-01-28

      Hello
      It is possible only to read, even in cmulti.js and editcmulti.js to program?

      Regards,

      Hans

       
    • Ronny H

      Ronny H - 2009-01-31

      Yes its possible. I send the changes to jeff, and he updated the sourcecode for the cswitch widget in the CVS tree. Now i send him the changes of the cmulti widget.

       
    • jef2000

      jef2000 - 2009-02-01

      Hi,

      I commited the "cmulti" with read-only flag provided by Ronny. I also added a file knxweb-0.6.1.tar.gz to download area.

      Regards,

      Jean-François

       
    • jef2000

      jef2000 - 2009-02-02

      Ronny,

      I can add you as developer for knxweb if you want. You'll then have CVS write access and be able to do the modifications directly.

      Regards,

      Jean-François

       
      • Ronny H

        Ronny H - 2009-02-02

        I am glad about your message :-)

        You can add me as developer. But i must say that i never do anything with CVS. I will nead a crash course in cvs, to update the files.

        Regards,
        Ronny

         
    • hd88

      hd88 - 2009-03-16

      Ronny,  jef2000

      Could the readonly setting of the switch from linknx realize ? to unlock the touch-screens.

      Regards,

       
    • jef2000

      jef2000 - 2009-03-18

      Hi,

      I don't understand very well what you are asking for. The read-only flag that makes some switches non-clickable is in file knxweb-0.6.1.tar.gz available in the download area.

      Regards,

      Jean-François

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.