How to implement session validation?

2009-10-08 Thread Haulyn R. Jason
Hi, I read some articles to find how to use session validation to protect my application. When the Admin Login, some pages are protected by session with attribute admin_id, and when the common user login, some other pages are protected by cookie with attribute user_id. I do not want to add code to

wicketstuff-push question

2009-10-08 Thread Daniel Dominik Holúbek
hello everybody, has anyone here any experience with wicketstuff-push? i am trying to use it in my app, but it behaves somewhat strangely. when i call cometdService.publish(event) method from form's onSubmit method, it works like a charm. but when i call it from another method - for example

Re: artwork mootip conflict

2009-10-08 Thread nino martinez wael
Hi Vinnet Interesting, could you provide a quickstart project that shows this behaviour.. It's a lot easier for me to help.. Otherwise I might not have the time to do so. regards Nino 2009/10/7 vineet semwal vineetsemwal1...@gmail.com I can't say what exactly is causing problem but when i am

Re: artwork mootip conflict

2009-10-08 Thread Stefan Jozsa
Had similar issue when used artwork and jgrowl in the same time. Workaround: I removed Javascript (reference) inclusion in JGrowlFeedbackPanel, that is: @Override public void renderHead(final IHeaderResponse response) { /* response.renderJavascriptReference(new

Unexpected RuntimeException in Google Chrome and some Firefox versions

2009-10-08 Thread Magnus Haraldsen Amundsen
Hi, http://kurs.sublima.computas.com:8180/wicketdemo/ http://kurs.sublima.computas.com:8180/wicketdemo/ works fine in Firefox 3.5.3 and Internet Explorer 8, but not in Chrome 3, and some other Firefox versions. There I get the following exception, see http://pastebin.com/m356db366 What

Re: WARN [org.apache.wicket.protocol.http.WebResponse] - redirect to ?wicket:interface=:5:::: failed: null

2009-10-08 Thread Eyal Golan
Jeremy, That's the problem. I didn't have an exception. It's a warning in a catch clause in WebResponse. I copied the stack trace when I stopped in a break point in that location. I will do what you suggest and look the 'close' method. Thanks Eyal Golan egola...@gmail.com Visit:

Re: artwork mootip conflict

2009-10-08 Thread nino martinez wael
I've created a wiki here http://wicketstuff.org/confluence/display/STUFFWIKI/WicketStuff+Artwork so we can accumulate information like this. 2009/10/8 Stefan Jozsa stefan_...@yahoo.com Had similar issue when used artwork and jgrowl in the same time. Workaround: I removed Javascript (reference)

Re: Feedback messages, input and label

2009-10-08 Thread Swanthe Lindgren
Well, if you combine putting inputPwd=Password in your property file and putting label for=pwdwicket:message key=inputPwdthis text here will be replaced by your propertyfile value/wicket:message/label in you markup, I thing you'll get what you'r looking for. //Swanthe Tomás Rossi wrote:

RE: Unexpected RuntimeException in Google Chrome and some Firefox versions

2009-10-08 Thread Magnus Haraldsen Amundsen
Found the error. Someone had forgot to add a default language properties file ;) -Original Message- From: Magnus Haraldsen Amundsen [mailto:magnus.haraldsen.amund...@computas.com] Sent: 8. oktober 2009 10:07 To: users@wicket.apache.org Subject: Unexpected RuntimeException in Google

Re: Scala, dependency injection and wicket

2009-10-08 Thread Haim Ashkenazi
Hi jan, On Oct 8, 2009, at 6:47 AM, Jan Kriesten wrote: Hi Haim, Yes, I remember seeing that. How would you add it to wicket? by adding ServiceInjector trait to the Application class or using the wicket- guice way (addComponentInstantiationListener(new GuiceComponentInjector(this));)?

Re: How to implement session validation?

2009-10-08 Thread Adrian Merrall
Haulyn, The wicket in action book has all the explanations and code you need for this. Dealing with cookies is an implementation detail that wicket and the servlet container take care of for you. From your perspective, all you need to worry about is whether the session is authenticated or not,

Re: I want to volunteer for web app devt

2009-10-08 Thread Steve Olara
Hello Wicketers,   I have just completed my MSc and during the study been learning how to dedvelop enterprise application using Wicket, Spring and Hibernate. I want to futher my skill in web application development.   I am currently based in Birmingham UK and would want to volunteer and work

Re: I want to volunteer for web app devt

2009-10-08 Thread jWeekend
Stephen, Are you one of Alan's OCaml disciples? Drop me a line [1] and we can have a chat. Regards - Cemal jWeekend OO Java Technologies, Wicket Training and Development http://jWeekend.com [1] http://jweekend.com/dev/ContactUs Steve Olara wrote: Hello Wicketers,   I have just

Re: Showing Modal window within a wizard step

2009-10-08 Thread Pedro Santos
Hi Jeffrey, the wiki example refers to an chooserPanel, that is not the case of your editorPanel. Simple use the same model on step 1 on your Modal window. On Wed, Oct 7, 2009 at 5:19 PM, Jeffrey Schneller jeffrey.schnel...@envisa.com wrote: I am trying to show a modal window within a wizard

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-08 Thread danisevsky
Hello, I was trying generate Wicket - Spring - JPA project and I get following error: C:\projects\testmvn archetype:generate -B -DarchetypeCatalog= http://legup.googl ecode.com/svn/repo/archetype-catalog.xml-DarchetypeArtifactId=wicket-spring-jpa -archetype -DarchetypeGroupId=com.jweekend

wicketstuff-progressbar and Wicket 1.4.1 problem

2009-10-08 Thread zabian
Hi there, I'm working on progress bar in my app, i'm trying to use wicketstuff-progressbar project and get: java.lang.NoSuchMethodError: org.wicketstuff.progressbar.ProgressBar.add(Lorg/apache/wicket/behavior/IBehavior;)Lorg/apache/wicket/Component; at

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-08 Thread richardwilko
hi, The error is saying that maven cannot find the archetype catalog file, please make sure you can access this file in a web browser [1], and ensure that you do not have any line breaks in your maven command (not sure if it is just how the command appears on nabble but it looks like there is a

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-08 Thread danisevsky
I can access this file in web browser and it seems that there is no break line. I will try it later in linux. thank you 2009/10/8 richardwilko richardjohnwilkin...@gmail.com hi, The error is saying that maven cannot find the archetype catalog file, please make sure you can access this

Re: wicketstuff-progressbar and Wicket 1.4.1 problem

2009-10-08 Thread Pedro Santos
This project is using wicket 1.3 If there are no problem, wicket stuff devs can update the project dependencies. It is just update pom + refactoring or need to create an branch in svn? 2009/10/8 zabian zabia...@gmail.com Hi there, I'm working on progress bar in my app, i'm trying to use

Re: artwork mootip conflict

2009-10-08 Thread vineet semwal
Stefan, thank you, your fix works but if the required js files are not added the plugin will not work as good as it should :( Nino, thank you for creating the wiki ;) i am attaching the example project for the issue which shows a page where stefan's fix is used and other page where it's not used

RE: Showing Modal window within a wizard step

2009-10-08 Thread Jeffrey Schneller
Ok. How do I use the same model? The model I have on step 1 if I pass it into the modal window I get no data in the model. This was my original thought on how to do it but something isn't right. And yes I know the wiki example refers to a chooserPanel and in my case it is an editorPanel. I

Re: artwork mootip conflict

2009-10-08 Thread Stefan Jozsa
Yes, you right, if jquery.js not added then no artwork, no jwicket, no jgrowl. But, at that time I knew that artwork/jwicket included jquery.js, so the JS was available even if I removed inclusion from jgrowl. Anyway, I don't know the way such kind of isue(s) can be avoided transparenly (that

Re: Showing Modal window within a wizard step

2009-10-08 Thread Michael O'Cleirigh
Hi Jeffrey, Due to the way pages are serialized models don't work right is shared between pages. There are two kinds of modal windows and one of them is a page that is rendered on your page through an IFRAME. If the model data is not appearing its because you are using the page type. You

Re: artwork mootip conflict

2009-10-08 Thread vineet semwal
In the case of mootip ,mootools.v1.11.js is causing conflict .. but your fix works ;) -- regards, Vineet Semwal On Thu, Oct 8, 2009 at 8:13 PM, Stefan Jozsa stefan_...@yahoo.com wrote: Yes, you right, if jquery.js not added then no artwork, no jwicket, no jgrowl. But, at that time I knew

RestartResponseAtInterceptPageException causing odd problem with IE

2009-10-08 Thread Wayne Pope
Hi, something we've run across with users using IE - basically if they try and access a page they do not have RENDER permission a UnauthorizedActionException gets thrown. This in turn (when I set through wicket 1.4-rc6) throws a RestartResponseAtInterceptPageException with a AccessDeniedPage that

RE: Showing Modal window within a wizard step

2009-10-08 Thread Jeffrey Schneller
I am using the modal window with a panel which sits inside a wizard. Here is my code because I am out of ideas and need a solution. The dropdown with the onchange is working and is updating the first name with the value from the selected object in the dropdown. The Popup is not getting the same

scroll position

2009-10-08 Thread Douglas Ferguson
I have a DataView that I add to the ajax target on a timer, so that data can be refreshed as loaded by a background process. If the user is view the data and scrolls down, the scroll bar is reset to the top when the timer refreshes the view. The only solution I can come up with is to set

Re: Showing Modal window within a wizard step

2009-10-08 Thread Pedro Santos
I had an similar problem time ago. In my case a solve adding an submit bottom on bottom of the panel, that closes the modal window too. You have to chose a way to mantain your html form components on modal window in sync to they model on server. You can add on AjaxFormComponentUpdatingBehavior on

Re: Showing Modal window within a wizard step

2009-10-08 Thread Pedro Santos
Ops, the modal window object on browser is created on 'document.body' level. Maybe you want to create an form to your ModifyPeoplePanel form components. On Thu, Oct 8, 2009 at 1:38 PM, Pedro Santos pedros...@gmail.com wrote: I had an similar problem time ago. In my case a solve adding an submit

ListView for only one element. Something wrong.

2009-10-08 Thread Nicolas Melendez
Hi, i want to use a ListView to use the onpopulate method so when the panel refresh i can see the new data.But the listView has always one element and i think it was made for lots of elements. Something is wrong in the way i am thinking. Any suggestion? NM

RE: Showing Modal window within a wizard step

2009-10-08 Thread Jeffrey Schneller
We are using wicket to have clean html void of jsp tags. Because they cause maintenance problems as the sites evolve over time. Wicket was suggested as a possible solution for this. Which it is but the lack of decent documentation/examples of real world issues is getting to be an issue.

Re: Exceptions and Ajax Events

2009-10-08 Thread Nicolas Melendez
Any clues or suggestions on this issue.Thinks. NM On Thu, Oct 1, 2009 at 11:22 PM, Esteban Masoero emaso...@getsense.com.arwrote: Hi: We found out we need something else. Is there a way we can access to the component asociated to the listener that was processing the event? (of course it

Re: ListView for only one element. Something wrong.

2009-10-08 Thread Sven Meier
Hi Nicolas, you can just use a WebMarkupContainer and recreate its children on each request in #onBeforeRender(). But the question is: why do you need to refresh your components at all? It seems you don't use models correctly. Show us some code. Sven Nicolas Melendez wrote: Hi, i want to

Re: [Migrating to Wicket 1.4.1] Problem submitting FormTester

2009-10-08 Thread yomarbi
Any ideas?. We have the same problem trying to migrate to Wicket 1.4.2! yomarbi wrote: Hi, I've been having problems migrating Wicket 1.4-RC4 to 1.4.1. Some of our wicket-tests are failing and producing errors due to a form submission issue. For example: .java: public class Prueba

Re: ListView for only one element. Something wrong.

2009-10-08 Thread Nicolas Melendez
Hi: Sven, thanks for replying! I've added some code below. -- class MyPage: private List businessObjectList; private MyPanel myPanel; list is populated somehow myPanel = new MyPanel(businessObjectList); this.add(myPanel); ... on

self-recursive panel

2009-10-08 Thread Ceki Gulcu
Hello, I just succeeded to create a self-recursive panel displaying a tree-like structure with less than 40 lines of java code and 10 lines of HTML. I am including the code here in case someone is interested. == public class Node implements

what is the proper way to handle success message within a feedback panel

2009-10-08 Thread Joe Hudson
Hello, It seems that the only levels of feedback message are: -DEBUG -ERROR -FATAL -INFO -UNDEFINED -WARNING I'm just wondering what the best practice is for success messages are. Thanks. Regards, Joe

Re: Leg Up for Wicket, Spring, Guice, JPA, Warp, EclipseLink, Hibernate ... projects

2009-10-08 Thread jWeekend
Danisevsky, This has been used by loads of people and on all sorts of OSs and versions. I also just successfully tried it on XP, Vista Ubuntu in case you had come across something that has been missed. Paste what you copy from Leg Up into a text editor to see what's causing that exception on

Re: what is the proper way to handle success message within a feedback panel

2009-10-08 Thread Jeremy Thomerson
Info? -- Jeremy Thomerson http://www.wickettraining.com On Thu, Oct 8, 2009 at 2:42 PM, Joe Hudson joe.hud...@clear2pay.com wrote: Hello, It seems that the only levels of feedback message are: -DEBUG -ERROR -FATAL -INFO -UNDEFINED -WARNING I'm just

Re: Showing Modal window within a wizard step

2009-10-08 Thread Pedro Santos
I disagree, at the moment a got this trouble, few minutes was necessary to I understand what was happening... any way: https://issues.apache.org/jira/browse/WICKET-2515 On Thu, Oct 8, 2009 at 2:32 PM, Jeffrey Schneller jeffrey.schnel...@envisa.com wrote: We are using wicket to have clean html

Re: self-recursive panel

2009-10-08 Thread Eelco Hillenius
Yeah, that's like Wicket's nested example in wicket-examples. Eelco On Thu, Oct 8, 2009 at 12:27 PM, Ceki Gulcu c...@qos.ch wrote: Hello, I just succeeded to create a self-recursive panel displaying a tree-like structure with less than 40 lines of java code and 10 lines of HTML. I am

Re: self-recursive panel

2009-10-08 Thread Ceki Gulcu
I was not aware of the nested example in wicket-examples. Unfortunately, http://www.wicket-library.com/wicket-examples/nested/ barfs when I try to access it. Eelco Hillenius wrote: Yeah, that's like Wicket's nested example in wicket-examples. Eelco On Thu, Oct 8, 2009 at 12:27 PM, Ceki

RE: Showing Modal window within a wizard step

2009-10-08 Thread Jeffrey Schneller
I am completely lost. I have no idea what this means. How can the resolution to my problem be a JIRA issue that was created earlier today? To find out how to do something who would think to look in the issue tracking system which contains bugs and enhancement requests. Anyhow, I resolved my

Re: wicketstuff-push question

2009-10-08 Thread Rodolfo Hansen
Can you prepare an example? There are a few things I have to iron out in that code... I recently published a couple of changes to On Thu, Oct 8, 2009 at 2:39 AM, Daniel Dominik Holúbek dankodo...@gmail.com wrote: hello everybody, has anyone here any experience with wicketstuff-push? i am

Re: self-recursive panel

2009-10-08 Thread Eelco Hillenius
I was not aware of the nested example in wicket-examples. Unfortunately, http://www.wicket-library.com/wicket-examples/nested/ barfs when I try to access it. Hmmm, don't know what's going on there. But you can check out the source and look at it if you're interested. You won't learn much from

Re: self-recursive panel

2009-10-08 Thread Ryan Gravener
http://wicketstuff.org/wicket13/nested/ Ryan Gravener http://bit.ly/no_word_docs On Thu, Oct 8, 2009 at 5:44 PM, Eelco Hillenius eelco.hillen...@gmail.com wrote: I was not aware of the nested example in wicket-examples. Unfortunately, http://www.wicket-library.com/wicket-examples/nested/

Re: self-recursive panel

2009-10-08 Thread Eelco Hillenius
http://wicketstuff.org/wicket13/nested/ Ryan Gravener http://bit.ly/no_word_docs Oh, right. Or http://wicketstuff.org/wicket14/nested/ (and notice the fancy toolbar in the upper right corner). Eelco - To unsubscribe,

hide pagination

2009-10-08 Thread tubin gen
I am using dataview which comes with pagination , if the total records are less than records per page is there away I can hide pagination bar ?

TinyMCE Spellcheck

2009-10-08 Thread Dane Laverty
I've added TinyMCE to my application, but I can't get the spellchecker to work. When I click the button, I get a JavaScript alert that says, Please specify: spellchecker_rpc_url. I checked it out in the example application, but I get the same error there. I've installed the Jazzy spell checker,

Re: Showing Modal window within a wizard step

2009-10-08 Thread Jeremy Thomerson
Jeff, Sorry I have not had time to read the entire post and that you have not found better documentation on this issue. However, your problem on this is almost certainly caused by the LoadableDetachableModel that is backing your CompoundPropertyModel in your wizard. Since a wizard is a

Re: hide pagination

2009-10-08 Thread Douglas Ferguson
I override the onRender and set visibility conditionally. However, you have to remember to set visible in your page redraws or else wicket won't even bother calling the onRender method If you need, I can send you code. On Oct 8, 2009, at 7:18 PM, tubin gen wrote: I am using dataview which

Re: ListView for only one element. Something wrong.

2009-10-08 Thread Sven Meier
Hi Nicolas, use more models: -- class MyPage: private IModelList businessObjects; private MyPanel myPanel; myPanel = new MyPanel(businessObjects); this.add(myPanel); -