Bugs item #1450567, was opened at 2006-03-15 18:58
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1450567&group_id=119783

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Thomas (thomas1212)
Assigned to: Nobody/Anonymous (nobody)
Summary: Classloader problem .

Initial Comment:
with wicket 1.1 the code below works well but with
wicket 1.2 beta1 it throws a
java.lang.NoClassDefFoundError:
.../admin/panels/ListOfFilePanel$1 Exception under my
Jboss server .

public class ListOfFilePanel extends Panel
{
        private File selectedFile = null;
        
        public ListOfFilePanel( String id , List listOfFiles ,
final String reference )
        {
                super( id );
                
                final Form form = new Form("linkForm");
                add( form );

                DataView dataView = new DataView("listeFichiers", new
ListDataProvider( listOfFiles ) ){

                        public void populateItem(Item item)
                        {
                                final File fichier = 
(File)item.getModelObject();
                                item.add( new Label( "fileName" ,
fichier.getName() ) );

                                item.add( new Link( "view" )
                                                {
                                                        public void onClick()
                                                        {
                                                                
((UlysseAdminPage)
this.getPage()).getUlysseAdmin().setSelectedFile(
fichier , reference );
                                                        };
                                                }
                                );
                        }

                };
                form.add( dataView ); 
                dataView.setItemsPerPage(2);
                add(dataView);

                form.add(new PagingNavigator("navigator", dataView));
        }
        
}

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1450567&group_id=119783


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop

Reply via email to