Click here to Skip to main content
15,884,628 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900