comparison gnv/src/main/java/de/intevation/gnv/action/SelectArtifactFactoryAction.java @ 157:013d47662161

Switched the Communication for Describe-Calls to the artifact-database from get to post. Added the possibility to tell the artifact-database that the ui should not be delivered in describe-responses. gnv/trunk@285 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Tim Englich <tim.englich@intevation.de>
date Thu, 05 Nov 2009 14:53:24 +0000
parents 23a4f196d7d6
children f2e2053ecf23
comparison
equal deleted inserted replaced
156:aa5197b3f930 157:013d47662161
68 .getArtifactDatabaseClient(getLocale(request)); 68 .getArtifactDatabaseClient(getLocale(request));
69 ArtifactObject artifact = adc.createNewArtifact(af); 69 ArtifactObject artifact = adc.createNewArtifact(af);
70 sm.setCurrentArtifact(artifact); 70 sm.setCurrentArtifact(artifact);
71 71
72 ArtifactDescription artifactdescription = adc 72 ArtifactDescription artifactdescription = adc
73 .getCurrentStepDescription(af, artifact); 73 .getCurrentStepDescription(af, artifact,true);
74 74
75 XSLTransformer transformer = new XSLTransformer(); 75 XSLTransformer transformer = new XSLTransformer();
76 String ui = transformer.transform(artifactdescription 76 String ui = transformer.transform(artifactdescription
77 .getCurrentUI(), "UTF-8", request 77 .getCurrentUI(), "UTF-8", request
78 .getRealPath("WEB-INF/config/templates/describe-ui.xsl")); 78 .getRealPath("WEB-INF/config/templates/describe-ui.xsl"));

http://dive4elements.wald.intevation.org