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
(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
reateProxy(LazyInitProxyFactory.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 exam

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

Aw: Re: Wicket Spring boot - use spring devtools

2019-08-28 Thread Per Newgro
me. But with 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
, but with 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 commands, e-mail

Google Login with spring boot @WicketApp

2018-03-31 Thread Per Newgro
. Is 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
true seems 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.

Can I use wicket to emend my markup?

2017-11-21 Thread Per Newgro
e 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" <per.new...@gmx.ch> > An: users@wicket.apache.org > Betreff: Aw: Re: Re: Use Resource to transfer SVG to PNG > &

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

2017-07-18 Thread Per Newgro
t;mgrigo...@apache.org> > An: "users@wicket.apache.org" <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 <per.new...@gmx.ch> wrote: > > > Thanks for your res

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" <mgrigo...@apache.org> > An: "users@wicke

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 your s

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

2017-06-08 Thread Per Newgro
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.delb...@gmail.com> > An: users@wicket.apache.org > Be

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 completely.

Aw: Re: ListItem and enclosure problem

2017-06-08 Thread Per Newgro
) This 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 > Von: &quo

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
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() { super(new JsonWebSeri

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-28 Thread Per Newgro
Thank you both for your statement. Per > Gesendet: Mittwoch, 28. September 2016 um 08:34 Uhr > Von: "Ernesto Reinaldo Barreiro" <reier...@gmail.com> > An: "users@wicket.apache.org" <users@wicket.apache.org> > Betreff: Re: Find a component corresp

Find a component corresponding to entity

2016-09-28 Thread Per Newgro
s 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 wiki[1

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:

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 23:34

Reanimate project from wicketstuff sandbox

2016-01-10 Thread Per Newgro
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: users

Re: Best Practice - Create component by entity type?

2015-07-04 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 rob.audenae...@gmail.com: Hi Per, You can do something like this: Create a set

Best Practice - Create component by entity type?

2015-07-03 Thread Per Newgro
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 for your support Per

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

2015-02-06 Thread Per Newgro
not 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

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: 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 Von: Martin

Exclude link from disabled hierarchy

2014-06-18 Thread Per Newgro
to. 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

Aw: Re: Exclude link from disabled hierarchy

2014-06-18 Thread Per Newgro
this 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 Grigorov mgrigo...@apache.org

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

2014-04-29 Thread Per Newgro
support Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

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 support Per

NumberTextField eats my markup step attribute

2014-01-10 Thread Per Newgro
required? 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: NumberTextField eats my markup step attribute

2014-01-10 Thread Per Newgro
)); } } else { attributes.remove(step); } ... } This should do the trick without any change in current behavior. Thanks Per Then i could do Gesendet: Freitag, 10. Januar 2014 um 09:01

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 per.new...@gmx.ch wrote: Hi, i would like to enable float values in my form (without validation error). But it's not possible for me. If i add this input

Is Behavior.beforeRender useful for component configuration?

2014-01-02 Thread Per Newgro
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 some markup of my

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 to run only once see

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 original

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

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's a very simple

[auth-roles] Design of x-RoleAuthorizationStartegy

2013-10-11 Thread Per Newgro
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 before we create a ticket with a patch. What do you think? Thanks for your opinion Per

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

2013-08-09 Thread Per Newgro
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 order

Re: How can i render json into markup?

2013-07-06 Thread Per Newgro
. 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 super good job on integrating High

How can i render json into markup?

2013-07-05 Thread Per Newgro
for this. Thanks for your Support Per code div class=row main-content script type=application/json id=chart-data data-chart-generator=SingleBodyShopChartGenerator { title: , subtitle: , yTitle: Benchmark

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

2013-06-18 Thread Per Newgro
) { return 0; // pages always have priority over resources } /code 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 - To unsubscribe, e-mail

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 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;

Problem loading dependency for wicket-6.8.0

2013-05-25 Thread Per Newgro
artifactIdspring-core/artifactId /exclusion /exclusions /dependency ... /dependencies Thanks for your support Per - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org

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 correctly

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 code Page.java public class Page extends WebPage { public Page(final PageParameters

Aw: Re: Can i control event execution order?

2013-04-24 Thread Per Newgro
:-( code @Test public void shouldPrioritizeBookmarkableLinkClickOverClickableDiv() { tester.startPage(Page.class); tester.clickLink(outer:inner); tester.assertRenderedPage(OtherPage.class); } /code Thanks Per Gesendet: Mittwoch

Re: Model for dropdowns in a listview

2013-04-21 Thread Per Newgro
public class ReplyOptionsCollectingModel implements Serializable { private MapQuestion, ReplyOption answerForQuestions; } /code 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

Model for dropdowns in a listview

2013-04-20 Thread Per Newgro
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 support. Per Here some code

Re: Wicket integration with Spring

2012-12-28 Thread Per Newgro
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: I am

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 other tabs

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
(response); } } /code 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 myself. Thanks for helping me Per

Re: Why can't CssUrlReferenceHeaderItem have dependencies?

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

Re: Why can't CssUrlReferenceHeaderItem have dependencies?

2012-11-06 Thread Per Newgro
this to the ResourceReference and delegate the call. Maybe that is cause of how this is implemented. Thanks Per Original-Nachricht Datum: Tue, 6 Nov 2012 10:15:11 +0200 Von: Martin Grigorov mgrigo...@apache.org An: users@wicket.apache.org Betreff: Re: Why can\'t CssUrlReferenceHeaderItem have

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-mail: users-unsubscr

What is the way to test a behavior?

2012-11-01 Thread Per Newgro
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 code public class TestHomePage { public static class MyBehavior extends Behavior { @Override public

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
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 mailing list archive

Is there a MountedMapper respecting better matching path names?

2012-08-02 Thread Per Newgro
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 Grigorovmgrigo...@apache.orgwrote:

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

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.1842946.n4

Re: WicketTester Spring

2012-03-04 Thread Per Newgro
Assign the app to the wicket tester instance you use. See code 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 the context

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(){ @Override

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. code tester = new WicketTester(new MyApp()); /code 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

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: 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:td span wicket:id=aaa

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

Re: Performance optimization

2012-02-24 Thread Per
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 forum mailing list archive

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

2012-02-19 Thread Per
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-third Cheers, Per -- View this message in context: http

Re: get key from resource model

2012-02-10 Thread Per Newgro
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 using ResourceModel

Re: StatelessForm: Cannot login

2012-02-09 Thread Per Newgro
() 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 saves

Re: StatelessForm: Cannot login

2012-02-09 Thread Per Newgro
ISessionStore#lookup(Request) returns a session}), this call will be a noop. * /p */ 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've logged

Re: StatelessForm: Cannot login

2012-02-09 Thread Per Newgro
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

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

2012-01-24 Thread Per Newgro
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: [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 d, Germany; dk, Danmark hashcodes are 1 and 2 selected value is d, Germany hashcode is 3 Cheers Per Am

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 -1 as the index

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.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 maintenance

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

2012-01-21 Thread Per Newgro
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. Is there something other than hibernate

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

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

2012-01-19 Thread Per Newgro
Use a LoadableDetachableModelListUser 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

Re: how to get https port number in Wicket 1.5

2012-01-15 Thread Per Newgro
/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 be the case

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

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

  1   2   3   4   5   >