Announcement

Collapse
No announcement yet.

ActionProcessPostUI not called

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • ActionProcessPostUI not called

    Hi,

    I've been trying for some time now to get Actions to work, but for some reason ActionProcessPostUI is not called after I change an action.

    Code:
    Code:
    public string ActionBuildUI(string sUnique, IPlugInAPI.strTrigActInfo ActInfo)
    {
    	string format = "";
    
    	var listCams = new clsJQuery.jqDropList("SurvStationCam" + ActInfo.UID, IFACE_NAME, true);
    
    	listCams.AddItem("--Please Select--", "", false);
    	listCams.AddItem("Sample cam", "1", false);
    
    
    	listCams.autoPostBack = true;
    
    	StringBuilder sb = new StringBuilder();
    	sb.Append("Camera:");
    	sb.Append(listCams.Build());
    
    	format = sb.ToString();
    	
    	return format;
    }
    
    public IPlugInAPI.strMultiReturn ActionProcessPostUI(NameValueCollection PostData, IPlugInAPI.strTrigActInfo TrigInfoIN)
    {
             ...
    }
    Could somebody tell me what I am doing wrong ?

    Thx !

  • #2
    This is what I use and it works.

    PHP Code:
     dd = New clsJQuery.jqDropList("UpdateType" sUnique"events"True
    --
    Jeff Farmer
    HS 3, HSPhone
    My HS3 Plugins: CFHSExtras, Random, Restart, Tracker, WeatherXML, PanaBluRay
    Other Plugins In Use: APCUPSD, BLOnkyo, Device History, EasyTrigger, HSTouch Server, PHLocation2, Pushover, RFXCom, UltraGCIR3, UltraMon3, UltraPioneerAVR3, X10, Z-Wave

    Hardware: GoControl Irrigation Controler, Schlage Lever Lock, Schlage Deadbolt, Way2Call Hi-Phone, RFXCom RFXrec433 Receiver, WGL 800, TI-103, Z-Net, Pioneer 1120, Pioneer 1021, Pioneer LX302, Panasonic BDT-110, Panasonic BDT-210 x2

    Comment


    • #3
      Thanks, that did it !

      Comment

      Working...
      X