Re: Page Expired after WebResponse

2010-09-28 Thread Altuğ Bilgin Altıntaş
No I didn't use ResourceStremRequestTarget because my aim is to dumped Listview component's content into excel so I used ComponentRequestTarget which works great. But WebResponse wr = (WebResponse) getResponse(); wr.setContentType(application/vnd.ms-excel;

Re: Modular XHTML DTD for Wicket?

2010-09-28 Thread Erik van Oosten
Hello Ichiro, Bring it on! Find all xhtml tags here: https://cwiki.apache.org/WICKET/wickets-xhtml-tags.html. Here you will also find a link to the current DTDs. Regards, Erik. Op 28-09-10 04:53, Ichiro Furusato schreef: I brought this up previously under Wicket pages are invalid

Re: bookmarkablePage strategy change?

2010-09-28 Thread Martin Grigorov
Try with HybridUrlCodingStrategy On Tue, Sep 28, 2010 at 7:54 AM, Alex Rass a...@itbsllc.com wrote: Ok, after reading and debugging, seems that bookmarkable page does indeed drop the source page. Is there a way to fix that? So that after I submit the form on that page, I get to keep my bob:

StatelessLink

2010-09-28 Thread Altuğ Bilgin Altıntaş
Hi ; I used StatelessLink but i still get Page Expired , is it normal ? Also this StatelessLink is in StatelessForm and Page is Bookmarkable but wicket - 1.4.9 still generates : http://localhost:8080/ac/customer?wicket:interface=:1:frmSearch:linkExcel::ILinkListener :: why ? Thanks.

Re: StatelessLink

2010-09-28 Thread Martin Grigorov
You may use wicket-devutils. There is a stateless checker. It will tell you which component makes the page stateful. 2010/9/28 Altuğ Bilgin Altıntaş alt...@gmail.com Hi ; I used StatelessLink but i still get Page Expired , is it normal ? Also this StatelessLink is in StatelessForm and Page

Rendering at constructor?

2010-09-28 Thread Martin Makundi
Hi! How is it possible that this error occurs at page constructor? Caused by: org.apache.wicket.WicketRuntimeException: Cannot modify component hierarchy after render phase has started (page version cant change then anymore) at

Re: Rendering at constructor?

2010-09-28 Thread Martin Grigorov
Which version of Wicket ? Many apps/tests/examples use this and this is first time I see such problem. Can you create a ticket with a quickstart, please. On Tue, Sep 28, 2010 at 12:17 PM, Martin Makundi martin.maku...@koodaripalvelut.com wrote: Hi! How is it possible that this error occurs

Re: Rendering at constructor?

2010-09-28 Thread Martin Makundi
Hi! 1.4.8. Unfortunately I don't quite know how to reproduce, but it is somehow related to redirectrespose/intercept exceptions and possibly also some other exceptions I will post more info when I get some. ** Martin 2010/9/28 Martin Grigorov mgrigo...@apache.org: Which version of Wicket

Re: Rendering at constructor?

2010-09-28 Thread Martin Makundi
Hi! Here is the rest of the stacktrace: at wicket.quickstart.AbstractAuthenticationPage.init(AbstractAuthenticationPage.java:29) at wicket.quickstart.LoginPage.init(LoginPage.java:82) at wicket.quickstart.TakpApplication.getEffectiveLoginPage(TakpApplication.java:2573)

Bug in CharSetUtil/Map?

2010-09-28 Thread Jan Willem Janssen
Hi, We are experiencing some problems in CharSetUtil.getEncoding(). When used, we see the following stacktrace appear: java.lang.IndexOutOfBoundsException: Index: 4, Size: 0 at java.util.ArrayList.add(ArrayList.java:367) at

Re: Putting HTML files in src/main/webapp

2010-09-28 Thread elesi
Could i change html resource folder, even if my project don't have a maven folder structure? I mean no resources folder, etc.? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Wicket-Offline-Applications-tp1883788p2716953.html Sent from the Users forum mailing list

Re: automatically sizing modal window

2010-09-28 Thread Anna Simbirtsev
I think if the modal window is a panel, not a Page, then it auto sizes its height. On Mon, Sep 27, 2010 at 5:41 PM, Martin Grigorov mgrigo...@apache.org wrote: patches are welcome especially if they work cross-browser ;-) On Mon, Sep 27, 2010 at 11:23 PM, mzem...@osc.state.ny.us wrote:

pagemap and link

2010-09-28 Thread Altuğ Bilgin Altıntaş
Hi, How can i open a link with a different pagemap so that i expect not to get page Expired error. Link link = new Link{ public void onClick() { // how can i set a new page map here ? } } Thanks.

ModalWindow with input type = submit

2010-09-28 Thread Early Morning
Hi all, In our ModalWindow, we have forms that have submit buttons (input type = submit /). We found that after a user closes a modal window, and then the user presses the Enter key, an exception is thrown saying that the submit button is not visible. Is there any solution for this other than

PDF generation

2010-09-28 Thread Alex Zeit
We need to generate some PDFs containing formatted text, tables, and images in a certain layout from Wicket application. What PDF library work best with Wicket? FOP, iText, something else? Alex

Re: pagemap and link

2010-09-28 Thread Martin Grigorov
This will not save you. You need BookmarkableLink for this case. 2010/9/28 Altuğ Bilgin Altıntaş alt...@gmail.com Hi, How can i open a link with a different pagemap so that i expect not to get page Expired error. Link link = new Link{ public void onClick() { // how can i set a new

Re: PDF generation

2010-09-28 Thread Martin Grigorov
You the library you like the most. Wicket don't care about that. Just stream the generated document to the browser - search in Google how to do that. It has been discussed many times. On Tue, Sep 28, 2010 at 2:49 PM, Alex Zeit zeita...@googlemail.com wrote: We need to generate some PDFs

Re: PDF generation

2010-09-28 Thread Josh Kamau
I use iReport and JasperReport library. regards. On Tue, Sep 28, 2010 at 3:49 PM, Alex Zeit zeita...@googlemail.com wrote: We need to generate some PDFs containing formatted text, tables, and images in a certain layout from Wicket application. What PDF library work best with Wicket? FOP,

RE: sanity check request for fix regarding the dreaded PageExpiredException

2010-09-28 Thread Joe Hudson
Thanks Igor and Alex for the feedback. It is very much appreciated! Joe -Original Message- From: Alex Rass [mailto:a...@itbsllc.com] Sent: Monday, September 27, 2010 11:47 AM To: users@wicket.apache.org Subject: RE: sanity check request for fix regarding the dreaded

Re: pagemap and link

2010-09-28 Thread Altuğ Bilgin Altıntaş
BookmarkableLink ?? Do you mean BookmarkablePageLink 2010/9/28 Martin Grigorov mgrigo...@apache.org This will not save you. You need BookmarkableLink for this case. 2010/9/28 Altuğ Bilgin Altıntaş alt...@gmail.com Hi, How can i open a link with a different pagemap so that i expect

Re: pagemap and link

2010-09-28 Thread Martin Grigorov
The same. 2010/9/28 Altuğ Bilgin Altıntaş alt...@gmail.com BookmarkableLink ?? Do you mean BookmarkablePageLink 2010/9/28 Martin Grigorov mgrigo...@apache.org This will not save you. You need BookmarkableLink for this case. 2010/9/28 Altuğ Bilgin Altıntaş alt...@gmail.com Hi,

Re: pagemap and link

2010-09-28 Thread Altuğ Bilgin Altıntaş
I need onClick method so BookmarkablePageLink is not for me. Am i right ? Also i search inside BookmarkablePageLink and i think the key point is to generate Link - getURL but i couldn't achieve to generate the right Url which doesn't cause Page Expired . I read the mailing list and see Igor

Re: PDF generation

2010-09-28 Thread Alex Zeit
Martin, Josh, Thank you very much for your answers. iReport using iText, that is obviously plus for iText. 2010/9/28 Josh Kamau joshnet2...@gmail.com I use iReport and JasperReport library. regards. On Tue, Sep 28, 2010 at 3:49 PM, Alex Zeit zeita...@googlemail.com wrote: We need to

RE: PDF generation

2010-09-28 Thread John Owen
iText seems to work well, but I use it through JasperReports so most of the iText integration is hidden away. -Original Message- From: Alex Zeit [mailto:zeita...@googlemail.com] Sent: Tuesday, September 28, 2010 7:50 AM To: users@wicket.apache.org Subject: PDF generation We need to

Re: PDF generation

2010-09-28 Thread Doug Leeper
PD4ML -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/PDF-generation-tp2717158p2717265.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail:

multiple html pages to 1 class

2010-09-28 Thread Alex Rass
I know this has been raised tons of times, But has anyone ever figured out: how to do this and not screw up page versioning? Any sort of CMS would need this. I am ok with going to 1.5.M2 for this, btw, if that solves it. - Alex.

how to get html resources in wicket

2010-09-28 Thread elesi
could anyone explain how wicket searches the context path for resources? i mean is it different from the local drive path that i use for non-web applications? because im having a hard time tracing the url of wicket pages, and trying to guess where my resources are... thanks in advance ciao,

how to get resource path of files in server to be used by wicket

2010-09-28 Thread elesi
could anyone explain how wicket searches the context path for resources? i mean is it different from the local drive path that i use for non-web applications? because im having a hard time tracing the url of wicket pages, and trying to guess where my resources are... thanks in advance ciao,

RE: Possible to Set Multiple Columns in CheckGroup?

2010-09-28 Thread Shelli Orton
Thanks! -Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Monday, September 27, 2010 12:21 PM To: users@wicket.apache.org Subject: Re: Possible to Set Multiple Columns in CheckGroup? since you control the markup of CheckGroup/Check components you can align

RE: Setting Checked Boxes in CheckGroup

2010-09-28 Thread Shelli Orton
Just wondering if anyone has had a chance to look at the quickstart project and could tell me what I'm doing wrong... Shelli -Original Message- From: Shelli Orton Sent: Thursday, September 23, 2010 2:24 PM To: users@wicket.apache.org Subject: RE: Setting Checked Boxes in CheckGroup I

Re: Setting Checked Boxes in CheckGroup

2010-09-28 Thread Igor Vaynberg
your SelectOption class is missing equals and hashcode -igor On Tue, Sep 28, 2010 at 8:38 AM, Shelli Orton shelli.or...@sjrb.ca wrote: Just wondering if anyone has had a chance to look at the quickstart project and could tell me what I'm doing wrong... Shelli -Original Message-

Re: StatelessLink

2010-09-28 Thread Igor Vaynberg
even if the page is stateful, the url the stateless link generates should be stateless...got a quickstart? -igor On Tue, Sep 28, 2010 at 2:09 AM, Martin Grigorov mgrigo...@apache.org wrote: You may use wicket-devutils. There is a stateless checker. It will tell you which component makes the

Re: Bug in CharSetUtil/Map?

2010-09-28 Thread Igor Vaynberg
file a jira with a quickstart -igor On Tue, Sep 28, 2010 at 4:16 AM, Jan Willem Janssen janwillem.jans...@planon.nl wrote: Hi, We are experiencing some problems in CharSetUtil.getEncoding(). When used, we see the following stacktrace appear: java.lang.IndexOutOfBoundsException: Index: 4,

Re: multiple html pages to 1 class

2010-09-28 Thread Igor Vaynberg
let your page implement IMarkupResourceStreamProvider and IMarkupCacheKeyProvider and return whatever html you want, anything will do it as long as it matches component hierarchy. -igor On Tue, Sep 28, 2010 at 7:40 AM, Alex Rass a...@itbsllc.com wrote: I know this has been raised tons of times,

RE: Setting Checked Boxes in CheckGroup

2010-09-28 Thread Shelli Orton
I added the missing methods and the default selected options are now checked. Thanks! Shelli -Original Message- From: Igor Vaynberg [mailto:igor.vaynb...@gmail.com] Sent: Tuesday, September 28, 2010 9:54 AM To: users@wicket.apache.org Subject: Re: Setting Checked Boxes in CheckGroup

Re: how to get resource path of files in server to be used by wicket

2010-09-28 Thread Jeremy Thomerson
what resources are you having troubles with? On Tue, Sep 28, 2010 at 10:19 AM, elesi jsar...@gmail.com wrote: could anyone explain how wicket searches the context path for resources? i mean is it different from the local drive path that i use for non-web applications? because im having a

RE: multiple html pages to 1 class

2010-09-28 Thread Alex Rass
Thanks, Igor. That's what I did. BUT as soon as I hit form submit - it does a round-trip and loses the page part in the URL, and I am down to site.com/?wicket... from having a nice site.com/page.html (and using getRequest() to grab the page name). So I have no way to know which page I am

Re: multiple html pages to 1 class

2010-09-28 Thread Jeremy Thomerson
If you're getting what template to use from the PageParameters, and then submitting a form, save it in a field in the page when you pull it from the PageParameters. On Tue, Sep 28, 2010 at 11:53 AM, Alex Rass a...@itbsllc.com wrote: Thanks, Igor. That's what I did. BUT as soon as I hit form

RE: multiple html pages to 1 class

2010-09-28 Thread Alex Rass
Yeah, smart approach, and I thought about that... It's no good because the URL becomes unusable right after. And I would need custom handling inside each form (or having to sub-class every form I use). And hitting reload or moving the tab to another window will most likely break it in some

Re: multiple html pages to 1 class

2010-09-28 Thread Jeremy Thomerson
Show us some code... What I suggested should work - you won't lose it after submitting a form, and no form will need to know about it. Something like this: class MyWackyMultiHtmlPage extends WebPage { private final String htmlTemplate; MyWackyMultiHtmlPage(PageParameters pp) {

Cancelling ala AjaxLink vs AjaxButton

2010-09-28 Thread LutherBaker
I am popping up a ModalWindow with a form - which has Cancel and Submit buttons. Unfortunately, I can't get the Cancel button to close the window. It keeps submitting to the validator, stays on the form and echos validation text to the feedback panel. I can get it to work with an AjaxLink.

Re: Cancelling ala AjaxLink vs AjaxButton

2010-09-28 Thread Igor Vaynberg
that should be enough, alternatively use AjaxLink instead -igor On Tue, Sep 28, 2010 at 10:49 AM, LutherBaker lutherba...@gmail.com wrote: I am popping up a ModalWindow with a form - which has Cancel and Submit buttons. Unfortunately, I can't get the Cancel button to close the window. It

Estimated number of developers in the Wicket community

2010-09-28 Thread Chris Colman
Hi fellow Wicketers, I've been using Wicket for about 4 years now and, as predicted, I'm addicted to the productivity I get by being able to perform unconstrained object oriented design and development at both the model and user interface layers. My company has been contracted by a very large

Re: Estimated number of developers in the Wicket community

2010-09-28 Thread Jeremy Thomerson
On Tue, Sep 28, 2010 at 2:41 PM, Chris Colman chr...@stepaheadsoftware.comwrote: The 'popularity' test is very vague but I understand it's purpose, they want to ensure that they use products that are widely used and have an active user community: which is very true of Wicket. Does anyone have

Re: Estimated number of developers in the Wicket community

2010-09-28 Thread Scott Swank
A couple that come to mind, but aren't on that list are: www.springer.com - publisher mobile.walmart.com - retailer Scott On Tue, Sep 28, 2010 at 12:53 PM, Jeremy Thomerson jer...@wickettraining.com wrote: On Tue, Sep 28, 2010 at 2:41 PM, Chris Colman chr...@stepaheadsoftware.comwrote: The

RE: Estimated number of developers in the Wicket community

2010-09-28 Thread Frank Silbermann
Chris Colman chr...@stepaheadsoftware.com Tue, Sep 28, 2010 at 2:41 PM: The 'popularity' test is very vague but I understand it's purpose, they want to ensure that they use products that are widely used and have an active user community: which is very true of Wicket. Does anyone have some

Deploy Wicket App as Liferay Portlet

2010-09-28 Thread Shelli Orton
I am trying to deploy a Wicket application as a portlet in Liferay 5.2.3 bundled with Tomcat 6.0. I found this which has been very helpful: http://mail-archives.apache.org/mod_mbox/wicket-users/201001.mbox/browse r http://mail-archives.apache.org/mod_mbox/wicket-users/201001.mbox/brows er

RE: Deploy Wicket App as Liferay Portlet

2010-09-28 Thread Shelli Orton
Of course, as soon as I send this, I find the solution... Apparently Wicket portlets require a URL pattern like this: url-pattern/myApp/*/url-pattern Shelli -Original Message- From: Shelli Orton Sent: Tuesday, September 28, 2010 4:50 PM To: users@wicket.apache.org Subject:

Re: Cancelling ala AjaxLink vs AjaxButton

2010-09-28 Thread LutherBaker
Thanks Igor, I've determined that something is not playing nicely here. The larger picture is this - user visits a page and clicks on Add to add a widget to the database. I pop up a ModalWindow with a form on it. User can (a) submit form, (b) cancel button (c) cancel link. I'd like to close the

Bookmarking, getting the url hash value

2010-09-28 Thread Matthew Goodson
Hi, I've seen this topic mention a little bit around the place but I haven't seen any implementation of it so far. I'm looking into adding the ability to bookmark changes done by ajax in wicket. I'm planning on using the BBQ Jquery plugin and integration it with wicket. The hardest step is

Re: Cancelling ala AjaxLink vs AjaxButton

2010-09-28 Thread Igor Vaynberg
if onsubmit is not called most likely you have validation errors and to see them you have to add the feedback panel in the onerror handler of the button -igor On Tue, Sep 28, 2010 at 4:51 PM, LutherBaker lutherba...@gmail.com wrote: Thanks Igor, I've determined that something is not playing

Re: Cancelling ala AjaxLink vs AjaxButton

2010-09-28 Thread LutherBaker
It turns out that it actually seems to work in IE. For what it's worth, the javascript isn't working correctly in a virtual install of Firefox 3.0.19. For all I know, could be related, in part, to our software packaging/management process. I'll try and test in a few different environments and

Re: how to get resource path of files in server to be used by wicket

2010-09-28 Thread elesi
mp3 resources... i would like to put mp3 source paths in the header contribution of my panel, but im not sure what url will i feed to the script, i placed them together with html and java files and used a relative path, like /file.mp3, but like an absolute local path, my javascript still

Re: Modular XHTML DTD for Wicket?

2010-09-28 Thread Ichiro Furusato
Hi Erik, I'll begin working with this over the weekend, and will post a notice when I have something to show. If I have any specific questions I'll ask the list -- this will likely be an iterative process... Cheers, Ichiro On 9/28/10, Erik van Oosten e.vanoos...@grons.nl wrote: Hello Ichiro,

Re: Bookmarking, getting the url hash value

2010-09-28 Thread Jeremy Thomerson
On Tue, Sep 28, 2010 at 6:53 PM, Matthew Goodson matt...@spidertracks.co.nz wrote: Hi, I've seen this topic mention a little bit around the place but I haven't seen any implementation of it so far. I'm looking into adding the ability to bookmark changes done by ajax in wicket. I'm planning

Re: how to get resource path of files in server to be used by wicket

2010-09-28 Thread Jeremy Thomerson
On Tue, Sep 28, 2010 at 9:04 PM, elesi jsar...@gmail.com wrote: mp3 resources... i would like to put mp3 source paths in the header contribution of my panel, but im not sure what url will i feed to the script, i placed them together with html and java files and used a relative path, like