Re: Wicket-Seam Integration

2007-11-22 Thread Frank Martínez
Hi guys, I posted more documentation about the wicket-seam example project: http://www.ibstaff.net/fmartinez/?p=43 -- Frank D. Martínez M. Asimov Technologies Ltda. Blog: http://www.ibstaff.net/fmartinez/ - To unsubscribe,

Re: Wicket-Seam Integration

2007-11-22 Thread Eelco Hillenius
On Nov 22, 2007 12:33 AM, Frank Martínez [EMAIL PROTECTED] wrote: Hi guys, I posted more documentation about the wicket-seam example project: http://www.ibstaff.net/fmartinez/?p=43 Cheers Frank. Say, just out of curiosity, what are your reasons for not sticking with proxies like the

Re: disabled AjaxEditableMultiLineLabel

2007-11-22 Thread Francis De Brabandere
This is the code (wicket 1.3 rc1) add(new AjaxEditableMultiLineLabel(Comment, new PropertyModel(experiment, experimentDetailStat.Comment)){ /* @Override protected void onEdit(AjaxRequestTarget target) { if(isEnabled()){

Re: Wicket-Seam Integration

2007-11-22 Thread Frank Martínez
Hi Eelco, On Nov 22, 2007 3:37 AM, Eelco Hillenius [EMAIL PROTECTED] wrote: On Nov 22, 2007 12:33 AM, Frank Martínez [EMAIL PROTECTED] wrote: Hi guys, I posted more documentation about the wicket-seam example project: http://www.ibstaff.net/fmartinez/?p=43 Cheers Frank. Say, just out

How to instanciate panels best?

2007-11-22 Thread Icy
Dear Wicket Team, First of all, let me say that Wicket is the best thing in Java Web development today! It really brings Java back to be a first choice when creating Web applications. Thanks for your development efforts :) I have a question regarding the instanciation of panels of which I have

Conversion Error Messages

2007-11-22 Thread carloc
Hi Guys, I would like to ask help on something. I have a text box which accepts the field which is supposed to be a double. everytime that a user enters a field that isn't a double the error message 'Field is not a valid double' appears. However I want it to display a different error message

Re: Conversion Error Messages

2007-11-22 Thread Martijn Dashorst
From Wicket in Action, chapter 7: A failed conversion will be registered as a validation error using the resource key (for the feedback message) 'IConverter' and 'IConverter.typename' (substitute the type name with the conversion type, such as Long or ZipCode). Martijn On Nov 22, 2007 10:18

Re: Convert String to desired class object

2007-11-22 Thread tsuresh
Sorry for asking the wrong question, I found the error. The error was some where else. I asked the question in hurry. Any way, I got to know the models and dropdownchoice better. This is the first time I am developing the application in wicket.Thanks to all of you who helped me. thanks tsuresh

Re: Quite a few Wicket jobs/employers.

2007-11-22 Thread Nino Saturnino Martinez Vazquez Wael
Great page! And good pointers. Jonathan Locke wrote: things seem to have been building for a while. i've been in touch with some pretty big companies this year and more every week it seems. i now have a http://web.mac.com/jonathan.locke/iWeb/JonathanLocke/Wicket.html Wicket propaganda page

PageSavingThread keeps running after undeploy

2007-11-22 Thread Francis De Brabandere
Hi all, We are deploying our wicket application to Glassfish (V2). After undeploying and deploying a few times the PageSavingThread's of each deploy keeps running. Any ideas why this might be happening? Thanks in advance, Francis -- http://www.somatik.be Microsoft gives you windows, Linux

Re: Conversion Error Messages

2007-11-22 Thread carloc
Thanks it worked. Martijn Dashorst wrote: From Wicket in Action, chapter 7: A failed conversion will be registered as a validation error using the resource key (for the feedback message) 'IConverter' and 'IConverter.typename' (substitute the type name with the conversion type, such as

Trigger client machine program

2007-11-22 Thread raybristol
Hi, I need to trigger a program which installed on client machine when use press a button from a web page, I wonder what's the best way to do it? Any links? Many thanks, Ray -- View this message in context: http://www.nabble.com/Trigger-client-machine-program-tf4855543.html#a13894375 Sent

AuthenticatedWebSession

2007-11-22 Thread Alexander Landsnes Keül
Hi, In setting up the logon of our application, I'd like to use the AuthenticatedWebSession to hold some additional information. There shouldn't be a problem with that I assume, however I'm getting a problem with this. It seems the session isn't created until the user encounters an

Jasypt + ICrypt + ICryptFactory

2007-11-22 Thread Daniel Fernández Garrido
Hello everyone, I am about to release a new version (1.4) of Jasypt [http://www.jasypt.org], and I am considering the addition of some wicket integration features for improving wicket's encryption capabilities. But I would first need to ask a couple of things :-)... First, what I will do (have

Re: AjaxSelfUpdatingTimerBehavior and AbstractAjaxTimerBehavior no longer able to be added via Ajax

2007-11-22 Thread Matej Knopp
Hi, there is no easy workaround I'm affraid. It's a bug that needs to be fixed. I've reopened the issue. -Matej On Nov 22, 2007 2:10 AM, Matt Clark [EMAIL PROTECTED] wrote: Hi all, I posted an update to a ticket tonight (https://issues.apache.org/jira/browse/WICKET-745), which points out

Re: PageSavingThread keeps running after undeploy

2007-11-22 Thread Matej Knopp
Please create a jira entry, it's a bug probably. -Matej On Nov 22, 2007 11:17 AM, Francis De Brabandere [EMAIL PROTECTED] wrote: Hi all, We are deploying our wicket application to Glassfish (V2). After undeploying and deploying a few times the PageSavingThread's of each deploy keeps

Re: Beyond Wicket:Firefox and Gmail Users (Any Browser Crash Noticed Lately)

2007-11-22 Thread Ayodeji Aladejebi
i dont have firebug install as well and it keeps me from wicket forum...its a nasty bug and have switched temporarily to IE7. But i dont know who to blaim...Gmail or Firefox? On Nov 21, 2007 12:34 PM, Francis De Brabandere [EMAIL PROTECTED] wrote: I have the same problem, is that firebug an

Re: How to instanciate panels best?

2007-11-22 Thread Al Maw
Icy wrote: *** What is the best practise to not instanciate page aggregating panels all the time? *** This isn't really a Wicket question. Your page is slow because doing database/remote operations is slow. It has nothing to do with creating Panels, but everything to do with the database

Re: How to instanciate panels best?

2007-11-22 Thread Icy
Al Maw-2 wrote: Icy wrote: *** What is the best practise to not instanciate page aggregating panels all the time? *** This isn't really a Wicket question. Your page is slow because doing database/remote operations is slow. It has nothing to do with creating Panels, but everything

Re: Beyond Wicket:Firefox and Gmail Users (Any Browser Crash Noticed Lately)

2007-11-22 Thread Francis De Brabandere
on my side crashing is just hanging without using 100% cpu, seems I have firefox 2.0.0.8 on ubuntu 7.10 On 11/22/07, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: i dont have firebug install as well and it keeps me from wicket forum...its a nasty bug and have switched temporarily to IE7. But i

Re: how to generate a javascript function

2007-11-22 Thread Alex Objelean
Why would you need to use AjaxLink component? Just put your script in the markup and it will do exactly what you expect it to do. Alex. lodhur wrote: Hi Wicket-Users, I'm a new in wicket and I am stuck. Currently I create an AjaxLink in my Page as follows: Index.java: ---

Re: PageSavingThread keeps running after undeploy

2007-11-22 Thread Francis De Brabandere
Deploying the phonbook example application does not cause this PageSavingThread to be started, is there some other application I can try to reproduce this problem? Francis On 11/22/07, Matej Knopp [EMAIL PROTECTED] wrote: Please create a jira entry, it's a bug probably. -Matej On Nov 22,

Re: how to generate a javascript function

2007-11-22 Thread lodhur
Wicket generates the link as follows: # info page And if I put the onclick-content to my javascript function sometime it works and sometime I get an error. The reason for this is probably that Wicket increases the value of the wicket:interface It starts at 0 (...('?wicket:interface=:0:...) and

Re: how to generate a javascript function

2007-11-22 Thread Alex Objelean
Correct me if I understand you correct: you want beside wicket call, to execute also your script? lodhur wrote: Wicket generates the link as follows: ... id=showAboutWindow26 onclick=var wcall=wicketAjaxGet('?wicket:interface=:2:showAboutWindow::IBehaviorListener:0:',null,null,

Re: how to generate a javascript function

2007-11-22 Thread Alex Objelean
You can do the following: override the getAjaxCallDecorator() method of AjaxLink component. lodhur wrote: Wicket generates the link as follows: ... id=showAboutWindow26 onclick=var wcall=wicketAjaxGet('?wicket:interface=:2:showAboutWindow::IBehaviorListener:0:',null,null, function()

Re: how to generate a javascript function

2007-11-22 Thread lodhur
That what I need is a javascript function which contains the correct call of my window (similar to the onlick-content of the wicket generated link). Thanks, Heiko Alex Objelean wrote: Correct me if I understand you correct: you want beside wicket call, to execute also your script?

Re: Beyond Wicket:Firefox and Gmail Users (Any Browser Crash Noticed Lately)

2007-11-22 Thread Frank Bille
On Nov 22, 2007 1:39 PM, Francis De Brabandere [EMAIL PROTECTED] wrote: on my side crashing is just hanging without using 100% cpu, seems I have firefox 2.0.0.8 on ubuntu 7.10 What do you do to get that? I have the same config and I don't have problems (so far). Frank

Re: Wicket Stuff JQuery + Wicket Ajax

2007-11-22 Thread Dipu Seminlal
Hi all, Please ignore this mail, i found the reason why it was not working. just calling target.appendJavascript(dnd.getJSFunctionName4Start() + ();); will do the trick. I had an idea its about calling nd.getJSFunctionName4Start(), but i tried it in a wrong way, instead of appending i tried using

Re: how to generate a javascript function

2007-11-22 Thread Al Maw
lodhur wrote: That what I need is a javascript function which contains the correct call of my window (similar to the onlick-content of the wicket generated link). You /really/ need to learn how to work things out for yourself. Allow me to lead you through such a process. So, you want

Getting started

2007-11-22 Thread Gervais
Hy all, I'm new in the famous wicket world ! I need to start learning Wicket but i can't found docs that explain more than just doing a HelloWrold or a GuestBook. In fact i need to use Wicket with Spring but for that i first need to understand and play with wicket. So i have many questions.

Re: Beyond Wicket:Firefox and Gmail Users (Any Browser Crash Noticed Lately)

2007-11-22 Thread Francis De Brabandere
On 11/22/07, Frank Bille [EMAIL PROTECTED] wrote: On Nov 22, 2007 1:39 PM, Francis De Brabandere [EMAIL PROTECTED] wrote: on my side crashing is just hanging without using 100% cpu, seems I have firefox 2.0.0.8 on ubuntu 7.10 What do you do to get that? I have the same config and I don't

Re: Getting started

2007-11-22 Thread Dipu Seminlal
We don't do imports, we extends ! checkout markup inheritance http://cwiki.apache.org/WICKET/markup-inheritance.html regards dipu On Nov 22, 2007 2:48 PM, Gervais [EMAIL PROTECTED] wrote: Hy all, I'm new in the famous wicket world ! I need to start learning Wicket but i can't found docs

Re: Wicket-Seam Integration

2007-11-22 Thread jweekend
Frank, Since this is the mailing-list for all things, technical and non-technical, related to Wicket, from *a Wicket application developers perspective* what are the main benefits of introducing the complexity of Seam to a project in terms of development/maintenance/extensibility/support etc

Re: Getting started

2007-11-22 Thread Gervais
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ NOD32 2678 (20071122) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com

Re: Getting started

2007-11-22 Thread Dipu Seminlal
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ NOD32 2678 (20071122) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com

Re: Getting started

2007-11-22 Thread Gervais
- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ NOD32 2678 (20071122) Information __ This message was checked by NOD32 antivirus system. http

Markup variants on component level

2007-11-22 Thread Niels van Kampenhout
Hello Wicketeers, I read about markup variants on the wiki [1]. I need this, however I need it on component level rather than page level. Is this possible? In the most extreme case I would like to have different instances of the same component on one page, but each with their own markup

Re: Getting started

2007-11-22 Thread Dipu Seminlal
: [EMAIL PROTECTED] __ NOD32 2678 (20071122) Information __ This message was checked by NOD32 antivirus system. http://www.eset.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Ajax File Download with Form Process and Result Refresh

2007-11-22 Thread Maurice Marrink
A regular form and an ajaxbutton should get you a long way. Assuming you have a feedbackpanel on your page. The onSubmit of your button should do something like: onSubmit(AjaxRequestTarget target) { //do calculation target.addComponent(getForm()); //somehow create and or upload pdf }

Re: How to instanciate panels best?

2007-11-22 Thread Icy
Al Maw-2 wrote: Icy wrote: *** What is the best practise to not instanciate page aggregating panels all the time? *** This isn't really a Wicket question. Your page is slow because doing database/remote operations is slow. It has nothing to do with creating Panels, but everything

Re: How to instanciate panels best?

2007-11-22 Thread Icy
Hello all, I try to explain my question using sourcecode ;) Imagine: MyTemplate.java public abstract class MyTemplate extends WebPage { public MyTemplate() { add(new MyPanel(myPanel)); } } MyTemplate.html body wicket:child/ /body MyPage.java (html is trivial, using

Re: Trigger client machine program

2007-11-22 Thread Matej Knopp
What you want to do is probably not possible, unless you create an applet with will run with proper security manager settings (thus requiring proper certificate, etc.). Generally, anything that runs in browser can not really touch user's computer, as it would be a high security risk. -Matej On

Re: Quite a few Wicket jobs/employers.

2007-11-22 Thread Jonathan Locke
thanks. fixed. Mr Mean wrote: Nice page. I did notice one mistake though. The link to Topicus points to topicus.com but it should be http://www.topicus.nl/ Maurice On Nov 22, 2007 1:48 AM, Jonathan Locke [EMAIL PROTECTED] wrote: things seem to have been building for a while.

Re: How to instanciate panels best?

2007-11-22 Thread Jonathan Locke
session and application scope components are not supported in wicket up to 1.3 (they will not work). this idea is really a request for more static components, like this discussion of static pages: http://www.nabble.com/Serving-Static-Pages-with-Wicket-tf3572749.html#a9995177 i'm not sure

Rendering strategies question

2007-11-22 Thread Stefan Simik
Hello Wicketeers, I prepare report about rendering strategies (for studying community in our company) and conceptually I understand all the things, but I have one question, that I cannot answer. The default rendering strategy is RENDER_TO_BUFFER, because it solves both problems of two previous

Tracking InlineFrame status

2007-11-22 Thread Federico Fanton
Hi everyone! I'm looking for a hint please :) I have a Wicket page with an InlineFrame pointing to another Wicket page on the same servlet.. In the inner one I have a button that calls setResponsePage, thus changing the inner page.. Is there a way for the outer page to gain access to the new

Re: How to instanciate panels best?

2007-11-22 Thread Jonathan Locke
actually one way to solve this that would not involve changing wicket's session model would be to do what that thread suggested in terms of caching: /** * @return Duration between renders of this page or null to always render * */ protected Duration getRenderInterval() { return

Downloading Files Aproaches

2007-11-22 Thread Francisco Diaz Trepat - gmail
Hi could someone guide me a bit on where can I find information on ways to Download Files. Specially AJAX ways. Sorry to be so insistent (3rd mail) on the subject but I found it to be difficult to research. Thanks, f(t)

Re: How to instanciate panels best?

2007-11-22 Thread Jonathan Locke
of course, this only caches the rendering of a component within a session. and it would only work for components with a fixed path. i'm not sure what it would mean to cache the results of a component globally. with a fair amount of magic, you might be able to create a CachingPanel component

Re: How to instanciate panels best?

2007-11-22 Thread Eelco Hillenius
MyPanel.java public class MyPanel extends Panel { public MyPanel() { // THIS PANEL IS RECONSTRUCTED ON EACH MyPage REQUEST // BECAUSE MyPageTemplate DOES A new MyPanel... } } What could I do to use the old panel again? Like Al hinted, you should not try to use the old panel

Re: Wicket-Seam Integration

2007-11-22 Thread Eelco Hillenius
Thanks for explaining. A few questions... Why i do not use proxies: 1. Seam injected Ejbs and JNDI resources are already proxies, so i don't want a proxy of the proxy of the proxy .. 2. Because proxies are not outjection frendly in this case. Pardon me for maybe not getting it, but I

Re: Rendering strategies question

2007-11-22 Thread Martijn Dashorst
Wicket will redirect all event listeners so you don't get double clicks as well. For instance a link to edit some item takes you to an edit page. If you do a onepass render, the event listener will be called each time the user refreshes the edit page. This means that the edit page is created each

Re: Rendering strategies question

2007-11-22 Thread Eelco Hillenius
On Nov 22, 2007 11:46 AM, Martijn Dashorst [EMAIL PROTECTED] wrote: Wicket will redirect all event listeners so you don't get double clicks as well. Of course, GET requests *should* be idempotent, in which case we would never need this pattern. However, in practice, with whatever framework

Re: Wicket-Seam Integration

2007-11-22 Thread Frank Martínez
Hi Eelco, On Nov 22, 2007 2:44 PM, Eelco Hillenius [EMAIL PROTECTED] wrote: Thanks for explaining. A few questions... Why i do not use proxies: 1. Seam injected Ejbs and JNDI resources are already proxies, so i don't want a proxy of the proxy of the proxy .. 2. Because proxies

Re: Regression in 1.3.0-beta3(?)

2007-11-22 Thread Johannes Schneider
I have the same problem with 1.3.0-rc1... I have tried to create a minimal example, but did not work... The problem occurres within this project: http://cedarsoft.org/wicket/yaml-integration/index.html Regards, Johannes Schneider Igor Vaynberg wrote: have you tried it with trunk? -igor

Re: Wicket-Seam Integration

2007-11-22 Thread Eelco Hillenius
Remember that there are many stateful contexts in Seam, not only the session or request, but also Business process context and conversation context which has no equivalent in other frameworks. Oujection is the possibility to export references from a component to one of the stateful contexts.

Re: disabled AjaxEditableMultiLineLabel

2007-11-22 Thread Gerolf Seitz
i found the problem: what i mentioned before with onBeforeRender didn't make it into rc1. sorry for messing that up. but now there are two checks for enabled/disabled. i actually prefer the one with dis-/enabling the label in onBeforeRender, because this way the onClick attribute doesn't even get

Re: RepeatingView and AJAX

2007-11-22 Thread Michael Laccetti
Timo Rantalaiho wrote: Make sure that there are no validation errors. Also you could search this list on Nabble looking for repeaters in forms or something such, because I think that there's something tricky to it. It might have to do with the fact that repeater items are typically

Re: Regression in 1.3.0-beta3(?)

2007-11-22 Thread Johan Compagner
please make a jira issue for this On Nov 22, 2007 9:49 PM, Johannes Schneider [EMAIL PROTECTED] wrote: I have the same problem with 1.3.0-rc1... I have tried to create a minimal example, but did not work... The problem occurres within this project:

Re: Getting started

2007-11-22 Thread Gwyn Evans
On 22/11/2007, Gervais [EMAIL PROTECTED] wrote: I'm new in the famous wicket world ! I need to start learning Wicket but i can't found docs that explain more than just doing a HelloWrold or a GuestBook. http://wicket.apache.org/examples.html http://www.wicketstuff.org/wicket13/compref/

Re: Rendering strategies question

2007-11-22 Thread Stefan Simik
mhmm, now I got it... In other frameworks and also in Wicket it's common to use GET request for doing some action on the server ( for example Link#onClick(...) ), so it's generally useful concept. I didn't see it from this point of view before. Thank you both boys :) Stefan Simik -- View this

validation with disabled parent

2007-11-22 Thread Stephane Bailliez
Hi gang, Am I correct in thinking that having a parent component isEnabled() to false does not prevent the children validation (1.3.0-rc1 for that matter) ? I see in Form public Object formComponent(IFormVisitorParticipant component) { if (component instanceof FormComponent) {

Re: Rendering strategies question

2007-11-22 Thread Eelco Hillenius
mhmm, now I got it... In other frameworks and also in Wicket it's common to use GET request for doing some action on the server ( for example Link#onClick(...) ), so it's generally useful concept. I didn't see it from this point of view before. Yeah. Like I said, officially GET requests

Re: validation with disabled parent

2007-11-22 Thread Stephane Bailliez
Stephane Bailliez wrote: Hi gang, Am I correct in thinking that having a parent component isEnabled() to false does not prevent the children validation (1.3.0-rc1 for that matter) ? ah... I see that http://www.nabble.com/isEnabledInHierarchy--tf4798745.html is discussing a very much

Re: Wicket-Seam Integration

2007-11-22 Thread jweekend
Frank, This is precisely the type of information I was looking for, thank you. It may also give a few Wicket users more reason to have a play. My initial thoughts are in line with yours; this will probably be a bigger help to Seam users - who can now choose between Wicket's excellent and easy

Re: Quite a few Wicket jobs/employers.

2007-11-22 Thread jweekend
... I think there's a bit more substance to it than that as, iirc, many of the ads were talking about experience with component based frameworks, Swing etc ... ie they're interested in people who are more likely to be familiar with some of the underlying concepts and who will enjoy using Wicket,

Re: AuthenticatedWebSession

2007-11-22 Thread Timo Rantalaiho
On Thu, 22 Nov 2007, Alexander Landsnes Keül wrote: It seems the session isn't created until the user encounters an @AuthorizeInstantiation(...), but there are parts of the page which doesn't require authentication and thus no session for me to use. Is there a better strategy for containing

Re: Markup variants on component level

2007-11-22 Thread Igor Vaynberg
variants and styles work on component level...pages inherit that functionality from components -igor On Nov 22, 2007 7:40 AM, Niels van Kampenhout [EMAIL PROTECTED] wrote: Hello Wicketeers, I read about markup variants on the wiki [1]. I need this, however I need it on component level rather

Re: Downloading Files Aproaches

2007-11-22 Thread Igor Vaynberg
DownloadLink ? -igor On Nov 22, 2007 11:30 AM, Francisco Diaz Trepat - gmail [EMAIL PROTECTED] wrote: Hi could someone guide me a bit on where can I find information on ways to Download Files. Specially AJAX ways. Sorry to be so insistent (3rd mail) on the subject but I found it to be