I am using an event link I can use the t: references using strings and other primitive types. But I want to pass an entire object using T: Reference I get an error "type java.lang.String type could not be found forcibly. Type test.ViewUsers" I am using the value encoder but It is not called.
This is my TML file
and This is my Java file. The value is not called the encoder Logger. Terror did not output anything.
Boolean on Review (viewser object) {logger. Panic ( "test. Description false;} public value encoder & lt; ViewUsers & gt; GetEncoder () {new value encoder Back & lt; ViewUsers & gt; () {@Override public string toClient (ViewUsers user) {logger Kerror ( "test. ToClient inside"); if (user == null) {return null;} return user KgetId (). ToString ();} @ override public Wuuprs to Vail (string client value) {Logger. terror (For "test. Value inside"); (view user user: user) {if (user.getId (.) ToStrin G (.value) {return user;}} return tap;}};} Any help would be appreciated. Thanks.
a
No comments:
Post a Comment