Re: Can i display a WepPage in a PDF (How to get the rendered markup)?

2013-06-13 Thread harmoniaa
https://issues.apache.org/jira/browse/WICKET-5232 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Can-i-display-a-WepPage-in-a-PDF-How-to-get-the-rendered-markup-tp4659290p4659438.html Sent from the Users forum mailing list archive at Nabble.com.

Re: Introduction and some questions about Wicket

2013-06-13 Thread Martin Grigorov
Hi Mike, Welcome to Wicket community! On Wed, Jun 12, 2013 at 10:47 PM, Michael Pence mike.pe...@gmail.comwrote: Hi guys, My name is Mike Pence. I think that I have dipped into this list a time or two in the past, but I am here, this time, with serious intent to use Wicket for a very big

AW: DateConverter getFormat

2013-06-13 Thread Christoph.Manig
Hello, thank you for your help. But this wouldn#t work because the return type of getFormat in my example is DateTimeFormatter from joda. Is there another example? Why I have to override this method? Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH

Re: DateConverter getFormat

2013-06-13 Thread Martin Grigorov
DateLabel has various static #forXyz() factory methods. Use any of them. On Thu, Jun 13, 2013 at 12:58 PM, christoph.ma...@t-systems.com wrote: Hello, thank you for your help. But this wouldn#t work because the return type of getFormat in my example is DateTimeFormatter from joda. Is there

Re: Wicket mail and pdf

2013-06-13 Thread Piratenvisier
Martin thank you for your instantanious answers, I tried the mailtemplate example changed resource.text to resource.pdf and after some research concerning the error I got included IPackageResourceGuard packageResourceGuard = getResourceSettings().getPackageResourceGuard(); if

Re: Wicket mail and pdf

2013-06-13 Thread Martin Grigorov
Hi, On Thu, Jun 13, 2013 at 1:48 PM, Piratenvisier hansheinrichbr...@yahoo.dewrote: Martin thank you for your instantanious answers, I tried the mailtemplate example changed resource.text to resource.pdf and after some research concerning the error I got included IPackageResourceGuard

DateTextfield with DatePicker

2013-06-13 Thread Christoph.Manig
Hello, in my application I have a DateTextField with a DatePicker. I declared it like this: DateTextField txtDatumVon = new DateTextField(txtDatumVon, new PatternDateConverter(HH:mm:ss dd.MM.,true)); When I choose a day I can see in the Textfield something like this: HH:mm:ss 11.06.2013.

wicket and JPA

2013-06-13 Thread Boris Brinza
Hello to all, I have some fundamental issues with integration of jpa into wicket. I develop web application using wicket 6 and JPA (eclipselink). Maybe next question is more JPA oriented, but nevertheless: Lets say i have class BaseDetailPageT extens BaseDO extends WebPage { protected T

Re: DateTextfield with DatePicker

2013-06-13 Thread francois meillet
DateTextField txtDatumVon = new DateTextField(txtDatumVon, new PatternDateConverter(dd/MM/, false)); François On Thu, Jun 13, 2013 at 1:03 PM, christoph.ma...@t-systems.com wrote: Hello, in my application I have a DateTextField with a DatePicker. I declared it like this:

Re: Introduction and some questions about Wicket

2013-06-13 Thread Nick Pratt
For 3.) here are some of our experiences: 1.) If you are building from scratch and utilizing a separate design/styling team, we found its far easier/quicker to let the CSS folks do their thing and provide static pages, which the dev team then interprets and builds towards. Most devs can read

Re: Wicket mail and pdf

2013-06-13 Thread Nick Pratt
Did you modify your pom.xml to include the PDF? In buildresources you should have something similar to: resource filteringfalse/filtering directorysrc/main/java/directory includes include**/include

Re: Dynamic Context Menu using wicket-jquery-ui

2013-06-13 Thread Sebastien
Hi Colin, Nice try :) It's not perfect for now but its interesting! (actually bronius is also using wicket-jquery-ui, but not the Menu; he's trying to integrate a context-menu plugin...) So, for the short time I had today, here is my current feedback: First, I am not yet convinced about the

AW: DateTextfield with DatePicker

2013-06-13 Thread Christoph.Manig
No I need this datepattern because the user should be able to change the time of a day. I also need true because the server and the client are in different timezones. Is there another way to change the default? Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International

Re: wicket and JPA

2013-06-13 Thread Sven Meier
Please read 9.6 Detachable models of the Wicket Free Guide and come back with your questions. Sven On 06/13/2013 01:20 PM, Boris Brinza wrote: Hello to all, I have some fundamental issues with integration of jpa into wicket. I develop web application using wicket 6 and JPA (eclipselink).

Form Submitting Component

2013-06-13 Thread Richard W. Adams
When I submit a form via an AjaxSubmitLink, form.findSubmittingButton() returns null, even though I called form.add(theLlink). Is this expected behavior? I know the findSubmittingButton() method says button, but it returns an IFormSubmittingComponent, so I would expect it could return either a

Re: Introduction and some questions about Wicket

2013-06-13 Thread Mike Pence
Thanks for all of the useful information and for your kindness. Having a supportive community -- something that the Ruby people are great at -- is a huge plus. Object-oriented Scala (being as functional in m approach as I can) and wicket look like the sweet spot for me. Here is hoping that big

Validator Can't Find Form Submitting Component

2013-06-13 Thread Richard W. Adams
[Re-sending, as I noticed my previous send was an accidental forward, so probably ended up in the wrong thread. Also adding some more info] I have a form inside a panel. The form is nested inside another form that includes the panel. The panel form has a validator which is supposed to validate

RE: Unit testing a repeater or data table by mocking its data

2013-06-13 Thread Paul Bors
Okay, so what's the easiest way to replace a single bean with a mock? I tried Springockito's @ReplaceWithMock w/o any luck. My webapp in testing is configured as follows: public class BaseConsoleTest extends SpringTest { ... ConsoleApplication testConsoleApplication = new

Re: Wicket Security examples

2013-06-13 Thread tom.hombergs
Also, I'm interested in hearing anyone's insight into using Apache Shiro with Wicket. Our senior management is pretty keen on seeing us implement a security framework that has a more powerful set of features. I've found Shiro to be mostly easy to implement, with the exception of managing

Re: wicket and JPA

2013-06-13 Thread Boris Brinza
Hello, ok, i understand what my problem was, I've update my code to use detachable model, quite easy refactorting. But it only postponed my problem to model onDetach, if i understand it right. In pdf, If we don't want to loose these changes we must explicitly persist the entity before the

Re: Wicket Security examples

2013-06-13 Thread N. Metzger
We have Wicket running with Shiro since version 1.4, and it's still doing fine under 6.7. Due to time restrictions I haven't looked into wicket-shiro for a long time, but no problems have surfaced. Natalie -- View this message in context:

Re: wicket and JPA

2013-06-13 Thread Andrey V. Panov
Check if entityManager.merge(entity) is present?!

DatePicker and DateTextField

2013-06-13 Thread Christoph.Manig
Hello, how is the DatePicker binded tot he DateTextfield? How is the picked date written in the Textfield? Is there a possiblilty to change this? When the DatePicker have the pattern dd.MM. there is no problem. But I want the full timestamp with this pattern HH:mm:ss dd.MM. because the