001: package org.apache.jsp;
002:
003: import javax.servlet.*;
004: import javax.servlet.http.*;
005: import javax.servlet.jsp.*;
006: import org.apache.jasper.runtime.*;
007: import java.util.*;
008: import java.net.*;
009: import org.ofbiz.security.*;
010: import org.ofbiz.entity.*;
011: import org.ofbiz.base.util.*;
012: import org.ofbiz.content.webapp.pseudotag.*;
013: import org.ofbiz.securityext.login.*;
014: import org.ofbiz.common.*;
015:
016: public class main_template_jsp extends HttpJspBase {
017:
018: private static java.util.Vector _jspx_includes;
019:
020: static {
021: _jspx_includes = new java.util.Vector(1);
022: _jspx_includes.add("/includes/envsetup.jsp");
023: }
024:
025: private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_region_render_section;
026: private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_ofbiz_contenturl;
027: private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_ofbiz_if_name;
028: private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_ofbiz_unless_name;
029:
030: public main_template_jsp() {
031: _jspx_tagPool_region_render_section = new org.apache.jasper.runtime.TagHandlerPool();
032: _jspx_tagPool_ofbiz_contenturl = new org.apache.jasper.runtime.TagHandlerPool();
033: _jspx_tagPool_ofbiz_if_name = new org.apache.jasper.runtime.TagHandlerPool();
034: _jspx_tagPool_ofbiz_unless_name = new org.apache.jasper.runtime.TagHandlerPool();
035: }
036:
037: public java.util.List getIncludes() {
038: return _jspx_includes;
039: }
040:
041: public void _jspDestroy() {
042: _jspx_tagPool_region_render_section.release();
043: _jspx_tagPool_ofbiz_contenturl.release();
044: _jspx_tagPool_ofbiz_if_name.release();
045: _jspx_tagPool_ofbiz_unless_name.release();
046: }
047:
048: public void _jspService(HttpServletRequest request,
049: HttpServletResponse response) throws java.io.IOException,
050: ServletException {
051:
052: JspFactory _jspxFactory = null;
053: javax.servlet.jsp.PageContext pageContext = null;
054: HttpSession session = null;
055: ServletContext application = null;
056: ServletConfig config = null;
057: JspWriter out = null;
058: Object page = this ;
059: JspWriter _jspx_out = null;
060:
061: try {
062: _jspxFactory = JspFactory.getDefaultFactory();
063: response.setContentType("text/html; charset=UTF-8");
064: pageContext = _jspxFactory.getPageContext(this , request,
065: response, null, true, 8192, true);
066: application = pageContext.getServletContext();
067: config = pageContext.getServletConfig();
068: session = pageContext.getSession();
069: out = pageContext.getOut();
070: _jspx_out = out;
071:
072: out
073: .write("<!doctype HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\r\n");
074: out.write("\r\n");
075: out.write("\r\n");
076: out.write("\r\n\r\n");
077: out.write("\r\n\r\n");
078: org.ofbiz.security.Security security = null;
079: synchronized (request) {
080: security = (org.ofbiz.security.Security) pageContext
081: .getAttribute("security",
082: PageContext.REQUEST_SCOPE);
083: if (security == null) {
084: throw new java.lang.InstantiationException(
085: "bean security not found within scope");
086: }
087: }
088: out.write("\r\n");
089: org.ofbiz.entity.GenericDelegator delegator = null;
090: synchronized (request) {
091: delegator = (org.ofbiz.entity.GenericDelegator) pageContext
092: .getAttribute("delegator",
093: PageContext.REQUEST_SCOPE);
094: if (delegator == null) {
095: throw new java.lang.InstantiationException(
096: "bean delegator not found within scope");
097: }
098: }
099: out.write("\r\n");
100:
101: GenericValue userLogin = (GenericValue) session
102: .getAttribute("userLogin");
103: if (userLogin != null)
104: request.setAttribute("userLogin", userLogin);
105:
106: GenericValue person = (GenericValue) session
107: .getAttribute("_PERSON_");
108: if (person == null) {
109: person = userLogin == null ? null : userLogin
110: .getRelatedOne("Person");
111: if (person != null)
112: session.setAttribute("_PERSON_", person);
113: }
114: if (person != null)
115: request.setAttribute("person", person);
116:
117: String controlPath = (String) request
118: .getAttribute("_CONTROL_PATH_");
119: String contextRoot = (String) request
120: .getAttribute("_CONTEXT_ROOT_");
121: String serverRoot = (String) request
122: .getAttribute("_SERVER_ROOT_URL_");
123:
124: Map layoutSettings = new HashMap();
125: request.setAttribute("layoutSettings", layoutSettings);
126:
127: layoutSettings.put("companyName", "OFBiz: Core Web Tools");
128: layoutSettings
129: .put("companySubtitle",
130: "Part of the Open For Business Family of Open Source Software");
131: layoutSettings.put("headerImageUrl",
132: "/images/ofbiz_logo.jpg");
133: layoutSettings.put("headerMiddleBackgroundUrl", null);
134: layoutSettings.put("headerRightBackgroundUrl", null);
135:
136: request.setAttribute("checkLoginUrl", CommonWorkers
137: .makeLoginUrl(request, "checkLogin"));
138:
139: String externalLoginKey = LoginEvents
140: .getExternalLoginKey(request);
141: String externalKeyParam = externalLoginKey == null ? ""
142: : "&externalLoginKey=" + externalLoginKey;
143: request.setAttribute("externalKeyParam", externalKeyParam);
144: request.setAttribute("externalLoginKey", externalLoginKey);
145:
146: out.write("\r\n");
147: out.write("\r\n");
148: out.write("\r\n");
149: out.write("\r\n");
150: out.write("<html>\r\n");
151: out.write("<head>\r\n ");
152: out.write("\r\n ");
153: out
154: .write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\r\n ");
155: out.write("<title>");
156: EntityField.run("layoutSettings", "companyName",
157: pageContext);
158: out.write(": ");
159: if (_jspx_meth_region_render_0(pageContext))
160: return;
161: out.write("</title>\r\n ");
162: out.write("<script language='javascript' src='");
163: if (_jspx_meth_ofbiz_contenturl_0(pageContext))
164: return;
165: out.write("' type='text/javascript'>");
166: out.write("</script>\r\n ");
167: out.write("<link rel='stylesheet' href='");
168: if (_jspx_meth_ofbiz_contenturl_1(pageContext))
169: return;
170: out.write("' type='text/css'>\r\n ");
171: out.write("<link rel='stylesheet' href='");
172: if (_jspx_meth_ofbiz_contenturl_2(pageContext))
173: return;
174: out.write("' type='text/css'> \r\n");
175: out.write("</head>\r\n");
176: out.write("<body>\r\n");
177: out
178: .write("<TABLE border=0 width='100%' cellspacing='0' cellpadding='0' class='headerboxoutside'>\r\n ");
179: out.write("<TR>\r\n ");
180: out.write("<TD width='100%'>\r\n ");
181: out
182: .write("<table width='100%' border='0' cellspacing='0' cellpadding='0' class='headerboxtop'>\r\n ");
183: out.write("<tr>\r\n ");
184: if (UtilValidate.isNotEmpty((String) layoutSettings
185: .get("headerImageUrl"))) {
186: out.write("\r\n ");
187: out.write("<TD align=left width='1%'>");
188: out.write("<IMG alt=\"");
189: EntityField.run("layoutSettings", "companyName",
190: pageContext);
191: out.write("\" src='");
192: /* ---- ofbiz:contenturl ---- */
193: org.ofbiz.content.webapp.taglib.ContentUrlTag _jspx_th_ofbiz_contenturl_3 = (org.ofbiz.content.webapp.taglib.ContentUrlTag) _jspx_tagPool_ofbiz_contenturl
194: .get(org.ofbiz.content.webapp.taglib.ContentUrlTag.class);
195: _jspx_th_ofbiz_contenturl_3.setPageContext(pageContext);
196: _jspx_th_ofbiz_contenturl_3.setParent(null);
197: int _jspx_eval_ofbiz_contenturl_3 = _jspx_th_ofbiz_contenturl_3
198: .doStartTag();
199: if (_jspx_eval_ofbiz_contenturl_3 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
200: if (_jspx_eval_ofbiz_contenturl_3 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
201: javax.servlet.jsp.tagext.BodyContent _bc = pageContext
202: .pushBody();
203: out = _bc;
204: _jspx_th_ofbiz_contenturl_3.setBodyContent(_bc);
205: _jspx_th_ofbiz_contenturl_3.doInitBody();
206: }
207: do {
208: out.print((String) layoutSettings
209: .get("headerImageUrl"));
210: int evalDoAfterBody = _jspx_th_ofbiz_contenturl_3
211: .doAfterBody();
212: if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
213: break;
214: } while (true);
215: if (_jspx_eval_ofbiz_contenturl_3 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
216: out = pageContext.popBody();
217: }
218: if (_jspx_th_ofbiz_contenturl_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
219: return;
220: _jspx_tagPool_ofbiz_contenturl
221: .reuse(_jspx_th_ofbiz_contenturl_3);
222: out.write("'>");
223: out.write("</TD>\r\n ");
224: }
225: out.write(" \r\n ");
226: out.write("<TD align=right width='1%' nowrap ");
227: EntityField.run("layoutSettings",
228: "headerRightBackgroundUrl", "background='", "'",
229: pageContext);
230: out.write(">\r\n ");
231: /* ---- ofbiz:if ---- */
232: org.ofbiz.content.webapp.taglib.IfTag _jspx_th_ofbiz_if_0 = (org.ofbiz.content.webapp.taglib.IfTag) _jspx_tagPool_ofbiz_if_name
233: .get(org.ofbiz.content.webapp.taglib.IfTag.class);
234: _jspx_th_ofbiz_if_0.setPageContext(pageContext);
235: _jspx_th_ofbiz_if_0.setParent(null);
236: _jspx_th_ofbiz_if_0.setName("person");
237: int _jspx_eval_ofbiz_if_0 = _jspx_th_ofbiz_if_0
238: .doStartTag();
239: if (_jspx_eval_ofbiz_if_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
240: if (_jspx_eval_ofbiz_if_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
241: javax.servlet.jsp.tagext.BodyContent _bc = pageContext
242: .pushBody();
243: out = _bc;
244: _jspx_th_ofbiz_if_0.setBodyContent(_bc);
245: _jspx_th_ofbiz_if_0.doInitBody();
246: }
247: do {
248: out.write("\r\n ");
249: out
250: .write("<div class=\"insideHeaderText\">Welcome");
251: EntityField.run("person", "firstName", " ",
252: "", pageContext);
253: EntityField.run("person", "lastName", " ", "",
254: pageContext);
255: out.write("!");
256: out.write("</div>\r\n ");
257: int evalDoAfterBody = _jspx_th_ofbiz_if_0
258: .doAfterBody();
259: if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
260: break;
261: } while (true);
262: if (_jspx_eval_ofbiz_if_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
263: out = pageContext.popBody();
264: }
265: if (_jspx_th_ofbiz_if_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
266: return;
267: _jspx_tagPool_ofbiz_if_name.reuse(_jspx_th_ofbiz_if_0);
268: out.write("\r\n ");
269: /* ---- ofbiz:unless ---- */
270: org.ofbiz.content.webapp.taglib.UnlessTag _jspx_th_ofbiz_unless_0 = (org.ofbiz.content.webapp.taglib.UnlessTag) _jspx_tagPool_ofbiz_unless_name
271: .get(org.ofbiz.content.webapp.taglib.UnlessTag.class);
272: _jspx_th_ofbiz_unless_0.setPageContext(pageContext);
273: _jspx_th_ofbiz_unless_0.setParent(null);
274: _jspx_th_ofbiz_unless_0.setName("person");
275: int _jspx_eval_ofbiz_unless_0 = _jspx_th_ofbiz_unless_0
276: .doStartTag();
277: if (_jspx_eval_ofbiz_unless_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
278: if (_jspx_eval_ofbiz_unless_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
279: javax.servlet.jsp.tagext.BodyContent _bc = pageContext
280: .pushBody();
281: out = _bc;
282: _jspx_th_ofbiz_unless_0.setBodyContent(_bc);
283: _jspx_th_ofbiz_unless_0.doInitBody();
284: }
285: do {
286: out.write("\r\n ");
287: /* ---- ofbiz:if ---- */
288: org.ofbiz.content.webapp.taglib.IfTag _jspx_th_ofbiz_if_1 = (org.ofbiz.content.webapp.taglib.IfTag) _jspx_tagPool_ofbiz_if_name
289: .get(org.ofbiz.content.webapp.taglib.IfTag.class);
290: _jspx_th_ofbiz_if_1.setPageContext(pageContext);
291: _jspx_th_ofbiz_if_1
292: .setParent(_jspx_th_ofbiz_unless_0);
293: _jspx_th_ofbiz_if_1.setName("partyGroup");
294: int _jspx_eval_ofbiz_if_1 = _jspx_th_ofbiz_if_1
295: .doStartTag();
296: if (_jspx_eval_ofbiz_if_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
297: if (_jspx_eval_ofbiz_if_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
298: javax.servlet.jsp.tagext.BodyContent _bc = pageContext
299: .pushBody();
300: out = _bc;
301: _jspx_th_ofbiz_if_1.setBodyContent(_bc);
302: _jspx_th_ofbiz_if_1.doInitBody();
303: }
304: do {
305: out.write("\r\n ");
306: out
307: .write("<div class=\"insideHeaderText\">Welcome");
308: EntityField.run("partyGroup", "groupName",
309: "", "", pageContext);
310: out.write("!");
311: out.write("</div>\r\n ");
312: int evalDoAfterBody = _jspx_th_ofbiz_if_1
313: .doAfterBody();
314: if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
315: break;
316: } while (true);
317: if (_jspx_eval_ofbiz_if_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
318: out = pageContext.popBody();
319: }
320: if (_jspx_th_ofbiz_if_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
321: return;
322: _jspx_tagPool_ofbiz_if_name
323: .reuse(_jspx_th_ofbiz_if_1);
324: out.write("\r\n ");
325: if (_jspx_meth_ofbiz_unless_1(
326: _jspx_th_ofbiz_unless_0, pageContext))
327: return;
328: out.write("\r\n ");
329: int evalDoAfterBody = _jspx_th_ofbiz_unless_0
330: .doAfterBody();
331: if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
332: break;
333: } while (true);
334: if (_jspx_eval_ofbiz_unless_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
335: out = pageContext.popBody();
336: }
337: if (_jspx_th_ofbiz_unless_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
338: return;
339: _jspx_tagPool_ofbiz_unless_name
340: .reuse(_jspx_th_ofbiz_unless_0);
341: out.write("\r\n ");
342: out.write("<div class=\"insideHeaderText\"> ");
343: out.print(UtilDateTime.nowTimestamp().toString());
344: out.write("</div>\r\n ");
345: out.write("</td>\r\n ");
346: out.write("</tr>\r\n ");
347: out.write("</table>\r\n ");
348: out.write("</TD>\r\n ");
349: out.write("</TR>\r\n");
350: out.write("</TABLE>\r\n\r\n");
351: if (_jspx_meth_region_render_1(pageContext))
352: return;
353: out.write("\r\n\r\n");
354: out.write("<div class=\"centerarea\">\r\n ");
355: if (_jspx_meth_region_render_2(pageContext))
356: return;
357: out.write("\r\n ");
358: out.write("<div class=\"contentarea\">\r\n ");
359: out
360: .write("<div style='border: 0; margin: 0; padding: 0; width: 100%;'>\r\n ");
361: out
362: .write("<table style='border: 0; margin: 0; padding: 0; width: 100%;' cellpadding='0' cellspacing='0'>\r\n ");
363: out.write("<tr>\r\n ");
364: if (_jspx_meth_region_render_3(pageContext))
365: return;
366: out.write("\r\n ");
367: out
368: .write("<td width='100%' valign='top' align='left'>\r\n ");
369: if (_jspx_meth_region_render_4(pageContext))
370: return;
371: out.write("\r\n ");
372: if (_jspx_meth_region_render_5(pageContext))
373: return;
374: out.write("\r\n ");
375: out.write("</td>\r\n ");
376: if (_jspx_meth_region_render_6(pageContext))
377: return;
378: out.write("\r\n ");
379: out.write("</tr>\r\n ");
380: out.write("</table> \r\n ");
381: out.write("</div>\r\n ");
382: out.write("<div class='spacer'>");
383: out.write("</div>\r\n ");
384: out.write("</div>\r\n");
385: out.write("</div>\r\n\r\n");
386: if (_jspx_meth_region_render_7(pageContext))
387: return;
388: out.write("\r\n\r\n\r\n");
389: out.write("</body>\r\n");
390: out.write("</html>");
391: } catch (Throwable t) {
392: out = _jspx_out;
393: if (out != null && out.getBufferSize() != 0)
394: out.clearBuffer();
395: if (pageContext != null)
396: pageContext.handlePageException(t);
397: } finally {
398: if (_jspxFactory != null)
399: _jspxFactory.releasePageContext(pageContext);
400: }
401: }
402:
403: private boolean _jspx_meth_region_render_0(
404: javax.servlet.jsp.PageContext pageContext) throws Throwable {
405: JspWriter out = pageContext.getOut();
406: /* ---- region:render ---- */
407: org.ofbiz.content.webapp.region.RenderTag _jspx_th_region_render_0 = (org.ofbiz.content.webapp.region.RenderTag) _jspx_tagPool_region_render_section
408: .get(org.ofbiz.content.webapp.region.RenderTag.class);
409: _jspx_th_region_render_0.setPageContext(pageContext);
410: _jspx_th_region_render_0.setParent(null);
411: _jspx_th_region_render_0.setSection("title");
412: int _jspx_eval_region_render_0 = _jspx_th_region_render_0
413: .doStartTag();
414: if (_jspx_th_region_render_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
415: return true;
416: _jspx_tagPool_region_render_section
417: .reuse(_jspx_th_region_render_0);
418: return false;
419: }
420:
421: private boolean _jspx_meth_ofbiz_contenturl_0(
422: javax.servlet.jsp.PageContext pageContext) throws Throwable {
423: JspWriter out = pageContext.getOut();
424: /* ---- ofbiz:contenturl ---- */
425: org.ofbiz.content.webapp.taglib.ContentUrlTag _jspx_th_ofbiz_contenturl_0 = (org.ofbiz.content.webapp.taglib.ContentUrlTag) _jspx_tagPool_ofbiz_contenturl
426: .get(org.ofbiz.content.webapp.taglib.ContentUrlTag.class);
427: _jspx_th_ofbiz_contenturl_0.setPageContext(pageContext);
428: _jspx_th_ofbiz_contenturl_0.setParent(null);
429: int _jspx_eval_ofbiz_contenturl_0 = _jspx_th_ofbiz_contenturl_0
430: .doStartTag();
431: if (_jspx_eval_ofbiz_contenturl_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
432: if (_jspx_eval_ofbiz_contenturl_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
433: javax.servlet.jsp.tagext.BodyContent _bc = pageContext
434: .pushBody();
435: out = _bc;
436: _jspx_th_ofbiz_contenturl_0.setBodyContent(_bc);
437: _jspx_th_ofbiz_contenturl_0.doInitBody();
438: }
439: do {
440: out.write("/images/calendar1.js");
441: int evalDoAfterBody = _jspx_th_ofbiz_contenturl_0
442: .doAfterBody();
443: if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
444: break;
445: } while (true);
446: if (_jspx_eval_ofbiz_contenturl_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
447: out = pageContext.popBody();
448: }
449: if (_jspx_th_ofbiz_contenturl_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
450: return true;
451: _jspx_tagPool_ofbiz_contenturl
452: .reuse(_jspx_th_ofbiz_contenturl_0);
453: return false;
454: }
455:
456: private boolean _jspx_meth_ofbiz_contenturl_1(
457: javax.servlet.jsp.PageContext pageContext) throws Throwable {
458: JspWriter out = pageContext.getOut();
459: /* ---- ofbiz:contenturl ---- */
460: org.ofbiz.content.webapp.taglib.ContentUrlTag _jspx_th_ofbiz_contenturl_1 = (org.ofbiz.content.webapp.taglib.ContentUrlTag) _jspx_tagPool_ofbiz_contenturl
461: .get(org.ofbiz.content.webapp.taglib.ContentUrlTag.class);
462: _jspx_th_ofbiz_contenturl_1.setPageContext(pageContext);
463: _jspx_th_ofbiz_contenturl_1.setParent(null);
464: int _jspx_eval_ofbiz_contenturl_1 = _jspx_th_ofbiz_contenturl_1
465: .doStartTag();
466: if (_jspx_eval_ofbiz_contenturl_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
467: if (_jspx_eval_ofbiz_contenturl_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
468: javax.servlet.jsp.tagext.BodyContent _bc = pageContext
469: .pushBody();
470: out = _bc;
471: _jspx_th_ofbiz_contenturl_1.setBodyContent(_bc);
472: _jspx_th_ofbiz_contenturl_1.doInitBody();
473: }
474: do {
475: out.write("/images/maincss.css");
476: int evalDoAfterBody = _jspx_th_ofbiz_contenturl_1
477: .doAfterBody();
478: if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
479: break;
480: } while (true);
481: if (_jspx_eval_ofbiz_contenturl_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
482: out = pageContext.popBody();
483: }
484: if (_jspx_th_ofbiz_contenturl_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
485: return true;
486: _jspx_tagPool_ofbiz_contenturl
487: .reuse(_jspx_th_ofbiz_contenturl_1);
488: return false;
489: }
490:
491: private boolean _jspx_meth_ofbiz_contenturl_2(
492: javax.servlet.jsp.PageContext pageContext) throws Throwable {
493: JspWriter out = pageContext.getOut();
494: /* ---- ofbiz:contenturl ---- */
495: org.ofbiz.content.webapp.taglib.ContentUrlTag _jspx_th_ofbiz_contenturl_2 = (org.ofbiz.content.webapp.taglib.ContentUrlTag) _jspx_tagPool_ofbiz_contenturl
496: .get(org.ofbiz.content.webapp.taglib.ContentUrlTag.class);
497: _jspx_th_ofbiz_contenturl_2.setPageContext(pageContext);
498: _jspx_th_ofbiz_contenturl_2.setParent(null);
499: int _jspx_eval_ofbiz_contenturl_2 = _jspx_th_ofbiz_contenturl_2
500: .doStartTag();
501: if (_jspx_eval_ofbiz_contenturl_2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
502: if (_jspx_eval_ofbiz_contenturl_2 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
503: javax.servlet.jsp.tagext.BodyContent _bc = pageContext
504: .pushBody();
505: out = _bc;
506: _jspx_th_ofbiz_contenturl_2.setBodyContent(_bc);
507: _jspx_th_ofbiz_contenturl_2.doInitBody();
508: }
509: do {
510: out.write("/images/tabstyles.css");
511: int evalDoAfterBody = _jspx_th_ofbiz_contenturl_2
512: .doAfterBody();
513: if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
514: break;
515: } while (true);
516: if (_jspx_eval_ofbiz_contenturl_2 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
517: out = pageContext.popBody();
518: }
519: if (_jspx_th_ofbiz_contenturl_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
520: return true;
521: _jspx_tagPool_ofbiz_contenturl
522: .reuse(_jspx_th_ofbiz_contenturl_2);
523: return false;
524: }
525:
526: private boolean _jspx_meth_ofbiz_unless_1(
527: javax.servlet.jsp.tagext.Tag _jspx_th_ofbiz_unless_0,
528: javax.servlet.jsp.PageContext pageContext) throws Throwable {
529: JspWriter out = pageContext.getOut();
530: /* ---- ofbiz:unless ---- */
531: org.ofbiz.content.webapp.taglib.UnlessTag _jspx_th_ofbiz_unless_1 = (org.ofbiz.content.webapp.taglib.UnlessTag) _jspx_tagPool_ofbiz_unless_name
532: .get(org.ofbiz.content.webapp.taglib.UnlessTag.class);
533: _jspx_th_ofbiz_unless_1.setPageContext(pageContext);
534: _jspx_th_ofbiz_unless_1.setParent(_jspx_th_ofbiz_unless_0);
535: _jspx_th_ofbiz_unless_1.setName("partyGroup");
536: int _jspx_eval_ofbiz_unless_1 = _jspx_th_ofbiz_unless_1
537: .doStartTag();
538: if (_jspx_eval_ofbiz_unless_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
539: if (_jspx_eval_ofbiz_unless_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
540: javax.servlet.jsp.tagext.BodyContent _bc = pageContext
541: .pushBody();
542: out = _bc;
543: _jspx_th_ofbiz_unless_1.setBodyContent(_bc);
544: _jspx_th_ofbiz_unless_1.doInitBody();
545: }
546: do {
547: out.write("\r\n ");
548: out.write("<div class=\"insideHeaderText\">Welcome!");
549: out.write("</div>\r\n ");
550: int evalDoAfterBody = _jspx_th_ofbiz_unless_1
551: .doAfterBody();
552: if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
553: break;
554: } while (true);
555: if (_jspx_eval_ofbiz_unless_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
556: out = pageContext.popBody();
557: }
558: if (_jspx_th_ofbiz_unless_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
559: return true;
560: _jspx_tagPool_ofbiz_unless_name.reuse(_jspx_th_ofbiz_unless_1);
561: return false;
562: }
563:
564: private boolean _jspx_meth_region_render_1(
565: javax.servlet.jsp.PageContext pageContext) throws Throwable {
566: JspWriter out = pageContext.getOut();
567: /* ---- region:render ---- */
568: org.ofbiz.content.webapp.region.RenderTag _jspx_th_region_render_1 = (org.ofbiz.content.webapp.region.RenderTag) _jspx_tagPool_region_render_section
569: .get(org.ofbiz.content.webapp.region.RenderTag.class);
570: _jspx_th_region_render_1.setPageContext(pageContext);
571: _jspx_th_region_render_1.setParent(null);
572: _jspx_th_region_render_1.setSection("appbar");
573: int _jspx_eval_region_render_1 = _jspx_th_region_render_1
574: .doStartTag();
575: if (_jspx_th_region_render_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
576: return true;
577: _jspx_tagPool_region_render_section
578: .reuse(_jspx_th_region_render_1);
579: return false;
580: }
581:
582: private boolean _jspx_meth_region_render_2(
583: javax.servlet.jsp.PageContext pageContext) throws Throwable {
584: JspWriter out = pageContext.getOut();
585: /* ---- region:render ---- */
586: org.ofbiz.content.webapp.region.RenderTag _jspx_th_region_render_2 = (org.ofbiz.content.webapp.region.RenderTag) _jspx_tagPool_region_render_section
587: .get(org.ofbiz.content.webapp.region.RenderTag.class);
588: _jspx_th_region_render_2.setPageContext(pageContext);
589: _jspx_th_region_render_2.setParent(null);
590: _jspx_th_region_render_2.setSection("header");
591: int _jspx_eval_region_render_2 = _jspx_th_region_render_2
592: .doStartTag();
593: if (_jspx_th_region_render_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
594: return true;
595: _jspx_tagPool_region_render_section
596: .reuse(_jspx_th_region_render_2);
597: return false;
598: }
599:
600: private boolean _jspx_meth_region_render_3(
601: javax.servlet.jsp.PageContext pageContext) throws Throwable {
602: JspWriter out = pageContext.getOut();
603: /* ---- region:render ---- */
604: org.ofbiz.content.webapp.region.RenderTag _jspx_th_region_render_3 = (org.ofbiz.content.webapp.region.RenderTag) _jspx_tagPool_region_render_section
605: .get(org.ofbiz.content.webapp.region.RenderTag.class);
606: _jspx_th_region_render_3.setPageContext(pageContext);
607: _jspx_th_region_render_3.setParent(null);
608: _jspx_th_region_render_3.setSection("leftbar");
609: int _jspx_eval_region_render_3 = _jspx_th_region_render_3
610: .doStartTag();
611: if (_jspx_th_region_render_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
612: return true;
613: _jspx_tagPool_region_render_section
614: .reuse(_jspx_th_region_render_3);
615: return false;
616: }
617:
618: private boolean _jspx_meth_region_render_4(
619: javax.servlet.jsp.PageContext pageContext) throws Throwable {
620: JspWriter out = pageContext.getOut();
621: /* ---- region:render ---- */
622: org.ofbiz.content.webapp.region.RenderTag _jspx_th_region_render_4 = (org.ofbiz.content.webapp.region.RenderTag) _jspx_tagPool_region_render_section
623: .get(org.ofbiz.content.webapp.region.RenderTag.class);
624: _jspx_th_region_render_4.setPageContext(pageContext);
625: _jspx_th_region_render_4.setParent(null);
626: _jspx_th_region_render_4.setSection("error");
627: int _jspx_eval_region_render_4 = _jspx_th_region_render_4
628: .doStartTag();
629: if (_jspx_th_region_render_4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
630: return true;
631: _jspx_tagPool_region_render_section
632: .reuse(_jspx_th_region_render_4);
633: return false;
634: }
635:
636: private boolean _jspx_meth_region_render_5(
637: javax.servlet.jsp.PageContext pageContext) throws Throwable {
638: JspWriter out = pageContext.getOut();
639: /* ---- region:render ---- */
640: org.ofbiz.content.webapp.region.RenderTag _jspx_th_region_render_5 = (org.ofbiz.content.webapp.region.RenderTag) _jspx_tagPool_region_render_section
641: .get(org.ofbiz.content.webapp.region.RenderTag.class);
642: _jspx_th_region_render_5.setPageContext(pageContext);
643: _jspx_th_region_render_5.setParent(null);
644: _jspx_th_region_render_5.setSection("content");
645: int _jspx_eval_region_render_5 = _jspx_th_region_render_5
646: .doStartTag();
647: if (_jspx_th_region_render_5.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
648: return true;
649: _jspx_tagPool_region_render_section
650: .reuse(_jspx_th_region_render_5);
651: return false;
652: }
653:
654: private boolean _jspx_meth_region_render_6(
655: javax.servlet.jsp.PageContext pageContext) throws Throwable {
656: JspWriter out = pageContext.getOut();
657: /* ---- region:render ---- */
658: org.ofbiz.content.webapp.region.RenderTag _jspx_th_region_render_6 = (org.ofbiz.content.webapp.region.RenderTag) _jspx_tagPool_region_render_section
659: .get(org.ofbiz.content.webapp.region.RenderTag.class);
660: _jspx_th_region_render_6.setPageContext(pageContext);
661: _jspx_th_region_render_6.setParent(null);
662: _jspx_th_region_render_6.setSection("rightbar");
663: int _jspx_eval_region_render_6 = _jspx_th_region_render_6
664: .doStartTag();
665: if (_jspx_th_region_render_6.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
666: return true;
667: _jspx_tagPool_region_render_section
668: .reuse(_jspx_th_region_render_6);
669: return false;
670: }
671:
672: private boolean _jspx_meth_region_render_7(
673: javax.servlet.jsp.PageContext pageContext) throws Throwable {
674: JspWriter out = pageContext.getOut();
675: /* ---- region:render ---- */
676: org.ofbiz.content.webapp.region.RenderTag _jspx_th_region_render_7 = (org.ofbiz.content.webapp.region.RenderTag) _jspx_tagPool_region_render_section
677: .get(org.ofbiz.content.webapp.region.RenderTag.class);
678: _jspx_th_region_render_7.setPageContext(pageContext);
679: _jspx_th_region_render_7.setParent(null);
680: _jspx_th_region_render_7.setSection("footer");
681: int _jspx_eval_region_render_7 = _jspx_th_region_render_7
682: .doStartTag();
683: if (_jspx_th_region_render_7.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
684: return true;
685: _jspx_tagPool_region_render_section
686: .reuse(_jspx_th_region_render_7);
687: return false;
688: }
689: }
|