[Webwork-devel] tabbedpane
Brought to you by:
baldree,
rickardoberg
From: Bady L. <lud...@pr...> - 2002-05-02 15:16:39
|
Hello, I'm trying to implement the tabbedpane inside an application but i 'm meeting problem.I 've studied the sample inside webwork, that's to say tabbedpane.jsp and the class TabbedPaneTest, it works fine in the exemple context. I ve created a classe Account with a method doing the set up of the tabbedpaned as done in the sample but all the time i get an exception : The jsp code is : ..... <p><webwork:tabbedpane contentName="'Tabs1'"/></p> ..... The java code inside the class: static Set getData() { Map tmpMap = new HashMap(); tmpMap.put( "bal1", "bal1.jsp" ); tmpMap.put( "bal2", "bal2.jsp" ); tmpMap.put( "bal3", "bal3.jsp" ); return tmpMap.entrySet(); } public Vector getTabs1() { return tabs1; } public Vector tabs1 = new Vector( getData() ); .... After it builts the page i get this messages from the BEA WebLogic server: 02.05.2002 16:24:00 [/html/accountEditTabbedpane.jsp (ValueStack)] findValue() for: query="'RIGHT'" segment(s) {[id="RIGHT" type="0" values=""]} 02.05.2002 16:24:00 [/html/accountEditTabbedpane.jsp (ValueStack)] findValue() for: query="'Tabs1'" segment(s) {[id="Tabs1" type="0" values=""]} 02.05.2002 16:24:00 [/html/accountEditTabbedpane.jsp (ValueStack)] findValue() for: query="Tabs1" segment(s) {[id="Tabs1" type="8" values=""]} 02.05.2002 16:24:00 [/html/accountEditTabbedpane.jsp (ValueStack)] value for [Tabs1] is null. 02.05.2002 16:24:00 [/html/accountEditTabbedpane.jsp (ValueStack)] findValue() for: query="." segment(s) {[id="null" type="3" values=""]} 02.05.2002 16:24:00 [/html/accountEditTabbedpane.jsp (ValueStack)] findValue() for: query="." segment(s) {[id="null" type="3" values=""]} 02.05.2002 16:24:00 [/html/accountEditTabbedpane.jsp (ValueStack)] findValue() for: query="com.pdt.e banking.webapp.wwactions.admin.Account@7f5227" segment(s) {[id="com.pdt.ebanking.webapp.wwactions.admin.Account@7f5227" type="8" values=""]} 02.05.2002 16:24:00 [/html/accountEditTabbedpane.jsp (ValueStack)] value for [com.pdt.ebanking.webap p.wwactions.admin.Account@7f5227] is null. 02.05.2002 16:24:00 [/html/accountEditTabbedpane.jsp (ValueStack)] findValue() for: query="'center'" segment(s) {[id="center" type="0" values=""]} 02.05.2002 16:24:00 [/html/accountEditTabbedpane.jsp /template/standard/tabbedpane.jsp (ValueStack)] findValue() for: query="'webwork.util.Counter'" segment(s) {[id="webwork.util.Counter" type="0" values=""]} 02.05.2002 16:24:00 [/html/accountEditTabbedpane.jsp /template/standard/tabbedpane.jsp (ValueStack)] findValue() for: query="'first'" segment(s) {[id="first" type="0" values=""]} 02.05.2002 16:24:00 [/html/accountEditTabbedpane.jsp /template/standard/tabbedpane.jsp (ValueStack)] findValue() for: query="0" segment(s) {[id="null" type="12" values="0"]} 02.05.2002 16:24:00 [/html/accountEditTabbedpane.jsp /template/standard/tabbedpane.jsp (ValueStack)] findValue() for: query="'last'" segment(s) {[id="last" type="0" values=""]} 02.05.2002 16:24:00 [/html/accountEditTabbedpane.jsp /template/standard/tabbedpane.jsp (ValueStack)] findValue() for: query="content/size" segment(s) {[id="content" type="8" values=""] [id="size" type="8" values=""]} 02.05.2002 16:24:00 [/html/accountEditTabbedpane.jsp /template/standard/tabbedpane.jsp (ValueStack)] value for [content/size] is null. 02.05.2002 16:24:00 [/html/accountEditTabbedpane.jsp /template/standard/tabbedpane.jsp (BeanUtil)] E rror executing read method for last on webwork.util.Counter java.lang.NullPointerException at webwork.util.BeanUtil.setValue(BeanUtil.java:363) May be someone have already met this problem and can provide any advertises. Ludovic. |