Add input in javascript and process value in form?

2021-03-12 Thread Per Newgro
item:" + i + ":value\" /></li>"; } Currently in Form.onSubmit values are empty. Is this possible? Is there an example for this? Thanks for your support Per - To unsubscribe, e-mail: user

Aw: Re: Extend session metadata with user-data-scope after login (spring question)

2021-03-07 Thread Per Newgro
gBean(name = "userScopeFinder") > private IUserScopeFinder userScopeFinder; > > Hope this helps > Sven > > > On 07.03.21 09:58, Per Newgro wrote: > > Hi, > > > > i would like to extend a session (metadata) with scope of user logged in. &g

Extend session metadata with user-data-scope after login (spring question)

2021-03-07 Thread Per Newgro
azyInitProxyFactory.java:191) at org.apache.wicket.spring.injection.annot.AnnotProxyFieldValueFactory.getFieldValue(AnnotProxyFieldValueFactory.java:166) at org.apache.wicket.injection.Injector.inject(Injector.java:111) ... 53 common frames omitted I'm a little bit lost, if my strategy is working in common. Has someone maybe an

Is there an example project for wicket-spring-boot with gradle and webpack?

2019-12-08 Thread Per Newgro
could setup everything. Btw. i built everything with gradle. Thanks for your support Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Is there a SOAP resource?

2019-10-07 Thread Per Newgro
app by my wicket app. So far i do everything using rest resource. So i ask myself if there is a similiar component for SOAP. Thanks for your support Regards Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For

Aw: Re: Wicket Spring boot - use spring devtools

2019-08-28 Thread Per Newgro
ith different classloaders class is loaded multiple times. I could provide a quickstart for this & create an issue, if you like. (?) I would like to adapt my configuration so that devtools are still available. (DCEVM i need to inspect :-).) Thanks for your support. Regards Per > Gesendet

Wicket Spring boot - use spring devtools

2019-08-28 Thread Per Newgro
But i would like to know if there is another option for me beside - removing spring-boot-devtools. Would be nice to here from you Thanks Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands,

Re: How to trace that a resource was requested?

2019-03-17 Thread Per Newgro
Thanks Martin, good guess. Regards Per Hi, You can use Link#onClick() to count and then throw RedirectToUrlException(urlFor(yourResourceReference)) that will lead to a redirect. On Tue, Mar 12, 2019 at 3:11 PM Per Newgro wrote: Hello, i like to log that a resource (PDF file), generated

How to trace that a resource was requested?

2019-03-12 Thread Per Newgro
that component no one is calling it's onClick method. Is there any example on how to listen to downloads? Thanks for your support Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional comman

Google Login with spring boot @WicketApp

2018-03-31 Thread Per Newgro
some1 knowing an example which i can study? Thanks for your support Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Wicket Spring Boot open entity manager in view config

2018-03-31 Thread Per Newgro
("openEntityManagerInView");         registration.addUrlPatterns("/*");         return registration;     } If some1 else looks for this. Cheers Per Am 23.03.2018 um 19:47 schrieb Per Newgro: Hello, we would like to use the open-entitymanager-in-view pattern. It was working in our &q

Wicket Spring Boot open entity manager in view config

2018-03-23 Thread Per Newgro
not to be enough. We still get LazyInitException - no session. Can one of you please provide a short comment, what we can still check? Thanks for your support. Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apac

Can I use wicket to emend my markup?

2017-11-21 Thread Per Newgro
know is - can i send the markup to a "wicket class" and emend the corrupt tags? I would like to avoid to handle every corrupt tag manually. Thanks for your support Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Aw: Re: Re: Use Resource to transfer SVG to PNG

2017-07-18 Thread Per Newgro
I've added a quickstart. https://issues.apache.org/jira/browse/WICKET-6424 Per > Gesendet: Dienstag, 18. Juli 2017 um 08:16 Uhr > Von: "Per Newgro" > An: users@wicket.apache.org > Betreff: Aw: Re: Re: Use Resource to transfer SVG to PNG > > My main problem is,

Aw: Re: Re: Use Resource to transfer SVG to PNG

2017-07-17 Thread Per Newgro
uot;Martin Grigorov" > An: "users@wicket.apache.org" > Betreff: Re: Re: Use Resource to transfer SVG to PNG > > On Mon, Jul 17, 2017 at 3:13 PM, Per Newgro wrote: > > > Thanks for your response Martin. > > > > I tried to make it work th

Aw: Re: Use Resource to transfer SVG to PNG

2017-07-17 Thread Per Newgro
g+xml;base64," + btoa(unescape(encodeURIComponent(svgData))) ); }); So i need to go on the other way. But there my problems still occur. Regards Per > Gesendet: Montag, 17. Juli 2017 um 10:42 Uhr > Von: "Martin Grigorov" > An: "users@wicket.apache.org"

Use Resource to transfer SVG to PNG

2017-07-17 Thread Per Newgro
that downloads the transcoded png by sending a request to the "transcoding resource" and using the svg-dom from browser. Is there someone who did that already once? Can you please give me a hint how this could work? Thanks for y

Aw: Re: Re: Re: ListItem and enclosure problem

2017-06-08 Thread Per Newgro
ot;, item.getModel()); item.add(label); if (item.getIndex() == 1) { item.setVisible(false); } } } Thanks for your support Per > Gesendet: Donnerstag, 08. Juni 2017 um 12:30 Uhr > Von: "Andrea Del Bene" > An: users@wicket.apache.org > Betreff: Re: Re: Re: Lis

Aw: Re: Re: ListItem and enclosure problem

2017-06-08 Thread Per Newgro
But wouldn't this only hide the complete listview when there is no item? I want to remove markup only for an empty item. So something like 1 2 3 should become in case foo:1:bar is invisible 1 3 Thank you Per > Gesendet: Donnerstag, 08. Juni 2017 um 11:40 Uhr > Von:

Aw: Re: ListItem and enclosure problem

2017-06-08 Thread Per Newgro
Sorry Ernesto for my bad english. But i can not see how i shall get this to work with a panel? I use a listview because my item count is configurable. So i can not generate a "template panel" and put all items in that. But i admit that i didn't understand your question complete

Aw: Re: ListItem and enclosure problem

2017-06-08 Thread Per Newgro
his works but with multiple ul in markup and the empty ul is still displayed. http://wicket.apache.org";> [Content] Thanks for help Per > Gesendet: Donnerstag, 08. Juni 2017 um 10:17 Uhr &

ListItem and enclosure problem

2017-06-08 Thread Per Newgro
Per WicketApplication.java public class WicketApplication extends WebApplication { /** * @see org.apache.wicket.Application#getHomePage() */ @Override public Class getHomePage() { return HomePage.class; } /** * @see org.apache.wicket.Application#init() */ @Override

How can i authorize a 'bot' to access my REST resource?

2017-02-09 Thread Per Newgro
mand (CLI) as a user Has someone maybe a working example for authorized resource access? Thanks Per @AuthorizeResource public class CRMDataImportResource extends AbstractRestResource { @SpringBean(name = "FullImport") private DataImport dataImport; public CRMDataImportResource() {

Re: DropDownChoice with ChoiceRenderer

2016-10-14 Thread Per Newgro
Hello ganea, can you please investigate the method below? Hope that helps Per Am 14.10.2016 um 14:52 schrieb ganea iulia: @Override public String getObject(String paramString, IModel> paramIModel) { // TODO Auto-generated method stub return n

Re: Repeat every 2 rows in a table

2016-10-14 Thread Per Newgro
://ci.apache.org/projects/wicket/guide/7.x/guide/repeaters.html You can add a markup container to a list view item and add the required row components to it. Hope that helps Per Am 14.10.2016 um 09:16 schrieb ganea iulia: Hello, I have in the html file, a table where I need to repeat every two rows. So

Aw: Re: Find a component corresponding to entity

2016-09-27 Thread Per Newgro
Thank you both for your statement. Per > Gesendet: Mittwoch, 28. September 2016 um 08:34 Uhr > Von: "Ernesto Reinaldo Barreiro" > An: "users@wicket.apache.org" > Betreff: Re: Find a component corresponding to entity > > Per, > > I normally do it th

Find a component corresponding to entity

2016-09-27 Thread Per Newgro
persons. Thanks for your ideas. Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Tool for finding missing translations in properties.xml

2016-07-08 Thread Per Newgro
I wrote my own tool as my search wasn't successful. But it is simply a main method loading the files and compares keys. Cheers Per Am 07.07.2016 um 16:48 schrieb Thorsten Schöning: Hi all, in my Wicket app I'm using properties.xml files for my i18n texts, like described in the wi

Re: wicket 6.x / java.text.ParseException on multiple div's

2016-05-15 Thread Per Newgro
Did you try to remove the questionable markup to see what is happening? Am 15.05.2016 um 11:39 schrieb Korbinian Bachl: Hello, I'm still on migrating a big wicket 1.4 app to wicket 6.23, and I now got a problem I dont know how to solve. A page throws following error: java.text.ParseException:

Re: Filtering capabilities in TH (Array Header) or for dataview.

2016-02-28 Thread Per Newgro
Maybe you can use org.apache.wicket.extensions.markup.html.repeater.data.table.filter.FilterToolbar You need to provide your column definitions as IFilteredColumn in your DataTable. The rest will be done by html markup. It's in wicket-extension library. Cheers Per Am 26.02.2016 um

Reanimate project from wicketstuff sandbox

2016-01-10 Thread Per Newgro
need to create a branch for every version then or is it enough to manage branch 1.3.x, 1.4.x and so on? Thanks for your support Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail:

Re: Best Practice - Create component by entity type?

2015-07-03 Thread Per Newgro
factory for a Person type. For instance if a boss is a manager. Then i can't use instanceof in the manager factory because boss entity would match twice. Am 03.07.2015 3:14 nachm. schrieb Rob Audenaerde : > > Hi Per, > > You can do something like this: > > Create a set o

Best Practice - Create component by entity type?

2015-07-03 Thread Per Newgro
types shall be displayed in their own component (a custom panel for every1). I would ask for simple, decoupled (extendible) solution of this problem. So far i've tried the obvious "instance of" approach. But this is not extendible. Maybe someone can send me some ideas. Thanks

Can i render content (css) of ContextRelativeResource to markup?

2015-02-06 Thread Per Newgro
supporting this. Maybe i be off the track. Thanks for your support Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Aw: Re: Submit Inputs on ListView by StatelessForm

2014-07-09 Thread Per Newgro
Hi Martin, thanks for your response. I've refactored the code to use a refreshing view. But there is still the same results. Code can be found here: http://pastebin.com/dhqj8zHr Do i need to use a special repeater? Thanks Per > Gesendet: Mittwoch, 09. Juli 2014 um 10:13 Uhr > V

Submit Inputs on ListView by StatelessForm

2014-07-09 Thread Per Newgro
by using the stateless form. But that requires me to add all fields without an "automatic" repeating. So my question is: How can i submit multiple (repeated) input fields by a stateless form? Thanks for your support Per --

Aw: Re: Exclude link from disabled hierarchy

2014-06-18 Thread Per Newgro
is by @Override protected boolean isLinkEnabled() { return true; } Now it seems to work as expected. Thanks for your support Per > Gesendet: Mittwoch, 18. Juni 2014 um 09:49 Uhr > Von: "Martin Grigoro

Exclude link from disabled hierarchy

2014-06-18 Thread Per Newgro
Is there a smart way to exclude the goback link form "enabledInHierarchy" processing? Thanks for your support Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

How can i avoid that urls in src attributes are handled by wicket?

2014-04-29 Thread Per Newgro
e {{ url }} Until now i thought that wicket handles only markup within html tags containing a wicket:id. But it seems that "Wicket gone wild" here :-). So my question would be: How can i avoid that wicket handles the src a

Locale in NumberTextField

2014-04-07 Thread Per Newgro
(newValidationError(e)); } } Why is the used locale hardcoded here (Locale.ENGLISH). Shouldn't that be the session locale? Is there any browser standard regarding this behavior (Couldn't find one so far)? Thanks for your s

Aw: Re: NumberTextField eats my markup step attribute

2014-01-10 Thread Per Newgro
> This is a bug. > Please file a ticket. > > Martin Grigorov > Wicket Training and Consulting > > > On Fri, Jan 10, 2014 at 10:01 AM, Per Newgro wrote: > > > Hi, > > > > i would like to enable float values in my form (without validation error). >

Aw: NumberTextField eats my markup step attribute

2014-01-10 Thread Per Newgro
attributes.put("step", Objects.stringValue(step)); } } else { attributes.remove("step"); } ... } This should do the trick without any change in curre

NumberTextField eats my markup step attribute

2014-01-10 Thread Per Newgro
with a value of 12.5 because step="any" has been removed (NumberTextField@190). The NumberTextField.setStep is also unusable because it uses a Number parameter which is "any" obviously not :-). is there another workaround or is a ticke

Re: Is Behavior.beforeRender useful for component configuration?

2014-01-02 Thread Per Newgro
have another option? Thanks Per Am 02.01.2014 16:55, schrieb Paul Bors: Do you want the "configuration" code to run each time before the component your behavior is attached to renders? Then go ahead and place your code there, otherwise if you only want the "configuration" code

Is Behavior.beforeRender useful for component configuration?

2014-01-02 Thread Per Newgro
No change after rendering started. But how shall i hide the parent without repeating myself in every Component.onBeforeRender method? This is working. But i have to duplicate my code for ListItem, ListView and AdminPanel. We use wicket-6.11 Thanks for helping me out of the wood. Per Here so

Re: Form submit without URL modification

2013-12-21 Thread Per Newgro
Hi Nick, we do a setResponsePage(this.getPageClass(), this getPageParameters()) at the end of the submit. Then the url is the same as before. Hth Per Am 20.12.2013 20:08, schrieb Nick Pratt: Is it possible to create a form submission that hits a specific URL and doesn't modify the ori

Re: How Does Checkbox Know To Store To My Data Object

2013-10-19 Thread Per Newgro
Hi david, there is no code in your email. Cheers Per Am 18.10.2013 22:39, schrieb dhongyt: I have a Data Object called DownloadBagService which works as a place to hold the checked files the a user selects. I have a page that the user are able to select files from and add it to the

Re: [auth-roles] Design of x-RoleAuthorizationStartegy

2013-10-15 Thread Per Newgro
Thanks for your reply Sven. That makes sense. Ok then we can definitly build our own solution. Cheers Per Am 15.10.2013 13:48, schrieb Sven Meier: Hi, wicket-auth-roles is 'mostly a technology demonstration': https://wicket.apache.org/learn/projects/authroles.html It'

[auth-roles] Design of x-RoleAuthorizationStartegy

2013-10-11 Thread Per Newgro
s)). => Shouldn't the role check a task of the RoleCheckingStartegy? Shouldn't it be a more configurable implementation? I hope my problem got clear. I don't want to snub anybody. The intention of this is only to have a discussion here be

Strange behavior on first page request with jetty from Start.class

2013-08-09 Thread Per Newgro
jpa java7 Thanks for your support Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: header resources order in 1.5.x

2013-08-08 Thread Per Newgro
Hi Michal, do you know this? https://github.com/ivaynberg/wicket-select2 There are examples. Maybe it can help Cheers Per Am 08.08.2013 17:27, schrieb Michal Wegrzyn: Dear, I am trying to integrate select2, but ordering in head doesn't seem to be good. What is the easiest way to

Re: How can i render json into markup?

2013-07-06 Thread Per Newgro
"Cookbook". But the problem of add a script in a div is still open. Thanks Per Am 06.07.2013 09:44, schrieb Paul Borș: Your question is better addressed at http://wicked-charts.2319560.n4.nabble.com/ The mailing list for https://code.google.com/p/wicked-charts/ Tom H. did a supe

How can i render json into markup?

2013-07-05 Thread Per Newgro
this. Thanks for your Support Per <tt>data-chart-generator="SingleBodyShopChartGenerator"> </tt><pre style="margin: 0em;"> { "title": "", "subtitle":

Resource mounting: Why has a resource always a lower compatibility score than a page?

2013-06-18 Thread Per Newgro
atibilityScore(Request request) { return 0; // pages always have priority over resources } So i would like to know: Why is the resource not mapped by it's appropriate compatibility score vs pages? Thanks for your support Per

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

2013-06-07 Thread Per Newgro
Found the solution already. I did it that way: public class FlyingSaucerPdfResource extends ByteArrayResource { public FlyingSaucerPdfResource() { super("application/pdf"); } @Override protected byte[] getData(Attributes attributes) { ByteArrayOutputStream os;

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

2013-06-07 Thread Per Newgro
Hi, i would like to render a WebPage with flying saucer (PDF generator). I've created a resource reference and a ByteArrayResource. But now i need the rendered markup of the page (e.g. HomePage). So my question is how can i render the markup in my Resource? Thanks for your suppor

Re: Problem loading dependency for wicket-6.8.0

2013-05-25 Thread Per Newgro
Ok, i've delete all wicket 8.8.x jars from m2. But the problem still appears. It seems that wicketstuff-annotations is referencing wickt-6.8.0-SNAPSHOT. I will downgrade until this is fixed Thanks Per Am 25.05.2013 10:39, schrieb Raul: Make sure you have downloaded the dependency corr

Problem loading dependency for wicket-6.8.0

2013-05-25 Thread Per Newgro
pring-core ... Thanks for your support Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Aw: Re: Can i control event execution order?

2013-04-24 Thread Per Newgro
t is green :-( @Test public void shouldPrioritizeBookmarkableLinkClickOverClickableDiv() { tester.startPage(Page.class); tester.clickLink("outer:inner"); tester.assertRenderedPage(OtherPage.class); } Thanks Per >

Can i control event execution order?

2013-04-24 Thread Per Newgro
Hi, i would like to add a bookmarkable page link to a clickable div. But the event behavior of the div is always executed. Is there a way to prioritize the event coming from the link? Thanks Per Page.java public class Page extends WebPage { public Page(final PageParameters parameters

Re: Model for dropdowns in a listview

2013-04-21 Thread Per Newgro
answerForQuestions; } Or do you mean that CompoundPropertyModel has more "features" handling the indexed-property stuff? Thanks for your support Per Am 21.04.2013 00:31, schrieb Rodrigo Heffner: Have you tried using CompoundProperty

Model for dropdowns in a listview

2013-04-20 Thread Per Newgro
i put the questions in a listview and a dropdown for the reply options on it's item. But i have no clue how to implement the "business model" containing the answers. Every answer is related to one selected reply option. Can some1 please give me some pointers. Thanks for your sup

Re: Wicket integration with Spring

2012-12-28 Thread Per Newgro
u can define your required dependeny there were you use them. Another cool approach in wicket is the event system in 1.5+. So you throw events in child components and provide the services in high ranking components (page, app ...) Just my 2 ct. Per Am 27.12.2012 11:11, schrieb Arun Chauhan:

Re: CSS for subpanel tabs

2012-12-26 Thread Per Newgro
answers here. Cheers Per Am 26.12.2012 18:13, schrieb appwicket: Hi, I'm using panels contains tabbed panels and each tab contains few sub-tabbedpanels. I load my css in my page and it works fine for the tabs and the sub tabs in first tab. However the CSS doesn't work for other subtabs in

Re: Howto display 404 cause of response on custom error page?

2012-11-27 Thread Per Newgro
Thanks you both for your suggestions. I will try it tomorrow and come back if i got more questions :-) Thanks Per Am 26.11.2012 16:49, schrieb Stefan Renz: Hi, we had a similar requirement, so we did the following: instead of throwing a AbortWithHttpErrorCodeException, we throw a semantic

Howto display 404 cause of response on custom error page?

2012-11-26 Thread Per Newgro
super.setHeaders(response); } } But i wouuld like to display the cause of the 404 to. If i debug i can see the cause deep inside the response. But i can't imagine that i have to rebuild the path to the cause by myse

Re: Why can't CssUrlReferenceHeaderItem have dependencies?

2012-11-06 Thread Per Newgro
em concepts. It seems to be more natural to extend the CssUrlHeaderItem and provide the dependencies there instead of connecting this to the ResourceReference and delegate the call. Maybe that is cause of how this is implemented. Thanks Per Original-Nachricht > Datum: Tue, 6

Re: Why can't CssUrlReferenceHeaderItem have dependencies?

2012-11-06 Thread Per Newgro
Iterable getDependencies() { return reference.getDependencies(); } }); super.renderHead(response); } I hope this is answering your question. Thanks Per - To unsubscrib

Why can't CssUrlReferenceHeaderItem have dependencies?

2012-11-05 Thread Per Newgro
? Thanks for explanation. Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: What is the way to test a behavior?

2012-11-03 Thread Per Newgro
Thanks, works like expected. You right. If i throw another exception (ex. IAE) the assertion on rendered page is working. So checking the last response status seems to be "natural". Per - To unsubscribe, e-m

What is the way to test a behavior?

2012-11-01 Thread Per Newgro
ts in the expected exception. But if i render a using component it's not answered by the 404. How can i get a 404 within the usage testcase (see below). Thanks for helping me Per public class TestHomePage { public static class MyBehavior extends Behavior { @Override p

Wicketstuff references Wicket-Snapshot

2012-09-18 Thread Per Newgro
Hi, is it required that all the wicketstuff projects are related to the wicket snapshot releases? Thanks for review Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h

Re: AutocompleteTextField and object (not just String)

2012-08-06 Thread Per
mplete-component It requires some work to adapt, but it may be worth it, depending on your usecase. Cheers, Per -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AutocompleteTextField-and-object-not-just-String-tp4650911p4651026.html Sent from the Users forum mai

Is there a MountedMapper respecting better matching path names?

2012-08-02 Thread Per Newgro
this is not a good option. So i would like to know if there is already a library providing my required behavior. Thanks Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: I'm slighty mad

2012-06-22 Thread Per Newgro
I hope you're not working in a nuclear power plant :-) Am 22.06.2012 19:01, schrieb Bruno Borges: Crazy little bastard!! Congratulations on your brave move! :D *Bruno Borges* (21) 7672-7099 *www.brunoborges.com* On Fri, Jun 22, 2012 at 5:23 AM, Martin Grigorovwrote: +1! :-) next step is

Re: Wicket dropdownchoice onselectionchanged must override or implement a supertype method

2012-04-24 Thread Per Newgro
it is because of the @override annotation on a non-existent method. Check the signature of the onSelectionChanged Cheers Per Am 24.04.2012 20:04, schrieb kshitiz: Hi, I am trying to implement wicket drop down choice with on selection changed feature. But as I write : final DropDownChoice

Re: Page/Session persistence on AppEngine

2012-03-30 Thread Per
evict so many pages until the session size is below 1MB again). That's the last resort only, but helps avoiding the nasty blank exception page. All combined, you should be able to work around the session size issue. Cheers, Per -- View this message in context: http://apache-wicket.18429

Re: WicketTester & Spring

2012-03-04 Thread Per Newgro
So problem is solved? Per Am 04.03.2012 11:22, schrieb Douglas Ferguson: I'm doing that. The fix involved moving the injector initialization to a template method so I could override. tester = new WicketTester(new MyApp(){ @Ove

Re: WicketTester & Spring

2012-03-04 Thread Per Newgro
Assign the app to the wicket tester instance you use. See section below. Per Am 04.03.2012 10:11, schrieb Douglas Ferguson: What does this mean? "you have to set the app to wicket tester instance." Douglas On Mar 4, 2012, at 1:32 AM, Per Newgro wrote: And the app should know t

Re: reload model on render

2012-03-03 Thread Per Newgro
Any code please, Per Am 04.03.2012 03:16, schrieb nazeem: Hi I have a content area in which I am displaying say PanelA. In PanelA I have a link to navigate to PanelB. When I click that I replace the content area with PanelB. When I construct PanelB i pass the instance PanelA via PanelA.this

Re: WicketTester & Spring

2012-03-03 Thread Per Newgro
And the app should know the context in which way? No no you have to set the app to wicket tester instance. tester = new WicketTester(new MyApp()); Cheers Per Am 04.03.2012 06:17, schrieb Douglas Ferguson: I'm trying to use wicket tester to test an app that is running with spring.

Re: help with drag and drop (wicket-dnd)

2012-02-26 Thread Per Newgro
Hi Dan, only a shot in the dark - but is your markup valid? validate with w3c. PS: Is it required to add the ending slash? Cheers Per Thanks for answer. Yes, in the first "td" is "span" but in this forum it was formatted and span was not visible. The first td should be:&l

Re: Performance optimization

2012-02-24 Thread Per
on that topic, but I overheard other developers that there are faster libraries. They have tradeoffs, but maybe one of them works for you. Cheers, Per -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Performance-optimization-tp4412659p4419130.html Sent from the Users

Re: Performance optimization

2012-02-24 Thread Per
Hi Martin, some of the things we did was (as mentioned by others) to generate HTML, this saved a lot of memory. But also to look really hard at the component tree and decide if everything was needed *all the time*. For instance, we had plenty of AJAX links that were rarely used (5 per row or so

Shrinking the session size, simply by zipping it. Saved my day.

2012-02-19 Thread Per
In over a year of squeezing bytes out of the object graph, this had never occurred to me. But now it's kind of obvious, and really easy to code as well... Check out our blog if you ever had this problem. http://smallimprove.wordpress.com/2012/02/19/reducing-wicket-session-size-to-one-thir

Re: get key from resource model

2012-02-10 Thread Per Newgro
key; public MyResourceModel(String key) { super(key); this.key = key; } public String getTheKeyOnUglyWay() { return this.key; } } But i would do this only if no other solution is possible. Cheers Per Am 10.02.2012 14:43, schrieb cosmindumy: Hello, My displayed texts are localized usin

Re: StatelessForm: Cannot login

2012-02-09 Thread Per Newgro
o all helping others out of their problems. Cheers Per Am 09.02.2012 20:00, schrieb René Bernhardsgrütter: Hi Per, thank you very much for your answers. Yes, that was it. I added WiaSession.get().bind(); to my LoginPanel and now it works as it should :-) Every time when the LoginPanel is showed

Re: StatelessForm: Cannot login

2012-02-09 Thread Per Newgro
* {@link ISessionStore#lookup(Request) returns a session}), this call will be a noop. * */ Am 09.02.2012 18:45, schrieb Per Newgro: If i understood your usecase correctly you're app is still stateless if you logged in. Afaik no session is created for stateless pages. So after you&#x

Re: StatelessForm: Cannot login

2012-02-09 Thread Per Newgro
ssion() in the page. Cheers Per Hello, I have a strange problem with StatelessForms in combination with login in: On my MainPage are two stateless forms. One for registration and one for the login (registration isn't implemented yet). When I try to log in, Wicket creates a new User() and

Re: [1.5.4] DropDownChoice is not presenting value if equals is not overwritten

2012-01-24 Thread Per Newgro
Thanks Sven, https://issues.apache.org/jira/browse/WICKET-4353 Cheers Per Am 24.01.2012 11:31, schrieb Sven Meier: Hi, Igor's commit statements says "improved inconsistency handling in choice components". This change prevents IChoiceRenderer#getIdValue() being called with -

Re: [1.5.4] DropDownChoice is not presenting value if equals is not overwritten

2012-01-24 Thread Per Newgro
Maybe a usecase helps :-) I load my choices in a LDM. The selected choice is located in the domain model. So the objects are equal by semantic but not by instance. Dropdown choices are hashcodes are 1 and 2 selected value is d, Germany hashcode is 3 Cheers Per Am 24.01.2012 10:42, schrieb

[1.5.4] DropDownChoice is not presenting value if equals is not overwritten

2012-01-24 Thread Per Newgro
erwrite equals in my objects to get that to work. Is there another way of selecting the object? Thanks Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

Re: Apache Wicket 1.5.4 is released

2012-01-23 Thread Per Newgro
Oops sorry. My fault. Mail filter is filtering dev before users list. So it's only seen in dev folder. Sorry. Per Am 23.01.2012 10:51, schrieb Per Newgro: Shouldn't it be announce to the other list? Cheers Per Am 23.01.2012 09:41, schrieb Martin Grigorov: This is the fourth m

Re: Apache Wicket 1.5.4 is released

2012-01-23 Thread Per Newgro
Shouldn't it be announce to the other list? Cheers Per Am 23.01.2012 09:41, schrieb Martin Grigorov: This is the fourth maintenance release of the Wicket 1.5.x series. This release brings over 60 bug fixes and improvements. Git tag: release/wicket-1.5.4 Changelog: https://issues.apach

Re: Can't instantiate page using constructor

2012-01-21 Thread Per Newgro
The stack trace is what? Am 21.01.2012 18:21, schrieb Daniel Watrous: When I build my wicket project I'm getting the following error Tests in error: homepageRendersSuccessfully(com.danielwatrous.movieratings.TestHomePage): Can't instantiate page using constructor 'public com.danielwatrous.mo

Re: What to add to pom.xml to use hibernate?

2012-01-21 Thread Per Newgro
uot; at the side. I think that will anser you question. You have to exhange the version numbers by 4.0.1... Cheers Per Am 21.01.2012 08:53, schrieb Daniel Watrous: I'm interested in using hibernate in my wicket application, but I can't find any up to date examples combining the two.

Re: ListView not refreshed after a new row is inserted with EJB3 as its backend data

2012-01-19 Thread Per Newgro
Use a LoadableDetachableModel> in the ListView Constructor. Put all the load loading into the load method and see what happens. Cheers Per Am 19.01.2012 07:49, schrieb x.yang: Hello, Everyone, I am trying to build a web app with Wicket, EJB3, and MySQL. My IDE is Netbeans 6.9.1 and the ser

Re: how to get https port number in Wicket 1.5

2012-01-15 Thread Per Newgro
questions/96164/partial-site-ssl-using-asp-net-login-control It's a .net answer but the issue seems to be the same. Per Am 15.01.2012 01:41, schrieb armhold: Hi Per, The documentation for @RequireHttps implies that it only works for pages, not components, and my (limited) testing shows that to b

Re: how to get https port number in Wicket 1.5

2012-01-14 Thread Per Newgro
Stupid = my question not yours :-). Only for clearify it :-) Am 14.01.2012 19:05, schrieb Per Newgro: Stupid question. Is @RequireHttps at Form class working? Cheers Per Am 14.01.2012 17:44, schrieb armhold: Assuming that the http/https port number have been set in WicketApplication with

Re: how to get https port number in Wicket 1.5

2012-01-14 Thread Per Newgro
Stupid question. Is @RequireHttps at Form class working? Cheers Per Am 14.01.2012 17:44, schrieb armhold: Assuming that the http/https port number have been set in WicketApplication with the following: setRootRequestMapper(new HttpsMapper(getRootRequestMapper(), new HttpsConfig(8080

  1   2   3   4   5   >