Re: compressing resources which are not in the classpath

2007-09-17 Thread Andrew Klochkov
Wow, Kent, thanks a lot for the code!! I wonder shouldn't something like this be in the framework core? Also I tried hard to find some docs about shared resources at all but didn't find any. The interface of the SharedResoruces class is quite confusing - almost all of its methods contain

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

2007-09-17 Thread Nino Saturnino Martinez Vazquez Wael
here it is..: https://issues.apache.org/jira/browse/WICKET-980 Eelco Hillenius wrote: On 9/13/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: That would be fine, I just feel that somehow wicket coders should somehow get at notice that the normal Image will not be updated

Re: wicket datetime / YUI calendar

2007-09-17 Thread Eelco Hillenius
Im having trouble finding out how popups are actually done. It does not look at it is setup like this: http://developer.yahoo.com/yui/examples/calendar/popup.html Or it's either merged deep in some of the js scripts bundled.. It doesn't actually really popup like windows do. It's an element

Re: compressing resources which are not in the classpath

2007-09-17 Thread Johan Compagner
shared resources and refenences to it are for basic use pretty simple, SharedResourece.add() adds a resource under a specific name, and then you make a ResourceReference with that same name in your component that has a src or href that wants to show the resource On 9/17/07, Andrew Klochkov [EMAIL

Re: wicket datetime / YUI calendar

2007-09-17 Thread Gerolf Seitz
nino filed WICKET-979 and i've attached a patch that should allow what nino wants to achieve. basically it adds two new options for configuring the datepicker: boolean hideOnSelect() and boolean renderOnLoad() Ah, that sounds fantastic! heh, i'm thinking about a detection-mechanism

Dojo floating panel

2007-09-17 Thread Federico Fanton
Hi everyone! I need a floating panel such as the one provided by wicket-dojo's DojoFloatingPanel, but I was wondering, is there a way to handle the panel content as if it was a normal WebPage? I mean, can I build a normal page and insert it into a panel when needed? Could it be possible? Many

Re: Wicket Accessibility

2007-09-17 Thread Sjoerd Lohuis
I'm all for making Wicket more accessible. I don't have much Java expertise, I'm a front-end developer, so maybe I can help with any html accessibility questions. I think standards complient html code is the first step into making every project accessible, but from what I've seen Wicket is

Re: compressing resources which are not in the classpath

2007-09-17 Thread Kent Tong
Andrew Klochkov wrote: Wow, Kent, thanks a lot for the code!! I wonder shouldn't something like this be in the framework core? I simply adapted the code from the CompressedPackageResource. As reusable components should have their resources bundled with them in the classpath,

Re: Wicket Accessibility

2007-09-17 Thread Nino Saturnino Martinez Vazquez Wael
I think you should be able to use these steps to make sure its ok: http://www.smartlabsoftware.com/wai-validator.htm http://www.w3.org/WAI/wcag-curric/sam119-0.htm http://www.w3.org/WAI/ regards Nino Sjoerd Lohuis wrote: I'm all for making Wicket more accessible. I don't have much Java

Re: wicket beta 1.3 DateTextField not working with ajaxformcomponentupdatebehavior?

2007-09-17 Thread Nino Saturnino Martinez Vazquez Wael
doesnt fire the event... Gerolf Seitz wrote: what's wrong with it? On 9/17/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Hi Seems to me this does not work? regards Nino - To unsubscribe, e-mail:

Re: Wicket Web Beans 1.0-rc1 Released

2007-09-17 Thread Gabor Szokoli
On 9/15/07, Zenrique Steckelberg [EMAIL PROTECTED] wrote: - allow constructor to accept models besides beans too, if possible. Me too! :-) Or is there some other way to use DetachableModels backed by JPA with WWB? (The abbreviation conjures images of a tiny but venerable local railroad company

Re: serving images from db - direct url access

2007-09-17 Thread Johan Compagner
look at WebApplication.mountSharedResources() and RequestCycle.urlFor(final ResourceReference resourceReference, ValueMap parameters) johan On 9/17/07, Leszek Gawron [EMAIL PROTECTED] wrote: Hello, I already know how to serve an image from database - dead easy. Thing is the image is a

Re: serving images from db - direct url access

2007-09-17 Thread Leszek Gawron
Johan Compagner wrote: look at WebApplication.mountSharedResources() and RequestCycle.urlFor(final ResourceReference resourceReference, ValueMap parameters) I did the exact thing. Please see my others post about decoding request parameters. -- Leszek Gawron

Re: serving images from db - direct url access

2007-09-17 Thread Johan Compagner
thats completely automatic. in your Resource that you have mounted under /images/ when you get a request to it you just do: Resource.getParameters() johan On 9/17/07, Leszek Gawron [EMAIL PROTECTED] wrote: Johan Compagner wrote: look at WebApplication.mountSharedResources() and

Re: Regarding Wicket Session

2007-09-17 Thread Martijn Dashorst
Why go through the session in the first place? Why not: public class Page1 extends WebPage { public Page1() { add(new Link(link) { protected void onClick() { setResponsePage(new Page2(Some string)); } }); } } public class Page2

Re: original value of id and setOutputMarkupId

2007-09-17 Thread Jan Kriesten
hi maris, and later I want to replace the panel. If I setOutputMarkupId(true) wicket modifies id value. just use setMarkupId( footer ); on your component and you should find 'footer' be used as our output-markup-id. regards, --- jan.

Re: serving images from db - direct url access

2007-09-17 Thread Leszek Gawron
Johan Compagner wrote: ahh ok that seems a bug can you report this? sure can, one last question: there is a method set/getCached(). Does this tell the browser to cache the resource or does wicket cache it itself? -- Leszek Gawron

Re: Question about notifyComponentOnBeforeRenderListeners

2007-09-17 Thread Matej Knopp
Could you please specify what it is that you can't do now? The thread is rather long and I don't have time to go through it all. I don't think we should reverse the other. What exactly do you mean by own logic ? -Matej On 9/17/07, Alex Objelean [EMAIL PROTECTED] wrote: I've noticed that the

Re: Number of available parameters in IndexedParamUrlCodingStrategy

2007-09-17 Thread james yong
Hi Kelvin, It works now! Probably tested with the wrong url the last time i tried. Thanks! Regards, James -- View this message in context: http://www.nabble.com/Number-of-available-parameters-in-IndexedParamUrlCodingStrategy-tf4436939.html#a12738141 Sent from the Wicket - User mailing list

Re: Question about use Palette with DropDownChoice

2007-09-17 Thread Kent Tong
JohnSmith333 wrote: I have use a Palette with DropDownChoice. I want to change the DropDownChoice's selected value and then update the Palette's lists. And when I click the Palette's value ,I hope to save the change result. But it's not work normally. Could anyone kind to help me? Thanks!

Re: Wicket Web Beans 1.0-rc1 Released

2007-09-17 Thread Dan Syrstad
On 9/17/07, Gabor Szokoli [EMAIL PROTECTED] wrote: On 9/15/07, Zenrique Steckelberg [EMAIL PROTECTED] wrote: - allow constructor to accept models besides beans too, if possible. Me too! :-) Or is there some other way to use DetachableModels backed by JPA with WWB? (The abbreviation

Wicket Web Beans Mailing List

2007-09-17 Thread Dan Syrstad
I've created a Wicket Web Beans mailing list on Sourceforge. For WWB-related topics, you can subscribe to the mailing list at: https://sourceforge.net/mail/?group_id=205206 . This will allow the Wicket mailing list to focus on Wicket directly. -Dan

Re: New Wicket Portlets Demo available

2007-09-17 Thread Eelco Hillenius
WDYT? Good news Ate! I'm +1 for putting it in trunk if you take on the responsibility of maintaining it properly. Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: New Wicket Portlets Demo available

2007-09-17 Thread Igor Vaynberg
im with eelco -igor On 9/17/07, Eelco Hillenius [EMAIL PROTECTED] wrote: WDYT? Good news Ate! I'm +1 for putting it in trunk if you take on the responsibility of maintaining it properly. Eelco - To unsubscribe,

Re: Wicket Accessibility

2007-09-17 Thread James Renfro
Nuno -- thanks -- these links are really helpful. One thing I've noticed while playing around is that the bulk of these accessibility changes require introducing tag attributes to the component tag, for instance, adding role=wai:button for a tag that represents a button -- but in some cases

findParent(BasePage.class) returns null

2007-09-17 Thread Maris Orbidans
Hi The problem is that findParent(BasePage.class) returns a correct reference and after few more lines of code it returns null. How is that possible ? I am using 1.3 beta3. protected void onSubmit(AjaxRequestTarget target, Form form) { LoginForm

Re: New Wicket Portlets Demo available

2007-09-17 Thread Ate Douma
Eelco Hillenius wrote: WDYT? Good news Ate! I'm +1 for putting it in trunk if you take on the responsibility of maintaining it properly. Sure :) I'm pretty much involved in several projects which would like to use the Wicket portlet support, and of course if we manage to rewrite our

Re: Wicket Accessibility

2007-09-17 Thread Eelco Hillenius
Not sure if that's the best method or not, but it seems like a great start here would be a low-level, lightweight support for adding attributes without having to override onComponentTag. This functionality may already be there -- I could easily have missed it. Attribute modifiers. Numbering

Re: Wicket Accessibility

2007-09-17 Thread James Renfro
Thanks Eelco. I've added a new feature ticket. Although I may not have enough knowledge to push this forward, I am intending to make use of it on a real project and eat my own dogfood, so I'll do my best to post what I learn from that process. I'd be thrilled if anybody else out there is

Re: Testing wicket 1.3

2007-09-17 Thread Nino Saturnino Martinez Vazquez Wael
Hi I was wondering how I should be testing with wicket. I've created the bbcodecomponent, I have a bbcodeLabel. And I would like to write a test for that. I can see that I can't use the assertLabel as that just gets modelObjectToString, in the bbcodeLabel some formatting are done during

Re: findParent(BasePage.class) returns null

2007-09-17 Thread Eelco Hillenius
That is because you replace a parent in the hierarchy of the component you ask the page for. Eelco On 9/17/07, Maris Orbidans [EMAIL PROTECTED] wrote: Hi The problem is that findParent(BasePage.class) returns a correct reference and after few more lines of code it returns null. How is

Re: New Wicket Portlets Demo available

2007-09-17 Thread Eelco Hillenius
But I will need support from all the Wicket committers for trying to maintain portlet compatibility as much as possible too! As long as you tell us when we're breaking the rules, we'll be happy to comply :) Eelco - To

New Wicket Portlets Demo available

2007-09-17 Thread Ate Douma
I'm really happy to announce that a new and quite feature complete Wicket Portlets Demo is now available for download at: http://people.apache.org/~ate/wicket/jetspeed-2.1.3-dev-wicket-demo-installer.jar I've worked hard the last few weeks to improve the Wicket portlet support branch and

Refresh page vs Restart to see HTML changes

2007-09-17 Thread Doug Leeper
I was under the impression that I would be able to change HTML while the server was running and see it reflected when I refreshed the browser. Unfortunately, I have to restart the entire server to see the change. If my understanding is correct, what could I be doing wrong? Notes: - I am

Re: Refresh page vs Restart to see HTML changes

2007-09-17 Thread Martijn Dashorst
Are the files copied from the sources directory to the classes directory? By default eclipse doesn't copy those files to the classpath iirc. Martijn On 9/17/07, Doug Leeper [EMAIL PROTECTED] wrote: I was under the impression that I would be able to change HTML while the server was running and

Refresh a page from an AjaxButton?

2007-09-17 Thread UPBrandon
I'm writing a Wicket app that makes pretty heavy use of the Wicket-Extensions ModalWindow to present what is basically a dialog box where the user can enter information into a form. The form on each dialog box is submitted with an AjaxButton and each panel has a feedback panel that is refreshed

Re: Refresh page vs Restart to see HTML changes

2007-09-17 Thread Doug Leeper
My files are being compiled/copied to iirc/bin. Any configuration settings I need to adjust to get this to work? How did you create your project? Using the quickstart archetype? I'm not sure where your eclipse compiles your Java sources to. With normal Eclipse use, that is iirc /bin If you

Re: Refresh page vs Restart to see HTML changes

2007-09-17 Thread Doug Leeper
I am running in development mode. The console shows DEVELOPMENT upon startup. Make sure you run in development mode. E.g. pass -Dwicket.configuration=development or configure in your web.xml file. Eelco -- View this message in context:

Re: Refresh page vs Restart to see HTML changes

2007-09-17 Thread Martijn Dashorst
On 9/17/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Eclipse does. Maven for instance doesn't. Are you sure the maven eclipse:eclipse doesn't generate the auto copying of HTML files for you when you add the src/main/java as a resources directory in your pom, such as our quickstart archetype and

Re: Refresh page vs Restart to see HTML changes

2007-09-17 Thread Eelco Hillenius
Are you sure the maven eclipse:eclipse doesn't generate the auto copying of HTML files for you when you add the src/main/java as a resources directory in your pom, such as our quickstart archetype and quickstart project does? Yep, I'm sure. Eclipse copies files by default, but you can

Re: Refresh a page from an AjaxButton?

2007-09-17 Thread Matej Knopp
You can use setResponsePage(getPage()) to refresh the window from Ajax(Submit)Button inside the window. The only problem is that you can't close the window regular way then, so you'll get the confirmation message. To get rid of the message put this javascript somewhere in your page:

Re: Refresh page vs Restart to see HTML changes

2007-09-17 Thread Eelco Hillenius
On 9/17/07, Martijn Dashorst [EMAIL PROTECTED] wrote: Are the files copied from the sources directory to the classes directory? By default eclipse doesn't copy those files to the classpath iirc. Eclipse does. Maven for instance doesn't. Eelco

Re: Refresh a page from an AjaxButton?

2007-09-17 Thread UPBrandon
That seems to work. I was trying to do exactly that earlier. At the time, I couldn't seem to access the setResponsePage() method but I must have been doing something wrong. For anyone who might be reading this later, I ended up calling setResponsePage(getPage() ); The only problem I am having

Re: Refresh a page from an AjaxButton?

2007-09-17 Thread UPBrandon
I thought about it but using ModalWindows makes things a little more complicated. Using a regular button, the browser will navigate away and the modal window will be lost. If there were no validation on the form inputs and the window always closed after the submit, that might not be a problem

Re: Refresh a page from an AjaxButton?

2007-09-17 Thread David Bernard
Why not use a regular Button and the onSumit() method of the form if you want to reload the page ? /david UPBrandon wrote: I'm writing a Wicket app that makes pretty heavy use of the Wicket-Extensions ModalWindow to present what is basically a dialog box where the user can enter information

Re: Refresh page vs Restart to see HTML changes

2007-09-17 Thread Martijn Dashorst
And what do you see in the logs? Are there no exceptions? Martijn On 9/17/07, Martijn Dashorst [EMAIL PROTECTED] wrote: Are the files copied from the sources directory to the classes directory? By default eclipse doesn't copy those files to the classpath iirc. Martijn On 9/17/07, Doug

Re: Refresh page vs Restart to see HTML changes

2007-09-17 Thread Doug Leeper
When you say copy to the classes directory, I am assuming you mean the WEB-INF/classes. If that is the case...then no. The classpath for the start application refers to the source code directory. Do I need to have Eclipse copy this files to WEB-INF/classes? If so, how do I go about doing

Re: Encoding the Nice URL Parameters !

2007-09-17 Thread chickabee
Bookmarkable urls are doing correct encoding, the problem is only with the the setResponsePage call. chickabee wrote: Hi, I am using: setResponsePage(SearchPage.class, params); Now if any of the params value has a space then the url fails miserably because it replaces the space

Re: Question about use Palette with DropDownChoice

2007-09-17 Thread JohnSmith333
Helo! Kent Thanks for your help. But I still have the same question. That's if I choice A with select A1 to selectedList and then choice B with selected nothing to selectedList. It's ok when I choice A again and see the A1 at selectedList. But if I choice A with select A1 to selectedList and

Re: Question about use Palette with DropDownChoice

2007-09-17 Thread Kent Tong
Helo! Kent Thanks for your help. But I still have the same question. That's if I choice A with select A1 to selectedList and then choice B with selected nothing to selectedList. It's ok when I choice A again and see the A1 at selectedList. But if I choice A with select A1 to selectedList and

Re: Question about use Palette with DropDownChoice

2007-09-17 Thread JohnSmith333
Yes,sir. I have run the code more three times before. Maybe it's because I run the code with wicket 1.2.6 and wicket-extensions-1.2.6 and jdk 1.4.12. Really I don't know what happen! Thank's your help again. Thanks! Helo! Kent Thanks for your help. But I still have the same question. That's

Re: Question about use Palette with DropDownChoice

2007-09-17 Thread Kent Tong
Yes,sir. I have run the code more three times before. Maybe it's because I run the code with wicket 1.2.6 and wicket-extensions-1.2.6 and jdk 1.4.12. Really I don't know what happen! Thank's your help again. Thanks! Then try using 1.3 beta3. -- View this message in context:

Re: Refresh page vs Restart to see HTML changes

2007-09-17 Thread Doug Leeper
That was it. I somehow had the wrong jars (1.3.x) mix with 1.4. Thanks! Productivity will go no go up!!! Martijn Dashorst wrote: On 9/17/07, Doug Leeper [EMAIL PROTECTED] wrote: My files are being compiled/copied to iirc/bin. Any configuration settings I need to adjust to get this to

Re: Error in invalidateNow()

2007-09-17 Thread Jeremy Thomerson
One more difference (shouldn't make a diff?) - prod is https, dev is http. JT On 9/18/07, Jeremy Thomerson [EMAIL PROTECTED] wrote: Not sure why I suddenly started getting this error... I'm using BETA3. In my development environment, everything runs fine. In production, I just started