gigaZhang / struts2-jquery

Automatically exported from code.google.com/p/struts2-jquery
0 stars 0 forks source link

showing byte array data in Struts 2 jquery grid want to acces same thing in Bean(Java Code) #942

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I am using Strits 2.0 and Struts 2 jquery grid 3.5
i am facing some problem now i want to implement concurrency related issue
so for that i declare In SQL Server TimeStamp for Concurrency and Struts2 
Jquery Grid showing that TimeStamp(Binary Data)its displaying propelry but i am 
not able to get that value in Code i mean to say i want that Concurrency value 
in my action side(Java Code)but every time its showing null i am not getting 
why...its datatype is byte thats Why

In Sql Server
ConcurrencyId ---Timestamp

In Bean Class
Private byte[]concurrencyId;

and accesing same declaring on Local Class but at time displaying null please 
solve this issue...

No Problem in diaplying data in Grid problem to accesign data timestamp (Binary 
data ) In Bean Or Class

Immeaditely ...
Please Help !!!!

Thanking You !!!!

Original issue reported on code.google.com by pramod1...@gmail.com on 29 Jan 2013 at 10:30

GoogleCodeExporter commented 9 years ago
Sample Code?

Original comment by johgep on 7 Apr 2013 at 11:41

GoogleCodeExporter commented 9 years ago
in jsp page :
<sjg:gridColumn name="concurrencyId" index="ConcurrencyId" title="" editable = 
"true" hidedlg="true" hidden = "true" />    
 in Action File :
Private byte[]concurrencyId;

Now i want to print concurrencyId of gridcolumn in Java like 
sysout(concurrencyId);

but it showing Null value...how to get Jquery grid byte value in java file....

Please if u know tell me ....

Original comment by pramod1...@gmail.com on 8 Apr 2013 at 6:19