Re: turning off page versioning

2014-09-24 Thread Jesse Long
On 24/09/2014 16:22, Garret Wilson wrote: On 9/24/2014 9:26 AM, Martijn Dashorst wrote: On Wed, Sep 24, 2014 at 2:13 AM, Garret Wilson wrote: I'm not denying that versioned pages may be a useful concept for some use cases (even though I can't think of any offhand). Persioning is a very usefu

Re: on session expiry home page links behave differently than non home page links

2014-09-22 Thread Jesse Long
ge on session expiry ? is there a explicit setting in wicket or some way where the user is redirected to SessionExpired Page on session expiry ? /Thanks & Regards/ /Satish Gutta/ From: Jesse Long To: users@wicket.apache.org Date: 09/17/2014 04:35 PM Subject: Re: on session expiry

Re: on session expiry home page links behave differently than non home page links

2014-09-17 Thread Jesse Long
Hi Satish, The problem here is that your quickstart uses the same page for page expired error and error 404. PageExpired.STATUS_CODE is 404. Your web.xml sets the 404 error page to /404, and you mount the PageExpired page as /404. You also set the PageExpiredErrorPage to PageExpired. When

Re: Partially include JSP files into Wicket-HTML-Pages via Custom Tag

2014-08-29 Thread Jesse Long
Hi Tobias, Nice work. BTW, you can do this to remove the ban on openclose tags: @Override protected void onComponentTag(final ComponentTag tag) { tag.setType(XmlTag.TagType.OPEN); super.onComponentTag(tag); } Cheers, Jesse On 29/08/2014 10:53, Soloschenko, Tobias wrote: Hello everyon

Re: Pagination in wicket

2014-06-27 Thread Jesse Long
;#" + pageNumberTextFieldId + "').focus(function(){$(this).select();});")); in renderHead() Cheers, Jesse On 27/06/2014 14:06, Jesse Long wrote: Hi K, I use this: class="btn btn

Re: Pagination in wicket

2014-06-27 Thread Jesse Long
Hi K, I use this: class="btn btn-default"> Page wicket:id="pageNumberInput" style="margin: 0px; width: 45px; text-align: right; padding: 0px 4

Re: Feedback panel title area

2014-04-28 Thread Jesse Long
On 25/04/2014 18:30, Entropy wrote: I just tried putting some text inside the feedback panel's html like so: This is a test That didn't work. "This is a test" was overwritten when the feedback panel rendered. Which is exactly what I expected it to do. Hi, The text between the tags is call

Re: Strange issue with AJAX update + file download

2014-04-10 Thread Jesse Long
On 10/04/2014 12:53, Martin Grigorov wrote: On Thu, Apr 10, 2014 at 1:44 PM, Ernesto Reinaldo Barreiro < reier...@gmail.com> wrote: Hi, On Thu, Apr 10, 2014 at 12:36 PM, Tobias Gierke < tobias.gie...@voipfuture.com> wrote: Hi, Hi, On Thu, Apr 10, 2014 at 1:13 PM, Tobias Gierke < tobia

Re: Best practice: JS/CSS library resource references

2014-03-25 Thread Jesse Long
at I do not have it yet! ;) ) What so you think? Best regards, Sebastien. On Mon, Mar 24, 2014 at 12:12 PM, Martin Grigorov wrote: On Mon, Mar 24, 2014 at 12:59 PM, Jesse Long wrote: On 24/03/2014 12:05, Martin Grigorov wrote: Hi Jesse, On Mon, Mar 24, 2014 at 11:11 AM, Jesse Long w

Re: Best practice: JS/CSS library resource references

2014-03-24 Thread Jesse Long
On 24/03/2014 12:05, Martin Grigorov wrote: Hi Jesse, On Mon, Mar 24, 2014 at 11:11 AM, Jesse Long wrote: Hi All, Wicket uses mostly ResourceReferences to render and manage the URLs for CSS and JavaScript files to be included in the output. When we use libraries like JQuery UI, Bootstrap

Best practice: JS/CSS library resource references

2014-03-24 Thread Jesse Long
Hi All, Wicket uses mostly ResourceReferences to render and manage the URLs for CSS and JavaScript files to be included in the output. When we use libraries like JQuery UI, Bootstrap etc, it is often a requirement to allow the user to provide his own customized resource references. Typically

Re: CSRF protection and mounting pages

2013-09-18 Thread Jesse Long
Hi Andreas, Try using this, in addition to normal CryptoMapper. usage: protected void init() { setRootRequestMapper(new CryptoMapper(getRootRequestMapper(), .)); mountPage(); mountPage(); mountPage(); mountPage(); mountPage(); setRootRequestMapper(new ListenerInterfac

Re: Wicket: DropDownChoice onChange open response page in right frame

2013-08-07 Thread Jesse Long
Hi Jeremie, You can use javascript: target.appendJavascript("top.frames['myframename'].location='" + urlFor(TraineeView.class,pageParamaters) + "';"); Cheers, Jesse On 07/08/2013 13:09, Jeremie wrote: Hello, In my research project, I need to create a combo box with a list of choices. I use

Re: Inmethod Grid on IE9

2013-07-23 Thread Jesse Long
Hi Jose, I too had the same issue, and I also dont know how to fix it. Please let us know what you did to get it to work. My work around is to set this for IE 9 only: overflow-y: hidden; overflow-x: scroll; If there is a better solution, please let us know. Thanks, Jesse On 18/07/2013 17:

Re: Feedback message is not available for behaviors added to nested form components

2013-07-03 Thread Jesse Long
Hi James, This is a shortened list of events happening, including only the ones affecting you. They are in the order in which they occur. * IFormSubmitListener#onFormSubmitted() * ListView#onBeforeRender() * Page#onRender() ListView#onBeforeRender() calls ListView#onPopulate(). If you are

Re: How to dynamically add a hyperlink (BookmarkablePageLink) to DefaultDataTable that is rendered as an anchor

2013-06-17 Thread Jesse Long
Hi David, The IColumn#populateItem method populates a cell in the HTML table. It is as if you are adding your components to markup like this: If you have that, and you do: add(new Link("xyz"){...}); then you will have the same results. Why? Because Link was not designed to be added to ma

Re: Is it possible to add a static prefix to the generated URL from CryptoMapper?

2013-06-04 Thread Jesse Long
Hi Magnus, Sorry for replying so late, but I wanted to add a word of caution here. There is a problem with Form#dispatchEvent() when you change the number of URL segments. I cant remember the exact details, but it has something to do with the Url#resolveRelative() or the call to it making ass

Re: Wicket RepeatingView refresh / rerender ? Possibilities? [List items missing]

2013-05-08 Thread Jesse Long
Hi, Just override RepeatingView#onPopulate() like this: @Override protected void onPopulate() { removeAll(); // TODO: populate items here, like: // add(new Label(newChildId(), "Date is: " + new Date().toString())); } Also may be a good idea to call onPopulate() from onInitialize(),

Re: DataTable multiple sort columns

2013-04-30 Thread Jesse Long
it here is that you can add features like add remove and reorder columns in this panel. I use a collapsible panel for filtering and it seems to work quite nicely. Cheers, Jesse On 30/04/2013 19:44, Lucio Crusca wrote: In data Tuesday 30 April 2013 19:14:12, Jesse Long ha scritto: Hi L

Re: DataTable multiple sort columns

2013-04-30 Thread Jesse Long
Hi Lucio, Its something I'd be interested in pursuing myself, but the real problem is how to display the sort state to the user. With single sort state, you just show an arrow next to the column used for sorting. You could use a Palette type component as a top toolbar, allowing the user to a

Re: AW: AW: AW: DefaultDataTable will not render bottomtoolbar for export

2013-04-24 Thread Jesse Long
+49 (0) 351 / 8152 - 188 fax: +49 (0) 351 / 8152 - 209 email: christoph.ma...@t-systems.com -Ursprüngliche Nachricht- Von: Jesse Long [mailto:j...@unknown.za.net] Gesendet: Mittwoch, 24. April 2013 10:10 An: users@wicket.apache.org Betreff: Re: AW: AW: DefaultDataTable will not render

Re: AW: AW: DefaultDataTable will not render bottomtoolbar for export

2013-04-24 Thread Jesse Long
bottomtoolbar for export Hello, now I see the Problem. Thank you for your help and sorry for my blindness. Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport & Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.:

Re: AW: AW: DefaultDataTable will not render bottomtoolbar for export

2013-04-23 Thread Jesse Long
Because you replaced the data table to which the export toolbar was added with another data table, which has no export toolbar. A data table without an export toolbar will not render an export toolbar. If you want the export toolbar to render, you must add it to the data table being rendered.

Re: AW: DefaultDataTable will not render bottomtoolbar for export

2013-04-23 Thread Jesse Long
me data in the dataTable the Bottomtoolbar isn't rendered.Why? Because of the non-exportable columns? Mit freundlichen Grüßen Christoph Manig Systems Engineer T-Systems International GmbH Systems Integration - SC Travel, Transport & Logistics Hoyerswerdaer Str. 18 01099 Dresden tel.: +4

Re: DefaultDataTable will not render bottomtoolbar for export

2013-04-23 Thread Jesse Long
Hi Christoph, ExportToolbar#isVisible() is not visible in any of these conditions: * There are no rows displayed (this is your case) * There are no data exporters (this is not your case) * There are no exportable columns (I dont know if this is your case) If you want the export toolbar to be vi

Re: Deprecation of createLabelModel

2013-03-13 Thread Jesse Long
Hi Tron, Would it not suffice to change PropertyColumn to implement IExportableColumn? This would make the return type of getDataModel() a IModel, and IModel will work. Alternative is in Wicket 7, remove third type parameter for IExportableColumn, and make getDataModel() return IModel. Down

Re: [ANN] wicketstuff-lazymodel

2013-03-08 Thread Jesse Long
I can wait till 6.7.0. :-) Cheers, Jesse On 08/03/2013 15:03, Martin Grigorov wrote: :-) I didn't understand which option you choose - to wait one more week or to release 6.6.0 this weekend ? On Fri, Mar 8, 2013 at 2:56 PM, Jesse Long wrote: OK, that sounds great. Thanks Martin.

Re: [ANN] wicketstuff-lazymodel

2013-03-08 Thread Jesse Long
OK, that sounds great. Thanks Martin. On 08/03/2013 14:33, Martin Grigorov wrote: Hi, Wicket 6.7.0 will be cut next Friday. Can you wait a bit more ? I can build it this Sunday too. On Thu, Mar 7, 2013 at 12:51 AM, Jesse Long wrote: Hi All, Please can we do a 6.6.0 release of

Re: [ANN] wicketstuff-lazymodel

2013-03-06 Thread Jesse Long
Hi All, Please can we do a 6.6.0 release of wicketstuff... I'd love for LazyModel to be on Maven Central. Thanks, Jesse On 18/02/2013 19:30, Sven Meier wrote: Hi all, I've added a new module to wicketstuff: LazyModel offers lazy evaluation of method invocations. It takes the best from pre

Re: Redirect to login page on UnauthorizedActionException(Page,RENDER)

2012-12-11 Thread Jesse Long
f the componentClass for what you want and etc. ~ Thank you, Paul Bors -Original Message- From: Jesse Long [mailto:j...@unknown.za.net] Sent: Tuesday, December 11, 2012 2:30 AM To: users@wicket.apache.org Subject: Re: Redirect to login page on UnauthorizedActionException(Page,RENDER) Hi

Re: Redirect to login page on UnauthorizedActionException(Page,RENDER)

2012-12-10 Thread Jesse Long
u, Paul Bors -----Original Message- From: Jesse Long [mailto:j...@unknown.za.net] Sent: Monday, December 10, 2012 11:05 AM To: users@wicket.apache.org Subject: Redirect to login page on UnauthorizedActionException(Page,RENDER) Hi All, I am using the authorization strategy to authorize v

Redirect to login page on UnauthorizedActionException(Page,RENDER)

2012-12-10 Thread Jesse Long
Hi All, I am using the authorization strategy to authorize viewing of pages by checking if instantiation is allowed. If the session is not authenticated, and if instantiation is not allowed, I redirect the user to a login page using an IUnauthorizedComponentInstantiationListener. I also chec

Re: Why is SortParam.getProperty generic?

2012-11-18 Thread Jesse Long
I use sort parameters of type Field where field is a meta data type describing a field in (or reachable through joins from) the table represented by the Table class. My data provider then uses the currently selected Field to create the "ORDER BY" part of the SQL. Cheers, Jesse On 17/11/2012

Re: need advice for wicket-plugin's implementation

2012-11-13 Thread Jesse Long
See CompoundClassResolver. Designed for this purpose. On 12/11/2012 14:12, Martin Grigorov wrote: Hi, Since you use custom ClassLoaders you have to use custom IClassResolver too. On Fri, Nov 9, 2012 at 5:22 PM, Decebal Suiu wrote: Hi I'm working to first version of wicket-plugin. I encoun

Re: SortableDataProvider setSort default sort order

2012-11-12 Thread Jesse Long
Hi Steven, The exact details of the sort order are up to you. SortableDataProvider doesn't actually do any sorting, it only provides the sort state methods to manage the *desired* sort order. You must still return the items in the correct order when the iterator() method is called. Cheers, J

Re: format value missing in ConversionException thrown by wicket-datetime's DateConverter

2012-11-06 Thread Jesse Long
Hi Benedikt, wicket-datetime implementation is much nicer, but requires the Joda Time dependency, which the wicket-extensions version is based on normal JDK API. When JSR310 comes out in Wicket's minimum required Java version (Java 8?) we can probably merge them. Cheers, Jesse On 05/11/201

Re: Wicket CryptoMapper loses RequestParameters for HomePage (1.5-SNAPSHOT)

2012-11-06 Thread Jesse Long
On 05/11/2012 22:50, matmar wrote: Hi! We have a problem with using CryptoMapper, and a proposed fix. I'd like some comments from this community regarding both the bug and the fix. When CryptoMapper is used, query parameters are only found via PageParameters, and not via RequestParameters, as e

Re: something similar with setOutputMarkupContainerClassName

2012-10-23 Thread Jesse Long
wrote: AbstractTransformerBehavior can be a solution but I must parse the output to retrieve the component tag body. For a particular situation (Jesse Long situation) to parse the output it's not a big deal but in my situation (something general for all my markup containers) I don't see a

Re: Behavior modifying component body

2012-10-19 Thread Jesse Long
too: - you will need to inject some markup in another markup - you will need to add two behaviors to the component (I guess you use ButtonBehavior from wicket-bootstrap already) P.S. I've included dev@ so more Wicket devs can give their opinion on this. On Thu, Oct 18, 2012 at 11:27 PM, Jes

Behavior modifying component body

2012-10-18 Thread Jesse Long
Hi Wicket Community, I would like to modify the body of a Component from a Behavior. Specifically, I want to add: To the beginning of the of the body of a link, eg: [here] Some other body I dont want to extend AbstractLink etc, I want to add this functionality as a Behavior. I cannot se

Re: [DISCUSS] Security Frameworks

2012-10-18 Thread Jesse Long
We use an in house designed system very similar to Shiro. The security framework only works on permissions (not roles), but the permissions that a user has depends on the roles they belong to (implementation detail the framework does not care about). It also does not allow Shiro style string p

Re: sicket 6 beta3 -> wicket 6

2012-09-27 Thread Jesse Long
WebSession#authenticate() disappeared after 6.0.0-beta3. Affected me... Cheers, Jesse On 27/09/2012 14:41, Douglas Ferguson wrote: That may take some time, there are some layers.. I just was curious if there are any known issues from beta3 to the stable release. Douglas On Sep 27, 2012, at

Re: MountedMapper and CryptoMapper

2012-08-06 Thread Jesse Long
Hi Josh, On 06/08/2012 22:10, jchappelle wrote: Currently I am using CryptoMapper for my application. It is installed in the init method of my application like this: setRootRequestMapper(new CryptoMapper(getRootRequestMapper(), this));. I need some of my pages to be bookmarkable with a url like

Re: Wicket Layout Design

2012-07-23 Thread Jesse Long
On 19/07/2012 17:01, divad91 wrote: Hi, I am new to Wicket. I'm working on a multi province web application. The goal is to use the same web application for all provinces. CSS and some business logic will differ for each province. I want to know the best ways to instantiate my layout components

Re: Status of wicketstuff jquery integration

2012-05-09 Thread Jesse Long
there is no need for wiquery-jquery-ui. Hielke -Original Message- From: Jesse Long [mailto:j...@unknown.za.net] Sent: woensdag 2 mei 2012 10:48 To: users@wicket.apache.org Subject: Status of wicketstuff jquery integration Hi All, I'm interested in using features of the jquery integrati

Status of wicketstuff jquery integration

2012-05-02 Thread Jesse Long
Hi All, I'm interested in using features of the jquery integration in wicketstuff, but it seems it is not being maintained. The version of jquery packaged with the wicketstuff-jquery jar seems to be 1.3.2, which is quite old already. Am I missing something? Is there a preferred way of integra