ahh, so you wish to use wicket to generate dynamic content for the applet?

Look at the howto include javascript thread, theres an example on howto 
create a attribute modifier, im not sure howto communicate with your 
applet though?


edward durai wrote:
> Finally, It's working.
>
> My applet looks lik
>
> <APPLET codebase="http://localhost:8080/projectName"; CODE="ClassName"
> WIDTH=400 HEIGHT=450>
>
>
> </APPLET>
>
> Here Hardcoded values x_axis_value and y_axis_value is working fine.
> Consider I have one text box with label Dates and
> Consider I have one text box with label values(y).
> How to get both values and apply the above applet tags? I am the newbie of
> wicket. Please tell your suggestions.
>
>
>
>
> Robert Novotny wrote:
>   
>> One problem, which could arise, is the URL from which is the graph.class
>> loaded. When you've got your applet page on
>> http://server.com/page/applet.html, browser JVM willl try to load
>> graph.class from http://server.com/page/graph.class URL. Also make sure
>> that you have a correct case (Java classes should start with an uppercase
>> letter, therefore I think it is better to have <applect
>> code="Graph.class".. and class called "Graph").
>>
>> However, if you specify the JAR files in the archive attribute, your
>> classes will be loaded from the specified JARs. 
>>
>> There can be another hiccup dealing with URL mounting. In our project we
>> have mounted the Wicket webapplication on the
>> <url-pattern>/app/*</url-pattern>. Therefore our applet page has URL
>> http://[servername]:8080/[appname]/app?wicket:bookmarkablePage=:uinf.wid.tools.UserProfileApplet,
>> which means that the JAR files are loaded from the
>> http://[servername]:8080/[appname] directory, i. e. from JAR files which
>> are located in the directory just above the WEB-INF.
>>
>> If your webpage is mounted (for example to
>> http://[servername]:8080/[appname]/app/userprofile), you could come across
>> JAR loading problems, because JVM will try to load JAR/CLASS file from
>> that http://[servername]:8080/[appname]/app/userprofile, which does not
>> correspond to any server directory, therefore it will not find your
>> JARs/CLASSes.
>>
>>
>> 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>
>>>
>>>
>>>
>>>  <!-- Dynamic -->
>>> <!-- Dynamic -->
>>>
>>> </APPLET>
>>>
>>>
>>> In Wicket, how can I display this applet file? Please explain me. 
>>>
>>> Thank you for answering....
>>>
>>>
>>>
>>>       
>>     
>
>   

-------------------------------------------------------------------------
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