Re: WicketForge - Wicket Plugin for IDEA

2009-01-14 Thread Serge!
Hi everyone, I just wanted to notice that I made a fix for WicketForge 0.4.0 to work under IDEA 8. It took a while, but features like Class/Markup switching and autocomplete are working now. If anyone is interested, I could send a patch or if you open access to Google Code I can commit it

User permissions

2009-01-14 Thread itayh
Hi, I would like to create different users that will have different permissions. For example if I have a page with several buttons, some users will just see that page while others will be able to push the buttons. I read the Wicket-Security at Wicket Stuff site:

Re: User permissions

2009-01-14 Thread Dipu
I think wicket-auth-roles will help you sort this out take a look at MetaDataRoleAuthorizationStrategy.authorize method regards dipu On Wed, Jan 14, 2009 at 9:19 AM, itayh itay.hi...@attractv.net wrote: Hi, I would like to create different users that will have different permissions. For

Advice on payment options with wicket

2009-01-14 Thread Mathias P.W Nilsson
Hi, I have developed an application with wicket that has been around for about a year. A user can have serveral options for payment - Visa, MasterCard, Post parcel, invoice( several diffrent ) and some banks. My problem is that if the user choose visa, mastercard then a form should be filled

POST too large

2009-01-14 Thread Piller Sébastien
Hi everybody, I'm not sure if wicket has anything to do to the following issue, but I'll try anyway. I'm POSTing some large data to a wicket page (yes, there is several MB of data in the post). When it is too big, I can see the following stacktrace in my logs:

how to let my class being checked for class instantiation?setStrategyFactory

2009-01-14 Thread wch2001
Dear all, from http://wicketstuff.org/confluence/display/STUFFWIKI/Swarm+FAQ#SwarmFAQ-q4, the 2 Why is my component (not) being checked for class instantiation? I have 3 classes(Aaa.class, Bbb.class, Ccc.class), extends from Panel, I need it to be checked for class instantiation. According

Re: Advice on payment options with wicket

2009-01-14 Thread Martin Makundi
What is the problem? I.e., why do you feel it can not be a simple page? ** Martin 2009/1/14 Mathias P.W Nilsson math...@snyltarna.se: Hi, I have developed an application with wicket that has been around for about a year. A user can have serveral options for payment - Visa, MasterCard, Post

Re: POST too large

2009-01-14 Thread Dipu
will this be of any help http://stackoverflow.com/questions/123335/what-causes-java-lang-illegalstateexception-post-too-large-in-tomcat-modjk regards dipu On Wed, Jan 14, 2009 at 10:04 AM, Piller Sébastien pi...@hmcrecord.ch wrote: Hi everybody, I'm not sure if wicket has anything to do to

Help: Graphic link in PagingNavigator

2009-01-14 Thread freak182
Hello, The clients wants the and should be graphic. Is there a way to do this? Thanks a lot. Cheers. -- View this message in context: http://www.nabble.com/Help%3A-Graphic-link-in-PagingNavigator-tp21453859p21453859.html Sent from the Wicket - User mailing list archive at Nabble.com.

Re: Help: Graphic link in PagingNavigator

2009-01-14 Thread Dipu
extend the PagingNavigator and provide your own markup with the graphics you want. regards dipu On Wed, Jan 14, 2009 at 11:04 AM, freak182 eman.noll...@gmail.com wrote: Hello, The clients wants the and should be graphic. Is there a way to do this? Thanks a lot. Cheers. -- View this

Re: WicketForge 0.5.0 Available for IDEA 8

2009-01-14 Thread Maarten Bosteels
Hello, I tried to download http://www.systemmobile.com/code/WicketForge-0.5.0.jar but it's an empty file (zero bytes) Thanks, Maarten On Wed, Jan 14, 2009 at 6:42 AM, Nick Heudecker nheudec...@gmail.comwrote: I'm looking for some people to test WicketForge 0.5.0 with IDEA 8. As far as I can

Re: POST too large

2009-01-14 Thread Dipu
sorry, pass dipu On Wed, Jan 14, 2009 at 10:17 AM, Piller Sébastien pi...@hmcrecord.ch wrote: Hi, thank you for your response. I'm well aware that increasing the post limit size may do the trick, but this looks like a hack. What to do when something else occurs, ie whatever

Re: Help: Graphic link in PagingNavigator

2009-01-14 Thread Piller Sébastien
Overriding the protected method PagingNavigator#newPagingNavigationIncrementLink(String id, IPageable pageable, int increment) should do the trick, too. Dipu a écrit : extend the PagingNavigator and provide your own markup with the graphics you want. regards dipu On Wed, Jan 14, 2009 at

Re: POST too large

2009-01-14 Thread Piller Sébastien
Hi, thank you for your response. I'm well aware that increasing the post limit size may do the trick, but this looks like a hack. What to do when something else occurs, ie whatever IllegalStateException may be thrown at this part of code? I guess the best solution will be to change the

Phonebook Missing

2009-01-14 Thread Kevin Logue
Hi I'm currently implementing a checkgroup within a datatable. After checking nabble, this has been done within the Wicket Stuff phonebook example but try as I might I can't find a recent copy of it on the SVN repository. Has it been removed or am I running dangerously low on caffeine.

Where to process PageParameters

2009-01-14 Thread Jonas505
Hello, I would like to know, where in my WebPage class PageParameters should be processed. I have a page A where you can fill in certain parameters (or select a predefined set of parameters). Then you submit those parameters which are given to the business logic to prepare some data. The

Re: POST too large

2009-01-14 Thread Serkan Camurcuoglu
So what exactly happens in this case, your code is not called at all and the current page is redisplayed as is? Anyway if this exception is caught and ignored within wicket code it should be a jira issue, but it may be tomcat who is ignoring the exception as well.. the stack trace gives you

Re: Phonebook Missing

2009-01-14 Thread Martin Funk
look into wicketstuff-core https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/ mf 2009/1/14 Kevin Logue ke...@viableoptions.ie Hi I'm currently implementing a checkgroup within a datatable. After checking nabble, this has been done within the Wicket Stuff

Re: POST too large

2009-01-14 Thread Piller Sébastien
Hi, in fact, that page hasn't any html representation. It processes the POST and then return an xml response (RequestCycle#setRequestTarget). In the case of a post too big, I don't know exactly what is returned (I hadn't have a look yet), but I will do this evening when going back home.

Re: anyone can give me some suggestion?thanks

2009-01-14 Thread Thorsten Scherler
El mar, 13-01-2009 a las 17:52 -0800, wch2001 escribió: anyone can give me some suggestion?thanks Yeah, 1) use a subject that is searchable - reflecting the problem you have and not something general like the one you have chosen here. 2) No top posting! Please do not add your answer to the

Re: Technologies to use with large scale Wicket application

2009-01-14 Thread dtoffe
I like this a lot, is very flexible and powerful, but it still doesn't support 1.4 and AFAIK the priority for the developer is in developing WWB 2.0. Anyway I guess patching WWB 1.0 for 1.4 should be far simpler that rolling your own. Besides this, there is Wicket RAD:

Re: Phonebook Missing

2009-01-14 Thread Kevin Logue
- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org __ Information from ESET NOD32 Antivirus, version of virus signature database 3764 (20090114

Re: Where to process PageParameters

2009-01-14 Thread Jonas Hoepfner
Thank you for the quick reply. It's already working fine, I was just wondering if it is best practice to call business logik from the constructor: public PageB(PageParameters p) { // can throw an exception: DataSet result = callMyBusinessLogik(p.getString(param1), p.getString(param2));

Re: Where to process PageParameters

2009-01-14 Thread Martijn Dashorst
setResponsePage(PageB.class, parameters); or use a bookmarkablepagelink Martijn On Wed, Jan 14, 2009 at 1:06 PM, Jonas505 jonas.hoepf...@iteratec.de wrote: Hello, I would like to know, where in my WebPage class PageParameters should be processed. I have a page A where you can fill in

Re: LayoutManager in Wicket

2009-01-14 Thread alexander.elsholz
hi jon, i didnt have the expectation to generate the frontend-pages based on a java-pojo component and bind it directly to a jpa-session. i just look for a way to use layout-templates - so i don't have to code the same html-code for every webpage. i want to create a form-based approach. i will

Re: LayoutManager in Wicket

2009-01-14 Thread Jonathan Locke
yes, but it would still be a similar approach. wow is not public yet, but you could be a reviewer of my book if you want (when i'm ready, which may be a few weeks to months). alexander.elsholz wrote: hi jon, i didnt have the expectation to generate the frontend-pages based on a

Re: LayoutManager in Wicket

2009-01-14 Thread alexander.elsholz
yes, i'm happy to agree to review your book. Jonathan Locke wrote: yes, but it would still be a similar approach. wow is not public yet, but you could be a reviewer of my book if you want (when i'm ready, which may be a few weeks to months). alexander.elsholz wrote: hi jon, i

Re: WicketForge 0.5.0 Available for IDEA 8

2009-01-14 Thread Don Hass
Ditto. That's just teasing Nick! Maarten Bosteels wrote: Hello, I tried to download http://www.systemmobile.com/code/WicketForge-0.5.0.jar but it's an empty file (zero bytes) Thanks, Maarten On Wed, Jan 14, 2009 at 6:42 AM, Nick Heudecker nheudec...@gmail.comwrote: I'm

ModalWindow with DatePicker

2009-01-14 Thread wilson meier
Hy everyone, can someone give me an example on how to use ModalWindow with DatePicker component? Greets Wilson

Very Simple Security

2009-01-14 Thread Dane Laverty
I'm currently using Swarm to secure my web application, but I think it provides a lot more functionality than I really need. Would simply checking for a User object the session on each page load work as well, or am I overlooking some major security hole? This way, when the user logs in

Re: WicketForge 0.5.0 Available for IDEA 8

2009-01-14 Thread Nick Heudecker
That's what I get for trying to rush things. You can download it from here: http://www.systemmobile.com/code/WicketForge-0.5.0.zip And rename the zip to a jar. I'll update the instructions page next. On Wed, Jan 14, 2009 at 7:40 AM, Don Hass donh...@gmail.com wrote: Ditto. That's just

Re: Very Simple Security

2009-01-14 Thread Martijn Dashorst
You could use wicket-auth-roles. Can't think of anything more simpler: it provides two roles: user and admin. You can secure your pages and components with annotations. I like it, but be warned: it is simple and intended to stay that way. If you need something more complex or different, use it as

Re: Advice on payment options with wicket

2009-01-14 Thread Mathias P.W Nilsson
The main problem is the external form. I need to send the form to an external server. Since I need wicket to check the form first I need a wicket form and then a plain html form. The form is submitted when all the data is checked. Since there is 10 different forms the webpage get's cluttered. Is

Re: Advice on payment options with wicket

2009-01-14 Thread Martin Makundi
Why don't you send the query parameters from wicket to the payment server using QueryStringUrlCodingStrategy ? ** Martin 2009/1/14 Mathias P.W Nilsson math...@snyltarna.se: The main problem is the external form. I need to send the form to an external server. Since I need wicket to check the

Re: Advice on payment options with wicket

2009-01-14 Thread Scott Swank
Have you considered HttpClient? http://hc.apache.org/httpclient-3.x/ Scott On Wed, Jan 14, 2009 at 8:44 AM, Mathias P.W Nilsson math...@snyltarna.se wrote: The main problem is the external form. I need to send the form to an external server. Since I need wicket to check the form first I

Seam/JSF vs Wicket: performance comparison

2009-01-14 Thread Martijn Dashorst
Peter Thomas wrote a nice article comparing the performance of Seam/JSF and Wicket. You can vote for the article at dzone: http://www.dzone.com/links/seamjsf_vs_wicket_performance_comparison.html Or read the article directly:

Re: Where to process PageParameters

2009-01-14 Thread behrica
Hello, I do something similar in a page constructor, even with accessing the service layer. I have the same concerns, if this is correct. In general I do not like if a constructor does any significant (eventually time consuming) work like database access or other. But I did not find an other

Re: Advice on payment options with wicket

2009-01-14 Thread Steve Swinsburg
Submit the form as normal in Wicket, validate, etc, then craft a request to the external form and send your data that way. cheers, Steve On 14 Jan 2009, at 16:44, Mathias P.W Nilsson wrote: The main problem is the external form. I need to send the form to an external server. Since

IllegalstateException with Hybrid strategy

2009-01-14 Thread Mathias P.W Nilsson
I get this error a lot java.lang.IllegalStateException: URL fragment has unmatched key/value pair: id/3 9258/sort/refilled/favicon The favicon must be requested by some user or spider. Anyone know how to get around this? -- View this message in context:

Re: Advice on payment options with wicket

2009-01-14 Thread Mathias P.W Nilsson
This is what I'm doing ( via an javascript call from wicket ajax after the form is validated). Problem is that the model must be emptied when the form is submitted ( cart, order ) and then the page get's rerendered. It's all fussy. 10 forms in the same page. Must be a smarter solution. -- View

Re: Seam/JSF vs Wicket: performance comparison

2009-01-14 Thread Nino Martinez
Wild, I did'nt think there was that much of a difference between wicket and the seam/jsf stack.. Again wicket stands out as the winner :) Martijn Dashorst wrote: Peter Thomas wrote a nice article comparing the performance of Seam/JSF and Wicket. You can vote for the article at dzone:

Re: I also have the question

2009-01-14 Thread UPBrandon
For a while, we were using a solution that allowed us to download generated PDF's but it only seemed to work in IE and some people had trouble using it from outside connections. What I wanted was a way to access dynamic/generated content that: - Doesn't cause Wicket to be come non-responsive

RE: ModalWindow with DatePicker

2009-01-14 Thread Stefan Lindner
What's the problem? Which wicket version? We use the date picker in Wicket 1.4 trunk inside modal windows and it works fine. Stefan -Ursprüngliche Nachricht- Von: wilson meier [mailto:wilson.me...@googlemail.com] Gesendet: Mittwoch, 14. Januar 2009 16:47 An: users@wicket.apache.org

Re: PrototipBehaviour problems

2009-01-14 Thread rjohara
you need to have a scriptaculous dependency in your project's pom.xml Thanks for the response. I'm having trouble adding the dependency to my pom.xml. Below is my pom.xml dependency definition: dependency groupIdorg.wicketstuff/groupId

Re: Technologies to use with large scale Wicket application

2009-01-14 Thread Jeremy Thomerson
A few comments from my experience: Wicket - well, of course. Are there other options? :) Spring / Hibernate - I have used these on every project I've done in the past four or five years and have been very satisfied with them. Lucene - Awesome! I have been extremely impressed with Lucene. It

Re: Where to process PageParameters

2009-01-14 Thread Jeremy Thomerson
Yes - typically it is a good idea to do things like service-layer / database access inside the model or inside onBeforeRender / isVisible, etc, rather than doing your business logic and calling setVisible(), etc. One of the main reasons for this is that if you don't, your page won't work properly

Re: Seam/JSF vs Wicket: performance comparison

2009-01-14 Thread Martin Voigt
We did a similar test, and the result where much the same: one use case, two implementations (jsf/ seam vs wicket). Both apps where running inside JBoss and used the same persistence/ service layer. We only did performance tests (no memory analysis), first wicket was faster by a margin of 7-10,

Re: Advice on payment options with wicket

2009-01-14 Thread Martin Makundi
Honestly, I simply cannot grasp the problem. Our site works like this: 1. User fills form. 2. User submits form to Wicket site. 3. Wicket site analyzes the submitted form and constructs a PageParameters map. 4. Wicket site redirects the user to a payment processing server using the

Re: Technologies to use with large scale Wicket application

2009-01-14 Thread francisco treacy
Wicket - well, of course. Are there other options? :) there are other options wy behind :) Spring / Hibernate - I have used these on every project I've done in the past four or five years and have been very satisfied with them. i personally think hibernate is... the least worse

Re: Technologies to use with large scale Wicket application

2009-01-14 Thread Tauren Mills
Thanks for the responses to my OT message, Daniel -- Thanks for your comments and the link to Wicket RAD. I'll check it out. I didn't realize WWB doesn't yet support 1.4 and I definitely am building this with 1.4. Jeremy -- It's good to hear that you also recommend these technologies. I'm

Re: URL fragment has unmatched key/value pairs

2009-01-14 Thread francisco treacy
thanks uwe. i suppose then it's a safely ignorable warning - the client on the other end must receive a real 404. unfortunately, i also see some instances of this with urls, i don´t think were generated by guessing: i'm pretty sure in my case... they're all words related to the admin account,

Re: Wicket stuff core, archetypes?

2009-01-14 Thread francisco treacy
here it is: http://code.google.com/p/wickethub/ (source code for the http://wickethub.org/ webapp) a small piece of code (with not even unit tests so far) but hopefully the way to start addressing our ideas: http://www.nabble.com/idea:-automatic-component-repo-to17979177.html

Re: Wicket stuff core, archetypes?

2009-01-14 Thread Jonathan Locke
yeah, you really do need a maven expert's help i think. i was chatting with someone about this and they said something to the effect of: oh, god no don't crawl the maven repo. you'll get banned. so there's some more official way of doing this apparently. francisco treacy-2 wrote: here it

Re: FormComponent cookie persistent issue

2009-01-14 Thread Murat Yücel
I have just tried to deploy the application on a tomcat server. There are no difference. :( 2009/1/11 Murat Yücel kodeperke...@gmail.com Hi Serkan I havent tried with Tomcat. Will try it and get back to you. /Murat 2009/1/8 Serkan Camurcuoglu serkan.camurcuo...@telenity.com Murat have

Re: Back button + dataview problem

2009-01-14 Thread quizzical
Right, sorry its been a while, I had some horrible issues getting tomcat working properly but I've managed to deploy the project on Tomcat. My logging setup isn't working perfectly but I'm seeing the same issues with the back button and a few NotSerializableException lines in tomcat.log. The

Re: Back button + dataview problem

2009-01-14 Thread Jeremy Thomerson
Don't send the code for your DAO, send the code where you declare the DAO as a property of a model or component. Also - do you anywhere in that component manually assign the DAO by accident? For example: MyComponent extends WebMarkupContainer { @Inject private CategoryDAO mCategoryDao; } On

Re: Component with id [[feedback]] a was not found while trying to perform markup update. Make sure you called component.setOutputMarkupId(true) on the component whose markup you are trying to update.

2009-01-14 Thread Timo Rantalaiho
On Mon, 08 Dec 2008, James Carman wrote: I believe you also have to make sure you call setOutputMarkupId(true) so that you make sure wicket spits out the markup id (so that it can select it as part of the Ajax update). setOutputMarkupPlaceholderTag(true) already does that (see its

wicket-datetime DateField generates 2 textfields problem

2009-01-14 Thread Phillip Rhodes
This is my first full day with wicket, so please bear with me. I am trying to use the DateField to manage a java.util.Date. My problem is that the datafield outputs an extra textfield in my form. The picker does work and does set the date value for the 2nd textarea, but there is still

Re: wicket-datetime DateField generates 2 textfields problem

2009-01-14 Thread Igor Vaynberg
datefield should be attached to a span or a wicket:container tag rather then an input tag. so span wicket:id=datefield/span -igor On Wed, Jan 14, 2009 at 8:46 PM, Phillip Rhodes spamsu...@rhoderunner.com wrote: This is my first full day with wicket, so please bear with me. I am trying to use

Re: Wicket tree

2009-01-14 Thread PSkarthic
I have a new problem in inserting/adding nodes dynamically to tree. When i inserted/added a node on click, the plus icon appears but it is not expanded, that is it is not showing the child node i have tried tree.update but not worked. My Code protected void