[Wicket-user] How to display applet in wicket?

2007-05-11 Thread edward durai

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#a10426521
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] POST form submissions being converted to GETs

2007-05-11 Thread Erik van Oosten

Wicket will always do a redirect after the POST. So the information you are
seeing is from the second request, which is a GET.

You can install LiveHTTPHeaders in FireFox. There is something similar for
IE.

Regards,
Erik.



Lowell Kirsh wrote:
 
 I have a wicket form which is supposed to be POSTing its data. Looking
 at the generated page, it is indeed method=post. But the page that
 it redirects to thinks that it is a GET. I found this information by
 doing:
 
 WebRequest request = (WebRequest) RequestCycle.get().getRequest();
 String method = request.getHttpServletRequest().getMethod();
 
 In this case, method is GET. I don't get why this is not POST. So
 right now I'm not sure if it's mistakenly thinking it's a GET when it
 is indeed a POST, or if it's really a GET. Does anyone have any
 recommendation on how I can figure this out (eg. some tool not
 associated with wicket)?
 
 Thanks,
 Lowell
 


-- 
Erik van Oosten
http://2007.rubyenrails.nl/
http://www.day-to-day-stuff.blogspot.com/ 

-- 
View this message in context: 
http://www.nabble.com/POST-form-submissions-being-converted-to-GETs-tf3725515.html#a10426535
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] POST form submissions being converted to GETs

2007-05-11 Thread Lowell Kirsh
Thanks for the advice. That is unfortunate in my case. But that's a
bit off topic from this, so I will post another message.

On 5/10/07, Erik van Oosten [EMAIL PROTECTED] wrote:

 Wicket will always do a redirect after the POST. So the information you are
 seeing is from the second request, which is a GET.

 You can install LiveHTTPHeaders in FireFox. There is something similar for
 IE.

 Regards,
 Erik.



 Lowell Kirsh wrote:
 
  I have a wicket form which is supposed to be POSTing its data. Looking
  at the generated page, it is indeed method=post. But the page that
  it redirects to thinks that it is a GET. I found this information by
  doing:
 
  WebRequest request = (WebRequest) RequestCycle.get().getRequest();
  String method = request.getHttpServletRequest().getMethod();
 
  In this case, method is GET. I don't get why this is not POST. So
  right now I'm not sure if it's mistakenly thinking it's a GET when it
  is indeed a POST, or if it's really a GET. Does anyone have any
  recommendation on how I can figure this out (eg. some tool not
  associated with wicket)?
 
  Thanks,
  Lowell
 


 --
 Erik van Oosten
 http://2007.rubyenrails.nl/
 http://www.day-to-day-stuff.blogspot.com/

 --
 View this message in context: 
 http://www.nabble.com/POST-form-submissions-being-converted-to-GETs-tf3725515.html#a10426535
 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
 Wicket-user@lists.sourceforge.net
 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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Wicket and web services

2007-05-11 Thread Lowell Kirsh
I want some of my pages to be accessed programatically. Basically,
that page may be accessed as a 'web service'. So the same page may be
arrived at in 2 ways - the result of a form submission from another
page in the same app, or the result of a direct http connection. When
accessed as a web service, there are a few extra requirements - the
page must be POSTed to, and there must be an extra http request header
for authorization.

I was thinking that the page could make sure that it always is POSTed
to, but when arrived at in the context of a form submission in the
application, it apparently ends up being the result of a redirect
after the form post, so the page does not think it was posted to. So I
think perhaps the page should only ensure it was posted to if it's
from outside the application. Is there a way for the page to know that
its referrer is another page in the same application? Check the
referrer header?

Is trying to overload this page like this crazy? I thought it would be
less work and a cleaner design, but am not sure when I should just
give up.

Lowell

-
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] WicketFilter doesn't work in Weblogic [Wicket 1.3]

2007-05-11 Thread Johan Compagner

we only use servletpath when we are in servlet mode:

public String getRelativePath(HttpServletRequest request)
   {
   String path = Strings.stripJSessionId(request.getRequestURI());
   String contextPath = request.getContextPath();
   path = path.substring(contextPath.length());
   if (servletMode)
   {
   String servletPath = request.getServletPath();
   path = path.substring(servletPath.length());
   }
   filterPath = getFilterPath(request);

so i dont know exactly where you are looking at ?

johan


On 5/11/07, dukejansen [EMAIL PROTECTED] wrote:



I believe I have identified a rather serious bug in WicketFilter.

I'm using a recent 1.3 snapshot, and I have recently updated our
application
to leverage the WicketFilter instead of WicketServlet. This is working
great
in Tomcat, but when we deploy to our Weblogic server, Wicket dies an ugly
death.

After a lot of debugging in both Weblogic and Tomcat, I was able to track
down the source of the problem.

The problematic method is WicketFilter.getRelativePath.

The method uses request.getServletPath to return the relative path. This
works in Tomcat, because Tomcat is nice enough to return the the relative
request URL when you call request.getServletPath, even if it is not
technically mapped as a servlet in web.xml.

But Weblogic is more strict, and so because the URL is not technically a
real servlet, it just returns .

This causes the Wicket code to think the URL is for the root path, and so
it
tries to append the relative path to the registered home page. Since the
method always returns , Wicket does this forever, continuing to append
the
home page path, redirect, then get confused, again and again.

Wanted to post a message to warn others and to find out if anyone was
already aware of this.

I was able to code up a workaround, since the method was public, copying
most of the original logic into my overridden method. But it got a bit
hacky
since I didn't have access to private members of WicketFilter.

Essentially, I replaced the malfunctioning first line:

String path = request.getServletPath();

With something that seems to work better:

String contextPath =
StringUtils.nullToEmpty(request.getContextPath());
String path = request.getRequestURI();
if (path.startsWith(contextPath)) {
path = path.substring(contextPath.length());
}

-Jason
--
View this message in context:
http://www.nabble.com/WicketFilter-doesn%27t-work-in-Weblogic--Wicket-1.3--tf3724994.html#a10424457
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
Wicket-user@lists.sourceforge.net
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] POST form submissions being converted to GETs

2007-05-11 Thread Eelco Hillenius
It's a great pattern in general, as you never have to worry again
about users re-submitting the form when they press refresh or the back
button.

If you want to break out in specific cases,
RequestCycle.get().setRedirect(false) in your form's onSubmit method
should do the trick. If you don't want to use the pattern to start
with, you can call

getRequestCycleSettings().setRenderStrategy(IRequestCycleSettings.ONE_PASS_RENDER);

in your application's init method.

Eelco

On 5/11/07, Lowell Kirsh [EMAIL PROTECTED] wrote:
 Thanks for the advice. That is unfortunate in my case. But that's a
 bit off topic from this, so I will post another message.

 On 5/10/07, Erik van Oosten [EMAIL PROTECTED] wrote:
 
  Wicket will always do a redirect after the POST. So the information you are
  seeing is from the second request, which is a GET.
 
  You can install LiveHTTPHeaders in FireFox. There is something similar for
  IE.
 
  Regards,
  Erik.
 
 
 
  Lowell Kirsh wrote:
  
   I have a wicket form which is supposed to be POSTing its data. Looking
   at the generated page, it is indeed method=post. But the page that
   it redirects to thinks that it is a GET. I found this information by
   doing:
  
   WebRequest request = (WebRequest) RequestCycle.get().getRequest();
   String method = request.getHttpServletRequest().getMethod();
  
   In this case, method is GET. I don't get why this is not POST. So
   right now I'm not sure if it's mistakenly thinking it's a GET when it
   is indeed a POST, or if it's really a GET. Does anyone have any
   recommendation on how I can figure this out (eg. some tool not
   associated with wicket)?
  
   Thanks,
   Lowell
  
 
 
  --
  Erik van Oosten
  http://2007.rubyenrails.nl/
  http://www.day-to-day-stuff.blogspot.com/
 
  --
  View this message in context: 
  http://www.nabble.com/POST-form-submissions-being-converted-to-GETs-tf3725515.html#a10426535
  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
  Wicket-user@lists.sourceforge.net
  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
 Wicket-user@lists.sourceforge.net
 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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] wicket stuff GMap: New Exciting Features:)

2007-05-11 Thread Nino Saturnino Martinez Vazquez Wael




Hi

I've been working on the gmap, and these new features are in place:

  Using gmap v 2
  Custom gIcons can now be added(define your on small map pin).
  Gmap(serverside) are updated when the user moves,zooms etc via
ajax.
  Control which Gmap controls you want displayed
  Using google recomendation for avoiding memory leaks in IE
  

Upcomming features:


  Creating the Gmap in insert mode, the model you pass to the
constructor will be notified when the user clicks a spot


Please note these features are only available in svn, 1.2 branch, jdk14
version

PS this is the right place to write about new features correct?

regards Nino



-
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] WysiwygTextarea: Bind IFrame-Content to a Model

2007-05-11 Thread Ralf Eichinger
I want to make a simple wysiwyg-textarea.
this is done by using an IFrame in design mode and copying the html from the
IFrame to a hidden field when the form is submitted.
so the html-data can be transfered to a HiddenField that is bind to the model.

that's the theory, but as a new wicket user I have problems dealing with all the
javascript/binding/form/model stuff...

so I made a little HTML-demo.
I would be very VERY thankful if anyone can implement it by using a new
component (panel?) called WysiwygTextarea(id)...
I will complete it and we can distribute it then with apache license to the
wicket-project.

ok, here is the static demo.
copy it in a file like demo.html and open it in browser.

html
  head
titleWicket IFrame Submit/title
  /head
body

form action=... name=edit method=POST id=edit onsubmit=return
submitForm();

iframe id=content name=content width=600px height=300px/iframe
input type=hidden id=hiddencontent name=hiddencontent value=/

input type=submit name=Submit value=Submit
/form



script language= JavaScript type= text/javascript 
!--
// some demo data:
var browser = navigator.userAgent.toLowerCase();
var isIE = ((browser .indexOf( msie ) != -1)  (browser .indexOf( opera )
== -1) (browser .indexOf( webtv ) == -1));
var mainContent= html
id='content'head/headbodyh1hello/h1/body/html ;

var edit = document.getElementById('content').contentWindow.document;
edit.write(mainContent);
edit.designMode=On;
if(!isIE){
  document.getElementById('content').contentDocument.designMode=on;
}

function submitForm() {
  var hiddenField = document.getElementById('hiddencontent');
  if (hiddenField.value == null) hiddenField.value = ;
  hiddenField.value =
document.getElementById('content').contentWindow.document.body.innerHTML;

  alert(hiddenField.value);
  return true;
}
//--
/script

/body
/html


-
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] How to display applet in wicket?

2007-05-11 Thread Robert Novotny

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#a10429225
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket stuff GMap: New Exciting Features:)

2007-05-11 Thread Nino Saturnino Martinez Vazquez Wael
Now the insert mode works aswell:)

Nino Saturnino Martinez Vazquez Wael wrote:
 Hi

 I've been working on the gmap, and these new features are in place:

 * Using gmap v 2
 * Custom gIcons can now be added(define your on small map pin).
 * Gmap(serverside) are updated when the user moves,zooms etc via ajax.
 * Control which Gmap controls you want displayed
 * Using google recomendation for avoiding memory leaks in IE

 Upcomming features:

 * Creating the Gmap in insert mode, the model you pass to the
   constructor will be notified when the user clicks a spot


 Please note these features are only available in svn, 1.2 branch, 
 jdk14 version

 PS this is the right place to write about new features correct?

 regards Nino
 

 -
 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
 Wicket-user@lists.sourceforge.net
 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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Wicket requiring one of my Spring managed beans to have a default constructor

2007-05-11 Thread Matt Welch

Thanks. That's great information to have. I now have a couple of clear
directions I can go  to solve the issue.

On 5/9/07, Igor Vaynberg [EMAIL PROTECTED] wrote:


if your class is an interface then wicket will create a jdk proxy. if your
class is not an interface then we cannot create this proxy, so wicket uses
cglib to create a proxy from a concrete class. having this empty constructor
must be a cglib requirement.

-igor


-
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Any Problems:Wicket on Tomcat 6

2007-05-11 Thread Nino Saturnino Martinez Vazquez Wael
 Hi you wouldnt be deploying in development mode? We've had this come up 
a lot of times before, and I think the problem are described 
somewhere... You need to deploy in production mode

you can do that by:

 !-- 
  There are three means to configure Wickets configuration mode and 
they are
  tested in the order given.
  1) A system property: -Dwicket.configuration
  2) servlet specific init-param
  3) context specific context-param
  The value might be either development (reloading when templates 
change)
  or deployment. If no configuration is found, deployment is the 
default.
--
context-param
  param-nameconfiguration/param-name
  param-valuedevelopment/param-value
/context-param


regards Nino

Ayodeji Aladejebi wrote:
 Hi Wicket Family,

 Please I just want to ask if anybody is presently deploying a wicket 
 based project on Tomcat 6 and Java 6 platform.

 From Wicket founders point of view, which app server is the best for 
 wicket apps Tomcat, Resin, Jetty, Glassfish

 There is this too many open files problem that makes our test server 
 to crash after a long period with tomcat 5 and wicket 1.2.4

 Are there any presently know issues with this setup because I am about 
 to bet my existence on Wicket1.2.7/Tomcat6/Java6 :)
 and i just needed to be sure. Our company also hopes to subsribe to 
 wicket support once we deploy based on wicket


 Thanks



 -- 
 Aladejebi Ayodeji A.,
 DabarObjects Solutions
 Phone: +234 9 481 7 156
 Mobile: +234 803 589 1780
 Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 Web: www.dabarobjects.com http://www.dabarobjects.com
 Blog: blog.dabarobjects.com http://blog.dabarobjects.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
 Wicket-user@lists.sourceforge.net
 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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Any Problems:Wicket on Tomcat 6

2007-05-11 Thread Ayodeji Aladejebi

Hi Wicket Family,

Please I just want to ask if anybody is presently deploying a wicket based
project on Tomcat 6 and Java 6 platform.


From Wicket founders point of view, which app server is the best for wicket

apps Tomcat, Resin, Jetty, Glassfish

There is this too many open files problem that makes our test server to
crash after a long period with tomcat 5 and wicket 1.2.4

Are there any presently know issues with this setup because I am about to
bet my existence on Wicket1.2.7/Tomcat6/Java6 :)
and i just needed to be sure. Our company also hopes to subsribe to wicket
support once we deploy based on wicket


Thanks



--
Aladejebi Ayodeji A.,
DabarObjects Solutions
Phone: +234 9 481 7 156
Mobile: +234 803 589 1780
Email: [EMAIL PROTECTED]
Web: www.dabarobjects.com
Blog: blog.dabarobjects.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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket-contrib-dojo for wicket 1.3.0

2007-05-11 Thread Vincent Demay
Hi Dragos,

Could you please fill a issue with that, I will try to fix it as soon as 
got 5minutes.
(http://wicketstuff.org/jira/browse/DOJO)

--
Vincent

Dragos Bobes a écrit :
 Hi Vincent,

 Thanks again for your interest in helping me.
 I think I found the problem. I started a new project and the dojo stuff 
 was working there. When I compared the two projects one of the 
 differences was that in one of them (where dojo wasn't working) I was 
 mounting the application's pages to a specific url:

 mount(/pages, PackageName.forPackage(Home.class.getPackage()));

 When I removed the mount line dojo stuff worked fine.
 I've attached a small project in a working state. If you uncomment the 
 mount line in the MyApplication.java you'll see that the dojo page 
 doesn't work anymore.

 I hope this helps,
 Dragos


 Vincent Demay wrote:
   
 Dragos Bobes a écrit :
 
 Thanks Vincent but unfortunately it doesn't work for me. I get the same 
 exceptions when I try to use the drag-n-drop feature and I'm sure I'm 
 using the latest jar.
 Please let me know if you need more info about the errors.
   
   
 Ok, so can you give me a little code snippet, or a mini sample code 
 where I can reproduce that?

 Do you use firebug(https://addons.mozilla.org/fr/firefox/addon/1843)? 
 If you do,  can you copy paste the trace in it?

 Thanks

 --
 Vincent Demay
 http://www.demay-fr.net/blog
 
 Thanks
 Dragos

 Vincent Demay wrote:
   
   
 Dragos Bobes a écrit :
 
 
 Thanks Jean-Baptiste, now it's compiling successfully.
 But when I tried to use it for a drag-n-drop example I've ran into some 
 'FATAL' errors.

 FATAL exception raised: Could not load 
 'wicketstuff.dojodnd.DojoDropContainer'; last tried '__package__.js'
 FATAL exception raised: Could not load 
 'wicketstuff.dojodnd.DojoDragContainer'; last tried '__package__.js'
 FATAL exception raised: Could not load 
 'wicketstuff.dojodnd.DojoDragCopyContainer'; last tried '__package__.js'
 DEBUG: DEPRECATED: dojo.widget.Manager.getImplementationName Could not 
 locate widget implementation for panel in wicket.widget registered 
 to namespace wicket. Developers must specify correct namespaces for 
 all non-Dojo widgets -- will be removed in version: 0.5
 DEBUG: dojo.widget.Parse: error:Error: Could not locate widget 
 implementation for panel in wicket.widget registered to namespace 
 wicket
 DEBUG: DEPRECATED: dojo.widget.Manager.getImplementationName Could not 
 locate widget implementation for link in wicket.widget registered to 
 namespace wicket. Developers must specify correct namespaces for all 
 non-Dojo widgets -- will be removed in version: 0.5
 DEBUG: dojo.widget.Parse: error:Error: Could not locate widget 
 implementation for link in wicket.widget registered to namespace 
 wicket
 DEBUG: DEPRECATED: dojo.widget.Manager.getImplementationName Could not 
 locate widget implementation for message in wicket.widget registered 
 to namespace wicket. Developers must specify correct namespaces for 
 all non-Dojo widgets -- will be removed in version: 0.5
 DEBUG: dojo.widget.Parse: error:Error: Could not locate widget 
 implementation for message in wicket.widget registered to namespace 
 wicket
 DEBUG: DEPRECATED: dojo.widget.Manager.getImplementationName Could not 
 locate widget implementation for link in wicket.widget registered to 
 namespace wicket. Developers must specify correct namespaces for all 
 non-Dojo widgets -- will be removed in version: 0.5
 


 Is this version in a good state or is it my fault? Are there any 
 prerequisites for using wicketstuff-dojo?

 Thanks,
 Dragos
   
   
   
 Dragos,

 This Error has been fixed but build failed since a long time. Try to 
 get the last jar in the maven repo 
 http://wicketstuff.org/maven/repository/org/wicketstuff/wicketstuff-dojo/1.3.0-SNAPSHOT/
  
 (from today ;) )

 I think the problem has been solved

 Cheers

 --
 Vincent Demay
 http://www.demay-fr.net/blog

 
 
 Jean-Baptiste Quenot wrote:
   
   
   
 * Dragos Bobes:
   
 
 
 
 Is there any version of wicket-contrib-dojo that works with wicket 
 1.3.0-incubating-SNAPSHOT and where can I find it?
 I tried to use the corresponding version (1.3.0-incubating-SNAPSHOT) 
 from 
 http://wicketstuff.org/maven/repository/wicket-stuff/wicket-contrib-dojo/1.3.0-incubating-SNAPSHOT/
  
 but it seems is still referencing the old package names (without 
 'org.apache' prefix).
 
   
   
   
 The right location is:
 http://wicketstuff.org/maven/repository/org/wicketstuff/wicketstuff-dojo/1.3.0-SNAPSHOT/

 One day we'll need to clean the Maven repo!  Several users are
 confused with the various leftovers.  Should we just wipe out the
 whole stuff?  Then we can fire Bamboo to rebuild everything.
   
 
 
 
 -
 This SF.net email is sponsored by DB2 Express
 

Re: [Wicket-user] wicket stuff GMap: New Exciting Features:)

2007-05-11 Thread Nino Saturnino Martinez Vazquez Wael
I wanted to explain what insert mode could be used for. Basicly its 
intended for user addition of markers, if for example your users would 
be allowed to add individual markers, like my maps on google. However 
these marker could be shared be between users etc.

regards Nino

Nino Saturnino Martinez Vazquez Wael wrote:
 Now the insert mode works aswell:)

 Nino Saturnino Martinez Vazquez Wael wrote:
   
 Hi

 I've been working on the gmap, and these new features are in place:

 * Using gmap v 2
 * Custom gIcons can now be added(define your on small map pin).
 * Gmap(serverside) are updated when the user moves,zooms etc via ajax.
 * Control which Gmap controls you want displayed
 * Using google recomendation for avoiding memory leaks in IE

 Upcomming features:

 * Creating the Gmap in insert mode, the model you pass to the
   constructor will be notified when the user clicks a spot


 Please note these features are only available in svn, 1.2 branch, 
 jdk14 version

 PS this is the right place to write about new features correct?

 regards Nino
 

 -
 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
 Wicket-user@lists.sourceforge.net
 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
 Wicket-user@lists.sourceforge.net
 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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Any Problems:Wicket on Tomcat 6

2007-05-11 Thread Ayodeji Aladejebi

wait wait, i did not say that I am deploying in development modeoff
course i know about production mode however we were on production mode when
our hosting company reports that we have our server crashing due to many
open files

however, we are presently upgrading and fixing bugs and we are about to give
another shot. we just want to know which app server has the least friction
with wicket running in production mode:)

On 5/11/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED]
wrote:


Hi you wouldnt be deploying in development mode? We've had this come up
a lot of times before, and I think the problem are described
somewhere... You need to deploy in production mode

you can do that by:

!--
  There are three means to configure Wickets configuration mode and
they are
  tested in the order given.
  1) A system property: -Dwicket.configuration
  2) servlet specific init-param
  3) context specific context-param
  The value might be either development (reloading when templates
change)
  or deployment. If no configuration is found, deployment is the
default.
--
context-param
  param-nameconfiguration/param-name
  param-valuedevelopment/param-value
/context-param


regards Nino

Ayodeji Aladejebi wrote:
 Hi Wicket Family,

 Please I just want to ask if anybody is presently deploying a wicket
 based project on Tomcat 6 and Java 6 platform.

 From Wicket founders point of view, which app server is the best for
 wicket apps Tomcat, Resin, Jetty, Glassfish

 There is this too many open files problem that makes our test server
 to crash after a long period with tomcat 5 and wicket 1.2.4

 Are there any presently know issues with this setup because I am about
 to bet my existence on Wicket1.2.7/Tomcat6/Java6 :)
 and i just needed to be sure. Our company also hopes to subsribe to
 wicket support once we deploy based on wicket


 Thanks



 --
 Aladejebi Ayodeji A.,
 DabarObjects Solutions
 Phone: +234 9 481 7 156
 Mobile: +234 803 589 1780
 Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 Web: www.dabarobjects.com http://www.dabarobjects.com
 Blog: blog.dabarobjects.com http://blog.dabarobjects.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
 Wicket-user@lists.sourceforge.net
 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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user





--
Aladejebi Ayodeji A.,
DabarObjects Solutions
Phone: +234 9 481 7 156
Mobile: +234 803 589 1780
Email: [EMAIL PROTECTED]
Web: www.dabarobjects.com
Blog: blog.dabarobjects.com

Participate, Collaborate, Innovate
Join Community:
http://www.cowblock.net/

Get A Free Blog:
http://blogs.cowblock.net/
-
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Any Problems:Wicket on Tomcat 6

2007-05-11 Thread Ayodeji Aladejebi

about the version we are deploying on, I mean wicket1.2.6 not 1.2.7



On 5/11/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED]
wrote:


Hi you wouldnt be deploying in development mode? We've had this come up
a lot of times before, and I think the problem are described
somewhere... You need to deploy in production mode

you can do that by:

!--
  There are three means to configure Wickets configuration mode and
they are
  tested in the order given.
  1) A system property: -Dwicket.configuration
  2) servlet specific init-param
  3) context specific context-param
  The value might be either development (reloading when templates
change)
  or deployment. If no configuration is found, deployment is the
default.
--
context-param
  param-nameconfiguration/param-name
  param-valuedevelopment/param-value
/context-param


regards Nino

Ayodeji Aladejebi wrote:
 Hi Wicket Family,

 Please I just want to ask if anybody is presently deploying a wicket
 based project on Tomcat 6 and Java 6 platform.

 From Wicket founders point of view, which app server is the best for
 wicket apps Tomcat, Resin, Jetty, Glassfish

 There is this too many open files problem that makes our test server
 to crash after a long period with tomcat 5 and wicket 1.2.4

 Are there any presently know issues with this setup because I am about
 to bet my existence on Wicket1.2.7/Tomcat6/Java6 :)
 and i just needed to be sure. Our company also hopes to subsribe to
 wicket support once we deploy based on wicket


 Thanks



 --
 Aladejebi Ayodeji A.,
 DabarObjects Solutions
 Phone: +234 9 481 7 156
 Mobile: +234 803 589 1780
 Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 Web: www.dabarobjects.com http://www.dabarobjects.com
 Blog: blog.dabarobjects.com http://blog.dabarobjects.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
 Wicket-user@lists.sourceforge.net
 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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user





--
Aladejebi Ayodeji A.,
DabarObjects Solutions
Phone: +234 9 481 7 156
Mobile: +234 803 589 1780
Email: [EMAIL PROTECTED]
Web: www.dabarobjects.com
Blog: blog.dabarobjects.com

Participate, Collaborate, Innovate
Join Community:
http://www.cowblock.net/

Get A Free Blog:
http://blogs.cowblock.net/
-
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Id is -relative_path_prefix1 after upgrade to 1.3 snapshot

2007-05-11 Thread John RDF

I am currently getting markup exceptions that were OK in 1.2.6. The login
panel component does exist as a div in the html and worked fine before. What
worries me is that the component thinks its id is -relative_path_prefix1
not login. Where did this come from?

Unable to find component with id 'login' in [MarkupContainer [Component id =
-relative_path_prefix1, page =
com.rdf.datacol.tenantchecker.presentation.brochureware.Home, path =
1:_body:-relative_path_prefix1.WebMarkupContainer, isVisible = true,
isVersioned = true]]. This means that you declared wicket:id=login in your
markup, but that you either did not add the component to your page at all,
or that the hierarchy does not match.

Any pointers?

-- 
View this message in context: 
http://www.nabble.com/Id-is-%22-relative_path_prefix1%22-after-upgrade-to-1.3-snapshot-tf3727626.html#a10432612
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Any Problems:Wicket on Tomcat 6

2007-05-11 Thread Eelco Hillenius
There's also a Tomcat specific thing you can configure for this. You
should be able to find this if you search the list archives.

Eelco


On 5/11/07, Ayodeji Aladejebi [EMAIL PROTECTED] wrote:
 wait wait, i did not say that I am deploying in development modeoff
 course i know about production mode however we were on production mode when
 our hosting company reports that we have our server crashing due to many
 open files

 however, we are presently upgrading and fixing bugs and we are about to give
 another shot. we just want to know which app server has the least friction
 with wicket running in production mode:)

  On 5/11/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED]
 wrote:
  Hi you wouldnt be deploying in development mode? We've had this come up
  a lot of times before, and I think the problem are described
  somewhere... You need to deploy in production mode
 
  you can do that by:
 
  !--
There are three means to configure Wickets configuration mode and
  they are
tested in the order given.
1) A system property: -Dwicket.configuration
2) servlet specific init-param
3) context specific context-param
The value might be either development (reloading when templates
  change)
or deployment. If no configuration is found, deployment is the
  default.
  --
  context-param
param-nameconfiguration/param-name
param-valuedevelopment/param-value
  /context-param
 
 
  regards Nino
 
  Ayodeji Aladejebi wrote:
   Hi Wicket Family,
  
   Please I just want to ask if anybody is presently deploying a wicket
   based project on Tomcat 6 and Java 6 platform.
  
   From Wicket founders point of view, which app server is the best for
   wicket apps Tomcat, Resin, Jetty, Glassfish
  
   There is this too many open files problem that makes our test server
   to crash after a long period with tomcat 5 and wicket 1.2.4
  
   Are there any presently know issues with this setup because I am about
   to bet my existence on Wicket1.2.7/Tomcat6/Java6 :)
   and i just needed to be sure. Our company also hopes to subsribe to
   wicket support once we deploy based on wicket
  
  
   Thanks
  
  
  
   --
   Aladejebi Ayodeji A.,
   DabarObjects Solutions
   Phone: +234 9 481 7 156
   Mobile: +234 803 589 1780
   Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
   Web: www.dabarobjects.com http://www.dabarobjects.com 
   Blog: blog.dabarobjects.com http://blog.dabarobjects.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
   Wicket-user@lists.sourceforge.net
  
 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
  Wicket-user@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wicket-user
 



 --
 Aladejebi Ayodeji A.,
 DabarObjects Solutions
 Phone: +234 9 481 7 156
 Mobile: +234 803 589 1780
 Email: [EMAIL PROTECTED]
 Web: www.dabarobjects.com
 Blog: blog.dabarobjects.com

 Participate, Collaborate, Innovate
 Join Community:
  http://www.cowblock.net/

 Get A Free Blog:
 http://blogs.cowblock.net/
 -
 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
 Wicket-user@lists.sourceforge.net
 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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] wicket stuff GMap: New Exciting Features:)

2007-05-11 Thread Eelco Hillenius
  PS this is the right place to write about new features correct?

Technically, the dev list would be better. But this is fine. Thanks
for your contributions and keeping us up-to-date!

it would also be great if you could write up a page at
http://wicketstuff.org/confluence/display/STUFFWIKI/Wiki when you're
getting close to something releaseworthy.

Cheers,

Eelco

-
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Id is -relative_path_prefix1 after upgrade to 1.3 snapshot

2007-05-11 Thread Igor Vaynberg

i think this is due to our latest url refactor. please create a jira issue
and attach markup/html or a quickstart that reproduces the problem.

-igor


On 5/11/07, John RDF [EMAIL PROTECTED] wrote:



I am currently getting markup exceptions that were OK in 1.2.6. The login
panel component does exist as a div in the html and worked fine before.
What
worries me is that the component thinks its id is -relative_path_prefix1
not login. Where did this come from?

Unable to find component with id 'login' in [MarkupContainer [Component id
=
-relative_path_prefix1, page =
com.rdf.datacol.tenantchecker.presentation.brochureware.Home, path =
1:_body:-relative_path_prefix1.WebMarkupContainer, isVisible = true,
isVersioned = true]]. This means that you declared wicket:id=login in your
markup, but that you either did not add the component to your page at all,
or that the hierarchy does not match.

Any pointers?

--
View this message in context:
http://www.nabble.com/Id-is-%22-relative_path_prefix1%22-after-upgrade-to-1.3-snapshot-tf3727626.html#a10432612
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
Wicket-user@lists.sourceforge.net
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Any Problems:Wicket on Tomcat 6

2007-05-11 Thread Johan Compagner
to many open files should be fixed in the latest release op 1.2 (and
1.3)
also look at anti resource an jar locking for tomcat

On 5/11/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
 There's also a Tomcat specific thing you can configure for this. You
 should be able to find this if you search the list archives.

 Eelco


 On 5/11/07, Ayodeji Aladejebi [EMAIL PROTECTED] wrote:
  wait wait, i did not say that I am deploying in development modeoff
  course i know about production mode however we were on production mode
 when
  our hosting company reports that we have our server crashing due to many
  open files
 
  however, we are presently upgrading and fixing bugs and we are about to
 give
  another shot. we just want to know which app server has the least friction
  with wicket running in production mode:)
 
   On 5/11/07, Nino Saturnino Martinez Vazquez Wael
 [EMAIL PROTECTED]
  wrote:
   Hi you wouldnt be deploying in development mode? We've had this come up
   a lot of times before, and I think the problem are described
   somewhere... You need to deploy in production mode
  
   you can do that by:
  
   !--
 There are three means to configure Wickets configuration mode and
   they are
 tested in the order given.
 1) A system property: -Dwicket.configuration
 2) servlet specific init-param
 3) context specific context-param
 The value might be either development (reloading when templates
   change)
 or deployment. If no configuration is found, deployment is the
   default.
   --
   context-param
 param-nameconfiguration/param-name
 param-valuedevelopment/param-value
   /context-param
  
  
   regards Nino
  
   Ayodeji Aladejebi wrote:
Hi Wicket Family,
   
Please I just want to ask if anybody is presently deploying a wicket
based project on Tomcat 6 and Java 6 platform.
   
From Wicket founders point of view, which app server is the best for
wicket apps Tomcat, Resin, Jetty, Glassfish
   
There is this too many open files problem that makes our test server
to crash after a long period with tomcat 5 and wicket 1.2.4
   
Are there any presently know issues with this setup because I am about
to bet my existence on Wicket1.2.7/Tomcat6/Java6 :)
and i just needed to be sure. Our company also hopes to subsribe to
wicket support once we deploy based on wicket
   
   
Thanks
   
   
   
--
Aladejebi Ayodeji A.,
DabarObjects Solutions
Phone: +234 9 481 7 156
Mobile: +234 803 589 1780
Email: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
Web: www.dabarobjects.com http://www.dabarobjects.com 
Blog: blog.dabarobjects.com http://blog.dabarobjects.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
Wicket-user@lists.sourceforge.net
   
  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
   Wicket-user@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wicket-user
  
 
 
 
  --
  Aladejebi Ayodeji A.,
  DabarObjects Solutions
  Phone: +234 9 481 7 156
  Mobile: +234 803 589 1780
  Email: [EMAIL PROTECTED]
  Web: www.dabarobjects.com
  Blog: blog.dabarobjects.com
 
  Participate, Collaborate, Innovate
  Join Community:
   http://www.cowblock.net/
 
  Get A Free Blog:
  http://blogs.cowblock.net/
  -
  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
  Wicket-user@lists.sourceforge.net
  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/
 

Re: [Wicket-user] have problems with AjaxSelfUpdatingTimerBehavior and AjaxTabbedPanel

2007-05-11 Thread Johan Compagner
please make a jira issue with the fix you now have

On 5/10/07, Murat Yücel [EMAIL PROTECTED] wrote:
 Hi James

 Thanks for the fix. It works like a charm :)... Is this something that
 wicket will solve
 in a future release?

 /Murat

 2007/5/10, James McLaughlin [EMAIL PROTECTED]:
 
  erm, sorry that was:
 
  http://www.nabble.com/Re%3A-AjaxTimer-clearTimeout-p9401965.html
 
  On 5/10/07, James McLaughlin [EMAIL PROTECTED] wrote:
  
   Hi Murat,
   I posted a hack to fix this several months back:
  
   http://www.nabble.com/AjaxTimer-clearTimeout-tf3364438.html#a9360559
  
   Essentially, I have the timer check if the markup for the component it
   was bound to is still in the page, and return without firing if it is
 not.
   Hope this helps.
  
   best,
   jim
  
On 5/10/07, Murat Yücel [EMAIL PROTECTED] wrote:
  
Hi All
   
I had some problem with ajax when using wicket 1.2.6. I read the
thread with the following subject:
Problem with concurren ajax requests on page
   
Matej suggested that a upgrade to wicket 1.3 would solve the ajax
problem. So i upgraded the application
to wicket-1.3.0-incubating-SNAPSHOT.
   
Now I have problems with AjaxSelfUpdatingTimerBehavior when using it
together with AjaxTabbedPanel.
   
Panel 1 includes a subpanel which has an
AjaxSelfUpdatingTimerBehavior.
Panel 2 has another subpanel and it doesnt include the subpanel from
panel 1.
   
When swithing page from panel 1 to panel 2 then after 5 seconds
which is the duration of the first subpanel
then i get the following error:
   
org.apache.wicket.WicketRuntimeException: component
contentpanel:menu:panel:showthreads not found on page
dk.team.ninan.web.wicket.BasePage[id = 1], listener interface =
[RequestListenerInterface name=IBehaviorListener, method=public
 abstract
void org.apache.wicket.behavior.IBehaviorListener.onRequest()]
at
   
 org.apache.wicket.request.AbstractRequestCycleProcessor.resolveListenerInterfaceTarget
(AbstractRequestCycleProcessor.java:394)
at
   
 org.apache.wicket.request.AbstractRequestCycleProcessor.resolveRenderedPage(
AbstractRequestCycleProcessor.java:440)
at
org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(
WebRequestCycleProcessor.java:137)
   
The error message is correct because the panel showthreads is no
longer a part of BasePage, but why doesnt the behaviour disappear
when replacing panels? What am i doing wrong? :)
   
/Murat
   
   
   
 -
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
Wicket-user@lists.sourceforge.net
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
  Wicket-user@lists.sourceforge.net
  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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] WicketFilter doesn't work in Weblogic [Wicket 1.3]

2007-05-11 Thread dukejansen

Hmm, interesting. The code I'm looking at, from the beta1 snapshot, looks
more like this:

String path = request.getServletPath();
if (servletMode)
{
path = request.getPathInfo();
// No path info = root.
if (path == null)
{
path = ;
}
}

(...etc...)

As you can see, it's using getServletPath before it does the servletMode
check

Is there a more recent snapshot that I should be using?


Johan Compagner wrote:
 
 we only use servletpath when we are in servlet mode:
 
 public String getRelativePath(HttpServletRequest request)
 {
 String path = Strings.stripJSessionId(request.getRequestURI());
 String contextPath = request.getContextPath();
 path = path.substring(contextPath.length());
 if (servletMode)
 {
 String servletPath = request.getServletPath();
 path = path.substring(servletPath.length());
 }
 filterPath = getFilterPath(request);
 
 so i dont know exactly where you are looking at ?
 
 johan
 
 
 On 5/11/07, dukejansen [EMAIL PROTECTED] wrote:


 I believe I have identified a rather serious bug in WicketFilter.

 I'm using a recent 1.3 snapshot, and I have recently updated our
 application
 to leverage the WicketFilter instead of WicketServlet. This is working
 great
 in Tomcat, but when we deploy to our Weblogic server, Wicket dies an ugly
 death.

 After a lot of debugging in both Weblogic and Tomcat, I was able to track
 down the source of the problem.

 The problematic method is WicketFilter.getRelativePath.

 The method uses request.getServletPath to return the relative path. This
 works in Tomcat, because Tomcat is nice enough to return the the relative
 request URL when you call request.getServletPath, even if it is not
 technically mapped as a servlet in web.xml.

 But Weblogic is more strict, and so because the URL is not technically a
 real servlet, it just returns .

 This causes the Wicket code to think the URL is for the root path, and so
 it
 tries to append the relative path to the registered home page. Since the
 method always returns , Wicket does this forever, continuing to append
 the
 home page path, redirect, then get confused, again and again.

 Wanted to post a message to warn others and to find out if anyone was
 already aware of this.

 I was able to code up a workaround, since the method was public, copying
 most of the original logic into my overridden method. But it got a bit
 hacky
 since I didn't have access to private members of WicketFilter.

 Essentially, I replaced the malfunctioning first line:

 String path = request.getServletPath();

 With something that seems to work better:

 String contextPath =
 StringUtils.nullToEmpty(request.getContextPath());
 String path = request.getRequestURI();
 if (path.startsWith(contextPath)) {
 path = path.substring(contextPath.length());
 }

 -Jason
 --
 View this message in context:
 http://www.nabble.com/WicketFilter-doesn%27t-work-in-Weblogic--Wicket-1.3--tf3724994.html#a10424457
 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
 Wicket-user@lists.sourceforge.net
 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
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user
 
 

-- 
View this message in context: 
http://www.nabble.com/WicketFilter-doesn%27t-work-in-Weblogic--Wicket-1.3--tf3724994.html#a10435721
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] How to close a modal window backed by a page?

2007-05-11 Thread jamieballing

We have a modal window which is backed by a Page (rather than a Panel). We
are using a Page because we have a file upload control which doesn't work
with Ajax.

The modal window has a form on it with a submit link. How do I get the modal
window to close after the form is submitted (i.e. during the submit
processing)? There is no AjaxRequestTarget for the form onSubmit().

Thanks,
Jamie


-- 
View this message in context: 
http://www.nabble.com/How-to-close-a-modal-window-backed-by-a-page--tf3728622.html#a10436196
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Wickettester and Validators

2007-05-11 Thread behlma

Hi guys,
I'm just fiddling around with the FormTester.

Say I have a RequiredValidator and StringLengthValidator on my textfields in
a form, with custom error messages specified in the page's .properties file. 

How can I let wickettester retrieve those custom message, instead of
hardcoding them into:

tester.assertErrorMessages(new String[] {my custom error message for
LengthVal, my custom error message for StringVal} 
?
-- 
View this message in context: 
http://www.nabble.com/Wickettester-and-Validators-tf3728789.html#a10436719
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] have problems with AjaxSelfUpdatingTimerBehavior and AjaxTabbedPanel

2007-05-11 Thread Matej Knopp
Yeah, looks like a good idea :)

On 5/11/07, Johan Compagner [EMAIL PROTECTED] wrote:
 please make a jira issue with the fix you now have

 On 5/10/07, Murat Yücel [EMAIL PROTECTED] wrote:
  Hi James
 
  Thanks for the fix. It works like a charm :)... Is this something that
  wicket will solve
  in a future release?
 
  /Murat
 
  2007/5/10, James McLaughlin [EMAIL PROTECTED]:
  
   erm, sorry that was:
  
   http://www.nabble.com/Re%3A-AjaxTimer-clearTimeout-p9401965.html
  
   On 5/10/07, James McLaughlin [EMAIL PROTECTED] wrote:
   
Hi Murat,
I posted a hack to fix this several months back:
   
http://www.nabble.com/AjaxTimer-clearTimeout-tf3364438.html#a9360559
   
Essentially, I have the timer check if the markup for the component it
was bound to is still in the page, and return without firing if it is
  not.
Hope this helps.
   
best,
jim
   
 On 5/10/07, Murat Yücel [EMAIL PROTECTED] wrote:
   
 Hi All

 I had some problem with ajax when using wicket 1.2.6. I read the
 thread with the following subject:
 Problem with concurren ajax requests on page

 Matej suggested that a upgrade to wicket 1.3 would solve the ajax
 problem. So i upgraded the application
 to wicket-1.3.0-incubating-SNAPSHOT.

 Now I have problems with AjaxSelfUpdatingTimerBehavior when using it
 together with AjaxTabbedPanel.

 Panel 1 includes a subpanel which has an
 AjaxSelfUpdatingTimerBehavior.
 Panel 2 has another subpanel and it doesnt include the subpanel from
 panel 1.

 When swithing page from panel 1 to panel 2 then after 5 seconds
 which is the duration of the first subpanel
 then i get the following error:

 org.apache.wicket.WicketRuntimeException: component
 contentpanel:menu:panel:showthreads not found on page
 dk.team.ninan.web.wicket.BasePage[id = 1], listener interface =
 [RequestListenerInterface name=IBehaviorListener, method=public
  abstract
 void org.apache.wicket.behavior.IBehaviorListener.onRequest()]
 at

  org.apache.wicket.request.AbstractRequestCycleProcessor.resolveListenerInterfaceTarget
 (AbstractRequestCycleProcessor.java:394)
 at

  org.apache.wicket.request.AbstractRequestCycleProcessor.resolveRenderedPage(
 AbstractRequestCycleProcessor.java:440)
 at
 org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(
 WebRequestCycleProcessor.java:137)

 The error message is correct because the panel showthreads is no
 longer a part of BasePage, but why doesnt the behaviour disappear
 when replacing panels? What am i doing wrong? :)

 /Murat



  -
 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
 Wicket-user@lists.sourceforge.net
 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
   Wicket-user@lists.sourceforge.net
   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
 Wicket-user@lists.sourceforge.net
 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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] RedirectPage and expiration

2007-05-11 Thread Carlos Pita

Hi again Eelco,

I have coded a little example: a simple page with just one external
and one internal link. I can not reproduce the problem in this reduced
scenario. But if both links are rows of a ListView (even if it's
outside a TabbedPanel), after following the external one once, the
internal one gets expired. I have attached an eclipse project with a
page for each situation: simple, list and list-inside-tab. There is a
jetty launcher inside so that you can fire it up. You can then browse
the three cases at the urls:

http://localhost:8080/redirect/app/simple
http://localhost:8080/redirect/app/list
http://localhost:8080/redirect/app/tab

respectively.

Hope it helps.

Cheers,
Carlos

On 5/11/07, Carlos Pita [EMAIL PROTECTED] wrote:

Hi Eelco,

up to date 1.3 snapshots from the maven repo.

The links are inside ListViews that are themselves inside a
TabbedPanel, although I don't think this is related.

I could try to isolate the problem into a minimal page and post it.

Cheers,
Carlos

On 5/10/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
 What version of Wicket are you using?

 Eelco

 On 5/9/07, Carlos Pita [EMAIL PROTECTED] wrote:
  Hi all,
 
  I have a page with a number of Links, some of them internal (to the wicket
  application), some of them external (to RedirectPages). If I follow one of
  the externals (opening it into a different tab/window) something like a
  cache clean up seems to happen, because after that any of the internal links
  give a page expiration error.
 
  Is this normal? Note that I can't use an ExternalLink because I need to
  track the click count server-side.
 
  Any help would be appreciated.
 
  TIA.
  Cheers,
  Carlos
 
  -
  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
  Wicket-user@lists.sourceforge.net
  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
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user




redirect.tgz
Description: GNU Zip compressed data
-
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] RedirectPage and expiration

2007-05-11 Thread Carlos Pita
PS: if you think it's worthly of doing, I could open a jira issue for this.

On 5/11/07, Carlos Pita [EMAIL PROTECTED] wrote:
 Hi again Eelco,

 I have coded a little example: a simple page with just one external
 and one internal link. I can not reproduce the problem in this reduced
 scenario. But if both links are rows of a ListView (even if it's
 outside a TabbedPanel), after following the external one once, the
 internal one gets expired. I have attached an eclipse project with a
 page for each situation: simple, list and list-inside-tab. There is a
 jetty launcher inside so that you can fire it up. You can then browse
 the three cases at the urls:

 http://localhost:8080/redirect/app/simple
 http://localhost:8080/redirect/app/list
 http://localhost:8080/redirect/app/tab

 respectively.

 Hope it helps.

 Cheers,
 Carlos

 On 5/11/07, Carlos Pita [EMAIL PROTECTED] wrote:
  Hi Eelco,
 
  up to date 1.3 snapshots from the maven repo.
 
  The links are inside ListViews that are themselves inside a
  TabbedPanel, although I don't think this is related.
 
  I could try to isolate the problem into a minimal page and post it.
 
  Cheers,
  Carlos
 
  On 5/10/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
   What version of Wicket are you using?
  
   Eelco
  
   On 5/9/07, Carlos Pita [EMAIL PROTECTED] wrote:
Hi all,
   
I have a page with a number of Links, some of them internal (to the 
wicket
application), some of them external (to RedirectPages). If I follow one 
of
the externals (opening it into a different tab/window) something like a
cache clean up seems to happen, because after that any of the internal 
links
give a page expiration error.
   
Is this normal? Note that I can't use an ExternalLink because I need to
track the click count server-side.
   
Any help would be appreciated.
   
TIA.
Cheers,
Carlos
   
-
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
Wicket-user@lists.sourceforge.net
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
   Wicket-user@lists.sourceforge.net
   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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] Fwd: inspecting property models

2007-05-11 Thread Ryan Sonnek
forwarding to wicket-user

-- Forwarded message --
From: Ryan Sonnek [EMAIL PROTECTED]
Date: May 10, 2007 10:33 PM
Subject: inspecting property models
To: [EMAIL PROTECTED]


This discussion came out of the recent hibernate wicket-stuff
activity.  For my behaviors/validators/listeners to work, I need to
have visibility into the PropertyModel's internal configuration.  In
particular, I need access to the:
* propertyExpression configured for a particular form component
*  targetClass that this model is using

I've worked around this for now by creating a subclass
(HibernateAnnotationPropertyModel), but it's pretty restrictive and
unfortunate that users are forced to use this non-standard property
model.

Any opinions on a better way to go about this, or change the
wicket-core to support this use case?

http://wicket-stuff.svn.sourceforge.net/viewvc/wicket-stuff/trunk/wicketstuff-hibernate-behavior/

-
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] have problems with AjaxSelfUpdatingTimerBehavior and AjaxTabbedPanel

2007-05-11 Thread James McLaughlin

done!
https://issues.apache.org/jira/browse/WICKET-556

with a brief discussion of other possibilities.

best,
jim

On 5/11/07, Matej Knopp [EMAIL PROTECTED] wrote:


Yeah, looks like a good idea :)

On 5/11/07, Johan Compagner [EMAIL PROTECTED] wrote:
 please make a jira issue with the fix you now have

 On 5/10/07, Murat Yücel [EMAIL PROTECTED] wrote:
  Hi James
 
  Thanks for the fix. It works like a charm :)... Is this something that
  wicket will solve
  in a future release?
 
  /Murat
 
  2007/5/10, James McLaughlin [EMAIL PROTECTED]:
  
   erm, sorry that was:
  
   http://www.nabble.com/Re%3A-AjaxTimer-clearTimeout-p9401965.html
  
   On 5/10/07, James McLaughlin [EMAIL PROTECTED] wrote:
   
Hi Murat,
I posted a hack to fix this several months back:
   
   
http://www.nabble.com/AjaxTimer-clearTimeout-tf3364438.html#a9360559
   
Essentially, I have the timer check if the markup for the
component it
was bound to is still in the page, and return without firing if it
is
  not.
Hope this helps.
   
best,
jim
   
 On 5/10/07, Murat Yücel [EMAIL PROTECTED] wrote:
   
 Hi All

 I had some problem with ajax when using wicket 1.2.6. I read the
 thread with the following subject:
 Problem with concurren ajax requests on page

 Matej suggested that a upgrade to wicket 1.3 would solve the
ajax
 problem. So i upgraded the application
 to wicket-1.3.0-incubating-SNAPSHOT.

 Now I have problems with AjaxSelfUpdatingTimerBehavior when
using it
 together with AjaxTabbedPanel.

 Panel 1 includes a subpanel which has an
 AjaxSelfUpdatingTimerBehavior.
 Panel 2 has another subpanel and it doesnt include the subpanel
from
 panel 1.

 When swithing page from panel 1 to panel 2 then after 5
seconds
 which is the duration of the first subpanel
 then i get the following error:

 org.apache.wicket.WicketRuntimeException: component
 contentpanel:menu:panel:showthreads not found on page
 dk.team.ninan.web.wicket.BasePage[id = 1], listener interface =
 [RequestListenerInterface name=IBehaviorListener, method=public
  abstract
 void org.apache.wicket.behavior.IBehaviorListener.onRequest()]
 at

 
org.apache.wicket.request.AbstractRequestCycleProcessor.resolveListenerInterfaceTarget
 (AbstractRequestCycleProcessor.java:394)
 at

 
org.apache.wicket.request.AbstractRequestCycleProcessor.resolveRenderedPage
(
 AbstractRequestCycleProcessor.java:440)
 at
 org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve
(
 WebRequestCycleProcessor.java:137)

 The error message is correct because the panel showthreads is no
 longer a part of BasePage, but why doesnt the behaviour
disappear
 when replacing panels? What am i doing wrong? :)

 /Murat



 
-
 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
 Wicket-user@lists.sourceforge.net
 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
   Wicket-user@lists.sourceforge.net
   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
 Wicket-user@lists.sourceforge.net
 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
Wicket-user@lists.sourceforge.net
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

Re: [Wicket-user] url mounting and PageParameters

2007-05-11 Thread smallufo

Hi

There is already a jira issue here  (1.2.x) :
http://issues.apache.org/jira/browse/WICKET-400


2007/5/9, Igor Vaynberg [EMAIL PROTECTED]:


still, the query string params should be merged. please file a jira issue
if you are using 1.3

-igor


On 5/9/07, Lowell Kirsh  [EMAIL PROTECTED] wrote:

 I have figured this one out. Is seems that when my urls are mounted,
 the parameters are passed in as /param/value/ rather than as
 param=value. This is actually kind of nice :-)

 On 5/8/07, Lowell Kirsh [EMAIL PROTECTED]  wrote:
  I have just started mounting my pages (for nice urls) and it seems
  that the PageParameters is always empty now. Before I had mounted the
  pages, I could manually append foo=bar to my url and it would get
  into the PageParams, but not that they are mounted, I have been trying
  to append ?foo=bar but it seems to vanish into the ether. What am I
  missing?
 
  Thanks,
  Lowell
 


 -
 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
 Wicket-user@lists.sourceforge.net
 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
Wicket-user@lists.sourceforge.net
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


[Wicket-user] PopupSettings with no window name set generates invalid xhtml on Link

2007-05-11 Thread James Renfro
Hi,
I've just switched my code over from 1.2 to 1.3 beta, and I'm running 
into a problem where Wicket seems to be generating invalid xhtml -- 
specifically, it produces an href tag with a blank target attribute, as 
here:

a href=?wicket:interface=:6:rows:1:launch::ILinkListener: target 
wicket:id=launch onclick=var w = window.open(href, '', 
'scrollbars=yes,location=no,menuBar=no,resizable=yes,status=no,toolbar=no'); 
if(w.blur) w.focus(); return false;Launch/a


Notice right after the href=, there's a naked 'target' attribute. I'm 
guessing this is because the Link popupPageMap.getName() method is 
returning a null. Looks like the code checks to make sure that 
popupPageMap is NOT null, but it doesn't check getName(). 

In the Wicket code I can see the following:

snip class=org.apache.wicket.markup.html.link.Link lines=460:467
if (popupSettings != null)
{
IPageMap popupPageMap = popupSettings.getPageMap(this);
if (popupPageMap != null)
{
tag.put(target, popupPageMap.getName());
}
}
/snip


Here's my code:

snip
item.add(new Link(launch) {
 public void onClick() {
 setResponsePage(new LaunchFrameset());
 }
 }.setPopupSettings(new 
PopupSettings(PopupSettings.RESIZABLE | PopupSettings.SCROLLBARS)));
/snip

If I add .setWindowName to my new PopupSettings object, everything seems 
to work. But I'm guessing it should work even if I forget to specify a 
window name.

Thanks,
James.


-- 
James Renfro
Programmer
IET Mediaworks, UC Davis
[EMAIL PROTECTED]
W: 530-754-5097


-
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] RedirectPage and expiration

2007-05-11 Thread Eelco Hillenius
On 5/11/07, Carlos Pita [EMAIL PROTECTED] wrote:
 PS: if you think it's worthly of doing, I could open a jira issue for this.

Sure. I'm about to go on vaction for two weeks, so you can add an
issue to make sure *someone* looks at it and it doesn't get lost in
the tons of mail on this list. The more you can track down what
happens, the faster you can be helped of course.

Eelco

-
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] RedirectPage and expiration

2007-05-11 Thread Carlos Pita
The examples are pretty minimal, I think that they're fine for a jira
issue, don't you?
I'm going to post the project as is for now. Then, if there is a need,
I could refine it to a minimal, atomic, undivisible entity :).

Cheers,
Carlos

On 5/11/07, Eelco Hillenius [EMAIL PROTECTED] wrote:
 On 5/11/07, Carlos Pita [EMAIL PROTECTED] wrote:
  PS: if you think it's worthly of doing, I could open a jira issue for this.

 Sure. I'm about to go on vaction for two weeks, so you can add an
 issue to make sure *someone* looks at it and it doesn't get lost in
 the tons of mail on this list. The more you can track down what
 happens, the faster you can be helped of course.

 Eelco

 -
 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
 Wicket-user@lists.sourceforge.net
 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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] RedirectPage and expiration

2007-05-11 Thread Eelco Hillenius
On 5/12/07, Carlos Pita [EMAIL PROTECTED] wrote:
 The examples are pretty minimal, I think that they're fine for a jira
 issue, don't you?

Sure.

Eelco

-
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] inspecting model from IComponentInstantiationListener

2007-05-11 Thread Eelco Hillenius
On 5/11/07, Ryan Sonnek [EMAIL PROTECTED] wrote:
 What exactly should a component instantiation listener be able to do?
 I'm trying to build one that will inspect the model of every
 component, but the model is not yet bound.  is there a way to register
 a listener that is notified once the model is bound?

There is none currenlty. Though I can imagine one. If you can argue a
good use case, you could propose this on the dev list.

Eelco

-
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Fwd: inspecting property models

2007-05-11 Thread Eelco Hillenius
On 5/11/07, Ryan Sonnek [EMAIL PROTECTED] wrote:
 forwarding to wicket-user

This was/ is a developer discussion, which is fine on the dev list.
Let's keep the thread there.

Eelco

-
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] Page Expiration when first clicking AJAX

2007-05-11 Thread Andrew Berman

Could there be an issue with the PageMap?

On 5/11/07, Andrew Berman [EMAIL PROTECTED] wrote:


I am having a strange issue.  If I access my site for the first time (I
clear all cookies, sessions, and cache before going to the site), the page
comes up fine.  However, if I click one of the AJAX links, I get a page
expired error.  Any thoughts why this is happening?  I see it create a new
session and the cookie, but it looks like the Ajax link is not valid for
some reason.  I am using Wicket 1.2.6.  Any thoughts?

Thanks for any help,

Andrew

-
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] WicketFilter doesn't work in Weblogic [Wicket 1.3]

2007-05-11 Thread Johan Compagner

http://www.wicketstuff.org/maven/repository/org/apache/wicket/wicket/1.3.0-incubating-SNAPSHOT/

On 5/11/07, dukejansen [EMAIL PROTECTED] wrote:



Hmm, interesting. The code I'm looking at, from the beta1 snapshot, looks
more like this:

String path = request.getServletPath();
if (servletMode)
{
path = request.getPathInfo();
// No path info = root.
if (path == null)
{
path = ;
}
}

(...etc...)

As you can see, it's using getServletPath before it does the servletMode
check

Is there a more recent snapshot that I should be using?


Johan Compagner wrote:

 we only use servletpath when we are in servlet mode:

 public String getRelativePath(HttpServletRequest request)
 {
 String path = Strings.stripJSessionId(request.getRequestURI());
 String contextPath = request.getContextPath();
 path = path.substring(contextPath.length());
 if (servletMode)
 {
 String servletPath = request.getServletPath();
 path = path.substring(servletPath.length());
 }
 filterPath = getFilterPath(request);

 so i dont know exactly where you are looking at ?

 johan


 On 5/11/07, dukejansen [EMAIL PROTECTED] wrote:


 I believe I have identified a rather serious bug in WicketFilter.

 I'm using a recent 1.3 snapshot, and I have recently updated our
 application
 to leverage the WicketFilter instead of WicketServlet. This is working
 great
 in Tomcat, but when we deploy to our Weblogic server, Wicket dies an
ugly
 death.

 After a lot of debugging in both Weblogic and Tomcat, I was able to
track
 down the source of the problem.

 The problematic method is WicketFilter.getRelativePath.

 The method uses request.getServletPath to return the relative path.
This
 works in Tomcat, because Tomcat is nice enough to return the the
relative
 request URL when you call request.getServletPath, even if it is not
 technically mapped as a servlet in web.xml.

 But Weblogic is more strict, and so because the URL is not technically
a
 real servlet, it just returns .

 This causes the Wicket code to think the URL is for the root path, and
so
 it
 tries to append the relative path to the registered home page. Since
the
 method always returns , Wicket does this forever, continuing to
append
 the
 home page path, redirect, then get confused, again and again.

 Wanted to post a message to warn others and to find out if anyone was
 already aware of this.

 I was able to code up a workaround, since the method was public,
copying
 most of the original logic into my overridden method. But it got a bit
 hacky
 since I didn't have access to private members of WicketFilter.

 Essentially, I replaced the malfunctioning first line:

 String path = request.getServletPath();

 With something that seems to work better:

 String contextPath =
 StringUtils.nullToEmpty(request.getContextPath());
 String path = request.getRequestURI();
 if (path.startsWith(contextPath)) {
 path = path.substring(contextPath.length());
 }

 -Jason
 --
 View this message in context:

http://www.nabble.com/WicketFilter-doesn%27t-work-in-Weblogic--Wicket-1.3--tf3724994.html#a10424457
 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
 Wicket-user@lists.sourceforge.net
 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
 Wicket-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wicket-user



--
View this message in context:
http://www.nabble.com/WicketFilter-doesn%27t-work-in-Weblogic--Wicket-1.3--tf3724994.html#a10435721
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

Re: [Wicket-user] Page Expiration when first clicking AJAX

2007-05-11 Thread Andrew Berman

Igor, Eelco, anyone?  This issue is pretty major as I'm losing all the
session info when they first come into the app

On 5/11/07, Andrew Berman [EMAIL PROTECTED] wrote:


Could there be an issue with the PageMap?

On 5/11/07, Andrew Berman [EMAIL PROTECTED] wrote:

 I am having a strange issue.  If I access my site for the first time (I
 clear all cookies, sessions, and cache before going to the site), the page
 comes up fine.  However, if I click one of the AJAX links, I get a page
 expired error.  Any thoughts why this is happening?  I see it create a new
 session and the cookie, but it looks like the Ajax link is not valid for
 some reason.  I am using Wicket 1.2.6.  Any thoughts?

 Thanks for any help,

 Andrew



-
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user


Re: [Wicket-user] How to display applet in wicket?

2007-05-11 Thread edward durai

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#a10442998
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
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user