On Mon, 22 May 2006 11:54:47 +0430, Ayodeji Aladejebi
<[EMAIL PROTECTED]> wrote:
> Well here is the file...give it a try again. they are functional now and
> look at the quick start before writing yours
wicket tell can not found package resource [name=.DS_Store ...]
so i delete following line from CollapsablePane
private static final PackageResourceReference item = new
PackageResourceReference( CollapsablePane.class, ".DS_Store");
and also this line from CollapsingPaneInitializer
PackageResource.bind(application, CollapsablePane.class, ".DS_Store");
now app is running but effect not work , i find a init script not write to
final markup. i see in CollapsablePane
mainContent = new WebMarkupContainer(MAIN_CONTENT_ID){
protected void onBeforeRender() { <<<<< this method is a new
method and no a overrided/framework method
Response response = getResponse();
response.write("<script
type=\"text/javascript\"><!--//--><![CDATA[//><!--\n");
response.write(settings.getMode().getInitFunction(settings.getDuration(),settings.getOpaque()));
response.write("//--><!]]>\n</script>");
}
};
i rename it to onRender
mainContent = new WebMarkupContainer(MAIN_CONTENT_ID){
protected void onRender(final MarkupStream markupStream) {
Response response = getResponse();
response.write("<script
type=\"text/javascript\"><!--//--><![CDATA[//><!--\n");
response.write(settings.getMode().getInitFunction(settings.getDuration(),settings.getOpaque()));
response.write("//--><!]]>\n</script>");
super.onRender(markupStream);
}
};
now toggle effect work well (in opera and firefox but in IE 6, toggled
content immediately auto-close)
, but collapse effect not work
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user