001: /*
002: * JFolder, Copyright 2001-2006 Gary Steinmetz
003: *
004: * Distributable under LGPL license.
005: * See terms of license at gnu.org.
006: */
007:
008: package org.jfolder.console.web.admin.macro.execute;
009:
010: //base classes
011: import java.io.IOException;
012: import java.util.ArrayList;
013: import javax.servlet.ServletException;
014:
015: //project specific classes
016: import org.jfolder.common.function.WebPageTagPreferences;
017: import org.jfolder.common.function.v1.CommonFunctionMacroDeclareTempIntTag;
018: import org.jfolder.common.tagging.ConceptRollupTag;
019: import org.jfolder.common.tagging.ConceptTagCharacteristic;
020: import org.jfolder.common.tagging.ConceptTagPreferences;
021: import org.jfolder.common.tagging.ConceptTagPreferencesHelper;
022: import org.jfolder.common.tagging.RootConceptTagHolder;
023: import org.jfolder.common.utils.misc.CommonSeparators;
024: import org.jfolder.common.utils.misc.MiscHelper;
025: import org.jfolder.common.utils.web.ParameterSet;
026: import org.jfolder.common.web.template.CreationParameterContext;
027: import org.jfolder.common.web.template.SubmitActionContext;
028: import org.jfolder.common.web.template.SubmitActionParameters;
029: import org.jfolder.config.instance.ConfigInstanceTagHelper;
030: import org.jfolder.console.base.BaseConsoleServlet;
031: import org.jfolder.console.base.ConsolePageContext;
032: import org.jfolder.console.base.ConsolePageParameters;
033: import org.jfolder.console.base.ConsolePageSession;
034: import org.jfolder.console.base.NamesForParentCpc;
035: import org.jfolder.console.macro.ConsoleMacro;
036: import org.jfolder.console.macro.ConsoleMacroTagHelper;
037: import org.jfolder.console.macro.v1.OpenSectionIfClosedConsoleMacroTag;
038: import org.jfolder.console.macro.v1.RootV1ConsoleMacroTag;
039: import org.jfolder.security.model.UserHolder;
040: import org.jfolder.web.page.v1.DynamicTableCellWebPageTag;
041: import org.jfolder.web.page.v1.DynamicTableHolderWebPageTag;
042: import org.jfolder.web.page.v1.DynamicTableRowWebPageTag;
043: import org.jfolder.web.page.v1.SimpleWebPageWebPageTag;
044: import org.jfolder.web.page.v1.TaglibComputeWithoutDisplayWebPageTag;
045:
046: //other classes
047:
048: public class PetStoreSectionMainTemplate extends CommonPetStoreActivity {
049:
050: //
051: private final static String LOCAL_NAME = "MainTemplate";
052: private final static String LOCAL_DIR = "/";
053: private final static String LOCAL_URL = ConsolePageParameters.SERVLET_DEVELOP_WEB_PAGE;
054:
055: //
056: private PetStoreSectionMainTemplate() {
057: }
058:
059: //
060: public final static void createMainTemplate(
061: RootV1ConsoleMacroTag inRv1cmt, String inAppName) {
062: //
063: //
064: //
065: ArrayList currentHandle = null;
066: //
067: //
068: //
069: WebPageTagPreferences wptp = new WebPageTagPreferences();
070: //
071: //
072: String localWebPageCpc = NamesForParentCpc
073: .getDevelopWebPageCpcName(SubmitActionParameters.USER,
074: inAppName, SubmitActionParameters.WEB_PAGE,
075: LOCAL_DIR, LOCAL_NAME);
076: //
077: //
078: PetStoreActivityCreateWebPage.getCreateWebPage(inRv1cmt,
079: inAppName, LOCAL_DIR, LOCAL_NAME);
080: //
081: PetStoreActivityOpenWebPage.getOpenWebPage(inRv1cmt, inAppName,
082: LOCAL_DIR, LOCAL_NAME);
083: //
084: //
085: currentHandle = getLocalMinHandle();
086: //
087: //
088: goTo(inRv1cmt, inAppName, currentHandle);
089: //
090: currentHandle.add(wptp.getUnconstrainedSymbol());
091: //
092: addDynamic(
093: inRv1cmt,
094: inAppName,
095: currentHandle,
096: 0,
097: ConceptTagPreferencesHelper.CTP_PREF_NS__WEB_PAGE__V1_BASE,
098: ConfigInstanceTagHelper.CT_NAME_WP__SIMPLE_WEB_PAGE);
099: //
100: //
101: prepareTitle(inRv1cmt, inAppName);
102: //
103: //
104: //
105: prepareAction(inRv1cmt, inAppName);
106: //
107: //
108: //
109: prepareTable(inRv1cmt, inAppName);
110: //
111: //
112: //
113: PetStoreActivitySaveOrCancelRcth.saveRcth(
114: getLocalCpc(inAppName), LOCAL_URL, LOCAL_URL,
115: getBaseTree(), inRv1cmt);
116: //
117: //
118: PetStoreActivitySaveOrCancelRcth.cancelRcth(
119: getLocalCpc(inAppName), LOCAL_URL,
120: ConsolePageParameters.SERVLET_CONSOLE, getBaseTree(),
121: inRv1cmt);
122: //
123: //
124: }
125:
126: //
127: //
128: //
129: private final static void prepareAction(
130: RootV1ConsoleMacroTag inRv1cmt, String inAppName) {
131: //
132:
133: ArrayList currentHandle = getSimpleWebPageHandle();
134:
135: goTo(inRv1cmt, inAppName, currentHandle);
136: currentHandle.add(SimpleWebPageWebPageTag.CONTENT_CTCON);
137: //
138: addDynamic(
139: inRv1cmt,
140: inAppName,
141: currentHandle,
142: 0,
143: ConceptTagPreferencesHelper.CTP_PREF_NS__WEB_PAGE__V1_BASE,
144: ConfigInstanceTagHelper.CT_NAME_WP__COMPUTE_WITHOUT_DISPLAY);
145: //
146: currentHandle.add("0");
147: //
148: goTo(inRv1cmt, inAppName, currentHandle);
149: //
150: //
151: //
152: currentHandle
153: .add(TaglibComputeWithoutDisplayWebPageTag.ACTION_CTCON);
154: //
155: //
156: //
157: prepareTemplateInterface(inRv1cmt, inAppName, currentHandle,
158: "action", "Web Page Action");
159: }
160:
161: //
162: //
163: //
164: private final static void prepareTable(
165: RootV1ConsoleMacroTag inRv1cmt, String inAppName) {
166: //
167:
168: ArrayList currentHandle = getSimpleWebPageHandle();
169:
170: goTo(inRv1cmt, inAppName, currentHandle);
171: currentHandle.add(SimpleWebPageWebPageTag.CONTENT_CTCON);
172: //
173: addDynamic(
174: inRv1cmt,
175: inAppName,
176: currentHandle,
177: 1,
178: ConceptTagPreferencesHelper.CTP_PREF_NS__WEB_PAGE__V1_BASE,
179: ConfigInstanceTagHelper.CT_NAME_WP__DYNAMIC_TABLE_HOLDER);
180: //
181: currentHandle.add("1");
182: //
183: goTo(inRv1cmt, inAppName, currentHandle);
184: //
185: //
186: //
187: currentHandle.add(DynamicTableHolderWebPageTag.WIDTH_CTCON);
188: addStatic(inRv1cmt, inAppName, currentHandle, 0, "100%");
189: //
190: //
191: //
192: currentHandle.remove(currentHandle.size() - 1);
193: currentHandle.add(DynamicTableHolderWebPageTag.HEIGHT_CTCON);
194: addStatic(inRv1cmt, inAppName, currentHandle, 0, "100%");
195: //
196: //
197: //
198: currentHandle.remove(currentHandle.size() - 1);
199: currentHandle.add(DynamicTableHolderWebPageTag.ROW_CTCON);
200: //
201: addDynamic(
202: inRv1cmt,
203: inAppName,
204: currentHandle,
205: 0,
206: ConceptTagPreferencesHelper.CTP_PREF_NS__WEB_PAGE__V1_BASE,
207: ConfigInstanceTagHelper.CT_NAME_WP__DYNAMIC_TABLE_ROW);
208: //
209: addDynamic(
210: inRv1cmt,
211: inAppName,
212: currentHandle,
213: 1,
214: ConceptTagPreferencesHelper.CTP_PREF_NS__WEB_PAGE__V1_BASE,
215: ConfigInstanceTagHelper.CT_NAME_WP__DYNAMIC_TABLE_ROW);
216: //
217: addDynamic(
218: inRv1cmt,
219: inAppName,
220: currentHandle,
221: 2,
222: ConceptTagPreferencesHelper.CTP_PREF_NS__WEB_PAGE__V1_BASE,
223: ConfigInstanceTagHelper.CT_NAME_WP__DYNAMIC_TABLE_ROW);
224: //
225: addDynamic(
226: inRv1cmt,
227: inAppName,
228: currentHandle,
229: 3,
230: ConceptTagPreferencesHelper.CTP_PREF_NS__WEB_PAGE__V1_BASE,
231: ConfigInstanceTagHelper.CT_NAME_WP__DYNAMIC_TABLE_ROW);
232: //
233: //
234: //
235: prepareZerothRow(inRv1cmt, inAppName);
236: prepareFirstRow(inRv1cmt, inAppName);
237: prepareSecondRow(inRv1cmt, inAppName);
238: prepareThirdRow(inRv1cmt, inAppName);
239: }
240:
241: //
242: private final static void prepareZerothRow(
243: RootV1ConsoleMacroTag inRv1cmt, String inAppName) {
244: //
245: ArrayList currentHandle = getDynamicTableRowHandle(0);
246: //
247: goTo(inRv1cmt, inAppName, currentHandle);
248: //
249: currentHandle.add(DynamicTableRowWebPageTag.HEIGHT_CTCON);
250: addStatic(inRv1cmt, inAppName, currentHandle, 0, "100");
251: //
252: //
253: currentHandle.remove(currentHandle.size() - 1);
254: currentHandle.add(DynamicTableRowWebPageTag.VALIGN_CTCON);
255: addStatic(inRv1cmt, inAppName, currentHandle, 0, "top");
256: //
257: //
258: currentHandle.remove(currentHandle.size() - 1);
259: currentHandle.add(DynamicTableRowWebPageTag.CELL_CTCON);
260: //
261: addDynamic(
262: inRv1cmt,
263: inAppName,
264: currentHandle,
265: 0,
266: ConceptTagPreferencesHelper.CTP_PREF_NS__WEB_PAGE__V1_BASE,
267: ConfigInstanceTagHelper.CT_NAME_WP__DYNAMIC_TABLE_CELL);
268: //
269: currentHandle = getDynamicTableCellHandle(0, 0);
270: //
271: goTo(inRv1cmt, inAppName, currentHandle);
272: //
273: currentHandle.add(DynamicTableCellWebPageTag.COLSPAN_CTCON);
274: addStatic(inRv1cmt, inAppName, currentHandle, 0, "3");
275: //
276: currentHandle.remove(currentHandle.size() - 1);
277: currentHandle.add(DynamicTableCellWebPageTag.CONTENT_CTCON);
278: //
279: prepareTemplateInterface(inRv1cmt, inAppName, currentHandle,
280: "banner", "Web Page Banner");
281: }
282:
283: //
284: private final static void prepareFirstRow(
285: RootV1ConsoleMacroTag inRv1cmt, String inAppName) {
286: //
287: ArrayList currentHandle = getDynamicTableRowHandle(1);
288: //
289: goTo(inRv1cmt, inAppName, currentHandle);
290: //
291: //currentHandle.add(DynamicTableRowWebPageTag.HEIGHT_CTCON);
292: //addStatic(inRv1cmt, inAppName, currentHandle, 0, "100");
293: //
294: //
295: //currentHandle.remove(currentHandle.size() - 1);
296: currentHandle.add(DynamicTableRowWebPageTag.VALIGN_CTCON);
297: addStatic(inRv1cmt, inAppName, currentHandle, 0, "top");
298: //
299: //
300: //
301: //
302: //
303: //
304: currentHandle.remove(currentHandle.size() - 1);
305: currentHandle.add(DynamicTableRowWebPageTag.CELL_CTCON);
306: //
307: addDynamic(
308: inRv1cmt,
309: inAppName,
310: currentHandle,
311: 0,
312: ConceptTagPreferencesHelper.CTP_PREF_NS__WEB_PAGE__V1_BASE,
313: ConfigInstanceTagHelper.CT_NAME_WP__DYNAMIC_TABLE_CELL);
314: //
315: addDynamic(
316: inRv1cmt,
317: inAppName,
318: currentHandle,
319: 1,
320: ConceptTagPreferencesHelper.CTP_PREF_NS__WEB_PAGE__V1_BASE,
321: ConfigInstanceTagHelper.CT_NAME_WP__DYNAMIC_TABLE_CELL);
322: //
323: addDynamic(
324: inRv1cmt,
325: inAppName,
326: currentHandle,
327: 2,
328: ConceptTagPreferencesHelper.CTP_PREF_NS__WEB_PAGE__V1_BASE,
329: ConfigInstanceTagHelper.CT_NAME_WP__DYNAMIC_TABLE_CELL);
330: //
331: //
332: //
333: //
334: //first cell
335: //
336: currentHandle = getDynamicTableCellHandle(1, 0);
337: //
338: goTo(inRv1cmt, inAppName, currentHandle);
339: //
340: currentHandle.add(DynamicTableCellWebPageTag.VALIGN_CTCON);
341: addStatic(inRv1cmt, inAppName, currentHandle, 0, "top");
342: //
343: currentHandle.remove(currentHandle.size() - 1);
344: currentHandle.add(DynamicTableCellWebPageTag.WIDTH_CTCON);
345: addStatic(inRv1cmt, inAppName, currentHandle, 0, "20%");
346: //
347: currentHandle.remove(currentHandle.size() - 1);
348: currentHandle.add(DynamicTableCellWebPageTag.CONTENT_CTCON);
349: prepareTemplateInterface(inRv1cmt, inAppName, currentHandle,
350: "sidebar", "Web Page Sidebar");
351: //
352: //
353: //
354: //
355: //second cell
356: //
357: currentHandle = getDynamicTableCellHandle(1, 1);
358: //
359: goTo(inRv1cmt, inAppName, currentHandle);
360: //
361: currentHandle.add(DynamicTableCellWebPageTag.VALIGN_CTCON);
362: addStatic(inRv1cmt, inAppName, currentHandle, 0, "top");
363: //
364: currentHandle.remove(currentHandle.size() - 1);
365: currentHandle.add(DynamicTableCellWebPageTag.WIDTH_CTCON);
366: addStatic(inRv1cmt, inAppName, currentHandle, 0, "60%");
367: //
368: currentHandle.remove(currentHandle.size() - 1);
369: currentHandle.add(DynamicTableCellWebPageTag.CONTENT_CTCON);
370: prepareTemplateInterface(inRv1cmt, inAppName, currentHandle,
371: "body", "Body");
372: //
373: //
374: //
375: //
376: //third cell
377: //
378: currentHandle = getDynamicTableCellHandle(1, 2);
379: //
380: goTo(inRv1cmt, inAppName, currentHandle);
381: //
382: currentHandle.add(DynamicTableCellWebPageTag.VALIGN_CTCON);
383: addStatic(inRv1cmt, inAppName, currentHandle, 0, "top");
384: //
385: //currentHandle.remove(currentHandle.size() - 1);
386: //currentHandle.add(DynamicTableCellWebPageTag.WIDTH_CTCON);
387: //addStatic(inRv1cmt, inAppName, currentHandle, 0, "60%");
388: //
389: currentHandle.remove(currentHandle.size() - 1);
390: currentHandle.add(DynamicTableCellWebPageTag.CONTENT_CTCON);
391: prepareTemplateInterface(inRv1cmt, inAppName, currentHandle,
392: "mylist", "Mylist");
393: }
394:
395: //
396: private final static void prepareSecondRow(
397: RootV1ConsoleMacroTag inRv1cmt, String inAppName) {
398: //
399: ArrayList currentHandle = getDynamicTableRowHandle(2);
400: //
401: goTo(inRv1cmt, inAppName, currentHandle);
402: //
403: //currentHandle.add(DynamicTableRowWebPageTag.HEIGHT_CTCON);
404: //addStatic(inRv1cmt, inAppName, currentHandle, 0, "100");
405: //
406: //
407: //currentHandle.remove(currentHandle.size() - 1);
408: currentHandle.add(DynamicTableRowWebPageTag.VALIGN_CTCON);
409: addStatic(inRv1cmt, inAppName, currentHandle, 0, "bottom");
410: //
411: //
412: currentHandle.remove(currentHandle.size() - 1);
413: currentHandle.add(DynamicTableRowWebPageTag.CELL_CTCON);
414: //
415: addDynamic(
416: inRv1cmt,
417: inAppName,
418: currentHandle,
419: 0,
420: ConceptTagPreferencesHelper.CTP_PREF_NS__WEB_PAGE__V1_BASE,
421: ConfigInstanceTagHelper.CT_NAME_WP__DYNAMIC_TABLE_CELL);
422: //
423: currentHandle = getDynamicTableCellHandle(2, 0);
424: //
425: goTo(inRv1cmt, inAppName, currentHandle);
426: //
427: currentHandle.add(DynamicTableCellWebPageTag.COLSPAN_CTCON);
428: addStatic(inRv1cmt, inAppName, currentHandle, 0, "3");
429: //
430: currentHandle.remove(currentHandle.size() - 1);
431: currentHandle.add(DynamicTableCellWebPageTag.CONTENT_CTCON);
432: //
433: prepareTemplateInterface(inRv1cmt, inAppName, currentHandle,
434: "advicebanner", "Web Page Advice Banner");
435: }
436:
437: //
438: private final static void prepareThirdRow(
439: RootV1ConsoleMacroTag inRv1cmt, String inAppName) {
440: //
441: ArrayList currentHandle = getDynamicTableRowHandle(3);
442: //
443: goTo(inRv1cmt, inAppName, currentHandle);
444: //
445: //currentHandle.add(DynamicTableRowWebPageTag.HEIGHT_CTCON);
446: //addStatic(inRv1cmt, inAppName, currentHandle, 0, "100");
447: //
448: //
449: //currentHandle.remove(currentHandle.size() - 1);
450: //currentHandle.add(DynamicTableRowWebPageTag.VALIGN_CTCON);
451: //addStatic(inRv1cmt, inAppName, currentHandle, 0, "bottom");
452: //
453: //
454: //currentHandle.remove(currentHandle.size() - 1);
455: currentHandle.add(DynamicTableRowWebPageTag.CELL_CTCON);
456: //
457: addDynamic(
458: inRv1cmt,
459: inAppName,
460: currentHandle,
461: 0,
462: ConceptTagPreferencesHelper.CTP_PREF_NS__WEB_PAGE__V1_BASE,
463: ConfigInstanceTagHelper.CT_NAME_WP__DYNAMIC_TABLE_CELL);
464: //
465: currentHandle = getDynamicTableCellHandle(3, 0);
466: //
467: goTo(inRv1cmt, inAppName, currentHandle);
468: //
469: currentHandle.add(DynamicTableCellWebPageTag.COLSPAN_CTCON);
470: addStatic(inRv1cmt, inAppName, currentHandle, 0, "3");
471: //
472: currentHandle.remove(currentHandle.size() - 1);
473: currentHandle.add(DynamicTableCellWebPageTag.CONTENT_CTCON);
474: //
475: prepareTemplateInterface(inRv1cmt, inAppName, currentHandle,
476: "footer", "Web Page Footer");
477: }
478:
479: //
480: //
481: //
482: private final static void prepareTitle(
483: RootV1ConsoleMacroTag inRv1cmt, String inAppName) {
484:
485: ArrayList currentHandle = getSimpleWebPageHandle();
486:
487: goTo(inRv1cmt, inAppName, currentHandle);
488: currentHandle.add(SimpleWebPageWebPageTag.TITLE_CTCON);
489: //
490: //
491: //
492: prepareTemplateInterface(inRv1cmt, inAppName, currentHandle,
493: "title", "Web Page Title");
494: }
495:
496: //
497: //
498: //
499: private final static void prepareTemplateInterface(
500: RootV1ConsoleMacroTag inRv1cmt, String inAppName,
501: ArrayList inHandle, String inTemplateName,
502: String inTemplateDescription) {
503: //
504: ArrayList currentHandle = ((ArrayList) inHandle.clone());
505: //
506: //
507: addDynamic(
508: inRv1cmt,
509: inAppName,
510: currentHandle,
511: 0,
512: ConceptTagPreferencesHelper.CTP_PREF_NS__COMMON_FUNCTION__V1_BASE,
513: ConfigInstanceTagHelper.CT_NAME_CF__MACRO_DECLARE_TEMP_INT);
514: //
515: currentHandle.add("0");
516: //
517: goTo(inRv1cmt, inAppName, currentHandle);
518: //
519: currentHandle
520: .add(CommonFunctionMacroDeclareTempIntTag.NAME_CTCON);
521: //
522: addStatic(inRv1cmt, inAppName, currentHandle, 0, inTemplateName);
523: //
524: currentHandle.remove(currentHandle.size() - 1);
525: currentHandle
526: .add(CommonFunctionMacroDeclareTempIntTag.DESCRIPTION_CTCON);
527: //
528: addStatic(inRv1cmt, inAppName, currentHandle, 0,
529: inTemplateDescription);
530:
531: }
532:
533: //
534: //
535: //
536: //
537: //
538: private final static void goTo(RootV1ConsoleMacroTag inRv1cmt,
539: String inAppName, ArrayList inCurrentHandle) {
540: //
541: PetStoreActivityGoToWithinRcth.goTo(getLocalCpc(inAppName),
542: LOCAL_URL, LOCAL_URL, getBaseTree(), inRv1cmt,
543: getWebPageHandle(inCurrentHandle),
544: getStudioHandle(inCurrentHandle),
545: getStudioHandle(getLocalMinHandle()));
546: }
547:
548: private final static void addDynamic(
549: RootV1ConsoleMacroTag inRv1cmt, String inAppName,
550: ArrayList inCurrentHandle, int inIndex, String inCtNs,
551: String inCtName) {
552: //
553: PetStoreActivityEditRcth.addDynamic(getLocalCpc(inAppName),
554: LOCAL_URL, LOCAL_URL, getBaseTree(), inRv1cmt,
555: getWebPageHandle(inCurrentHandle),
556: getStudioHandle(inCurrentHandle), inIndex, inCtNs,
557: inCtName);
558: }
559:
560: private final static void addStatic(RootV1ConsoleMacroTag inRv1cmt,
561: String inAppName, ArrayList inCurrentHandle, int inIndex,
562: String inValue) {
563: //
564: PetStoreActivityEditRcth.addStatic(getLocalCpc(inAppName),
565: LOCAL_URL, LOCAL_URL, getBaseTree(), inRv1cmt,
566: getWebPageHandle(inCurrentHandle),
567: getStudioHandle(inCurrentHandle), inIndex, inValue);
568: }
569:
570: //
571: //
572: //
573: //
574: //
575: private final static ArrayList getDynamicTableCellHandle(
576: int inRowIndex, int inCellIndex) {
577: //
578:
579: ArrayList outValue = getDynamicTableRowHandle(inRowIndex);
580:
581: //
582: //WebPageTagPreferences wptp = new WebPageTagPreferences();
583: outValue.add(DynamicTableRowWebPageTag.CELL_CTCON);
584: outValue.add(inCellIndex + "");
585:
586: return outValue;
587: }
588:
589: private final static ArrayList getDynamicTableRowHandle(int inIndex) {
590:
591: ArrayList outValue = getDynamicTableHolderHandle();
592:
593: //
594: //WebPageTagPreferences wptp = new WebPageTagPreferences();
595: outValue.add(DynamicTableHolderWebPageTag.ROW_CTCON);
596: outValue.add(inIndex + "");
597:
598: return outValue;
599: }
600:
601: private final static ArrayList getDynamicTableHolderHandle() {
602:
603: ArrayList outValue = getSimpleWebPageHandle();
604:
605: //
606: //WebPageTagPreferences wptp = new WebPageTagPreferences();
607: outValue.add(SimpleWebPageWebPageTag.CONTENT_CTCON);
608: outValue.add("1");
609:
610: return outValue;
611: }
612:
613: private final static ArrayList getSimpleWebPageHandle() {
614:
615: ArrayList outValue = getLocalMinHandle();
616:
617: //
618: WebPageTagPreferences wptp = new WebPageTagPreferences();
619: outValue.add(wptp.getUnconstrainedSymbol());
620: outValue.add("0");
621:
622: return outValue;
623: }
624:
625: private final static ArrayList getLocalMinHandle() {
626:
627: ArrayList outValue = new ArrayList();
628:
629: WebPageTagPreferences wptp = new WebPageTagPreferences();
630:
631: outValue.add(wptp.getRootConstraint());
632: outValue.add("0");
633:
634: return outValue;
635: }
636:
637: private final static String getLocalCpc(String inAppName) {
638: //
639: String outValue = null;
640:
641: outValue = NamesForParentCpc.getDevelopWebPageCpcName(
642: SubmitActionParameters.USER, inAppName,
643: SubmitActionParameters.WEB_PAGE, LOCAL_DIR, LOCAL_NAME);
644:
645: return outValue;
646: }
647: }
|