Reasons for migrating to wicket-1.3

2007-08-12 Thread Alex Objelean
I have to convince my chief that it worth to migrate the application to wicket-1.3. Can you help me to create a list of arguments? Thank you! Alex. -- View this message in context: http://www.nabble.com/Reasons-for-migrating-to-wicket-1.3-tf4256393.html#a12113341 Sent from the Wicket - User

Re: Wicket-1.3-beta2 validation (conversion) bug?

2007-08-15 Thread Alex Objelean
whether we should support the state when client and server are out of sync. -Matej On 8/14/07, Alex Objelean [EMAIL PROTECTED] wrote: This means that the component enable state must be always in sync with the client side state? Shouldn't it be set automatically as not enabled after

Strange bug in Wicket-1.3.0-beta2

2007-08-15 Thread Alex Objelean
I've got randomly an exception when clicking on the table row which has an AjaxEventBehavior assigned. Below is the stacktrace. Any ideas? [10:34:27.875] ERROR [http-8080-Processor1] RequestCycle - component body:panel:actionListContainer:actionList:form:actionList:14 not found on page

Re: Wicket-1.3-beta2 validation (conversion) bug?

2007-08-16 Thread Alex Objelean
to be converted to a nonnull object. -igor On 8/14/07, Alex Objelean [EMAIL PROTECTED] wrote: I found a quick fix for my issue: instead of disabling the Textfield, I make it readonly... still wondering why the change has been made in the convert() method. Matej Knopp-2 wrote: At this point

Re: setSerializeSessionAttributes in wicket-1.3.0-beta2

2007-08-16 Thread Alex Objelean
Eelco, you're right! The latest profiling shows where the bottleneck is... it is indeed not where I was looking for. I thought it was because of serialization because when using 1.2.x branch i found out that setSerializeSessionAttributes(false) improved a lot application responsiveness. Thank

strang bug in wicket-1.3.0-beta2 when submitting a form

2007-08-16 Thread Alex Objelean
I've got the following exception when submit a form... (the same code worked fine with wicket-1.2.6) Any thougths? [10:39:10.071] ERROR [http-8080-Processor8] RequestCycle - Could not find Form parent for [MarkupContainer [Component id = editOrCancel, page =

Re: setSerializeSessionAttributes in wicket-1.3.0-beta2

2007-08-16 Thread Alex Objelean
Well, in this case the bottleneck was caused by an expensive call which was not cashed inside a very long list... Anyway, profiling tools helps very much in such cases, so I would recommend everybody who have performance issues to use it. :) Eelco Hillenius wrote: Eelco, you're right! The

Re: setSerializeSessionAttributes in wicket-1.3.0-beta2

2007-08-16 Thread Alex Objelean
Me too :)... YourKit rocks! :) Eelco Hillenius wrote: Well, in this case the bottleneck was caused by an expensive call which was not cashed inside a very long list... Anyway, profiling tools helps very much in such cases, so I would recommend everybody who have performance issues to use

Re: Wicket-1.3-beta2 validation (conversion) bug?

2007-08-27 Thread Alex Objelean
can discuss it here if you like. for example you can list some pros and cons that you think the current approach has. -igor On 8/15/07, Alex Objelean [EMAIL PROTECTED] wrote: If you believe that the usecase is obscure, shouldn't this approach to be reconsidered? Or at least discussed

Re: Wicket-1.3-beta2 validation (conversion) bug?

2007-08-27 Thread Alex Objelean
i dont think this is needed. your custom converter should include a null check. But I do not use custom converter. In my case it is about a simple String or Integer or whatever... So, you suggest to create a custom converter for each case where I disable the form component on the

Re: strang bug in wicket-1.3.0-beta2 when submitting a form

2007-08-27 Thread Alex Objelean
you! Alex. igor.vaynberg wrote: unfortunately formcomponent:565 doesnt point to anything useful. mind trying again with the trunk build? it looks like formcomponent is trying to find its form, do you have it inside a form? -igor On 8/16/07, Alex Objelean [EMAIL PROTECTED] wrote

JS space pollution in wicket-extensions

2007-08-27 Thread Alex Objelean
I've noticed that wicket-extension components (for instance palette.js) pollute the js namespace. Wouldn't it be better to create a namespace for them? Something like this would be pretty: Wicket.Extensions.Palette. This proposal is valid for any other components which contribute with js files.

Re: strang bug in wicket-1.3.0-beta2 when submitting a form

2007-08-27 Thread Alex Objelean
html works, your input type=submit have to be inside a form, and that is what Button is designed to represent. -igor On 8/27/07, Alex Objelean [EMAIL PROTECTED] wrote: Yes, indeed. In my case I have a Button component which is not inside a Form. The workaround for this issue is to use

Re: JS space pollution in wicket-extensions

2007-08-28 Thread Alex Objelean
don't remember it. If you even attach a patch I'm sure it will be addressed. :) Frank On 8/27/07, Alex Objelean [EMAIL PROTECTED] wrote: It is not a bug. It is a kind of RFE or a request for usage of best practices when coding client-side code. I was curious if you share the same thoughts

Re: JS space pollution in wicket-extensions

2007-08-28 Thread Alex Objelean
don't remember it. If you even attach a patch I'm sure it will be addressed. :) Frank On 8/27/07, Alex Objelean [EMAIL PROTECTED] wrote: It is not a bug. It is a kind of RFE or a request for usage of best practices when coding client-side code. I was curious if you share the same thoughts

Wicket validation flaw?

2007-09-06 Thread Alex Objelean
I've discovered the following issue: When using a DateTextField in a form (with the format: dd/MM/), user by mistake add an extra space (for instance: 06/09/2007 ) and submit the form. The are two problems: 1) I would expect the convertor to convert this value correct, but the

Re: Twice Behavior on the same event handler (wicket 1.2.x)

2007-09-06 Thread Alex Objelean
I am curious, what is your use case for chaining behaviors? I think that if you have two things that you want to chain, then chain them in the same handler, or use decorator to add the client-side code. Alex paolo di tommaso wrote: Carlos, Can you provide an example of your custom

Re: Strange bug in Wicket-1.3.0-beta2

2007-09-06 Thread Alex Objelean
), but this is not that easy (God bless IE). Alex Alex Objelean wrote: I've got randomly an exception when clicking on the table row which has an AjaxEventBehavior assigned. Below is the stacktrace. Any ideas? [10:34:27.875] ERROR [http-8080-Processor1] RequestCycle - component

Re: Strange bug in Wicket-1.3.0-beta2

2007-09-06 Thread Alex Objelean
each scheduled ajax request to check if the originating DOM element is still in the document. -Matej On 9/6/07, Alex Objelean [EMAIL PROTECTED] wrote: Right now, I do not know if this kind of issue can be fixed on the wicket side. But what I do know for sure, is that this have to do

Re: Wicket validation flaw?

2007-09-06 Thread Alex Objelean
report a JIRA issue and attach a quick start project? -Matej On 9/6/07, Alex Objelean [EMAIL PROTECTED] wrote: I've discovered the following issue: When using a DateTextField in a form (with the format: dd/MM/), user by mistake add an extra space (for instance: 06/09/2007 ) and submit

Why the AbstractRepeater#onBeforeRender is final wicket-1.3.0-SNAPSHOT (6 sept 2007)?

2007-09-06 Thread Alex Objelean
I've grabbed the latest SNAPSHOT from the repository and have noticed that AbstractRepeater#onBeforeRender is final. I wonder what is the reason for this? (I need to do something in it's subclass) /** * @see org.apache.wicket.Component#onBeforeRender() */

Re: Why the AbstractRepeater#onBeforeRender is final wicket-1.3.0-SNAPSHOT (6 sept 2007)?

2007-09-06 Thread Alex Objelean
can remove the code, because after recent changes onBeforeRender() is only called when component is visible in hierarchy. -Matej On 9/6/07, Alex Objelean [EMAIL PROTECTED] wrote: I've grabbed the latest SNAPSHOT from the repository and have noticed that AbstractRepeater#onBeforeRender

Re: Why the AbstractRepeater#onBeforeRender is final wicket-1.3.0-SNAPSHOT (6 sept 2007)?

2007-09-06 Thread Alex Objelean
is called only when component is visible. But IMHO that's no longer necessary. -Matej On 9/6/07, Alex Objelean [EMAIL PROTECTED] wrote: I would prefer to use onBeforeRender, instead of onPopulate, since it is the I do in other components. Why would I use different life-cycle methods

Re: Why the AbstractRepeater#onBeforeRender is final wicket-1.3.0-SNAPSHOT (6 sept 2007)?

2007-09-06 Thread Alex Objelean
Done. Here is the issue link: https://issues.apache.org/jira/browse/WICKET-935 WICKET-935 Matej Knopp-2 wrote: Please do, so that we don't forget. -Matej On 9/6/07, Alex Objelean [EMAIL PROTECTED] wrote: Thank you again, Matej! :) Will it be fixed, or should I create a task

Re: Strange bug in Wicket-1.3.0-beta2

2007-09-06 Thread Alex Objelean
/apache/wicket/ On 9/6/07, Matej Knopp [EMAIL PROTECTED] wrote: Dunno, there's still work to do, but there are snapshot somewhere available, you can grab those if you don't want to build wicket. -Matej On 9/6/07, Alex Objelean [EMAIL PROTECTED] wrote: Thank you very much Matej! To be honest

Re: Strange bug in Wicket-1.3.0-beta2

2007-09-06 Thread Alex Objelean
. Can you please create a jira entry and add a quickstart project? This might be a corner case, I'd like to fix this asap. -Matej On 9/6/07, Alex Objelean [EMAIL PROTECTED] wrote: With the latest SNAPSHOT, the application throws Exception almost always :(... I thing, it has not been tested

Re: Strange bug in Wicket-1.3.0-beta2

2007-09-06 Thread Alex Objelean
try to isolate the problem? -Matej On 9/6/07, Alex Objelean [EMAIL PROTECTED] wrote: It's quite hard to create a quickstart project, since the project I'm working on is very large. But if you think that it is enough to create a JIRA task with the stacktrace and short description, than

Re: Strange bug in Wicket-1.3.0-beta2

2007-09-06 Thread Alex Objelean
It's only a false alarm. Sorry. My fault. Probably I didn't perform a 'clean' before the application has been deployed. The issue is CLOSED! PS: Big 'THANK YOU' to Matej :). Alex Objelean wrote: Last post was completely wrong. Here is another handler which works ok: var wcall

Re: threading issues - continued

2007-09-07 Thread Alex Objelean
In our application, for long running ajax request we block the screen, so the user is unable to click somewhere else. Alex. Sam Hough wrote: OK. Should give me fewer nightmares even if it doesn't explain current problem. Many thanks. It is probably just my dodgy code. What pattern do

Re: Why the AbstractRepeater#onBeforeRender is final wicket-1.3.0-SNAPSHOT (6 sept 2007)?

2007-09-07 Thread Alex Objelean
that would check for this, there is some support for this in JSR305, but who knows when that will come to fruition. until then the only sure way to do this is to make the method final :| -igor On 9/6/07, Alex Objelean [EMAIL PROTECTED] wrote: The way I do it, is this: protected void

Re: Disable the SecondLevelPageCache?

2007-09-10 Thread Alex Objelean
the data stuff's size (including the detach logic)? Martijn On 9/10/07, Alex Objelean [EMAIL PROTECTED] wrote: If the pages wouldn't be serializable, it wouldn't work in development mode. Is it right? I think that it is not necessarily about how large is application, in my case

Re: Disable the SecondLevelPageCache?

2007-09-10 Thread Alex Objelean
secondlevelcachesessionstore should be usable for you as well, but that would require not serializing everyhing, rather then that just keep things in memory and inject the dependencies on deserialization. -Matej On 9/10/07, Alex Objelean [EMAIL PROTECTED] wrote: Indeed, it is a very big component hierarchy

Re: Disable the SecondLevelPageCache?

2007-09-10 Thread Alex Objelean
Objelean [EMAIL PROTECTED] wrote: How can I figure it out? Johan Compagner wrote: if you save the page to disk how big is it? johan On 9/10/07, Alex Objelean [EMAIL PROTECTED] wrote: Indeed, it is a very big component hierarchy (It contains at least 3 levels of nested

Re: Disable the SecondLevelPageCache?

2007-09-10 Thread Alex Objelean
null (when you e.g go to another page and return back), you can reinject it. Or you can just store it to session (outside the page). There are numerious possibilities, but you need to find out first where the bottleneck is. -Matej On 9/10/07, Alex Objelean [EMAIL PROTECTED] wrote: Matej

Re: Disable the SecondLevelPageCache?

2007-09-10 Thread Alex Objelean
wrote: you got to be kidding me...32MB really? Or is this a nice joke so in the middle of the day :) johan On 9/10/07, Alex Objelean [EMAIL PROTECTED] wrote: It is about 32MB. Kind a big page :) Matej Knopp-2 wrote: Turn on SecondLevelCacheSessionStore, and use

Re: Disable the SecondLevelPageCache?

2007-09-10 Thread Alex Objelean
keep the last rendered page in memory as I understand it, so that 32MB will still be claimed, whatever store you choose. Martijn On 9/10/07, Alex Objelean [EMAIL PROTECTED] wrote: :) Unfortunately it's not a joke, but I'm glad you're having fun :D. Actually, this is result of worst case

Re: Disable the SecondLevelPageCache?

2007-09-10 Thread Alex Objelean
Johan, Matej, Martijn, thank you all for help! PS: one more reason to love this community :) Johan Compagner wrote: if you just have 1 page with no back button support/all ajax then httpsessionstore is fine johan On 9/10/07, Alex Objelean [EMAIL PROTECTED] wrote

ResourceWatcher is not working properly in Development mode

2007-09-11 Thread Alex Objelean
I use the wicket-1.3-snapshot (from 9th sept). In development mode, I expect that any change to markup would be visible after the page is refreshed (as it does in wicket-1.3-beta3). But it doesn't. Any ideas why? Alex. -- View this message in context:

Re: I18n and resource bundles prioritization

2007-09-11 Thread Alex Objelean
JIRA issue created: https://issues.apache.org/jira/browse/WICKET-959 WICKET-959 Eelco Hillenius wrote: Could you open a JIRA issue please so that we can fix either the WIKI or a bug? Eelco On 8/27/07, Alex Objelean [EMAIL PROTECTED] wrote: The http://cwiki.apache.org/confluence

Re: Question about notifyComponentOnBeforeRenderListeners

2007-09-18 Thread Alex Objelean
. -Matej On 9/17/07, Alex Objelean [EMAIL PROTECTED] wrote: Currently, I override the onBeforeRender() when I want to make some changes to the modelObject used by my custom component. For instance, if (condition) {//update model object from service}. This is what I mean by own logic. I thought

[RFE] getMarkupId()

2007-09-21 Thread Alex Objelean
This is about how wicket generates dynamically markupID. I have, for instance, the following markup component: input wicket:id=quantity.noOfUnits / The generated markupId for this component looks like the following: quantity.noOfUnits1232 . I suggest to escape any css valid specifiers from

Re: [RFE] getMarkupId()

2007-09-21 Thread Alex Objelean
JIRA issue created: https://issues.apache.org/jira/browse/WICKET-995 WICKET-995 Matej Knopp-2 wrote: Can you please submit a bug report. -Matej On 9/21/07, Alex Objelean [EMAIL PROTECTED] wrote: This is about how wicket generates dynamically markupID. I have, for instance

Re: [RFE] getMarkupId()

2007-09-21 Thread Alex Objelean
case for using id? Alex Objelean wrote: My personal opinion is that switching from id to class is not such a good idea, simply because the ID attributes guaranties (of course you can create two elements with same ID, but it is not the same as with class attribute) the unicity

Re: [RFE] getMarkupId()

2007-09-21 Thread Alex Objelean
are going to stop using ids and move over to class as it make re-use easier and avoids a number of wicket problems with ids... The HTML monkey is not happy though. He reminds me of the Family Guy screaming monkey today. Alex Objelean wrote: This is about how wicket generates dynamically

Re: [RFE] getMarkupId()

2007-09-21 Thread Alex Objelean
. Alex Objelean wrote: In my application I extensively use the component generated id to perform some DOM updates on the client side, also for client-side validation. Also getting a DOM element by its ID is the fastest method comparing with finding it using it's css class. Sam

Re: [RFE] getMarkupId()

2007-09-21 Thread Alex Objelean
just make sure all your wicket ids are universally unique? So none that are just form, label, button etc? I quite like using button if only one within the container... What if you want to use the same component twice? Alex Objelean wrote: Performance on the client side is very important

Re: [RFE] getMarkupId()

2007-09-25 Thread Alex Objelean
with the magical id mangling behavior you suggest. If JQuery can't handle valid HTML id's, that's a JQuery bug and not a Wicket bug. -Ryan On Sep 21, 2007, at 4:44 AM, Alex Objelean wrote: This is about how wicket generates dynamically markupID. I have, for instance, the following

Re: [RFE] getMarkupId()

2007-09-25 Thread Alex Objelean
Why would a developer be confused by something that is generated automatically? Do you really care if the generated markup id is quantity1 or quantity_1 or quantity-1? Whats the difference? Ryan Holmes wrote: The automatic transformation of certain characters by a framework is exactly

Re: [RFE] getMarkupId()

2007-09-26 Thread Alex Objelean
That is wrong! In wicket-1.3.x branch the underscore is not used as a hierarchy separator. It was used before the 1.3.x branch. Take a look on generated id's.. Ryan Holmes wrote: ..and the underscore is used as a hierarchy separator. -- View this message in context:

Re: [RFE] getMarkupId()

2007-09-26 Thread Alex Objelean
Why would you need to predict the id? That is the point - you should not rely on generated id, all you know that it is unique. If you want to be sure what is the id, just override the Component#getMarkupId()... Ryan Holmes wrote: I think a simple and predictable markup id generation scheme

Re: [RFE] getMarkupId()

2007-09-26 Thread Alex Objelean
to an HTML ID with a period in it, then that's a JQuery bug since it is a valid ID. On Sep 25, 2007, at 12:40 AM, Alex Objelean wrote: It's not a jquery bug at all. The '.' character is interpreted as a css class. So, the $(#quantity.noOfUnits1232) translates in element with ID

Re: Can a component determine it's surrounding HTML elements?

2007-09-28 Thread Alex Objelean
I don't think that there is a wicket way to do something like this, but you can achieve the same behavior using javascript. Alex. Oliver Lieven wrote: Hi, I wonder if there's a way for a component to determine if it is embedded inside some specific HTML tag, e.g. determine if it is

[RFE] Nested wicket:enclosure

2007-10-09 Thread Alex Objelean
Currently, wicket does not support nested wicket:enclosure tags. It would be very useful. What do you think? Thank you! Alex. -- View this message in context: http://www.nabble.com/-RFE--Nested-wicket%3Aenclosure-tf4593044.html#a13112204 Sent from the Wicket - User mailing list archive at

Question about rendering of the ModalWindow content

2007-10-09 Thread Alex Objelean
I've noticed that the content of the ModalWindow is being rendered even when the ModalWindow itself is not shown. I wonder if it is correct behavior. Any thoughts? Alex. -- View this message in context:

[RFE] wicket:enclosure - Modifying visibility of all child components

2007-10-10 Thread Alex Objelean
/wicket:enclosure In this case, I would expect that if the child1 is not visible, also child2 would not be visible. Unfortunately the actual behavior exactly opposite: child1 is not visible, while child2 is visible. Alex Objelean wrote: Currently, wicket does not support nested wicket:enclosure tags

Re: Session Objects Approach

2007-10-10 Thread Alex Objelean
Take a look on LoadableDetachableModel.. Ayodeji Aladejebi wrote: Basically there is an object like this, a common model class User{ Long id; String username; String password; String fullname; ... List collections; } From most examples and basic approach, i see references

Re: Refresh fields from model

2007-10-12 Thread Alex Objelean
http://cwiki.apache.org/WICKET/dropdownchoice-examples.html#DropDownChoiceExamples-UsingAjax Here is an example from wiki. Rich Livingstone wrote: I'm just not sure how to do this - for example, I have a drop down choice and when it changes, I need to populate other fields. I had

1.3-beta4 development mode

2007-10-15 Thread Alex Objelean
I've noticed that when working in development mode with beta4, changing the markup is not visible when browser page is refreshed (in beta3 was ok) - thus a restart is needed. Are there any ModificationWatcher changes in latest beta release? Thank you! Alex. -- View this message in context:

Re: 1.3-beta4 development mode

2007-10-17 Thread Alex Objelean
too have beta4 installed. And have not problems when refreshing html. At certain times there can be problems with the java classes, which I belive are known(there are some limitations on the hotspot vm I belive that causes this). This is using it with tomcat 5. Alex Objelean wrote: I've

[RFE] Transitive dependencies changes in parent/pom.xml

2007-10-17 Thread Alex Objelean
In parent/pom.xml there is a dependency on spring-2.0. I most of the projects, it is a best practice to not use the entire spring as a dependency, but to use modular dependencies (eg: spring-core, spring-web, etc). For instance, now you depend on spring-2.0 and the project we are building is

Re: is anybody using Wicket 1.3 and SiteMesh together?

2007-10-17 Thread Alex Objelean
Why would you use SiteMesh, when wicket has such a nice templating? Sean Sullivan-3 wrote: Is anybody using Wicket 1.3 and SiteMesh together? http://www.opensymphony.com/sitemesh Sean - To unsubscribe, e-mail:

Re: how to change format in DateTimeField?

2007-10-18 Thread Alex Objelean
You mean DateTextField (instead of DateTimeField). It has also this constructor: DateTextField(String id, IModel model, String datePattern) where datePattern can be: mm/DD/. Alex raybristol wrote: there is a good example about use DateTextfield in :

Re: how to change format in DateTimeField?

2007-10-18 Thread Alex Objelean
, because I need no only the date but the time as well. Many thanks Ray Alex Objelean wrote: You mean DateTextField (instead of DateTimeField). It has also this constructor: DateTextField(String id, IModel model, String datePattern) where datePattern can be: dd/MM/. Alex

Re: WicketTester: how to mock off EJB's

2007-11-16 Thread Alex Objelean
In order to avoid ClassCastException, when constructing a new instance of WicketTester, initialize it with your MainApplication: WicketTester tester = new WicketTester(new MainApplication()); Andy Barlow [Deftex] wrote: I have an application which used Session EJB's to deliver data to

Re: Wicket and CoC

2008-11-27 Thread Alex Objelean
Using AutoComponentResolver, you can add a feedback panel like this: wicket:component class=org.apache.wicket.markup.html.panel.FeedbackPanel/ Ricardo Mayerhofer wrote: I started to use wicket some time ago, and I'm really enjoying it. Best framework ever. But I've some suggestions. I

Re: Wicket Session grows too big real fast

2008-12-02 Thread Alex Objelean
LDM is a LoadableDetachableModel Flavius wrote: Martijn Dashorst wrote: With Wicket 1.3 only one page should be stored in session. You should check if you don't keep references between pages - that would result in 1+N pages (with N being the number of pages you reference in your

Re: TabbedPanel customization ?

2009-01-04 Thread Alex Objelean
Use CSS for styling customization. Piotr Jakubowski wrote: Hi, Is it possible to tell TabbedPanel where to put its inner elements and override the default action? I would like to have the tab content in some other place than it is usually. And I am thinking whether it is possible

ResourceLink question

2009-01-08 Thread Alex Objelean
Is there any reason why ResourceLink class in wicket 1.4 is a generic class, since the parameter T isn't used at all? -- View this message in context: http://www.nabble.com/ResourceLink-question-tp21359819p21359819.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: problem with dropdownchoice

2009-01-20 Thread Alex Objelean
Wicket expects that FormInput would have a getter for devices. This happens because you are using CompoundPropertyModel with your formthus the wicket id is automatically used as a propertyModel on the form model object. Alex Objelean itayke wrote: Hi, I have this problem with my

Load content while scrolling

2009-02-18 Thread Alex Objelean
There is an interesting article about some fancy ajax stuff. Here is the article: http://www.webresourcesdepot.com/load-content-while-scrolling-with-jquery/ I am curious about how this could be done the wicket way. I hope, we'll end up with an interesting thread :)... -- View this message in

Re: Have a feature, want to contribute

2009-03-08 Thread Alex Objelean
I think community would be interested in this feature. Could you post the code? Marat Radchenko-2 wrote: Wicket pages/components can be either stateful or stateless. Wicket manages hem transparently and it is very easy to write any complex page you want. Stateful pages are much more

Re: Have a feature, want to contribute

2009-03-13 Thread Alex Objelean
Marat, as you can see people are interested and waiting for this feature to be published somewhere Alex Marat Radchenko-2 wrote: Wicket pages/components can be either stateful or stateless. Wicket manages hem transparently and it is very easy to write any complex page you want.

Client-side models for zero-state scalability

2009-03-24 Thread Alex Objelean
After reviewing the Wicket feature list, I accidentally noticed the following statement: The next version of Wicket will support client-side models for zero-state scalability. I am wondering if this feature will be indeed implemented in (which?) next version or this is just some feature which

Re: Client-side models for zero-state scalability

2009-03-24 Thread Alex Objelean
. But there is no timeline for it. -Matej On Tue, Mar 24, 2009 at 11:47 AM, Alex Objelean alex_objel...@yahoo.com wrote: After reviewing the Wicket feature list, I accidentally noticed the following statement: The next version of Wicket will support client-side models for zero-state

This time last year .... is Wicket really a disappointment?

2008-07-23 Thread Alex Objelean
I've recently found this post on dzone: http://java.dzone.com/news/this-time-last-year This time last year ... What is your oppinion about this? -- View this message in context: http://www.nabble.com/%22This-time-last-year%22--is-Wicket-really-a-disappointment--tp18608440p18608440.html

Re: This time last year .... is Wicket really a disappointment?

2008-07-23 Thread Alex Objelean
prefer JSF. Big players preffer the standard framework, it is still their strong point. Maybe it is all about marketing? pixologe wrote: no not at all. it's great. Alex Objelean wrote: I've recently found this post on dzone: http://java.dzone.com/news/this-time-last-year This time

Re: This time last year .... is Wicket really a disappointment?

2008-07-23 Thread Alex Objelean
marketability related statistics and is not so popular between developers. Alex Objelean wrote: For the last 7 months I was working on a project using JSF (Icefaces). It indeed have nice features, but still it does not compare at all with Wicket (easy of componet development, flexibility, testability

Re: Guidelines in Wicket

2008-07-31 Thread Alex Objelean
There is Wicket in Action, Pro Wicket, http://cwiki.apache.org/WICKET/newuserguide.html wiki page and other resources... You can use any of them for your guideline. freak182 wrote: My superior ask me to submit a Guidelines in Wicket. He assign it to me because I trained the new employee

Re: Pages or components... how do u decide?

2008-10-17 Thread Alex Objelean
I also like the approach of pushing every functionality in separate components (Panels), it gives me the flexibility of composing pages with any combination of this components. For instance, if I have Login functionality, I create the LoginPanel and LoginPage. This approach allows me to add other

Re: Handling runtime exceptions in ajax request

2008-11-02 Thread Alex Objelean
I'm interested in this subject too. Anyone? Daniel Stoch-2 wrote: Hi, In Wicket by default IRequestCycleProcessor.respond(RuntimeException, RequestCycle) method is called to handle runtime exceptions. In AbstractRequestCycleProcessor this method throws RestartResponseException (or

Re: Handling exceptions during render

2008-11-03 Thread Alex Objelean
There are more threads about this issue... In order to catch all runtime exception, you have to override default RequestCycle (newRequestCycle method) in your application class and override private Page handleRuntimeException(final Page page, final RuntimeException e) method. Alex Objelean

Re: Handling exceptions during render

2008-11-03 Thread Alex Objelean
Sorry for mistake... I've updated the comment aditsu wrote: Thanks, but I can't find any handleRuntimeException method in any class. I'm using wicket 1.4-m3. Also, if the method is private, then how can I possibly override it? Alex Objelean wrote: There are more threads about

Re: Handling exceptions during render

2008-11-03 Thread Alex Objelean
something return new LoginPage(); } [/CODE] The above example will redirect you to the LoginPage if any runtime exception occures. aditsu wrote: Ok, but how would that let me render the rest of the page? Alex Objelean wrote: There are more threads about this issue

Re: Handling exceptions during render

2008-11-03 Thread Alex Objelean
runtime exception could make sense if the runtime exception is thrown by some business logic you are invoking inside wicket components but this kind of issue is your responsibility.. Alex Objelean aditsu wrote: Well, I'm specifically talking about unexpected runtime exceptions. I don't

Re: attribute modifier on onclick

2008-11-04 Thread Alex Objelean
You probably want to use AjaxLink and when the link is clicked - add to the target the link itself, in order to see the change. miro wrote: upon debugging i foundthe constructor MyLink() was getting called afteronClick() so any changes I make in onClick to components behaviour

Re: Internal error parsing wicket:interface = :6

2009-08-19 Thread Alex Objelean
If they would bookmark these url, they would get SessionExpired page... I'm pretty sure they have tried to hack the url. Alex Objelean Thomas Singer-4 wrote: Thanks, Alex. So you are sure this is no problem of our web application, but rather users who change such URLs manually or have

Re: exclude wicket:panel

2009-09-30 Thread Alex Objelean
In your Application class add the following line: getMarkupSettings().setStripWicketTags(true); Martin Letendre wrote: Don't display the wicket:panel tag 1- I am using a wicket panel to create a component here is the code. wicket:panel div ... some code /div

Re: InvalidUrlException - how to show 404 page

2009-10-02 Thread Alex Objelean
Or you can update the settings in your Application class: getApplicationSettings().setInternalErrorPage(HomePage.class); Alex Objelean Thomas Singer-4 wrote: As I have reported a couple of weeks ago (but can't find the message any more for a follow-up), Wicket shows an ugly internal-error

Re: urls with localization

2009-10-02 Thread Alex Objelean
I've created a draft version of the page in wiki: http://cwiki.apache.org/confluence/display/WICKET/Wicket+and+localized+URLs http://cwiki.apache.org/confluence/display/WICKET/Wicket+and+localized+URLs Now it will not expire ;). Alex Objelean Vytautas C(ivilis wrote: Hi, Alex. Could

Re: InvalidUrlException - how to show 404 page

2009-10-02 Thread Alex Objelean
404 page.. Alex Objelean Thomas Singer-4 wrote: Hi Linda, Alex and Jonas, Thank you for your answers. Just for the records: I'm now setting the internal error page in WebApplication.init() as Alex suggested and override WebApplication.newRequestCycle(Request, Response) to return

Re: urls with localization

2009-10-05 Thread Alex Objelean
It is indeed a simple decorator of the Request object... nothing special.. Alex Objelean Vytautas C(ivilis wrote: Question regarding your code in wiki page: RequestDecorator, this seems to be class in your package? Could it be posted too? Regards, Vytautas Alex Objelean wrote

Re: urlFor(ResourceReference) strangeness

2009-10-28 Thread Alex Objelean
) is called... and wicket doesn't remove the parameters from the url and mess this up... The real problem is when you are trying to build an absolute url for a ResourceReference. If this is indeed the reason of the problem, we should raise a jira issue... Alex Objelean pieter claassen-2 wrote: Ok

Re: images not cached

2009-10-28 Thread Alex Objelean
You could add a shared resource to your application, like this: Application.get().getSharedResources().add(name, WebResource)... in the WebResource implementation you can control the response headers by adding expire headers or etag.. This is pretty clean approach. Alex Objelean Fernando

Re: urlFor(ResourceReference) strangeness

2009-10-28 Thread Alex Objelean
the mounted pages, the problem went away). Rgds, Pieter On Wed, Oct 28, 2009 at 7:31 AM, Alex Objelean alex_objel...@yahoo.comwrote: I am pretty sure, it is a bug. The reason why the urlFor(ResourceReference) is not working properly is because you are using

Re: Bookmarkable images from db

2009-11-01 Thread Alex Objelean
Besides the servlet, there is also a wicket way of do it: - Use shared resource, which is stateless and bookmarkable If you need more informations about this approach, search on forum or just ask... and I'll provide you with some examples of how I do it.. Alex Objelean Peter Dotchev wrote

Re: Bookmarkable images from db

2009-11-02 Thread Alex Objelean
you to use directly an Image component, while the second allows you to build the url of any resource by name.. Alex Objelean Peter Dotchev wrote: Hi Alex, I check SharedResources, but as I understand it I would have to add there a Resource object for each image. After checking again

Re: Posting A Form To NonWicket

2009-11-21 Thread Alex Objelean
You can use HttpClient for this. Alex Objelean chocba wrote: Thanks Igor. I'll give it a try. But the api doc says redirectrequesttarget will only redirect to an external url, but I would like to post the form, not just redirect. igor.vaynberg wrote: class myform extends form

Re: [RFE] AjaxLazyLoadPanel callback script rendering

2009-11-25 Thread Alex Objelean
? :) Regards, Alex Objelean Pedro H. O. dos Santos wrote: Hi Alex, don't you got the same impression than I, that it isn't an lazy load panel? Looks more like an triggered load panel. I have a few in my projects, and I using an strategy like have an page implementing IAjaxIndicatorAware

Re: SessionListeners and Wicket?

2009-11-25 Thread Alex Objelean
I've done something similar. Using the SessionListener seems to be the only one way to do the trick (only here you can access the session which is still valid). And of course you can access your wicket strongly type session from SessionListener: MySession.get().getUser(). Alex Objelean

Re: InvalidUrlException considered evil?

2009-12-04 Thread Alex Objelean
That is why this Exception was created... you can override requestCycle handle this kind of exception whatever you like ... Alex Objelean Marat Radchenko-2 wrote: There some places in Wicket sources where it throws InvalidUrlException that causes exception logging and InternalErrorPage

  1   2   3   >