wicket.contrib.scriptaculous.dragdrop.

2007-09-12 Thread bhupat parmar
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
.init(Lwicket/MarkupContainer;Ljava/lang/String;Ljava/lang/String;)V
at wicket.contrib.scriptaculous.dragdrop.DraggableImage.init(
DraggableImage.java:20)
at wicket.quickstart.Index$TabPanel4.init(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)


DraggableTarget does not work

2007-09-12 Thread bhupat parmar
hi
this code does not compile  gives followinf error

The type WebMarkupContainer is not generic; it cannot be parameterized
with arguments T  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


How do i drag and drop using wicket 1.2.6

2007-09-12 Thread bhupat parmar
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


how to add menucontainer in wicket?

2007-09-09 Thread bhupat parmar
Hi

i have to add an menu container  in  wicket frame work what id should i use?


 td  div id=menucontainer
div id=bobcontent1-title class=handcursor1span
class=spanDifference/span/div
div id=bobcontent1 class=switchgroup1
table width=100% border=0 cellspacing=0
cellpadding=0
  tr
td class=tdcolor1table width=80% border=0 align=center
cellpadding=0 cellspacing=5
  tr
td width=45% rowspan=2img
src=images/img6.gif width=106 height=106/td
td width=55%img
src=images/ratebar.gif width=158 height=18/td
  /tr
  tr
td align=right valign=topdiv
class=most
strongyour rating: 10.0/strong
/div
  div class=numbersa href=#img
src=images/next.gif width=22 height=14 border=0/a
  /div
  a href=#strongbr
  Thriftstorejunkie/strong/abr
  Age 16 - spokane,WAbr
  a href=#Details /a/td
  /tr
/table/td


thanks


DIV TAG HEADER DO NOT WORK IN WICKET

2007-09-06 Thread bhupat parmar
THE HEADER IS NOT WORKING


DIV id=header
UL
  LIA href=# wicket:id=homeLinkHome/A/LI
  LI id=current wicket:id=trendArchiveA href=#Trend
Archive/A/LI
  LIA href=# wicket:id=latestLookLink The Latest
Looks/A/LI
  LI class=advanced wicket:id=pepsiStyleLinkA href=#Pepsi
Style/A /LI
  LIA href=# wicket:id=myClosetLinkMy Closet/A /LI
  LIA href=# wicket:id=submitStyleLinkSubmit Style /A/LI
/UL
  /DIV/td


How to integrate wicket frame work with spring

2007-08-30 Thread bhupat parmar
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

bean id=wicketApplication class=project.MyApplication
property name=contactDao ref=contactDao/
/bean
is throwing exception for undefined bean.
can some body help.

thanks


Re: How to integrate wicket frame work with spring

2007-08-30 Thread bhupat parmar
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:

   property name=contactDao ref=contactDao/

 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



not able to get selected ListMultipleChoice values

2007-08-30 Thread bhupat parmar
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]]


Urgent : how can i design get all input of a single form with TextField, ListMultiplechoice and FileUpload components

2007-08-30 Thread bhupat parmar
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


wicket problem

2007-08-29 Thread bhupat parmar
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


Wicket-Spring

2007-08-29 Thread bhupat parmar
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


Re: wicket problem

2007-08-29 Thread bhupat parmar
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

2007-08-29 Thread bhupat parmar
---

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]