How do i drag and drop using wicket 1.2.6
hi i want to add drag drop feature in my app. i am using wicket 1.2.6, can it be done .What to do? thanks
DraggableTarget does not work
hi this code does not compile gives followinf error The type WebMarkupContainer is not generic; it cannot be parameterized with arguments wicket-quickstart/src/wicket/quickstart Index.java line 0 1189580276390 11921 DraggableTarget cart = new DraggableTarget("cart", DragDropExamplePageContribution.class); //kindof confusing parameters //product is the wicketId //product_123 is the HTML image id //tee_shirt.gif is the image to load DraggableImage image = new DraggableImage("product", "product_123", "tee_shirt.gif"); //need to configure cart to accept the draggable image cart.accepts(image); add(image); add(cart); Can some body help me?? thanks
wicket.contrib.scriptaculous.dragdrop.
hi i am getting this error when i tried to add draggable image in my container i am using wicket1.2.6? What should i do? java.lang.NoSuchMethodError: wicket.markup.html.image.Image .(Lwicket/MarkupContainer;Ljava/lang/String;Ljava/lang/String;)V at wicket.contrib.scriptaculous.dragdrop.DraggableImage.( DraggableImage.java:20) at wicket.quickstart.Index$TabPanel4.(Index.java:731) at wicket.quickstart.Index$4.getPanel(Index.java:153) at wicket.extensions.markup.html.tabs.TabbedPanel.setSelectedTab( TabbedPanel.java:244) at wicket.extensions.ajax.markup.html.tabs.AjaxTabbedPanel$1.onClick( AjaxTabbedPanel.java:60) at wicket.ajax.markup.html.AjaxFallbackLink$1.onEvent( AjaxFallbackLink.java:68) at wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:167) at wicket.ajax.AbstractDefaultAjaxBehavior.onRequest( AbstractDefaultAjaxBehavior.java:236) at wicket.request.target.component.listener.BehaviorRequestTarget.processEvents (BehaviorRequestTarget.java:98) at wicket.request.compound.DefaultEventProcessorStrategy.processEvents( DefaultEventProcessorStrategy.java:65) at wicket.request.compound.AbstractCompoundRequestCycleProcessor.processEvents( AbstractCompoundRequestCycleProcessor.java:57) at wicket.RequestCycle.doProcessEventsAndRespond(RequestCycle.java:896) at wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:934) at wicket.RequestCycle.step(RequestCycle.java:1010) at wicket.RequestCycle.steps(RequestCycle.java:1084) at wicket.RequestCycle.request(RequestCycle.java:454) at wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:219) at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter( ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter( ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke( StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke( StandardContextValve.java:178) at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke( ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke( StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service( CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java :869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection (Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket( PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt( LeaderFollowerWorkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run( ThreadPool.java:684) at java.lang.Thread.run(Unknown Source)
how to add menucontainer in wicket?
Hi i have to add an menu container in wicket frame work what id should i use? Difference your rating: 10.0 Thriftstorejunkie Age 16 - spokane,WA Details thanks
DIV TAG HEADER DO NOT WORK IN WICKET
THE HEADER IS NOT WORKING Home Trend Archive The Latest Looks Pepsi Style My Closet Submit Style
Adding an image in imageMap?
hi i have to add an iamge in my ImageMap.RectangleLink which is not predefined THE IMAGE IS LOADED from database? HOW T add THIS. thanks
Urgent : how can i design get all input of a single form with TextField, ListMultiplechoice and FileUpload components
Hi, Anyone please guide me to fit upload example in Forminput example, my requirement is i want a develop a single form with following components TextField ListMultiplechoice FileUpload i am facing a problem in getting fileupload path data. Thanks in advance Bhupat
not able to get selected ListMultipleChoice values
ERROR - AjaxRequestTarget - Error while responding to an AJAX request: [EMAIL PROTECTED] markupIdToComponent [{tabs=[MarkupContainer [Component id = tabs, page = wicket.quickstart.Index, path = 0:tabs.AjaxTabbedPanel, isVisible = true, isVersioned = false]]}], prependJavascript [[]], appendJavascript [[]] wicket.WicketRuntimeException: Exception in rendering component: [MarkupContainer [Component id = tagList, page = wicket.quickstart.Index, path = 0:tabs:panel:simpleUpload:tagList.ListMultipleChoice, isVisible = true, isVersioned = false]]
Re: How to integrate wicket frame work with spring
which xml file ? web.xml or context.xml, applicationcontext.xml or any other xml which one? On 8/30/07, Swaroop Belur <[EMAIL PROTECTED]> wrote: > > >>> > > Have u defined "contactDao" in your xml file > Basically there should be a definition in your xml file corresponding to > "contactDao" i.e contactDao should point to a class in ur classpath > > -swaroop belur >
How to integrate wicket frame work with spring
hi i need help in integrating wicket frame work with spring frame .i am using direct approach for this but my dao object is returning null.and the applicationcontext.xml is is throwing exception for undefined bean. can some body help. thanks
Re: wicket problem
if u check the file upload example in wicket site u can see this . any way the only having a file upload so no probs but my form also contains some text fields thanks bhupat On 8/29/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > > upload.getfileupload() ? > > -igor > > > On 8/28/07, bhupat parmar <[EMAIL PROTECTED]> wrote: > > > > hi > > my code goes like this > > > > > > private static class TabPanel3 extends Panel > > { > > FileUploadField fileUploadField = null; > > TextField styleNameTFld=null; > > private String message = ""; > > /** available sites for the multiple select. */ > > private static final List SITES = > > Arrays.asList(new String[] { "The Server Side", "Java > Lobby"," > > Java.Net" }); > > > > public TabPanel3(String id) > > { > > super(id); > > final FileUploadForm simpleUploadForm = new > > FileUploadForm("simpleUpload"); > > > > add(simpleUploadForm); > > } > > private class FileUploadForm extends Form > > { > > private FileUploadField fileUploadField; > > private TextField styleNameTFld; > > > > /** > > * Construct. > > * > > * @param name > > * Component name > > */ > > public FileUploadForm(String name) > > { > > super(name); > > > > // set this form to multipart mode (always needed for > > uploads!) > > setMultiPart(true); > > > > // Add one file input field > > add(fileUploadField = new FileUploadField("fileInput")); > > add(styleNameTFld=new TextField("styleNameTFld")); > > > > // Set maximum size to 100K for demo purposes > > setMaxSize(Bytes.kilobytes(500)); > > } > > > > /** > > * @see wicket.markup.html.form.Form#onSubmit() > > */ > > protected void onSubmit() > > { > > final wicket.markup.html.form.upload.FileUpload upload = > > fileUploadField.getFileUpload(); > > > > String imgPath = upload.getClientFileName(); > > > > if (upload != null) > > { > > > > System.out.println("inside onSubmit "+ imgPath); > > // here i am getting the path but how do i get the > value > > in the text field?? > > } > > > > } > > } > > >
bhupat parmar wants to chat
--- bhupat parmar wants to stay in better touch using some of Google's coolest new products. If you already have Gmail or Google Talk, visit: http://mail.google.com/mail/b-4ed0898d6-8b797b38e3-ed5dacd6a48cb801 You'll need to click this link to be able to chat with bhupat parmar. To get Gmail - a free email account from Google with over 2,800 megabytes of storage - and chat with bhupat parmar, visit: http://mail.google.com/mail/a-4ed0898d6-8b797b38e3-84ffa693fb Gmail offers: - Instant messaging right inside Gmail - Powerful spam protection - Built-in search for finding your messages and a helpful way of organizing emails into "conversations" - No pop-up ads or untargeted banners - just text ads and related information that are relevant to the content of your messages All this, and its yours for free. But wait, there's more! By opening a Gmail account, you also get access to Google Talk, Google's instant messaging service: http://www.google.com/talk/ Google Talk offers: - Web-based chat that you can use anywhere, without a download - A contact list that's synchronized with your Gmail account - Free, high quality PC-to-PC voice calls when you download the Google Talk client Gmail and Google Talk are still in beta. We're working hard to add new features and make improvements, so we might also ask for your comments and suggestions periodically. We appreciate your help in making our products even better! Thanks, The Google Team To learn more about Gmail and Google Talk, visit: http://mail.google.com/mail/help/about.html http://www.google.com/talk/about.html (If clicking the URLs in this message does not work, copy and paste them into the address bar of your browser). - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: wicket problem
hi my code goes like this private static class TabPanel3 extends Panel { FileUploadField fileUploadField = null; TextField styleNameTFld=null; private String message = ""; /** available sites for the multiple select. */ private static final List SITES = Arrays.asList(new String[] { "The Server Side", "Java Lobby"," Java.Net" }); public TabPanel3(String id) { super(id); final FileUploadForm simpleUploadForm = new FileUploadForm("simpleUpload"); add(simpleUploadForm); } private class FileUploadForm extends Form { private FileUploadField fileUploadField; private TextField styleNameTFld; /** * Construct. * * @param name * Component name */ public FileUploadForm(String name) { super(name); // set this form to multipart mode (always needed for uploads!) setMultiPart(true); // Add one file input field add(fileUploadField = new FileUploadField("fileInput")); add(styleNameTFld=new TextField("styleNameTFld")); // Set maximum size to 100K for demo purposes setMaxSize(Bytes.kilobytes(500)); } /** * @see wicket.markup.html.form.Form#onSubmit() */ protected void onSubmit() { final wicket.markup.html.form.upload.FileUpload upload = fileUploadField.getFileUpload(); String imgPath = upload.getClientFileName(); if (upload != null) { System.out.println("inside onSubmit "+ imgPath); // here i am getting the path but how do i get the value in the text field?? } } }
Wicket-Spring
Hi i want to integarte my wicket rame work with an existing spring frame work .Can some body tell how to go about it? thanks
wicket problem
hi i am facing problems in retriving the values from a multiple choice box i made in wicket frame work.I wrote a onSibmit() function but it througes an exception saying that propertymodel is set to null. Can somebody tell me how to implement this. thanks