%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ page trimDirectiveWhitespaces="true" %> <%@ page import="org.crosswire.community.projects.ntmss.data.Apparatus" %> <% // TODO: not finished. add security. fix usage. remove it unnecessary int segReadingID = -1; try {segReadingID = Integer.parseInt(request.getParameter("segReadingID"));} catch (Exception e){} String reading = request.getParameter("reading"); if (reading != null) reading = new String(reading.getBytes("iso8859-1"), "UTF-8"); if (segReadingID > -1 && reading != null) { response.setContentType("text/xml"); // --------------------------------------------- Apparatus.updateSegmentReading(segReadingID, reading); return; } %>
Submit a new or modified variant reading option for a variant segment
segID | segment id for the variant reading, e.g., 10 |
reading | reading for this variant segment, e.g., τα εργα σου και |
readingName | (optional) reading name for this variant segment, e.g., B |