Re: How to simulate browser back button?

2010-02-02 Thread PDiefent

It's not that simple! My IE doesn't accept the onclick in the   tag.
Is it poosible to run the code in the onSubmit method of a Wicket button?


Erik van Oosten wrote:
 
 No problem:
 
  # back 
 
 
 Peter Diefenthaeler wrote:
 Hallo Wicket users.
 is there an easy way to simulate the browsers back button with an own
 button in a form?

 Thank in advance
 Peter
   
 
 -- 
 Send from my SMTP compliant software
 Erik van Oosten
 http://day-to-day-stuff.blogspot.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://old.nabble.com/How-to-simulate-browser-back-button--tp27404303p27416704.html
Sent from the Wicket - User 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: AjaxFallbackDefaultDataTable and delete via ModalWindow

2010-02-02 Thread Andreas Lüdtke
Riyad,

I saw the stop() method and that would help if I only delete one row. But
what should I do when the second row on that page is deleted? There is no
restart() or start() method in the timer. Maybe I'm not aware of a method to
re-enable/re-start the timer.

Ok Riyad, what is smarter than the AjaxFallbackDefaultDataTable in your
opinion ;-)

Andreas

 -Original Message-
 From: Riyad Kalla [mailto:rka...@gmail.com] 
 Sent: Monday, February 01, 2010 4:40 PM
 To: users@wicket.apache.org; sam.lued...@t-online.de
 Subject: Re: AjaxFallbackDefaultDataTable and delete via ModalWindow
 
 Andreas,
 
 I'm glad you nailed down what was going on -- that being 
 said, can you just issue a .stop() on the timer on the first 
 callback? So you get your 1 update, then the timer gets 
 killed off and you are good to go?
 
 Don't know that much about the Ajax Data Table, otherwise I 
 would recommend something way smarter :)
 
 -R
 
 
 On Sat, Jan 30, 2010 at 2:11 AM, Andreas Lüdtke 
 sam.lued...@t-online.de wrote:
 
 
   Riyad,
   
   it's not a dumb question. I asked that already myself 
 and checked via the
   debugger that the object is really deleted. But you've 
 put me on the right
   track: I placed a link where I do a
   AjaxFallbackDefaultDataTable.modelChanged(); and that 
 did the job. Now I've
   added an AbstractAjaxTimerBehavior with a duration of 1 
 second and that is
   updating the table after one second.
   
   Now I'm curious: do I generate too much Ajax traffic if 
 that timer is running
   every second? I only need it to run once after I 
 changed the model...
   
   Thanks
   
   Andreas
   
 
-Original Message-
From: Riyad Kalla [mailto:rka...@gmail.com]
Sent: Friday, January 29, 2010 8:35 PM
To: users@wicket.apache.org; sam.lued...@t-online.de
Subject: Re: AjaxFallbackDefaultDataTable and delete 
 via ModalWindow
   
Andreas,
   
This might be a dumb question, but are you sure at the point
that the page
reloads and re-renders, the object *has* been erased from the
database or
cache you are utilizing? For example, right after you delete,
if you put in
some silly/junk code to immediately re-query for that object,
it comes back
null right?
   
I'm sure this is an Ajax/model issue, but 1 time it took me 2
days trying to
figure out why something Wasn't deleting just to find out
it was, but my
cache was deferring the operation to a few seconds later. So
I figured I'd
throw that out there just incase.
   
-R
   
On Fri, Jan 29, 2010 at 10:23 AM, Andreas Lüdtke
sam.lued...@t-online.dewrote:
   
 Hi,

 I have an AjaxFallbackDefaultDataTable on a page and when I
delete a row of
 the displayed data, I can't get the DataTable to 
 reload and show the
 reduced
 list. I tried already the following:

 - delete the object (row) in the database
 - reload the ISortableDataProvider class I'm using -- this
is actually not
 needed, because the object is removed
 - AjaxFallbackDefaultDataTable.modelChanged()

 If I refresh the browser window I see that one object is
missing in the
 list,
 but this way I lose the sorting the user has done.

 Am I missing something? How do I bring the
AjaxFallbackDefaultDataTable to
 reflect the changes?

 Andreas




 -
 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



Re: wicket-stuff wiki access

2010-02-02 Thread nino martinez wael
FYI I activated CAPTCHA to create users etc, some time ago.. But that must
not have worked..

regards Nino

2010/2/2 Martijn Dashorst martijn.dasho...@gmail.com

 On Mon, Feb 1, 2010 at 11:45 PM, Igor Vaynberg igor.vaynb...@gmail.com
 wrote:
  this isnt a mac...

 But close.. unfortunately I'm not the sysadmin for this server, so
 we'll have to wait until he's available.

 I've looked at atlassian, but they don't seem to provide hosted
 confluence installations. They do host jira for os projects, which
 might be a good idea to remove some admin burden from us.

 Martijn
 --
 Become a Wicket expert, learn from the best: http://wicketinaction.com
 Apache Wicket 1.4 increases type safety for web applications
 Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.4

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




Re: wicket 1.4.6 released

2010-02-02 Thread Paul Szulc
so fast! :)

On Mon, Feb 1, 2010 at 7:44 PM, Igor Vaynberg igor.vaynb...@gmail.comwrote:

 Wicket 1.4.6 is released!

 This is the sixths maintenance release of 1.4.x series and brings over
 40 bug fixes and improvements.

 tag: https://svn.apache.org/repos/asf/wicket/releases/wicket-1.4.6/

 maven:

 dependency
  groupIdorg.apache.wicket/groupId
  artifactIdwicket/artifactId
  version1.4.6/version
 /dependency

 download: http://www.apache.org/dyn/closer.cgi/wicket/1.4.6

 changelog:
 https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=truemode=hidesorter/order=DESCsorter/field=prioritypid=12310561fixfor=12314470

 cheers,

 -igor

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




-- 
Best regards,
Paul Szulc

http://paulszulc.wordpress.com


Re: wicket-stuff wiki access

2010-02-02 Thread Martijn Dashorst
you can reset your password again. We need some help in cleaning the
users though...

Confluence is a pain in user management.

Martijn

On Tue, Feb 2, 2010 at 9:26 AM, nino martinez wael
nino.martinez.w...@gmail.com wrote:
 FYI I activated CAPTCHA to create users etc, some time ago.. But that must
 not have worked..

 regards Nino

 2010/2/2 Martijn Dashorst martijn.dasho...@gmail.com

 On Mon, Feb 1, 2010 at 11:45 PM, Igor Vaynberg igor.vaynb...@gmail.com
 wrote:
  this isnt a mac...

 But close.. unfortunately I'm not the sysadmin for this server, so
 we'll have to wait until he's available.

 I've looked at atlassian, but they don't seem to provide hosted
 confluence installations. They do host jira for os projects, which
 might be a good idea to remove some admin burden from us.

 Martijn
 --
 Become a Wicket expert, learn from the best: http://wicketinaction.com
 Apache Wicket 1.4 increases type safety for web applications
 Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.4

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






-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.4 increases type safety for web applications
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.4

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



Re: Problem using EnhancedWicketTester form submit

2010-02-02 Thread Paul Szulc
Hi Roger,

Enhanced Wickt tester is not official part of Wicket. If you send me piece
of the code, I can have a look at it and see what's wrong. From test point
of view everything looks fine. Catch me here or on my private mail.

-- 
Best regards,
Paul Szulc

http://paulszulc.wordpress.com


On Mon, Feb 1, 2010 at 10:51 PM, roger.b...@creoss.com 
roger.b...@creoss.com wrote:


 The following code for testing login will fail at the last assert statement
 ( tester.assertRenderedPage(Dashboard.class);). The action works fine on the
 actual web pages but not using this test. What is missing or mis configured

 protected void loginPageEnhanced ()
{
System.out.println(Login Page Test);
EnhancedWicketTester enhanced = new EnhancedWicketTester(tester);
tester.startPage(SignInPage.class);
tester.assertNoErrorMessage();
tester.assertNoInfoMessage();

enhanced.assertEnabled(content:content:signInForm);
enhanced.form(content:content:signInForm)
.setTextFieldValue(username, erm)
.setPasswordTextFieldValue(password, erm)
.submitWithButton(submit);


tester.assertNoErrorMessage();
tester.assertNoInfoMessage();
System.out.println(Last Rendered Page AFTER LOGIN SUBMIT
 \n\n+tester.getLastRenderedPage().getAssociatedMarkupStream(false).toString());
tester.assertRenderedPage(Dashboard.class);
}

 Roger Ball

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




Re: Strange classloader issues

2010-02-02 Thread Johan Compagner
look at your html code
because somehow you get those kind of urls
org.apache.wicket.ajax.WicketAjax%3C/div%3E%3Cdiv%20class=
back to wicket and that seems very weird.
it seems that that is a piece of html with those div and class stuff.

It could also be that this is done by some header contribution ?


On Tue, Feb 2, 2010 at 08:49, Rob Sonke r...@tigrou.nl wrote:

 Hi,

 We're having strange errors on several of our online wicket apps which we
 can't reproduce but popping up in the logs everyday. It seems that Wicket in
 some way is messing up it's full class names with other stuff like html.
 I'll add some examples below.

 Is this is an issue, if yes, how can we prevent these errors. And if not,
 what causes this?

 TP-Processor29 ERROR
 org.apache.wicket.request.target.resource.SharedResourceRequestTarget:$L]
 unable to lazily register shared resource
 org.apache.wicket.ajax.WicketAjax%3C/div%3E%3Cdiv%20class=
 java.lang.ClassNotFoundException: org.apache.wicket.ajax.WicketAjax%3C
at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
at
 org.apache.wicket.application.DefaultClassResolver.resolveClass(DefaultClassResolver.java:111)
at
 org.apache.wicket.request.target.resource.SharedResourceRequestTarget.respond(SharedResourceRequestTarget.java:149)
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:1428)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
at
 org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:468)
at
 org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:301)
at
 org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
 org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

 Or:

 TP-Processor110 ERROR
 org.apache.wicket.request.target.resource.SharedResourceRequestTarget:$L]
 unable to lazily register shared resource
 maxxton.newyse.web.component.date.picker.UIDa%3C/ul%3E%20%20%3C/div%3E%3C/div%3E%3Cdiv%20class=
 java.lang.ClassNotFoundException:
 maxxton.newyse.web.component.date.picker.UIDa%3C
at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
at
 org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
at
 org.apache.wicket.application.DefaultClassResolver.resolveClass(DefaultClassResolver.java:111)
 etc..

 Regards,
 Rob


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




Layout manager

2010-02-02 Thread Eyal Golan
Hello,
Is there any Wicket project for making a layout manager similar to iGoogle
or http://www.netvibes.com/#General
We found a project with ExtJS that is not supported anymore . Is there a
Wicket project for that? or for any other similar?
Can Wiquery help with this?

Thanks for helping out,


Eyal Golan
egola...@gmail.com

Visit: http://jvdrums.sourceforge.net/
LinkedIn: http://www.linkedin.com/in/egolan74

P  Save a tree. Please don't print this e-mail unless it's really necessary


Re: Layout manager

2010-02-02 Thread Martin Makundi
Hi!

There was one wicket project which created panels and stylish buttons,
but I can't recall where it is.

**
Martin

2010/2/2 Eyal Golan egola...@gmail.com:
 Hello,
 Is there any Wicket project for making a layout manager similar to iGoogle
 or http://www.netvibes.com/#General
 We found a project with ExtJS that is not supported anymore . Is there a
 Wicket project for that? or for any other similar?
 Can Wiquery help with this?

 Thanks for helping out,


 Eyal Golan
 egola...@gmail.com

 Visit: http://jvdrums.sourceforge.net/
 LinkedIn: http://www.linkedin.com/in/egolan74

 P  Save a tree. Please don't print this e-mail unless it's really necessary


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



Re: Layout manager

2010-02-02 Thread Ernesto Reinaldo Barreiro
Do you mean this one?

http://code.google.com/p/swit/

Ernesto

On Tue, Feb 2, 2010 at 11:07 AM, Martin Makundi 
martin.maku...@koodaripalvelut.com wrote:

 Hi!

 There was one wicket project which created panels and stylish buttons,
 but I can't recall where it is.

 **
 Martin

 2010/2/2 Eyal Golan egola...@gmail.com:
  Hello,
  Is there any Wicket project for making a layout manager similar to
 iGoogle
  or http://www.netvibes.com/#General
  We found a project with ExtJS that is not supported anymore . Is there a
  Wicket project for that? or for any other similar?
  Can Wiquery help with this?
 
  Thanks for helping out,
 
 
  Eyal Golan
  egola...@gmail.com
 
  Visit: http://jvdrums.sourceforge.net/
  LinkedIn: http://www.linkedin.com/in/egolan74
 
  P  Save a tree. Please don't print this e-mail unless it's really
 necessary
 

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




Re: Layout manager

2010-02-02 Thread Martin Makundi
Yeah, swit. Service Temporarily Unavailable.

**
Martin

2010/2/2 Ernesto Reinaldo Barreiro reier...@gmail.com:
 Do you mean this one?

 http://code.google.com/p/swit/

 Ernesto

 On Tue, Feb 2, 2010 at 11:07 AM, Martin Makundi 
 martin.maku...@koodaripalvelut.com wrote:

 Hi!

 There was one wicket project which created panels and stylish buttons,
 but I can't recall where it is.

 **
 Martin

 2010/2/2 Eyal Golan egola...@gmail.com:
  Hello,
  Is there any Wicket project for making a layout manager similar to
 iGoogle
  or http://www.netvibes.com/#General
  We found a project with ExtJS that is not supported anymore . Is there a
  Wicket project for that? or for any other similar?
  Can Wiquery help with this?
 
  Thanks for helping out,
 
 
  Eyal Golan
  egola...@gmail.com
 
  Visit: http://jvdrums.sourceforge.net/
  LinkedIn: http://www.linkedin.com/in/egolan74
 
  P  Save a tree. Please don't print this e-mail unless it's really
 necessary
 

 -
 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: RIA solution based on wicket

2010-02-02 Thread nino martinez wael
Cemal I expirience alot of bugs running the examples, from here
http://www.wiquery.org/wiquery-examples-1.0/  permgen error :/

2010/2/1 Cemal Bayramoglu jweekend_for...@cabouge.com

 Josh,

 Did you run the demos available at the WiQuery site [1]?
 odlabs' Agile Task Lists demo [2] uses some layout mechanism if I
 remember correctly.
 If you have concrete ideas on how to extend the way WiQuery (and
 jQuery) supports this, we are very open to suggestions. We are also
 discussing setting up a WiQuery plugins project where ideas like this
 can evolve/incubate and be considered for inclusion in the core once
 they are evaluated.
 Interestingly, some people complain that UI presentation should be
 done in a declarative way (eg in XUL like languages) and not in a
 procedural way, so they may consider specifying layout in Java code
 (rather than in Wicket's native XHTML  CSS way) a step in a strange
 direction.

 Regards - Cemal
 jWeekend
 OO  Java Technologies, Wicket
 Consulting, Development, Training
 http://jWeekend.com

 [1] http://wiquery.googlecode.com
 [2]
 http://wiquery.googlecode.com/svn/examples/wiquery-presentation-examples/

 On 1 February 2010 05:28, Josh Kamau joshnet2...@gmail.com wrote:
  Hi guys;
 
  I would like to get your opinions and also share some of my views. I have
  been test-driving wicket for a couple of weeks now and i found it quite
  impressive. However , i would like to say that IMHO wicket is more
 suitable
  for creating websites as opposed to RIA applications. I would like to
 make
  applications that look and feel like desktop applications but running on
 a
  browser, i have a solid GWT background and i used to make this kind of
  applications but alot of work is involved. Should we not have a ria
  framework based on wicket? It could just be some nice CSS based theme or
 an
  intergration with something like extJs or something like this. WiQuery is
 a
  great step in this direction but it lacks components for making the main
  application layout.
 
  In the meantime, i will be trying out Vaadin.
 
  Regards.
 

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




Re: wicket-stuff wiki access

2010-02-02 Thread nino martinez wael
Martijn theres over 500 users in there, and it does take a while to remove
just one. What about removing the complete userbase? And let people register
again, I know its annoying but easier..

2010/2/2 Martijn Dashorst martijn.dasho...@gmail.com

 you can reset your password again. We need some help in cleaning the
 users though...

 Confluence is a pain in user management.

 Martijn

 On Tue, Feb 2, 2010 at 9:26 AM, nino martinez wael
 nino.martinez.w...@gmail.com wrote:
  FYI I activated CAPTCHA to create users etc, some time ago.. But that
 must
  not have worked..
 
  regards Nino
 
  2010/2/2 Martijn Dashorst martijn.dasho...@gmail.com
 
  On Mon, Feb 1, 2010 at 11:45 PM, Igor Vaynberg igor.vaynb...@gmail.com
 
  wrote:
   this isnt a mac...
 
  But close.. unfortunately I'm not the sysadmin for this server, so
  we'll have to wait until he's available.
 
  I've looked at atlassian, but they don't seem to provide hosted
  confluence installations. They do host jira for os projects, which
  might be a good idea to remove some admin burden from us.
 
  Martijn
  --
  Become a Wicket expert, learn from the best: http://wicketinaction.com
  Apache Wicket 1.4 increases type safety for web applications
  Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.4
 
  -
  To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
  For additional commands, e-mail: users-h...@wicket.apache.org
 
 
 



 --
 Become a Wicket expert, learn from the best: http://wicketinaction.com
 Apache Wicket 1.4 increases type safety for web applications
 Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.4

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




Error with Wicket 1.4.6

2010-02-02 Thread Giovanni
I upgraded my project from Wicket 1.4.5 to 1.4.6.

After the upgrade, I get the following error on IE6:

quote
The XML page cannot be displayed.

Cannot view XML input using style sheet. Please correct the error and 
then click the Refresh button, or try again later.
/quote

On Firefox it is working well.

The previous Wicket 1.4.5 also worked well on both IE6 and Firefox.

What can be the problem? What can I do to fix it?

Please, don't tell me not to use IE6, because I am forced to use it by my 
company. :(

Best regards,
giovanni


  

Re: RIA solution based on wicket

2010-02-02 Thread Cemal Bayramoglu
Ninio,

At a quick glance, these also work fine for me, but you're probably
safest to use the links I gave in my post above (the project is hosted
at Google Code, use the SVN there). You may need to change any WiQuery
dependencies to refer version 1.0 in your POMs as they wrote the
original sample for 1.0-m2.
Of course, if you do find issues, please go ahead and raise them on
the correct issues page [1] so someone can take a look, but give a bit
of detail to help the developer replicate your issue.

Regards - Cemal
jWeekend
OO  Java Technologies, Wicket
Consulting, Development, Training
http://jWeekend.com

[1] http://code.google.com/p/wiquery/issues/list


On 2 February 2010 10:54, nino martinez wael
nino.martinez.w...@gmail.com wrote:
 Cemal I expirience alot of bugs running the examples, from here
 http://www.wiquery.org/wiquery-examples-1.0/  permgen error :/

 2010/2/1 Cemal Bayramoglu jweekend_for...@cabouge.com

 Josh,

 Did you run the demos available at the WiQuery site [1]?
 odlabs' Agile Task Lists demo [2] uses some layout mechanism if I
 remember correctly.
 If you have concrete ideas on how to extend the way WiQuery (and
 jQuery) supports this, we are very open to suggestions. We are also
 discussing setting up a WiQuery plugins project where ideas like this
 can evolve/incubate and be considered for inclusion in the core once
 they are evaluated.
 Interestingly, some people complain that UI presentation should be
 done in a declarative way (eg in XUL like languages) and not in a
 procedural way, so they may consider specifying layout in Java code
 (rather than in Wicket's native XHTML  CSS way) a step in a strange
 direction.

 Regards - Cemal
 jWeekend
 OO  Java Technologies, Wicket
 Consulting, Development, Training
 http://jWeekend.com

 [1] http://wiquery.googlecode.com
 [2]
 http://wiquery.googlecode.com/svn/examples/wiquery-presentation-examples/

 On 1 February 2010 05:28, Josh Kamau joshnet2...@gmail.com wrote:
  Hi guys;
 
  I would like to get your opinions and also share some of my views. I
  have
  been test-driving wicket for a couple of weeks now and i found it quite
  impressive. However , i would like to say that IMHO wicket is more
  suitable
  for creating websites as opposed to RIA applications. I would like to
  make
  applications that look and feel like desktop applications but running on
  a
  browser, i have a solid GWT background and i used to make this kind of
  applications but alot of work is involved. Should we not have a ria
  framework based on wicket? It could just be some nice CSS based theme or
  an
  intergration with something like extJs or something like this. WiQuery
  is a
  great step in this direction but it lacks components for making the main
  application layout.
 
  In the meantime, i will be trying out Vaadin.
 
  Regards.
 

 -
 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: RIA solution based on wicket

2010-02-02 Thread nino martinez wael
Sure.. This was just a heads up...

2010/2/2 Cemal Bayramoglu jweekend_for...@cabouge.com

 Ninio,

 At a quick glance, these also work fine for me, but you're probably
 safest to use the links I gave in my post above (the project is hosted
 at Google Code, use the SVN there). You may need to change any WiQuery
 dependencies to refer version 1.0 in your POMs as they wrote the
 original sample for 1.0-m2.
 Of course, if you do find issues, please go ahead and raise them on
 the correct issues page [1] so someone can take a look, but give a bit
 of detail to help the developer replicate your issue.

 Regards - Cemal
 jWeekend
 OO  Java Technologies, Wicket
 Consulting, Development, Training
 http://jWeekend.com

 [1] http://code.google.com/p/wiquery/issues/list


 On 2 February 2010 10:54, nino martinez wael
 nino.martinez.w...@gmail.com wrote:
  Cemal I expirience alot of bugs running the examples, from here
  http://www.wiquery.org/wiquery-examples-1.0/  permgen error :/
 
  2010/2/1 Cemal Bayramoglu jweekend_for...@cabouge.com
 
  Josh,
 
  Did you run the demos available at the WiQuery site [1]?
  odlabs' Agile Task Lists demo [2] uses some layout mechanism if I
  remember correctly.
  If you have concrete ideas on how to extend the way WiQuery (and
  jQuery) supports this, we are very open to suggestions. We are also
  discussing setting up a WiQuery plugins project where ideas like this
  can evolve/incubate and be considered for inclusion in the core once
  they are evaluated.
  Interestingly, some people complain that UI presentation should be
  done in a declarative way (eg in XUL like languages) and not in a
  procedural way, so they may consider specifying layout in Java code
  (rather than in Wicket's native XHTML  CSS way) a step in a strange
  direction.
 
  Regards - Cemal
  jWeekend
  OO  Java Technologies, Wicket
  Consulting, Development, Training
  http://jWeekend.com
 
  [1] http://wiquery.googlecode.com
  [2]
 
 http://wiquery.googlecode.com/svn/examples/wiquery-presentation-examples/
 
  On 1 February 2010 05:28, Josh Kamau joshnet2...@gmail.com wrote:
   Hi guys;
  
   I would like to get your opinions and also share some of my views. I
   have
   been test-driving wicket for a couple of weeks now and i found it
 quite
   impressive. However , i would like to say that IMHO wicket is more
   suitable
   for creating websites as opposed to RIA applications. I would like to
   make
   applications that look and feel like desktop applications but running
 on
   a
   browser, i have a solid GWT background and i used to make this kind of
   applications but alot of work is involved. Should we not have a ria
   framework based on wicket? It could just be some nice CSS based theme
 or
   an
   intergration with something like extJs or something like this. WiQuery
   is a
   great step in this direction but it lacks components for making the
 main
   application layout.
  
   In the meantime, i will be trying out Vaadin.
  
   Regards.
  
 
  -
  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: Save a form's markup

2010-02-02 Thread Branden Tanga
Hello,

Thanks for the links. Correct me if I'm wrong, but the technique shown to
render a panel to a string is about asking the wicket component to render
itself, then capturing that output as a string.

What I need to be able to do is grab a form's markup after it has been
interacted with by the user.


Thanks,
Branden Tanga
Programmer / EHR Systems Engineer


On Mon, Feb 1, 2010 at 5:55 AM, Riyad Kalla rka...@gmail.com wrote:

 At first I thought you would override the Component.onRender method to see
 what is going back to the client and save that, but iterating through the
 MarkupElements looks expensive (to rebuild the page) and might leave the
 response in an unexpected state. Also though you could possibly override
 WicketFilter.doFilter call to try and snag the response on render, but then
 realized searching for form HTML specifically is going to suck.

 I then found this example on getting Wicket components to cough up their
 HTML into a dummy output stream that you can do what you want with:

 http://www.danwalmsley.com/2008/10/21/render-a-wicket-page-to-a-string-for-html-email/

 
 http://www.danwalmsley.com/2008/10/21/render-a-wicket-page-to-a-string-for-html-email/
 THEN
 I was reading on the Wicket Wiki (the WiWi if you will) about rendering
 Panels to Strings, which is essentially what I think you want to do, and
 found this:

 http://cwiki.apache.org/WICKET/rendering-panel-to-a-string.html#RenderingPaneltoaString-renderpanelstring

 
 http://cwiki.apache.org/WICKET/rendering-panel-to-a-string.html#RenderingPaneltoaString-renderpanelstring
 --
 I just included all the other resources incase they help with what you are
 trying to do, wasn't clear on the use-case.

 Have fun

 On Mon, Feb 1, 2010 at 4:41 AM, Branden Tanga branden.ta...@gmail.com
 wrote:

  Hello,
 
  I would like to save a form's markup as a string when the form's submit
  button is pressed. The part that I am having difficulty with is
  understanding how to use wicket to grab a form's rendered markup. I have
 a
  feeling it must be pretty simple, but I'm getting lost in the wicket
  documentation. Any tips?
 
 
 
  Thanks,
  Branden Tanga
  Programmer / EHR Systems Engineer
 



Re: Save a form's markup

2010-02-02 Thread Pedro Santos
If I understand, you can override getOnClickScript from Button to return an
javascript that set the innerHTML property of your form component as an
parameter. Maybe providing an hiding field, and setting it value with:
value = document.getElementById(+myForm.getMarkupId()+).innerHTML

On Tue, Feb 2, 2010 at 9:44 AM, Branden Tanga branden.ta...@gmail.comwrote:

 Hello,

 Thanks for the links. Correct me if I'm wrong, but the technique shown to
 render a panel to a string is about asking the wicket component to render
 itself, then capturing that output as a string.

 What I need to be able to do is grab a form's markup after it has been
 interacted with by the user.


 Thanks,
 Branden Tanga
 Programmer / EHR Systems Engineer


 On Mon, Feb 1, 2010 at 5:55 AM, Riyad Kalla rka...@gmail.com wrote:

  At first I thought you would override the Component.onRender method to
 see
  what is going back to the client and save that, but iterating through the
  MarkupElements looks expensive (to rebuild the page) and might leave the
  response in an unexpected state. Also though you could possibly override
  WicketFilter.doFilter call to try and snag the response on render, but
 then
  realized searching for form HTML specifically is going to suck.
 
  I then found this example on getting Wicket components to cough up their
  HTML into a dummy output stream that you can do what you want with:
 
 
 http://www.danwalmsley.com/2008/10/21/render-a-wicket-page-to-a-string-for-html-email/
 
  
 
 http://www.danwalmsley.com/2008/10/21/render-a-wicket-page-to-a-string-for-html-email/
  THEN
  I was reading on the Wicket Wiki (the WiWi if you will) about rendering
  Panels to Strings, which is essentially what I think you want to do, and
  found this:
 
 
 http://cwiki.apache.org/WICKET/rendering-panel-to-a-string.html#RenderingPaneltoaString-renderpanelstring
 
  
 
 http://cwiki.apache.org/WICKET/rendering-panel-to-a-string.html#RenderingPaneltoaString-renderpanelstring
  --
  I just included all the other resources incase they help with what you
 are
  trying to do, wasn't clear on the use-case.
 
  Have fun
 
  On Mon, Feb 1, 2010 at 4:41 AM, Branden Tanga branden.ta...@gmail.com
  wrote:
 
   Hello,
  
   I would like to save a form's markup as a string when the form's submit
   button is pressed. The part that I am having difficulty with is
   understanding how to use wicket to grab a form's rendered markup. I
 have
  a
   feeling it must be pretty simple, but I'm getting lost in the wicket
   documentation. Any tips?
  
  
  
   Thanks,
   Branden Tanga
   Programmer / EHR Systems Engineer
  
 




-- 
Pedro Henrique Oliveira dos Santos


RE: better look modern css for wicket

2010-02-02 Thread Jing Ge (Besitec IT DEHAM)
Hi,

Thanks you guys(Igor, Alex, Riyad) for the suggestions. I really appreciated.

I mean the design, which is used by the wicket demo page, could be considered 
as the default design of the wicket, right? So, why not provide a better one 
here.

Regards!
Jing

-Original Message-
From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] 
Sent: Montag, 1. Februar 2010 19:15
To: users@wicket.apache.org
Subject: Re: better look  modern css for wicket

frameworks like Click and Vaadin have to provide default LF because
it is harder to customize that since they do not offer as much control
over the markup as Wicket. in Wicket the designer has almost complete
control, even including the tags themselves. we can provide a fancy
LF but then it will only work with the specific tag hierarchies that
we create it for which will limit the power of Wicket if you wanted to
use the LF in your app.

-igor

On Mon, Feb 1, 2010 at 8:04 AM, Jing Ge (Besitec IT DEHAM)
j...@besitec.com wrote:
 Hi guys,

 I just ask myself, why the wicket team does not provide a better look,
 more modern css? A css which will let people say WOW! when they open
 the wicket demo page, like Vaadin does.

 Such a css can let more people pay attention to wicket. Why don't do it?


 BTW, The wicket is really cool! I like it!

 Regards
 Jing

 -Original Message-
 From: Peter Karich [mailto:peat...@yahoo.de]
 Sent: Freitag, 29. Januar 2010 17:42
 To: users@wicket.apache.org
 Subject: Re: Apache Click

 Hi,

 for me the main disadvantage of click is that it uses velocity instead
 pure html.
 Then click has probably less publicity/mailing support and less
 components.
 An advantage could be that cayenne is supported as a default persistent
 solution.

 Search for wicket vs click or sth. like (was useful for me).

   I think wicket with a good look css can beat them.

 This is the great thing about wicket: just let the designer do the
 design their html ;-) and I will code (fast!).
 No need for GSP, JSF, rhtml, JSP, velocity, xslt ...

 Regards,
 Peter.

 Wow!

 Vaadin looks really cool!
 Could anyone here provide a good look css for the wicket? I think
 wicket
 with a good look css can beat them.

 Regards!
 Jing

 -Original Message-
 From: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com]
 Sent: Freitag, 29. Januar 2010 17:14
 To: users@wicket.apache.org
 Subject: Re: Apache Click

 Hi!

 I guess click comes with its own layout.. like Vaadin
 http://demo.vaadin.com/sampler/

 **
 Martin

 2010/1/29 Giovannipino_o...@yahoo.com:

 Apache Click is very similar to Wicket:

 http://incubator.apache.org/click/

 What are the main differences and advantages?

 regards
 giovanni





 -
 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





 --
 Free your timetabling!
 http://timefinder.sourceforge.net/


 -
 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




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



Re: Save a form's markup

2010-02-02 Thread Wilhelmsen Tor Iver
 I would like to save a form's markup as a string when the form's submit
 button is pressed. The part that I am having difficulty with is
 understanding how to use wicket to grab a form's rendered markup. I
 have a
 feeling it must be pretty simple, but I'm getting lost in the wicket
 documentation. Any tips?

Look at org.apache.wicket.response.StringResponse and examples using that.

- Tor Iver

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



Wicketstuff Teamcity: Wrong Maven home path configured for Wicketstuff Merge Resources 1.3 branch

2010-02-02 Thread Stefan Fussenegger
Wicketstuff Merge Resources 1.3 branch points to non-existing maven 
directory:


[12:36:26]: /home/wicket/apache-maven-2.0.9/bin/mvn: Can't open 
/home/wicket/apache-maven-2.0.9/bin/mvn: No such file or directory

[12:36:26]: Build finished
(from 
http://wicketstuff.org/teamcity/viewLog.html?buildId=5619buildTypeId=bt38tab=buildLog)


Could somebody with admin rights please fix this? Using TeamCity's 
default Maven runner (as used by Wicket 1.4.x) should be perfectly fine:


M2_HOME = /data/home/wicket/teamcity-5.0/buildAgent/plugins/maven
(from 
http://wicketstuff.org/teamcity/viewLog.html?buildId=5614tab=buildLogbuildTypeId=bt39all=true)


Thanks, Stefan

--

Stefan Fußenegger
Molindo GmbH
http://www.molindo.at/

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



Re: Wicketstuff Teamcity: Wrong Maven home path configured for Wicketstuff Merge Resources 1.3 branch

2010-02-02 Thread Martijn Dashorst
changed it to 2.2.1

On Tue, Feb 2, 2010 at 1:43 PM, Stefan Fussenegger s...@molindo.at wrote:
 Wicketstuff Merge Resources 1.3 branch points to non-existing maven
 directory:

 [12:36:26]: /home/wicket/apache-maven-2.0.9/bin/mvn: Can't open
 /home/wicket/apache-maven-2.0.9/bin/mvn: No such file or directory
 [12:36:26]: Build finished
 (from
 http://wicketstuff.org/teamcity/viewLog.html?buildId=5619buildTypeId=bt38tab=buildLog)

 Could somebody with admin rights please fix this? Using TeamCity's default
 Maven runner (as used by Wicket 1.4.x) should be perfectly fine:

 M2_HOME = /data/home/wicket/teamcity-5.0/buildAgent/plugins/maven
 (from
 http://wicketstuff.org/teamcity/viewLog.html?buildId=5614tab=buildLogbuildTypeId=bt39all=true)

 Thanks, Stefan

 --

 Stefan Fußenegger
 Molindo GmbH
 http://www.molindo.at/

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





-- 
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.4 increases type safety for web applications
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.4.4

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



component .... not found on page

2010-02-02 Thread Nazeem
I get the following error on first time i visit the page or panel. But on
reload, i.e, reverting back to original url localhost:8080/app everything
works normal.

SortableDataProviderOrder sdp = new
SortableDataProviderOrder(filter.getQuery(), Order.class);
sdp.setInitSortBy(ordr.orderId desc);
currentPage = 0;

final WebMarkupContainer tcontainer = new
WebMarkupContainer(tcontainer);
tcontainer.setOutputMarkupId(true);
final DataViewOrder dView = new DataViewOrder(list, sdp,
rowsPerPage) {

private static final long serialVersionUID = 0L;

@Override
protected void populateItem(ItemOrder item) {
final Order order = item.getModelObject();
item.setModel(new CompoundPropertyModelOrder(order));

int num = currentPage == 0 ? sNo++ : (currentPage *
rowsPerPage) + sNo++;
item.add(new Label(sNo, new Model(num)));
AjaxLink viewDetLnk = new AjaxLink(viewDetail) {
private static final long serialVersionUID =
-100047462061223L;

@Override
public void onClick(AjaxRequestTarget target) {
try {
log.info( );
OrderDetailPanel odp = new
OrderDetailPanel(BasePage.CONTENTPANELID, order, OrderListPanel.this);
//replacePanel(new
EmptyPanel(BasePage.CONTENTPANELID), target);
replacePanel(odp, target);
}
catch(Exception e) {
e.printStackTrace();
errorAlert(Error occured :  + e.getMessage() +
,\n please try again , target);
}
}

/*...@override
protected IAjaxCallDecorator getAjaxCallDecorator() {
return getIndicator();
}*/
};
viewDetLnk.add(new Label(invoiceNo));
item.add(viewDetLnk);
...

html..
div  wicket:id=tcontainer
table class=datagrid cellspacing=0 cellpadding=0 border=0
thead
tr align=center
  thS.No:/th
  th style=width: 100px;a
wicket:id=orderByInvoiceNoInvoice No/a/th
...
   thActions/th
  /tr
  /thead
  tbody
tr wicket:id=list align=center
td wicket:id=sNo style=width: 25px;/td
tda wicket:id=viewDetailspan style=font-weight:
bold; color: #006; wicket:id=invoiceNo/span/a/td
tdspan wicket:id=noOfCartons/span/td
 ..


Any clue ?  But if I replace the onclick action to just to replace with
empty panel everything seems to be normal..

Thanks
Cresc..


Re: How to simulate browser back button?

2010-02-02 Thread Riyad Kalla
JavaScript is your only option -- that should work in IE, that's some pretty
classic JavaScript right there.

If your IE install has JS turned off, I'm not aware of any other way to
programatically issue a 'back' to the browser.

On Tue, Feb 2, 2010 at 1:09 AM, PDiefent pdief...@csc.com wrote:


 It's not that simple! My IE doesn't accept the onclick in the   tag.
 Is it poosible to run the code in the onSubmit method of a Wicket button?


 Erik van Oosten wrote:
 
  No problem:
 
   # back
 
 
  Peter Diefenthaeler wrote:
  Hallo Wicket users.
  is there an easy way to simulate the browsers back button with an own
  button in a form?
 
  Thank in advance
  Peter
 
 
  --
  Send from my SMTP compliant software
  Erik van Oosten
  http://day-to-day-stuff.blogspot.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://old.nabble.com/How-to-simulate-browser-back-button--tp27404303p27416704.html
 Sent from the Wicket - User 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: component .... not found on page

2010-02-02 Thread cresc

Forgot to copy the error message. 

Root cause:

org.apache.wicket.WicketRuntimeException: component
content-panel:table-container:table-content:tcontainer:list:1:viewDetail not
found on page com.mypackage.ordertracking.client.TrackingHomePage[id = 3],
listener interface = [RequestListenerInterface name=IBehaviorListener,
method=public abstract void
org.apache.wicket.behavior.IBehaviorListener.onRequest()]
at
org.apache.wicket.request.AbstractRequestCycleProcessor.resolveListenerInterfaceTarget(AbstractRequestCycleProcessor.java:426)
at
org.apache.wicket.request.AbstractRequestCycleProcessor.resolveRenderedPage(AbstractRequestCycleProcessor.java:471)
at
org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:144)
at org.apache.wicket.RequestCycle.step(RequestCycle.java:1310)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)

So
-- 
View this message in context: 
http://old.nabble.com/component--not-found-on-page-tp27421536p27421759.html
Sent from the Wicket - User 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: AjaxFallbackDefaultDataTable and delete via ModalWindow

2010-02-02 Thread Riyad Kalla
Andreas,

Sorry I think my reply came across confusing -- I'm very green with Wicket,
so I can't help with more complex use-case using
the AjaxFallbackDefaultDataTable -- which is probably the right component to
use.

On Tue, Feb 2, 2010 at 1:20 AM, Andreas Lüdtke sam.lued...@t-online.dewrote:

 Riyad,

 I saw the stop() method and that would help if I only delete one row. But
 what should I do when the second row on that page is deleted? There is no
 restart() or start() method in the timer. Maybe I'm not aware of a method
 to
 re-enable/re-start the timer.

 Ok Riyad, what is smarter than the AjaxFallbackDefaultDataTable in your
 opinion ;-)

 Andreas

  -Original Message-
  From: Riyad Kalla [mailto:rka...@gmail.com]
  Sent: Monday, February 01, 2010 4:40 PM
  To: users@wicket.apache.org; sam.lued...@t-online.de
  Subject: Re: AjaxFallbackDefaultDataTable and delete via ModalWindow
 
  Andreas,
 
  I'm glad you nailed down what was going on -- that being
  said, can you just issue a .stop() on the timer on the first
  callback? So you get your 1 update, then the timer gets
  killed off and you are good to go?
 
  Don't know that much about the Ajax Data Table, otherwise I
  would recommend something way smarter :)
 
  -R
 
 
  On Sat, Jan 30, 2010 at 2:11 AM, Andreas Lüdtke
  sam.lued...@t-online.de wrote:
 
 
Riyad,
 
it's not a dumb question. I asked that already myself
  and checked via the
debugger that the object is really deleted. But you've
  put me on the right
track: I placed a link where I do a
AjaxFallbackDefaultDataTable.modelChanged(); and that
  did the job. Now I've
added an AbstractAjaxTimerBehavior with a duration of 1
  second and that is
updating the table after one second.
 
Now I'm curious: do I generate too much Ajax traffic if
  that timer is running
every second? I only need it to run once after I
  changed the model...
 
Thanks
 
Andreas
 
 
 -Original Message-
 From: Riyad Kalla [mailto:rka...@gmail.com]
 Sent: Friday, January 29, 2010 8:35 PM
 To: users@wicket.apache.org; sam.lued...@t-online.de
 Subject: Re: AjaxFallbackDefaultDataTable and delete
  via ModalWindow

 Andreas,

 This might be a dumb question, but are you sure at the point
 that the page
 reloads and re-renders, the object *has* been erased from the
 database or
 cache you are utilizing? For example, right after you delete,
 if you put in
 some silly/junk code to immediately re-query for that object,
 it comes back
 null right?

 I'm sure this is an Ajax/model issue, but 1 time it took me 2
 days trying to
 figure out why something Wasn't deleting just to find out
 it was, but my
 cache was deferring the operation to a few seconds later. So
 I figured I'd
 throw that out there just incase.

 -R

 On Fri, Jan 29, 2010 at 10:23 AM, Andreas Lüdtke
 sam.lued...@t-online.dewrote:

  Hi,
 
  I have an AjaxFallbackDefaultDataTable on a page and when I
 delete a row of
  the displayed data, I can't get the DataTable to
  reload and show the
  reduced
  list. I tried already the following:
 
  - delete the object (row) in the database
  - reload the ISortableDataProvider class I'm using -- this
 is actually not
  needed, because the object is removed
  - AjaxFallbackDefaultDataTable.modelChanged()
 
  If I refresh the browser window I see that one object is
 missing in the
  list,
  but this way I lose the sorting the user has done.
 
  Am I missing something? How do I bring the
 AjaxFallbackDefaultDataTable to
  reflect the changes?
 
  Andreas
 
 
 

  -
  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




Re: How to simulate browser back button?

2010-02-02 Thread Erik van Oosten
Indeed, except that I saw that there were some extraneous slashes there. 
It should have been:


a href=# onClick=history.back()back/a

Any IE that still has JS switched off is useless on about any modern 
internet site. Just turn it on and accept the security risk or (better) 
use another browser.


Regards,
   Erik.


Riyad Kalla wrote:

JavaScript is your only option -- that should work in IE, that's some pretty
classic JavaScript right there.

If your IE install has JS turned off, I'm not aware of any other way to
programatically issue a 'back' to the browser.

On Tue, Feb 2, 2010 at 1:09 AM, PDiefent pdief...@csc.com wrote:

  

It's not that simple! My IE doesn't accept the onclick in the   tag.
Is it poosible to run the code in the onSubmit method of a Wicket button?


Erik van Oosten wrote:


No problem:

 # back


Peter Diefenthaeler wrote:
  

Hallo Wicket users.
is there an easy way to simulate the browsers back button with an own
button in a form?

Thank in advance
Peter



--
Send from my SMTP compliant software
Erik van Oosten
http://day-to-day-stuff.blogspot.com/



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



Re: Error with Wicket 1.4.6

2010-02-02 Thread Igor Vaynberg
quickstart...

-igor

On Tue, Feb 2, 2010 at 3:22 AM, Giovanni pino_o...@yahoo.com wrote:
 I upgraded my project from Wicket 1.4.5 to 1.4.6.

 After the upgrade, I get the following error on IE6:

 quote
 The XML page cannot be displayed.

 Cannot view XML input using style sheet. Please correct the error and
 then click the Refresh button, or try again later.
 /quote

 On Firefox it is working well.

 The previous Wicket 1.4.5 also worked well on both IE6 and Firefox.

 What can be the problem? What can I do to fix it?

 Please, don't tell me not to use IE6, because I am forced to use it by my 
 company. :(

 Best regards,
 giovanni




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



Re: Save a form's markup

2010-02-02 Thread Igor Vaynberg
why?

-igor

On Mon, Feb 1, 2010 at 3:41 AM, Branden Tanga branden.ta...@gmail.com wrote:
 Hello,

 I would like to save a form's markup as a string when the form's submit
 button is pressed. The part that I am having difficulty with is
 understanding how to use wicket to grab a form's rendered markup. I have a
 feeling it must be pretty simple, but I'm getting lost in the wicket
 documentation. Any tips?



 Thanks,
 Branden Tanga
 Programmer / EHR Systems Engineer


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



Re: Save a form's markup

2010-02-02 Thread Martin Makundi
Hi!

These might be of interest:
* http://www.mail-archive.com/users@wicket.apache.org/msg45354.html
* http://www.jroller.com/karthikg/entry/modelling_client_side_form_modifications

2010/2/2 Igor Vaynberg igor.vaynb...@gmail.com:
 why?

 -igor

 On Mon, Feb 1, 2010 at 3:41 AM, Branden Tanga branden.ta...@gmail.com wrote:
 Hello,

 I would like to save a form's markup as a string when the form's submit
 button is pressed. The part that I am having difficulty with is
 understanding how to use wicket to grab a form's rendered markup. I have a
 feeling it must be pretty simple, but I'm getting lost in the wicket
 documentation. Any tips?



 Thanks,
 Branden Tanga
 Programmer / EHR Systems Engineer


 -
 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: better look modern css for wicket

2010-02-02 Thread nino martinez wael
So why not have a competition? We could host it with the wicketstuff svn and
take the best one and accept it as default?

2010/2/2 Igor Vaynberg igor.vaynb...@gmail.com

 because none of the core committers are designers...

 -igor

 On Tue, Feb 2, 2010 at 4:00 AM, Jing Ge (Besitec IT DEHAM)
 j...@besitec.com wrote:
  Hi,
 
  Thanks you guys(Igor, Alex, Riyad) for the suggestions. I really
 appreciated.
 
  I mean the design, which is used by the wicket demo page, could be
 considered as the default design of the wicket, right? So, why not provide a
 better one here.
 
  Regards!
  Jing
 
  -Original Message-
  From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com]
  Sent: Montag, 1. Februar 2010 19:15
  To: users@wicket.apache.org
  Subject: Re: better look  modern css for wicket
 
  frameworks like Click and Vaadin have to provide default LF because
  it is harder to customize that since they do not offer as much control
  over the markup as Wicket. in Wicket the designer has almost complete
  control, even including the tags themselves. we can provide a fancy
  LF but then it will only work with the specific tag hierarchies that
  we create it for which will limit the power of Wicket if you wanted to
  use the LF in your app.
 
  -igor
 
  On Mon, Feb 1, 2010 at 8:04 AM, Jing Ge (Besitec IT DEHAM)
  j...@besitec.com wrote:
  Hi guys,
 
  I just ask myself, why the wicket team does not provide a better look,
  more modern css? A css which will let people say WOW! when they open
  the wicket demo page, like Vaadin does.
 
  Such a css can let more people pay attention to wicket. Why don't do it?
 
 
  BTW, The wicket is really cool! I like it!
 
  Regards
  Jing
 
  -Original Message-
  From: Peter Karich [mailto:peat...@yahoo.de]
  Sent: Freitag, 29. Januar 2010 17:42
  To: users@wicket.apache.org
  Subject: Re: Apache Click
 
  Hi,
 
  for me the main disadvantage of click is that it uses velocity instead
  pure html.
  Then click has probably less publicity/mailing support and less
  components.
  An advantage could be that cayenne is supported as a default persistent
  solution.
 
  Search for wicket vs click or sth. like (was useful for me).
 
I think wicket with a good look css can beat them.
 
  This is the great thing about wicket: just let the designer do the
  design their html ;-) and I will code (fast!).
  No need for GSP, JSF, rhtml, JSP, velocity, xslt ...
 
  Regards,
  Peter.
 
  Wow!
 
  Vaadin looks really cool!
  Could anyone here provide a good look css for the wicket? I think
  wicket
  with a good look css can beat them.
 
  Regards!
  Jing
 
  -Original Message-
  From: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com]
  Sent: Freitag, 29. Januar 2010 17:14
  To: users@wicket.apache.org
  Subject: Re: Apache Click
 
  Hi!
 
  I guess click comes with its own layout.. like Vaadin
  http://demo.vaadin.com/sampler/
 
  **
  Martin
 
  2010/1/29 Giovannipino_o...@yahoo.com:
 
  Apache Click is very similar to Wicket:
 
  http://incubator.apache.org/click/
 
  What are the main differences and advantages?
 
  regards
  giovanni
 
 
 
 
 
  -
  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
 
 
 
 
 
  --
  Free your timetabling!
  http://timefinder.sourceforge.net/
 
 
  -
  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
 
 
 
 
  -
  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




Wicket and Server Side Include

2010-02-02 Thread VGoel
We are using Wicket 1.4.5, Websphere 6.1

We are re-doing  current coldfusion application in Java/Wicket. Currently 
the home page (which contains database search) is static HTML page, which 
submits to Coldfusion application.

Because of current production environment, we have two options in 
consideration
1. We have static HTML with HTML form for searching (non- https) page 
submit to Wicket Application (https). And user can go back forth between 
http and https.
2. We build the static home page(with search form) as Wicket page with 
search and have server side includes pointing to static files on Web 
Server. This gives static team some flexibility to change contents, 
without redeploying the app.

Second approach gives Static Content team some flexibility to change 
content, images and flash files. Is there any drawback of using SSI using 
org.apache.wicket.markup.html.include. 

Is there any other solution, which we missed?

Thanks and Regards,
Vandana Goel



Notice: This communication, including any attachments, is intended solely 
for the use of the individual or entity to which it is addressed. This 
communication may contain information that is protected from disclosure 
under State and/or Federal law. Please notify the sender immediately if 
you have received this communication in error and delete this email from 
your system. If you are not the intended recipient, you are requested not 
to disclose, copy, distribute or take any action in reliance on the 
contents of this information.

Re: (my code palette) how to set default options in object palette

2010-02-02 Thread wic...@geofflancaster.com
to predefine the selected users you have to insert them into the model.

define your palette as:
final Palette palette = new Palette(palette, new
ListModelPerson(lSelected), new CollectionModelPerson(persons),
renderer, 10, true);

to filter using that javascript you will need to edit the js a bit to make
it work. instead of having it use document.getElementById('paletteName')
you will need to use document.getElementsByName('(containerName if you have
one):paletteName:choices')[0]

the correct string to use can be found by looking at your html source that
wicket renders. the line will start select class=choicesSelect
name=THIS IS THE STRING YOU WANT ...

Good luck.


Original Message:
-
From: victorTrapiello vic...@trapiello.net
Date: Sun, 31 Jan 2010 12:19:14 -0800 (PST)
To: users@wicket.apache.org
Subject: Re: (my code palette) how to set default options in object palette



Thank you very much I will try to do it

victorTrapiello wrote:
 
 Thank you very mucv Nino, but what do you mena by a quick start¿? I´m
new
 in this comunity.
 
 nino martinez wael wrote:
 
 Ok Victor next step for you would be to create a quickstart.. So we can
 play
 with it.. I've sure had this working with wicket 1.2 / 1.3 soo should
 still
 be the case.
 
 2010/1/29 victorTrapiello vic...@trapiello.net
 

 I does not work, I think the key point is my

 IChoiceRenderer renderer = new ChoiceRenderer(fullName, fullName);

 i leave it empty and it works for the available subject but not for the
 predefined!

 any more thoughts¿?

 Thank you very much guys



 nino martinez wael wrote:
 
  Form f=new Form(form);
  add(f);
  List persons = ComponentReferenceApplication.getPersons();;
  IChoiceRenderer renderer = new ChoiceRenderer(fullName,
 fullName);
  final Palette palette = new Palette(palette, new
  ListModelPerson(new
  ArrayListPerson()), new CollectionModelPerson(
persons), renderer, 10, true);
  palette.setmodelObject or something like that.
 
  2010/1/29 victorTrapiello vic...@trapiello.net
 
 
  well I have defined my palette component like this:
 
  asignString is an string linst with the available subjects (It works
  fine,
  the palette shows the proper subjects, but it doesn´t show the
 default
  selected one which I save them in the list lSelected
 
   IChoiceRenderer renderer = new ChoiceRenderer(, );
   ListString lSelected=new ArrayList();
 lSelected.add(predefined);
 Model aux=new Model();
 aux.setObject((Serializable) lSelected);
 
 final Palette palette = new Palette(palette, aux, new Model(
 (Serializable) asignString), renderer, 10, true);
 
  Any thought¿?
 
  thankyou in advance
 
 
  James Carman-3 wrote:
  
   Make sure your model reflects the selected state.  Palette will
 pick
   that up automatically
  
   On Sat, Jan 23, 2010 at 12:50 PM, victorTrapiello
  vic...@trapiello.net
   wrote:
  
  
   I use the palette component, to assigne option to a User. but I
 don't
   find a functionnality, how to set already selected option ?.
  
   Exemple : a user selected option, I store it into a database:
   In the future, the user want to update his option, at the moment
 he
   doesn't see his previous selected option.
  
Do you have a solution.¿?, doe sir make sense¿?
  
   cheers!!
  
   quote author=MartinM
   Well.. you can override newChoicesComponent
  
   **
   Martin
  
   2009/4/28 新希望软件 -- 俞宏伟 nhsoft@gmail.com:
   yes, i can setMarkupId for Palette. but now i want to filter for
   palette's
   choicesComponent.
  
   there is no public getChoicesComponent() method for
 choicesComponent.
  
  
  
   2009/4/28 Martin Makundi martin.maku...@koodaripalvelut.com
  
   Why cannot get markupid? You can determine it yourself
 (setMarkupId)
  
   You could also update via ajax using a textfield which sends the
   filtered text to server and server updates the select via
 ajax...
  
   I wonder if someone has made a select in which the filter is
  visually
   built into the select component?
  
   **
   Martin
  
   2009/4/28 新希望软件 -- 俞宏伟 nhsoft@gmail.com:
I want to add a filter for palette choice list, because 
 choice
  list
have a
very large HTML SELECT list.
   
I found that there is a select filter implement(
http://www.barelyfitz.com/projects/filterlist/index.php/1),
 but
 i
  can
   not
get select component markupid, so filter can not init.
   
--
   
H. L. Mencken 
   http://www.brainyquote.com/quotes/authors/h/h_l_mencken.html
- It is even harder for the average ape to believe that he
 has
descended
from man.
   
  
  
  -
   To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
   For additional commands, e-mail: users-h...@wicket.apache.org
  
  
  
  
  
 -
   To unsubscribe, 

Re: component .... not found on page

2010-02-02 Thread Eugene Malan
I am wrestling with the same Exception. I think I am doing something  
similar, in that I have a DataView with a link to a detail Page and  
then I return to the list page usingsetResponsePage(returnPage);


Different browsers react differently. On my Mac...
Chrome:  gives the Exception on first load of the page.
Safari: gives Exception after a few renderings of the Page.
Firefox: Cannot re-create the Exception.

What browser are you using?

In my instance it is a Link that cannot be found

item.add(new LinkEntry(entryName, new ModelEntry(entry)){

@Override
public void onClick() {
setResponsePage(new OBOEntryViewPage(entry, getPage()));
}

@Override
	protected void onComponentTagBody(MarkupStream markupStream,  
ComponentTag openTag) {
		replaceComponentTagBody(markupStream, openTag,  
getModelObject().getName());	

}

});


On 02 Feb 2010, at 9:57 AM, cresc wrote:



Forgot to copy the error message.

Root cause:

org.apache.wicket.WicketRuntimeException: component
content-panel:table-container:table-content:tcontainer:list: 
1:viewDetail not
found on page com.mypackage.ordertracking.client.TrackingHomePage[id  
= 3],

listener interface = [RequestListenerInterface name=IBehaviorListener,
method=public abstract void
org.apache.wicket.behavior.IBehaviorListener.onRequest()]
at
org 
.apache 
.wicket 
.request 
.AbstractRequestCycleProcessor 
.resolveListenerInterfaceTarget(AbstractRequestCycleProcessor.java: 
426)

at
org 
.apache 
.wicket 
.request 
.AbstractRequestCycleProcessor 
.resolveRenderedPage(AbstractRequestCycleProcessor.java:471)

at
org 
.apache 
.wicket 
.protocol 
.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java: 
144)

at org.apache.wicket.RequestCycle.step(RequestCycle.java:1310)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)

So
--
View this message in context: 
http://old.nabble.com/component--not-found-on-page-tp27421536p27421759.html
Sent from the Wicket - User 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: component .... not found on page

2010-02-02 Thread Riyad Kalla
What version of Wicket?

On Tue, Feb 2, 2010 at 10:11 AM, Eugene Malan eug...@emalan.com wrote:

 I am wrestling with the same Exception. I think I am doing something
 similar, in that I have a DataView with a link to a detail Page and then I
 return to the list page usingsetResponsePage(returnPage);

 Different browsers react differently. On my Mac...
 Chrome:  gives the Exception on first load of the page.
 Safari: gives Exception after a few renderings of the Page.
 Firefox: Cannot re-create the Exception.

 What browser are you using?

 In my instance it is a Link that cannot be found

 item.add(new LinkEntry(entryName, new ModelEntry(entry)){

@Override
public void onClick() {
setResponsePage(new OBOEntryViewPage(entry, getPage()));
}

@Override
protected void onComponentTagBody(MarkupStream markupStream,
 ComponentTag openTag) {
replaceComponentTagBody(markupStream, openTag,
 getModelObject().getName());
}

 });



 On 02 Feb 2010, at 9:57 AM, cresc wrote:


 Forgot to copy the error message.

 Root cause:

 org.apache.wicket.WicketRuntimeException: component
 content-panel:table-container:table-content:tcontainer:list:1:viewDetail
 not
 found on page com.mypackage.ordertracking.client.TrackingHomePage[id = 3],
 listener interface = [RequestListenerInterface name=IBehaviorListener,
 method=public abstract void
 org.apache.wicket.behavior.IBehaviorListener.onRequest()]
 at

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

 org.apache.wicket.request.AbstractRequestCycleProcessor.resolveRenderedPage(AbstractRequestCycleProcessor.java:471)
 at

 org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:144)
 at org.apache.wicket.RequestCycle.step(RequestCycle.java:1310)
 at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)
 at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)

 So
 --
 View this message in context:
 http://old.nabble.com/component--not-found-on-page-tp27421536p27421759.html
 Sent from the Wicket - User 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: better look modern css for wicket

2010-02-02 Thread Igor Vaynberg
go for it. anyone can organize it. we would be happy to accept a patch
against wicket-examples.

-igor

On Tue, Feb 2, 2010 at 8:19 AM, nino martinez wael
nino.martinez.w...@gmail.com wrote:
 So why not have a competition? We could host it with the wicketstuff svn and
 take the best one and accept it as default?

 2010/2/2 Igor Vaynberg igor.vaynb...@gmail.com

 because none of the core committers are designers...

 -igor

 On Tue, Feb 2, 2010 at 4:00 AM, Jing Ge (Besitec IT DEHAM)
 j...@besitec.com wrote:
  Hi,
 
  Thanks you guys(Igor, Alex, Riyad) for the suggestions. I really
 appreciated.
 
  I mean the design, which is used by the wicket demo page, could be
 considered as the default design of the wicket, right? So, why not provide a
 better one here.
 
  Regards!
  Jing
 
  -Original Message-
  From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com]
  Sent: Montag, 1. Februar 2010 19:15
  To: users@wicket.apache.org
  Subject: Re: better look  modern css for wicket
 
  frameworks like Click and Vaadin have to provide default LF because
  it is harder to customize that since they do not offer as much control
  over the markup as Wicket. in Wicket the designer has almost complete
  control, even including the tags themselves. we can provide a fancy
  LF but then it will only work with the specific tag hierarchies that
  we create it for which will limit the power of Wicket if you wanted to
  use the LF in your app.
 
  -igor
 
  On Mon, Feb 1, 2010 at 8:04 AM, Jing Ge (Besitec IT DEHAM)
  j...@besitec.com wrote:
  Hi guys,
 
  I just ask myself, why the wicket team does not provide a better look,
  more modern css? A css which will let people say WOW! when they open
  the wicket demo page, like Vaadin does.
 
  Such a css can let more people pay attention to wicket. Why don't do it?
 
 
  BTW, The wicket is really cool! I like it!
 
  Regards
  Jing
 
  -Original Message-
  From: Peter Karich [mailto:peat...@yahoo.de]
  Sent: Freitag, 29. Januar 2010 17:42
  To: users@wicket.apache.org
  Subject: Re: Apache Click
 
  Hi,
 
  for me the main disadvantage of click is that it uses velocity instead
  pure html.
  Then click has probably less publicity/mailing support and less
  components.
  An advantage could be that cayenne is supported as a default persistent
  solution.
 
  Search for wicket vs click or sth. like (was useful for me).
 
    I think wicket with a good look css can beat them.
 
  This is the great thing about wicket: just let the designer do the
  design their html ;-) and I will code (fast!).
  No need for GSP, JSF, rhtml, JSP, velocity, xslt ...
 
  Regards,
  Peter.
 
  Wow!
 
  Vaadin looks really cool!
  Could anyone here provide a good look css for the wicket? I think
  wicket
  with a good look css can beat them.
 
  Regards!
  Jing
 
  -Original Message-
  From: Martin Makundi [mailto:martin.maku...@koodaripalvelut.com]
  Sent: Freitag, 29. Januar 2010 17:14
  To: users@wicket.apache.org
  Subject: Re: Apache Click
 
  Hi!
 
  I guess click comes with its own layout.. like Vaadin
  http://demo.vaadin.com/sampler/
 
  **
  Martin
 
  2010/1/29 Giovannipino_o...@yahoo.com:
 
  Apache Click is very similar to Wicket:
 
  http://incubator.apache.org/click/
 
  What are the main differences and advantages?
 
  regards
  giovanni
 
 
 
 
 
  -
  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
 
 
 
 
 
  --
  Free your timetabling!
  http://timefinder.sourceforge.net/
 
 
  -
  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
 
 
 
 
  -
  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 

Re: component .... not found on page

2010-02-02 Thread cresc

I am using wicket 1.4.5. 

I am getting this error always in firefox on the first attempt. After I
reload the page by reverting the URL it works fine for the rest of the
session. Just the first click is causing this problem. But if replace it
with empty panel this error does nt appear. So if the error is in the page
im replacing with it should throw me appropriate msg. Not sure why it again
looks for the component in the current page..

- cresc
-- 
View this message in context: 
http://old.nabble.com/component--not-found-on-page-tp27421536p27424196.html
Sent from the Wicket - User 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: component .... not found on page

2010-02-02 Thread Eugene Malan

I get the same behavior in  1.4.4  1.4.5  1.4.6

On 02 Feb 2010, at 12:20 PM, Riyad Kalla wrote:


What version of Wicket?

On Tue, Feb 2, 2010 at 10:11 AM, Eugene Malan eug...@emalan.com  
wrote:



I am wrestling with the same Exception. I think I am doing something
similar, in that I have a DataView with a link to a detail Page and  
then I

return to the list page usingsetResponsePage(returnPage);

Different browsers react differently. On my Mac...
Chrome:  gives the Exception on first load of the page.
Safari: gives Exception after a few renderings of the Page.
Firefox: Cannot re-create the Exception.

What browser are you using?

In my instance it is a Link that cannot be found

item.add(new LinkEntry(entryName, new ModelEntry(entry)){

  @Override
  public void onClick() {
  setResponsePage(new OBOEntryViewPage(entry,  
getPage()));

  }

  @Override
  protected void onComponentTagBody(MarkupStream markupStream,
ComponentTag openTag) {
  replaceComponentTagBody(markupStream, openTag,
getModelObject().getName());
  }

});



On 02 Feb 2010, at 9:57 AM, cresc wrote:



Forgot to copy the error message.

Root cause:

org.apache.wicket.WicketRuntimeException: component
content-panel:table-container:table-content:tcontainer:list: 
1:viewDetail

not
found on page  
com.mypackage.ordertracking.client.TrackingHomePage[id = 3],
listener interface = [RequestListenerInterface  
name=IBehaviorListener,

method=public abstract void
org.apache.wicket.behavior.IBehaviorListener.onRequest()]
at

org 
.apache 
.wicket 
.request 
.AbstractRequestCycleProcessor 
.resolveListenerInterfaceTarget(AbstractRequestCycleProcessor.java: 
426)

at

org 
.apache 
.wicket 
.request 
.AbstractRequestCycleProcessor 
.resolveRenderedPage(AbstractRequestCycleProcessor.java:471)

at

org 
.apache 
.wicket 
.protocol 
.http 
.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:144)

at org.apache.wicket.RequestCycle.step(RequestCycle.java:1310)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)

So
--
View this message in context:
http://old.nabble.com/component--not-found-on-page-tp27421536p27421759.html
Sent from the Wicket - User 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: component .... not found on page

2010-02-02 Thread Igor Vaynberg
jira issue, quickstart...

-igor

On Tue, Feb 2, 2010 at 9:31 AM, Eugene Malan eug...@emalan.com wrote:
 I get the same behavior in  1.4.4  1.4.5  1.4.6

 On 02 Feb 2010, at 12:20 PM, Riyad Kalla wrote:

 What version of Wicket?

 On Tue, Feb 2, 2010 at 10:11 AM, Eugene Malan eug...@emalan.com wrote:

 I am wrestling with the same Exception. I think I am doing something
 similar, in that I have a DataView with a link to a detail Page and then
 I
 return to the list page using    setResponsePage(returnPage);

 Different browsers react differently. On my Mac...
 Chrome:  gives the Exception on first load of the page.
 Safari: gives Exception after a few renderings of the Page.
 Firefox: Cannot re-create the Exception.

 What browser are you using?

 In my instance it is a Link that cannot be found

 item.add(new LinkEntry(entryName, new ModelEntry(entry)){

     �...@override
      public void onClick() {
              setResponsePage(new OBOEntryViewPage(entry, getPage()));
      }

     �...@override
      protected void onComponentTagBody(MarkupStream markupStream,
 ComponentTag openTag) {
              replaceComponentTagBody(markupStream, openTag,
 getModelObject().getName());
      }

 });



 On 02 Feb 2010, at 9:57 AM, cresc wrote:


 Forgot to copy the error message.

 Root cause:

 org.apache.wicket.WicketRuntimeException: component
 content-panel:table-container:table-content:tcontainer:list:1:viewDetail
 not
 found on page com.mypackage.ordertracking.client.TrackingHomePage[id =
 3],
 listener interface = [RequestListenerInterface name=IBehaviorListener,
 method=public abstract void
 org.apache.wicket.behavior.IBehaviorListener.onRequest()]
 at


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


 org.apache.wicket.request.AbstractRequestCycleProcessor.resolveRenderedPage(AbstractRequestCycleProcessor.java:471)
 at


 org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:144)
 at org.apache.wicket.RequestCycle.step(RequestCycle.java:1310)
 at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)
 at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)

 So
 --
 View this message in context:

 http://old.nabble.com/component--not-found-on-page-tp27421536p27421759.html
 Sent from the Wicket - User 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



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



Re: (my code palette) how to set default options in object palette

2010-02-02 Thread victorTrapiello

Thank you very much for your help but still I have some problems, it does not
show the default choices... my code is now like this, I have changed the
list for listModel but still empty when I execute... 


   IChoiceRenderer renderer = new ChoiceRenderer(, );

ListString lExcogido = new ArrayList();
lExcogido.add(predefined);

ListModelString lm = new ListModel();
lm.setObject(lExcogido);


final Palette palette = new Palette(palette, lm, new Model(
(Serializable) asignString), renderer, 10, true);

Any more thought¿? than you very much guys, this simple thing is frustrating
I have the release on friday.


wic...@geofflancaster.com wrote:
 
 to predefine the selected users you have to insert them into the model.
 
 define your palette as:
 final Palette palette = new Palette(palette, new
 ListModelPerson(lSelected), new CollectionModelPerson(persons),
 renderer, 10, true);
 
 to filter using that javascript you will need to edit the js a bit to make
 it work. instead of having it use document.getElementById('paletteName')
 you will need to use document.getElementsByName('(containerName if you
 have
 one):paletteName:choices')[0]
 
 the correct string to use can be found by looking at your html source that
 wicket renders. the line will start select class=choicesSelect
 name=THIS IS THE STRING YOU WANT ...
 
 Good luck.
 
 
 Original Message:
 -
 From: victorTrapiello vic...@trapiello.net
 Date: Sun, 31 Jan 2010 12:19:14 -0800 (PST)
 To: users@wicket.apache.org
 Subject: Re: (my code palette) how to set default options in object
 palette
 
 
 
 Thank you very much I will try to do it
 
 victorTrapiello wrote:
 
 Thank you very mucv Nino, but what do you mena by a quick start¿? I´m
 new
 in this comunity.
 
 nino martinez wael wrote:
 
 Ok Victor next step for you would be to create a quickstart.. So we can
 play
 with it.. I've sure had this working with wicket 1.2 / 1.3 soo should
 still
 be the case.
 
 2010/1/29 victorTrapiello vic...@trapiello.net
 

 I does not work, I think the key point is my

 IChoiceRenderer renderer = new ChoiceRenderer(fullName, fullName);

 i leave it empty and it works for the available subject but not for the
 predefined!

 any more thoughts¿?

 Thank you very much guys



 nino martinez wael wrote:
 
  Form f=new Form(form);
  add(f);
  List persons = ComponentReferenceApplication.getPersons();;
  IChoiceRenderer renderer = new ChoiceRenderer(fullName,
 fullName);
  final Palette palette = new Palette(palette, new
  ListModelPerson(new
  ArrayListPerson()), new CollectionModelPerson(
persons), renderer, 10, true);
  palette.setmodelObject or something like that.
 
  2010/1/29 victorTrapiello vic...@trapiello.net
 
 
  well I have defined my palette component like this:
 
  asignString is an string linst with the available subjects (It works
  fine,
  the palette shows the proper subjects, but it doesn´t show the
 default
  selected one which I save them in the list lSelected
 
   IChoiceRenderer renderer = new ChoiceRenderer(, );
   ListString lSelected=new ArrayList();
 lSelected.add(predefined);
 Model aux=new Model();
 aux.setObject((Serializable) lSelected);
 
 final Palette palette = new Palette(palette, aux, new
 Model(
 (Serializable) asignString), renderer, 10, true);
 
  Any thought¿?
 
  thankyou in advance
 
 
  James Carman-3 wrote:
  
   Make sure your model reflects the selected state.  Palette will
 pick
   that up automatically
  
   On Sat, Jan 23, 2010 at 12:50 PM, victorTrapiello
  vic...@trapiello.net
   wrote:
  
  
   I use the palette component, to assigne option to a User. but I
 don't
   find a functionnality, how to set already selected option ?.
  
   Exemple : a user selected option, I store it into a database:
   In the future, the user want to update his option, at the moment
 he
   doesn't see his previous selected option.
  
Do you have a solution.¿?, doe sir make sense¿?
  
   cheers!!
  
   quote author=MartinM
   Well.. you can override newChoicesComponent
  
   **
   Martin
  
   2009/4/28 新希望软件 -- 俞宏伟 nhsoft@gmail.com:
   yes, i can setMarkupId for Palette. but now i want to filter for
   palette's
   choicesComponent.
  
   there is no public getChoicesComponent() method for
 choicesComponent.
  
  
  
   2009/4/28 Martin Makundi martin.maku...@koodaripalvelut.com
  
   Why cannot get markupid? You can determine it yourself
 (setMarkupId)
  
   You could also update via ajax using a textfield which sends
 the
   filtered text to server and server updates the select via
 ajax...
  
   I wonder if someone has made a select in which the filter is
  visually
   built into the select component?
  
   **
   Martin
  
   2009/4/28 新希望软件 -- 俞宏伟 nhsoft@gmail.com:
I want to add a filter for palette choice list, because 
 choice
  list

[announce] better look modern css for wicket examples contest

2010-02-02 Thread nino martinez wael
Hi

Someone mentioned that we could have a better look  feel for wicket, since
there are no designers in the core team. I proposed a contest, to make the
coolest slickest css for wicket. So please feel free to apply.


Requirements:

your css should be compatible with the basic browsers, Firefox , IE , Safari
etc. And retain heavy use of embedded js. And it should be a drop on, using
existing id's  hierachy for design.

Practical info:

The contest ends in 2 months April 2nd.

Get the wicket examples here:
http://svn.apache.org/repos/asf/wicket/trunk/wicket-examples/

If you need it you can put your css in svn at wicketstuff, write to this
list for details on howto get commit rights, you should add your css to
sandbox and sf user name (
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/sandbox/ ).

Yes as with all contest there is a prize, you can win the wicket t-shir
along with the honor if your css are the winner. This
http://www.cafepress.com/apachewicket.317298148 or this
http://www.cafepress.com/apachewicket.317298083 depending on your age :)

Just reply to this thread to enter the contest.

Regards Nino on behalf of the Wicket People


Re: [announce] better look modern css for wicket examples contest

2010-02-02 Thread Igor Vaynberg
i dont think we would be opposed to changing html around in
wicket-examples, so i dont think the drop-in clause is a necessity.

-igor

On Tue, Feb 2, 2010 at 10:26 AM, nino martinez wael
nino.martinez.w...@gmail.com wrote:
 Hi

 Someone mentioned that we could have a better look  feel for wicket, since
 there are no designers in the core team. I proposed a contest, to make the
 coolest slickest css for wicket. So please feel free to apply.


 Requirements:

 your css should be compatible with the basic browsers, Firefox , IE , Safari
 etc. And retain heavy use of embedded js. And it should be a drop on, using
 existing id's  hierachy for design.

 Practical info:

 The contest ends in 2 months April 2nd.

 Get the wicket examples here:
 http://svn.apache.org/repos/asf/wicket/trunk/wicket-examples/

 If you need it you can put your css in svn at wicketstuff, write to this
 list for details on howto get commit rights, you should add your css to
 sandbox and sf user name (
 https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/sandbox/ ).

 Yes as with all contest there is a prize, you can win the wicket t-shir
 along with the honor if your css are the winner. This
 http://www.cafepress.com/apachewicket.317298148 or this
 http://www.cafepress.com/apachewicket.317298083 depending on your age :)

 Just reply to this thread to enter the contest.

 Regards Nino on behalf of the Wicket People


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



Re: [announce] better look modern css for wicket examples contest

2010-02-02 Thread nino martinez wael
ok no problemo :)

2010/2/2 Igor Vaynberg igor.vaynb...@gmail.com

 i dont think we would be opposed to changing html around in
 wicket-examples, so i dont think the drop-in clause is a necessity.

 -igor

 On Tue, Feb 2, 2010 at 10:26 AM, nino martinez wael
 nino.martinez.w...@gmail.com wrote:
  Hi
 
  Someone mentioned that we could have a better look  feel for wicket,
 since
  there are no designers in the core team. I proposed a contest, to make
 the
  coolest slickest css for wicket. So please feel free to apply.
 
 
  Requirements:
 
  your css should be compatible with the basic browsers, Firefox , IE ,
 Safari
  etc. And retain heavy use of embedded js. And it should be a drop on,
 using
  existing id's  hierachy for design.
 
  Practical info:
 
  The contest ends in 2 months April 2nd.
 
  Get the wicket examples here:
  http://svn.apache.org/repos/asf/wicket/trunk/wicket-examples/
 
  If you need it you can put your css in svn at wicketstuff, write to this
  list for details on howto get commit rights, you should add your css to
  sandbox and sf user name (
  https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/sandbox/).
 
  Yes as with all contest there is a prize, you can win the wicket t-shir
  along with the honor if your css are the winner. This
  http://www.cafepress.com/apachewicket.317298148 or this
  http://www.cafepress.com/apachewicket.317298083 depending on your age :)
 
  Just reply to this thread to enter the contest.
 
  Regards Nino on behalf of the Wicket People
 

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




Re: [announce] better look modern css for wicket examples contest

2010-02-02 Thread mbrictson

In addition to the examples, I think it would be nice to apply a pleasant CSS
skin to the Wicket quickstart archetype. Instead of an un-styled
QuickStart message, how about a nicely formatted short intro with links to
tutorials, reference documentation, etc.?

As an example, I like the it worked! welcome page that Django provides:

http://i46.tinypic.com/2q025g9.jpg


nino martinez wael wrote:
 
 Hi
 
 Someone mentioned that we could have a better look  feel for wicket,
 since
 there are no designers in the core team. I proposed a contest, to make the
 coolest slickest css for wicket. So please feel free to apply.
 
 
 Requirements:
 
 your css should be compatible with the basic browsers, Firefox , IE ,
 Safari
 etc. And retain heavy use of embedded js. And it should be a drop on,
 using
 existing id's  hierachy for design.
 
 Practical info:
 
 The contest ends in 2 months April 2nd.
 
 Get the wicket examples here:
 http://svn.apache.org/repos/asf/wicket/trunk/wicket-examples/
 
 If you need it you can put your css in svn at wicketstuff, write to this
 list for details on howto get commit rights, you should add your css to
 sandbox and sf user name (
 https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/sandbox/ ).
 
 Yes as with all contest there is a prize, you can win the wicket t-shir
 along with the honor if your css are the winner. This
 http://www.cafepress.com/apachewicket.317298148 or this
 http://www.cafepress.com/apachewicket.317298083 depending on your age :)
 
 Just reply to this thread to enter the contest.
 
 Regards Nino on behalf of the Wicket People
 
 

-- 
View this message in context: 
http://old.nabble.com/-announce--better-look---modern-css-for-wicket-examples-contest-tp27425107p27426016.html
Sent from the Wicket - User 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



CheckGroup and AjaxPagination

2010-02-02 Thread Verma Shalini (HCTM/ETA)
Hi,

I'm trying to implement checkgroup with pagination and the I need to
know when the user clicks on the submit button as what checkboxes he
selected on various pages.
But it doesn't remember it. Only the current page.
Does anybody has faced this problem and the solution for this.

Thanks
Shalini


DatePicker css

2010-02-02 Thread wic...@geofflancaster.com
Is it possible to edit the datepicker css? the datepicker is displaying
behind some other components on my page and i'd like to set the z-index so
it display on top of everything.


mail2web - Check your email from the web at
http://link.mail2web.com/mail2web



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



Re: Error with Wicket 1.4.6

2010-02-02 Thread Giovanni
Hello Igor,

excuse me, I don't understand your reply.

Can you please explain a little bit more?

best regards
giovanni





From: Igor Vaynberg igor.vaynb...@gmail.com
To: users@wicket.apache.org
Cc: r.bartolo...@reply.it; d.cappad...@reply.it
Sent: Tue, February 2, 2010 4:55:07 PM
Subject: Re: Error with Wicket 1.4.6

quickstart...

-igor

On Tue, Feb 2, 2010 at 3:22 AM, Giovanni pino_o...@yahoo.com wrote:
 I upgraded my project from Wicket 1.4.5 to 1.4.6.

 After the upgrade, I get the following error on IE6:

 quote
 The XML page cannot be displayed.

 Cannot view XML input using style sheet. Please correct the error and
 then click the Refresh button, or try again later.
 /quote

 On Firefox it is working well.

 The previous Wicket 1.4.5 also worked well on both IE6 and Firefox.

 What can be the problem? What can I do to fix it?

 Please, don't tell me not to use IE6, because I am forced to use it by my 
 company. :(

 Best regards,
 giovanni




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


  

Re: [announce] better look modern css for wicket examples contest

2010-02-02 Thread Ernesto Reinaldo Barreiro
I do not know if this fit into the contest but I think it would be nice if
someone could come-up with an extensible architecture for  the examples
where components from third party projects could be included... and some
guidelines for building these extensions... So that we could transform the
examples into Wicket component repository??

Best,

Ernesto

On Tue, Feb 2, 2010 at 7:26 PM, nino martinez wael 
nino.martinez.w...@gmail.com wrote:

 Hi

 Someone mentioned that we could have a better look  feel for wicket, since
 there are no designers in the core team. I proposed a contest, to make the
 coolest slickest css for wicket. So please feel free to apply.


 Requirements:

 your css should be compatible with the basic browsers, Firefox , IE ,
 Safari
 etc. And retain heavy use of embedded js. And it should be a drop on, using
 existing id's  hierachy for design.

 Practical info:

 The contest ends in 2 months April 2nd.

 Get the wicket examples here:
 http://svn.apache.org/repos/asf/wicket/trunk/wicket-examples/

 If you need it you can put your css in svn at wicketstuff, write to this
 list for details on howto get commit rights, you should add your css to
 sandbox and sf user name (
 https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/sandbox/ ).

 Yes as with all contest there is a prize, you can win the wicket t-shir
 along with the honor if your css are the winner. This
 http://www.cafepress.com/apachewicket.317298148 or this
 http://www.cafepress.com/apachewicket.317298083 depending on your age :)

 Just reply to this thread to enter the contest.

 Regards Nino on behalf of the Wicket People



Re: Error with Wicket 1.4.6

2010-02-02 Thread Pierre Goupil
Hello,

He means that you should open a bug ticket and provide a (Maven) quickstart
project demonstrating the issue, so that Wicket devs can then include it
into their non-regression test framework.

Regards,

Pierre


On Tue, Feb 2, 2010 at 9:14 PM, Giovanni pino_o...@yahoo.com wrote:

 Hello Igor,

 excuse me, I don't understand your reply.

 Can you please explain a little bit more?

 best regards
 giovanni




 
 From: Igor Vaynberg igor.vaynb...@gmail.com
 To: users@wicket.apache.org
 Cc: r.bartolo...@reply.it; d.cappad...@reply.it
 Sent: Tue, February 2, 2010 4:55:07 PM
 Subject: Re: Error with Wicket 1.4.6

 quickstart...

 -igor

 On Tue, Feb 2, 2010 at 3:22 AM, Giovanni pino_o...@yahoo.com wrote:
  I upgraded my project from Wicket 1.4.5 to 1.4.6.
 
  After the upgrade, I get the following error on IE6:
 
  quote
  The XML page cannot be displayed.
 
  Cannot view XML input using style sheet. Please correct the error and
  then click the Refresh button, or try again later.
  /quote
 
  On Firefox it is working well.
 
  The previous Wicket 1.4.5 also worked well on both IE6 and Firefox.
 
  What can be the problem? What can I do to fix it?
 
  Please, don't tell me not to use IE6, because I am forced to use it by my
 company. :(
 
  Best regards,
  giovanni
 
 
 

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







-- 
Ad augusta per angusta

Des résultats grandioses par des voies étroites


Re: DatePicker css

2010-02-02 Thread Martin Makundi
Lol.. let me know if you find a good trick for that. We worked around
it by changing the surroundings' relative properties.

**
Martin

2010/2/2 wic...@geofflancaster.com wic...@geofflancaster.com:
 Is it possible to edit the datepicker css? the datepicker is displaying
 behind some other components on my page and i'd like to set the z-index so
 it display on top of everything.

 
 mail2web - Check your email from the web at
 http://link.mail2web.com/mail2web



 -
 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



dropdown doesnot set selected value after setVisible()

2010-02-02 Thread Jeroen Dijkmeijer

Hi,

I'm struggling my way into wicket, I've a sort of wizard like page,  
after the user submits the form, new input fields become visible. I  
also want a textinput field to become visible together with a  
dropdownbox.
In the constructor I fill the choices and set the initial (selected)  
value. After the user submits, I set the textinputfield to be visible,  
which will cause all the components in the surrounded enclosure to  
become visible.
So far so good however the selected value is not recognised and the  
choose one thing is shown. Code snippets are below

Any help is appreciated.
Jeroen
constructor:
..
String pollType = Wanneer;
lijst = new ArrayListString();
lijst.add(Wanneer);
lijst.add(Wie);
lijst.add(Waar);
lijst.add(Wat);
lijst.add(Welk bedrag);
lijst.add(Weet nog niet);
form.add(new ListChoiceString(poll_type, new  
Model(pollType), lijst));

add(form);


inner class:
class SaveButton extends Button {
/**
 *
 */
private static final long serialVersionUID =  
109611211318049267L;


private SaveButton() {
super(save, new ResourceModel(save));
}

@Override
public void onSubmit() {
try {
 
getParent().get(poll_part_header).setVisible(true);


My html code:
wicket:enclosure child=poll_part_header
div class=input-linewicket:message  
key=lbl.poll.part.header[header]/wicket:message

select wicket:id=poll_type size=1/
input wicket:id=poll_part_header type=text  
size=50/

/div
/wicket:enclosure 

Re: Apache Click

2010-02-02 Thread Adrian Wiesmann

An advantage could be that cayenne is supported as a default persistent
solution.


There is not much magic in using Cayenne with Wicket. It depends on your 
needs, but basically this is all you need:


public class DataObjectModel implements IModelCayenneDataObject

Cheers,
Adrian



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



Re: Feedback panel in Modal window

2010-02-02 Thread vermas

Try to add feedbackpanel inside the panel and inside the form.

wicket:panel
form
div wicket:id=feedback id=feedback/div
rest of your html code
/form
/wicket:panel

Thanks


Anna Simbirtsev wrote:
 
 Hi,
 
 I have a feedback panel in Modal window, but for some reason it does not
 work.
 
 div wicket:id=feedback id=feedback/div
 
 contact_form.add(new FeedbackPanel(feedback));
 
 I get the following messages:
 
 WARN  - WebSession - Component-targetted feedback message
 was left unrendered. This could be because you are missing a FeedbackPanel
 on the page.  Message: [FeedbackMessage message = Field
 'contact_postalcode' is required., reporter = contact_postalcode, level =
 ERROR]
 
 In the page source it shows:
 
 div id=feedback wicket:id=feedback
 wicket:panel /wicket:panel
 /div
 
 Thanks,
 
 Anna
 
 

-- 
View this message in context: 
http://old.nabble.com/Feedback-panel-in-Modal-window-tp27408273p27427705.html
Sent from the Wicket - User 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: component .... not found on page

2010-02-02 Thread Eugene Malan
Of course the quickstart worked just fine, so I had to add the layers  
of junk back on to find out where it was going wrong.


Eventually the last thing I added back on was the cause   a broken  
link in the head section.

link rel=shortcut icon href= type=images/x-icon /

Lesson : Make sure you have valid html.  It can manifest itself in non- 
obvious ways...


--
Eugene

PS To the Core Wicket devs ---  Thanks for your hard-work, you make  
people like me look good as we churn out features quickly.



On 02 Feb 2010, at 1:02 PM, Igor Vaynberg wrote:


jira issue, quickstart...

-igor

On Tue, Feb 2, 2010 at 9:31 AM, Eugene Malan eug...@emalan.com  
wrote:

I get the same behavior in  1.4.4  1.4.5  1.4.6

On 02 Feb 2010, at 12:20 PM, Riyad Kalla wrote:


What version of Wicket?

On Tue, Feb 2, 2010 at 10:11 AM, Eugene Malan eug...@emalan.com  
wrote:


I am wrestling with the same Exception. I think I am doing  
something
similar, in that I have a DataView with a link to a detail Page  
and then

I
return to the list page usingsetResponsePage(returnPage);

Different browsers react differently. On my Mac...
Chrome:  gives the Exception on first load of the page.
Safari: gives Exception after a few renderings of the Page.
Firefox: Cannot re-create the Exception.

What browser are you using?

In my instance it is a Link that cannot be found

item.add(new LinkEntry(entryName, new ModelEntry(entry)){

 @Override
 public void onClick() {
 setResponsePage(new OBOEntryViewPage(entry,  
getPage()));

 }

 @Override
 protected void onComponentTagBody(MarkupStream markupStream,
ComponentTag openTag) {
 replaceComponentTagBody(markupStream, openTag,
getModelObject().getName());
 }

});



On 02 Feb 2010, at 9:57 AM, cresc wrote:



Forgot to copy the error message.

Root cause:

org.apache.wicket.WicketRuntimeException: component
content-panel:table-container:table-content:tcontainer:list: 
1:viewDetail

not
found on page  
com.mypackage.ordertracking.client.TrackingHomePage[id =

3],
listener interface = [RequestListenerInterface  
name=IBehaviorListener,

method=public abstract void
org.apache.wicket.behavior.IBehaviorListener.onRequest()]
at


org 
.apache 
.wicket 
.request 
.AbstractRequestCycleProcessor 
.resolveListenerInterfaceTarget 
(AbstractRequestCycleProcessor.java:426)

at


org 
.apache 
.wicket 
.request 
.AbstractRequestCycleProcessor 
.resolveRenderedPage(AbstractRequestCycleProcessor.java:471)

at


org 
.apache 
.wicket 
.protocol 
.http 
.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java: 
144)

at org.apache.wicket.RequestCycle.step(RequestCycle.java:1310)
at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)

So
--
View this message in context:

http://old.nabble.com/component--not-found-on-page-tp27421536p27421759.html
Sent from the Wicket - User 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




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




Re: component .... not found on page

2010-02-02 Thread Igor Vaynberg
right, thus the reason for the quickstart :)

-igor

ps you are welcome

On Tue, Feb 2, 2010 at 2:35 PM, Eugene Malan eug...@emalan.com wrote:
 Of course the quickstart worked just fine, so I had to add the layers of
 junk back on to find out where it was going wrong.

 Eventually the last thing I added back on was the cause   a broken link
 in the head section.
 link rel=shortcut icon href= type=images/x-icon /

 Lesson : Make sure you have valid html.  It can manifest itself in
 non-obvious ways...

 --
 Eugene

 PS To the Core Wicket devs ---  Thanks for your hard-work, you make people
 like me look good as we churn out features quickly.


 On 02 Feb 2010, at 1:02 PM, Igor Vaynberg wrote:

 jira issue, quickstart...

 -igor

 On Tue, Feb 2, 2010 at 9:31 AM, Eugene Malan eug...@emalan.com wrote:

 I get the same behavior in  1.4.4  1.4.5  1.4.6

 On 02 Feb 2010, at 12:20 PM, Riyad Kalla wrote:

 What version of Wicket?

 On Tue, Feb 2, 2010 at 10:11 AM, Eugene Malan eug...@emalan.com wrote:

 I am wrestling with the same Exception. I think I am doing something
 similar, in that I have a DataView with a link to a detail Page and
 then
 I
 return to the list page using    setResponsePage(returnPage);

 Different browsers react differently. On my Mac...
 Chrome:  gives the Exception on first load of the page.
 Safari: gives Exception after a few renderings of the Page.
 Firefox: Cannot re-create the Exception.

 What browser are you using?

 In my instance it is a Link that cannot be found

 item.add(new LinkEntry(entryName, new ModelEntry(entry)){

     @Override
     public void onClick() {
             setResponsePage(new OBOEntryViewPage(entry, getPage()));
     }

     @Override
     protected void onComponentTagBody(MarkupStream markupStream,
 ComponentTag openTag) {
             replaceComponentTagBody(markupStream, openTag,
 getModelObject().getName());
     }

 });



 On 02 Feb 2010, at 9:57 AM, cresc wrote:


 Forgot to copy the error message.

 Root cause:

 org.apache.wicket.WicketRuntimeException: component

 content-panel:table-container:table-content:tcontainer:list:1:viewDetail
 not
 found on page com.mypackage.ordertracking.client.TrackingHomePage[id =
 3],
 listener interface = [RequestListenerInterface name=IBehaviorListener,
 method=public abstract void
 org.apache.wicket.behavior.IBehaviorListener.onRequest()]
 at



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



 org.apache.wicket.request.AbstractRequestCycleProcessor.resolveRenderedPage(AbstractRequestCycleProcessor.java:471)
 at



 org.apache.wicket.protocol.http.WebRequestCycleProcessor.resolve(WebRequestCycleProcessor.java:144)
 at org.apache.wicket.RequestCycle.step(RequestCycle.java:1310)
 at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1428)
 at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)

 So
 --
 View this message in context:


 http://old.nabble.com/component--not-found-on-page-tp27421536p27421759.html
 Sent from the Wicket - User 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



 -
 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



Adding AjaxLink to a DataTable cell

2010-02-02 Thread zkn
Hi,

I'm have a problem adding an AjaxLink to a DataTable cell. Everything works 
fine except that I don't know how to set the text for the link.
The result is that I see only  [cell] as a text in the cell but onClick() 
works fine.

Here is my code:

columns.add(new AbstractColumnBook(new ModelString(Title)) {

public void populateItem(ItemICellPopulatorBook 
cellItem,   String componentId, IModelBook model) {

final Book book = model.getObject();

if (book.getAuthor() == null) {

book.setAuthor( new Author());

AjaxLinkString link = new 
AjaxLinkString(componentId, new ModelString(change author)) {
@Override
public void onClick(AjaxRequestTarget 
target) {


modalWindow.setContent(new 
AuthorSwitchPanel(modalWindow
.getContentId(), new 
ModelAuthor(book.getAuthor(;
modalWindow.show(target);
}
};

cellItem.add(link);
}
else
cellItem.add(new Label(componentId,
new 
PropertyModelAuthor(book.getAuthor(), name)));
}
});




Re: Adding AjaxLink to a DataTable cell

2010-02-02 Thread Igor Vaynberg
search this link for TextLink, or create a panel/fragment that contain
a link and a label

-igor

On Tue, Feb 2, 2010 at 3:04 PM, zkn z...@abv.bg wrote:
 Hi,

 I'm have a problem adding an AjaxLink to a DataTable cell. Everything works 
 fine except that I don't know how to set the text for the link.
 The result is that I see only  [cell] as a text in the cell but onClick() 
 works fine.

 Here is my code:

 columns.add(new AbstractColumnBook(new ModelString(Title)) {

                        public void populateItem(ItemICellPopulatorBook 
 cellItem,   String componentId, IModelBook model) {

                                final Book book = model.getObject();

                                if (book.getAuthor() == null) {

                                    book.setAuthor( new Author());

                                    AjaxLinkString link = new 
 AjaxLinkString(componentId, new ModelString(change author)) {
                                       �...@override
                                        public void onClick(AjaxRequestTarget 
 target) {

                                                modalWindow.setContent(new 
 AuthorSwitchPanel(modalWindow
                                                        .getContentId(), new 
 ModelAuthor(book.getAuthor(;
                                                modalWindow.show(target);
                                        }
                                    };

                                    cellItem.add(link);
                                }
                                else
                                        cellItem.add(new Label(componentId,
                                                        new 
 PropertyModelAuthor(book.getAuthor(), name)));
                        }
 });





Re: Adding AjaxLink to a DataTable cell

2010-02-02 Thread Igor Vaynberg
s/search this link/search this list/

-igor

On Tue, Feb 2, 2010 at 3:06 PM, Igor Vaynberg igor.vaynb...@gmail.com wrote:
 search this link for TextLink, or create a panel/fragment that contain
 a link and a label

 -igor

 On Tue, Feb 2, 2010 at 3:04 PM, zkn z...@abv.bg wrote:
 Hi,

 I'm have a problem adding an AjaxLink to a DataTable cell. Everything works 
 fine except that I don't know how to set the text for the link.
 The result is that I see only  [cell] as a text in the cell but onClick() 
 works fine.

 Here is my code:

 columns.add(new AbstractColumnBook(new ModelString(Title)) {

                        public void populateItem(ItemICellPopulatorBook 
 cellItem,   String componentId, IModelBook model) {

                                final Book book = model.getObject();

                                if (book.getAuthor() == null) {

                                    book.setAuthor( new Author());

                                    AjaxLinkString link = new 
 AjaxLinkString(componentId, new ModelString(change author)) {
                                       �...@override
                                        public void onClick(AjaxRequestTarget 
 target) {

                                                modalWindow.setContent(new 
 AuthorSwitchPanel(modalWindow
                                                        .getContentId(), new 
 ModelAuthor(book.getAuthor(;
                                                modalWindow.show(target);
                                        }
                                    };

                                    cellItem.add(link);
                                }
                                else
                                        cellItem.add(new Label(componentId,
                                                        new 
 PropertyModelAuthor(book.getAuthor(), name)));
                        }
 });





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



on the fly variable BookmarkablePageLink generation

2010-02-02 Thread Timothy Ham
Hi,

Is there a clever way to generate page links on the fly?

I'm trying to allow users to enter wiki like text that automatically
get converted to links to other pages on the site, for example:

User enters:

Look at [[mysite:ThisPage]], [[mysite:ThatPage]]!


Which when saved gets rendered with the proper BookmarkablePageLink to
the appropriately named sites.
I'm having trouble because there are variable number of links, and
it's not clear to me how to add that to Label. I can generate a href
tags and use setEscapeModelStrings(false) on label, but that doesn't
seem very elegant.

Thanks!

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



Re: Save a form's markup

2010-02-02 Thread Branden Tanga
Hello,

This particular form is dynamic, in that it may be different for each user.
As a business rule, I have to be able to build back this exact form as read
only in another part of the application.

What I was doing originally, was parsing all of the wicket components on the
java side, extracting their objectModelAsString and id, and putting those
into an xml. Then when I needed to build the form back as read only, I would
parse the xml and build back the markup. The other day I had an epiphany and
realized, why don't I just store the markup from the original form, it would
be much simpler and less prone to errors.

The only catch is that I have to get the markup with the user input
(checkboxes checked, textboxes with text, etc.). So I need to capture the
state of the markup at the moment that the user hits the submit button on
the form.


To All: As soon as I'm back to my regular desktop I'll work on your
suggestions. Thanks!

Thanks,
Branden Tanga
Programmer / EHR Systems Engineer


On Tue, Feb 2, 2010 at 5:57 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote:

 why?

 -igor

 On Mon, Feb 1, 2010 at 3:41 AM, Branden Tanga branden.ta...@gmail.com
 wrote:
  Hello,
 
  I would like to save a form's markup as a string when the form's submit
  button is pressed. The part that I am having difficulty with is
  understanding how to use wicket to grab a form's rendered markup. I have
 a
  feeling it must be pretty simple, but I'm getting lost in the wicket
  documentation. Any tips?
 
 
 
  Thanks,
  Branden Tanga
  Programmer / EHR Systems Engineer
 

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




Re: Save a form's markup

2010-02-02 Thread Steve Swinsburg
Why don't you just have two pages, one that is the HTML form and submits the 
data, one that gets the data and displays it back again depending on that data. 

Saving the markup is a bad IMO, if the original form needs to change, even 
slightly, you are still using the old markup on the other side. Best to just 
use the data from that form.


cheers,
Steve



On 03/02/2010, at 11:51 AM, Branden Tanga wrote:

 Hello,
 
 This particular form is dynamic, in that it may be different for each user.
 As a business rule, I have to be able to build back this exact form as read
 only in another part of the application.
 
 What I was doing originally, was parsing all of the wicket components on the
 java side, extracting their objectModelAsString and id, and putting those
 into an xml. Then when I needed to build the form back as read only, I would
 parse the xml and build back the markup. The other day I had an epiphany and
 realized, why don't I just store the markup from the original form, it would
 be much simpler and less prone to errors.
 
 The only catch is that I have to get the markup with the user input
 (checkboxes checked, textboxes with text, etc.). So I need to capture the
 state of the markup at the moment that the user hits the submit button on
 the form.
 
 
 To All: As soon as I'm back to my regular desktop I'll work on your
 suggestions. Thanks!
 
 Thanks,
 Branden Tanga
 Programmer / EHR Systems Engineer
 
 
 On Tue, Feb 2, 2010 at 5:57 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote:
 
 why?
 
 -igor
 
 On Mon, Feb 1, 2010 at 3:41 AM, Branden Tanga branden.ta...@gmail.com
 wrote:
 Hello,
 
 I would like to save a form's markup as a string when the form's submit
 button is pressed. The part that I am having difficulty with is
 understanding how to use wicket to grab a form's rendered markup. I have
 a
 feeling it must be pretty simple, but I'm getting lost in the wicket
 documentation. Any tips?
 
 
 
 Thanks,
 Branden Tanga
 Programmer / EHR Systems Engineer
 
 
 -
 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



SwfObject integration with wicket

2010-02-02 Thread Mathias Nilsson
Hi,

I was wondering if anyone has  built swfobject ( javascript ) integration to
wicket? What I want to do is to be able to add a flash swf file and if the
flash isn't detected by the browser have an ajax callback and be able to
hide the component, other resources or add other data to the output.


AbstractAjaxTimerBehaviour sets Transient object to null when same page in opened in new tab

2010-02-02 Thread Lina Thomas
Hi

I have a Page on which I am have to execute a long running task when
a form is submitted.  This is what I do


   1. I have a transient FutureTask member variable in the page
   2. On submit of the form i create a callable and instantiate
   the FutureTask
   3. I start the AbstractAjaxTimerBehaviour which keeps checking if
   the FutureTask is done before it can update a panel in the page with the
   result of the execution.
  - This works fine when I'm on the same page
  - Now if I submit the form and while the AbstractAjaxTimerBehaviour is
  still polling I open the same page *in a new tab* *within the same
  session* then the reference to the FutureTask in the first page
  (previous tab) becomes null.

I couldn't find any solution to this problem. Any help would be greatly
appreciated.

Thanks
-Lina


Re: Strange classloader issues

2010-02-02 Thread Rob Sonke
Thanks, might something caused by a headercontributor, it often involves 
something with ajax or javascript. I'll look into it today


On 2/2/10 10:46 AM, Johan Compagner wrote:

look at your html code
because somehow you get those kind of urls
org.apache.wicket.ajax.WicketAjax%3C/div%3E%3Cdiv%20class=
back to wicket and that seems very weird.
it seems that that is a piece of html with those div and class stuff.

It could also be that this is done by some header contribution ?


On Tue, Feb 2, 2010 at 08:49, Rob Sonker...@tigrou.nl  wrote:

   

Hi,

We're having strange errors on several of our online wicket apps which we
can't reproduce but popping up in the logs everyday. It seems that Wicket in
some way is messing up it's full class names with other stuff like html.
I'll add some examples below.

Is this is an issue, if yes, how can we prevent these errors. And if not,
what causes this?

TP-Processor29 ERROR
org.apache.wicket.request.target.resource.SharedResourceRequestTarget:$L]
unable to lazily register shared resource
org.apache.wicket.ajax.WicketAjax%3C/div%3E%3Cdiv%20class=
java.lang.ClassNotFoundException: org.apache.wicket.ajax.WicketAjax%3C
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
at
org.apache.wicket.application.DefaultClassResolver.resolveClass(DefaultClassResolver.java:111)
at
org.apache.wicket.request.target.resource.SharedResourceRequestTarget.respond(SharedResourceRequestTarget.java:149)
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:1428)
at org.apache.wicket.RequestCycle.request(RequestCycle.java:545)
at
org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:468)
at
org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:301)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

Or:

TP-Processor110 ERROR
org.apache.wicket.request.target.resource.SharedResourceRequestTarget:$L]
unable to lazily register shared resource
maxxton.newyse.web.component.date.picker.UIDa%3C/ul%3E%20%20%3C/div%3E%3C/div%3E%3Cdiv%20class=
java.lang.ClassNotFoundException:
maxxton.newyse.web.component.date.picker.UIDa%3C
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
at
org.apache.wicket.application.DefaultClassResolver.resolveClass(DefaultClassResolver.java:111)
etc..

Regards,
Rob


-
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: [announce] better look modern css for wicket examples contest

2010-02-02 Thread nino martinez wael
Would be nice, but is certainly not for this contest. It's only a design
contest.

Main problem are that the Wicket examples live in Apache context and you
have to be a Apache comitter to add to them. Where as many of the components
are on sourceforge ( wicketstuff ). What could be done on wicketstuff core
was to have a common example like wicket examples.

regards Nino

2010/2/2 Ernesto Reinaldo Barreiro reier...@gmail.com

 I do not know if this fit into the contest but I think it would be nice if
 someone could come-up with an extensible architecture for  the examples
 where components from third party projects could be included... and some
 guidelines for building these extensions... So that we could transform
 the
 examples into Wicket component repository??

 Best,

 Ernesto

 On Tue, Feb 2, 2010 at 7:26 PM, nino martinez wael 
 nino.martinez.w...@gmail.com wrote:

  Hi
 
  Someone mentioned that we could have a better look  feel for wicket,
 since
  there are no designers in the core team. I proposed a contest, to make
 the
  coolest slickest css for wicket. So please feel free to apply.
 
 
  Requirements:
 
  your css should be compatible with the basic browsers, Firefox , IE ,
  Safari
  etc. And retain heavy use of embedded js. And it should be a drop on,
 using
  existing id's  hierachy for design.
 
  Practical info:
 
  The contest ends in 2 months April 2nd.
 
  Get the wicket examples here:
  http://svn.apache.org/repos/asf/wicket/trunk/wicket-examples/
 
  If you need it you can put your css in svn at wicketstuff, write to this
  list for details on howto get commit rights, you should add your css to
  sandbox and sf user name (
  https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/sandbox/).
 
  Yes as with all contest there is a prize, you can win the wicket t-shir
  along with the honor if your css are the winner. This
  http://www.cafepress.com/apachewicket.317298148 or this
  http://www.cafepress.com/apachewicket.317298083 depending on your age :)
 
  Just reply to this thread to enter the contest.
 
  Regards Nino on behalf of the Wicket People
 



Using a DataTable inside a Modal window

2010-02-02 Thread Dennis Buttery
Hi all, 

   I'm trying to get a DataTable to work inside of a Modal window ... 

   I have a DefaultDataTable and is added to a panel which is used as the
content of a modal window.  Everything renders properly when the modal is
opened.  The problem starts when the user tries to navigate to another page
of the table.  At that point they get the Do you want to navigate away...
dialog and if they select 'ok' then the modal closes ...   Reopening the
modal does put them on the correct page but it is not usable to have the
modal close each time navigation to another page is requested. 

   So...   What is the trick to getting the modal to stay open and allow the
user to navigate through the pages of the DataTable? 


Thanks!



Re: Error with Wicket 1.4.6

2010-02-02 Thread Giovanni
OK. Thanks for the explanation.

Best regards,
giovanni






From: Pierre Goupil goupilpie...@gmail.com
To: users@wicket.apache.org
Sent: Tue, February 2, 2010 9:33:16 PM
Subject: Re: Error with Wicket 1.4.6

Hello,

He means that you should open a bug ticket and provide a (Maven) quickstart
project demonstrating the issue, so that Wicket devs can then include it
into their non-regression test framework.

Regards,

Pierre


On Tue, Feb 2, 2010 at 9:14 PM, Giovanni pino_o...@yahoo.com wrote:

 Hello Igor,

 excuse me, I don't understand your reply.

 Can you please explain a little bit more?

 best regards
 giovanni




 
 From: Igor Vaynberg igor.vaynb...@gmail.com
 To: users@wicket.apache.org
 Cc: r.bartolo...@reply.it; d.cappad...@reply.it
 Sent: Tue, February 2, 2010 4:55:07 PM
 Subject: Re: Error with Wicket 1.4.6

 quickstart...

 -igor

 On Tue, Feb 2, 2010 at 3:22 AM, Giovanni pino_o...@yahoo.com wrote:
  I upgraded my project from Wicket 1.4.5 to 1.4.6.
 
  After the upgrade, I get the following error on IE6:
 
  quote
  The XML page cannot be displayed.
 
  Cannot view XML input using style sheet. Please correct the error and
  then click the Refresh button, or try again later.
  /quote
 
  On Firefox it is working well.
 
  The previous Wicket 1.4.5 also worked well on both IE6 and Firefox.
 
  What can be the problem? What can I do to fix it?
 
  Please, don't tell me not to use IE6, because I am forced to use it by my
 company. :(
 
  Best regards,
  giovanni
 
 
 

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







-- 
Ad augusta per angusta

Des résultats grandioses par des voies étroites



  

Very strange exception

2010-02-02 Thread Martin Asenov
Hello guys, I get this exception, when loading a page:

WicketMessage: The component(s) below failed to render. A common problem is 
that you have added a component in code but forgot to reference it in the 
markup (thus the component will never be rendered).

1. [Component id = label]

Root cause:

org.apache.wicket.WicketRuntimeException: The component(s) below failed to 
render. A common problem is that you have added a component in code but forgot 
to reference it in the markup (thus the component will never be rendered).

1. [Component id = label]

 at org.apache.wicket.Page.checkRendering(Page.java:1162)
 at org.apache.wicket.Page.renderPage(Page.java:922)
 at 
org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.respond(BookmarkablePageRequestTarget.java:262)
 at 
org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:105)
 at 
org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1258)
This looks some kind of fake, as long as I don't have any components with 
id=label. Also I examined the catalina.log and found nothing relative to this.
Can someone shed more light on this?

Thanks in regards,
Martin