Add input in javascript and process value in form?

2021-03-12 Thread Per Newgro
Hi, i would like to add some input fields to an ul/li using JS. function add_fields() { var d = document.getElementById("items"); var i = d.childElementCount; d.innerHTML += "
  • "; }

    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
    Hi, i would like to extend a session (metadata) with scope of user logged in. Something like "allowed countries", "allowed companies" and so on. That scope is provided by a spring bean (UserScopeFinder). This bean is created in a Configuration as a @Bean. What i tried so far is add an ISessionL

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

    2019-12-08 Thread Per Newgro
    Hello *, i try to setup a spring boot project based on wicket-spring-boot-parent. To built my frontend assets (sass, js, svg minify etc) i like to use webpack. But if i start my project the assets are not loaded. So i hope to find an example project, where i can find some inspirations how i coul

    Is there a SOAP resource?

    2019-10-07 Thread Per Newgro
    Hello every1, i would like to migrate some features of an web app to my wicket app. The web app is a spring boot app that provides access to data using SOAP. The web service extracts the SOAP request and calls my wicket app by using rest resource. But now i need to replace the additional web ap

    Aw: Re: Wicket Spring boot - use spring devtools

    2019-08-28 Thread Per Newgro
    tart > the application manually. > > On Wed, Aug 28, 2019 at 11:25 AM Per Newgro wrote: > > > Hello *, > > > > I migrate my current wicket app to spring boot version ( > > https://github.com/MarcGiffing/wicket-

    Wicket Spring boot - use spring devtools

    2019-08-28 Thread Per Newgro
    Hello *, I migrate my current wicket app to spring boot version (https://github.com/MarcGiffing/wicket-spring-boot). So far it was straightforward. But now i experience a problem with inclusion of org.springframework.boot

    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
    Hello, i like to log that a resource (PDF file), generated in backend, was requested. The resource is mounted by a resource reference. An external link is using url to resource reference. Download of file generated by resource is working. But I like to avoid log of every request to resource. If

    Google Login with spring boot @WicketApp

    2018-03-31 Thread Per Newgro
    Hello, i would like to replace my local (db-based) login with OAuth Provider Google. But so far i could not implement a working solution. The app is registered at Google. Client secret and ID are present. But i can not find an example how to integrate everything in my Wicket App. Is some

    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
    Hello, we would like to use the open-entitymanager-in-view pattern. It was working in our "old fashioned" spring application by configuring filter in web.xml. But we can not find the appropriate config for wicket spring boot. Enable spring.jpa.open-entitymanager-in-view=true seems not to be

    Can I use wicket to emend my markup?

    2017-11-21 Thread Per Newgro
    Hello, i try to render HTML markup with flying saucer to PDF. In case i render the page by wicket and use that result markup in my flying saucer wicket resource, everything is ok. Because i need to generate some SVG by browser using javascript (d3.js) i would like to send the markup from browse

    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
    > Betreff: Re: Use Resource to transfer SVG to PNG > > Hi, > > Wouldn't HTML Canvas API be better solution? > See https://stackoverflow.com/a/27232525/497381 > > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Mon, J

    Use Resource to transfer SVG to PNG

    2017-07-17 Thread Per Newgro
    Hello *, I would like to generate a png from a svg. The transcoding is done by using Batik. So far it works as expected. But i'm not sure how to provide the resulting png (a byte[]) to my frontend. The svg is generate in browser by using highcharts. I would like to provide a button that downlo

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

    2017-06-08 Thread Per Newgro
    tItem and enclosure problem > > Just use: > > item.setVisible(false); > > instead of: > > label.setVisible(false); > > On Thu, Jun 8, 2017 at 12:23 PM, Per Newgro wrote: > > > But wouldn't this only hide the complete listview when there is no

    Aw: Re: Re: ListItem and enclosure problem

    2017-06-08 Thread Per Newgro
    n your MyListView override onConfigure with something like this: > > void onConfigure() { >super.onConfigure(); >setVisible(getModelObject().size() > 0); > } > > > On Thu, Jun 8, 2017 at 11:09 AM, Per Newgro wrote: > > > Sorry Ernesto for my bad englis

    Aw: Re: ListItem and enclosure problem

    2017-06-08 Thread Per Newgro
    ly. Thanks Per > Gesendet: Donnerstag, 08. Juni 2017 um 10:17 Uhr > Von: "Ernesto Reinaldo Barreiro" > An: "users@wicket.apache.org" > Betreff: Re: ListItem and enclosure problem > > Why to not put the thing in a panel? > > On Thu, Jun 8, 2017 at 9:5

    Aw: Re: ListItem and enclosure problem

    2017-06-08 Thread Per Newgro
    tid > Basically you should move your ListView to tag an remove wicket:id > from tag. > > On Thu, Jun 8, 2017 at 9:54 AM, Per Newgro wrote: > > > Hello, > > > > i would like to enclose markup of a list item in wicket:enclosure. The > > enclosure is activated ba

    ListItem and enclosure problem

    2017-06-08 Thread Per Newgro
    Hello, i would like to enclose markup of a list item in wicket:enclosure. The enclosure is activated based on a child component on list item. So for i could not find any marker that this is not working. So i need to do something wrong. Any work around would be welcome. Thanks for your support P

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

    2017-02-09 Thread Per Newgro
    Hi, i've extended an org.wicketstuff.rest.resource.AbstractRestResource and mounted it in my WebApplication. Everything works so far. But i've annotated my Method with a role that shall be extracted from the session. I'm not quite sure how to 'login' my import command (CLI) as a user Has someo

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

    Re: Repeat every 2 rows in a table

    2016-10-14 Thread Per Newgro
    Hello ganea, you can find many information about your problem at http://examples7x.wicket.apache.org/index.html espacially http://examples7x.wicket.apache.org/repeater The user guide can you find here https://ci.apache.org/projects/wicket/guide/7.x/ Repeaters are explained here https://ci.apache

    Aw: Re: Find a component corresponding to entity

    2016-09-27 Thread Per Newgro
    e static factory way.. but Spring might give you the > advantage for testing (e.g in some situation just pass something that > creates an empty panels, or anything else). As Martin said, this is not > something Wicket cares about. > > On Wed, Sep 28, 2016 at 8:04 AM, Per Newgro

    Find a component corresponding to entity

    2016-09-27 Thread Per Newgro
    Hello *, I'm looking for an elegant solution to determine a component for an entity. Example: There is a person and two sub-types of it - Manager and Sportsman. The Manager can be listed in a listview by using a ManagerViewItem and the Sportsman by using a SportsmanViewItem. Currently I'm using

    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]. The pro

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

    Reanimate project from wicketstuff sandbox

    2016-01-10 Thread Per Newgro
    Hello, maybe someone has some experiences with the topic and can support me. I would like to update wicketstuff/sandbox/wicket-contrib-jamon. I already forked the sandbox and transfered code from 1.3 to 1.4 to 1.5 to 6 and now to 7. Almost all problems are solved. There are some strange tests w

    Re: Best Practice - Create component by entity type?

    2015-07-03 Thread Per Newgro
    PanelFor( Class personClass) ... >   public registerPanelFor ( Class personClass, Class extends PersonPanel> personPanelClass ... > } > > > > On Fri, Jul 3, 2015 at 2:32 PM, Per Newgro wrote: > > > Hi, > > > > i think about that problem for some time

    Best Practice - Create component by entity type?

    2015-07-03 Thread Per Newgro
    Hi, i think about that problem for some time now. Maybe someone alrady has a good solution. Let's assume we have a Manager entity and a Tainee entity. Both are Person entities. In Model we ask for all persons. So we get a mix from Managers and Trainees in a list. Both concrete entity types sh

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

    2015-02-06 Thread Per Newgro
    Hi, I like to render a PDF by my wicket page using flying-saucer. There i reference my css file by url (link). So far everything works. But if i switch to SSL flying-saucer breaks. Hmm. My solution to this issue would be to include content of my css file directly in the wicket-page used to rend

    Aw: Re: Submit Inputs on ListView by StatelessForm

    2014-07-09 Thread Per Newgro
    s better to use another repeater when you want to keep the page > stateless. > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > > On Wed, Jul 9, 2014 at 11:08 AM, Per Newgro wrote: > > > Hi, > > > > i try to sub

    Submit Inputs on ListView by StatelessForm

    2014-07-09 Thread Per Newgro
    Hi, i try to submit some (repeated) fields by a stateless form. You can find the code here: http://pastebin.com/AQ6m0EKT If i use a basic Form.class in my scenario everything works as expected. But with a stateless form i can not make it. The exact same configuration without any listview works

    Aw: Re: Exclude link from disabled hierarchy

    2014-06-18 Thread Per Newgro
    not possible. > But it is possible for links - override > org.apache.wicket.markup.html.link.AbstractLink#disableLink() for this > special link. > > Martin Grigorov > Wicket Training and Consulting > > > On Wed, Jun 18, 2014 at 10:32 AM, Per Newgro wrote: > > > Hi, > > > > I enable a Form by

    Exclude link from disabled hierarchy

    2014-06-18 Thread Per Newgro
    Hi, I enable a Form by autorized role. Some users see the form enabled, some disabled. All works fine. My problem is that i've added a goback-link which should be enabled always for all users. But because the link is added to the form (within a button panel) it get's disabled to. Is there a sm

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

    2014-04-29 Thread Per Newgro
    Hi *, we have a page which contains markup like this ... {{ name }} ... After rendering the page the markup looks like this {{ name }} Please note the ../ before the {{ url }} Until now i thought that wicket handles onl

    Locale in NumberTextField

    2014-04-07 Thread Per Newgro
    Hello, i have a question regarding the input conversion in NumberTextField (wicket 6.14) This is the code in question: /** * Always use {@link Locale#ENGLISH} to parse the input. */ @Override protected void convertInput() { IConv

    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
    nt behavior. Thanks Per Then i could do > Gesendet: Freitag, 10. Januar 2014 um 09:01 Uhr > Von: "Per Newgro" > An: "wicket usergroup" > Betreff: NumberTextField eats my markup step attribute > > Hi, > > i would like to enable float values in my for

    NumberTextField eats my markup step attribute

    2014-01-10 Thread Per Newgro
    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 markup and assign a new NumberTextField("myNumber", numberModel); the resulting markup is So i'm not able to get a valid form submit with a value of 12.5 becaus

    Re: Is Behavior.beforeRender useful for component configuration?

    2014-01-02 Thread Per Newgro
    *the component being configured */ public void onConfigure(Component component) { } On Thu, Jan 2, 2014 at 4:00 AM, Per Newgro wrote: Hi, we have an admin menu in our menu bar. All items in admin menu are configured by @AuthorizeAction. I would like to hide the admin item in

    Is Behavior.beforeRender useful for component configuration?

    2014-01-02 Thread Per Newgro
    Hi, we have an admin menu in our menu bar. All items in admin menu are configured by @AuthorizeAction. I would like to hide the admin item in main menu if no menu item is visible in the admin menu (e.g. user is not an admin). To avoid repeating myself in every onBeforeRender method of the inc

    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 U

    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 DownloadBa

    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 star

    [auth-roles] Design of x-RoleAuthorizationStartegy

    2013-10-11 Thread Per Newgro
    Hi, we had a simple usecase today leading us to confusion on AnnotationsRoleAuthorizationStrategy (ARAS). We tried to protect a button by using two different permissions. So we had to use AuthorizeActions. We did it this way @AuthorizeActions(actions = { @AuthorizeAction(action = Action.

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

    2013-08-09 Thread Per Newgro
    Hi, has someone seen the following behavior and can give me a hint? I do some changes on my project. Then i use the Start class (provided by quickstart) to start the embedded jetty. The i reload a page in the browser And then page loading is really slow > 2min or Page is rendered but there is

    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 resou

    Re: How can i render json into markup?

    2013-07-06 Thread Per Newgro
    r good job on integrating High Charts with Wicket so I'm not sure why you're reinventing the wheel. Have a great day, Paul Bors On Jul 5, 2013, at 3:04 PM, Per Newgro wrote: Hi, i would like to include highcharts. I know there is a wicket module but we want to use the script. So

    How can i render json into markup?

    2013-07-05 Thread Per Newgro
    Hi, i would like to include highcharts. I know there is a wicket module but we want to use the script. So my requirement is it to render the div below with the json content in it. Do i have to use a label and render body only? Or is there another way. I couldn't find any example for this. Th

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

    2013-06-18 Thread Per Newgro
    Hi, i would like to mount a resource with a name "/mypath/${param1}/whatever". I've already mounted a page with "/mypath". I was wondering why i was always redirected to the /mypath page. In ResourceMapper i've found this: @Override public int getCompatibilityScore(Request request) {

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

    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, i

    Problem loading dependency for wicket-6.8.0

    2013-05-25 Thread Per Newgro
    Hi, is someone else having problems including wicket 6.8.0? I get a "Missing artifact org.apache.wicket:wicket:pom:6.8.0-SNAPSHOT" when i increase my version from 6.7.0 to 6.8.0 UTF-8 UTF-8 6.8.0 6.8.0 8.1.10.v20130312 3.2.2.RELEASE 2.2.2 4.2.0.F

    Aw: Re: Can i control event execution order?

    2013-04-24 Thread Per Newgro
    he ? > I think it should not happen. Clicking the link changes the document > location... But I may be wrong. > > A simple solution is to add onclick="Wicket.Event.stop(event); return > true;" to the element. > This calls event.stopPropagation(). > > > On

    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
    Hello Rodrigo, sure i know that the "null" has to be replaced by a model. But my question was targeted to the object behind the "dropdown selected option model". Let me create a more simple example: MyComponent.java - in constructor - IModel formModel = Model. of(new ReplyOptionsCol

    Model for dropdowns in a listview

    2013-04-20 Thread Per Newgro
    Hi, i have to implement a questionnaire but i'm not sure how to capture the selected values in a model. My questionnaire has some questions. The questions have some reply options. The selected reply options will be assigned to an answer. The answers are the data i try to capture. So i put t

    Re: Wicket integration with Spring

    2012-12-28 Thread Per Newgro
    With the 2nd approach you couple the application (in the role as service mother) to all your calling components. Coupling is a bad idea. It's hard to test in separation and almost always you end in a hell of small single methods. But if you inject your beans into the target component you can defi

    Re: CSS for subpanel tabs

    2012-12-26 Thread Per Newgro
    Hello John Doe, did you try a css selector by class instead of id? PS: Posting without any name is not very respectful. Posting such commonly phrased questions (my xyz is not working - tell me why) oftenly stay unanswered. Please provide some code (java, html, css) and i bet you get good answ

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

    2012-11-27 Thread Per Newgro
    ailable when the web container does error dispatching. On Mon, Nov 26, 2012 at 3:14 PM, Per Newgro wrote: Hi, i'm looking for a way to display the cause of a 404 send by myself on my custom error page. In a behavior i do throw new AbortWithHttpErrorCodeException(HttpServletResponse.SC_NO

    Howto display 404 cause of response on custom error page?

    2012-11-26 Thread Per Newgro
    Hi, i'm looking for a way to display the cause of a 404 send by myself on my custom error page. In a behavior i do throw new AbortWithHttpErrorCodeException(HttpServletResponse.SC_NOT_FOUND, "Missing subsite in behavior"); It is displayed in my custom error page @MountPath("404.html") publ

    Re: Why can't CssUrlReferenceHeaderItem have dependencies?

    2012-11-06 Thread Per Newgro
    .render(CssHeaderItem.forReference(reference)); > > CssUrlReferenceHeaderItem by itself works with plain Url and there is no > way how Wicket can know that it may depend on some other dependencies. > > > > On Tue, Nov 6, 2012 at 10:02 AM, Per Newgro wrote: > > > Hi Martin,

    Re: Why can't CssUrlReferenceHeaderItem have dependencies?

    2012-11-06 Thread Per Newgro
    Hi Martin, i use the UrlResRef like the "normal" ResRef. A specialiced css is depending on a base css. This base css should be guaranteed on special css usage. public class PortalCssDependingResourceReference extends UrlResourceReference { private final String portalId; public Porta

    Why can't CssUrlReferenceHeaderItem have dependencies?

    2012-11-05 Thread Per Newgro
    Hi, i was wondering why CssUrlReferenceHeaderItem (wicket 6.2.0) is implemented by HeaderItem#getDependencies() which returns an empty list. The CssReferenceHeaderItem has a getDependencies implementation which uses the dependencies provided by the resource reference. If i extend CssUrlReference

    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
    Hi, i try to unit test a custom behavior. But i was wondering what's the right way to test it. I provide some code to explain my mind mismatch. The behavior shall interrupt the rendering of a component. I would like to answer this with a 404. Calling the behavior method directly results in t

    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...@w

    Is there a MountedMapper respecting better matching path names?

    2012-08-02 Thread Per Newgro
    Hi, before i do this myself i would like to ask the community if someone has done this already. I want to mount pages at these urls: mountPage("/pages/${color}/advertise", AdvertisePage.class); mountPage("/pages/${color}/${niceColor}", ColoredPage.class); But because they both have 3 matching u

    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 p

    Re: WicketTester & Spring

    2012-03-04 Thread Per Newgro
    ector); injector.inject(this); return injector; } }); On Mar 4, 2012, at 3:19 AM, Per Newgro wrote: Assign the app to the wicket tester instance you use. See section below. Per Am 04.03.2012 10:11, sc

    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 so

    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. I'm ge

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

    Re: get key from resource model

    2012-02-10 Thread Per Newgro
    If you mean "get the key from ResourceModel, or ..." then the answer is no not directly. An ugly solution could be - extend ResourceModel and memorize the key in a second attribute. But that's realy ugly. class MyResourceModel extends ResourceModel { private String key; public MyResourceMo

    Re: StatelessForm: Cannot login

    2012-02-09 Thread Per Newgro
    , the session will be binded. Phu, I was trying to fix that over three days ^^ Regards, René On 02/09/2012 06:53 PM, Per Newgro wrote: And maybe this javadoc helps Session#bind() /** * Force binding this session to the application's {@link ISessionStore session store} if not * al

    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
    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 in the session is away for your next page. And then the user is away to. You could debug it by print the hashcode of getSession() in the

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

    2012-01-24 Thread Per Newgro
    if (object != null) { return "" + object.getBar(); } else { return ""; } } And create a jira issue please. We might have to revert this change. Sven Am 24.01.2012 10:52, schrieb Per Newgro: Maybe a usecase helps :-) I load my

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

    2012-01-24 Thread Per Newgro
    Per Newgro: Hi, with 1.5.4 the implementation of org.apache.wicket.markup.html.form.AbstractSingleSelectChoice.java has changed from /** * @see FormComponent#getModelValue() */ @Override public String getModelValue() { final T object = getModelObject(); if (object != null) { int

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

    2012-01-24 Thread Per Newgro
    Hi, with 1.5.4 the implementation of org.apache.wicket.markup.html.form.AbstractSingleSelectChoice.java has changed from /** * @see FormComponent#getModelValue() */ @Override public String getModelValue() { final T object = getModelObject(); if (object != null) { int index = getC

    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.apache.org/ji

    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
    Hmm. Firstly you ask the wrong list. Hibernate is "off topic". At second - did you do a search? With "maven hibernate" i found this link quickly: http://stackoverflow.com/questions/3345816/hibernate-projects-and-building-with-maven See the answer with the "green check" at the side. I think that wi

    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 server

    Re: how to get https port number in Wicket 1.5

    2012-01-15 Thread Per Newgro
    Thanks for testing this out. I wasn't aware of that. I didn't understand the usecase exactly. You want to set the page / request secure if you've added the login form? Or do you want to secure the form only. For the later a possible answer is this http://stackoverflow.com/questions/96164/partia

    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,

    Re: What is the cause for log entry "ModificationWatcher - Cannot track modifications to resource"

    2012-01-02 Thread Per Newgro
    ue at some point, as it seems that ModificationWatcher should be able to handle file paths with spaces... -Allen On Mon, Jan 2, 2012 at 4:42 AM, Per Newgro wrote: Hi, If i test my app by using Start.java i get the log entry INFO - ModificationWatcher- Cannot track modifications to res

    What is the cause for log entry "ModificationWatcher - Cannot track modifications to resource"

    2012-01-02 Thread Per Newgro
    Hi, If i test my app by using Start.java i get the log entry INFO - ModificationWatcher- Cannot track modifications to resource file:/D:/Dokumente%20und%20Einstellungen/per.n/Eigene%20Dateien/workspaces/work/whataschranz/target/classes/ch/newgro/shop/whataschranz/welcome/HomePage.html

    Re: Wicket 1.5: The component(s) below failed to render

    2011-12-21 Thread Per Newgro
    Do you use a border? Because border component assignment changed Cheers Per Am 21.12.2011 10:58, schrieb Adrian Wiesmann: Hello list We built a rendering engine in Wicket 1.4 which takes a UI description from an XML file and builds an HTML representation from that. Everything worked fine in W

    Re: display artifact version in webpage

    2011-12-15 Thread Per Newgro
    nd that doesn't change with new builds, of course. That's the point of it, isn't it? Chantal On Thu, 2011-12-15 at 09:46 +0100, Per Newgro wrote: But this causes a build / version control system issue. Guess you use version control like svn or cvs. Once you checked in the html mark

    Re: display artifact version in webpage

    2011-12-15 Thread Per Newgro
    But this causes a build / version control system issue. Guess you use version control like svn or cvs. Once you checked in the html markup and call a build the markup changed and you have to check in markup again. So that becomes a "chicken - egg - problem". Just my 2$ Per Am 15.12.2011 09:27

      1   2   3   4   >