Hello all,
I am using OpenGTS-v2.5.9. I wanted to add some new fields into device admin page (web interface), I have tried adding the code in DeviceInfo.java but when I recompile and deploy I dont find those new fields added to device admin page. So please guide me in obtaining the new fields on the device admin page.
I followed these steps.
1) Added the code to DeviceInfo.java as mentioned in your previous answer.
2) Added code in Device.java with getters & setters.
3) Ant all - no errors found.
4) Stopped tomcat. Removed track, track.war, gprmc, gprmc.war manually from /webapps. Redeployed latest build gprmc.war track.war to /webapps. Started the tomcat.
5) But no changes were found on the Device Admin page in the web-interface.
NOTE: Since no new field was added to web-page by the above steps, I just wanted to cross-check so I eddited the actual code in DeviceInfo.java with making out.println(FormRow_TextField(PARM_VEHICLE_ID , _uiEdit , i18n.getString("DeviceInfo.vehicleID","Vehicle ID") +":" , (_selDev!=null)?selDev.getVehicleID():"" , 24, 24)); here chnged the string
"Vehicle ID" changed to " Vehicle Identity". And followed the same process mentioned earlier hoping to see Vehicle Identity: instead of Vehicle ID: on the Device Admin page but that too failed, no changes were seen.
any help would be appreciated.