1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
|
17 | |
package org.kuali.rice.kns.web.struts.action; |
18 | |
|
19 | |
import org.apache.commons.lang.StringUtils; |
20 | |
import org.apache.struts.action.ActionForm; |
21 | |
import org.apache.struts.action.ActionForward; |
22 | |
import org.apache.struts.action.ActionMapping; |
23 | |
import org.kuali.rice.core.api.config.property.ConfigContext; |
24 | |
import org.kuali.rice.core.api.config.property.ConfigurationService; |
25 | |
import org.kuali.rice.core.api.util.RiceConstants; |
26 | |
import org.kuali.rice.core.api.util.RiceKeyConstants; |
27 | |
import org.kuali.rice.core.framework.parameter.ParameterService; |
28 | |
import org.kuali.rice.core.framework.services.CoreFrameworkServiceLocator; |
29 | |
import org.kuali.rice.kew.api.KewApiServiceLocator; |
30 | |
import org.kuali.rice.kew.api.doctype.DocumentType; |
31 | |
import org.kuali.rice.kns.datadictionary.BusinessObjectEntry; |
32 | |
import org.kuali.rice.kns.datadictionary.DocumentEntry; |
33 | |
import org.kuali.rice.kns.datadictionary.HeaderNavigation; |
34 | |
import org.kuali.rice.kns.datadictionary.LookupDefinition; |
35 | |
import org.kuali.rice.kns.datadictionary.MaintainableFieldDefinition; |
36 | |
import org.kuali.rice.kns.service.KNSServiceLocator; |
37 | |
import org.kuali.rice.kns.service.MaintenanceDocumentDictionaryService; |
38 | |
import org.kuali.rice.kns.web.struts.form.KualiHelpForm; |
39 | |
import org.kuali.rice.krad.datadictionary.AttributeDefinition; |
40 | |
import org.kuali.rice.krad.datadictionary.DataDictionary; |
41 | |
import org.kuali.rice.krad.datadictionary.DataDictionaryEntry; |
42 | |
import org.kuali.rice.krad.datadictionary.HelpDefinition; |
43 | |
import org.kuali.rice.krad.service.DataDictionaryService; |
44 | |
import org.kuali.rice.krad.service.KRADServiceLocator; |
45 | |
import org.kuali.rice.krad.service.KRADServiceLocatorWeb; |
46 | |
import org.kuali.rice.krad.util.KRADConstants; |
47 | |
|
48 | |
import javax.servlet.http.HttpServletRequest; |
49 | |
import javax.servlet.http.HttpServletResponse; |
50 | |
|
51 | |
|
52 | |
|
53 | |
|
54 | |
|
55 | |
|
56 | 0 | public class KualiHelpAction extends KualiAction { |
57 | 0 | private static final org.apache.log4j.Logger LOG = org.apache.log4j.Logger.getLogger(KualiHelpAction.class); |
58 | |
|
59 | |
private static final String VALIDATION_PATTERN_STRING = "ValidationPattern"; |
60 | |
private static final String NO = "No"; |
61 | |
private static final String YES = "Yes"; |
62 | |
static final String DEFAULT_LOOKUP_HELP_TEXT_RESOURCE_KEY = "lookupHelpText"; |
63 | |
|
64 | |
private static DataDictionaryService dataDictionaryService; |
65 | |
private static ConfigurationService kualiConfigurationService; |
66 | |
private static ParameterService parameterService; |
67 | |
private static MaintenanceDocumentDictionaryService maintenanceDocumentDictionaryService; |
68 | |
|
69 | |
private DataDictionaryService getDataDictionaryService() { |
70 | 0 | if ( dataDictionaryService == null ) { |
71 | 0 | dataDictionaryService = KRADServiceLocatorWeb.getDataDictionaryService(); |
72 | |
} |
73 | 0 | return dataDictionaryService; |
74 | |
} |
75 | |
private ConfigurationService getConfigurationService() { |
76 | 0 | if ( kualiConfigurationService == null ) { |
77 | 0 | kualiConfigurationService = KRADServiceLocator.getKualiConfigurationService(); |
78 | |
} |
79 | 0 | return kualiConfigurationService; |
80 | |
} |
81 | |
private ParameterService getParameterService() { |
82 | 0 | if ( parameterService == null ) { |
83 | 0 | parameterService = CoreFrameworkServiceLocator.getParameterService(); |
84 | |
} |
85 | 0 | return parameterService; |
86 | |
} |
87 | |
|
88 | |
private MaintenanceDocumentDictionaryService getMaintenanceDocumentDictionaryService() { |
89 | 0 | if ( maintenanceDocumentDictionaryService == null ) { |
90 | 0 | maintenanceDocumentDictionaryService = KNSServiceLocator.getMaintenanceDocumentDictionaryService(); |
91 | |
} |
92 | 0 | return maintenanceDocumentDictionaryService; |
93 | |
} |
94 | |
|
95 | |
|
96 | |
|
97 | |
|
98 | |
|
99 | |
|
100 | |
|
101 | |
private DataDictionaryEntry getDataDictionaryEntry(String businessObjectClassName) { |
102 | 0 | return getDataDictionaryService().getDataDictionary().getDictionaryObjectEntry(businessObjectClassName); |
103 | |
} |
104 | |
|
105 | |
|
106 | |
|
107 | |
|
108 | |
|
109 | |
|
110 | |
|
111 | |
|
112 | |
|
113 | |
private AttributeDefinition getAttributeDefinition(String businessObjectClassName, String attributeName) throws ClassNotFoundException { |
114 | 0 | AttributeDefinition retval = null; |
115 | |
|
116 | 0 | if (getDataDictionaryEntry(businessObjectClassName) != null) { |
117 | 0 | retval = getDataDictionaryEntry(businessObjectClassName).getAttributeDefinition(attributeName); |
118 | |
} |
119 | 0 | return retval; |
120 | |
} |
121 | |
|
122 | |
|
123 | |
|
124 | |
|
125 | |
|
126 | |
private String getAttributeMaxLength(AttributeDefinition attribute) throws Exception { |
127 | 0 | return attribute.getMaxLength().toString(); |
128 | |
} |
129 | |
|
130 | |
|
131 | |
|
132 | |
|
133 | |
|
134 | |
private String getAttributeValidationPatternName(AttributeDefinition attribute) throws Exception { |
135 | 0 | String retval = new String(); |
136 | 0 | if (attribute.getValidationPattern() != null) { |
137 | 0 | retval = attribute.getValidationPattern().getClass().getName(); |
138 | |
} |
139 | |
|
140 | 0 | if (retval.indexOf(".") > 0) { |
141 | 0 | retval = retval.substring(retval.lastIndexOf(".") + 1); |
142 | |
} |
143 | 0 | if (retval.endsWith(VALIDATION_PATTERN_STRING)) { |
144 | 0 | retval = retval.substring(0, retval.lastIndexOf(VALIDATION_PATTERN_STRING)); |
145 | |
} |
146 | |
|
147 | 0 | return retval; |
148 | |
} |
149 | |
|
150 | |
|
151 | |
|
152 | |
|
153 | |
|
154 | |
|
155 | |
public ActionForward getAttributeHelpText(ActionMapping mapping, KualiHelpForm helpForm, HttpServletRequest request, HttpServletResponse response) throws Exception { |
156 | |
|
157 | |
AttributeDefinition attribute; |
158 | |
|
159 | 0 | if (StringUtils.isBlank(helpForm.getBusinessObjectClassName()) || StringUtils.isBlank(helpForm.getAttributeName())) { |
160 | 0 | throw new RuntimeException("Business object and attribute name not specified."); |
161 | |
} |
162 | 0 | attribute = getAttributeDefinition(helpForm.getBusinessObjectClassName(), helpForm.getAttributeName()); |
163 | |
|
164 | 0 | if ( LOG.isDebugEnabled() ) { |
165 | 0 | LOG.debug( "Request for help on: " + helpForm.getBusinessObjectClassName() + " -- " + helpForm.getAttributeName() ); |
166 | 0 | LOG.debug( " attribute: " + attribute ); |
167 | |
} |
168 | |
|
169 | 0 | if (attribute == null || StringUtils.isBlank(attribute.getSummary())) { |
170 | 0 | helpForm.setResourceKey(RiceKeyConstants.MESSAGE_NO_HELP_TEXT); |
171 | 0 | return getResourceHelpText(mapping, helpForm, request, response); |
172 | |
} |
173 | |
|
174 | 0 | boolean required = attribute.isRequired().booleanValue(); |
175 | |
|
176 | |
try { |
177 | 0 | Class boClass = Class.forName( helpForm.getBusinessObjectClassName() ); |
178 | 0 | String docTypeName = getMaintenanceDocumentDictionaryService().getDocumentTypeName( boClass ); |
179 | 0 | if (StringUtils.isNotBlank(docTypeName)) { |
180 | |
|
181 | 0 | MaintainableFieldDefinition field = getMaintenanceDocumentDictionaryService().getMaintainableField( docTypeName, helpForm.getAttributeName() ); |
182 | 0 | if ( field != null ) { |
183 | 0 | required = field.isRequired(); |
184 | |
} |
185 | 0 | } |
186 | |
else { |
187 | 0 | if (log.isInfoEnabled()) { |
188 | 0 | log.info("BO class " + boClass.getName() + " does not have a maint doc definition. Defaulting to using DD for definition"); |
189 | |
} |
190 | |
} |
191 | 0 | } catch ( ClassNotFoundException ex ) { |
192 | |
|
193 | 0 | LOG.warn( "Unable to obtain maintainable field for BO property.", ex ); |
194 | 0 | } |
195 | |
|
196 | 0 | helpForm.setHelpLabel(attribute.getLabel()); |
197 | 0 | helpForm.setHelpSummary(attribute.getSummary()); |
198 | 0 | helpForm.setHelpDescription(attribute.getDescription()); |
199 | 0 | helpForm.setHelpRequired(required?YES:NO); |
200 | 0 | helpForm.setHelpMaxLength(getAttributeMaxLength(attribute)); |
201 | 0 | helpForm.setValidationPatternName(getAttributeValidationPatternName(attribute)); |
202 | |
|
203 | 0 | return mapping.findForward(RiceConstants.MAPPING_BASIC); |
204 | |
} |
205 | |
|
206 | |
|
207 | |
|
208 | |
|
209 | |
|
210 | |
|
211 | |
public ActionForward getAttributeHelpText(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { |
212 | 0 | return getAttributeHelpText(mapping, (KualiHelpForm) form, request, response); |
213 | |
} |
214 | |
|
215 | |
|
216 | |
|
217 | |
|
218 | |
public ActionForward getDocumentHelpText(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { |
219 | 0 | KualiHelpForm helpForm = (KualiHelpForm) form; |
220 | |
|
221 | 0 | String documentTypeName = helpForm.getDocumentTypeName(); |
222 | |
|
223 | 0 | if (StringUtils.isBlank(documentTypeName)) { |
224 | 0 | throw new RuntimeException("Document type name not specified."); |
225 | |
} |
226 | |
|
227 | 0 | DataDictionary dataDictionary = getDataDictionaryService().getDataDictionary(); |
228 | 0 | DocumentEntry entry = (DocumentEntry) dataDictionary.getDocumentEntry(documentTypeName); |
229 | |
|
230 | 0 | String label = ""; |
231 | 0 | String summary = ""; |
232 | 0 | String description = ""; |
233 | 0 | HelpDefinition helpDefinition = null; |
234 | 0 | String apcHelpUrl = null; |
235 | 0 | if (entry != null) { |
236 | 0 | DocumentType docType = KewApiServiceLocator.getDocumentTypeService().getDocumentTypeByName(entry.getDocumentTypeName()); |
237 | 0 | label = docType.getLabel(); |
238 | 0 | description = docType.getDescription(); |
239 | 0 | if (StringUtils.isNotBlank(docType.getHelpDefinitionUrl())) { |
240 | 0 | apcHelpUrl = ConfigContext.getCurrentContextConfig().getProperty("externalizable.help.url") + docType.getHelpDefinitionUrl(); |
241 | |
} |
242 | |
} |
243 | |
|
244 | 0 | if ( StringUtils.isNotBlank(apcHelpUrl) ) { |
245 | 0 | response.sendRedirect(apcHelpUrl); |
246 | 0 | return null; |
247 | |
} |
248 | |
|
249 | 0 | helpForm.setHelpLabel(label); |
250 | 0 | helpForm.setHelpSummary(summary); |
251 | 0 | helpForm.setHelpDescription(description); |
252 | 0 | helpForm.setHelpDefinition(helpDefinition); |
253 | |
|
254 | 0 | return mapping.findForward(RiceConstants.MAPPING_BASIC); |
255 | |
} |
256 | |
|
257 | |
|
258 | |
|
259 | |
|
260 | |
public ActionForward getBusinessObjectHelpText(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { |
261 | 0 | KualiHelpForm helpForm = (KualiHelpForm) form; |
262 | |
|
263 | 0 | String objectClassName = helpForm.getBusinessObjectClassName(); |
264 | |
|
265 | 0 | if (StringUtils.isBlank(objectClassName)) { |
266 | 0 | throw new RuntimeException("Document type name not specified."); |
267 | |
} |
268 | |
|
269 | 0 | DataDictionary dataDictionary = getDataDictionaryService().getDataDictionary(); |
270 | 0 | BusinessObjectEntry entry = (BusinessObjectEntry) dataDictionary.getBusinessObjectEntry(objectClassName); |
271 | |
|
272 | 0 | HelpDefinition helpDefinition = null; |
273 | 0 | String apcHelpUrl = null; |
274 | 0 | String label = ""; |
275 | 0 | String objectDescription = ""; |
276 | 0 | if (entry != null) { |
277 | 0 | helpDefinition = entry.getHelpDefinition(); |
278 | 0 | label = entry.getObjectLabel(); |
279 | 0 | objectDescription = entry.getObjectDescription(); |
280 | 0 | if (null != helpDefinition && null != helpDefinition.getParameterNamespace() && null != helpDefinition.getParameterDetailType() && null != helpDefinition.getParameterName()) { |
281 | 0 | apcHelpUrl = getHelpUrl(helpDefinition.getParameterNamespace(), helpDefinition.getParameterDetailType(), helpDefinition.getParameterName()); |
282 | |
} |
283 | |
} |
284 | |
|
285 | 0 | if ( !StringUtils.isBlank(apcHelpUrl) ) { |
286 | 0 | response.sendRedirect(apcHelpUrl); |
287 | 0 | return null; |
288 | |
} |
289 | 0 | helpForm.setHelpLabel(label); |
290 | 0 | helpForm.setHelpDescription(objectDescription); |
291 | |
|
292 | 0 | return mapping.findForward(RiceConstants.MAPPING_BASIC); |
293 | |
} |
294 | |
|
295 | |
|
296 | |
|
297 | |
|
298 | |
public ActionForward getPageHelpText(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { |
299 | 0 | KualiHelpForm helpForm = (KualiHelpForm) form; |
300 | |
|
301 | 0 | String documentTypeName = helpForm.getDocumentTypeName(); |
302 | 0 | String pageName = helpForm.getPageName(); |
303 | |
|
304 | 0 | if (StringUtils.isBlank(documentTypeName)) { |
305 | 0 | throw new RuntimeException("Document type name not specified."); |
306 | |
} |
307 | |
|
308 | 0 | if (StringUtils.isBlank(pageName)) { |
309 | 0 | throw new RuntimeException("Page name not specified."); |
310 | |
} |
311 | |
|
312 | 0 | DataDictionary dataDictionary = getDataDictionaryService().getDataDictionary(); |
313 | 0 | DocumentEntry entry = (DocumentEntry) dataDictionary.getDocumentEntry(documentTypeName); |
314 | |
|
315 | 0 | String apcHelpUrl = null; |
316 | 0 | String label = ""; |
317 | 0 | String objectDescription = ""; |
318 | 0 | if (entry != null) { |
319 | 0 | for ( HeaderNavigation headerNavigation : entry.getHeaderNavigationList() ) { |
320 | 0 | if (headerNavigation.getHeaderTabDisplayName().equals(pageName)) { |
321 | 0 | HelpDefinition helpDefinition = headerNavigation.getHelpDefinition(); |
322 | 0 | if (null != helpDefinition && null != helpDefinition.getParameterNamespace() && null != helpDefinition.getParameterDetailType() && null != helpDefinition.getParameterName()) { |
323 | 0 | apcHelpUrl = getHelpUrl(helpDefinition.getParameterNamespace(), helpDefinition.getParameterDetailType(), helpDefinition.getParameterName()); |
324 | |
} |
325 | 0 | } |
326 | |
} |
327 | |
} |
328 | |
|
329 | 0 | if ( !StringUtils.isBlank(apcHelpUrl) ) { |
330 | 0 | response.sendRedirect(apcHelpUrl); |
331 | 0 | return null; |
332 | |
} |
333 | 0 | helpForm.setHelpLabel(pageName); |
334 | 0 | helpForm.setHelpDescription("No help content available."); |
335 | |
|
336 | 0 | return mapping.findForward(RiceConstants.MAPPING_BASIC); |
337 | |
} |
338 | |
|
339 | |
|
340 | |
|
341 | |
|
342 | |
public ActionForward getStoredHelpUrl(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { |
343 | 0 | KualiHelpForm helpForm = (KualiHelpForm) form; |
344 | |
|
345 | 0 | String helpParameterNamespace = helpForm.getHelpParameterNamespace(); |
346 | 0 | String helpParameterDetailType = helpForm.getHelpParameterDetailType(); |
347 | 0 | String helpParameterName = helpForm.getHelpParameterName(); |
348 | |
|
349 | 0 | if (StringUtils.isBlank(helpParameterNamespace)) { |
350 | 0 | throw new RuntimeException("Parameter Namespace not specified."); |
351 | |
} |
352 | |
|
353 | 0 | if (StringUtils.isBlank(helpParameterDetailType)) { |
354 | 0 | throw new RuntimeException("Detail Type not specified."); |
355 | |
} |
356 | |
|
357 | 0 | if (StringUtils.isBlank(helpParameterName)) { |
358 | 0 | throw new RuntimeException("Parameter Name not specified."); |
359 | |
} |
360 | |
|
361 | 0 | String apcHelpUrl = getHelpUrl(helpParameterNamespace, helpParameterDetailType, helpParameterName); |
362 | |
|
363 | 0 | if ( !StringUtils.isBlank(apcHelpUrl) ) { |
364 | 0 | response.sendRedirect(apcHelpUrl); |
365 | 0 | return null; |
366 | |
} |
367 | |
|
368 | 0 | helpForm.setHelpDescription("No help content available."); |
369 | 0 | return mapping.findForward(RiceConstants.MAPPING_BASIC); |
370 | |
} |
371 | |
|
372 | |
|
373 | |
|
374 | |
|
375 | |
public ActionForward getResourceHelpText(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { |
376 | 0 | KualiHelpForm helpForm = (KualiHelpForm) form; |
377 | |
|
378 | 0 | String resourceKey = helpForm.getResourceKey(); |
379 | 0 | populateHelpFormForResourceText(helpForm, resourceKey); |
380 | |
|
381 | 0 | return mapping.findForward(RiceConstants.MAPPING_BASIC); |
382 | |
} |
383 | |
|
384 | |
|
385 | |
|
386 | |
|
387 | |
|
388 | |
|
389 | |
protected void populateHelpFormForResourceText(KualiHelpForm helpForm, String resourceKey) { |
390 | 0 | if (StringUtils.isBlank(resourceKey)) { |
391 | 0 | throw new RuntimeException("Help resource key not specified."); |
392 | |
} |
393 | |
|
394 | 0 | helpForm.setHelpLabel(""); |
395 | 0 | helpForm.setHelpSummary(""); |
396 | 0 | helpForm.setHelpDescription(getConfigurationService().getPropertyValueAsString(resourceKey)); |
397 | 0 | } |
398 | |
|
399 | |
|
400 | |
|
401 | |
|
402 | |
public ActionForward getLookupHelpText(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { |
403 | 0 | KualiHelpForm helpForm = (KualiHelpForm) form; |
404 | |
|
405 | 0 | final String lookupBusinessObjectClassName = helpForm.getLookupBusinessObjectClassName(); |
406 | |
|
407 | 0 | if (!StringUtils.isBlank(lookupBusinessObjectClassName) && |
408 | |
|
409 | |
!"org.kuali.rice.kew.docsearch.DocSearchCriteriaDTO".equals(lookupBusinessObjectClassName)) { |
410 | 0 | final DataDictionary dataDictionary = getDataDictionaryService().getDataDictionary(); |
411 | 0 | final BusinessObjectEntry entry = (BusinessObjectEntry) dataDictionary.getBusinessObjectEntry(lookupBusinessObjectClassName); |
412 | 0 | final LookupDefinition lookupDefinition = entry.getLookupDefinition(); |
413 | |
|
414 | 0 | if (lookupDefinition != null) { |
415 | 0 | if (lookupDefinition.getHelpDefinition() != null && !StringUtils.isBlank(lookupDefinition.getHelpDefinition().getParameterNamespace()) && !StringUtils.isBlank(lookupDefinition.getHelpDefinition().getParameterDetailType()) && !StringUtils.isBlank(lookupDefinition.getHelpDefinition().getParameterName())) { |
416 | 0 | final String apcHelpUrl = getHelpUrl(lookupDefinition.getHelpDefinition().getParameterNamespace(), lookupDefinition.getHelpDefinition().getParameterDetailType(), lookupDefinition.getHelpDefinition().getParameterName()); |
417 | |
|
418 | 0 | if ( !StringUtils.isBlank(apcHelpUrl) ) { |
419 | 0 | response.sendRedirect(apcHelpUrl); |
420 | 0 | return null; |
421 | |
} |
422 | 0 | } else if (!StringUtils.isBlank(lookupDefinition.getHelpUrl())) { |
423 | 0 | final String apcHelpUrl = ConfigContext.getCurrentContextConfig().getProperty("externalizable.help.url")+lookupDefinition.getHelpUrl(); |
424 | 0 | response.sendRedirect(apcHelpUrl); |
425 | 0 | return null; |
426 | |
} |
427 | |
} |
428 | |
} |
429 | |
|
430 | 0 | if (!StringUtils.isEmpty(helpForm.getSearchDocumentTypeName())) { |
431 | 0 | DocumentType docType = KewApiServiceLocator.getDocumentTypeService().getDocumentTypeByName(helpForm.getSearchDocumentTypeName()); |
432 | 0 | if (!StringUtils.isEmpty(docType.getDocSearchHelpUrl())) { |
433 | 0 | String docSearchHelpUrl = ConfigContext.getCurrentContextConfig().getProperty("externalizable.help.url") + docType.getDocSearchHelpUrl(); |
434 | |
|
435 | 0 | if ( StringUtils.isNotBlank(docSearchHelpUrl) ) { |
436 | 0 | response.sendRedirect(docSearchHelpUrl); |
437 | 0 | return null; |
438 | |
} |
439 | |
} |
440 | |
} |
441 | |
|
442 | |
|
443 | 0 | populateHelpFormForResourceText(helpForm, getDefaultLookupHelpResourceKey()); |
444 | 0 | return mapping.findForward(RiceConstants.MAPPING_BASIC); |
445 | |
} |
446 | |
|
447 | |
|
448 | |
|
449 | |
|
450 | |
protected String getDefaultLookupHelpResourceKey() { |
451 | 0 | return KualiHelpAction.DEFAULT_LOOKUP_HELP_TEXT_RESOURCE_KEY; |
452 | |
} |
453 | |
|
454 | |
private String getHelpUrl(String parameterNamespace, String parameterDetailTypeCode, String parameterName) { |
455 | 0 | return getConfigurationService().getPropertyValueAsString(KRADConstants.EXTERNALIZABLE_HELP_URL_KEY) + getParameterService().getParameterValueAsString(parameterNamespace, parameterDetailTypeCode, parameterName); |
456 | |
} |
457 | |
|
458 | |
|
459 | |
|
460 | |
|
461 | |
public ActionForward getHelpUrlByNamespace(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws Exception { |
462 | 0 | KualiHelpForm helpForm = (KualiHelpForm) form; |
463 | 0 | return getStoredHelpUrl(mapping, form, request, response); |
464 | |
} |
465 | |
} |