Re: Wicket vs JS frameworks.

2016-10-14 Thread fzb
Thanks Martin for the reply. Understood the points conveyed. Martin Grigorov-4 wrote > It scales with the knowledge of the engineers. > It is not just Wicket when you need big scale application. > It goes from the OS configuration, to the selection of the databases, the > web server config and

Re: Wicket vs JS frameworks.

2016-10-14 Thread Martin Grigorov
On Oct 15, 2016 3:05 AM, "fzb" wrote: > > From the posts so far this is what i understand.. > > 1. JS based apps are best suited for high scale applications.. It is worth > the effort you take to build and maintain such apps.. One of my former client runs the biggest mail

Re: Wicket vs JS frameworks.

2016-10-14 Thread fzb
>From the posts so far this is what i understand.. 1. JS based apps are best suited for high scale applications.. It is worth the effort you take to build and maintain such apps.. 2. Wicket can scale only to certain extent based on the server capacity ? If so how to quantify ? (What about

Re: DropDownChoice with ChoiceRenderer

2016-10-14 Thread ganea iulia
:) yes, that was it: @Override public String getObject(String paramString, IModel> paramIModel) { return paramString; } solved it:) On Fri, Oct 14, 2016 at 4:03 PM, Per Newgro wrote: > Hello ganea, > > can you please investigate the method below? > > Hope that helps > Per >

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

DropDownChoice with ChoiceRenderer

2016-10-14 Thread ganea iulia
Hello, I'm using Wicket 7. I have this simple use case where I need to have a dropdownchoice, where to display some values, but the model should retain other values. I have done the following, however, the model always retains null. So my dropdownchoice should display Code1 and Code2 but save in

Bookmarkable link doesn't become a https link

2016-10-14 Thread Lars Törner
Hi, we had a problem where a bookmarkable link didn't become a https link. I found this: https://cwiki.apache.org/confluence/display/WICKET/How+to+switch+to+SSL+mode Which, with a warning, states: "It is extemtely important that when setting the rootRequestMapper it is done AFTER you have

Re: Wicket vs JS frameworks.

2016-10-14 Thread Andrea Del Bene
The "new" JS Frameworks in combination with JSON have made quite cheap building CRUD web app. But there are a number of factors that I personally don't like at all with this type of solutions: - they only work with single-page applications. period. SPA is not a silver-bullet, it's not the

Re: Repeat every 2 rows in a table

2016-10-14 Thread ganea iulia
Thank you, works great. On Fri, Oct 14, 2016 at 12:06 PM, Peter Henderson < peter.hender...@starjar.com> wrote: > Hi > > Change your markup to > > ... > > .. > > > > > > > > > > > > > > > > > > On 14 October 2016 at 09:44, ganea iulia wrote: > > >

Re: Repeat every 2 rows in a table

2016-10-14 Thread Peter Henderson
Hi Change your markup to ... .. On 14 October 2016 at 09:44, ganea iulia wrote: > Hello Per, thank you for the links. > > I have following html code: > > > > width="100%"> > > > Name > Code > > > Id > > > > > > > > > > >

Re: Wicket vs JS frameworks.

2016-10-14 Thread fzb
Tobias Soloschenko wrote > I think because Wicket uses HTML5 and Java you can combine JS Frameworks > with many of the features of Wicket. Example: Because you have a java > backend you can build a rest API with wicket-rest-annotations and > configure your Angular JS to work with it - if you have

Re: Repeat every 2 rows in a table

2016-10-14 Thread ganea iulia
Hello Per, thank you for the links. I have following html code: Name Code Id The Java code looks like this: public TestPage(IModel model) { super(model); TestForm tst = new TestForm("testForm", model); tst.setOutputMarkupId(true); add(tst); } class TestForm

Re: Wicket vs JS frameworks.

2016-10-14 Thread fzb
Ernesto Reinaldo Barreiro-4 wrote > 2- In some places, companies I have worked for as consultant, I have seen > projects that they considered complex because the JS paraphernalia. They > were be just trivial using Wicket. The sad thing is they did not have any > need to scale. So, something like

Re: Clear input form values

2016-10-14 Thread ganea iulia
Hello, But that was it. The code contained both the txtName.setOutputMarkupId(true) and the txtName.add(new AjaxFormComponentUpdatingBehavior("change") { ... I will paste all the code again (I have now only added the txtLink.setOutputMarkupId(true) and the TestForm.setOutputMarkupId(true); )

Re: Clear input form values

2016-10-14 Thread Martin Grigorov
We can only advise on the code that you give us. Your real code may not work for many other reasons but since you give us some incomplete copies of it we have no idea what is wrong. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Fri, Oct 14, 2016 at 9:33 AM,

Re: Clear input form values

2016-10-14 Thread ganea iulia
Hello, The txtName field has the .setOutputMarkupId(true). I have also added it to the form. But it doesn't work howevere. I have event tested adding it to the txtLink, but still no change. However, the issue appears to come from the txtName.add(new AjaxFormComponentUpdatingBehavior("change")

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

Repeat every 2 rows in a table

2016-10-14 Thread ganea iulia
Hello, I have in the html file, a table where I need to repeat every two rows. So, my table is backed by a bean, where the bean values fill 2 rows of the table. When new bean instance is created, I need to add new 2 rows to the table. Thank you

Re: (Customizable) Fragment as String

2016-10-14 Thread Maxim Solodovnik
Many thanks :) On Fri, Oct 14, 2016 at 2:12 PM, Martin Grigorov wrote: > I'll take a look at the weekend. > > Martin Grigorov > Wicket Training and Consulting > https://twitter.com/mtgrigorov > > On Fri, Oct 14, 2016 at 5:26 AM, Maxim Solodovnik >

Re: (Customizable) Fragment as String

2016-10-14 Thread Martin Grigorov
I'll take a look at the weekend. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Fri, Oct 14, 2016 at 5:26 AM, Maxim Solodovnik wrote: > Yes, the changes were local :( > Here is the quickstart: https://github.com/solomax/fragment-as-string

Re: Clear input form values

2016-10-14 Thread Martin Grigorov
On Fri, Oct 14, 2016 at 9:01 AM, ganea iulia wrote: > Hello, > > I'm using Wicket 7. > > Please help me with the following. > > I have a test form, with only one input text field on it. > When pressing on a link, I need to have the values in the form cleared out. > > This

Clear input form values

2016-10-14 Thread ganea iulia
Hello, I'm using Wicket 7. Please help me with the following. I have a test form, with only one input text field on it. When pressing on a link, I need to have the values in the form cleared out. This is the html and java code, but I could not make it work, the input field just won't clear.

Re: Wicket vs JS frameworks.

2016-10-14 Thread Ernesto Reinaldo Barreiro
Hi, My opinion might be a little biased as I love Wicket... but 1- Except maybe for Web Components I haven't seen anything as reusable as Wicket (http://webcomponents.org/) on JS world (disclaimer I'm not a big JS expert, just maybe an advanced user) 2- In some places, companies I have worked