Re: Wicket 1.5 and glassfish 3.1.1 clustering (session replication)

2011-08-03 Thread Vytautas R.
Yes, i know, it looks like glassfish is not very stable - same application
different tests - different results :(
I should clean up the cache from my head :D

On Tue, Aug 2, 2011 at 9:55 PM, Zilvinas Vilutis cika...@gmail.com wrote:

 I thought session is managed by container ( Glassfish in this case )
 and wicket version should not matter at all.

 Unless wicket is checking host / path / port or whatever when checking
 to create a session or not?

 Regards

 Žilvinas Vilutis

 Mobile:   (+1) 623 330 6048
 E-mail:   cika...@gmail.com



 On Tue, Aug 2, 2011 at 8:05 PM, Vytautas turi...@gmail.com wrote:
  Same application, Apache Tomcat 7.x with Cluster / enabled, Apache
  mod_proxy, mod_proxy_balancer - everything looks perfect :)
 
  Added
 
 getRequestCycleSettings().setRenderStrategy(RenderStrategy.ONE_PASS_RENDER);
  still no success on Glassfish.
 
 
  --
  Regards,
  Vytautas
  ---
  www.xaloon.org
  www.allcarindex.com
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-- 
Best regards,
Vytautas R.
---
www.xaloon.org
www.allcarindex.com


Re: Disabling Entire Page, and Redirecting to Page in N Seconds

2011-08-03 Thread vineet semwal
then just create your own overlay in css ..

On Wed, Aug 3, 2011 at 6:52 AM, eugenebalt eugeneb...@yahoo.com wrote:
 Thanks. Good suggestion. Will give it a try, but never worked with jQuery
 before.

 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/Disabling-Entire-Page-and-Redirecting-to-Page-in-N-Seconds-tp3712976p3714169.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
thank you,

regards,
Vineet Semwal

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



flush ajaxRequestTarget.appendJavascript

2011-08-03 Thread Lurtz Nazgul
Hi;

When i append jquery progressbar script to AjaxRequestTarget like below

 for (int i = 0; i  101; i++) {

ajaxRequestTarget.appendJavascript($(document).ready(function() 
{\n +
$(\#progressbar\).progressbar({ value:  + i 
+  });\n +
}););

 //  other stuff
}


Wicket sends it to the server, but i need to flush that jquery script code in 
order to work progressbar. 

Any suggestions ?

Thanks.

Re: Disabling Entire Page, and Redirecting to Page in N Seconds

2011-08-03 Thread Andrea Del Bene

Hi eugenebalt,

why not just call setEnabled(false) on form component?

Thanks. Good suggestion. Will give it a try, but never worked with jQuery
before.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Disabling-Entire-Page-and-Redirecting-to-Page-in-N-Seconds-tp3712976p3714169.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org






-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: flush ajaxRequestTarget.appendJavascript

2011-08-03 Thread Lurtz Nazgul
I used AjaxSelfUpdatingTimerBehavior and it's done. 

Thanks.




From: Lurtz Nazgul lu...@ymail.com
To: users@wicket.apache.org
Sent: Wed, August 3, 2011 11:36:50 AM
Subject: flush ajaxRequestTarget.appendJavascript

Hi;

When i append jquery progressbar script to AjaxRequestTarget like below

for (int i = 0; i  101; i++) {

ajaxRequestTarget.appendJavascript($(document).ready(function() 
{\n +
$(\#progressbar\).progressbar({ value:  + i 
+  });\n +
}););

 //  other stuff
}


Wicket sends it to the server, but i need to flush that jquery script code in 
order to work progressbar. 

Any suggestions ?

Thanks.

Re: Wicket 1.5 and glassfish 3.1.1 clustering (session replication)

2011-08-03 Thread Korbinian Bachl - privat

Hello,

Vytautas, can you please make a bugreport on
http://java.net/jira/browse/GLASSFISH

3.1.1 indeed has some quirks, but its better than 3.1; HTTP/HTTPS and 
wicket will loose JSessionId

(http://java.net/jira/browse/GLASSFISH-17131)
a.t.m. but if we give nice bug reports they will get fixed in 3.1.2 :)

Best


Am 03.08.11 08:14, schrieb Vytautas R.:

Yes, i know, it looks like glassfish is not very stable - same application
different tests - different results :(
I should clean up the cache from my head :D

On Tue, Aug 2, 2011 at 9:55 PM, Zilvinas Vilutiscika...@gmail.com  wrote:


I thought session is managed by container ( Glassfish in this case )
and wicket version should not matter at all.

Unless wicket is checking host / path / port or whatever when checking
to create a session or not?

Regards

Žilvinas Vilutis

Mobile:   (+1) 623 330 6048
E-mail:   cika...@gmail.com



On Tue, Aug 2, 2011 at 8:05 PM, Vytautasturi...@gmail.com  wrote:

Same application, Apache Tomcat 7.x withCluster /  enabled, Apache
mod_proxy, mod_proxy_balancer - everything looks perfect :)

Added


getRequestCycleSettings().setRenderStrategy(RenderStrategy.ONE_PASS_RENDER);

still no success on Glassfish.


--
Regards,
Vytautas
---
www.xaloon.org
www.allcarindex.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org







-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Username gets cached

2011-08-03 Thread Anna Simbirtsev
Hi,

On the login page I have a text field with wicket id username and Password
text field with wicket id password.
If I have a password text field on a different page with different wicket
id, it caches the values and populates the password field with password and
the field before it with username.

How can I turn off auto populating the fields?

Thanks
Anna


Re: Username gets cached

2011-08-03 Thread robert.mcguinness
are you sharing the same model between pages?

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Username-gets-cached-tp3715475p3715532.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Username gets cached

2011-08-03 Thread Anna Simbirtsev
No, I am not. The pages are not related.

On Wed, Aug 3, 2011 at 9:54 AM, robert.mcguinness 
robert.mcguinness@gmail.com wrote:

 are you sharing the same model between pages?

 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Username-gets-cached-tp3715475p3715532.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-- 
Anna Simbirtsev
(416) 729-7331


Re: Username gets cached

2011-08-03 Thread vineet semwal
try after doing autocomplete off on that textfield

On Wed, Aug 3, 2011 at 7:31 PM, Anna Simbirtsev asimbirt...@gmail.com wrote:
 No, I am not. The pages are not related.

 On Wed, Aug 3, 2011 at 9:54 AM, robert.mcguinness 
 robert.mcguinness@gmail.com wrote:

 are you sharing the same model between pages?

 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Username-gets-cached-tp3715475p3715532.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




 --
 Anna Simbirtsev
 (416) 729-7331




-- 
thank you,

regards,
Vineet Semwal

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Username gets cached

2011-08-03 Thread Anna Simbirtsev
I have autocomplete=off, it does not work.

On Wed, Aug 3, 2011 at 10:12 AM, vineet semwal
vineetsemwal1...@gmail.comwrote:

 try after doing autocomplete off on that textfield

 On Wed, Aug 3, 2011 at 7:31 PM, Anna Simbirtsev asimbirt...@gmail.com
 wrote:
  No, I am not. The pages are not related.
 
  On Wed, Aug 3, 2011 at 9:54 AM, robert.mcguinness 
  robert.mcguinness@gmail.com wrote:
 
  are you sharing the same model between pages?
 
  --
  View this message in context:
 
 http://apache-wicket.1842946.n4.nabble.com/Username-gets-cached-tp3715475p3715532.html
  Sent from the Users forum mailing list archive at Nabble.com.
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 
 
  --
  Anna Simbirtsev
  (416) 729-7331
 



 --
 thank you,

 regards,
 Vineet Semwal

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




-- 
Anna Simbirtsev
(416) 729-7331


Re: Username gets cached

2011-08-03 Thread Martin Funk
Looking at 1.5-RC5.1 I'd say

public final PasswordTextField setResetPassword(final boolean resetPassword)

will fix that.

But besides that I'd definitely investigate how the models of the two
PasswordTextFields are connected.

mf

2011/8/3 Anna Simbirtsev asimbirt...@gmail.com

 I have autocomplete=off, it does not work.

 On Wed, Aug 3, 2011 at 10:12 AM, vineet semwal
 vineetsemwal1...@gmail.comwrote:

  try after doing autocomplete off on that textfield
 
  On Wed, Aug 3, 2011 at 7:31 PM, Anna Simbirtsev asimbirt...@gmail.com
  wrote:
   No, I am not. The pages are not related.
  
   On Wed, Aug 3, 2011 at 9:54 AM, robert.mcguinness 
   robert.mcguinness@gmail.com wrote:
  
   are you sharing the same model between pages?
  
   --
   View this message in context:
  
 
 http://apache-wicket.1842946.n4.nabble.com/Username-gets-cached-tp3715475p3715532.html
   Sent from the Users forum mailing list archive at Nabble.com.
  
   -
   To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
   For additional commands, e-mail: users-h...@wicket.apache.org
  
  
  
  
   --
   Anna Simbirtsev
   (416) 729-7331
  
 
 
 
  --
  thank you,
 
  regards,
  Vineet Semwal
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 


 --
 Anna Simbirtsev
 (416) 729-7331



Re: Issues with HeaderResponseContainerFilteringHeaderResponse

2011-08-03 Thread Loren Cole
Hey guys, thanks for your responses. We're still using 1.4, it looks like it
will be a few months till we get to upgrade and use all the improvements
that have been made to resource handling in 1.5.  In 1.4 it appears that you
cannot put a bucket in the header without things getting confused and
failing to close.  Does anyone know why this is the case, or if there is a
way around it while still getting things in a head tag?

Martin, since we're using an older version I'm having trouble taking
advantage of your excellent advise, but I see elsewhere on the list, you
mention that this aggregation example should work in 1.4 also.  Do you
perhaps have an example of that I could look at?  The 1.4 equivalent of
MergedResourcesResource in particular is eluding me.

Am I right in thinking that aggregation will be required to order my css
contributions in 1.4?  At this point in development, the performance boost
doesn't necessarily offset the extra trouble of tracking down what
stylesheet or js library a problem is in, so I'd rather avoid it if
possible.


Thanks, Loren


Re: Safari hangs on ajax form submit

2011-08-03 Thread Peter Miklosko
Where did you see 1.4.18?
I do not see it on SVN https://svn.apache.org/repos/asf/wicket/branches/

Peter

On 2 August 2011 21:55, trodi t_roy...@hotmail.com wrote:


 Dan Retzlaff wrote:
 
  Are you encountering this?
  https://issues.apache.org/jira/browse/WICKET-3820
 
  I also recently submitted this so failures like this aren't so
  catastrophic.
  https://issues.apache.org/jira/browse/WICKET-3937
 

 Yes, this was the problem I was encountering. Your submitted fix solves my
 problem, thanks. It looks like Wicket 1.4.18 will have this fixed as well,
 according to the bug's commentary.

 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Safari-hangs-on-ajax-form-submit-tp3713539p3713726.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org




Re: Markup of type 'html' not found. Not usual error...

2011-08-03 Thread Tito
Hi everybody. This time Im  writing to tell you that I solved my problem.
Perhaps this will be useful for someone.

It was a stupid error but it was hard to realize what the problem was. It
was a locale error.
I created html pages with _es.html suffix and I didn't create .html for
default use. When the user browsed with his browser that was configured in
portuguese it failed.
Well thanks for helping me.
Bye
Tito

2011/7/5 Tito njyt...@gmail.com

 Noup. I'm running on a single server.
 And the Unit Test is also failing on server sometimes.


 2011/7/5 Bruno Borges bruno.bor...@gmail.com

 Are you running on a cluster? Maybe sessions are being serialized between
 instances and not working properly.


 *Bruno Borges*
 www.brunoborges.com.br
 +55 21 76727099



 On Tue, Jul 5, 2011 at 12:37 PM, Tito njyt...@gmail.com wrote:

  Mmm I remembered something.
  I made a RenderTest for this page and It works, but again, sometimes it
  doesn't.
 
  When it fails, in an specific machine, I have the same error. In that
 case
  I
  think It's not a session problem, don't you think? I mean, servlet
  shouldn't
  catch any request in that case.
 
  But a session problem sound logic, because it happens with specific
 users
  on
  specific machines. I don't know what to think.
 
 
  2011/7/5 Bruno Borges bruno.bor...@gmail.com
 
   I don't know. I'm just guessing. You may not be writing any wicket
   attribute, but you may be removing them.
  
   *Bruno Borges*
   www.brunoborges.com.br
   +55 21 76727099
  
  
  
   On Tue, Jul 5, 2011 at 12:14 PM, Tito njyt...@gmail.com wrote:
  
Yes I am, by a servlet that manage the session.
   
But I don't get your point. why you mean It could be the problem?
I think I'm not writing wicket attributes of session.
   
I can't use wicket session because struts can't access to it. So I
 have
   to
access direct to HttpSession.
   
   
2011/7/5 Bruno Borges bruno.bor...@gmail.com
   
 Are you manipulating the HttpSession somehow?

 I would guess there's something messing with attributes in session
  and
 making Wicket loose it's references of cache or something.

 *Bruno Borges*
 www.brunoborges.com.br
 +55 21 76727099



 On Tue, Jul 5, 2011 at 11:23 AM, Tito njyt...@gmail.com wrote:

  I'm still running on wicket 1.4. I'm using 1.4.17 version.
 
  Here is the stack trace. Thank you!
 
  2011-05-16 10:07:42,870 [http-80-12] ERROR keepcon23
  org.apache.wicket.RequestCycle
  - Markup of type 'html' for component
  'com.keepcon.web.timetracking.EmployeeDedicationLoad' not found.
   Enable
  debug messages for org.apache.wicket.util.resource to get a list
 of
   all
  filenames tried.: [Page class =
  com.keepcon.web.timetracking.EmployeeDedicationLoad, id = 0,
  version
   =
  0]***
  *
 
  org.apache.wicket.markup.MarkupNotFoundException: Markup of type
   'html'
 for
  component 'com.keepcon.web.timetracking.EmployeeDedicationLoad'
 not
 found.
  Enable debug messages for org.apache.wicket.util.resource to get
 a
   list
 of
  all filenames tried.: [Page class =
  com.keepcon.web.timetracking.EmployeeDedicationLoad, id = 0,
  version
   =
  0]***
  *
 
 at org.apache.wicket
  .markup.MarkupCache.getMarkupStream(MarkupCache.java:227)
 
 at org.apache.wicket
 
   
  .MarkupContainer.getAssociatedMarkupStream(MarkupContainer.java:351)
 
 at org.apache.wicket.Page.onRender(Page.java:1587)
 
 at
  org.apache.wicket.Component.render(Component.java:2521)
 
 at org.apache.wicket.Page.renderPage(Page.java:932)
 
 at org.apache.wicket
 
 

   
  
 
 .request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:261)
  
 
 at org.apache.wicket
 
 

   
  
 
 .request.target.coding.HybridUrlCodingStrategy$HybridBookmarkablePageRequestTarget.respond(HybridUrlCodingStrategy.java:987)
  
 
 at org.apache.wicket
 
 

   
  
 
 .request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
  
 
 at org.apache.wicket
 
 .RequestCycle.processEventsAndRespond(RequestCycle.java:1258)
 
 at
org.apache.wicket.RequestCycle.step(RequestCycle.java:1329)
 
 at
 org.apache.wicket.RequestCycle.steps(RequestCycle.java:1436)
 
 at
 org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
 
 at org.apache.wicket
  .protocol.http.WicketFilter.doGet(WicketFilter.java:486)
 
 at org.apache.wicket
  .protocol.http.WicketFilter.doFilter(WicketFilter.java:319)
 
 at
 
 

   
  
 
 

Re: Safari hangs on ajax form submit

2011-08-03 Thread Martin Grigorov
1.4.18 will be the next release in 1.4 series

On Wed, Aug 3, 2011 at 6:55 PM, Peter Miklosko peter.b...@gmail.com wrote:
 Where did you see 1.4.18?
 I do not see it on SVN https://svn.apache.org/repos/asf/wicket/branches/

 Peter

 On 2 August 2011 21:55, trodi t_roy...@hotmail.com wrote:


 Dan Retzlaff wrote:
 
  Are you encountering this?
  https://issues.apache.org/jira/browse/WICKET-3820
 
  I also recently submitted this so failures like this aren't so
  catastrophic.
  https://issues.apache.org/jira/browse/WICKET-3937
 

 Yes, this was the problem I was encountering. Your submitted fix solves my
 problem, thanks. It looks like Wicket 1.4.18 will have this fixed as well,
 according to the bug's commentary.

 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Safari-hangs-on-ajax-form-submit-tp3713539p3713726.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org






-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Issues with HeaderResponseContainerFilteringHeaderResponse

2011-08-03 Thread Martin Grigorov
Hi Loren,

See whether you can find the mail mentioned in
https://cwiki.apache.org/confluence/display/WICKET/Resource+decoration
in the mail archives.
Jeremy attached the raw application in this mail thread and I
transformed it to proper wicket-example for 1.5

On Wed, Aug 3, 2011 at 6:36 PM, Loren Cole loren.c...@gmail.com wrote:
 Hey guys, thanks for your responses. We're still using 1.4, it looks like it
 will be a few months till we get to upgrade and use all the improvements
 that have been made to resource handling in 1.5.  In 1.4 it appears that you
 cannot put a bucket in the header without things getting confused and
 failing to close.  Does anyone know why this is the case, or if there is a
 way around it while still getting things in a head tag?

 Martin, since we're using an older version I'm having trouble taking
 advantage of your excellent advise, but I see elsewhere on the list, you
 mention that this aggregation example should work in 1.4 also.  Do you
 perhaps have an example of that I could look at?  The 1.4 equivalent of
 MergedResourcesResource in particular is eluding me.

 Am I right in thinking that aggregation will be required to order my css
 contributions in 1.4?  At this point in development, the performance boost
 doesn't necessarily offset the extra trouble of tracking down what
 stylesheet or js library a problem is in, so I'd rather avoid it if
 possible.


 Thanks, Loren




-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



DataViw double clickable rows and ModalWindow

2011-08-03 Thread Decebal Suiu
Hello

I have a panel with a DataTable and, in newRowItem() I added an
AjaxEventBehavior(ondblclick).
Everything works fine if I add the panel in a WebPage but doesn't work in a
ModalWindow. It's a bug or I do something wrong?

Any advice it's welcome.
Thanks, Decebal

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/DataViw-double-clickable-rows-and-ModalWindow-tp3716333p3716333.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: DataViw double clickable rows and ModalWindow

2011-08-03 Thread Pedro Santos
looks like a bug

On Wed, Aug 3, 2011 at 2:46 PM, Decebal Suiu decebal.s...@asf.ro wrote:
 Hello

 I have a panel with a DataTable and, in newRowItem() I added an
 AjaxEventBehavior(ondblclick).
 Everything works fine if I add the panel in a WebPage but doesn't work in a
 ModalWindow. It's a bug or I do something wrong?

 Any advice it's welcome.
 Thanks, Decebal

 --
 View this message in context: 
 http://apache-wicket.1842946.n4.nabble.com/DataViw-double-clickable-rows-and-ModalWindow-tp3716333p3716333.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org





-- 
Pedro Henrique Oliveira dos Santos

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Validation problem - OnError event everytime I submit

2011-08-03 Thread phaedoland

Hi!!

Everything related to the Panel was okay. The only thing that happened in
this case was, we had the  override the cleanupFeedbackMessages() method
overriden in our own Session class, and did not call the
super.cleanupFeedbackMessages(). 

Everything is fine, now. This situation was driving me crazy.

Thanks for your reply, Jeremy. I really appreciate.

Cheers,

Daniel.



jer...@wickettraining.com wrote:
 
 Are you adding the feedback panel to the ajax request target in,both
 onSubmit and onError?  If so, it should tell you what error is making you
 get to the onError method.
  On 2011 7 27 21:50, phaedoland lt;phaedol...@gmail.comgt; wrote:
 Hello everyone,

 I'm a newbie using this wicket framework. I'm developing a user
 registration
 form, which works quite fine. But when it comes to validate certain
 fields,
 there is no way to have this form behaving as I wish.

 My textfields are simple *TextFieldString* and some of them have the
 *setRequired *set to true. I also have an *AjaxButton *which submits the
 form. To show the validation messages, I use the *FeedbackPanel*, but I
 want
 to show a message next to each invalid field.

 This button has the the *onSubmit *and *onError *methods overriden.

 The thing is, once I submit the form and there is a validation error,
 even
 if I fulfill all the fields, I get the same error. (onError method is
 always
 called).

 Please, could you help me?

 Thank you very much.

 Daniel.


 --
 View this message in context:
 http://apache-wicket.1842946.n4.nabble.com/Validation-problem-OnError-event-everytime-I-submit-tp3696379p3696379.html
 Sent from the Users forum mailing list archive at Nabble.com.

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org

 


--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Validation-problem-OnError-event-everytime-I-submit-tp3696379p3716491.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: CSS, JS resource file handle issues?

2011-08-03 Thread rush66
We setup a development environment in Ubuntu running the application and it
did not appear to have the same issue with editing resources with the app
server running. Changes were picked up from refreshing the browser.   

This issue makes  development a rather cumbersome process not being able to
edit CSS  JS with the app server running.

If anyone had any input or ideas it would be much appreciated.  

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/CSS-JS-resource-file-handle-issues-tp3701938p3716725.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Component with ListView that adds other Components?

2011-08-03 Thread Gary Thomas

Stumped on this, seemed it should simple:

I am making a component that uses a ListView.
Two important requirements:

1) This component will add Components and other markup before the list 
items, which I do not want the page designer or Java coder to worry 
about adding themselves in markup or code.


2) I want the page designer to be able to specify the markup that will 
be repeated for list items, just like a ListView:


ul
li wicket:id=mylist
Blah blah blah
/li
/ul


So this Component's usage would look like this:

ul wicket:id=mycomponent
   li wicket:id=mylist
  Blah blah blah
   /li
/ul

Which would generate this (fake markup example):

ul id=mycomponent
  My Important Stuff
  buttonYadda/button
  form
 ...
  /form

  li
  Blah blah blah
  /li
  li
  Blah blah blah
  /li
  li
  Blah blah blah
  /li
  ...
/ul


I was going to use a panel, but realized I have no idea how to grab 
markup to use within the ListView.


Help?


Thanks,
G

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Safari hangs on ajax form submit

2011-08-03 Thread Peter Miklosko
Well that is sort of obvious based on current versions pattern ;)
Is there any expected date for release?

On 3 August 2011 17:05, Martin Grigorov mgrigo...@apache.org wrote:

 1.4.18 will be the next release in 1.4 series

 On Wed, Aug 3, 2011 at 6:55 PM, Peter Miklosko peter.b...@gmail.com
 wrote:
  Where did you see 1.4.18?
  I do not see it on SVN https://svn.apache.org/repos/asf/wicket/branches/
 
  Peter
 
  On 2 August 2011 21:55, trodi t_roy...@hotmail.com wrote:
 
 
  Dan Retzlaff wrote:
  
   Are you encountering this?
   https://issues.apache.org/jira/browse/WICKET-3820
  
   I also recently submitted this so failures like this aren't so
   catastrophic.
   https://issues.apache.org/jira/browse/WICKET-3937
  
 
  Yes, this was the problem I was encountering. Your submitted fix solves
 my
  problem, thanks. It looks like Wicket 1.4.18 will have this fixed as
 well,
  according to the bug's commentary.
 
  --
  View this message in context:
 
 http://apache-wicket.1842946.n4.nabble.com/Safari-hangs-on-ajax-form-submit-tp3713539p3713726.html
  Sent from the Users forum mailing list archive at Nabble.com.
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 



 --
 Martin Grigorov
 jWeekend
 Training, Consulting, Development
 http://jWeekend.com

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org