Re: Form questions

2013-07-18 Thread Daniel Watrous
every time the page is requested, so that I could check for an ID and either create the model or load it from the database? If so, then I just need help with #1. Thanks, Daniel On Wed, Jul 17, 2013 at 10:19 AM, Daniel Watrous dwmaill...@gmail.comwrote: I think I'm getting it now. The Form needs

Re: Form questions

2013-07-17 Thread Daniel Watrous
=cnavFormArea id=cnavFormArea3' (line 0, column 0) I'll keep trying and report back when I figure it out. Daniel On Tue, Jul 16, 2013 at 10:50 PM, Paul Bors p...@bors.ws wrote: Wicket is a MVC component driven framework similar to Swing. In short, what you want to do is create your own Panel

Re: Form questions

2013-07-17 Thread Daniel Watrous
I can make it work if I put the markup from CnavForm.html directly into CnavModify, but the form is not as reusable then. I would have to duplicate the markup for other pages that use the same form... Dnaiel On Wed, Jul 17, 2013 at 9:55 AM, Daniel Watrous dwmaill...@gmail.comwrote: That's

Re: Form questions

2013-07-17 Thread Daniel Watrous
(cnavFormArea); add(form); And added this add(new CnavFormPanel(cnavFormArea)); That works. Thanks for your help. Daniel On Wed, Jul 17, 2013 at 10:07 AM, Daniel Watrous dwmaill...@gmail.comwrote: I can make it work if I put the markup from CnavForm.html directly

FeedbackPanel customization

2013-07-17 Thread Daniel Watrous
the original MessageListView. Can you think of a clean way to eliminate the AttributeListener on listItem? Daniel

Re: FeedbackPanel customization

2013-07-17 Thread Daniel Watrous
something? Daniel On Wed, Jul 17, 2013 at 3:20 PM, Sebastien seb...@gmail.com wrote: Hi Daniel, In such a case, you have to not use getCSSClass, but override newMessageDisplayComponent instead. You have a sample here: https://github.com/sebfz1/wicket-jquery-ui/blob/master/wicket-jquery-ui/src

Re: FeedbackPanel customization

2013-07-17 Thread Daniel Watrous
; } ~ Thank you, Paul Bors -Original Message- From: Sebastien [mailto:seb...@gmail.com] Sent: Wednesday, July 17, 2013 5:21 PM To: users@wicket.apache.org Subject: Re: FeedbackPanel customization Hi Daniel, In such a case, you have to not use getCSSClass, but override

Re: Form questions

2013-07-16 Thread Daniel Watrous
render? Daniel On Tue, Jul 16, 2013 at 12:00 AM, Sven Meier s...@meiers.net wrote: Hi, Some problems I can't figure out. The code to create the button complains that it requires a CnavUrl but gets back a String. add(new Button(publish, model) { @Override public

Form questions

2013-07-15 Thread Daniel Watrous
submission? Is there a best way to incorporate the idea of an edit, where the model is pre-populated from a data source and pre-fills the Form fields? Thanks, Daniel

Re: DI Through Constructors w/Wicket

2013-06-26 Thread Daniel Watrous
I worked out this process: http://software.danielwatrous.com/wicket-guice-including-unittests/ It enables unittests and may help you toward your goal. Daniel On Tue, Jun 25, 2013 at 7:14 PM, William Speirs wspe...@apache.org wrote: I think I know the answer before I ask, but is there any way

Re: Customizing links in Paging

2013-06-25 Thread Daniel Watrous
Thanks Paul, I worked it out and added my solution to a SO question about the same issue: http://stackoverflow.com/questions/4996208/how-do-i-modify-the-markup-generated-by-a-wicket-link-in-a-pagingnavigator It's the newest answer at the bottom. Daniel On Mon, Jun 24, 2013 at 3:26 PM, Paul

Re: Point Form action to Page

2013-06-24 Thread Daniel Watrous
DataProvider. Thanks for your help. Daniel On Sat, Jun 22, 2013 at 10:45 AM, Paul Bors p...@bors.ws wrote: Try the second approach. There would be no query parameters to worry about. You can construct your page by taking as a constructor parameter a POJO that's the model object for the filter

Customizing links in Paging

2013-06-24 Thread Daniel Watrous
all of the Paging related classes down to the PagingNavigationLink in order to customize this behavior. Is there some way to have that active page render inside an a tag with no href? Thanks, Daniel

Point Form action to Page

2013-06-21 Thread Daniel Watrous
, Daniel

Re: Point Form action to Page

2013-06-21 Thread Daniel Watrous
in the o.a.wicket.extensions.markup.html.repeater.data.table.filter package :) ~ Thank you, Paul Bors -Original Message- From: Daniel Watrous [mailto:dwmaill...@gmail.com] Sent: Friday, June 21, 2013 5:13 PM To: users@wicket.apache.org Subject: Point Form action to Page Hi, I have created a Panel that contains a search form. I can't

Re: Point Form action to Page

2013-06-21 Thread Daniel Watrous
the page again, it keeps replacing that query string and so I can't get back to a broad result. Is there some way to clear the search (by clearing the query string parameter)? Daniel On Fri, Jun 21, 2013 at 3:51 PM, Paul Bors p...@bors.ws wrote: class SearchPanel ... { ... add(id, new

form GET and POST getting mixed up

2013-06-12 Thread Daniel Watrous
) ? even : odd; } })); } }; Here's my application where I mount the page mountPage(/cnavlink, CnavDisplay.class); Any ideas? Thanks, Daniel

Re: form GET and POST getting mixed up

2013-06-12 Thread Daniel Watrous
!search.isEmpty()) { dataProvider.setSearch(search); } } }; add(form); form.add(searchField); form.add(submitButton); Thanks, Daniel On Wed, Jun 12, 2013 at 9:39 AM, Daniel Watrous dwmaill...@gmail.comwrote: Hello, I

Paging and excessive database access (repeaters)

2013-06-11 Thread Daniel Watrous
the ContactDataProvider? Thanks, Daniel

Do all POJOs have to implement Serializable?

2013-06-11 Thread Daniel Watrous
... The object type is not Serializable! Do all of my classes have to implement serializable in order to use them in Wicket? Daniel

Re: Paging and excessive database access (repeaters)

2013-06-11 Thread Daniel Watrous
an additional database access by id when the DetachableContactModel is attached. Cheers Marios On Tue, Jun 11, 2013 at 6:56 PM, Daniel Watrous dwmaill...@gmail.com wrote: Hi, I'm following the example in the repeaters section for paging through large amounts of data: http://www.wicket

wicket-guice HttpServletRequest

2013-06-03 Thread Watrous, Daniel
I'm having some trouble getting my unittests to work when I use Guice to get an instance of the HttpServletRequest object. The page works fine when running in jetty, but in the unittests I get these errors. org.apache.wicket.WicketRuntimeException: Can't instantiate page using constructor

Ajax indicator - display delay

2013-03-06 Thread Daniel Stoch
a AbstractDefaultAjaxBehavior (1.4.x) such indicator is shown immediately when request is processed. Is there any solution to delay displaying indicator (something like AjaxCallThrottlingDecorator but not for ajax beahvior but for ajax indicator itself)? -- Best regards, Daniel

Re: [Announce] Introducing Wicked Charts

2013-01-19 Thread Daniel Neugebauer
license but then realize that its dependencies are unfree. Don't get me wrong, your project looks really nice and useful but the license issue should be handled more carefully. A short but prominent notice on your project homepage would be enough. Sorry for spoiling the party. :) Regards, Daniel

WicketURLEncoder: escaping / in parameter value

2012-11-26 Thread Daniel Stoch
should I use PATH_INSTANCE to encode these parameter values instead of QUERY_INSTANCE? I do not use Wicket 6, but maybe the same problem is in that version? -- Best regards, Daniel - To unsubscribe, e-mail: users-unsubscr

Re: WicketURLEncoder: escaping / in parameter value

2012-11-26 Thread Daniel Stoch
, 2012 at 2:28 PM, Daniel Stoch daniel.st...@gmail.comwrote: Hi, I'm using WicketURLEncoder (1.4.18) to encode some parameter values. Exactly WicketURLEncoder.QUERY_INSTANCE, but the problem if parameter value contains / (slash) character, eg.: 1 Mbit/s, which is not escaped. This cause an error

wicket 1.4.7 - encoding strategy - ajax button

2012-11-19 Thread Daniel Fernandez
to the URL. is there any way to avoid that in wicket? or is because Tomcat? Thanks in advance. Daniel Fernandez

Re: Wicket + Guice + unittests

2012-10-16 Thread Daniel Watrous
Martin, In this case it would be just as easy to inject a specific bean. I did it this way because it matched some other examples that I saw. Daniel On Oct 16, 2012 1:08 AM, Martin Grigorov mgrigo...@apache.org wrote: Hi Daniel, public class HomePage extends WebPage { private static

Re: Wicket + Guice + unittests

2012-10-15 Thread Daniel Watrous
between Wicket and Guice is clean and flexible. Thanks again, Daniel On Fri, Oct 12, 2012 at 12:35 PM, Daniel Watrous daniel.watr...@gmail.com wrote: yes, that's what I have in my web.xml On Fri, Oct 12, 2012 at 12:10 PM, Dan Retzlaff dretzl...@gmail.com wrote: Yes, CustomFilter

Re: Wicket + Guice + unittests

2012-10-12 Thread Daniel Watrous
Dan, I'm not talking about my application. I'm talking about unittests. I've followed the Guice recommended way to integrate with servlets using the GuiceFilter. Now I'm trying to make the Wicket unittests work and I need the injector to be available in WicketTester. Daniel On Thu, Oct 11

Re: Wicket + Guice + unittests

2012-10-12 Thread Daniel Watrous
that the wicket filter is called... Daniel On Fri, Oct 12, 2012 at 11:03 AM, Dan Retzlaff dretzl...@gmail.com wrote: I follow you. WicketTester doesn't know about GuiceFilter, so you'll need a different way of getting your Injector into your Wicket Application. Rather than getting the Injector from

Re: Wicket + Guice + unittests

2012-10-12 Thread Daniel Watrous
On Fri, Oct 12, 2012 at 6:01 PM, Daniel Watrous daniel.watr...@gmail.comwrote: Dan, Thanks. I've got unittests running now, but the WicketFilter doesn't seem to be processing. All I get when I run the applicaiton shows a jetty produced directory listing. In the snippet you provided before I

Re: Wicket + Guice + unittests

2012-10-11 Thread Daniel Watrous
into the ServletContext before init() is run in my WicketApplication. Daniel On Wed, Oct 10, 2012 at 6:10 PM, Dan Retzlaff dretzl...@gmail.com wrote: Daniel, What you're doing should work, but I think you're giving your GuiceComponentInjector a null Injector. Unit tests don't go through web.xml to set

Re: Wicket + Guice + unittests

2012-10-10 Thread Daniel Watrous
Thanks Ronan, Can you share the implementation of StubProjectorApplication? That doesn't appear to be part of Wicket or Guice. Daniel On Wed, Oct 10, 2012 at 12:29 PM, Ronan O'Connell ronanoconnell1...@gmail.com wrote: Hi Daniel, I'm using Guice in a couple of wicket projects though my

Re: set locale in cookie

2012-06-10 Thread Daniel Suckow
...@wicket.apache.org -- Daniel Suckow

Re: Wicket and Menu support

2012-04-08 Thread Daniel Neugebauer
Depending on how your menus are supposed to be defined, you could statically put them into your markup or dynamically create them by using a ListView or similar. A nested HTML list structure, as already suggested, usually works best. There are a lot of ready-to-use CSS examples and JavaScript

How to modify attribute (eg. class) in component with setRenderBodyOnly(true) ?

2012-02-22 Thread Daniel Stoch
Hi, Is it possible to modify tag attribute (eg. add a CSS class) of component which has set renderBodyOnly flag to true? When using component.add(new AttributeModifier(...)) it has no effect, because a tag in which this class attribute is appended is not rendered in HTML (because of

Re: How to modify attribute (eg. class) in component with setRenderBodyOnly(true) ?

2012-02-22 Thread Daniel Stoch
a class an that non-existing tag ?! The easiest way is to remove the call to .setRenderBodyOnly(true). On Wed, Feb 22, 2012 at 11:38 AM, Daniel Stoch daniel.st...@gmail.com wrote: Hi, Is it possible to modify tag attribute (eg. add a CSS class) of component which has set renderBodyOnly flag

Re: How to modify attribute (eg. class) in component with setRenderBodyOnly(true) ?

2012-02-22 Thread Daniel Stoch
On Wed, Feb 22, 2012 at 12:11 PM, Martin Grigorov mgrigo...@apache.org wrote: On Wed, Feb 22, 2012 at 12:01 PM, Daniel Stoch daniel.st...@gmail.com wrote: No. I want to have a. When you use this LinkContainer from my example in HTML like: div wicket:id=link /div It will be rendered

Re: How to modify attribute (eg. class) in component with setRenderBodyOnly(true) ?

2012-02-22 Thread Daniel Stoch
On Wed, Feb 22, 2012 at 12:31 PM, Martin Grigorov mgrigo...@apache.org wrote: On Wed, Feb 22, 2012 at 12:20 PM, Daniel Stoch daniel.st...@gmail.com wrote: On Wed, Feb 22, 2012 at 12:11 PM, Martin Grigorov mgrigo...@apache.org wrote: On Wed, Feb 22, 2012 at 12:01 PM, Daniel Stoch daniel.st

Re: Reload html in Wicket + GAE

2012-02-07 Thread Daniel Watrous
(); } } How can I get the Application object? Daniel On Mon, Feb 6, 2012 at 11:43 PM, Martin Grigorov mgrigo...@apache.org wrote: Hi, On Tue, Feb 7, 2012 at 1:32 AM, Daniel Watrous daniel.watr...@gmail.com wrote: Hi, I'm following up on a previous thread that's still unresolved. I would like GAE

Re: Reload html in Wicket + GAE

2012-02-07 Thread Daniel Watrous
for type IntHashMap.Entry; it cannot be parameterized with arguments IModifiable, SetIChangeListener Thanks for any pointers. Daniel On Tue, Feb 7, 2012 at 7:07 AM, Martin Grigorov mgrigo...@apache.org wrote: On Tue, Feb 7, 2012 at 3:53 PM, Daniel Watrous daniel.watr...@gmail.com wrote

Re: Reload html in Wicket + GAE

2012-02-07 Thread Daniel Watrous
to follow http://agilewombat.blogspot.com/2010/01/wicket-on-google-app-engine.html Any pointers? Thanks, Daniel On Tue, Feb 7, 2012 at 8:42 AM, Martin Grigorov mgrigo...@apache.org wrote: Try with java.util.Map.Entry On Tue, Feb 7, 2012 at 5:39 PM, Daniel Watrous daniel.watr...@gmail.com wrote

Re: Reload html in Wicket + GAE

2012-02-07 Thread Daniel Watrous
HashSetIChangeListener. I'm confused that listener is coming back null. Daniel On Tue, Feb 7, 2012 at 9:21 AM, Daniel Watrous daniel.watr...@gmail.com wrote: That helped. I'm getting really close. I'm now getting a null pointer exception in this function        public boolean add(IModifiable modifiable

Re: Reload html in Wicket + GAE

2012-02-07 Thread Daniel Watrous
approach or not, but it works for me and that's fantastic. Daniel On Tue, Feb 7, 2012 at 9:30 AM, Daniel Watrous daniel.watr...@gmail.com wrote: So I was just looking at what I sent along and it seems that putIfAbsent(modifiable, new HashSetIChangeListener()) should return the value component

Re: Reload html in Wicket + GAE

2012-02-07 Thread Daniel Watrous
. Daniel On Tue, Feb 7, 2012 at 12:17 PM, Kayode Odeyemi drey...@gmail.com wrote: Glad you got it working Daniel, as Martin mentioned earlier, I'll appreciate if you can contribute this to existing GaeInitializer or somewhere comfortable with the full code so it can be valuable to us all. Thanks

MulitFileUploadField looses state after validation error

2012-02-06 Thread Daniel Meier
Hi everyone Little advice needed: I have a Form with several TextField's and a MultiFileUploadField. If you select some files to upload and enter some text in the TextFields - after the submit everything is fine. Now if in case some TextField fire a validation error and the page is rendered

Reload html in Wicket + GAE

2012-02-06 Thread Daniel Watrous
/wicket/GAEModificationWatcher.java Those suggest creating a class MyWebRequestCycle extends WebRequestCycle, but wicket 1.5 doesn't have WebRequestCycle. How can I accomplish this same thing in the current version of wicket? Daniel

Re: AJAX Rating extension, multiple on a page

2012-01-23 Thread Daniel Watrous
()); session.getTransaction().commit(); movieList.detach(); } }); } }).setVersioned(false); Daniel On Sun, Jan 22, 2012 at 12:46 PM, armhold armh...@gmail.com wrote: Just to be clear in case it wasn't

form processing for multiple objects

2012-01-23 Thread Daniel Watrous
I have populated a form with values representing several different objects. This is what my markup looks like: form wicket:id = moviesForm id = moviesForm span wicket:id = movies id = movies a wicket:id = removeLink(remove)/a

Re: form processing for multiple objects

2012-01-23 Thread Daniel Watrous
(); } }); } }).setVersioned(false); I suppose that means that I'm not actually adding new items to the list as a form. Maybe what I need is to treat the entire component as a form from the beginning. I'm just not sure exactly how to do that. Any ideas? Daniel On Mon

Re: form processing for multiple objects

2012-01-23 Thread Daniel Watrous
rendered so that I can update them one by one. That's where I'm failing. That Form and onSubmit are defined outside of the PropertyListView. I'm sorry if I'm not explaining this very well. Daniel On Mon, Jan 23, 2012 at 9:27 AM, Daniel Watrous daniel.watr...@gmail.com wrote: The problem is that I

Re: form processing for multiple objects

2012-01-23 Thread Daniel Watrous
();               for (Movie movie : listView.getModelObject()) {                   session.save(movie);               }               session.getTransaction().commit();           } Hope this helps Sven Am 23.01.2012 17:27, schrieb Daniel Watrous: The problem is that I can't seem to access the form

Re: form processing for multiple objects

2012-01-23 Thread Daniel Watrous
to the my onSubmit() method in the form. Thank you so much for your help. Daniel On Mon, Jan 23, 2012 at 10:20 AM, Sven Meier s...@meiers.net wrote: How about this:  http://paste.pocoo.org/show/539346/ Sven Am 23.01.2012 17:53, schrieb Daniel Watrous: Here's a little more code. You can see

Weekend in Wicket

2012-01-23 Thread Daniel Watrous
, and thanks for all your replies to my questions :) http://software.danielwatrous.com/software-engineering/java-wicket-and-hibernate-on-ec2-pre-interview-project Daniel - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org

Can't instantiate page using constructor

2012-01-21 Thread Daniel Watrous
When I build my wicket project I'm getting the following error Tests in error: homepageRendersSuccessfully(com.danielwatrous.movieratings.TestHomePage): Can't instantiate page using constructor 'public

Re: Can't instantiate page using constructor

2012-01-21 Thread Daniel Watrous
That was the only error produced when running build. However, I tried running the server (jetty:run) anyway and found it started and provided a stack trace when I loaded the homepage. That helped me to solve my problem. I had errors outside of wicket, related to hibernate. Thank you, Daniel

Re: What to add to pom.xml to use hibernate?

2012-01-21 Thread Daniel Watrous
Thank you. That link helped be get this working. Daniel On Sat, Jan 21, 2012 at 1:32 AM, Per Newgro per.new...@gmx.ch wrote: Hmm. Firstly you ask the wrong list. Hibernate is off topic. At second - did you do a search? With maven hibernate i found this link quickly: http://stackoverflow.com

guestbook application with database update

2012-01-21 Thread Daniel Watrous
fresh load. I did try resetting movieList in the onSubmit function to load the current database items into the variable movieList, but that still doesn't update the list. Any idea how to update movieList after each new item is submitted. Daniel

Re: guestbook application with database update

2012-01-21 Thread Daniel Watrous
This worked GREAT! Thank you. On Sat, Jan 21, 2012 at 2:51 PM, Sven Meier s...@meiers.net wrote: Use a LoadableDetachableModel to load a fresh list of movies on each request. Sven On 01/21/2012 10:35 PM, Daniel Watrous wrote: I'm creating a small app based on the guestbook: http

AJAX Rating extension, multiple on a page

2012-01-21 Thread Daniel Watrous
between ...movies-_-rating... (where the underscore is) is different for each group. Is there some direct way to access information about the URL or to modify this extension to pass the record information along with it? Thanks, Daniel

What to add to pom.xml to use hibernate?

2012-01-20 Thread Daniel Watrous
I'm interested in using hibernate in my wicket application, but I can't find any up to date examples combining the two. Is there something other than hibernate that the wicket community uses for ORM? If not, what can I add to the pom.xml file to include hibernate. I tried adding this:

does the breadcrumb extension support bookmarkable links?

2012-01-18 Thread Daniel Watrous
and found only a handful of references to creating bookmarkable pages instead of panels, but before I went too far down that road I wanted to ask if it's possible and straight forward. Thanks, Daniel - To unsubscribe, e-mail: users

Re: Wicket on Google App Engine

2012-01-06 Thread Daniel Watrous
Rahman, From the error that you show in your link it appears that your application can't find the WicketFilter class. Are you sure that you copied the three wicket jar files (core, util, request) to your WEB-INF/lib folder? Daniel On Fri, Jan 6, 2012 at 7:28 AM, Rahman USTA rahman.usta

Re: Wicket on Google App Engine

2012-01-06 Thread Daniel Watrous
of future projects. Daniel On Fri, Jan 6, 2012 at 3:39 AM, Hielke Hoeve hielke.ho...@topicus.nl wrote: Hey Daniel, Glad to hear you got it working as well. I have some apps on google app engine  as well. Tried all the tutorials and 'useful' maven plugins but all just didn't do the trick

Re: Wicket on Google App Engine

2012-01-06 Thread Daniel Watrous
This time I think you didn't include the gae-initializer jar in your WEB-INF/lib directory. On Fri, Jan 6, 2012 at 8:50 AM, Rahman USTA rahman.usta...@gmail.com wrote: i handled them, but now server is giving me internal error, http://chopapp.com/#8lc105ni 2012/1/6 Daniel Watrous daniel.watr

Re: Wicket on Google App Engine

2012-01-06 Thread Daniel Watrous
You might be clever enough to do it in maven. I wasn't, so I added the jar files like I show in my tutorial. On Fri, Jan 6, 2012 at 8:55 AM, Rahman USTA rahman.usta...@gmail.com wrote: i did it in pom.xml, why must i add jars to lib manually? cant i do it with maven? 2012/1/6 Daniel Watrous

Re: Wicket on Google App Engine

2012-01-06 Thread Daniel Watrous
that it took me three days to finally get wicket going on GAE and the result of that is the tutorial I put together. If you have something in mind other than what I documented then I'm not going to be much help. Daniel On Fri, Jan 6, 2012 at 9:00 AM, Rahman USTA rahman.usta...@gmail.com wrote: Now

Re: Wicket on Google App Engine

2012-01-05 Thread Daniel Watrous
Thanks for all your help. I've just posted the steps required to get current versions of wicket and gae to work together. http://software.danielwatrous.com/software-engineering/wordpress-plugin-licensing-wicket-on-google-app-engine Daniel On Thu, Jan 5, 2012 at 12:46 AM, Ernesto Reinaldo

Re: Wicket on Google App Engine

2012-01-04 Thread Daniel Watrous
How do I create the gae-initializer.jar? I have run mvn compile and generated the class files. I can zip those up, but I'm not sure if there should be a META-INF folder and what it should have. Daniel On Wed, Jan 4, 2012 at 12:21 AM, Martin Grigorov mgrigo...@apache.org wrote: Hi, gae

Re: Wicket on Google App Engine

2012-01-04 Thread Daniel Watrous
Also, where do I put the wicket.properties file, and do I need to update any xml files to indicate that there is a wicket.properties file On Wed, Jan 4, 2012 at 11:30 AM, Daniel Watrous daniel.watr...@gmail.com wrote: How do I create the gae-initializer.jar? I have run mvn compile

Re: Wicket on Google App Engine

2012-01-04 Thread Daniel Watrous
Is that the same thing as adding the jar file to the build path in eclipse? How do I build gae-initializer.jar? I tried running 'mvn jar', but it gave an error about unknown lifecycle phase. Daniel On Wed, Jan 4, 2012 at 11:38 AM, Sven Meier s...@meiers.net wrote: Hi Daniel, you just have

Re: Wicket on Google App Engine

2012-01-04 Thread Daniel Watrous
) at java.lang.ClassLoader.loadClass(Unknown Source) ... 35 more Since gae-initializer did compile when I compiled with maven I also tried simply putting the compile classes next to my other classes for the deployment, but it still gives this error. Thanks for all your help. Daniel On Wed, Jan 4, 2012 at 11

Re: Wicket on Google App Engine

2012-01-04 Thread Daniel Watrous
sure you have compatible versions for Wicket and gae-initializer, i.e. they should be the same. Sven On 01/04/2012 08:49 PM, Daniel Watrous wrote: I'm slowly making progress. I see now that what Sven replied with goes in the pom.xml. What I'm not sure of is if I still need a jar file

Re: Wicket on Google App Engine

2012-01-04 Thread Daniel Watrous
are updated without requiring a restart. Do you know how to make it so the HTML files are updated in the live server? Thanks so much. Daniel On Wed, Jan 4, 2012 at 1:38 PM, Sven Meier s...@meiers.net wrote: With maven it's very easy, just add the dependency to your pom as suggested and forget

Re: Wicket on Google App Engine

2012-01-04 Thread Daniel Watrous
folder. Could this affect it? Have I missed another setting somewhere that relates to changing where the compiled classes are placed? Daniel On Wed, Jan 4, 2012 at 3:01 PM, Sven Meier s...@meiers.net wrote: Read here:    https://cwiki.apache.org/WICKET/faqs.html#FAQs-Deployment The relevant

Handling POST, PUT and DELETE from a resource

2012-01-04 Thread Daniel Watrous
I'm building a web service and I wonder if there's some way to detect and do something unique when calling a ResourceReference with different HTTP methods. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For

Re: Handling POST, PUT and DELETE from a resource

2012-01-04 Thread Daniel Watrous
That's a fantastic answer. I'll look at other solutions. Daniel On Wed, Jan 4, 2012 at 7:03 PM, 7zark7 7za...@gmail.com wrote: I know these sort of replies are annoying, but I don't think Wicket is a good choice for handling web service calls - it's pretty easy to map other paths

Wicket on Google App Engine

2012-01-03 Thread Daniel Watrous
eclipse and end up with a functional wicket application... I'm not sure what other information to include at this point. Please share any pointers or links to other tutorials that might help me. Daniel - To unsubscribe, e-mail

Re: Throwing RestartResponseException within RequestCycleListener [1.5 - incl. quickstart]

2011-12-14 Thread Daniel Soneira
)) On Wed, Dec 14, 2011 at 4:20 PM, Daniel Soneira daniel.sone...@joyn-it.at wrote: Hi there, Throwing a RestartResponseException in a custom RequestCycleListener does not yield the result I was hoping for. Instead of redirecting to the specified page the DefaultExceptionMapper only shows

Re: Throwing RestartResponseException within RequestCycleListener [1.5 - incl. quickstart]

2011-12-14 Thread Daniel Soneira
(since it worked in 1.4) I suggest this to be stated in its JavaDoc. I'm also not sure in which cases it _IS_ considered to be OK to do so?! Cheers, Daniel - - - - - - - - Side note: The resetting of the response was in the right direction but only doing it AFTER setting a new request handler

FileUpload vs. CryptoURL in Wicket 1.5

2011-12-08 Thread Daniel Weidele
Hello, i'm, experiencing a problem with FileUpload within a ModalWindow when enabling the CryptoURLMapper in my application as being done in Wicket 1.5 via the following: setRootRequestMapper(new CryptoMapper(getRootRequestMapper(), this)); Is there any possibility to take out the fileupload

Re: Download file from ModalWindow problem

2011-12-08 Thread Daniel Weidele
Have you tried to put modal itself inside of another form, too? Am 08.12.2011 um 13:29 schrieb heapifyman heapify...@gmail.com: Hello again. Here's some more information about my problem: in the ModalWindow's SubmitButton's onSubmit() I call at the end: ModalWindow.closeCurrent(target);

Re: Download file from ModalWindow problem

2011-12-08 Thread Daniel Weidele
=checkGroup div wicket:id=dataContainer/div /wicket:container div wicket:id=downloadDialog/div wicket:panel 2011/12/8 Daniel Weidele daniel.weid...@uni-konstanz.de Have you tried to put modal itself inside of another form, too? Am 08.12.2011 um 13:29 schrieb heapifyman heapify

RE: best way to accommodate dynamic properties

2011-12-05 Thread Daniel Watrous
/to/image.gif;); myImg.setWidth(200); myImg.setHeight(100); add(myImg); } } Obviously the Image class doesn't work that way... Can someone tell me how I would accomplish this so that I can define the image, height and width independent from the markup? Daniel

AbstractAjaxTimerBehavior with restart ability

2011-12-02 Thread Daniel Stoch
to 1.5 ;). -- Daniel - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Apache Wicket is a Flawed Framework

2011-11-18 Thread Daniel Neugebauer
I was searching for a Java framework two years ago because I wanted server-side persistence and a statically typed language with the option for easy AJAX and debugging while the output markup is largely maintained the way I wrote the templates. I think I found Wicket via DZone due to the 1.4

Re: Display HTML in Label with validation

2011-09-16 Thread Daniel Stoch
Thanks for your suggestion. But I need to validate a fragment of HTML, but it seems that HtmlDocumentValidator validates only whole documents. From my point of view the following texts are valid HTML fragments: - This is sample text - bThis is/b sample pparagraph/p -- Daniel On Thu, Sep 15

Display HTML in Label with validation

2011-09-15 Thread Daniel Stoch
mechanisms to parse this HTML first to check if I can display it on page? There are some parsers within framework... -- Daniel - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h

setRenderAllowed called for invisible components

2011-09-05 Thread Daniel Stoch
of the links components (created in previous request) setRenderAllowed(...) method is called. I have a quickstart app to simulate this, but I don't know is it a bug and should I create JIRA issue for this? -- Daniel

Re: setRenderAllowed called for invisible components

2011-09-05 Thread Daniel Stoch
Wicket 1.4.18 On Mon, Sep 5, 2011 at 12:29 PM, Daniel Stoch daniel.st...@gmail.com wrote: Hi, Is it a valid behavior that setRenderAllowed(...) method is called for invisible components (components that are not visible in hierarchy). I have a use case with DataView component displaying list

Re: setRenderAllowed called for invisible components

2011-09-05 Thread Daniel Stoch
DataView because it is not visible and calling setRenderAllowed for these subitems is a bug for me. -- Daniel On Mon, Sep 5, 2011 at 4:21 PM, Andrea Del Bene adelb...@ciseonweb.it wrote: Hi, I'm not completely  sure, but setRenderAllowed is called to check rendering authorization, so it should

Re: new user registration email verification

2011-06-29 Thread Daniel Neugebauer
It's like you already said in your first mail. For one of our websites the behaviour is: 1) generate some kind of a random, unique token s.th. like UUID.randomUUID().toString() 2) register token to user in database 3) email link including the token to the user (use a readily available

Re: Wicket / Hibernate / Databinder (dead?)

2011-05-28 Thread Daniel Toffetti
and Wicket, please check here: https://github.com/kryptt, last updates are from April 5. Cheers, Daniel -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-Hibernate-Databinder-dead-tp3557635p3557902.html Sent from the Users forum mailing list archive at Nabble.com

Re: [VOTE] Behavior of CheckBox With Respect to setRequired(true)

2011-04-01 Thread Daniel Neugebauer
the CheckBox is actually checked. Just my 2 cents, Daniel - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: flexible authentication

2011-03-30 Thread Daniel Neugebauer
classes, they could go into a (static) method, maybe in a super class. If there's (yet) another good place to put such checks in, I would be interested in it as well. :) Bye, Daniel - To unsubscribe, e-mail: users-unsubscr

Re: Extend AjaxFormComponentUpdatingBehavior functionality for required FormComponents

2011-02-18 Thread Daniel Stoch
AjaxFormComponentUpdatingBehavior because onEvent() is final. I want to avoid copy/paste code with only a little change. And I think this change is very useful. But ok, I understand you, so I'll implement it by myself. But always is good to try convince you first :). -- Daniel

Re: Extend AjaxFormComponentUpdatingBehavior functionality for required FormComponents

2011-02-18 Thread Daniel Stoch
between ajax and non-ajax functionality. My case is to allow the same behavior for ajax calls. -- Daniel - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Extend AjaxFormComponentUpdatingBehavior functionality for required FormComponents

2011-02-18 Thread Daniel Stoch
It can be called with null value when you set DropDownChoice.setNullValid(true). You don't want to understand that this is a good behavior in many cases, not a bug. But ok it is your framework, so you decide. But maybe other Wicket commiters have a different feeling about it? -- Daniel On Fri

Re: Extend AjaxFormComponentUpdatingBehavior functionality for required FormComponents

2011-02-18 Thread Daniel Stoch
On Fri, Feb 18, 2011 at 10:09 AM, Daniel Stoch daniel.st...@gmail.com wrote: My post was only a proposal, because it is not possible to easy extend AjaxFormComponentUpdatingBehavior because onEvent() is final. I want to avoid copy/paste code with only a little change. And I think this change

<    1   2   3   4   5   6   >