commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominik Zalewski <domin...@wmid.amu.edu.pl>
Subject [jelly-jface] viewer problem
Date Mon, 03 Nov 2003 16:26:06 GMT


Hi,

	I tried to use jelly-jface, but encountered problem with TreeViewer
construction. My jelly code looks like:


	<applicationWindow var="app" title="${title}">

		<treeViewer var="offerTree"/>
	</applicationWindow>

But unfortunately at runtime i get:   

 [java] 7737 [main] DEBUG org.apache.commons.jelly.impl.TagScript  -
Caught exception: org.apache.commons.jelly.JellyTagException:
null:-1:-1: <null> org.eclipse.jface.viewers.TableViewer.<init>(int)
    [java] org.apache.commons.jelly.JellyTagException: null:-1:-1:
<null> org.eclipse.jface.viewers.TableViewer.<init>(int)
    [java]      at
org.apache.commons.jelly.tags.swt.WidgetTag.createWidget(WidgetTag.java:302)
    [java]      at
org.apache.commons.jelly.tags.jface.ViewerTag.newInstance(ViewerTag.java:113)
    [java]      at
org.apache.commons.jelly.tags.core.UseBeanTag.doTag(UseBeanTag.java:124)
    [java]      at
org.apache.commons.jelly.tags.swt.WidgetTag.doTag(WidgetTag.java:157)
    [java]      at
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
    [java]      at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
    [java]      at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
    [java]      at
org.apache.commons.jelly.tags.core.UseBeanTag.doTag(UseBeanTag.java:128)
    [java]      at
org.apache.commons.jelly.tags.jface.window.ApplicationWindowTag.doTag(ApplicationWindowTag.java:110)
    [java]      at
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
    [java]      at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
    [java]      at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
    [java]      at
org.apache.commons.jelly.tags.core.JellyTag.doTag(JellyTag.java:91)
    [java]      at
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
    [java]      at
org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:634)
    [java]      at
org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:540)
    [java]      at termit.console.ui.Main.main(Main.java:34)
    [java] Caused by: java.lang.NoSuchMethodException:
org.eclipse.jface.viewers.TableViewer.<init>(int)
    [java]      at java.lang.Class.getConstructor0(Class.java:1769)
    [java]      at java.lang.Class.getConstructor(Class.java:1002)
    [java]      at
org.apache.commons.jelly.tags.swt.WidgetTag.createWidget(WidgetTag.java:279)
    [java]      ... 16 more
    [java] Root cause
    [java] java.lang.NoSuchMethodException:
org.eclipse.jface.viewers.TableViewer.<init>(int)
    [java]      at java.lang.Class.getConstructor0(Class.java:1769)
    [java]      at java.lang.Class.getConstructor(Class.java:1002)
    [java]      at
org.apache.commons.jelly.tags.swt.WidgetTag.createWidget(WidgetTag.java:279)
    [java]      at
org.apache.commons.jelly.tags.jface.ViewerTag.newInstance(ViewerTag.java:113)
    [java]      at
org.apache.commons.jelly.tags.core.UseBeanTag.doTag(UseBeanTag.java:124)
    [java]      at
org.apache.commons.jelly.tags.swt.WidgetTag.doTag(WidgetTag.java:157)
    [java]      at
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
    [java]      at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
    [java]      at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
    [java]      at
org.apache.commons.jelly.tags.core.UseBeanTag.doTag(UseBeanTag.java:128)
    [java]      at
org.apache.commons.jelly.tags.jface.window.ApplicationWindowTag.doTag(ApplicationWindowTag.java:110)
    [java]      at
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
    [java]      at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:135)
    [java]      at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:233)
    [java]      at
org.apache.commons.jelly.tags.core.JellyTag.doTag(JellyTag.java:91)
    [java]      at
org.apache.commons.jelly.impl.TagScript.run(TagScript.java:279)
    [java]      at
org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:634)
    [java]      at
org.apache.commons.jelly.JellyContext.runScript(JellyContext.java:540)
    [java]      at termit.console.ui.Main.main(Main.java:34)


Anybody could help me figure out, why?

-- 
Dominik Zalewski
>> dominikz@venus.wmid.amu.edu.pl
<< http://venus.wmid.amu.edu.pl/~dominikz

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message