“Our school is all about censorship,” said James Presson, 16, a member of the “Voices of Conflict” cast. “People don’t talk about the things that matter.”

After reading a book of first-person accounts of the war, Ms. Dickinson kicked off the spring semester — with the principal’s blessing — by asking her advanced students if they were open to creating a play about Iraq. In an interview, the teacher said the objective was to showcase people close to the same age as the students who were “experiencing very different things in their daily lives and to stand in the shoes of those people and then present them by speaking their words exactly in front of an audience.”

What emerged was a compilation of monologues taken from the book that impressed Ms. Dickinson, “In Conflict: Iraq War Veterans Speak Out on Duty, Loss and the Fight to Stay Alive”; a documentary, “The Ground Truth”; Web logs and other sources. The script consisted of the subjects’ own words, though some license was taken with identity: Lt. Charles Anderson became “Charlene” because, as Seth Koproski, a senior, put it, “we had a lot of women” in the cast.

In March, students said, Gabby, the junior whose brother is serving in the Army in Iraq, said she wanted to join the production, and soon circulated drafts of the script to parents and others in town. A school administrator who is a Vietnam veteran also raised questions about the wisdom of letting students explore such sensitive issues, Mr. Canty said.

In response to concerns that the script was too antiwar, Ms. Dickinson reworked it with the help of an English teacher. The revised version is more reflective and less angry, omitting graphic descriptions of killing, crude language and some things that reflect poorly on the Bush administration, like a comparison of how long it took various countries to get their troops bulletproof vests. A critical reference to Donald H. Rumsfeld, the former defense secretary, was cut, along with a line from Cpl. Sean Huze saying of soldiers: “Your purpose is to kill.”

Seven characters were added, including Maj. Tammy Duckworth of the National Guard, a helicopter pilot who lost both legs and returned from the war to run for Congress last fall. The second version gives First Lt. Melissa Stockwell, who lost her left leg from the knee down, a new closing line: “But I’d go back. I wouldn’t want to go back, but I would go.”

On March 13, Mr. Canty met with the class. He told us “no matter what we do, it’s not happening,” said one of the students, Erin Clancy. That night, on a Facebook chat group called “Support the Troops in Iraq,” a poster named GabriellaAF, who several students said was their classmate Gabby, posted a celebratory note saying, “We got the show canceled!!” (Reached by telephone, Gabby’s mother, Barbara Alessi, said she had no knowledge of the play or her daughter’s involvement in it.) In classrooms, teenage centers and at dinner tables around town, the drama students entertained the idea of staging the show at a local church, or perhaps al fresco just outside the school grounds. One possibility was Wilton Presbyterian Church.