actually my html file looks like

here I have one Graph.class file inside mywicket.examples folder. Could you
tell me what is  archive="applets.jar,log4j-1.2.12.jar". Is it essential.
Because Graph.java is not inside in jar file. So what jar file here i have
to include.

My Aim is to display the graph, x axis contains Date and y axis contains
average speed.
BUt i am getting class not found exception.

<html>
  <head> <title>Graph</title>
 

  </head>
  <body>
   
    <APPLET CODE="mywicket.examples.Graph.class" WIDTH=900 HEIGHT=400>

                <PARAM name="title" value="Date Vs Average Speed"/>
                <PARAM name="show_small_squares" value="6"/>
                <PARAM name="vret_grid_off"/>
                <PARAM name="show_legend_on_right"/>
                <PARAM name="legend_border_off"/>
                <PARAM name="show_percents_on_legend"/>
                <PARAM name="X_axis_description" value="Average Speed"/>
                <PARAM name="Y_axis_description" value="Date"/>
                <PARAM name="variation_series"
value="1/4/2007,2/4/2007,3/4/2007,4/4/2007,5/4/2007,6/4/2007,7/4/2007,8/4/2007,9/4/2007"/>
<!-- Dynamic -->
                <PARAM name="data_set_1"
value="13,27,50,70,10,30,30,20,80"/><!-- Dynamic -->
                <PARAM name="description_1" value="item1"/>
               
        </APPLET>    
   
  </body>
 
</html> 


igor.vaynberg wrote:
> 
> what is your html look like? what does the html that wicket outputs look
> like? there might be a path problem where the browser cant find the jar.
> 
> -igor
> 
> 
> On 5/12/07, edward durai <[EMAIL PROTECTED]> wrote:
>>
>>
>> Hi!
>>
>> I have put both graph.class and html file. In non-wicket page it is
>> working.
>> but in wicket it is not working.
>>
>> Please advise.
>> Thanks
>>
>>
>>
>>
>> howzat wrote:
>> >
>> > Does the markup you give below work in a non-wicket page?
>> > I would make a the simplest possible html page including your applet
>> tag
>> > below to see if it works. When it works, compare it to the html
>> generated
>> > by wicket. If they are the same, you should observe exactly the same
>> > result in your browser in both cases.
>> >
>> >
>> >
>> > edward durai wrote:
>> >>
>> >> Hi,
>> >>
>> >> I have tried. but i am not able to display that applet. Please give me
>> >> one sample. Thanks
>> >>
>> >>
>> >>
>> >> Robert Novotny wrote:
>> >>>
>> >>> Hello,
>> >>> there is nothing special in displaying applets in wicket pages. Just
>> put
>> >>> the proper applet tags into the HTML page template. You don't even
>> need
>> >>> to have corresponding components in the Java class, since applet is
>> not
>> >>> a wicket component.
>> >>>
>> >>> Robert Novotny
>> >>>
>> >>>
>> >>>
>> >>> edward durai wrote:
>> >>>>
>> >>>> Hi to all,
>> >>>>
>> >>>> I have one graph.java file. In HTML I can display like
>> >>>>
>> >>>> <APPLET CODE="graph.class" WIDTH=900 HEIGHT=400>
>> >>>> <PARAM name="title" value="Date Vs Average Speed">
>> >>>> <PARAM name="X_axis_description" value="Average Speed">
>> >>>> <PARAM name="Y_axis_description" value="Date">
>> >>>> <PARAM name="variation_series"
>> >>>>
>> value="1/4/2007,2/4/2007,3/4/2007,4/4/2007,5/4/2007,6/4/2007,7/4/2007,8/4/2007,9/4/2007">
>> >>>> <!-- Dynamic -->
>> >>>> <PARAM name="data_set_1" value="13,27,50,70,10,30,30,20,80"><!--
>> >>>> Dynamic -->
>> >>>> <PARAM name="description_1" value="item1">
>> >>>> </APPLET>
>> >>>>
>> >>>>
>> >>>> In Wicket, how can I display this applet file? Please explain me.
>> >>>>
>> >>>> Thank you for answering....
>> >>>>
>> >>>>
>> >>>>
>> >>>
>> >>>
>> >>
>> >>
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/How-to-display-applet-in-wicket--tf3725676.html#a10443641
>> Sent from the Wicket - User mailing list archive at Nabble.com.
>>
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by DB2 Express
>> Download DB2 Express C - the FREE version of DB2 express and take
>> control of your XML. No limits. Just data. Click to get it now.
>> http://sourceforge.net/powerbar/db2/
>> _______________________________________________
>> Wicket-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
> 
> 

-- 
View this message in context: 
http://www.nabble.com/How-to-display-applet-in-wicket--tf3725676.html#a10444340
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to