Source Code Cross Referenced for ELFrameTag.java in  » Web-Framework » struts-1.3.8 » org » apache » strutsel » taglib » html » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Web Framework » struts 1.3.8 » org.apache.strutsel.taglib.html 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * $Id: ELFrameTag.java 471754 2006-11-06 14:55:09Z husted $
003:         *
004:         * Licensed to the Apache Software Foundation (ASF) under one
005:         * or more contributor license agreements.  See the NOTICE file
006:         * distributed with this work for additional information
007:         * regarding copyright ownership.  The ASF licenses this file
008:         * to you under the Apache License, Version 2.0 (the
009:         * "License"); you may not use this file except in compliance
010:         * with the License.  You may obtain a copy of the License at
011:         *
012:         *  http://www.apache.org/licenses/LICENSE-2.0
013:         *
014:         * Unless required by applicable law or agreed to in writing,
015:         * software distributed under the License is distributed on an
016:         * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
017:         * KIND, either express or implied.  See the License for the
018:         * specific language governing permissions and limitations
019:         * under the License.
020:         */
021:        package org.apache.strutsel.taglib.html;
022:
023:        import org.apache.struts.taglib.html.FrameTag;
024:        import org.apache.strutsel.taglib.utils.EvalHelper;
025:
026:        import javax.servlet.jsp.JspException;
027:
028:        /**
029:         * Generate an HTML <code>&lt;frame&gt;</code> tag with similar capabilities
030:         * as those the <code>&lt;html:link&gt;</code> tag provides for hyperlink
031:         * elements.  The <code>src</code> element is rendered using the same
032:         * technique that {@link org.apache.struts.taglib.html.LinkTag LinkTag} uses
033:         * to render the <code>href</code> attribute of a hyperlink.  Additionally,
034:         * the HTML 4.0 frame tag attributes <code>noresize</code>,
035:         * <code>scrolling</code>, <code>marginheight</code>, <code>marginwidth</code>,
036:         * <code>frameborder</code>, and <code>longdesc</code> are supported.  The
037:         * frame <code>name</code> attribute is rendered based on the
038:         * <code>frameName</code> property. <p> Note that the value of
039:         * <code>longdesc</code> is intended to be a URI, but currently no rewriting
040:         * is supported.  The attribute is set directly from the property value. <p>
041:         * This class is a subclass of the class <code>org.apache.struts.taglib.html.FrameTag</code>
042:         * which provides most of the described functionality.  This subclass allows
043:         * all attribute values to be specified as expressions utilizing the
044:         * JavaServer Pages Standard Library expression language.
045:         *
046:         * @version $Rev: 471754 $
047:         */
048:        public class ELFrameTag extends FrameTag {
049:            /**
050:             * Instance variable mapped to "action" tag attribute. (Mapping set in
051:             * associated BeanInfo class.)
052:             */
053:            private String actionExpr;
054:
055:            /**
056:             * Instance variable mapped to "module" tag attribute. (Mapping set in
057:             * associated BeanInfo class.)
058:             */
059:            private String moduleExpr;
060:
061:            /**
062:             * Instance variable mapped to "anchor" tag attribute. (Mapping set in
063:             * associated BeanInfo class.)
064:             */
065:            private String anchorExpr;
066:
067:            /**
068:             * Instance variable mapped to "bundle" tag attribute. (Mapping set in
069:             * associated BeanInfo class.)
070:             */
071:            private String bundleExpr;
072:
073:            /**
074:             * Instance variable mapped to "forward" tag attribute. (Mapping set in
075:             * associated BeanInfo class.)
076:             */
077:            private String forwardExpr;
078:
079:            /**
080:             * Instance variable mapped to "frameborder" tag attribute. (Mapping set
081:             * in associated BeanInfo class.)
082:             */
083:            private String frameborderExpr;
084:
085:            /**
086:             * Instance variable mapped to "frameName" tag attribute. (Mapping set in
087:             * associated BeanInfo class.)
088:             */
089:            private String frameNameExpr;
090:
091:            /**
092:             * Instance variable mapped to "href" tag attribute. (Mapping set in
093:             * associated BeanInfo class.)
094:             */
095:            private String hrefExpr;
096:
097:            /**
098:             * Instance variable mapped to "longdesc" tag attribute. (Mapping set in
099:             * associated BeanInfo class.)
100:             */
101:            private String longdescExpr;
102:
103:            /**
104:             * Instance variable mapped to "marginheight" tag attribute. (Mapping set
105:             * in associated BeanInfo class.)
106:             */
107:            private String marginheightExpr;
108:
109:            /**
110:             * Instance variable mapped to "marginwidth" tag attribute. (Mapping set
111:             * in associated BeanInfo class.)
112:             */
113:            private String marginwidthExpr;
114:
115:            /**
116:             * Instance variable mapped to "name" tag attribute. (Mapping set in
117:             * associated BeanInfo class.)
118:             */
119:            private String nameExpr;
120:
121:            /**
122:             * Instance variable mapped to "noresize" tag attribute. (Mapping set in
123:             * associated BeanInfo class.)
124:             */
125:            private String noresizeExpr;
126:
127:            /**
128:             * Instance variable mapped to "page" tag attribute. (Mapping set in
129:             * associated BeanInfo class.)
130:             */
131:            private String pageExpr;
132:
133:            /**
134:             * Instance variable mapped to "paramId" tag attribute. (Mapping set in
135:             * associated BeanInfo class.)
136:             */
137:            private String paramIdExpr;
138:
139:            /**
140:             * Instance variable mapped to "paramName" tag attribute. (Mapping set in
141:             * associated BeanInfo class.)
142:             */
143:            private String paramNameExpr;
144:
145:            /**
146:             * Instance variable mapped to "paramProperty" tag attribute. (Mapping set
147:             * in associated BeanInfo class.)
148:             */
149:            private String paramPropertyExpr;
150:
151:            /**
152:             * Instance variable mapped to "paramScope" tag attribute. (Mapping set in
153:             * associated BeanInfo class.)
154:             */
155:            private String paramScopeExpr;
156:
157:            /**
158:             * Instance variable mapped to "property" tag attribute. (Mapping set in
159:             * associated BeanInfo class.)
160:             */
161:            private String propertyExpr;
162:
163:            /**
164:             * Instance variable mapped to "scope" tag attribute. (Mapping set in
165:             * associated BeanInfo class.)
166:             */
167:            private String scopeExpr;
168:
169:            /**
170:             * Instance variable mapped to "scrolling" tag attribute. (Mapping set in
171:             * associated BeanInfo class.)
172:             */
173:            private String scrollingExpr;
174:
175:            /**
176:             * Instance variable mapped to "style" tag attribute. (Mapping set in
177:             * associated BeanInfo class.)
178:             */
179:            private String styleExpr;
180:
181:            /**
182:             * Instance variable mapped to "styleClass" tag attribute. (Mapping set in
183:             * associated BeanInfo class.)
184:             */
185:            private String styleClassExpr;
186:
187:            /**
188:             * Instance variable mapped to "styleId" tag attribute. (Mapping set in
189:             * associated BeanInfo class.)
190:             */
191:            private String styleIdExpr;
192:
193:            /**
194:             * Instance variable mapped to "title" tag attribute. (Mapping set in
195:             * associated BeanInfo class.)
196:             */
197:            private String titleExpr;
198:
199:            /**
200:             * Instance variable mapped to "titleKey" tag attribute. (Mapping set in
201:             * associated BeanInfo class.)
202:             */
203:            private String titleKeyExpr;
204:
205:            /**
206:             * Instance variable mapped to "transaction" tag attribute. (Mapping set
207:             * in associated BeanInfo class.)
208:             */
209:            private String transactionExpr;
210:
211:            /**
212:             * Getter method for "action" tag attribute. (Mapping set in associated
213:             * BeanInfo class.)
214:             */
215:            public String getActionExpr() {
216:                return (actionExpr);
217:            }
218:
219:            /**
220:             * Getter method for "module" tag attribute. (Mapping set in associated
221:             * BeanInfo class.)
222:             */
223:            public String getModuleExpr() {
224:                return (moduleExpr);
225:            }
226:
227:            /**
228:             * Getter method for "anchor" tag attribute. (Mapping set in associated
229:             * BeanInfo class.)
230:             */
231:            public String getAnchorExpr() {
232:                return (anchorExpr);
233:            }
234:
235:            /**
236:             * Getter method for "bundle" tag attribute. (Mapping set in associated
237:             * BeanInfo class.)
238:             */
239:            public String getBundleExpr() {
240:                return (bundleExpr);
241:            }
242:
243:            /**
244:             * Getter method for "forward" tag attribute. (Mapping set in associated
245:             * BeanInfo class.)
246:             */
247:            public String getForwardExpr() {
248:                return (forwardExpr);
249:            }
250:
251:            /**
252:             * Getter method for "frameborder" tag attribute. (Mapping set in
253:             * associated BeanInfo class.)
254:             */
255:            public String getFrameborderExpr() {
256:                return (frameborderExpr);
257:            }
258:
259:            /**
260:             * Getter method for "frameName" tag attribute. (Mapping set in associated
261:             * BeanInfo class.)
262:             */
263:            public String getFrameNameExpr() {
264:                return (frameNameExpr);
265:            }
266:
267:            /**
268:             * Getter method for "href" tag attribute. (Mapping set in associated
269:             * BeanInfo class.)
270:             */
271:            public String getHrefExpr() {
272:                return (hrefExpr);
273:            }
274:
275:            /**
276:             * Getter method for "longdesc" tag attribute. (Mapping set in associated
277:             * BeanInfo class.)
278:             */
279:            public String getLongdescExpr() {
280:                return (longdescExpr);
281:            }
282:
283:            /**
284:             * Getter method for "marginheight" tag attribute. (Mapping set in
285:             * associated BeanInfo class.)
286:             */
287:            public String getMarginheightExpr() {
288:                return (marginheightExpr);
289:            }
290:
291:            /**
292:             * Getter method for "marginwidth" tag attribute. (Mapping set in
293:             * associated BeanInfo class.)
294:             */
295:            public String getMarginwidthExpr() {
296:                return (marginwidthExpr);
297:            }
298:
299:            /**
300:             * Getter method for "name" tag attribute. (Mapping set in associated
301:             * BeanInfo class.)
302:             */
303:            public String getNameExpr() {
304:                return (nameExpr);
305:            }
306:
307:            /**
308:             * Getter method for "noresize" tag attribute. (Mapping set in associated
309:             * BeanInfo class.)
310:             */
311:            public String getNoresizeExpr() {
312:                return (noresizeExpr);
313:            }
314:
315:            /**
316:             * Getter method for "page" tag attribute. (Mapping set in associated
317:             * BeanInfo class.)
318:             */
319:            public String getPageExpr() {
320:                return (pageExpr);
321:            }
322:
323:            /**
324:             * Getter method for "paramId" tag attribute. (Mapping set in associated
325:             * BeanInfo class.)
326:             */
327:            public String getParamIdExpr() {
328:                return (paramIdExpr);
329:            }
330:
331:            /**
332:             * Getter method for "paramName" tag attribute. (Mapping set in associated
333:             * BeanInfo class.)
334:             */
335:            public String getParamNameExpr() {
336:                return (paramNameExpr);
337:            }
338:
339:            /**
340:             * Getter method for "paramProperty" tag attribute. (Mapping set in
341:             * associated BeanInfo class.)
342:             */
343:            public String getParamPropertyExpr() {
344:                return (paramPropertyExpr);
345:            }
346:
347:            /**
348:             * Getter method for "paramScope" tag attribute. (Mapping set in
349:             * associated BeanInfo class.)
350:             */
351:            public String getParamScopeExpr() {
352:                return (paramScopeExpr);
353:            }
354:
355:            /**
356:             * Getter method for "property" tag attribute. (Mapping set in associated
357:             * BeanInfo class.)
358:             */
359:            public String getPropertyExpr() {
360:                return (propertyExpr);
361:            }
362:
363:            /**
364:             * Getter method for "scope" tag attribute. (Mapping set in associated
365:             * BeanInfo class.)
366:             */
367:            public String getScopeExpr() {
368:                return (scopeExpr);
369:            }
370:
371:            /**
372:             * Getter method for "scrolling" tag attribute. (Mapping set in associated
373:             * BeanInfo class.)
374:             */
375:            public String getScrollingExpr() {
376:                return (scrollingExpr);
377:            }
378:
379:            /**
380:             * Getter method for "style" tag attribute. (Mapping set in associated
381:             * BeanInfo class.)
382:             */
383:            public String getStyleExpr() {
384:                return (styleExpr);
385:            }
386:
387:            /**
388:             * Getter method for "styleClass" tag attribute. (Mapping set in
389:             * associated BeanInfo class.)
390:             */
391:            public String getStyleClassExpr() {
392:                return (styleClassExpr);
393:            }
394:
395:            /**
396:             * Getter method for "styleId" tag attribute. (Mapping set in associated
397:             * BeanInfo class.)
398:             */
399:            public String getStyleIdExpr() {
400:                return (styleIdExpr);
401:            }
402:
403:            /**
404:             * Getter method for "title" tag attribute. (Mapping set in associated
405:             * BeanInfo class.)
406:             */
407:            public String getTitleExpr() {
408:                return (titleExpr);
409:            }
410:
411:            /**
412:             * Getter method for "titleKey" tag attribute. (Mapping set in associated
413:             * BeanInfo class.)
414:             */
415:            public String getTitleKeyExpr() {
416:                return (titleKeyExpr);
417:            }
418:
419:            /**
420:             * Getter method for "transaction" tag attribute. (Mapping set in
421:             * associated BeanInfo class.)
422:             */
423:            public String getTransactionExpr() {
424:                return (transactionExpr);
425:            }
426:
427:            /**
428:             * Setter method for "action" tag attribute. (Mapping set in associated
429:             * BeanInfo class.)
430:             */
431:            public void setActionExpr(String actionExpr) {
432:                this .actionExpr = actionExpr;
433:            }
434:
435:            /**
436:             * Setter method for "module" tag attribute. (Mapping set in associated
437:             * BeanInfo class.)
438:             */
439:            public void setModuleExpr(String moduleExpr) {
440:                this .moduleExpr = moduleExpr;
441:            }
442:
443:            /**
444:             * Setter method for "anchor" tag attribute. (Mapping set in associated
445:             * BeanInfo class.)
446:             */
447:            public void setAnchorExpr(String anchorExpr) {
448:                this .anchorExpr = anchorExpr;
449:            }
450:
451:            /**
452:             * Setter method for "bundle" tag attribute. (Mapping set in associated
453:             * BeanInfo class.)
454:             */
455:            public void setBundleExpr(String bundleExpr) {
456:                this .bundleExpr = bundleExpr;
457:            }
458:
459:            /**
460:             * Setter method for "forward" tag attribute. (Mapping set in associated
461:             * BeanInfo class.)
462:             */
463:            public void setForwardExpr(String forwardExpr) {
464:                this .forwardExpr = forwardExpr;
465:            }
466:
467:            /**
468:             * Setter method for "frameborder" tag attribute. (Mapping set in
469:             * associated BeanInfo class.)
470:             */
471:            public void setFrameborderExpr(String frameborderExpr) {
472:                this .frameborderExpr = frameborderExpr;
473:            }
474:
475:            /**
476:             * Setter method for "frameName" tag attribute. (Mapping set in associated
477:             * BeanInfo class.)
478:             */
479:            public void setFrameNameExpr(String frameNameExpr) {
480:                this .frameNameExpr = frameNameExpr;
481:            }
482:
483:            /**
484:             * Setter method for "href" tag attribute. (Mapping set in associated
485:             * BeanInfo class.)
486:             */
487:            public void setHrefExpr(String hrefExpr) {
488:                this .hrefExpr = hrefExpr;
489:            }
490:
491:            /**
492:             * Setter method for "longdesc" tag attribute. (Mapping set in associated
493:             * BeanInfo class.)
494:             */
495:            public void setLongdescExpr(String longdescExpr) {
496:                this .longdescExpr = longdescExpr;
497:            }
498:
499:            /**
500:             * Setter method for "marginheight" tag attribute. (Mapping set in
501:             * associated BeanInfo class.)
502:             */
503:            public void setMarginheightExpr(String marginheightExpr) {
504:                this .marginheightExpr = marginheightExpr;
505:            }
506:
507:            /**
508:             * Setter method for "marginwidth" tag attribute. (Mapping set in
509:             * associated BeanInfo class.)
510:             */
511:            public void setMarginwidthExpr(String marginwidthExpr) {
512:                this .marginwidthExpr = marginwidthExpr;
513:            }
514:
515:            /**
516:             * Setter method for "name" tag attribute. (Mapping set in associated
517:             * BeanInfo class.)
518:             */
519:            public void setNameExpr(String nameExpr) {
520:                this .nameExpr = nameExpr;
521:            }
522:
523:            /**
524:             * Setter method for "noresize" tag attribute. (Mapping set in associated
525:             * BeanInfo class.)
526:             */
527:            public void setNoresizeExpr(String noresizeExpr) {
528:                this .noresizeExpr = noresizeExpr;
529:            }
530:
531:            /**
532:             * Setter method for "page" tag attribute. (Mapping set in associated
533:             * BeanInfo class.)
534:             */
535:            public void setPageExpr(String pageExpr) {
536:                this .pageExpr = pageExpr;
537:            }
538:
539:            /**
540:             * Setter method for "paramId" tag attribute. (Mapping set in associated
541:             * BeanInfo class.)
542:             */
543:            public void setParamIdExpr(String paramIdExpr) {
544:                this .paramIdExpr = paramIdExpr;
545:            }
546:
547:            /**
548:             * Setter method for "paramName" tag attribute. (Mapping set in associated
549:             * BeanInfo class.)
550:             */
551:            public void setParamNameExpr(String paramNameExpr) {
552:                this .paramNameExpr = paramNameExpr;
553:            }
554:
555:            /**
556:             * Setter method for "paramProperty" tag attribute. (Mapping set in
557:             * associated BeanInfo class.)
558:             */
559:            public void setParamPropertyExpr(String paramPropertyExpr) {
560:                this .paramPropertyExpr = paramPropertyExpr;
561:            }
562:
563:            /**
564:             * Setter method for "paramScope" tag attribute. (Mapping set in
565:             * associated BeanInfo class.)
566:             */
567:            public void setParamScopeExpr(String paramScopeExpr) {
568:                this .paramScopeExpr = paramScopeExpr;
569:            }
570:
571:            /**
572:             * Setter method for "property" tag attribute. (Mapping set in associated
573:             * BeanInfo class.)
574:             */
575:            public void setPropertyExpr(String propertyExpr) {
576:                this .propertyExpr = propertyExpr;
577:            }
578:
579:            /**
580:             * Setter method for "scope" tag attribute. (Mapping set in associated
581:             * BeanInfo class.)
582:             */
583:            public void setScopeExpr(String scopeExpr) {
584:                this .scopeExpr = scopeExpr;
585:            }
586:
587:            /**
588:             * Setter method for "scrolling" tag attribute. (Mapping set in associated
589:             * BeanInfo class.)
590:             */
591:            public void setScrollingExpr(String scrollingExpr) {
592:                this .scrollingExpr = scrollingExpr;
593:            }
594:
595:            /**
596:             * Setter method for "style" tag attribute. (Mapping set in associated
597:             * BeanInfo class.)
598:             */
599:            public void setStyleExpr(String styleExpr) {
600:                this .styleExpr = styleExpr;
601:            }
602:
603:            /**
604:             * Setter method for "styleClass" tag attribute. (Mapping set in
605:             * associated BeanInfo class.)
606:             */
607:            public void setStyleClassExpr(String styleClassExpr) {
608:                this .styleClassExpr = styleClassExpr;
609:            }
610:
611:            /**
612:             * Setter method for "styleId" tag attribute. (Mapping set in associated
613:             * BeanInfo class.)
614:             */
615:            public void setStyleIdExpr(String styleIdExpr) {
616:                this .styleIdExpr = styleIdExpr;
617:            }
618:
619:            /**
620:             * Setter method for "title" tag attribute. (Mapping set in associated
621:             * BeanInfo class.)
622:             */
623:            public void setTitleExpr(String titleExpr) {
624:                this .titleExpr = titleExpr;
625:            }
626:
627:            /**
628:             * Setter method for "titleKey" tag attribute. (Mapping set in associated
629:             * BeanInfo class.)
630:             */
631:            public void setTitleKeyExpr(String titleKeyExpr) {
632:                this .titleKeyExpr = titleKeyExpr;
633:            }
634:
635:            /**
636:             * Setter method for "transaction" tag attribute. (Mapping set in
637:             * associated BeanInfo class.)
638:             */
639:            public void setTransactionExpr(String transactionExpr) {
640:                this .transactionExpr = transactionExpr;
641:            }
642:
643:            /**
644:             * Resets attribute values for tag reuse.
645:             */
646:            public void release() {
647:                super .release();
648:                setActionExpr(null);
649:                setModuleExpr(null);
650:                setAnchorExpr(null);
651:                setBundleExpr(null);
652:                setForwardExpr(null);
653:                setFrameborderExpr(null);
654:                setFrameNameExpr(null);
655:                setHrefExpr(null);
656:                setLongdescExpr(null);
657:                setMarginheightExpr(null);
658:                setMarginwidthExpr(null);
659:                setNameExpr(null);
660:                setNoresizeExpr(null);
661:                setPageExpr(null);
662:                setParamIdExpr(null);
663:                setParamNameExpr(null);
664:                setParamPropertyExpr(null);
665:                setParamScopeExpr(null);
666:                setPropertyExpr(null);
667:                setScopeExpr(null);
668:                setScrollingExpr(null);
669:                setStyleExpr(null);
670:                setStyleClassExpr(null);
671:                setStyleIdExpr(null);
672:                setTitleExpr(null);
673:                setTitleKeyExpr(null);
674:                setTransactionExpr(null);
675:            }
676:
677:            /**
678:             * Process the start tag.
679:             *
680:             * @throws JspException if a JSP exception has occurred
681:             */
682:            public int doStartTag() throws JspException {
683:                evaluateExpressions();
684:
685:                return (super .doStartTag());
686:            }
687:
688:            /**
689:             * Processes all attribute values which use the JSTL expression evaluation
690:             * engine to determine their values.
691:             *
692:             * @throws JspException if a JSP exception has occurred
693:             */
694:            private void evaluateExpressions() throws JspException {
695:                String string = null;
696:                Integer integer = null;
697:                Boolean bool = null;
698:
699:                if ((string = EvalHelper.evalString("action", getActionExpr(),
700:                        this , pageContext)) != null) {
701:                    setAction(string);
702:                }
703:
704:                if ((string = EvalHelper.evalString("module", getModuleExpr(),
705:                        this , pageContext)) != null) {
706:                    setModule(string);
707:                }
708:
709:                if ((string = EvalHelper.evalString("anchor", getAnchorExpr(),
710:                        this , pageContext)) != null) {
711:                    setAnchor(string);
712:                }
713:
714:                if ((string = EvalHelper.evalString("bundle", getBundleExpr(),
715:                        this , pageContext)) != null) {
716:                    setBundle(string);
717:                }
718:
719:                if ((string = EvalHelper.evalString("forward",
720:                        getForwardExpr(), this , pageContext)) != null) {
721:                    setForward(string);
722:                }
723:
724:                if ((string = EvalHelper.evalString("frameborder",
725:                        getFrameborderExpr(), this , pageContext)) != null) {
726:                    setFrameborder(string);
727:                }
728:
729:                if ((string = EvalHelper.evalString("frameName",
730:                        getFrameNameExpr(), this , pageContext)) != null) {
731:                    setFrameName(string);
732:                }
733:
734:                if ((string = EvalHelper.evalString("href", getHrefExpr(),
735:                        this , pageContext)) != null) {
736:                    setHref(string);
737:                }
738:
739:                if ((string = EvalHelper.evalString("longdesc",
740:                        getLongdescExpr(), this , pageContext)) != null) {
741:                    setLongdesc(string);
742:                }
743:
744:                if ((integer = EvalHelper.evalInteger("marginheight",
745:                        getMarginheightExpr(), this , pageContext)) != null) {
746:                    setMarginheight(integer);
747:                }
748:
749:                if ((integer = EvalHelper.evalInteger("marginwidth",
750:                        getMarginwidthExpr(), this , pageContext)) != null) {
751:                    setMarginwidth(integer);
752:                }
753:
754:                if ((string = EvalHelper.evalString("name", getNameExpr(),
755:                        this , pageContext)) != null) {
756:                    setName(string);
757:                }
758:
759:                if ((bool = EvalHelper.evalBoolean("noresize",
760:                        getNoresizeExpr(), this , pageContext)) != null) {
761:                    setNoresize(bool.booleanValue());
762:                }
763:
764:                if ((string = EvalHelper.evalString("page", getPageExpr(),
765:                        this , pageContext)) != null) {
766:                    setPage(string);
767:                }
768:
769:                if ((string = EvalHelper.evalString("paramId",
770:                        getParamIdExpr(), this , pageContext)) != null) {
771:                    setParamId(string);
772:                }
773:
774:                if ((string = EvalHelper.evalString("paramName",
775:                        getParamNameExpr(), this , pageContext)) != null) {
776:                    setParamName(string);
777:                }
778:
779:                if ((string = EvalHelper.evalString("paramProperty",
780:                        getParamPropertyExpr(), this , pageContext)) != null) {
781:                    setParamProperty(string);
782:                }
783:
784:                if ((string = EvalHelper.evalString("paramScope",
785:                        getParamScopeExpr(), this , pageContext)) != null) {
786:                    setParamScope(string);
787:                }
788:
789:                if ((string = EvalHelper.evalString("property",
790:                        getPropertyExpr(), this , pageContext)) != null) {
791:                    setProperty(string);
792:                }
793:
794:                if ((string = EvalHelper.evalString("scope", getScopeExpr(),
795:                        this , pageContext)) != null) {
796:                    setScope(string);
797:                }
798:
799:                if ((string = EvalHelper.evalString("scrolling",
800:                        getScrollingExpr(), this , pageContext)) != null) {
801:                    setScrolling(string);
802:                }
803:
804:                if ((string = EvalHelper.evalString("style", getStyleExpr(),
805:                        this , pageContext)) != null) {
806:                    setStyle(string);
807:                }
808:
809:                if ((string = EvalHelper.evalString("styleClass",
810:                        getStyleClassExpr(), this , pageContext)) != null) {
811:                    setStyleClass(string);
812:                }
813:
814:                if ((string = EvalHelper.evalString("styleId",
815:                        getStyleIdExpr(), this , pageContext)) != null) {
816:                    setStyleId(string);
817:                }
818:
819:                if ((string = EvalHelper.evalString("title", getTitleExpr(),
820:                        this , pageContext)) != null) {
821:                    setTitle(string);
822:                }
823:
824:                if ((string = EvalHelper.evalString("titleKey",
825:                        getTitleKeyExpr(), this , pageContext)) != null) {
826:                    setTitleKey(string);
827:                }
828:
829:                if ((bool = EvalHelper.evalBoolean("transaction",
830:                        getTransactionExpr(), this, pageContext)) != null) {
831:                    setTransaction(bool.booleanValue());
832:                }
833:            }
834:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.