Change page versioning query parameter

2017-11-10 Thread Marcel Barbosa Pinto
ta. I am using the Wicket 8. Thanks. -- Marcel Barbosa Pinto

Wicket 8 - IChoiceRenderer

2017-10-12 Thread Marcel Barbosa Pinto
rderByChoiceList, ChoiceRenderer.of(SelectOption::getValue, SelectOption:getKey) ) -- Marcel Barbosa Pinto 55 11 98255 8288

Re: Adding confirmation to DropDownSelect

2017-10-10 Thread Marcel Barbosa Pinto
Hi, take a look at this example: https://cwiki.apache.org/confluence/display/WICKET/Getting+user+confirmation Cheers Em 10 de out de 2017 13:49, "Nigel W" escreveu: > Hi, > > I am seeking some advice on how to address the following need: > > I have a DropDownSelect

Re: 302 Redirects triggered by Wicket when URL is same

2017-09-01 Thread Marcel Barbosa Pinto
> Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum- > f1842947.html > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Marcel Barbosa Pinto 55 11 98255 8288

Re: How to use Apache Wicket to send a post request via Curl

2017-07-15 Thread Marcel Barbosa Pinto
s) > > u'payment_reference': u'1850877790146606', > > u'id': u'trans_67UQe4iSZQr6NdXjgBT57R', > > u'captured': True > > } > > > > 'response_code': 2, Signifies a verified payment > > > > > > -- > > View this message in c

Re: Enable CORS in Wicket Rest

2017-06-27 Thread Marcel Barbosa Pinto
equestParam(required=false, > defaultValue="World") String name) { > return new Greeting(counter.incrementAndGet(), > String.format(template, name)); > } > > I really need this solution, since I have to do it in Wicket way. > > Thank you. > > -- Marcel Barbosa Pinto 55 11 98255 8288

Re: Balancer + HTTPS

2017-05-15 Thread Marcel Barbosa Pinto
call. Thanks. On Mon, May 15, 2017 at 11:21 AM, Marcel Barbosa Pinto < marcel.po...@gmail.com> wrote: > Hi Martin, > > I've found something that could be related, at this line below, a new Url > instance is created without being configured with the protocol. Is this URL >

Re: Balancer + HTTPS

2017-05-15 Thread Marcel Barbosa Pinto
at it returns. > I guess the redirect is an absolute url and that's why it breaks. > See org.apache.wicket.protocol.http.servlet.ServletWebResponse# > sendRedirect > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Mon, May 15, 2017 a

Balancer + HTTPS

2017-05-14 Thread Marcel Barbosa Pinto
Hi, I am using a balancer which sends the X-Forwarded-Proto header to my Wicket application. I`ve added the following filters: getFilterFactoryManager() > .addSecuredRemoteAddressRequestWrapperFactory(null) > .addXForwardedRequestWrapperFactory(null); > And the

Re: Wicket is #3 in the JSON perf test by TechEmpower

2017-03-23 Thread Marcel Barbosa Pinto
Training and Consulting > > >> https://twitter.com/mtgrigorov > > > > > > > > > > > > -- > > > Become a Wicket expert, learn from the best: http://wicketinaction.com > > > > > > - > > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > > > For additional commands, e-mail: users-h...@wicket.apache.org > > > > > > > - > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > > For additional commands, e-mail: users-h...@wicket.apache.org > > > > > -- Marcel Barbosa Pinto 55 11 98255 8288

Re: Manually expire a page

2017-03-10 Thread Marcel Barbosa Pinto
> https://twitter.com/mtgrigorov > > On Fri, Mar 10, 2017 at 10:41 PM, Marcel Barbosa Pinto < > marcel.po...@gmail.com> wrote: > > > Hi, > > > > When the user submits a form, I save the data in #onSubmit() and then > > redirect it to another pa

Manually expire a page

2017-03-10 Thread Marcel Barbosa Pinto
Hi, When the user submits a form, I save the data in #onSubmit() and then redirect it to another page. If the user hits the back button, I need that this versioned page becomes expired. How can I achieve this? -- Marcel Barbosa Pinto

Re: Stateless search page use-case

2017-03-07 Thread Marcel Barbosa Pinto
the Users forum mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Marcel Barbosa Pinto 55 11 98255 8288

Stateless search page use-case

2017-03-07 Thread Marcel Barbosa Pinto
Hi guys, I have a stateless search page, when the user first enters the page, all results must be returned. Then the user can submit a filter form and then the filtered result must be shown. In the page's onInitialize I have a search() method which calls search() method. I have a form which has

Re: Java Wickets Delete and Checkbox

2017-02-07 Thread Marcel Barbosa Pinto
x-tp4677014.html > Sent from the Users forum mailing list archive at Nabble.com. > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Marcel Barbosa Pinto 55 11 98255 8288

Re: Idea for a template component

2017-01-16 Thread Marcel Barbosa Pinto
polate(body)); > } > > Same could be achieved with CompoundPropertyModel (+ component queueing if > the hierachy should be changed frequently). > > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Fri, Jan 13, 2017 at 2:42 PM, Mar

Idea for a template component

2017-01-13 Thread Marcel Barbosa Pinto
ify the value that is rendered If you pass a Model with is not an Object with properties, like just a String or Int, you can render it by using ${this} It is just two classes: ModelVariableInterpolator.java TemplateMarkupContainer.java Do you think that this could be useful? What problems could be raised by this approach? -- Marcel Barbosa Pinto

Re: What else do we want to do before 8.0.0 final ?

2016-11-10 Thread Marcel Barbosa Pinto
ageId as a request header to all requests > > > (normal > > > > & Ajax) > > > > > > > > > > > > Recently I wondered whether Redux.js could be in use for Wicket. > > > > I don't have much experience with it, but both React and AngularJs > > > > communities use it to manage the state for their components. > > > > There are some Java impls, even a standard is coming: > > > https://github.com/ > > > > jvm-redux/jvm-redux-api > > > > > > > > What else ? > > > > > > > > Martin Grigorov > > > > Wicket Training and Consulting > > > > https://twitter.com/mtgrigorov > > > > > > > > > > > > > > > -- > > Peter Henderson > > > -- Marcel Barbosa Pinto 55 11 98255 8288

Re: Form Validation / Field visibility

2016-11-03 Thread Marcel Barbosa Pinto
endentFormComponents() should only return > visible components. > > Have fun > Sven > > > Am 03.11.2016 um 21:40 schrieb Marcel Barbosa Pinto: > >> Hello, >> >> I have a form which has some fields with validation attached to them. >> When the user authenti

Form Validation / Field visibility

2016-11-03 Thread Marcel Barbosa Pinto
removed from the page or is no longer visible. Offending component id `email`. Should I always manually remove the validators from the components when hiding them? Thanks. -- Marcel Barbosa Pinto 55 11 98255 8288

Re: What else do we want to do before 8.0.0 final ?

2016-10-31 Thread Marcel Barbosa Pinto
I don't have much experience with it, but both React and AngularJs > > communities use it to manage the state for their components. > > There are some Java impls, even a standard is coming: > https://github.com/ > > jvm-redux/jvm-redux-api > > > > What else ? > > > > Martin Grigorov > > Wicket Training and Consulting > > https://twitter.com/mtgrigorov > > > -- Marcel Barbosa Pinto 55 11 98255 8288

Re: Result of vote at twitter

2016-10-31 Thread Marcel Barbosa Pinto
I confess I didn't used it yet. I will use it and see if I can contribute with some ideas. On Mon, Oct 31, 2016 at 11:35 AM, Martin Grigorov <mgrigo...@apache.org> wrote: > On Mon, Oct 31, 2016 at 2:27 PM, Marcel Barbosa Pinto < > marcel.po...@gmail.com> wrote: > > >

Re: Result of vote at twitter

2016-10-31 Thread Marcel Barbosa Pinto
> > For long trees the code gets clean, but if you change the order of some > > thing the code can break. > > In my opinion its not very practical as literally write the component > path. > > "container.container.1.secondMessage". > > Simple empty logic-

Re: Result of vote at twitter

2016-10-31 Thread Marcel Barbosa Pinto
31, 2016 at 9:52 AM, Martin Grigorov <mgrigo...@apache.org> wrote: > On Mon, Oct 31, 2016 at 12:47 PM, Marcel Barbosa Pinto < > marcel.po...@gmail.com> wrote: > > > Would be possible to compute the hierarchy from the template it self? > > > > This is how the

Re: Result of vote at twitter

2016-10-31 Thread Marcel Barbosa Pinto
twitter.com/brunoborges/status/79132793984116 > >> > >> there are a lot of "dislikes" as a result of the vote. I think it would > be > >> great to get some feedback what to improve and what you don't like. > >> > >> kind regards > >> > >> Tobias > > - > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > For additional commands, e-mail: users-h...@wicket.apache.org > > -- Marcel Barbosa Pinto 55 11 98255 8288

Re: Wicket vs JS frameworks.

2016-10-15 Thread Marcel Barbosa Pinto
I am working on a complex and demanding Angular 2 project for marketing analytics, and I can tell that with Typescript the development process is exponentially improved. First we need to understand that the Angular project came from the GWT project. The Google devs realized at that time that they

Re: Component level cache

2016-08-19 Thread Marcel Barbosa Pinto
et Training and Consulting >> https://twitter.com/mtgrigorov >> >> On Tue, Aug 16, 2016 at 6:03 PM, Marcel Barbosa Pinto < >> marcel.po...@gmail.com> wrote: >> >> Hi, >>> >>> I was just wondering if there is some component to instead of

Component level cache

2016-08-16 Thread Marcel Barbosa Pinto
Hi, I was just wondering if there is some component to instead of let the a given component to render itself, check if there is a cache and display its rendered markup, thus avoiding unnecessary rendering, this could be useful for stateless components that need to display some list of categories

Re: URL Mapping with dynamic params

2016-01-13 Thread Marcel Barbosa Pinto
g > https://twitter.com/mtgrigorov > > On Wed, Jan 13, 2016 at 6:17 PM, Marcel Barbosa Pinto < > marcel.po...@gmail.com> wrote: > > > Hmm, cool... this will work for me as the last index will always be the > > ${id}, tks! > > > > > > > >

Re: URL Mapping with dynamic params

2016-01-13 Thread Marcel Barbosa Pinto
egories. > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Wed, Jan 13, 2016 at 6:04 PM, Marcel Barbosa Pinto < > marcel.po...@gmail.com> wrote: > > > Hi guys, > > > > I have to mount a page with an URL that conta

URL Mapping with dynamic params

2016-01-13 Thread Marcel Barbosa Pinto
Hi guys, I have to mount a page with an URL that contains zero or more "categories". /page/${id} /page/vahicles/${id} /page/vahicles/cars/${id} /page/vahicles/cars/honda/${id} The "/page" is fixed while the others vehicles, cars and honda is like a category tree only for SEO needs. In a

Re: Testing for an IEvent

2015-12-15 Thread Marcel Barbosa Pinto
Hello, Question for the experts: I have a search page that has a POJO as a model. It uses this model to filter a search through a form component. Now I have another page (let's say quick search) that needs to send (post) this POJO model to this search page, in order to do the search filtering.

Send model to another Page

2015-12-15 Thread Marcel Barbosa Pinto
Hello, Question for the experts: I have a search page that has a POJO as a model. It uses this model to filter a search through a form component. Now I have another page (let's say quick search) that needs to send (post) this POJO model to this search page, in order to do the search filtering.

Re: Send model to another Page

2015-12-15 Thread Marcel Barbosa Pinto
Thank you guys, I'll do that. On Tue, Dec 15, 2015 at 4:39 PM, Martin Grigorov <mgrigo...@apache.org> wrote: > Hi, > > On Tue, Dec 15, 2015 at 7:31 PM, Marcel Barbosa Pinto < > marcel.po...@gmail.com> wrote: > > > Hi, > > > > Your first solution seems

Re: Send model to another Page

2015-12-15 Thread Marcel Barbosa Pinto
ch is not exact replica of full search, create > linear Page Parameters and get into the target page. > > Thanks, > -Mihir. > > > On Tue, Dec 15, 2015 at 12:19 PM, Marcel Barbosa Pinto < > marcel.po...@gmail.com> wrote: > > > Hello, > > > > Ques

Re: ThreadLocal usage for managing session in Wicket

2015-10-20 Thread Marcel Barbosa Pinto
he-wicket.1842946.n4.nabble.com/ThreadLocal-usage-for-managing-session-in-Wicket-tp4672215p4672306.html > > Sent from the Users forum mailing list archive at Nabble.com. > > > > --------- > > To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org > > For additional commands, e-mail: users-h...@wicket.apache.org > > > > > -- Marcel Barbosa Pinto 55 11 98255 8288

Re: wicketstuff-core jars

2015-10-16 Thread Marcel Barbosa Pinto
Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Fri, Oct 16, 2015 at 11:27 PM, Marcel Barbosa Pinto < > marcel.po...@gmail.com> wrote: > > > Hi Guys, > > > > I've just tried to download this dependency from maven, but it se

Re: wicketstuff-core jars

2015-10-16 Thread Marcel Barbosa Pinto
Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Fri, Oct 16, 2015 at 11:45 PM, Marcel Barbosa Pinto < > marcel.po...@gmail.com> wrote: > > > Hi Martin > > > > By adding the artifact to my pom, maven tries to download f

Wicket.Ajax on static pages loading stateful components.

2015-10-15 Thread Marcel Barbosa Pinto
Wicket.Ajax and have the ajax component update working? If you guys have a better approach to this problem, please let me know. Thanks -- Marcel Barbosa Pinto 55 11 98255 8288

Re: Wicket.Ajax on static pages loading stateful components.

2015-10-15 Thread Marcel Barbosa Pinto
very request. No need to store > it as static html, it will be fast enough. > For the captcha I'd use some other solution, not Wicket-Extensions. > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Thu, Oct 15, 2015 at 4:45 PM, Marcel Bar

Re: Drop Down Choice default value

2015-05-12 Thread Marcel Barbosa Pinto
...@wicket.apache.org -- Marcel Barbosa Pinto 55 11 98255 8288

Re: measure time user stays on page

2015-05-11 Thread Marcel Barbosa Pinto
You can create a pixel image and compare a session time on the server.. Most likely the solution used by Google Analytics... Em 11/05/2015 13:38, Christoph Läubrich lae...@googlemail.com escreveu: If you are really eager to do so (in fact this is some kind of user tracking that might be

Re: measure time user stays on page

2015-05-10 Thread Marcel Barbosa Pinto
You could override the onRender method that is executed every time the page is rendered on the browser. Em 10/05/2015 17:43, Chris chris...@gmx.at escreveu: Hi all, I would like to measure the time the user stays at a certain page. I would do this by querying the system’s time when loading

Re: measure time user stays on page

2015-05-10 Thread Marcel Barbosa Pinto
Hmm, it can be a browser cache issue, or the Wicket cache.. Try call the setVersioned(false) Em 10/05/2015 18:09, Chris chris...@gmx.at escreveu: Thanks but the methods such as onBeforeRender seem not be called on browser back. Chris Am 10.05.2015 um 22:54 schrieb Marcel Barbosa Pinto

Re: Drop Down Choice

2015-05-10 Thread Marcel Barbosa Pinto
Hi.. If you want only the selected value, you could create a hidden field to mirror the dropdown's value. Em 10/05/2015 14:48, Sebastien seb...@gmail.com escreveu: Hi Chris, AFAIK no. I don't know if such request feature has already been discussed... Otherwise, I think this could be

NashornResourceReference

2015-05-10 Thread Marcel Barbosa Pinto
I've been working on an unusual app, it's main purpose is to allow to write a page using Javascript/Nashorn JVM capabilities as a Wicket ResourceReference. https://github.com/mbppower/scalaWicket Maybe it can be useful to someone.