Re: [Wicket-user] Help understanding component creation

2005-11-04 Thread Eelco Hillenius
in your markup, and finally we end up with Wicket Server Pages: > JSP in another language. > > Having the expressions in one place and one place only is one of > Wickets strengths: it is clear, simple and sensible. > > Martijn > > On 11/4/05, Eelco Hillenius <[EMAIL PROTECT

Re: [Wicket-user] Re: Dynamic text in Javascript's alert box

2005-11-05 Thread Eelco Hillenius
Yeah, there's no scripting in Wicket. Everything has to be full components etc. What you can do however, is create a component that generates the whole javascript for you, e.g. working with string replacements. Best way to start with that is looking at the sources of some Wicket component, like lab

Re: [Wicket-user] My take on Spring integration

2005-11-06 Thread Eelco Hillenius
I see absolutely nothing wrong with lookups at that level. It's less code than you would need for any component configuration and it's more efficient too. And there are just no disadvantages, are there? And... for this whole discussion: if you like one approach... go implement it now! Create your

Re: [Wicket-user] Servlet forward to a JSP

2005-11-06 Thread Eelco Hillenius
Sure. Use wicket.markup.html.pages.RedirectPage for server-side redirecting to a non-wicket locations. If you want to inlcude things likes JSP pages into Wicket pages, you can use the wicket.markup.html.include.Include component. The latter is a bit rough, so if you need better support on that one,

Re: [Wicket-user] Re: Servlet forward to a JSP

2005-11-06 Thread Eelco Hillenius
not output any markup, and then forward the > request to another servlet, not include or redirect. Thanks. > > On 2005-11-06 15:38:06 -0700, Eelco Hillenius <[EMAIL PROTECTED]> said: > > > Sure. Use wicket.markup.html.pages.RedirectPage for server-side >

Re: [Wicket-user] where do I put controller/dispatcher logic?

2005-11-07 Thread Eelco Hillenius
And you are sure the queries you want to run are page/ component independent, right? What you are doing is request based, which is fine, but which is not nescesarily a component based way of doing things. Eelco On 11/7/05, Steven McNeel <[EMAIL PROTECTED]> wrote: > Hello, > > I think I've read a

Re: [Wicket-user] My take on Spring integration

2005-11-07 Thread Eelco Hillenius
That kind of hooks exist. One of our goals for 1.2 is to further formalize this, and also have better pluggable support for url handling and state handling. We are getting some ideas on how this could look, but it is stuff you really have to think through well. Eelco On 11/7/05, Sven Meier <[EMA

Re: [Wicket-user] Question about AJAX and Wicket

2005-11-08 Thread Eelco Hillenius
In the HEAD (1.2 dev) version of Wicket we now have beta support for partial rendering (e.g. rendering of 1 panel). You probably need that to elegantly build what you want. It's still working on the frontier (though some simpler ajax components are available now), but please try and implement. Tha

Re: [Wicket-user] Question about AJAX and Wicket

2005-11-08 Thread Eelco Hillenius
AIL PROTECTED]> wrote: > I'll give it a shot. To be honest, I'd really like some more docs about the > AJAX stuff. I've looked at the examples and they don't really provide the > high-level overview I need to get my head around it. > > > On 11/8/0

Re: [Wicket-user] remove jsessionid in first page

2005-11-08 Thread Eelco Hillenius
There is no way for Wicket to remove jsessionid (at least no legal way). It's your servlet container that appends it. When you support cookies however, there should be no need to encode this id in the url, and I think some servlet engines don't append it if this is the case. Eelco On 11/8/05, pe

Re: [Wicket-user] remove jsessionid in first page

2005-11-08 Thread Eelco Hillenius
jsessionid in > in the URL. The hardest thing: to distinguish that jsessionid is in > the URL. See this discussion for relevant information: > > http://marc.theaimsgroup.com/?l=struts-user&m=111886657513840&w=2 > > Michael. > > On 11/8/05, Eelco Hillenius <[EMAIL PROTEC

Re: [Wicket-user] PageableGridDataView and IDataProvider

2005-11-08 Thread Eelco Hillenius
I don't know much about that package, but afaik the dataview project will be dropped in favor of the extensions project. Eelco On 11/8/05, Gili <[EMAIL PROTECTED]> wrote: > Hi, > > I'm trying to use recompile code that uses PageableGridDataView which > used to work. The problem is that P

Re: [Wicket-user] where do I put controller/dispatcher logic?

2005-11-09 Thread Eelco Hillenius
There sure is a mismatch; component based frameworks emerged because of the mismatch Model 2 frameworks with page parts. Requests in Model 2 frameworks map to page wide actions. The controller/ view handler has to ensure the state of all elements of the page are kept in sync and rendered correctly.

Re: [Wicket-user] i18n messages in HTML

2005-11-09 Thread Eelco Hillenius
Problem with that is that is not valid xml. Eelco On 11/9/05, Andrew Berman <[EMAIL PROTECTED]> wrote: > I like as long as it would work how normal JSP > tags currently work. In other words, I would be able to do this: > > > > or > > >alert(""); > > > > -

Re: [Wicket-user] Using another container?

2005-11-09 Thread Eelco Hillenius
Sure. You need nothing special for Wicket to work with any servlet container. Just configure as you like/ use plugins from your IDE. Eelco On 11/9/05, Paulo Sérgio Medeiros <[EMAIL PROTECTED]> wrote: > How can i use tomcat instead of Jetty? (is there a 'tomcat-config.xml' > somewhere to configur

Re: [Wicket-user] i18n messages in HTML

2005-11-09 Thread Eelco Hillenius
Most of em do, though we all have kind of our different 'expertises'. The currently active developers are yours truly, Juergen, Johan, Igor and Martijn, though Martijn is mainly doing site/ builds/ promotion etc. Gwyn is the man for Wiki. Jonathan is not really active, but does some work in the bac

Re: [Wicket-user] Re: where do I put controller/dispatcher logic?

2005-11-10 Thread Eelco Hillenius
If they are not in the scope of components but in the scope of a request, than it's fine to put the logic in a custom request cycle. Nothing wrong with that. Just wanted to make sure you have to be in that scope :) Eelco On 11/10/05, Steven McNeel <[EMAIL PROTECTED]> wrote: > Thanks for all the

Re: [Wicket-user] i18n messages in HTML

2005-11-10 Thread Eelco Hillenius
I think/ agree that while Wicket's strong point lies in the fact that we keep things clean and code-centric, having easy localized string replacement without going through the whole requirement of having Wicket components in a matching hierarchy is a very good exception to the rule. Eelco On 11/

Re: [Wicket-user] eclipse refactoring plugin

2005-11-11 Thread Eelco Hillenius
It is possible; you can implement a strategy for that. It's super-easy nor is it a prefered way of doing things, so imo such a plugin doesn't have to support it. Eelco On 11/11/05, Alexandru Popescu <[EMAIL PROTECTED]> wrote: > #: Martijn Dashorst changed the world a bit at a time by saying on

Re: [Wicket-user] wicket bench 0.1.0

2005-11-12 Thread Eelco Hillenius
Thanks! Would you feel like combining efforts with the stuff that Igor did (and that's in wicket-stuff cvs as wicketeer)? Eelco On 11/12/05, Joni Suominen <[EMAIL PROTECTED]> wrote: > I just released a new version of wicket plugin for eclipse. > http://www.laughingpanda.org/mediawiki/index.php/W

Re: [Wicket-user] wicket bench 0.1.0

2005-11-12 Thread Eelco Hillenius
Isn't it a bit strange that Eclipse downloads all these org.eclipse.* jars as dependencies, while it should have that already? Eelco On 11/12/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > Thanks! Would you feel like combining efforts with the stuff that Igor > did (and that&

Re: [Wicket-user] remove jsessionid in first page

2005-11-12 Thread Eelco Hillenius
Why? It's part of the default header info whether a client accepts cookies or not isn't it? Eelco On 11/12/05, Phil Kulak <[EMAIL PROTECTED]> wrote: > App servers HAVE to put that in the first URL, because it's really the > second (because of the redirect). The server doesn't know if the > clien

Re: [Wicket-user] Portlet support?

2005-11-13 Thread Eelco Hillenius
Ate Douma (Jetspeed) worked on that some time ago, and expressed he wants to help build it in for Wicket 1.2. However, Ate has been very bussy for quite a while now, and I don't know whether he'll have time soon. We kind of had the agreement portlet support should be in Wicket medio Januari. Sound

Re: [Wicket-user] Re: wicket bench 0.1.0

2005-11-13 Thread Eelco Hillenius
thing but have a > > > > slight preference over the latter. I prefer svn over cvs and laughing > > > > panda will offer other cool services like cruisecontrol and jira (soon). > > > > > > > > Joni > > > > > > > > On Sat, 2005-11-12 at 12:52

Re: [Wicket-user] Re: Keeping images outside of WEB-INF

2005-11-14 Thread Eelco Hillenius
Or use public class SimpleImage extends WebComponent { public SimpleImage(String id, String imgSrc) { super(id, new Model(imgSrc)); } public SimpleImage(String id, IModel imgSrcModel) { super(id, imgSrcModel); } protected v

Re: [Wicket-user] Fwd: [Wicket-develop] [ wicket-Bugs-1357506 ] Can't add label to WebMarkupContainer

2005-11-15 Thread Eelco Hillenius
Just an idea Juergen... could that be related to the fact that is one of those tags we allow to be unbalanced (doesn't need a closing tag)? Eelco On 11/15/05, Scott Sauyet <[EMAIL PROTECTED]> wrote: > Phil Kulak wrote: > > Here we go. Right now you'll get a RuntimeException. Change the ps to > >

Re: [Wicket-user] Re: Keeping images outside of WEB-INF

2005-11-15 Thread Eelco Hillenius
Although that shouldn't be a label as there is no body to replace. Just a WebMarkupContainer, or in this case even better a WebComponent suffices. Eelco On 11/15/05, Scott Sauyet <[EMAIL PROTECTED]> wrote: > > = James Yong <[EMAIL PROTECTED]> > >> = Johan Compagner gmail.com> > > >> If you c

Re: [Wicket-user] If/Else component display

2005-11-15 Thread Eelco Hillenius
Sounds to me you are looking for something more special purpose :) Why don't you create a panel factory or something similar? You could make container components that would allow you to do a if/else like construction in your markup, but I wouldn't be a big fan of that. I think working with panels

Re: [Wicket-user] Preserve form state

2005-11-16 Thread Eelco Hillenius
I have been following the discussion from a distance and to me it seems that all solutions that are proposed are rather 'hackish' and make things more difficult to understand too. First of all, let's agree that your use case is not a typical one. We shouldn't make core adjustements that would make

Re: [Wicket-user] Preserve form state

2005-11-16 Thread Eelco Hillenius
On 11/16/05, Laurent PETIT <[EMAIL PROTECTED]> wrote: > Hello Eelco, > > > First of all, let's agree that your use case is not a typical one. We > > shouldn't make core adjustements that would make things easier for 5% > > but harder for 95% of the cases. > > Not sure if you're talking about Matej'

Re: [Wicket-user] Preserve form state

2005-11-16 Thread Eelco Hillenius
e, > without attributes, values from these fields would be displayed. > On regular form submit, model would be updated and these fields cleaned. > > Right now, it's not quite possible to do it this way, because > FormComponent.getValue() is final (Is this necessary?). > > -M

Re: [Wicket-user] There must be some docs somewhere?

2005-11-16 Thread Eelco Hillenius
Well, there's: wicket-contrib-spring-examples wicket-contrib-examples wicket-contrib-examples-hibernate3 wicket-contrib-freemarker wicket-contrib-fvalidate wicket-contrib-gmap wicket-contrib-gmap-examples wicket-contrib-groovy wicket-contrib-jasperreports wicket-contrib-navmenu wicket-contrib-pale

Re: [Wicket-user] There must be some docs somewhere?

2005-11-16 Thread Eelco Hillenius
out '.', which pulls the entire wicket-stuff project, > including all the modules you listed. > > --sam > > > On 11/16/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > Well, there's: > > > > wicket-contrib-spring-examples > > wicket

Re: [Wicket-user] Preserve form state

2005-11-17 Thread Eelco Hillenius
It would be nice if this thread ended up with some recommendations on how the (default) form processing itself might be enhanced in order to support complex validation/ model updating. Just a note to say that it's okay to send in patches that touch wicket-core :) Eelco -

Re: [Wicket-user] CompoundPropertyModel without OGNL in 1.1

2005-11-17 Thread Eelco Hillenius
How about the percentage it takes up in comparison of the total computing for one request? Any other bottlenecks you can identify? Or was - like Johan said - OGNL one of the biggest hurdles? Eelco On 11/17/05, Matej Knopp <[EMAIL PROTECTED]> wrote: > Okay, I took CompoundPropertyModel from 1.2 an

Re: [Wicket-user] Wicket for tapestry users

2005-11-17 Thread Eelco Hillenius
A lot of tbd :) I think if you want to compare, there's nothing that beats taking a look at code. Wicket has e.g. a hangman example and a component reference (part of wicket-examples); if you take a look at that code, and maybe try something yourself, you should get a fairly good idea. Some of the

Re: [Wicket-user] There must be some docs somewhere?

2005-11-17 Thread Eelco Hillenius
Martijn and I are writing Wicket In Action currently. We're not using the gradual examples thing like e.g. Tapestry In Action has because we don't like it that much. Maybe Martijn more than me, but I thought such a book-wide example is too far fetched to be useful. Personally, I am much more charme

Re: [Wicket-user] There must be some docs somewhere?

2005-11-17 Thread Eelco Hillenius
nking setting up a support company for Wicket. I would need it for several things, giving official Wicket support being one of them. If demand is large enough, such a company can be fact in a few months from now. Eelco On 11/17/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > Martijn and I are

Re: [Wicket-user] Re: Strange PasswordTextField behaviour

2005-11-18 Thread Eelco Hillenius
Yeah. It was a feature. Eelco On 11/18/05, Laurent PETIT <[EMAIL PROTECTED]> wrote: > The password text field, when resetPassword=false, is always > re-rendered with the value of the model ... > > On 11/18/05, Laurent PETIT <[EMAIL PROTECTED]> wrote: > > Hello, > > > > When delving into the code,

Re: [Wicket-user] wicket-contrib-jasperreports img resource bug

2005-11-20 Thread Eelco Hillenius
Thanks, it's fixed. Eelco On 11/20/05, Matej Knopp <[EMAIL PROTECTED]> wrote: > Hi, > > there's a bug in JRImageResource that the size of output image does not > reflets the zoom. (It's always the same - iamage than gets cropped). > > I wanted to submit a bugreport and commit a patch but I can't

Re: [Wicket-user] Re: There must be some docs somewhere?

2005-11-20 Thread Eelco Hillenius
I don't agree with wicket-contrib-data being obsolete. What happened is that I created some basic Hibernate support classes last year, and that other people commented that they didn't like them so much, and wanted to add alternatives. From there it grew into the bunch a quasi related classes it is

Re: [Wicket-user] Wicket + Sitemesh - Page truncation problem

2005-11-21 Thread Eelco Hillenius
In case you have a small test project or something, I would be very interested in taking a look at that and see if there's anything we need to do to make Wicket behave better with sitemesh. There has been more interest in it, so we might setup a small project for it too (wicket-stuff). Eelco On

Re: [Wicket-user] Re: There must be some docs somewhere?

2005-11-21 Thread Eelco Hillenius
t this is our official > way to do RAD integration with hibernate? i honestly hope no one would. That > is why in my previous email i asked for a concrete list of > features/requirements so that we can put something together that will please > most people, call it official, and put this

Re: [Wicket-user] wicket-contrib-jaspperreports JRResource optimalization

2005-11-21 Thread Eelco Hillenius
Thanks. Much better now. I implemented a couple of small changes on top of it, please check out whether you agree (find the patch attached). Eelco > > Matej Knopp wrote: > > Hi. > > > > There's a slight performace problem with JRResource, that it creates > > JasperReport in it's constructor. I've

Re: [Wicket-user] session management

2005-11-21 Thread Eelco Hillenius
You could best take a look at the sign-in example of wicket-examples. It has a custom session - which can be used to store information you want to keep during the whole user session - and it has an example of how to prevent access/ redirect to a login page for a non logged on user. Eelco On 11/2

Re: [Wicket-user] Accessing Path Info

2005-11-22 Thread Eelco Hillenius
I think you can do stuff like that now, at least partially. I'm just now starting to work on further improving this (or at least exploring some ideas). Eelco On 11/22/05, Nick Heudecker <[EMAIL PROTECTED]> wrote: > Hi, > > I would like to create a URL that looks like: > http://www.example.com/app

Re: [Wicket-user] DatePicker and opera

2005-11-23 Thread Eelco Hillenius
Does the original jscalendar work in Opera? If it does, the problem is with the component, otherwise it is jscalendar. Eelco On 11/23/05, Matej Knopp <[EMAIL PROTECTED]> wrote: > Hi, > > DatePicker doesn't work in opera. It shows a window with this error message: > Calendar setup: > Noth

Re: [Wicket-user] Accessing Path Info

2005-11-23 Thread Eelco Hillenius
What I'm - kind of offline - am working on right now is something that at least partially acomplishes that. It's a big refactor (luckily as we always made sure not to expose too much without breaking public API's so far) and I'm combining it with other things like improved state management and stuf

Re: [Wicket-user] DatePicker and opera

2005-11-23 Thread Eelco Hillenius
Dipu > - Original Message - > From: "Eelco Hillenius" <[EMAIL PROTECTED]> > To: > Sent: Wednesday, November 23, 2005 4:04 PM > Subject: Re: [Wicket-user] DatePicker and opera > > > Does the original jscalendar work in Opera? If it does, the problem is > wi

Re: [Wicket-user] Accessing Path Info

2005-11-23 Thread Eelco Hillenius
rote: > Let me know if you need/want a hand with it. > > On 11/23/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > > What I'm - kind of offline - am working on right now is something that > > at least partially acomplishes that. It's a big refactor (luckily as

Re: [Wicket-user] WicketTester and BookmarkablePageLink

2005-11-23 Thread Eelco Hillenius
Because bookmarkable page links do not 'post back' to the server but instead they refer to bookmarkable pages they can't be called as links from WicketTester, right? Eelco On 11/23/05, Juergen Donnerstag <[EMAIL PROTECTED]> wrote: > sorry, but I do not understand the question. What is the bug? >

Re: [Wicket-user] Upload Progress bar

2005-11-24 Thread Eelco Hillenius
I kind of missed this discussion as I was working on the request cycle handling refactoring. After a short offline discussion with Johan, I took this as part of the refactoring too. The new way of handling (still has to be discussed with the other devs after I'm further with it, but I think it is l

Re: [Wicket-user] Preserve form state

2005-11-25 Thread Eelco Hillenius
Also please note that we're in the middle of refactoring some of the wicket internals, and the solution as currently implemented might change a bit still (though hopefully only the internals). Hope to be done with the larger part after this weekend. Eelco On 11/25/05, Laurent PETIT <[EMAIL PROTE

Re: [Wicket-user] Web Continuation Servers

2005-11-25 Thread Eelco Hillenius
Actually, instead of just looking at the name, continuations, you should look at want you want to acchieve. And then the large thing with continuations would be that you could do: ... init components ... ... render page ... ... getUserInput and do something with it ... ... processAndWait ... .

Re: [Wicket-user] Conditionally updating model

2005-11-26 Thread Eelco Hillenius
Or you could make your models a lit more intelligent, making it independent of the components. Both are good. Eelco On 11/26/05, Andrew Berman <[EMAIL PROTECTED]> wrote: > Whoops, my method should be getInput not getValueSorry. > > Should be: > > public String getInput() { > String val

Re: [Wicket-user] [OT] Ideas for Java webapps free hosting ?

2005-11-26 Thread Eelco Hillenius
See http://www.wicket-library.com/. At the bottom it says: Thanks to Kattare Many thanks to Kattare for sponsoring this site and for helping us get going. Eelco On 11/26/05, Jesse Sightler <[EMAIL PROTECTED]> wrote: > Just curious... where are the examples with attribution? I had never > noti

Re: [Wicket-user] "Tag expected"

2005-11-27 Thread Eelco Hillenius
The stack trace and error page should provide enough information to figure that out. Can you find it and send it as a reply? All logging in Wicket goes via commons logging usually using the class name for loggers. Most people will probably use Log4J as the implementation, which means you can turn

[Wicket-user] JavaPolis

2005-11-29 Thread Eelco Hillenius
Hi all, Who of you have plans of going to JavaPolis? Belgium beer is the best beer of the world, and Antwerp is supposed to be a cool city. That just asks for getting together with a couple of people and have a couple of those yellow foamy ones! If you're going, please send an email to this list

Re: [Wicket-user] New Wicket-contrib-dojo release

2005-11-30 Thread Eelco Hillenius
> > If you wan't to contribute, feel free to do so. :) Erm... he doesn't have commit rights? :) I think it is an open RFE to upgrade this js files, right? Eelco --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files

Re: [Wicket-user] contrib-dojo render problem

2005-11-30 Thread Eelco Hillenius
Maybe it's in a cache somewhere locally, or you build it without issues maven clean first (which you should always do in order to have a clean build). To fix it: test with a SNAPSHOT first. If that works and you don't want to make a new release (/and/ you didn't upload the version anywhere yet, be

Re: [Wicket-user] new user

2005-11-30 Thread Eelco Hillenius
Hi Frank, > I'm working alone, and > have a lot of freedom in the tools and frameworks I choose. That's the best job :) > Wicket sounds like a good approach – said to be easier to learn and use than > JSP/Struts or JSF; and I could cannibalize the html generated by the ASP.NET > pages, insert Wi

Re: [Wicket-user] JavaOne 2006 - Wicket presentation?

2005-12-01 Thread Eelco Hillenius
Thanks, > I guess you might as well get ready for some complaints : > - Not so good Spring integration Why? Igor and a couple of others build some pretty decent Spring support now? It's all in HEAD, and there has to be a proper build for it made, but I think we now have Spring integration that m

Re: [Wicket-user] new user

2005-12-01 Thread Eelco Hillenius
> > So when the FAQ asks, "When will Wicket use Java 5?" -- they're asking > about using Java 5 to develop the Wicket framework, not wicket > applications? > Yep. There are a couple of features that would be a great fit for Wicket. For instance, we could have stronger typed models if we use Javav

Re: [Wicket-user] contrib-dojo render problem

2005-12-01 Thread Eelco Hillenius
ojo project) and we get the > error... > > We have no clue why, but it renders our component useless except if you > want to run everything from eclipse > > Marco & Ruud > > Eelco Hillenius wrote: > > >Maybe it's in a cache somewhere locally,

Re: [Wicket-user] JavaOne 2006 - Wicket presentation?

2005-12-01 Thread Eelco Hillenius
Sure. Does the phone book example covers all the basic Spring support things? Eelco On 12/1/05, Martijn Dashorst <[EMAIL PROTECTED]> wrote: > I'm fine with it. I constantly send people to the phone book example, > so might as well make it the primary example. > > Martijn > > > On 12/1/05, Igor V

Re: [Wicket-user] JavaOne 2006 - Wicket presentation?

2005-12-01 Thread Eelco Hillenius
Indeed. Don't we want some example on your annotation stuff Igor? Eelco On 12/1/05, Eduardo Rocha <[EMAIL PROTECTED]> wrote: > Phone book does not make use of wicket-contrib-spring. > > 2005/12/1, Eelco Hillenius <[EMAIL PROTECTED]>: > > Sure. Does the phone b

[Wicket-user] Wiki: Comparing Wicket and Struts

2005-12-02 Thread Eelco Hillenius
Hi, Who wrote http://www.wicket-wiki.org.uk/wiki/index.php/Struts ? I like it! Eelco --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searchi

Re: [Wicket-user] New Wicket-contrib-dojo release

2005-12-02 Thread Eelco Hillenius
The easiest way to test whether you wicket application behaves well when serialized, turn on the debugging logging for WebSession, like: log4j.logger.wicket.protocol.http.WebSession=DEBUG Eelco On 12/2/05, Marco van de Haar <[EMAIL PROTECTED]> wrote: > It should be fixed in CVS version. though

Re: [Wicket-user] New Wicket-contrib-dojo release

2005-12-02 Thread Eelco Hillenius
and watch your log of course. On 12/2/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > The easiest way to test whether you wicket application behaves well > when serialized, turn on the debugging logging for WebSession, like: > > log4j.logger.wicket.protocol.http.WebSessi

Re: [Wicket-user] How to render part of page (with ajax maybe)

2005-12-02 Thread Eelco Hillenius
you should use requestcycle.setResponseTarget with ComponentRequestTarget Eelco On 12/2/05, Marco van de Haar <[EMAIL PROTECTED]> wrote: > Is there any concrete (simple) code example for rerendering a part of a > page? I tried myRequestCycle.request(myComponent), but all I got were > huge errors

Re: [Wicket-user] adding ajax handlers to component with open and close tags

2005-12-02 Thread Eelco Hillenius
Sounds like a bug to me. Could you please file one? Thanks, Eelco On 12/2/05, Dipu <[EMAIL PROTECTED]> wrote: > > Hi, > > When we add ajax handler to a component with open and close tag , for > example a drop down choice id="parentAgent"> > wicket will try to add the hanfder twice, first duri

Re: [Wicket-user] Anonymous subclasses of Model: bad or not? Page versioning?

2005-12-02 Thread Eelco Hillenius
If you want to see the impact of serialization, turn on some debugging info: log4j.logger.wicket.protocol.http.WebSession=DEBUG serializes state and dumps results of that just like it would do in a clustered (with the heaviest variant, HTTP session replication) environment. log4j.logger.wicket.v

Re: [Wicket-user] How to render part of page (with ajax maybe)

2005-12-02 Thread Eelco Hillenius
Yeah. I'm just saying that you /should/ work with request targets instead of trying to render the component directly. Eelco On 12/2/05, Johan Compagner <[EMAIL PROTECTED]> wrote: > that is what RequestCycle.request(component) does (and how the > SimplePageTest works) > &

Re: [Wicket-user] Pethate - long urls

2005-12-03 Thread Eelco Hillenius
Hi, answers below > > http://localhost:8081/quickstart/app?bookmarkablePage=com.theoryinpractice.testapp.pages.CommentsPage > > Is there a way to get the app to resolve the above using something like: > > http://localhost:8081/quickstart/app/page/Podcomments > > or even > > http://localhost:8

Re: [Wicket-user] Pethate - long urls

2005-12-03 Thread Eelco Hillenius
Not only considering... we build it in! :) There's a couple of things we are working on yet, which are stated in the TODO doc in the niceurl example package. By looking at the commit log (Juergen did some fresh commits), these issues are getting closer to being fixed too. Eelco On 12/3/05, Jeff

Re: [Wicket-user] Pethate - long urls

2005-12-03 Thread Eelco Hillenius
> I haven't taken a look at the latest code yet Well, please do that first before commenting :) Eelco --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search e

Re: [Wicket-user] Pethate - long urls

2005-12-03 Thread Eelco Hillenius
case '+': buf.append("%2B"); break; > > ! case '&': buf.append("%26"); break; > > ! case '~': buf.append("%7E"); break; > > ! case '?'

Re: [Wicket-user] A new user's questions about wicket

2005-12-04 Thread Eelco Hillenius
Actually, I don't think it is too bad to go for a one page thing. You can get a long way by switching panels etc. And Ajax heavy pages probably look more like that too. The only thing to consider is whether you want some of your destinations to be bookmarkable. Eelco > > > Question 3: > > In our

Re: [Wicket-user] Best practice: Global configuration values?

2005-12-05 Thread Eelco Hillenius
The logical place here would be your Application/ WebApplication object. You could combine this with init parameters in web-xml and reading them in the Application.init method. Or, in case you want to use Spring, use Spring config to configure your Application properties. Eelco On 12/4/05, Johan

Re: [Wicket-user] Best practice: Global configuration values?

2005-12-05 Thread Eelco Hillenius
Yep. You can get the application from several places, like Component.getApplication (and note that Pages are Components too) or as a falltrhough, when in a request, you can always call Application.get() (slightly less efficient though, as that is done by threadlocal map lookup). And you have to cas

Re: [Wicket-user] A new user's questions about wicket

2005-12-05 Thread Eelco Hillenius
any parameters, so both aproaches are good. Eelco On 12/5/05, Utku Somer <[EMAIL PROTECTED]> wrote: > Eelco Hillenius wrote: > > >Actually, I don't think it is too bad to go for a one page thing. You > >can get a long way by switching panels etc. And Ajax heavy pages &g

Re: [Wicket-user] Wicket job

2005-12-05 Thread Eelco Hillenius
Don't know. I don't expect there to be a zillion of job requests comming in; a list with two offers a year would look a bit sad imo. Maybe it is because Europe is less flexible when it comes to workforce, but it would be common in Holland to hire people on basis of Java knowledge, and expect them t

Re: [Wicket-user] Wicket job

2005-12-05 Thread Eelco Hillenius
> we already have 3 user lists and one admin list although i bet not that many > subscribed to our most recent announcements list. announce has 34, wicket-user has 253 at this moment. i think we have more then > enough lists already. if it was up to me we wouldnt even have wicket-stuff > lists as

Re: [Wicket-user] Is "back button" supported in wicket-contrib-dojo-examples

2005-12-05 Thread Eelco Hillenius
Dojo makes backbutton support possible, but probably not completely automatic. So it depends on the authors of those components I think. It is probably possible, but they didn't think about it. So... Marco and Ruud, did you look at support for the backbutton/ bookmarkability? Thanks, Eelco On 12

Re: [Wicket-user] Is "back button" supported in wicket-contrib-dojo-examples

2005-12-05 Thread Eelco Hillenius
a problem with ajax and not with dojo support - although > most people would argue that this is one of the bigger advantages of ajax. > because the clicks do not change the browser's url the browser never records > them in the history - and how could it. > > -Igor > >

Re: [Wicket-user] Basic CSS and tags

2005-12-05 Thread Eelco Hillenius
Hi, The wicket:head tag exists for a different reason. You can use it when you create custom components, such as the datapicker, that use css/ javascript to function. You want to reuse these components on your pages without having to know what dependencies your page needs. If you use wicket:head i

Re: [Wicket-user] Is "back button" supported in wicket-contrib-dojo-examples

2005-12-05 Thread Eelco Hillenius
s a problem with ajax and not with dojo support - although > > > most people would argue that this is one of the bigger advantages of > > > ajax. because the clicks do not change the browser's url the browser > > > never records them in the history - and how could

Re: [Wicket-user] Is "back button" supported in wicket-contrib-dojo-examples

2005-12-05 Thread Eelco Hillenius
hat this is one of the bigger advantages of > > > ajax. because the clicks do not change the browser's url the browser > > > never records them in the history - and how could it. > > > > > > -Igor > > > > > > > > > On 12/5/05, *Eelco Hillen

Re: [Wicket-user] Is "back button" supported in wicket-contrib-dojo-examples

2005-12-05 Thread Eelco Hillenius
That's a lot of people, 2.78%! And call me a nerd, but I rather see people using Safari than IE all of the time. The reason that I started with Dojo when I started working on Ajax support is that it had the best cross browser support I could find. That is probably true still, even though there are

Re: [Wicket-user] To SSL And Back

2005-12-06 Thread Eelco Hillenius
I don't know. What is the main problem you are having (hard coding url's probably), and do you have an idea of how support should look like? For instance, would it (ssl/ normal) be something you could configure your page maps with? Any other people been doing this? How do competing frameworks (non

Re: [Wicket-user] Basic CSS and tags

2005-12-06 Thread Eelco Hillenius
security settings. Eelco On 12/5/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > Hi, > > The wicket:head tag exists for a different reason. You can use it when > you create custom components, such as the datapicker, that use css/ > javascript to function. You want to reuse the

Re: [Wicket-user] To SSL And Back

2005-12-06 Thread Eelco Hillenius
87490 > and search > > the users list for SSL) > > > > In tapestry you can set the scheme (https) for links manually and check in > > validate() that the actual scheme is https. > > > > Mayb WebPage could have a getScheme() like getMarkupType()? > > >

Re: [Wicket-user] Any hint for dynamic html data?

2005-12-07 Thread Eelco Hillenius
Or do something like Velocity panel does (or even simpler, put your contents in a Label) and wrap it in a bookmarkable page (which you could mount if you want). Eelco On 12/7/05, Igor Vaynberg <[EMAIL PROTECTED]> wrote: > Creata a subclass of DynamicByteArrayResource and implement byte[] getData

Re: [Wicket-user] Wicket, Spring and Hibernate

2005-12-07 Thread Eelco Hillenius
Yeah. The idea is to get rid of the things we don't use anymore and merge them into one project. We've had enough discussion and sandbox code the last few months to know what we want now :) I think Igor is working on it now, and I also understood that he and a bunch of others on this list considere

Re: [Wicket-user] Wicket, Spring and Hibernate

2005-12-07 Thread Eelco Hillenius
> Also, simple and effective instructions for us newbiew on how to > quickly get the example project to build properly in Eclipse. Now I > check out from cvs and miss another project. Should I get that one as > well? wicket-phonebook builds nicely with maven, but I haven't got a > working setup in

[Wicket-user] Re: JavaPolis

2005-12-07 Thread Eelco Hillenius
I put up a Wiki page at http://www.wicket-wiki.org.uk/wiki/index.php/Javapolis2005. On 11/29/05, Eelco Hillenius <[EMAIL PROTECTED]> wrote: > Hi all, > > Who of you have plans of going to JavaPolis? Belgium beer is the best > beer of the world, and Antwerp is supposed to be

Re: [Wicket-user] Wicket, Spring and Hibernate

2005-12-07 Thread Eelco Hillenius
In fact, they are. Just not the project dependencies we checked in. You can run 'maven eclipse' or 'maven youride' too if you want. The project definition has the wicket dependencies alright. Eelco > > But it might be a good idea to let the examples be agnostic to other > projects on some IDE and

Re: [Wicket-user] Wicket, Spring and Hibernate

2005-12-07 Thread Eelco Hillenius
gt; -Igor > > > On 12/7/05, Per Ejeklint <[EMAIL PROTECTED]> wrote: > > > > 7 dec 2005 kl. 12-07 | v.49 |17.58 skrev Eelco Hillenius: > > > > >> Also, simple and effective instructions for us newbiew on how to > > >> quickly get the examp

Re: [Wicket-user] Wicket, Spring and Hibernate

2005-12-07 Thread Eelco Hillenius
installed in your local maven repo (since we cannot provide > snapshots in an online repo unless someone wants to host them and a a > continuous integration tool :) ) > > -Igor > > On 12/7/05, Per Ejeklint <[EMAIL PROTECTED]> wrote: > > > > 7 dec 2005 kl. 12-07 |

Re: [Wicket-user] Using in a border

2005-12-07 Thread Eelco Hillenius
Yes, and as pages are top level they don't have a need for contributing nor for special wrote: > you are almost there > > actually in a border or in a panel anything outside > .. and > ... tags will be ignored. the > exception being the body of the tag. > > -Igor > > > On 12/7/05, David Leangen <

<    1   2   3   4   5   6   7   8   9   10   >