Re: How to add dynamic attributes to tag ?

2017-08-09 Thread Urbani, Edmund
And here are the docs you might want to look at: https://ci.apache.org/projects/wicket/guide/8.x/single.html#_adding_resources_to_page_header_section You'll see that there are plenty of header contributors available in Wicket and I bet there's something there for your needs as well. Regards,

Re: Multi-tab / window support in Wicket 7.5

2016-12-07 Thread Urbani, Edmund
This will render a *new* instance of this page with its own TabbedPanel where you will have different state. Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Wed, Dec 7, 2016 at 2:13 PM, Urbani, Edmund <edmund.urb...@lilandit.com> wrote: What I am missing

Re: Multi-tab / window support in Wicket 7.5

2016-12-07 Thread Urbani, Edmund
exists yet, but would be needed. ** Martin 2016-12-07 12:59 GMT+02:00 Urbani, Edmund <edmund.urb...@lilandit.com : Ok, but how do you create a session per tab? Also, I would at least need to login the authenticated user in the new session. On 12/07/2016 11:43 AM, Martin Makundi wrot

Re: Multi-tab / window support in Wicket 7.5

2016-12-07 Thread Urbani, Edmund
and will easily conflict if session is not distinct for each tab. 2016-12-07 12:42 GMT+02:00 Urbani, Edmund <edmund.urb...@lilandit.com>: Hi all, I have a some questions about the current state of this feature. Firstly, how reliable is it? (Works on all/current browsers? Can still break under c

Multi-tab / window support in Wicket 7.5

2016-12-07 Thread Urbani, Edmund
Hi all, I have a some questions about the current state of this feature. Firstly, how reliable is it? (Works on all/current browsers? Can still break under certain circumstances?) And secondly, how would I store my own state information per tab/window? The session context seems too broad

Accessing Wicket session from within a Servlet

2016-07-18 Thread Urbani, Edmund
Hello all, is there an easy way to gain access to the Wicket session from within a Servlet? Preferably a way that works with any Wicket version starting from 1.4. Kind regards, Edmund -- Edmund Urbani Liland IT Team Email: edmund.urb...@lilandit.com

Re: Wicket on the Amazon Cloud?

2016-05-02 Thread Urbani, Edmund
On 05/02/2016 04:10 PM, Entropy wrote: We've done our last several apps in Wicket. It's our framework. But our next app, the client has stated they want implemented on Amazon WebServices Cloud. Because of the automatic scaling, the advice seems to be that you want to write your apps to be

Re: Wicket on the Amazon Cloud?

2016-05-02 Thread Urbani, Edmund
On 05/02/2016 04:10 PM, Entropy wrote: We've done our last several apps in Wicket. It's our framework. But our next app, the client has stated they want implemented on Amazon WebServices Cloud. Because of the automatic scaling, the advice seems to be that you want to write your apps to be

Re: Use a Factory to create a Panel (Yay or Nay)?

2016-02-18 Thread Urbani, Edmund
Hello, I have at times used factories and then found that they made some simply things more complicated. Eg. I could no longer simply override isEnabled() or isVisible() methods to suit the page I was added the component to. So I try to avoid factories for Wicket components now unless I see a

Broken URL on Wicket Homepage

2015-07-02 Thread Urbani, Edmund
Currently on http://wicket.apache.org/ under New and noteworthy there's this (non-linked and broken) URL: http://ci.apache.org/projects/wicket/apidocs/6.x/org/apache/wicket/markup/html/image/InlineImage.html This URL (pointing to the 7.x API) would actually work and make sense:

Re: Wicket page serialization what causes delay?

2015-07-01 Thread Urbani, Edmund
It could be caused by serialization, IF the serialized object graph is sufficiently large (even without causing additional database access). But in that case too, you very, very likely have objects in there, that you do not want to actually serialize. Check members variables of your pages,

Re: Dealing with transient and persistent objects in Wicket sessions and models

2015-06-22 Thread Urbani, Edmund
On 06/21/2015 08:05 PM, Don Ferguson wrote: For persistence, I use the ActiveObjects ORM library, originally developed by Daniel Spiewak and now actively maintained by Atlassian. In AO, database entities are described by java interfaces. For your use case (transient objects that may or may

Re: Dealing with transient and persistent objects in Wicket sessions and models

2015-06-19 Thread Urbani, Edmund
On 06/19/2015 01:59 AM, wix wrote: Urbani, Edmund wrote I don't think I am the only one running into these kinds of issues, so I'd like to hear which patterns other developers apply or what they consider best practices. Would like to hear the same. I've attempted to work through

Dealing with transient and persistent objects in Wicket sessions and models

2015-06-18 Thread Urbani, Edmund
Hello all, this question is not directed solely at Wicket, but extends beyond that to web app architecture and best practices. I have been working mostly with the open-session-in-view pattern and Wicket's loadable detachable models backed with Hibernate or similar ORM for my applications.

DateTimeField + AJAX

2015-06-01 Thread Urbani, Edmund
Hello all, I am having trouble trying to apply an OnChangeAjaxBehaviour to the DateTimeField component from wicket-extensions. The AJAX updates always cause the model to be set to null. Even when the model is initialized with a non-null value, and that date is property displayed, any attempt

Re: DateTimeField + AJAX

2015-06-01 Thread Urbani, Edmund
/apache/wicket/extensions/yui/calendar/DateTimeField.java#L411 Martin Grigorov Wicket Training and Consulting https://twitter.com/mtgrigorov On Mon, Jun 1, 2015 at 3:05 PM, Urbani, Edmund edmund.urb...@lilandit.com mailto:edmund.urb...@lilandit.comwrote: Hello all,I am having trouble trying

Re: DateTimeField + AJAX

2015-06-01 Thread Urbani, Edmund
On 06/01/2015 03:48 PM, Martin Grigorov wrote: On Mon, Jun 1, 2015 at 3:39 PM, Urbani, Edmund edmund.urb...@lilandit.com mailto:edmund.urb...@lilandit.com wrote: Ah, of course: wicket-datetime. Thanks, I'll try that - though I was hoping I would not to have to work directly

Form.isRootForm() question

2014-07-31 Thread Urbani, Edmund
Hello all, after running into problems submitting an AJAX form in a modal window with Safari or Chrome, I found this solution: I simply override isRootForm() and let it return false. I do have similar cases like this to fix, and I was wondering what problems could arise from this change, or

Re: Form.isRootForm() question

2014-07-31 Thread Urbani, Edmund
component make sure that you put the modal window itself * in another form (nesting forms is legal in Wicket) and that the form on modal window is submitted * before the window get closed. On Thu, Jul 31, 2014 at 11:00 AM, Urbani, Edmund edmund.urb

Re: Excel spreadsheet and cache duration

2014-07-31 Thread Urbani, Edmund
My guess is that whatever browser you are using is trying to PROPFIND for more information about the file. And yes, that method is commonly used by WebDAV capable servers and will usually result in HTTP status code 405 otherwise. That would make it a WAS7 / browser issue and not a Wicket