i get ClassCastException so
protected void populateItem(ListItem item) {
//CollapsingPair pair = (CollapsingPair)item.getModel();
CollapsingPair pair = (CollapsingPair)item.getModelObject(); //@TODO :
Ali Reza Sharghi , i add
also if i correctly use your component , where is tag of header or content
components of client of component ? and surely you want choosing these
tags give to client of components.
i get exception
wicket.WicketRuntimeException: The component(s) below failed to
render. A common problem is that you have added a
component in code but forgot to reference it in the markup (thus the
component will never be rendered).
when use your component in this way :
List<CollapsingPair> listItems = new ArrayList<CollapsingPair>();
listItems.add(new CollapsingPair(new Label("label1", "one"),
getPanel("panel1")));
listItems.add(new CollapsingPair(new Label("label2", "two"),
getPanel("panel2")));
listItems.add(new CollapsingPair(new Label("label3", "three"),
getPanel("panel3")));
add(new CollapsablePane("pane", listItems, Duration.ONE_SECOND,
true)); //<span wicket:id="pane">Test Pane</span>
}
private Panel getPanel(String id) {
Panel panel = new Panel(id);
panel.add(new Label( id +"a", id + "a"));
panel.add(new Label( id +"b", id + "b"));
panel.add(new Label( id +"c", id + "c" ));
return panel;
}
in summary , my labels an panels where thier tags defined in markup ?
please help
==========
On Fri, 19 May 2006 18:59:43 +0430, Ayodeji Aladejebi
<[EMAIL PROTECTED]> wrote:
yeah... lots of lazy developers like myslef..okay then..but i made this
one...hey igor am i in a good direction? :)
On 5/19/06, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:
okay then..but i made this one...hey igor am i in a good direction?
On 5/19/06, Johan Compagner <[EMAIL PROTECTED] > wrote:
>
> Not contribute anymore? no time?
> They only have to work for 8 hours for the boss!
> thats still 16 hours left of the 24 that you have in a day..
>
> johan
>
>
>
> On 5/18/06, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
> >
> > The dojo.js library is a product under very high construction. Our
> > full time students had a really hard time of working with it. This
makes is
> > very hard to actually implement anything stable. The students have
now
> > joined our company, but we put a lot of work on their shoulders so
that they
> > can't contribute anymore.
> >
> > I heard someone volunteering to pick the pieces up (don't remember
> > who), so if anyone wants to get his/her hands dirty on supporting
an open
> > source project, now is your chance.
> >
> > The wicket stuff project has been created to allow anyone to
> > contribute to wicket, and support those packages the core
developers don't
> > have time for. Dojo, scriptaculous and such are those packages.
> >
> >
> > Martijn
> >
> > On 5/18/06, Ayodeji Aladejebi < [EMAIL PROTECTED]> wrote:
> > >
> > > are we still someday soon expecting wicket-dojo-contrib...jeez i
> > > really loved what i was learning with the old wicket-dojo until
Wicket
> > > 1.2 was no longer compatible.
> > >
> > >
> > > On 5/18/06, Martijn Dashorst <[EMAIL PROTECTED]> wrote:
> > > >
> > > > rico has one, and Dojo also.
> > > >
> > > > Martijn
> > > >
> > > >
> > > > On 5/18/06, Ayodeji Aladejebi < [EMAIL PROTECTED]> wrote:
> > > > >
> > > > > :D. okay pls who has links to any free cross browser
javascript
> > > > > library that can do this?
> > > > >
> > > > > thank yu
> > > > >
> > > > > On 5/18/06, Igor Vaynberg < [EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > i dont think there is a component like that right now, but
> > > > > > feel free to contribute one :)
> > > > > >
> > > > > > -Igor
> > > > > >
> > > > > >
> > > > > >
> > > > > > On 5/18/06, Ayodeji Aladejebi < [EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > > This sliding effect collapsing side menu bar like the one
in
> > > > > > > the Echo2 App Demo http://demo.nextapp.com/Demo/app ....i
> > > > > > > was tryin to do it with wicket but i was tempted to go
the javascript way
> > > > > > > again. Is there an wicket-extension package that can make
this easy to build
> > > > > > > in wicket just like the TabbedPane?
> > > > > > >
> > > > > > > thank yu
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Wicket 1.2 is coming! Write Ajax applications without touching
> > > > JavaScript!
> > > > -- http://wicketframework.org
> > > >
> > >
> > >
> > >
> > >
> > >
> >
> >
> > --
> > Wicket 1.2 is coming! Write Ajax applications without touching
> > JavaScript!
> > -- http://wicketframework.org
> >
>
>
--
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&kid0709&bid&3057&dat1642
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user