java - grails tag library question -
I am using Grails in an application that allows inline editing of data in the data grid. Some key areas can be defined and should not be editable. There is some example code from Tag Lives which I am using
case "dropdown": outside & lt; & Lt; "& Lt; Select ID = '" + Prefix + ID + "' name = '" + Field Data Code +' '' & gt; " Outside & lt; & Lt; "& Lt; option value = '' / / & gt;" Def vals = fieldData.value.split (",") vals.each () {outside & lt; & Lt; "& Lt; option" + (value == this? "Selected": "") + "value = '" + + "' & gt;" + This + "& lt; / option & gt;" } Outside & lt; & Lt; "& Lt; / select & gt;" Breaking i
Actually I have to add a class to the form element so that when it render, I can disable it using jQuery. Do I need an I statement for each form control or is there another way to complete it with Grails?
you want to add a square = "disabled me" or data type = "xiš" Are ("disabled", "disabled");
or
jquery ("[data-type = 'xyz'] .triter (" disabled "," disabled ");
something that you I do not think the problem you are trying to solve, especially with Grails.
Comments
Post a Comment