US: Wicket Dev hourly consulting fee

2018-11-07 Thread Paul Bors
Hey Wicketers, For those of you located in US, what's the fair market hourly consulting fee you charge in 2018 / 2019?

Have a Heineken on me Wicket team!

2015-09-22 Thread Paul Bors
Soon we will lunch a small little site for the new James Bond 007 movie and as some of you might now, he started drinking Heineken now-a-day :) http://hknbond-us.heineken.com/ Just wanted to thank the Wicket team for making such simple projects even easier !!! - ~ Thank you, p...@bors.ws

Re: TabbedPanel

2014-12-01 Thread Paul Bors
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 > > -- ~ Thank you, Paul Bors

Re: Wicket6 setResponsePage() stackoverflow error.

2014-11-24 Thread Paul Bors
I'm no expert but it looks as if your filter from Liferay is looping calls into Wicket's filter and vice-versa. What's your web.xml config? On Tue, Nov 25, 2014 at 12:22 AM, Milind wrote: > Hello, > > I am using Liferay "liferay-portal-6.2-ce-ga2" with Wicket6 and when > setResponsePage(MyClass

Re: GitHub

2014-11-13 Thread Paul Bors
That's a GitHub question and not a Wicket one. Wrong mailing list. But here: https://help.github.com/articles/fork-a-repo/ 2014-11-13 20:58 GMT-05:00 Zala Pierre GOUPIL : > Hi all, > > When I try and fork Wicket github repo, I don't get all the branches and > tags. Does anyone has a clue regardi

Re: PropertyModel / PropertyResolver / Map or List access

2014-11-06 Thread Paul Bors
like this: > "list[1].anyProperty[key]" > > Is such a combination allowed? > > Patrick > > Am 06.11.2014 17:24, schrieb Paul Bors: > > I think that should have worked as per: > > http://wicket.apache.org/guide/guide/modelsforms.html#modelsforms_2 > >

Re: PropertyModel / PropertyResolver / Map or List access

2014-11-06 Thread Paul Bors
I think that should have worked as per: http://wicket.apache.org/guide/guide/modelsforms.html#modelsforms_2 Label label = new Label("firstChildName", new PropertyModel(person, "children.0.name")); What version of Wicket are you using? On Thu, Nov 6, 2014 at 11:03 AM, Patrick Davids < patrick.d

Re: Unit testing RadioChoice with AjaxFormComponentUpdatingBehavior

2014-10-30 Thread Paul Bors
Since you want to test a AjaxFormComponentUpdatingBehav ior and not a standard form component (non-ajax) you don't use formTester.selectRadioChoice( "propertyType", 2 ) you have to create the AjaxTarget and etc. See "Testing AJAX behaviors" section at: http://wicket.apache.org/guide/guide/testing.

Re: Modify items in quickview?

2014-10-30 Thread Paul Bors
Are you talking about this QuickView? https://github.com/vineetsemwal/quickview On Thu, Oct 30, 2014 at 1:16 PM, Boris Goldowsky wrote: > How would you set things up to have the best of both worlds with a > QuickView? I need to have > (a) a button like an AjaxItemsNavigator that adds additio

Re: alternative solution for addOrReplace()?

2014-10-07 Thread Paul Bors
d a performance problem. > > So, the best solution for now would be, keeping my panel implementation > as it is, but just having my models detached only once, not for iteration. > > And here I dont have any idea how to solve that... :-/ > > thanx and kind regards > Patrick &

Re: Could not clear select2Choice component model value.

2014-10-07 Thread Paul Bors
to get Wicket7 compatible version > > > On 7 October 2014 22:56, Paul Bors wrote: > > > You can also ask the developer via: > > https://github.com/ivaynberg/wicket-select2/issues > > > > You should probably take a look over the open issues so that you are >

Re: Could not clear select2Choice component model value.

2014-10-07 Thread Paul Bors
You can also ask the developer via: https://github.com/ivaynberg/wicket-select2/issues You should probably take a look over the open issues so that you are familiar with that other developers faced. Maybe one of those issues might be a road block for you? Although you will get a faster reply from

Re: alternative solution for addOrReplace()?

2014-10-07 Thread Paul Bors
Why not use Ajax? addOrReplace() is really for when you need the full request cycle and have the page rendered on the server side. With Ajax you get your target for which you can add all the components you want to refresh on the page. Given the day and age we live in, I don't think there is a nee

Re: How to get this URL pattern working in newer versions of Wicket?

2014-10-07 Thread Paul Bors
ust wondering why it didn't work, given that UUID? The UUID is correct for > this placement and the URL it generated was correct though it kept > redirecting until the browser stopped it. > > cheers, > Steve > > On Tue, Oct 7, 2014 at 3:49 AM, Paul Bors wrote: > > &

Re: how to handle null pointer exception while submit button

2014-10-06 Thread Paul Bors
Must be the wrong mailing list, ignore :) On Sun, Oct 5, 2014 at 11:15 PM, Warren Bell wrote: > OK, a little confused, AWT, Applet ? Is Wicket up to something I haven’t > heard about ? > > Warren > > On Oct 5, 2014, at 7:57 PM, Taught by S&M > wrote: > > > This code will help to handle exceptio

Re: How to get this URL pattern working in newer versions of Wicket?

2014-10-06 Thread Paul Bors
Hey Steve, You should not mount it yourself given the long session ID of 'a79c7348-6c8b- 4912-8cc7-3b4419344f7f' since that will change anyhow. To understand how Wicket handles the URL mapping see the user guide's Chapter 10 "Wicket Links and URL generation" at: http://wicket.apache.org/guide/gui

Re: Mapping two UI componets to Single Model

2014-10-06 Thread Paul Bors
Please reffer to the free user guide, section 12.9 Creating complex form components with FormComponentPanel at: http://wicket.apache.org/guide/guide/single.html#forms2_9 In short you need to create your own compound FormComponentPanel that encapsulates both from components and accepts a single mod

Re: Transpose html table

2014-10-03 Thread Paul Bors
If you want to "transpose" your table (ie: change the rows and columns) then it turn this implies that you want to change the structure of the table both the format and the model. ie: You need to provide new columns and new data model. You would do so in 2 steps: 1) Create the new table with the n

Re: AuthenticatedWebSession.authenticate() not being called

2014-09-17 Thread Paul Bors
Irrespective of the UI, have your read through http://wicket.apache.org/learn/projects/authroles.html ? Most likely the wicket-auth-roles login page is using one of the documented annotations that makes all the difference for you. Try to place that annotation on your page (I haven't read your code

Re: ComponentNotFoundException when googlebot scrapes wicket page

2014-09-16 Thread Paul Bors
ie: How do you create the menu links? Where does the model come from and are those links dynamic? On Tue, Sep 16, 2014 at 11:15 AM, Paul Bors wrote: > Well, you have the wicket component tree path to what's not found: > titleBar:menu:2:link > > The 3rd (index 2) menu link w

Re: ComponentNotFoundException when googlebot scrapes wicket page

2014-09-16 Thread Paul Bors
Well, you have the wicket component tree path to what's not found: titleBar:menu:2:link The 3rd (index 2) menu link was missing at the point your page was rendered. Start thinking about how your 'menu' component could miss that from the mode. Or perhaps someone used the back-page button and your

Re: Referencing DataTable rows within the table column header

2014-09-09 Thread Paul Bors
/org.apache.wicket.examples.repeater.DataTableFilterToolbarPage;jsessionid=03E1374082C8198F0F052CED6E54F7A1?0 Although is not using a drop-down but you'll get the idea :) ~ Thank you, Paul Bors On Tue, Sep 9, 2014 at 2:57 PM, Paul Bors wrote: > Hey Ephraim, > > At Knoa for the console code I created an AP

Re: Referencing DataTable rows within the table column header

2014-09-09 Thread Paul Bors
the Wicket Guide at: http://wicket.apache.org/guide/guide/single.html#advanced_1 But for a simple filter toolbar you don't need to get that complicated. ~ Have fun, Paul Bors On Tue, Sep 9, 2014 at 12:29 PM, Ephraim Rosenfeld wrote: > Hi Martin: > > > > Thank you for your quick r

Re: Foundation integrated in wicket

2014-08-09 Thread Paul Bors
I guess this doesn’t matter as long as one uses a theme outside of wicket. n/m On Aug 9, 2014, at 2:13 PM, Paul Bors wrote: > Right, that’s all custom to your web app. > > Suppose I want to take your SASS and apply it to my form field, more > precisely a Wicket class. > Suppo

Re: Foundation integrated in wicket

2014-08-09 Thread Paul Bors
Right, that’s all custom to your web app. Suppose I want to take your SASS and apply it to my form field, more precisely a Wicket class. Suppose I want to be able to “theme” the entire look-n-feel of the web app and only have to customize the theme and not the entire product. That’s what I mean

Re: HTML headings

2014-08-07 Thread Paul Bors
I can’t view your HTML in my email client, but here’s a quick example of what I think you’re asking for: HTML: http://wicket.apache.org";> [[label]] Java: import java.util.Collections; import java.util.Iterator; import java.util.List; import org.apache.wicket.ajax.AjaxRequestT

Re: wicket-select2 - adding sub categories seen in select2

2014-08-07 Thread Paul Bors
Your question is better asked on that project’s mailing list at: https://groups.google.com/forum/#!forum/select2 Or if you prefer on the wicket-select2 project mailing list at: https://github.com/ivaynberg/wicket-select2/issues (this is actually the bug tracker) ~ Thank you, Paul Bors On

Re: Mailbox component

2014-08-07 Thread Paul Bors
Suppose you take the jQuery Table and style it something like this (in a responsive web 'theamable' manner): http://w3lessons.info/2013/05/13/gmail-style-message-inbox-design-with-jquery-css/ Suppose you integrate it in Wicket and have it functional and suppose you want the following basic feature

Re: Can I process a POST with simple non-Json parameters using wicket-restannotations

2014-08-05 Thread Paul Bors
any of the Components on your page. Thus you can have a bookmarkable URL and in the constructor of that page you can grab the request and extract the parameters from it. Do you care if the request is POST or GET? Wicket abstracts that out for you via the query parameters. ~ Thank you, Paul Bors

Foundation integrated in wicket

2014-07-29 Thread Paul Bors
Has anyone integrated Foundation from http://foundation.zurb.com/ in Wicket? Each time I search for it the search engine comes back to Apache's Wicket Foundation :)

Re: Mailbox component

2014-07-29 Thread Paul Bors
This is Wicket not GMail :) Perhaps you could write your own? Integrate something like this in your own page/panel (or ask Google for a better one): http://w3lessons.info/2013/05/13/gmail-style-message-inbox-design-with-jquery-css/ Then you can use templates to send those e-mails: http://www.wic

Re: Custom Pagination

2014-07-14 Thread Paul Bors
You're half way home. You extended PagingNavigator but forgot to read its code. See line 150 of PagingNavigator or better said the newNavigation() method: /** * Create a new PagingNavigation. May be subclassed to make us of specialized PagingNavigation. * * @par

Re: Feedback/Error message.

2014-07-07 Thread Paul Bors
Have a look at the Sortable DataTable: https://cwiki.apache.org/confluence/display/WICKET/Simple+Sortable+DataTable+Example It has a build in message for when there are no results matching your filter or the model is empty. You can override it to display your own custom message as well. On Sat,

Re: Ajax Form Submit via jquery plugin / javascript

2014-06-17 Thread Paul Bors
set to negative so it’s way off the page as well as its display property set to hidden). Those are just couple of ideas. On Jun 13, 2014, at 11:45 AM, vp143 wrote: > Paul Bors wrote >> http://ci.apache.org/projects/wicket/apidocs/6.0.x/org/apache/wicket/ajax/form/AjaxFormSubmitBeha

Re: OnChangeAjaxBehavior.onUpdate() not called [PARTIALLY SOLVED]

2014-06-11 Thread Paul Bors
How about an AjaxBehavior with the onChange event? On Jun 11, 2014, at 9:10 AM, Lucio Crusca wrote: >> Martin was right, there were Javascript errors, but for some reason the >> webconsole didn't display them the first time I looked at it. >> > > However the problem is only partially solved. o

Re: Ajax Form Submit via jquery plugin / javascript

2014-06-10 Thread Paul Bors
http://ci.apache.org/projects/wicket/apidocs/6.0.x/org/apache/wicket/ajax/form/AjaxFormSubmitBehavior.html "Ajax event behavior that submits a form via ajax when the event it is attached to, is invoked.” You’re attaching the submit event so who fires that? On Jun 10, 2014, at 5:28 AM, Vishal Po

Re: Link in repeaters

2014-06-10 Thread Paul Bors
You need to wrap a the Anchor around a Label and you can do so either in a fragment or your own LablledLinkPanel… On Jun 10, 2014, at 2:01 PM, Sven Meier wrote: > Hi, > > a link does not output a label. Read here for two possible solutions: > > https://www.mail-archive.com/wicket-user@lists.s

Re: OnChangeAjaxBehavior.onUpdate() not called

2014-06-10 Thread Paul Bors
Well, by hidden do you mean an input type of hidden or not present on the DOM? On Jun 10, 2014, at 7:03 PM, Lucio Crusca wrote: >> everything looks OK to me >> check whether there are any JS errors in the browser's Dev Tools console. > > No errors. Can the fact that the input fields are inside

Re: Newbie question : How do I display a tabbed list vertically rather than horizontally?

2014-06-10 Thread Paul Bors
Extend the Wicket class you want like the AjaxTabbedPanel in Java (Model and Controller) and change the HTML (viewer) as you please. You would need access to Wicket’s source code thus if you use Maven see the sources classifier at: http://maven.apache.org/pom.html Perhaps your IDE (Eclipse, Ne

Re: Dataview help

2014-06-09 Thread Paul Bors
Have you tried one of the Repeaters from: http://www.wicket-library.com/wicket-examples/index.html Direct link: http://www.wicket-library.com/wicket-examples/repeater/ They are also explained in the Wicket Free Guide at: http://wicket.apache.org/guide/guide/single.html#repeaters Let us know if y

Re: Error page stack trace

2014-06-04 Thread Paul Bors
) with org.apache.wicket.Application.getRequestCycleListeners().add() and implement its #onException(RequestCycle, Exception) then drop that in your HTML comment. On Wed, Jun 4, 2014 at 11:31 AM, Paul Bors wrote: > Why? You don't have access to your own log file? > > > On Wed, Jun

Re: Error page stack trace

2014-06-04 Thread Paul Bors
Why? You don't have access to your own log file? On Wed, Jun 4, 2014 at 10:43 AM, Entropy wrote: > We set our error page via setInternalErrorPage on IApplicationSettings in > 1.6. I'd like to bury the stack trace in a comment in the rendered page in > our staging and dev environments to save t

Re: Include Files form Filesystem

2014-05-16 Thread Paul Bors
Wicket is just Java, so you can also have your Base class be the page template and have other pages extend it ;) On Sunday, May 11, 2014, Martin Grigorov wrote: > Hi, > > See http://wicketinaction.com/2011/07/wicket-1-5-mounting-resources/ > Create a custom ResourceReference and mount it. Then u

Re: AjaxTabbedPanel and validation for all tabs

2014-05-16 Thread Paul Bors
My recommendation would be to use bean validation and Ajax to update the UI. On Tuesday, May 6, 2014, mscoon wrote: > Hi all, > > I have a complex form for editing existing objects. I am planning to use > AjaxTabbedPanel with adapted ajax links for the tabs to submit the current > tab when the u

Re: DiskDataStore errors in production

2014-05-16 Thread Paul Bors
Or simply know that Wicket has a page data store which can't update on your disk due to your file system permissions hence: java.io.FileNotFoundException: /opt/ssa/tomcat/apache-tomcat-7.0.29/work/Catalina/localhost/SSA/wicket.ssa-webapp-filestore/3943/9005/A851AC58C741B566C0E40BE1791649E1/data (Pe

Re: Question / Best Practise / (List)Model vs. (List)DataProvider

2014-05-16 Thread Paul Bors
Models: http://wicket.apache.org/guide/guide/modelsforms.html Data Providers (ie: Repeaters): http://wicket.apache.org/guide/guide/repeaters.html Long story short, a repeater's DataProvider gives you a single items model. A model who wraps a collection, gives you a collection of items for a singl

Re: DataTable's FilterToolbar generics broken

2014-04-28 Thread Paul Bors
y the filtering. Otherwise what would you filter the collection based on? There will be no standard, will there? ~ Thank you, Paul Bors On Sat, Apr 26, 2014 at 9:39 AM, Leszek Gawron wrote: > I started migrating my code from wicket 1.4.19 to 6. Finally ! :) > > I found a FilterToolbar bug

Re: Wicket in Action outage: back online, better than ever!

2014-04-02 Thread Paul Bors
Hey Martijn, Is there going to be an updated release of Wicket in Action based on Wicket 6? Or has that effort been replaced by the Wicket Guide? ~ Thank you, Paul Bors On Mar 30, 2014, at 5:45 PM, Martijn Dashorst wrote: > I just wanted to let everybody know that the Wicket in Act

Re: Does wicket:link tag work inside pages in different packages?

2014-03-02 Thread Paul Bors
Instead of using in-line why not use a and then add(new Link(“homePage”, HomePage.class)); to your parent class? That will resolve no matter where its used from. After all is just a Link class at the end of the day. Also see the examples page: http://www.wicket-library.com/wicket-examples/lin

Re: How to start Wizard with an active step? / Best practise?

2014-02-17 Thread Paul Bors
We need to build the WizardModel in a dynamic way. Although I think there is a better more dynamic step too that can be used here. So one cheap solution is to keep an enum or some sort of a definition of your wizard steps: public static enum WizStep { /** Step 1 of N */ STEP_ONE(1),

Re: Leaving page after closing modal results in browser pop up

2014-02-15 Thread Paul Bors
Have you tried setting this on your page? Wicket.Window.unloadConfirmation = false; It should work, and if you want to apply it to all of the modal pop-ups in your app, consider using a header contribution that you would add to your parent page. ~ Thank you, Pau Bors On Sa

Re: understanding looking for wicket:id

2014-02-15 Thread Paul Bors
Also take a look over the user guide's section on inheritance: http://wicket.apache.org/guide/guide/layout.html#layout_2 ~ Thank you, Paul Bors On Fri, Feb 14, 2014 at 3:42 PM, Richter, Marvin < marvin.rich...@jestadigital.com> wrote: > That is definitely not a good way to

Re: Hybrid palette with DropDownChoice and ListView

2014-02-13 Thread Paul Bors
Btw, Select2 demos are at: http://ivaynberg.github.io/select2/ Its Wicket integration at: https://github.com/ivaynberg/select2 That's Igor's baby (you might have seen Igor's name in Wicket's API JavaDocs :) On Thu, Feb 13, 2014 at 11:34 AM, Paul Bors wrote: > I don

Re: Hybrid palette with DropDownChoice and ListView

2014-02-13 Thread Paul Bors
I don't think you need to go nuts and worry much about a ListView. Use a Select2 instead of the drop-down and have a custom panel instead of the plain old option. You can place an Add button or something or better yet, check boxes and then you won't need the second list. Suppose you do stick to ol

Re: Apache wicket project as osgi compoments

2014-02-08 Thread Paul Bors
We solved this by using customized security permissions. If a user wasn’t given the permission for module A, so be it :) On Feb 4, 2014, at 7:49 PM, Shengche Hsiao wrote: > Hello > > Thanks for reply, indeed I plan to implement my wicket project in osgi way! > But I don't know how to start it,

Re: Visual HTML diff in Wicket?

2014-02-08 Thread Paul Bors
I would say to find out what Jira is using to diff the CSV commits and use that :) On Feb 6, 2014, at 4:06 PM, Stephan Schrader wrote: > You could try https://github.com/alkacon/alkacon-diff > > Stephan > > >> Am 06.02.2014 um 10:53 schrieb Martin Dietze : >> >> In my system there is an edi

Re: Modular Wicket Application

2014-02-08 Thread Paul Bors
I’m no expert, but it looks like your filter is not started right. That should be configured via the web.xml file. Perhaps you could create a quick-start and package your project for us to see it as a whole? Only the minimal code that produces the error should be packaged. On Feb 8, 2014, at 4:

Re: I have not found file where per session data get store under work Folder in wicket application

2014-02-08 Thread Paul Bors
Are you after the user session or the cashed page store, page map? https://cwiki.apache.org/confluence/display/WICKET/Page+maps Drop the wicket debug artifact in your wicket webapp then load this URL to see the Wicket Debug Bar and you can get to see the Wicket Sessions Inspector. Set this to tru

Re: Wicket Wizzard Question / Custom Overview Bars

2014-02-08 Thread Paul Bors
Find the panel you want to modify, say the WizardButtonBar and extend it: public class MyWizardButtonBar extends WizardButtonBar { private static final long serialVersionUID = 1L; public MyWizardButtonBar(String id, Wizard wizard, final boolean finishOnAnyStep) { super(id, wizard)

Re: replaceWith method in Panel not working with AjaxLazyLoadPanel

2014-02-08 Thread Paul Bors
Replace it it on the parent, then add the parent to the ajax target to be refreshed on the screen. ~ Thank you, Paul Bors On Feb 6, 2014, at 5:25 AM, Vishal Popat wrote: > Hi, > > I have the following panel layout: > > SomeOtherPanel > AjaxLazyLoadPanel >

Re: onchange event always being fired before onclick event

2014-01-30 Thread Paul Bors
Btw, your use-case sounds strange. Why would you refresh what's in focus via some other's tag onChange? Why not just simply refresh whatever component lost focus whenever its onChagne is fired? On Thu, Jan 30, 2014 at 3:37 PM, Paul Bors wrote: > What makes you think that the only

Re: onchange event always being fired before onclick event

2014-01-30 Thread Paul Bors
What makes you think that the only way to focus on something is by clicking on it? I would aproach your problem from a different angle. I would ask the browser to give me whatever has the focus via document.activeElement: https://developer.mozilla.org/en-US/docs/Web/API/document.activeElement http

Re: Singleton for empty models

2014-01-30 Thread Paul Bors
n/m as I wrote this e-mail I realized that I don't need a FormComponentPanel and going with a simple Panel is all have to do. Sorry for the noise... On Thu, Jan 30, 2014 at 2:41 PM, Paul Bors wrote: > Btw, in my use-case I extends FormComponentPanel since if I were to > set its pa

Re: Singleton for empty models

2014-01-30 Thread Paul Bors
PropertyModels. On Thu, Jan 30, 2014 at 2:34 PM, Paul Bors wrote: > While I have re-usable panels, I don't want them to look up the component > tree hirarchy for a compound property model. > > > > So I end up creating a lot of empty models such as: > > super(id, new Mode

Singleton for empty models

2014-01-30 Thread Paul Bors
While I have re-usable panels, I don't want them to look up the component tree hirarchy for a compound property model. So I end up creating a lot of empty models such as: super(id, new Model()); How do you guys manage your empty models? Won't it make sense to have a Model.EMPTY_INSTANCE or

Re: Which is recomended way to implemen an editable repeating view

2014-01-29 Thread Paul Bors
Take your pick at one of the Repeaters from: http://www.wicket-library.com/wicket-examples/index.html More on them in Ch 13 "Displaying multiple items with repeaters" of the Wicket free guide at: http://wicket.apache.org/guide/guide/repeaters.html Or pruchase a book on Wicket such as Wicket in Ac

Re: XSS in wicket. Wicket fault or my fault?

2014-01-29 Thread Paul Bors
No need, Wicket escapes your model objects, see Component#setEscapeModelStrings(true) for when HTML should be escaped and thus the browser won't execute it as HTML or JS. http://ci.apache.org/projects/wicket/apidocs/6.x/org/apache/wicket/Component.html#setEscapeModelStrings(boolean) That is on by

Re: Web Sockets proxying

2014-01-27 Thread Paul Bors
I don't think segmentation faults fall (no pun intended) under Wicket :) You might want to look for help under the Unbuntu's user mailing lists and/or search on Google. Here's a starting point for you: http://www.amoss.me.uk/2013/06/apache-2-2-websocket-proxying-ubuntu-mod_proxy_wstunnel/ On Mon

Re: How to version resource references and not the resources?

2014-01-19 Thread Paul Bors
Can’t you just use your own map strategy? See section 10.6 Generating structured and clear URLs http://wicket.apache.org/guide/guide/chapter9.html#chapter9_6 Outside of that, I guess you can always have a second servlet for those versioned instances. ~ Thank you, Paul Bors On Jan 19, 2014

Re: How to get data from Panels

2014-01-19 Thread Paul Bors
Reading your question closer, I think you’re looking for setResponsePage(new MyWebPage(objModel, or model, or PageParameters). Anyway that’s explained in detailed in the guide. On Jan 19, 2014, at 11:18 PM, Paul Bors wrote: > Your question is too generic to answer. > > If you’

Re: How to get data from Panels

2014-01-19 Thread Paul Bors
icket faster: http://wicket.apache.org/start/userguide.html ~ Thank you, Paul Bors On Jan 19, 2014, at 12:22 PM, Baba wrote: > A panel contain form, after submitting form how to get user input as part of > MyWebPage(which extends WebPage) > > -- > View this message in context: &g

Re: [ANNOUNCE] Apache Wicket 6.13.0 adds free online user guide

2014-01-15 Thread Paul Bors
Thanks Andres, and also as per the rest of the community... Thank you for the guide :) On Wed, Jan 15, 2014 at 1:17 PM, Andrea Del Bene wrote: > Thank you Paul, I've fixed the quickstart > > I think this release broke the quick start at: >> http://wicket.apache.org/start/quickstart.html >> >>

Re: Should we expect empty PageParameters for pages that have such a constructor yet no parameters are available?

2014-01-15 Thread Paul Bors
t for the constructor with PageParameters. > If none are available then an error is thrown. > > Consult with DefaultPageFactory.java > > Martin Grigorov > Wicket Training and Consulting > > > On Wed, Jan 15, 2014 at 8:50 PM, Paul Bors wrote: > > > Btw, I just noticed th

Re: Should we expect empty PageParameters for pages that have such a constructor yet no parameters are available?

2014-01-15 Thread Paul Bors
the default constructor is added, then it can invoke the custom PageParameters constructor with the null reference. I don't recall this behavior. Has this changed recently? On Wed, Jan 15, 2014 at 1:45 PM, Paul Bors wrote: > Suppose I have a page with the default constructor and with

Should we expect empty PageParameters for pages that have such a constructor yet no parameters are available?

2014-01-15 Thread Paul Bors
Suppose I have a page with the default constructor and with the page parameter constructor. Should my page parameter constructor be called with an empty not null PageParameter instance when no parameters are provided? Shouldn't the default constructor be used instead? What about in unit tests? I'

Re: [ANNOUNCE] Apache Wicket 6.13.0 adds free online user guide

2014-01-15 Thread Paul Bors
Also, the quick start has this in its HTML: Please mention the correct Wicket version: 1.5-SNAPSHOT. Maybe we should change it with: Please mention the correct Wicket version: [version will be inserted here]. or similar so that newbies don't get confused. On Wed, Jan 15, 2014 at 12:14 PM,

Re: [ANNOUNCE] Apache Wicket 6.13.0 adds free online user guide

2014-01-15 Thread Paul Bors
I think this release broke the quick start at: http://wicket.apache.org/start/quickstart.html When the page loads at first the "Command Line" is empty at first. Null initial model object? Selecting a different version from the drop down and then back to 6.13.0 will fill in the form field. On Mon

Static HTML is validating the dynamic content

2014-01-13 Thread Paul Bors
When I develop my components I drop example output so that if the HTML file is open by itself once can get a preview of a mock-up of how the app might look like. Usefull for when the component is to be styled and etc. I just noticed that at runtime in development mode the HTML validation fails whe

Re: ListenerInvocationNotAllowedException and EmptyRequestHandler

2014-01-10 Thread Paul Bors
Do you have a stack trace? On Fri, Jan 10, 2014 at 11:00 AM, jchappelle wrote: > We are starting to get ListenerInvocationNotAllowedExceptions > intermittently > in production. What are some suggestions for handling this? My first > thought > is return an EmptyRequestHandler in my custom IExcep

Re: Publish Javadoc or big number of Static pages

2014-01-10 Thread Paul Bors
I'm not following, you want to show 200 static HTML pages in your webapp? Your webapp must be running on top of a web server, why not just let the web server server the static content? What's the dynamic part of those 200 static HTML pages? Do you need to authenticate the user first or something b

Re: Nested Forms

2014-01-10 Thread Paul Bors
Also see section 12.5 "Nested forms" of the Free Guide at http://wicket.apache.org/guide/guide/chapter11.html#chapter11_5 On Fri, Jan 10, 2014 at 12:56 PM, Marios Skounakis wrote: > Html does not support nested forms. Wicket works around this limitation and > allows form nesting. I think it cha

Re: Auto-save feature

2014-01-08 Thread Paul Bors
So how do you solve the problem of two users concurrently editing the same record? You could do something like gMail that saves a draft of your e-mail only that your draft is your model(s) serialized. However, you still need to indicate to the user that some of the fields which have been saved in

Re: Auto-save feature

2014-01-08 Thread Paul Bors
uide: http://wicket.apache.org/guide/guide/single.html#chapter11_1 On Wed, Jan 8, 2014 at 11:32 AM, Paul Bors wrote: > Well yes, that work in progress might be a mistake. > > Think of it as getting a lock on a db record for too long. Or worst, not > locking at all and then later updating t

Re: Auto-save feature

2014-01-08 Thread Paul Bors
Well yes, that work in progress might be a mistake. Think of it as getting a lock on a db record for too long. Or worst, not locking at all and then later updating the record. You would override the state without knowing it changed since you last read it. So, if you devise such work in progress y

Re: Incorrect error message?

2014-01-07 Thread Paul Bors
Well, is actually correct. Let me draw your component tree for you: Page - Border "border" -- Label "l" - Label "l" So thus, did you add the "l" label to the Page? If not, shouldn't the markup error rise? If you would have defined a wicket:id="l" in the Page's HTML then you'd get a missing comp

Re: Auto-save feature

2014-01-07 Thread Paul Bors
t as you'll hide the actual state). ie: What happens when it takes me 1 hr to time out my session, I come back tomorrow and see my old input instead of what's really in the database? ~ Thank you, Paul Bors On Tue, Jan 7, 2014 at 2:52 PM, Marios Skounakis wrote: > In

Re: MultiThreading issues with Wicket.

2014-01-03 Thread Paul Bors
Looks like your Jetty is calling the Wicket filter that in turn crashes because of an EOF Exception. How about a quick start? On Fri, Jan 3, 2014 at 6:06 PM, eaglei22 wrote: > Here is the errors I get: > > > Jan 03 17:04:20 WARN RequestCycleExtra- > Jan 03 17:0

Re: Component hierarchy

2014-01-03 Thread Paul Bors
Look over how ModalWindow is implemented in Wicket. It allows a Panel or WebPage as its content in a modal JS window. Heck, you might just want to style that. ~ Thank you, Paul Bors On Fri, Jan 3, 2014 at 8:41 AM, Pierre Goupil wrote: > Good afternoon, all, and happy new y

Re: Rationale for Converting to AngularJS/Spring MVC

2014-01-03 Thread Paul Bors
Both reasons provided don't carry much wight. 1) Dificulty of maintanance/upgrading between major releases Our webapp was our reporting tool which morphed into a system administative tool currently with 54k lines of code in well over 1k public classes (conform Sonar). I migrated the webapp fro

Re: MultiThreading issues with Wicket.

2014-01-03 Thread Paul Bors
As per the API: Exception invoked when when stale link has been clicked. The page should then be rerendered with an explanatory error message. Read more about the Sateless Links http://wicket.apache.org/guide/guide/chapter9.html#chapter9_5 And about Page Versions: http://wicket.apache.org/guide/

Re: MultiThreading issues with Wicket.

2014-01-02 Thread Paul Bors
an 2, 2014 at 3:15 PM, Paul Bors wrote: > Your "main thread" must be the request cycle's worker thread that wicket > has for your syncronized on the page. > If something takes more than 1 sec as you would expect ti to, it must mean > that whatever you're doing on th

Re: MultiThreading issues with Wicket.

2014-01-02 Thread Paul Bors
Your "main thread" must be the request cycle's worker thread that wicket has for your syncronized on the page. If something takes more than 1 sec as you would expect ti to, it must mean that whatever you're doing on the page is running your CPU high keeping it bussy long enough for the 10 secs. In

Re: Is Behavior.beforeRender useful for component configuration?

2014-01-02 Thread Paul Bors
on is granted to the component by applying the > isActionAuthorized(Render). > See Component.java line 1030 to 1039 for details. > > Do i have another option? > > Thanks > Per > > Am 02.01.2014 16:55, schrieb Paul Bors: > > Do you want the "configuration" code to run eac

Re: MultiThreading issues with Wicket.

2014-01-02 Thread Paul Bors
I don't think that's a good idea since ArrayList is not thread-safe :) http://docs.oracle.com/javase/7/docs/api/java/util/ArrayList.html *Note that this implementation is not synchronized.* If multiple threads access an ArrayList instance concurrently, and at least one of the threads modifies th

Re: Is Behavior.beforeRender useful for component configuration?

2014-01-02 Thread 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 the onConfigure() method: /** * Called immediately after the onConfig

Re: a little question about add(new XComponent("id").setVisible(false))

2013-12-17 Thread Paul Bors
nd then re-render the parent component via Ajax. ~ Thank you, Paul Bors On Tue, Dec 17, 2013 at 6:53 AM, Serban.Balamaci wrote: > I've found it nicely explained here: > http://wicketguide.comsysto.com/guide/chapter6.html#chapter6_4 > > seems it's a great guide. > >

Re: RadioGroup selected model value

2013-12-17 Thread Paul Bors
See also section 12.10 of the Wicket Guide "Working with radio buttons and checkboxes" at: http://wicket.apache.org/guide/guide/chapter11.html#chapter11_10 On Mon, Dec 16, 2013 at 3:44 AM, Selom wrote: > Hi Sven, > Thanks for the clarification . Now I understand much more. > > I tried out

Re: Calendar is showing below the DatePicker, when cliked in IE8

2013-12-17 Thread Paul Bors
Check your HTML's DOCTYPE and/or override the CSS for the DatePicker on that page to make it work for IE8 as well. On Tue, Dec 17, 2013 at 7:25 AM, wicket_new_user wrote: > Hi, > > When DatePicker is clicked, the Calendar is showing below the icon in IE8. > But it is displaying properly in IE 9,

Re: Wrong JavaDoc for FeedbackMessages#hasMessage(int)

2013-12-06 Thread Paul Bors
We should still edit the JavaDoc for FeedbackMessages#hasMessage(int) and instruct to use ExactLevelFeedbackMessageFilter. Otherwise might get confused if the don't review the implementation. ~ Thank you, Paul Bors On Fri, Dec 6, 2013 at 4:11 AM, Martin Grigorov wrote: > I'

Re: Wrong JavaDoc for FeedbackMessages#hasMessage(int)

2013-12-05 Thread Paul Bors
Yes, we are using the .FeedbackMessages#hasMessage(IFeedbackMessageFilter) as we had no other choice. I'll file a ticket with a pull request now that I got used to GitHub :) ~ Thank you, Paul Bors On Thu, Dec 5, 2013 at 11:39 AM, Martin Grigorov wrote: > Hi, > > You are

  1   2   3   4   5   >