Re: Pageable JasperReport

2008-09-22 Thread freak182
I think i have to reply to my post :) ..nwei, i successfully implemented pageable in jasperreports using wicket's pageablelistview and it is a hack i supposed. :) and im going to do it also in DataView since the data there is refresh every time the pagelink is click. This is better option for

Need help regarding Base Page refresh.

2008-09-22 Thread kamlesh Wadhwani
I have a Wicket Page containing tabbedPanels which opens few other pages depending on the tabs. But in few of my tabs, I have BookmarkablePageLink to open a popup for some operation. I want to refresh corresponding tab after popup is closed. Please help. Kammy Add more friends to

Re: job postings

2008-09-22 Thread Martijn Dashorst
+1 On 9/22/08, Jonathan Locke [EMAIL PROTECTED] wrote: we encourage wicket related job postings on this list and i think that's great. but i was thinking it would be neat to also encourage people to make their wicket job posts links to a job list on the wicket wiki. thoughts? jon

Re: job postings

2008-09-22 Thread Eelco Hillenius
we encourage wicket related job postings on this list and i think that's great. Speaking of which, we're looking for a colleague... New Yorkers, look here: http://newyork.craigslist.org/mnh/sof/846161277.html Eelco - To

Re: job postings

2008-09-22 Thread Eelco Hillenius
Speaking of which, we're looking for a colleague... New Yorkers, look here: http://newyork.craigslist.org/mnh/sof/846161277.html And while we are looking for people who live in/ near New York, we *might* be interested in other US people, particularly from Seattle. Feel free to drop me a line

Re: Wicket sample application

2008-09-22 Thread Michael Sparer
I wanted to replace a text field on the registration page by a date. So I opened phpMyAdmin and replaced the column type by date - reloaded the page (without a restart or additional code-generation) - and there was already a date-picker on the page instead of the text field uff ... that

[announce] WUG DK @ 15 October

2008-09-22 Thread Nino Saturnino Martinez Vazquez Wael
Please add yourself if you want to attend in the wiki. Im holding 2x wicket seminars(24 people each), this wed/thur and expect/hope to draw attention to WUG. -- -Wicket for love Nino Martinez Wael Java Specialist @ Jayway DK http://www.jayway.dk +45 2936 7684

Re: Java BlackBelt Wicket exam

2008-09-22 Thread Nino Saturnino Martinez Vazquez Wael
hehe Leon Nieuwoudt wrote: For black belt, one of the questions must be to identify Martin, Eelco, Nino and Igor from a police line-up. On Fri, Sep 19, 2008 at 4:11 PM, James Carman [EMAIL PROTECTED]wrote: Perhaps it could be for a yellow belt. ;) On Fri, Sep 19, 2008 at 11:09 AM, Nino

Where to put custom validator properties file within JAR so Wicket finds it?

2008-09-22 Thread Justin Morgan - Logic Sector
I have a Maven project that builds a JAR file called mf-wicket- extensions.jar. I've created a class called DisallowedContentValidator.java that's built as part of the JAR. I'd like to add a DisallowedContentValidator.properties file that's automatically found when the validator validates

Re: Release date for 1.3.5?

2008-09-22 Thread Jörn Zaefferer
Check the open issues for 1.3.5 on JIRA: https://issues.apache.org/jira/secure/IssueNavigator.jspa?reset=truemode=hidesorter/order=DESCsorter/field=priorityresolution=-1pid=12310561fixfor=12313175 They are down to 27 from ~35 a few days ago. Jörn On Mon, Sep 22, 2008 at 6:14 AM, ywtsang [EMAIL

Wicket Markup parse doesn't handle Conditional Comments

2008-09-22 Thread Wayne Pope
Hi, I just tried to put some conditional comments in my page: !--[if lt IE 7] style type=text/css .dock img { behavior: url(css/iepngfix.htc) } /style ![endif]-- and the Markupparser just can't seem to handle it: Caused by: java.text.ParseException: Unclosed comment

Re: Strange behavior withe Modal Window

2008-09-22 Thread Eyal Golan
I thought taking out all state from the modal window to the page it is holding. It is very strange: When the user presses OK in a form that in the page, i construct a new instance (of WebPage). When the close callback is initiated, the instance that was created is null. Any thoughts? I am on this

Re: Where to put custom validator properties file within JAR so Wicket finds it?

2008-09-22 Thread Martijn Dashorst
It took a while to find the corresponding issue: http://issues.apache.org/jira/browse/WICKET-1103 Martijn On Mon, Sep 22, 2008 at 9:51 AM, Justin Morgan - Logic Sector [EMAIL PROTECTED] wrote: I have a Maven project that builds a JAR file called mf-wicket-extensions.jar. I've created a class

Re: Strange behavior withe Modal Window

2008-09-22 Thread Daan van Etten
Hi, You can try using abstract methods. I have made an example with demo project here: http://stuq.nl/weblog/2008-06-05/wicket-how-to-write-a-reusable-modal-window-popup Regards, Daan On 22 sep 2008, at 10:41, Eyal Golan wrote: I thought taking out all state from the modal window to the

Re: Wicket sample application

2008-09-22 Thread superoverdrive
I think it is good to treat the most common cases as default cases without having to write unnecessary or redundant code...if you want to overwrite or replace the behaviour, you can still do this. This is similiar to the BeanEdit Form in Tapestry...to automatically generate forms for objects

Re: Wicket sample application

2008-09-22 Thread Michael Sparer
nope this is GUI configuration in database, no annotation driven object generation. toby78 wrote: I think it is good to treat the most common cases as default cases without having to write unnecessary or redundant code...if you want to overwrite or replace the behaviour, you can still do

error parsing ajax response

2008-09-22 Thread lars vonk
Hi, I receive the following error message when I try to update a component using ajax: ERROR: Error while parsing response: Could not find root ajax-response element. This is the xml that was send back from the server. ?xml version=1.0 encoding=UTF-8?ajax-responseheader-contribution

Re: Strange behavior withe Modal Window

2008-09-22 Thread Eyal Golan
Thanks, I did something similar but with Page and not panel. The problem was keeping state in the page that was created in the PageCreator. I will soon post here (or in a blog) my solution. Eyal On Mon, Sep 22, 2008 at 12:03 PM, Daan van Etten [EMAIL PROTECTED] wrote: Hi, You can try using

Re: AjaxRequestTarget is null in Internet Explorer 6

2008-09-22 Thread mahone9
I still have that problem and why is sb. responding to another thread... mahone9 wrote: Hi all I´m struggeling with the AjaxFallbackLink the target object is null, if it runs to the onClick() method. In Firefox and Opera it works fine!!! class MyPanel extends Panel {

Re: AjaxRequestTarget is null in Internet Explorer 6

2008-09-22 Thread Arhur Leigh Allen
Jan Kriesten wrote: I´m struggeling with the AjaxFallbackLink the target object is null, if it runs to the onClick() method. I still have that problem and why is sb. responding to another thread... You should check the documentation what 'null' means on a

Re: error parsing ajax response

2008-09-22 Thread lars vonk
I did some more debugging and found this more detailed error message: XML Parsing Error: unclosed CDATA section Location: http://localhost:8090/appl Line Number 8, Column 230:/head]]/header-contributioncomponent id=feedback1 ![CDATA[div id=feedback1START RELEASING maven-web ...br/checkout

reading a resource file

2008-09-22 Thread eyalbenamram
Hi I have a wicket application that is being deployed to tomcat using Eclipse IDE. I need to be able to read a .txt file from the application object. the problem is I cannot find where to put the txt file. I tried to put it everywhere in the application, and under any directory in the tomact.

Re: reading a resource file

2008-09-22 Thread Emanuele Gesuato
eyalbenamram wrote: Hi I have a wicket application that is being deployed to tomcat using Eclipse IDE. I need to be able to read a .txt file from the application object. the problem is I cannot find where to put the txt file. I tried to put it everywhere in the application, and under any

Re: reading a resource file

2008-09-22 Thread Martijn Dashorst
Make sure the resource is copied into your classpath, and then you can read it in using this.getClass().getResourceAsStream(name) This is nothing magical, and isn't wicket related. Martijn On Mon, Sep 22, 2008 at 1:58 PM, eyalbenamram [EMAIL PROTECTED] wrote: Hi I have a wicket application

Re: reading a resource file

2008-09-22 Thread Eyal Golan
What about (and i don't have experience with it), WebResource and ResourceReference ? Are they related? On Mon, Sep 22, 2008 at 3:03 PM, Martijn Dashorst [EMAIL PROTECTED] wrote: Make sure the resource is copied into your classpath, and then you can read it in using

update dropdown with ajax

2008-09-22 Thread tbt
Hi I have a problem regarding how to update a dropdown with ajax when an option is added through a popup window. For example Page A has a dropdown and a link. When the link is clicked a popup opens and dropdown options can be added to the popup page. when the form is submitted by clicking 'add'

Re: reading a resource file

2008-09-22 Thread eyalbenamram
Sorry, but how can I copy the resource into the classpath? Martijn Dashorst wrote: Make sure the resource is copied into your classpath, and then you can read it in using this.getClass().getResourceAsStream(name) This is nothing magical, and isn't wicket related. Martijn On Mon,

Re: error parsing ajax response

2008-09-22 Thread Matej Knopp
looks like there is an ecoding problem. which is quite weird. Please open jira issue for this. A quickstart project would be welcome. -Matej On Mon, Sep 22, 2008 at 1:16 PM, lars vonk [EMAIL PROTECTED] wrote: I did some more debugging and found this more detailed error message: XML Parsing

how to get values from a property file

2008-09-22 Thread Eyal Golan
Hi, I have this Model: public final class SortOptionsModel extends AbstractReadOnlyModel { private static final long serialVersionUID = -772846448053016L; private final ListString sortOptions; public SortOptionsModel() { ResourceModel rmAsc = new

Re: update dropdown with ajax

2008-09-22 Thread Eyal Golan
I would update the model that the dropdown in the page uses. I will also add the page's dropdown to the AjaxTarget when the popup window closes. You did add a setWindowClosedCallback ? Eyal On Mon, Sep 22, 2008 at 3:06 PM, tbt [EMAIL PROTECTED] wrote: Hi I have a problem regarding how to

Re: how to get values from a property file

2008-09-22 Thread Uwe Schäfer
Eyal Golan schrieb: ResourceModel rmAsc = new ResourceModel(Reports.Parameters.ascending); String ascending = (String) rmAsc.getObject(); if it were an inner class, you could just String ascending = getString(Reports.Parameters.ascending); cu uwe

Re: how to get values from a property file

2008-09-22 Thread Eyal Golan
OK, that's an option which I moved to. Is there another way? On Mon, Sep 22, 2008 at 3:22 PM, Uwe Schäfer [EMAIL PROTECTED]wrote: Eyal Golan schrieb: ResourceModel rmAsc = new ResourceModel(Reports.Parameters.ascending); String ascending = (String) rmAsc.getObject(); if it

Re: Disabling RadioGroup via authorization strategy does not disable contained Radio buttons

2008-09-22 Thread Joel Hill
Done: https://issues.apache.org/jira/browse/WICKET-1843 I've also attached a fix, although I haven't tested it exactly as written, because I didn't feel like recompiling wicket. Joel Igor Vaynberg [EMAIL PROTECTED] 9/19/2008 1:50 PM create a jira issue for this -igor On Fri, Sep 19, 2008

Dynamic PageExpiredPage

2008-09-22 Thread Markus Haspl
hi, i've searched the mailing List and the docs but i didn't find a solution for my problem. I need a custom dynamic PageExpiredErrorPage. I don't know how to make this because i only see the method: getApplicationSettings().setPageExpiredErrorPage(Page.class); In the Page.class i can't work with

Re: Dynamic PageExpiredPage

2008-09-22 Thread Uwe Schäfer
Markus Haspl schrieb: getApplicationSettings().setPageExpiredErrorPage(Page.class); In the Page.class i can't work with the PageParameters, so i can't make it dynamic. what kind of data would you like to pass to it, and - more important - where could you possibly get it from ? cu uwe

Adding jquery effects to paging navigator

2008-09-22 Thread Serkan Camurcuoglu
Hi all, I want to add some decoration to AjaxPagingNavigator. I want the current page to fade out and the new page to fade in when the user clicks next. I'm thinking of using JQuery for effects. Can anybody show me some pointers to achieve this?

refresh page with detachable model - not working

2008-09-22 Thread lienok
Hello, the panel with detachable model is not refreshing after model has changed. kindly check the code please. the panel - ActivityPanel is not refreshing after I press link and status of the DetachableTcktModel is changed. public LoansTabPanel(String id, int ticketId) {

Re: refresh page with detachable model - not working

2008-09-22 Thread Martijn Dashorst
move tck = getModelObject() into the onclick handler. Martijn On Mon, Sep 22, 2008 at 4:05 PM, lienok [EMAIL PROTECTED] wrote: Hello, the panel with detachable model is not refreshing after model has changed. kindly check the code please. the panel - ActivityPanel is not refreshing after

Re: error parsing ajax response

2008-09-22 Thread lars vonk
I found what was causing it: I was reading data from a stream using the following code: char[] chars = new char[200]; while(bufferedReader.read(chars) != -1) { // add chars to response } When I changed the code to: int read = -1; while ((read = reader.read()) != -1) { buffer.append((char)

Re: refresh page with detachable model - not working

2008-09-22 Thread lienok
Hi Marijn, I have moved it to the onclick handler in a following way, but it did not help. tck = (Ticket) getParent().getModel().getObject(); Martijn Dashorst wrote: move tck = getModelObject() into the onclick handler. Martijn On Mon, Sep 22, 2008 at 4:05 PM, lienok [EMAIL

Re: Dynamic PageExpiredPage

2008-09-22 Thread Markus Haspl
On Mon, Sep 22, 2008 at 3:48 PM, Uwe Schäfer [EMAIL PROTECTED]wrote: Markus Haspl schrieb: getApplicationSettings().setPageExpiredErrorPage(Page.class); In the Page.class i can't work with the PageParameters, so i can't make it dynamic. what kind of data would you like to pass to it, and

Re: error parsing ajax response

2008-09-22 Thread Matej Knopp
Nope. I do not think it is a bug in wicket so the issue is not necessary. -Matej On 9/22/08, lars vonk [EMAIL PROTECTED] wrote: I found what was causing it: I was reading data from a stream using the following code: char[] chars = new char[200]; while(bufferedReader.read(chars) != -1) {

Re: Dynamic PageExpiredPage

2008-09-22 Thread Uwe Schäfer
Markus Haspl schrieb: i have a PageParameter (portalId) which indicates on which Portal the User is on. In the database there are a lot of portals, every portal has it's own users, pages and so on. So, every portal should have its own PageExpiredErrorPage. that is all fine, but where could

Re: Wicket Markup parse doesn't handle Conditional Comments

2008-09-22 Thread Igor Vaynberg
you are going to have to output the whole thing using a label or header contributor. our parser cant handle the non-standard comment tags yet. -igor On Mon, Sep 22, 2008 at 1:40 AM, Wayne Pope [EMAIL PROTECTED] wrote: Hi, I just tried to put some conditional comments in my page: !--[if lt

Re: Wicket Markup parse doesn't handle Conditional Comments

2008-09-22 Thread Matej Knopp
Well, if it is a valid xml then it is bug in our parser. -Matej On Mon, Sep 22, 2008 at 5:44 PM, Igor Vaynberg [EMAIL PROTECTED]wrote: you are going to have to output the whole thing using a label or header contributor. our parser cant handle the non-standard comment tags yet. -igor On

Re: Dynamic PageExpiredPage

2008-09-22 Thread Justin Morgan - Logic Sector
Create a custom Wicket session subclass that holds your portal: public class MySession extends WebSession { private Portal _portal; public MySession(Request request) { super(request); LOGGER.debug(Instantiated); _portal = new Portal(); } public Portal

Re: Dynamic PageExpiredPage

2008-09-22 Thread Michael Sparer
we handle it like that: [in your application-class] @Override protected IRequestCycleProcessor newRequestCycleProcessor() { return new WebRequestCycleProcessor() { @Override protected Page onRuntimeException(final Page

Re: Wicket Markup parse doesn't handle Conditional Comments

2008-09-22 Thread Jörn Zaefferer
We are using conditional comments in our base page without any issues. Dunno if that page isn't parsed my the MarkupParser for some reason... Jörn On Mon, Sep 22, 2008 at 5:49 PM, Matej Knopp [EMAIL PROTECTED] wrote: Well, if it is a valid xml then it is bug in our parser. -Matej On Mon,

Panel based wizard properties question

2008-09-22 Thread Edward Zarecor
Looking at the abracadabra example using property file style localization messages, http://www.wicket-library.com/wicket-examples, to wit: confirmation.content=You are about to create user '${firstName} ${lastName}', for \ department '${department}' and user name '${userName}'. Are you sure you

Re: AjaxRequestTarget is null in Internet Explorer 6

2008-09-22 Thread Pointbreak
Override onClick for your link. Your code defines an onClick in the panel, it doesn't override your Link's onclick. On Mon, 22 Sep 2008 03:16:47 -0700 (PDT), mahone9 [EMAIL PROTECTED] said: I still have that problem and why is sb. responding to another thread... mahone9 wrote:

Re: Panel based wizard properties question

2008-09-22 Thread Igor Vaynberg
this is a simple variable interpolation not a templating language :) of course there is nothing stopping you from generating the info message using velocity or freemarker or whatever else. -igor On Mon, Sep 22, 2008 at 11:07 AM, Edward Zarecor [EMAIL PROTECTED] wrote: Looking at the abracadabra

WicketRuntimeException when using wicket-auth-roles in a frameset

2008-09-22 Thread shetc
Hi All, I seem to have a very strange exception when using wicket-auth-roles in a frameset. Let me try and sketch out the setup: 1) Application home page is called FramesetPage.java -- it extends org.apache.wicket.markup.html.WebPage -- corresponding HTML contains simple

Re: Disabling RadioGroup via authorization strategy does not disable contained Radio buttons

2008-09-22 Thread Igor Vaynberg
fix committed -igor On Mon, Sep 22, 2008 at 5:56 AM, Joel Hill [EMAIL PROTECTED] wrote: Done: https://issues.apache.org/jira/browse/WICKET-1843 I've also attached a fix, although I haven't tested it exactly as written, because I didn't feel like recompiling wicket. Joel Igor Vaynberg

Re: WicketRuntimeException when using wicket-auth-roles in a frameset

2008-09-22 Thread Igor Vaynberg
looks like the form is being submitted to TopFramePage, when it should instead be submitted to the signinpage. interesting and weird. do you have any serialization errors? -igor On Mon, Sep 22, 2008 at 11:32 AM, shetc [EMAIL PROTECTED] wrote: Hi All, I seem to have a very strange exception

Re: WicketRuntimeException when using wicket-auth-roles in a frameset

2008-09-22 Thread shetc
If you mean in the logs then no, there are no serialization errors. I did see these 2 warnings when I went back to look at the logs: [9/22/08 14:04:24:395 EDT] 0028 SystemOut O 14:04:24,395 WARN AbstractTextComponent:148 - Couldn't resolve model type of

Re: WicketRuntimeException when using wicket-auth-roles in a frameset

2008-09-22 Thread Igor Vaynberg
so now you just need to figure out why a form in the bottom frame is submitting into the top frame. if you can create a quickstart we can probably help you more. -igor On Mon, Sep 22, 2008 at 11:55 AM, shetc [EMAIL PROTECTED] wrote: If you mean in the logs then no, there are no serialization

Re: Adding jquery effects to paging navigator

2008-09-22 Thread Serkan Camurcuoglu
How can I modify the onclick attribute of the links in the AjaxPagingNavigator? I override newPagingNavigationLink in my ajax paging navigator as shown below, but my javascript is not prepended. I want to add JQuery fadeout code before wicketAjaxGet: @Override protected Link

Re: Adding jquery effects to paging navigator

2008-09-22 Thread Serkan Camurcuoglu
just noticed I forgot to add the behavior to the link, but still the javascript does not show up.. Serkan Camurcuoglu wrote: How can I modify the onclick attribute of the links in the AjaxPagingNavigator? I override newPagingNavigationLink in my ajax paging navigator as shown below, but my

Re: Adding jquery effects to paging navigator

2008-09-22 Thread Matej Knopp
You can add simple AbstractBehavior i.e. link.add(new AbstractBehavior() { pubic void onComponentTag(Component component, Tag tag) { tag.put(onclick, onclickscript); } }); but you have to make sure you'll adding it to the right component. -Matej On Mon, Sep 22, 2008 at 11:12 PM, Serkan

FormTester.getTextComponentValue not equals with textfield

2008-09-22 Thread Emanuele Gesuato
Hello, I'm writing a testcase in which i try to compare the value of a textfield in a form with the value of a pojo. This value is a BigDecimal. This is the code: FormTester ft = tester.newFormTester(GestisciListino.tags.pizzaForm.toString()); assertEquals(pizza.getPrezzo().toString(),

Re: job postings

2008-09-22 Thread Jeremy Levy
We are hiring at as well: http://static.meetmoi.com/jobs/java.html Jeremy On Mon, Sep 22, 2008 at 3:10 AM, Eelco Hillenius [EMAIL PROTECTED]wrote: Speaking of which, we're looking for a colleague... New Yorkers, look here: http://newyork.craigslist.org/mnh/sof/846161277.html And while we

RE: Forwarding to a servlet

2008-09-22 Thread David Leangen
Hi David Hi Nino! [Oops. Didn't see your message until now...] I think you could just use response.sendRedirect() and request.forward() , rest of the code should still be processed. Ok, good to know. But are you expecting the user to return from the servlet? Still not sure what I want

Re: WicketRuntimeException when using wicket-auth-roles in a frameset

2008-09-22 Thread shetc
Alright, I created a quickstart project and the problem still exists. Do I upload the project for you to look at it? -- View this message in context: http://www.nabble.com/WicketRuntimeException-when-using-wicket-auth-roles-in-a-frameset-tp19613863p19620137.html Sent from the Wicket - User

Re: WicketRuntimeException when using wicket-auth-roles in a frameset

2008-09-22 Thread Igor Vaynberg
well, the whole point of creating the project was that someone can look at it :) upload it to our jira. -igor On Mon, Sep 22, 2008 at 7:10 PM, shetc [EMAIL PROTECTED] wrote: Alright, I created a quickstart project and the problem still exists. Do I upload the project for you to look at it?

MultiFileUploadField on a ModalWindow close issue

2008-09-22 Thread Flavius
I have a ModalWindow open and I have a MultiFileUploadField for users to upload files. Upload works great. I'd like to close the ModalWindow when the form is submitted. So if everything is fine, it will do the uploads and close the window. If there's an issue, it won't close the window and show