Re: How to handle these nested tags

2007-09-10 Thread Roland Huss
Hi, > > ¡¡ Welcome Could it be, that is not supported as markup for a Label component and that you should use something like instead ? ... roland -- View this message in context: http://www.nabble.com/How-to-handle-these-nested-%3Ctable%3E-tags-tf4412208.html#a12

Re: How to handle these nested tags

2007-09-10 Thread Kevin Liu
Thank you for your help! But the major problem is The Label Is Not at the same level as the form , the Label is deep inside those table tags. Is there any solution to this kind of problem. Thanks again~ Kevin Liu <[EMAIL PROTECTED]> wrote: I have a html page that displays "welcome ,XXX" ,or

Re: First Day Disgust!

2007-09-10 Thread chickabee
>>It is absurd. You can deploy your web application wherever you want. Thanks for explaining the most esoteric aspect of web applications. Perhaps no one knew it so far :-) . Well, it's not your fault either since this thread has grown out of proportions, and it's not easy to read all message.

Re: {wicket 1.3 beta 3} Howto add keywords No cache etc?

2007-09-10 Thread Nino Saturnino Martinez Vazquez Wael
No, it did not work for me using ajax. Until I added one of the solutions described. Should I provide a quickstart? regards Nino Igor Vaynberg wrote: as far as i know Image works just fine with ajax. if you want an image that is not cached use NonCachingImage. -igor On 9/9/07, Nino Saturni

Re: {wicket 1.3 beta 3} Howto add keywords No cache etc?

2007-09-10 Thread Matej Knopp
Again, try using NonCachingImage instead of Image. I does exacly what the suggested fix does. I just overlooked it. -Matej On 9/10/07, Nino Saturnino Martinez Vazquez Wael <[EMAIL PROTECTED]> wrote: > No, it did not work for me using ajax. Until I added one of the > solutions described. > > Shoul

Re: First Day Disgust!

2007-09-10 Thread Alex Objelean
My point was to show you an alternative to Jetty plugin. chickabee wrote: > >>>It is absurd. You can deploy your web application wherever you want. > > Thanks for explaining the most esoteric aspect of web applications. > Perhaps no one knew it so far :-) . Well, it's not your fault either

Re: CompressedResourceReference: can't get resource-url of static html in package

2007-09-10 Thread pixotec
thank you for your very detailled answer! this is what I like here... (and no one gets bashed for asking) :clap: Eelco Hillenius wrote: > >> YOU GUESS WHAT?!! >> I JUST RENAMED THE FILE TO "dialogTable.htm" AND NOW IT IS WORKING!! >> it is the fact of not being able to serve "html"-files! >> is

Re: Invitation to Cocoon GetTogether 2007

2007-09-10 Thread Paolo Di Tommaso
I'm not a Wicket core developer guru, but I'm leading a big Wicket based project in Rome. I would pleased to attend Cocoon conference and bring my Wicket experience. Paolo Di Tommaso On 9/9/07, Grzegorz Kossakowski <[EMAIL PROTECTED]> wrote: > > Hello Wicket devs and users! > > On behalf of Co

Re: {wicket 1.3 beta 3} Howto add keywords No cache etc?

2007-09-10 Thread Nino Saturnino Martinez Vazquez Wael
I know(and agree), but I just feel that we should somehow warn people that image won't work with ajax? regards Nino Matej Knopp wrote: Again, try using NonCachingImage instead of Image. I does exacly what the suggested fix does. I just overlooked it. -Matej On 9/10/07, Nino Saturnino Martine

Form.updateFormComponentModels bug?

2007-09-10 Thread Matthijs Wensveen
Hi, According to the javadoc Form.updateFormComponentModels should update all the models of all FormComponents in a form (without validation presumably?). This sets all the model objects to the convertedInput value (in FormComponent.updateModel), unfortunately convertedInput is only set after

Wicket-based website gone on-line

2007-09-10 Thread Thomas Singer
I just wanted to let you know, that our Wicket-based website gone on-line: http://www.syntevo.com If somebody finds a problem, please let me know. We really liked the flexibility of Wicket. Although not supported out-of-the box, we configured Wicket, so our templates can be 100% pure HTML (ex

Re: Wicket Stuff Dojo Repository

2007-09-10 Thread Vincent Demay
Hi, Wicketstuff dojo has just been modified in order to build its artifact on the same location as usually : http://www.wicketstuff.org/maven/repository/org/wicketstuff/wicketstuff-dojo Cheers -- Vincent Maurice Marrink wrote: Johan recently made some changes to the wicket-stuff repository

Re: Kronos-cms installation

2007-09-10 Thread Ted Roeloffzen
I was one of two people who built kronos, but i have to say that i haven't worked on it for quite a while, because of time issues, so the dependency is most likely out of date. Ted 2007/9/8, Maurice Marrink <[EMAIL PROTECTED]>: > > Ted, who build kronos, is on vacation and I'm not sure if he is

Re: why final?

2007-09-10 Thread Martijn Dashorst
On 9/10/07, Matthijs Wensveen <[EMAIL PROTECTED]> wrote: > Off-topic: Why are so much methods marked final? This might prevent > API-misuse but also prevents innovative _use_! I can understand you want > framework users to do it the wicket way, because they will probably only > spam the users list

Re: Invitation to Cocoon GetTogether 2007

2007-09-10 Thread Grzegorz Kossakowski
Paolo Di Tommaso pisze: > I'm not a Wicket core developer guru, but I'm leading a big Wicket based > project in Rome. No problem, I never have said that we want to speak only Wicke Gurus. > I would pleased to attend Cocoon conference and bring my Wicket experience. So hurry up, register and see

Re: Wicket-based website gone on-line

2007-09-10 Thread Jan Kriesten
hi thomas, > http://www.syntevo.com > If somebody finds a problem, please let me know. looks nice. :-) only thing you should consider is to open external links in a new browser window (so your site stays available). regards, --- jan. -

Re: Disable the SecondLevelPageCache?

2007-09-10 Thread Alex Objelean
Matej, I must disagree with you regarding performance issues of the SecondLevelSessionStore. I've reverted the Application#newSessionStore to HttpSessionStore and this significantly improved the application overall performance. Maybe this is not so obvious for small applications, but when it is ab

Re: Wicket-based website gone on-line

2007-09-10 Thread Martijn Dashorst
Congratulations! You might want to set setStripWicketTags to true though. Martijn On 9/10/07, Thomas Singer <[EMAIL PROTECTED]> wrote: > I just wanted to let you know, that our Wicket-based website gone on-line: > > http://www.syntevo.com > > If somebody finds a problem, please let me know. >

Re: How to handle these nested tags

2007-09-10 Thread Ryan Holmes
The label doesn't need to be at the same level as the form, just inside the form. Wicket doesn't care about non-wicket HTML elements between the form and the label. From Wicket's point of view, your label component is a direct child of the form. Maybe I'm missing something obvious here, but

Re: How to handle these nested tags

2007-09-10 Thread Ryan Holmes
No, LABEL is a valid HTML element for a Label component (it would be pretty twisted if it wasn't ;)). Besides, if a tag check was failing, the error message would say so. But keep the guesses coming. That's all I've been able to for Kevin so far... -Ryan On Sep 10, 2007, at 12:00 AM, Rol

Re: Disable the SecondLevelPageCache?

2007-09-10 Thread Johan Compagner
invocation count 1?? So you only do 1 request and you profile that? thats not a good test. You have to do plenty and multiply on the same time (10 for 100 request or something like that) to really see the difference. (and have a warm up phase) johan On 9/10/07, Alex Objelean <[EMAIL PROTECTED

Re: Wicket-based website gone on-line

2007-09-10 Thread Ryan Holmes
On Sep 10, 2007, at 1:31 AM, Jan Kriesten wrote: looks nice. :-) only thing you should consider is to open external links in a new browser window (so your site stays available). regards, --- jan. Gah! I thought opening new windows for external links went out with the blink tag ;) Serious

Re: Disable the SecondLevelPageCache?

2007-09-10 Thread Alex Objelean
Maybe the profiling was not a perfect one. But still, I have to give up using SecondSessionLevelStore just because the responsiveness of the application is very slow. Johan Compagner wrote: > > invocation count 1?? > > So you only do 1 request and you profile that? > thats not a good test. Yo

Re: Wicket Stuff Dojo Repository

2007-09-10 Thread Maurice Marrink
@vincent Hmm, looks like you are generating unique id's for your snapshots. I don't think that is wise as the server will run out of disk space like that in no time. You should put false inside the snapshotRepository tag. Maurice On 9/10/07, Vincent Demay <[EMAIL PROTECTED]> wrote: > Hi, > > Wick

Re: Form.updateFormComponentModels bug?

2007-09-10 Thread Johan Compagner
On 9/10/07, Matthijs Wensveen <[EMAIL PROTECTED]> wrote: > > Hi, > > According to the javadoc Form.updateFormComponentModels should update > all the models of all FormComponents in a form (without validation > presumably?). This sets all the model objects to the convertedInput no it updates the

Re: Disable the SecondLevelPageCache?

2007-09-10 Thread Johan Compagner
that looks very strange to me. We have also a very large app here and we dont notice a difference So i am very curious what is happening at your place then. Are you sure for example that the pages are serializable ? That we don't have constantly exceptions? johan On 9/10/07, Alex Objelean <[EMA

Re: How to force a delete (from disk) of the session from the session store?

2007-09-10 Thread Johan Compagner
you should call invalidate() anyway instead of invalidateNow() there could maybe be usecases where you should call the invalidateNow() for example if you want to invalidate the current http session and make in the same request a new one (if that is possible??) But you should do invalidate() becaus

Re: Flash object still visible underneath a ModalWindow

2007-09-10 Thread Al Maw
bebetu wrote: Hi, I am experiencing a strange issue with a ModalWindow behavior (I'm using wicket 1.3 beta3). The main page content contains a flash object (I'm using a SWFObject to render it) and when a ModalWindow pops-up over this content, the flash object is still visible below. in Firefox th

Re: Wicket Stuff Dojo Repository

2007-09-10 Thread Vincent Demay
Maurice Marrink wrote: @vincent Hmm, looks like you are generating unique id's for your snapshots. I don't think that is wise as the server will run out of disk space like that in no time. You should put false inside the snapshotRepository tag. Tnx Maurice, I added it. Cheers -- Vincent

Re: Disable the SecondLevelPageCache?

2007-09-10 Thread Alex Objelean
If the pages wouldn't be serializable, it wouldn't work in development mode. Is it right? I think that it is not necessarily about how large is application, in my case it is about how large is the model I'm working with for that specific request (ajax request). My action was: fetch a subview of

Param = null

2007-09-10 Thread chickabee
Here is the constructor of the class i have: public CategoryBrowser(final PageParameters parameters) { // Add the simplest type of label add(new Label("message", "Welcome to the Category Browser Page")); System.out.println("Param = " + parameters.getString("id") );

Re: Param = null

2007-09-10 Thread Francis De Brabandere
tried https://lilo:8443/whisky/app/cat/id/1 ? you might want to have a look at QueryStringUrlCodingStrategy On 9/10/07, chickabee <[EMAIL PROTECTED]> wrote: > > Here is the constructor of the class i have: > > public CategoryBrowser(final PageParameters parameters) { > // Add the simp

Re: Disable the SecondLevelPageCache?

2007-09-10 Thread Martijn Dashorst
How big is the page? Sounds like a really, really big component hierarchy. Then it sounds reasonable that the httpsession store is much faster: it keeps it in ram, and doesn't use serialization until the session is serialized (server shutting down, deciding to put session to disk or replication of

Re: Wicket Stuff Dojo Repository

2007-09-10 Thread Johan Compagner
yes please change this because else i can keep on deleting constantly stuff :( On 9/10/07, Maurice Marrink <[EMAIL PROTECTED]> wrote: > > @vincent > Hmm, looks like you are generating unique id's for your snapshots. I > don't think that is wise as the server will run out of disk space like > that

Re: Form.updateFormComponentModels bug?

2007-09-10 Thread Matthijs Wensveen
Johan Compagner wrote: On 9/10/07, Matthijs Wensveen <[EMAIL PROTECTED]> wrote: Hi, According to the javadoc Form.updateFormComponentModels should update all the models of all FormComponents in a form (without validation presumably?). This sets all the model objects to the convertedInput

Re: Param = null

2007-09-10 Thread chickabee
Simply Amazing! It works like a charm. So the Wicket syntx is: https://lilo:8443/whisky/app/cat/param1/value1/param2/value2 Gracias para la ayuda Fancis! = tried https://lilo:8443/whisky/app/cat/id/1 ? -- View this message in context: http://www.nabble.com/Param-%3D

Re: why final?

2007-09-10 Thread Matthijs Wensveen
Martijn Dashorst wrote: On 9/10/07, Matthijs Wensveen <[EMAIL PROTECTED]> wrote: Off-topic: Why are so much methods marked final? This might prevent API-misuse but also prevents innovative _use_! I can understand you want framework users to do it the wicket way, because they will probably onl

Re: Param = null

2007-09-10 Thread Francis De Brabandere
that is the default, you can changed it using a different UrlCodingStrategy On 9/10/07, chickabee <[EMAIL PROTECTED]> wrote: > > Simply Amazing! It works like a charm. > > So the Wicket syntx is: > https://lilo:8443/whisky/app/cat/param1/value1/param2/value2 > > Gracias para la ayuda Fancis! > >

Re: Image from DB example

2007-09-10 Thread Ayodeji Aladejebi
i have something similar, an image servlet, rather than re write to load from wicket, see what i did add(new Image("imageFromServlet", new ServletImageDynamicResource()); private final class ServletImageDynamicResource extends DynamicImageResource { private byte[] imagegif = null;

Re: Param = null

2007-09-10 Thread chickabee
Thanks again, and what will be the best way to make these url temper proof? Currently, if i break the key value pairs, the wicket app is very unhappy like below: Unexpected RuntimeException Root cause: java.lang.IllegalStateException: URL fragment has unmatched key/value pair: name/foo/id at

Re: Wicket-based website gone on-line

2007-09-10 Thread Thomas Singer
Hi Jan, only thing you should consider is to open external links in a new browser window (so your site stays available). It already should do that. External links should be automatically detected, decorated with a small graphic and open in a separate window. Which particular link does not wo

Re: Param = null

2007-09-10 Thread Korbinian Bachl
no it is not! - its just 1 way the wicket syntax may be - you should look at mount and the existing coding-strategys as well as (if youre on 1.3 already) on the new HybridUrlCodingStrategy you can have fllowing URL flavors out of box: /app/page/value1/value2 (IndexedURLCoding) /app/page:0 (hyb

Re: Disable the SecondLevelPageCache?

2007-09-10 Thread Alex Objelean
Indeed, it is a very big component hierarchy (It contains at least 3 levels of nested AjaxTabbedPanel components). The application is, in fact, a single page and it uses a lot of ajax to perform the updates. The model reflect the component hierarchy (Appliction has a single modelObject which nest

Re: palette problem

2007-09-10 Thread severian
The available list should include the full set I think, not just those that are not currently selected. Severian. -- View this message in context: http://www.nabble.com/palette-problem-tf4413718.html#a12590426 Sent from the Wicket - User mailing list archive at Nabble.com. --

Re: mountBookmarkablePage and missing parameters - exception thrown

2007-09-10 Thread chickabee
I believe the org.apache.wicket.request.target.coding.AbstractRequestTargetUrlCodingStrategy.decodeParameters(), shold not throw a RunTime Exception as it does now, if the url is tampered, instead it should always provide the parameters and values to it's best guess and then let the user decided

Re: Disable the SecondLevelPageCache?

2007-09-10 Thread Matej Knopp
There seems to be something terribly weird going on. Your application looks like a corner case. On page like that, I wouldn't be surprised if there was penalty using SecondLevelCacheSessionStore, but the numbers you've posted are way too bad to be caused by wicket itself. My guess is that your mod

Re: Disable the SecondLevelPageCache?

2007-09-10 Thread Johan Compagner
if you save the page to disk how big is it? johan On 9/10/07, Alex Objelean <[EMAIL PROTECTED]> wrote: > > > Indeed, it is a very big component hierarchy (It contains at least 3 > levels > of nested AjaxTabbedPanel components). > The application is, in fact, a single page and it uses a lot of aj

Re: palette problem

2007-09-10 Thread wheleph
severian wrote: > > The available list should include the full set I think, not just those > that are not currently selected. > > Severian. > > I've tried this. It doesn't help - final Form pupilForm = new PupilForm("pupilForm"); Strin

Re: Param = null

2007-09-10 Thread Korbinian Bachl
>Hacker will be > very happy with the current state of implementation. why? chickabee schrieb: Yes you are right. I guess the the name u were looking for is: org.apache.wicket.request.target.coding.MixedParamUrlCodingStrategy These strategies are pretty nice, but the question remains why the

Re: Disable the SecondLevelPageCache?

2007-09-10 Thread Alex Objelean
How can I figure it out? Johan Compagner wrote: > > if you save the page to disk how big is it? > > johan > > > On 9/10/07, Alex Objelean <[EMAIL PROTECTED]> wrote: >> >> >> Indeed, it is a very big component hierarchy (It contains at least 3 >> levels >> of nested AjaxTabbedPanel componen

Re: Param = null

2007-09-10 Thread Gerolf Seitz
On 9/10/07, chickabee <[EMAIL PROTECTED]> wrote: > > These strategies are pretty nice, but the question remains why the > decoder() > method pukes out when there is mismatch of key value pairs. Hacker will be > very happy with the current state of implementation. only if you deploy your applicati

Re: Disable the SecondLevelPageCache?

2007-09-10 Thread Alex Objelean
Matej, how can I say to my model to serialize some objects and to not others? If I would detach the entire mode, that would mean that the next ajax request would require again to call the (very costly) service and this is not acceptable. Alex. Matej Knopp-2 wrote: > > There seems to be someth

Re: Disable the SecondLevelPageCache?

2007-09-10 Thread Matej Knopp
You can make the reference transient. So it would no be serialized, bit it would be kept in memory as long as the page is the last accessed one. And if it eventually becomes null (when you e.g go to another page and return back), you can reinject it. Or you can just store it to session (outside the

Re: Disable the SecondLevelPageCache?

2007-09-10 Thread Matej Knopp
Turn on SecondLevelCacheSessionStore, and use FilePageStore as IPageStore (specified in session store constructor). Then go to your tmp dir and you should be able to find the serialized pages there. -Matej On 9/10/07, Alex Objelean <[EMAIL PROTECTED]> wrote: > > How can I figure it out? > > > > >

palette problem

2007-09-10 Thread wheleph
Hello everyone! I've got a problem using component Palette from Wicket-Extensions-1.2.6. The code I use to add Palette on a Form is cited below: --- final Form pupilForm = new PupilForm("pupilForm"); List available = new ArrayList(); av

Re: Form.updateFormComponentModels bug?

2007-09-10 Thread Johan Compagner
> > > Okay, so the difference with Form.process() is that process() does not > update at all when one of the FormComponents is invalid, and > updateFormComponentModels updates all that ARE valid, right? So that's > usually what you want (and what I want in this case). Thanks for making > this clear

Re: Param = null

2007-09-10 Thread Gwyn Evans
On Monday, September 10, 2007, 12:23:36 PM, chickabee <[EMAIL PROTECTED]> wrote: > I still do not see why the wicket should treat it as an internal error if > there are missing parameters? I guess wicket needs to follow the same > paradigm as in the raw HttpRequest, let the user pull the parameter

Re: Param = null

2007-09-10 Thread chickabee
only if you deploy your application in development mode. in deployment mode only the "internal error" page. see IApplicationSettings#setInternalErrorPage(Class) gerolf Thanks for the good piece of info. I still do not see why the wicket should treat it as an internal error if there are missin

Re: Disable the SecondLevelPageCache?

2007-09-10 Thread Alex Objelean
It is about 32MB. Kind a big page :) Matej Knopp-2 wrote: > > Turn on SecondLevelCacheSessionStore, and use FilePageStore as > IPageStore (specified in session store constructor). Then go to your > tmp dir and you should be able to find the serialized pages there. > > -Matej > > On 9/10/07,

Re: Param = null

2007-09-10 Thread chickabee
Yes you are right. I guess the the name u were looking for is: org.apache.wicket.request.target.coding.MixedParamUrlCodingStrategy These strategies are pretty nice, but the question remains why the decoder() method pukes out when there is mismatch of key value pairs. Hacker will be very happy wi

Re: Param = null

2007-09-10 Thread chickabee
I would disagree because this is the first problem any web developer would like to address, what happens if their urls are being tempered manually, it should not result into any kind of error by the web framework, rather this is the application validation issue and to be handled by the applicati

Re: Disable the SecondLevelPageCache?

2007-09-10 Thread Alex Objelean
Indeed, making the reference transient improves the responsiveness even with the SecondSessionLevelStore. Anyway, I am curious, what is your advice for this kind of applications? Keep using HttpSessionStore or switch to SecondLevelSessionStore and make the most big objects transient? What is the b

Re: Param = null

2007-09-10 Thread Gwyn Evans
Pardon? All that's doing is showing their custom error page, exactly as the other replies have suggested that you'd want to do with Wicket - I'd be more impressed if it had shown an index of the news for that date, but as it is, that's just what you can easily do with Wicket. All you need to do is

Re: Locating CSS under WEB-INF, please help

2007-09-10 Thread Jason Mihalick
Ok, thanks for the help on this. My objective was to be able to have a structure of HTML and resource dependencies (css, js, img, etc) that could be easily edited in an HTML editor such that the editor doesn't have problems resolving the resources and such that Wicket doesn't have problems reso

Re: Locating CSS under WEB-INF, please help

2007-09-10 Thread Martijn Dashorst
I believe that the Wicket Bench for Eclipse does enable you to work with your stylesheet and the html inside the packages. Martijn On 9/10/07, Jason Mihalick <[EMAIL PROTECTED]> wrote: > > Ok, thanks for the help on this. My objective was to be able to have > a structure of HTML and resource d

Re: Param = null

2007-09-10 Thread chickabee
Ok, let me give you a different scenario and see if wicket has a way to handle it. Assume there are 10 parameters are being passed to the app as below: http://some.web.site/wicket/app/page/p1/v1/p2/v2/p3/v3/...p9/v9/p10/v10 Now If I mess-up the key value pair at the end like: http://some.we

Re: Disable the SecondLevelPageCache?

2007-09-10 Thread Johan Compagner
you got to be kidding me...32MB really? Or is this a nice joke so in the middle of the day :) johan On 9/10/07, Alex Objelean <[EMAIL PROTECTED]> wrote: > > > It is about 32MB. Kind a big page :) > > > Matej Knopp-2 wrote: > > > > Turn on SecondLevelCacheSessionStore, and use FilePageStore

Re: Disable the SecondLevelPageCache?

2007-09-10 Thread Alex Objelean
:) Unfortunately it's not a joke, but I'm glad you're having fun :D. Actually, this is result of worst case scenario simulation (I told you that there are heavy objects in the model). After making transient some of the fields, the size of the page dropped dramatically. Alex. Johan Compagner wro

Re: Disable the SecondLevelPageCache?

2007-09-10 Thread Martijn Dashorst
On 9/10/07, Johan Compagner <[EMAIL PROTECTED]> wrote: > you got to be kidding me...32MB > really? Or is this a nice joke so in the middle of the day :) Alex did warn us that it was a big page :) Martijn -- Buy Wicket in Action: http://manning.com/dashorst Apache Wicket 1.3.0-beta3 is relea

Re: Locating CSS under WEB-INF, please help

2007-09-10 Thread Johan Maasing
Perhaps template inheritance can help you here. I have a 'base' page that contains the HTML head tag that all my pages use. For example I have a Basepage.html: http://www.w3.org/1999/xhtml"; xmlns:wicket="http://wicket.apache.org/";> ... and a

Re: Disable the SecondLevelPageCache?

2007-09-10 Thread Martijn Dashorst
The only caveat you'll have is whether or not the backbutton is supported long enough, and how many copies of that page you want to have in memory. If the non-2nd level cache way works for you, then there is absolutely nobody telling you to stop using it. The difference has mostly to do with provi

Re: Param = null

2007-09-10 Thread Gwyn Evans
You write your own coding strategy, using the existing ones as guidelines/templates - I've not got any example code as supporting free-format user-created URL's isn't a scenario that's been relevant in the applications I've done. Wicket provides a number of strategies, but the fundamental point is

Re: Disable the SecondLevelPageCache?

2007-09-10 Thread Alex Objelean
It is a intranet application, so the number of users for this application is at most ~30-40 users/day. A back button support is not needed, because there is a single page and also it doesn't make sense (since it is all ajax). I'm still wondering, what is best in this case: * Using HttpSessionSto

Re: Param = null

2007-09-10 Thread chickabee
Thanks Gwyn for all the clarifications and patience, I believe I have all the answers now. Also, what's your take on adding an iterator to PageParameters that will help in looping over the parameters, rather than pulling them one at at time the way it is right now. I'm not sure if the same can be

Re: Disable the SecondLevelPageCache?

2007-09-10 Thread Johan Compagner
if you just have 1 page with no back button support/all ajax then httpsessionstore is fine johan On 9/10/07, Alex Objelean <[EMAIL PROTECTED]> wrote: > > > It is a intranet application, so the number of users for this application > is > at most ~30-40 users/day. A back button support is not need

Re: Disable the SecondLevelPageCache?

2007-09-10 Thread Alex Objelean
Johan, Matej, Martijn, thank you all for help! PS: one more reason to love this community :) Johan Compagner wrote: > > if you just have 1 page with no back button support/all ajax > then httpsessionstore is fine > > johan > > > On 9/10/07, Alex Objelean <[EMAIL PROTECTED]> wrote: >> >> >

Re: Wicket-based website gone on-line

2007-09-10 Thread Jan Kriesten
hi thomas, > It already should do that. External links should be automatically > detected, decorated with a small graphic and open in a separate window. > Which particular link does not work? can't find the page right now - it was a link to subversion.tigris.org (i suppose it's the missing 'www'

Re: {wicket 1.3 beta 3} Howto add keywords No cache etc?

2007-09-10 Thread Igor Vaynberg
you mean when you add Image using ajax it doesnt show up? being able to refresh something and it "not working" are two very different things. if you have a nonversioned page and Image in it you will have the exact same behavior because the url will remain stable - does that mean Image is broken in

Re: Form.updateFormComponentModels bug?

2007-09-10 Thread Matthijs Wensveen
Okay, I get the whole conversion is validation thingy. Not entirely convinced whether validation is the only place where conversion should take place, but I'll leave this subject for now. It's already a lot clearer to me now. We have this also because it preserves memory, If you have to make

Re: How to handle these nested tags

2007-09-10 Thread Igor Vaynberg
if he would post a quickstart we would be able to do more. -igor On 9/10/07, Ryan Holmes <[EMAIL PROTECTED]> wrote: > > No, LABEL is a valid HTML element for a Label component (it would be > pretty twisted if it wasn't ;)). Besides, if a tag check was failing, > the error message would say so. >

Re: Image from DB example

2007-09-10 Thread Igor Vaynberg
see sourcecode of the pastebin, i think its on belios. also there is an article on the wiki about it. -igor On 9/9/07, Doug Leeper <[EMAIL PROTECTED]> wrote: > > > I am looking for an example that obtains an image from the db and displays > it. Can anyone point me in the right direction? I cou

Re: Image from DB example

2007-09-10 Thread Anthony J Webster
Along these lines I haven't managed to get images with transparency to display properly. My PNGs all display black instead of transparent pixels :(. Anthony - Original Message - From: "Igor Vaynberg" <[EMAIL PROTECTED]> To: Sent: Monday, September 10, 2007 4:32 PM Subject: Re: Image

Re: Locating CSS under WEB-INF, please help

2007-09-10 Thread Jason Mihalick
Thanks for the reply. Where are your css resources located under this configuration? I have a similar setup. I have a BasePage.html that refers to the css: ... But since my BasePage.html is located with my Java classes (at src/main/java/com///ui/web/page/

Re: Disable the SecondLevelPageCache?

2007-09-10 Thread Igor Vaynberg
and one more advice, for you and people reading about this. if you have large data like that that you want cached because retrieving it is slow, i would use an external cache. caching it in wicket-models is not the right place imho because as you can see wicket sometimes needs to serialize/clone pa

Ajax error in Safari / Konqueror

2007-09-10 Thread Rüdiger Schulz
Hello Wicketeers, Using Wicket 1.3-beta3, one of my Ajax calls is not working in Safari and Konqueror (works in Opera, MSIE, FF). The Ajax-debug log is saying after receiving the response: "ERROR: Error while parsing the response: Undefined value". There is no error on the server console. How can

FileUpload with AjaxSubmit not working

2007-09-10 Thread Jeremy Levy
Is it possible to have a form with a FileUpload field be submitted using an AjaxSubmit Link? I receive the following exception: 10:53:57,994 ERROR [RequestCycle] ::: ServletRequest does not contain multipart content java.lang.IllegalStateException: ServletRequest does not contain multipart conten

Re: Form.updateFormComponentModels bug?

2007-09-10 Thread Igor Vaynberg
On 9/10/07, Matthijs Wensveen <[EMAIL PROTECTED]> wrote: > > Okay, I get the whole conversion is validation thingy. Not entirely > convinced whether validation is the only place where conversion should > take place, but I'll leave this subject for now. It's already a lot > clearer to me now. it i

Re: Image from DB example

2007-09-10 Thread Igor Vaynberg
google pngfix for explorer -igor On 9/10/07, Anthony J Webster <[EMAIL PROTECTED]> wrote: > > Along these lines I haven't managed to get images with transparency to > display properly. My PNGs all display black instead of transparent pixels > :(. > Anthony > > - Original Message - > From

Re: Locating CSS under WEB-INF, please help

2007-09-10 Thread Rüdiger Schulz
Another tipp on this topic: You could provide the CSS twice. Once within a for offline preview and editing, and again outside that pointing to an url which works only on your live environment. Or you can add the "live" CSS with a header contributor in your base page. I use the latter one, but I

Re: FileUpload with AjaxSubmit not working

2007-09-10 Thread Jeremy Levy
Got it, forget it. On 9/10/07, Jeremy Levy <[EMAIL PROTECTED]> wrote: > > Is it possible to have a form with a FileUpload field be submitted using > an AjaxSubmit Link? > > I receive the following exception: > > 10:53:57,994 ERROR [RequestCycle] ::: ServletRequest does not contain > multipart cont

Re: Image from DB example

2007-09-10 Thread Anthony J Webster
If I remember correctly (this was a while back) it doesn't work over firefox either... I'll check up on the link. Thanks Anthony - Original Message - From: "Igor Vaynberg" <[EMAIL PROTECTED]> To: Sent: Monday, September 10, 2007 4:58 PM Subject: Re: Image from DB example google pn

Re: Form.updateFormComponentModels bug?

2007-09-10 Thread Johan Compagner
> > The extra memory for the ClickListener is negligible and does give you > more flexibility because now you can have more than one interested party > for the link click. My use case (fetch nested component, add listener) > was already answered sufficiently by Martijn (bad OO, components should >

Re: Disable the SecondLevelPageCache?

2007-09-10 Thread Johan Compagner
> > and also keep the ui state down to a minimum - which will make your app > clusterable and thus scalable for the future. the app is clusterable it could serialize it just fine ;) 32MB and everything is serializeable thats an accomplishment! johan

Add a tooltip to a DataTable for cells with long content

2007-09-10 Thread matttx
I'm currently using DataTable (with PropertyColumn's) to display the results sql queries.Sometimes data for a given column exceeds the length that can be formatted well in an html table.I'd like to truncate a column if it exceeds a length of, say, 40, and add a tooltip to display the full

Re: Locating CSS under WEB-INF, please help

2007-09-10 Thread Johan Maasing
On 9/10/07, Jason Mihalick <[EMAIL PROTECTED]> wrote: > But since my BasePage.html is located with my Java classes (at > src/main/java/com///ui/web/page/BasePage.html) and my css resources > are located at src/main/webapp/css , if I try to load the BasePage.html file > in an HTML editor, it

Re: Wicket validation flaw?

2007-09-10 Thread Johan Compagner
convertvalue() isn't called for a datefield i think... because i think the type is set (to Date) and then the converter is called: convertedInput = converter.convertToObject(getInput(), getLocale()); so i don't think it will be trimmed... johan On 9/7/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote

Re: Form.updateFormComponentModels bug?

2007-09-10 Thread Matthijs Wensveen
Johan Compagner wrote: The extra memory for the ClickListener is negligible and does give you more flexibility because now you can have more than one interested party for the link click. My use case (fetch nested component, add listener) was already answered sufficiently by Martijn (bad OO, compo

Re: Locating CSS under WEB-INF, please help

2007-09-10 Thread Jason Mihalick
Thanks Rüdiger. I'm trying the method now. Very clever. Do you know of any links to documentation or examples on how to use the "live" method for css, js, and image resources? -- Jason Rüdiger_Schulz wrote: > > Another tipp on this topic: > > You could provide the CSS twice. Once within

Re: Locating CSS under WEB-INF, please help

2007-09-10 Thread Jason Mihalick
Thanks Rüdiger. I'm trying the method now. Very clever. Do you know of any links to documentation or examples on how to use the "live" method for css, js, and image resources? -- Jason Rüdiger_Schulz wrote: > > Another tipp on this topic: > > You could provide the CSS twice. Once within

Re: How to handle these nested tags

2007-09-10 Thread Kent Tong
Kevin Liu-4 wrote: > > Unable to find component with id 'userName' in [MarkupContainer > [Component id = _relative_path_prefix_14, page = > com.cmip.web.pages.TopFrame, path = > 3:topForm:_relative_path_prefix_13:_relative_path_prefix_14.WebMarkupContainer, > isVisible = true, isVersioned = tr

  1   2   >