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

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

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

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

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

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

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?

RE: Validating form components in a refreshing view

2012-07-17 Thread Paul Bors
| onError() | - - - - - - - - - - - - - - - - - - - - - - - - - - -> | | --- I recommend reading "Wicket in Action" (http://manning.com/dashorst/) or any other books listed on Wicket's website (http://wicket.apache.org/learn/books/). ~ Thank you, Paul Bors | Software Engineer | Knoa Software | 5 Union Square West, New Y

Update JavaDoc for AbstractChoice#setType(java.lang.Class)

2012-07-17 Thread Paul Bors
28RC6%2529AbstractSingleSelectChoiceusesemptyStringasvaluefordefaultchoice ~ Thank you, Paul Bors - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org

RE: How to Logout

2012-07-18 Thread Paul Bors
Page.class); } }; ~ Thank you, Paul Bors -Original Message- From: Sébastien Gautrin [mailto:sgaut...@telemetris.com] Sent: Wednesday, July 18, 2012 12:43 PM To: users@wicket.apache.org Subject: Re: How to Logout Hi, The LogoutPage in the application I work on is quite simple: - first we inva

RE: [1.5] [6.0] dynamically named CSS, JS & images resources

2012-07-19 Thread Paul Bors
nge the HTML document's language in a similar manner only it will not be part of the component path for pages that extend BasePage. Here, getUserLocale() returns the Locale of the logged-in user whose ID is stored the Session. ~ Thank you, Paul Bors | Software Engineer | Knoa So

RE: I think it's time for a new book.... Igor and Co ?

2012-07-22 Thread Paul Bors
I second improving the current code documentation as I recently migrated a mid-size project to Wicket 1.5.7 from 1.3.7 and I've notice myself having to dig into the framework implementation more often than normal because of the weak or at times wrong JavaDocs. I won't mind submitting small patches

RE: Wicket Layout Design

2012-07-23 Thread Paul Bors
- amp-images-resources-tc4650635.html#a4650638 ~ Thank you, Paul Bors -Original Message- From: divad91 [mailto:diva...@hotmail.com] Sent: Monday, July 23, 2012 12:40 PM To: users@wicket.apache.org Subject: Re: Wicket Layout Design Thanks Jesse for your reply. The only drawback of this m

RE: I think it's time for a new book.... Igor and Co ?

2012-07-23 Thread Paul Bors
Thanks Martin, That's quite helpful, I'll sign up today :) ~ Thank you, Paul Bors -Original Message- From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: Monday, July 23, 2012 3:15 AM To: users@wicket.apache.org Subject: Re: I think it's time for a new book Ig

RE: Where to add javascript in html pages which follow inheritance relationship.

2012-07-31 Thread Paul Bors
>From what I remember is the way to go! https://cwiki.apache.org/WICKET/wickets-xhtml-tags.html#Wicket%2527sXHTMLtag s-Elementwicket%253Ahead I believe this tag will appends what its surrounding to the bottom of already existing head tag contents on the page. For your child page you should not d

RE: Where to add javascript in html pages which follow inheritance relationship.

2012-08-01 Thread Paul Bors
Well, it appears that your Page2.html and Page3.html are base pages (root classes to extend from) since you used (something will extend from those pages). Thus your hierarchy tree would look like: Page2.html (root) Page1.html (child: if you extend Page2) Page3.html (root) Page1.html (child: i

RE: Boolean DropDownChoice

2012-08-01 Thread Paul Bors
Instead of going to the extent of overriding a class because your model value is not updated, why not fix the problem? Take a look at the component reference wicket-example project: http://www.wicket-library.com/wicket-examples/compref/ More precisely at the DropDownChoice: http://www.wicket-libr

RE: Repeating TextFields

2012-08-01 Thread Paul Bors
I use DataTable and add a new object to its model. Another thing I do is to allow for an edit button that would turn the entire row of a DataTable into the appropriate form fields. For a visual see the Editable tree table from wicket's examples at: http://www.wicket-library.com/wicket -examples/ne

Re: Redirecting from Ajax onSubmit

2012-08-02 Thread Paul Bors
Can't you simply get away with calling setResponsePage()? ~ Thank you, Paul C Bors On Aug 1, 2012, at 20:17, vinitty wrote: > I am trying to do the redirection from AjaxSubmitLink onSubmit method > using this > RequestCycle.get().scheduleRequestHandlerAfterCurrent(reqTarget); > > But i am

Re: urgent-help.. how to click a specific tree node at the default

2012-08-05 Thread Paul Bors
See the Wicket Ajax examples section on Tree and Table: http://www.wicket-library.com/wicket-examples/ajax/ Tree and TreeTable: shows ajax tree and ajax tree table. ~ Thank you, Paul C Bors On Aug 4, 2012, at 23:52, swwa...@tsmc.com wrote: > > Hello: >I am new to wicket..please help t

RE: dynamic control of location of panels on page

2012-08-07 Thread Paul Bors
a.org/wiki/Apache_Velocity This is the Wicket project on it: http://wicket.apache.org/learn/projects/velocity.html ~ Thank you, Paul Bors -Original Message- From: oggie [mailto:gog...@gmail.com] Sent: Tuesday, August 07, 2012 4:01 PM To: users@wicket.apache.org Subject: dynamic control of l

RE: How to display a grid with empty cells

2012-08-09 Thread Paul Bors
Make use of the EmptyPanel class for the null or empty models. You could also simply call setVisible(false) on your component if you can hide it all together. http://wicket.apache.org/apidocs/1.4/org/apache/wicket/markup/html/panel/Emp tyPanel.html ~ Thank you, Paul Bors -Original Message

RE: How to update the treetable

2012-08-10 Thread Paul Bors
s you. ~ Thank you, Paul Bors -Original Message- From: lxw_first [mailto:lxw_fi...@hotmail.com] Sent: Friday, August 10, 2012 3:38 AM To: users@wicket.apache.org Subject: How to update the treetable I created a treetable with a treemodel based on database schema. I am trying to refresh t

RE: Multi row Tabs

2012-08-10 Thread Paul Bors
: div.verticalTabpanel div.tab-row li.selected { float: top; ... } One class sets the CSS of the main panel to either horizontalTabpanel or verticalTabpanel. ~ Thank you, Paul Bors -Original Message- From: Valery Gorbunov [mailto:valery.gorbu...@hys-enterprise.com] Sent: Friday

RE: RadioGroup

2012-08-11 Thread Paul Bors
ven a tag. Same concept applies to the CheckGroup and Check, not to be confused with CheckBox. Hope that helps! ~ Thank you, Paul Bors PS: Since Wicket is open source, you can download those projects including wicket-examples and run them locally on your computer. See the "Provide a path&q

RE: Searching for new experience with wicket

2012-08-13 Thread Paul Bors
Also read the articles on http://wicket.apache.org from under the Contribute left side section :) ~ Thank you, Paul Bors -Original Message- From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: Monday, August 13, 2012 11:52 AM To: users@wicket.apache.org Subject: Re: Searching

RE: Basic JUnit Test

2012-08-13 Thread Paul Bors
unit tests I use those two methods extensively as I would need to know both the component path in the tree and the expected output or the last response. There are plenty of other helper methods there as well. ~ Thank you, Paul Bors -Original Message- From: Martin Grigorov

RE: Generic search form/panel implementation

2012-08-13 Thread Paul Bors
could have designed this as an interface and have the client code implement it form different forms and pages, I think is doable. ~ Thank you, Paul Bors -Original Message- From: nunofaria11 [mailto:nunofari...@gmail.com] Sent: Monday, August 13, 2012 4:05 AM To: users@wicket.apache.or

RE: how to get HttpServletRequest in My Application class

2012-08-13 Thread Paul Bors
For your reference also see: https://cwiki.apache.org/WICKET/getting-a-url-for-display.html ~ Thank you, Paul Bors -Original Message- From: wicket user [mailto:samd...@live.com] Sent: Monday, August 13, 2012 1:07 PM To: users@wicket.apache.org Subject: Re: how to get

RE: how to get HttpServletRequest in My Application class

2012-08-13 Thread Paul Bors
Wicket < 1.5.x see: https://cwiki.apache.org/WICKET/request-cycle-and-request-cycle-processor.ht ml For newer version see: https://cwiki.apache.org/WICKET/requestcycle-in-wicket-15.html ~ Thank you, Paul Bors -Original Message- From: Paul Bors [mailto:p...@bors.ws] Sent: Monday, Aug

RE: Is there a way to search component by its wicket ID ?

2012-08-13 Thread Paul Bors
eference to the component you want. ~ Thank you, Paul Bors -Original Message- From: arkadyz111 [mailto:azelek...@gmail.com] Sent: Monday, August 13, 2012 9:41 AM To: users@wicket.apache.org Subject: Is there a way to search component by its wicket ID ? Hello, team. I am looking for

RE: Is there a way to search component by its wicket ID ?

2012-08-14 Thread Paul Bors
:username" and I also filter by the component type such as TextField.class to narrow down the search. That's not production code, is unit test and I'm assuming that's the context of your question. By using such regexp, I found myself refactoring the unit test code less whe

RE: How to control IMG/CSS URL-Rewriting in mounted pages?

2012-08-14 Thread Paul Bors
e this article: http://sanityresort.blogspot.com/2011/08/creating-custom-wicket-tag-resolver.html Or see how other such resolvers or AttributeModifer are used by Wicket itself, you can start with the AutoComponentResolver. ~ Good look to you! Paul Bors -Original Message- From: Joachim Schrod [mailto:js

RE: WicketRuntimeException: "Submit Button ... is not enabled"

2012-08-14 Thread Paul Bors
, Paul Bors -Original Message- From: eugenebalt [mailto:eugeneb...@yahoo.com] Sent: Tuesday, August 14, 2012 12:16 PM To: users@wicket.apache.org Subject: Re: WicketRuntimeException: "Submit Button ... is not enabled" It is true that we have multiple buttons on our form t

RE: Ajaxtabbedpanel example not working on ie9

2012-08-14 Thread Paul Bors
If you're talking about: http://www.wicket-library.com/wicket-examples/ajax/tabbed-panel?2 That works fine with IE: 9.0.8112.16421, perhaps you blocked JavaScript from executing? ~ Thank you, Paul Bors -Original Message- From: Delange [mailto:delan...@telfort.nl] Sent: Tu

RE: Static web page localization

2012-08-15 Thread Paul Bors
Another idiom is to attach a wicket:id to that HTML tag, and in your Java code use a WebMarkupContainer with an AttributeModifier to change whatever attribute you would like. Of course the IResource and children might be a better approach since it does the work for you :) ~ Thank you, Paul

RE: Nested form submit problem

2012-08-28 Thread Paul Bors
want to change the questions, simply change the list of Panels and make sure each form field has its own model (or use CompoundModel if you want). Hope that helps :) ~ Thank you, Paul Bors -Original Message- From: Sandor Feher [mailto:sfe...@bluesystem.hu] Sent: Tuesday, August 28, 2

RE: Nested form submit problem

2012-08-28 Thread Paul Bors
his design applied to it will validate the user input for each character typed, use a different JS event for other behavior. For code examples see: http://www.wicket-library.com/wicket-examples/ajax/form ~ Thank you, Paul Bors -Original Message- From: Sandor Feher [mailto:sfe...@blu

RE: Pre-Select DropDownChoice Selection, but No Model yet

2012-08-28 Thread Paul Bors
e the FormInput live example: http://www.wicket-library.com/wicket-examples/forminput ~ Thank you, Paul Bors -Original Message- From: eugenebalt [mailto:eugeneb...@yahoo.com] Sent: Tuesday, August 28, 2012 6:33 PM To: users@wicket.apache.org Subject: Re: Pre-Select DropDownChoice Se

  1   2   3   4   5   >