Ajax enabled radiogroup

2008-01-14 Thread Martijn Lindhout
Hi all I'm lost. I've tried all kinds of combinations to get the following working, but I either received exceptions or nothing happened. So back to what I want: I have a form with a question, which possible answers are 'yes' or 'no'. I want to use a radio choice for it. Depending on what the

Re: PagingNavigator refactoring request

2008-01-14 Thread behlma
Not such a good idea, huh? :) behlma wrote: Hi guys, would it be possible to change PagingNavigator's constructor from public PagingNavigator(final String id, final IPageable pageable, final IPagingLabelProvider labelProvider) {

java.lang.OutOfMemoryError: PermGen space in tree table example

2008-01-14 Thread Arseny
I`ve got: *type* Exception report *message* *description* _The server encountered an internal error () that prevented it from fulfilling this request._ *exception* javax.servlet.ServletException: Filter execution threw an exception *root cause* java.lang.OutOfMemoryError: PermGen space

Using Forms

2008-01-14 Thread j.bokobza
Hello I'm new with wicket and I'm looking for samples of basics forms. I didn't find how to retrieve datas (variables) sent by a wicket form with method setResponsePage. Can anyone help me ? Thanks. - To unsubscribe, e-mail:

Re: Using Forms

2008-01-14 Thread wicket user
Hi, Take a look at the FormInput example in wicket example projects. Wicket examples have everything to get you started. Regards Dipu On Jan 14, 2008 8:58 AM, j.bokobza [EMAIL PROTECTED] wrote: Hello I'm new with wicket and I'm looking for samples of basics forms. I didn't find how to

Need XML pages in iso-8859-1 encoding ipv utf-8

2008-01-14 Thread Tom Desmet
Hi, I have a problem with XML page incodings. We use wicket for applications on our cisco ip phones. The firmware http client on these phones does not understand utf-8 xml. So we need to provide iso-8859-1 encoded xml responses so that the output is rendered correctly. We tried setting the

Re: Need XML pages in iso-8859-1 encoding ipv utf-8

2008-01-14 Thread Jan Kriesten
hi tom, Wicket reads this page, and re-encodes it as UTF-8. So the output is no longer displayed correctly on our phones. Is there some possibility to have the output rendered as ISO-8859-1 ? on intializing your application try setting getMarkupSettings().setDefaultMarkupEncoding(

Wicket Training Courses - London Q1 Schedule

2008-01-14 Thread jweekend
Upcoming London Wicket training courses, with http://herebebeasties.com/ Al Maw , our principal Wicket instructor, have been rescheduled as requested by students coming from as close as just down the road in London to as far as Kuala Lumpur! There are places available on all these courses - the

Re: the flow of wicket

2008-01-14 Thread Fabio Fioretti
On Jan 14, 2008 1:35 AM, Eelco Hillenius [EMAIL PROTECTED] wrote: Documenting Wicket's inner implementations and strategies, beyond its API, is desirable and a huge plus for hardcore developers. i wouldnt think hardcore developers would be afraid of setting a breakpoint and walking the

Re: the flow of wicket

2008-01-14 Thread Fabio Fioretti
On Jan 14, 2008 1:00 AM, Igor Vaynberg [EMAIL PROTECTED] wrote: easy to say when its not you who has to put in the huge effort :) I'm just a humble junior developer. :) Regards, Fabio Fioretti - WindoM - To unsubscribe,

Re: Need XML pages in iso-8859-1 encoding ipv utf-8

2008-01-14 Thread Edvin Syse
I have a problem with XML page incodings. We use wicket for applications on our cisco ip phones. The firmware http client on these phones does not understand utf-8 xml. So we need to provide iso-8859-1 encoded xml responses so that the output is rendered correctly. We tried setting the correct

Re: How do you do this in wicket?

2008-01-14 Thread Anders Peterson
Anders Peterson wrote: Is that the problem: Do I have to call this.setResponsePage(LoginPage.class); after super.onClick(); ? Yes, that was it. Thanks Martijn and Maurice! /Anders - To unsubscribe, e-mail: [EMAIL

Shout more about security advantages of Wicket?

2008-01-14 Thread Sam Hough
It has only just struck me how much more secure Wicket is out of the box than struts, spring, GWT etc. The features list doesn't really seem to drive this point home... Maybe add really clear example like: Equivalent to not having pointer arithmetic in Java. e.g. HTTP requests specify which

Update panel from lists

2008-01-14 Thread tsuresh
Hello , I want to update panel from lists. I have the list of users. When I click on the user I should get the user details on the UserDetailPanel. I want to do this using ajax and to display userdetail side by user list. I tried like this. But this is no way near I desired. ListView userList =

Re: Javadoc?

2008-01-14 Thread Ayodeji Aladejebi
i was even referring to getting the javadocs for offline use by downloading it. On 1/12/08, Johan Compagner [EMAIL PROTECTED] wrote: We also have them on wicketstuff.org/wicket13doc i believe Dont know if that is the latest version and i cant check it at this time On 1/11/08, Ayodeji

Wicket Web Beans 1.0 (final) Released

2008-01-14 Thread Dan Syrstad
Wicket Web Beans 1.0 (final) has been released. Wicket Web Beans (WWB) is an Apache Wicket component toolkit for displaying and editing POJOs that conform to the JavaBeans specification. Web pages are automatically generated based on bean properties and certain conventions. If necessary, the

Re: Javascript call to wicket

2008-01-14 Thread Pills
Thanks, it's short and precise. I have nothing more to say about this ;) Erik van Oosten-3 wrote: I did not find the results of this thread on the Wiki yet, so I created the following page: http://cwiki.apache.org/confluence/display/WICKET/Calling+Wicket+from+Javascript Comments and

Re: Update panel from lists

2008-01-14 Thread wicket user
Try adding the behavior to the ListItem or the Label in the ListItem Regards Dipu On Jan 14, 2008 12:34 PM, tsuresh [EMAIL PROTECTED] wrote: Hello , I want to update panel from lists. I have the list of users. When I click on the user I should get the user details on the UserDetailPanel. I

Re: Setting focus to a TextField

2008-01-14 Thread Federico Fanton
On Thu, 20 Sep 2007 20:21:20 -0400 John Krasnay [EMAIL PROTECTED] wrote: I include this little script in my base page to always auto-focus the first text box. Pretty! Thanks :) - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: Ajax enabled radiogroup

2008-01-14 Thread SantiagoA
Hi, what javascript method do you use? onclick, onMouseDown, onMouseUp? I add AjaxFormComponentUpdatingBehaviour(onchange) to Textfields and it works fine. Using Radios in radioGroup i had to use radio.add(new AjaxEventBehavior(onchange){ private static final long

Re: Ajax enabled radiogroup

2008-01-14 Thread Martijn Lindhout
When I do this, the underlying model object isn't updated. I used the Wicket Ajax Debug and see that the form isn't posted, so the modelobject doesn't change. 2008/1/14, SantiagoA [EMAIL PROTECTED]: Hi, what javascript method do you use? onclick, onMouseDown, onMouseUp? I add

Re: the flow of wicket

2008-01-14 Thread Alex Jacoby
On Jan 12, 2008, at 2:56 PM, Dmitry Kandalov wrote: On Saturday 12 January 2008 23:25:43 Igor Vaynberg wrote: sure, and all you need to know is that you subclass requestcycle.onbeginrequest() and add your own code there and it is called at the beginning of the request. why do you need to know

RE: lang.merge is not a function error

2008-01-14 Thread Karen Schaper
is the YUI menu from the wicketstuff project? No just from YUI if so, what YUI version does version 2.2.0 Thanks that must be my problem. it use? i suspect this only happens if the YUI menu js files (yahoo, dom, event, menu, ...) are loaded before the

Re: lang.merge is not a function error

2008-01-14 Thread Thomas R. Corbin
On Monday 14 January 2008, Karen Schaper escreveu: is the YUI menu from the wicketstuff project? No just from YUI if so, what YUI version does version 2.2.0 Thanks that must be my problem. sounds good to me. have you upgraded wicket? it

Re: java.lang.OutOfMemoryError: PermGen space in tree table example

2008-01-14 Thread Roy van Rijn
Arseny, This message comes from the fact the JVM can't allocate enough memory to start the application. In some cases when I have Eclipse auto-deploying my application I get the same message. This is party caused by a little bug in Suns JVM. There are a couple of solutions to fix this. What I

Re: java.lang.OutOfMemoryError: PermGen space in tree table example

2008-01-14 Thread Matej Knopp
Yeah, that's what is happening on our tomcat instance @ wicketstuff. restarting it now... -Matej On Jan 14, 2008 4:08 PM, Eelco Hillenius [EMAIL PROTECTED] wrote: This message comes from the fact the JVM can't allocate enough memory to start the application. Or more specifically: to load

Re: Wicket Web Beans 1.0 (final) Released

2008-01-14 Thread Ryan Sonnek
Congrats, and wonderful work! I really hope this project takes off and is adopted by the wicket community! On Jan 14, 2008 6:57 AM, Dan Syrstad [EMAIL PROTECTED] wrote: Wicket Web Beans 1.0 (final) has been released. Wicket Web Beans (WWB) is an Apache Wicket component toolkit for displaying

Re: Wicket Web Beans 1.0 (final) Released

2008-01-14 Thread Roy van Rijn
+1, ditto I'm using WWB as a demo on how life as a webdeveloper should/could be. The only thing that would keep me from implementing it in projects now is the lack of good documentation (even the tutorial on the website is still partially in progress) and the small community that is using it. But

Re: java.lang.OutOfMemoryError: PermGen space in tree table example

2008-01-14 Thread Eelco Hillenius
This message comes from the fact the JVM can't allocate enough memory to start the application. Or more specifically: to load your classes (which is the typical case). This also often happens when you e.g. use tomcat and deploy on a live instance time after time. Eelco

Re: TreeGrid and DataGrid open source

2008-01-14 Thread jweekend
Matej, As I wrote a few weeks ago when you kindly let me have a first play with these great new components, I think you have done a high-quality piece of work that shows off some of Wicket's power and presented it in a professional way. Your gesture to now let people use it for free is a very

Re: London Wicket Event - Schedule/Bigger Room

2008-01-14 Thread jweekend
Igor, That's not a bad idea. In fact when we first started these events we did record some of our presentations, but I'm not sure any of those videos ever saw the light of day. The Java Web User Group people filmed us too, and even some of the companies that have kindly hosted our events insisted

Link and Submit behaviour

2008-01-14 Thread Russell Webb
Got a question on what the expected behaviours are from a link and a button both of which have their response page set to the same page (onClick onSubmit respectively). I took these form items from the Cheesr example in 'Wicket in Action' and I have used both of these on the second tab on an

Re: Wicket Web Beans 1.0 (final) Released

2008-01-14 Thread Eelco Hillenius
Congrats! Eelco On Jan 14, 2008 4:57 AM, Dan Syrstad [EMAIL PROTECTED] wrote: Wicket Web Beans 1.0 (final) has been released. Wicket Web Beans (WWB) is an Apache Wicket component toolkit for displaying and editing POJOs that conform to the JavaBeans specification. Web pages are automatically

Re: Javadoc?

2008-01-14 Thread Ayodeji Aladejebi
it was quite easy with netbeans maven...just unzip the wicket1.3.zip and open the src folder with NB provided you have installed the maven plugin though On 1/14/08, Martijn Dashorst [EMAIL PROTECTED] wrote: We still need to find time to implement that in our build. The problem is with the

Re: TreeGrid and DataGrid open source

2008-01-14 Thread James McLaughlin
Looking ahead, I can imagine that as Wicket becomes ever more popular, there will be many organisations who will see it as a big plus that there are well-respected developers building, selling and maintaining well engineered, reliable and high-quality components with interesting features that

Re: the flow of wicket

2008-01-14 Thread Igor Vaynberg
On Jan 14, 2008 6:08 AM, Alex Jacoby [EMAIL PROTECTED] wrote: I've hit exactly this type of issue -- you try to override one of the public methods, and it turns out that the object isn't fully initialized yet, so you can't do what you'd hoped to. do you have the example so we can do something

Re: Ajax enabled radiogroup

2008-01-14 Thread Igor Vaynberg
could this be it? https://issues.apache.org/jira/browse/WICKET-1258 also, the form should not be submitted, only the value for that one radio component. -igor On Jan 14, 2008 5:51 AM, Martijn Lindhout [EMAIL PROTECTED] wrote: When I do this, the underlying model object isn't updated. I used

Re: Shout more about security advantages of Wicket?

2008-01-14 Thread Eelco Hillenius
Hi Sam, I'm actually trying to point this out in Wicket In Action. But go ahead and write a few blog entries ;-) Eelco On Jan 14, 2008 4:43 AM, Sam Hough [EMAIL PROTECTED] wrote: It has only just struck me how much more secure Wicket is out of the box than struts, spring, GWT etc. The

Re: Ajax enabled radiogroup

2008-01-14 Thread Martijn Lindhout
yep, you're right. Guess I'll have to wait till 1.3.1? ;-) 2008/1/14, Igor Vaynberg [EMAIL PROTECTED]: could this be it? https://issues.apache.org/jira/browse/WICKET-1258 also, the form should not be submitted, only the value for that one radio component. -igor On Jan 14, 2008 5:51

Re: PagingNavigator refactoring request

2008-01-14 Thread Igor Vaynberg
what exactly is the usecase? -igor On Jan 14, 2008 12:49 AM, behlma [EMAIL PROTECTED] wrote: Not such a good idea, huh? :) behlma wrote: Hi guys, would it be possible to change PagingNavigator's constructor from public PagingNavigator(final String id, final IPageable

Re: Ajax enabled radiogroup

2008-01-14 Thread Igor Vaynberg
so you applied the patch and it worked? if so i can commit it now and you can use the snapshot build -igor On Jan 14, 2008 10:19 AM, Martijn Lindhout [EMAIL PROTECTED] wrote: yep, you're right. Guess I'll have to wait till 1.3.1? ;-) 2008/1/14, Igor Vaynberg [EMAIL PROTECTED]: could

Re: Ajax enabled radiogroup

2008-01-14 Thread Martijn Lindhout
Uh.. oh, I'm sorry. Do you mean if I changed the source according to Matt Clark's comments? No. I deduced from the discussion that that would be the problem. Of course I can download the source to apply the patch... 2008/1/14, Igor Vaynberg [EMAIL PROTECTED]: so you applied the patch and it

Re: Ajax enabled radiogroup

2008-01-14 Thread Martijn Lindhout
unfortunately, I got Maven build errors doing just a mvn install from a 'fresh' download. Any idea? [surefire] Running org.apache.wicket.ajax.DomReadyOrderTest 7c7 /head]]/header-contributioncomponent id=test1 ![CDATA[a href=?wicket:interface=:0:test::ILinkListener:: onclick=var

Re: Link and Submit behaviour

2008-01-14 Thread Frank Bille
Could it be because there is validation errors? Try adding a FeedbackPanel. Frank On Jan 14, 2008 5:20 PM, Russell Webb [EMAIL PROTECTED] wrote: Got a question on what the expected behaviours are from a link and a button both of which have their response page set to the same page (onClick

image uploads and file locations

2008-01-14 Thread Sam Barnum
Any suggestions or best practices on how to handle image uploads? I'm planning on saving uploaded images as files (not BLOBs) and serving up resized versions of the images. In particular: Is there a good standard place to store the full-res files in a wicket application? Should I serve

Re: Ajax enabled radiogroup

2008-01-14 Thread Igor Vaynberg
if you dont mind testing the patch that would be great... -igor On Jan 14, 2008 11:18 AM, Martijn Lindhout [EMAIL PROTECTED] wrote: Uh.. oh, I'm sorry. Do you mean if I changed the source according to Matt Clark's comments? No. I deduced from the discussion that that would be the problem.

Re: Ajax enabled radiogroup

2008-01-14 Thread Martin Funk
what does java -version give you. I think on version 1.6 the tests still go boink like that. Your jdk needs to be 1.5. mf Martijn Lindhout schrieb: unfortunately, I got Maven build errors doing just a mvn install from a 'fresh' download. Any idea? [surefire] Running

Re: Ajax enabled radiogroup

2008-01-14 Thread Martijn Lindhout
arg!!! You're right, 1.5 works. Ok Igor, do you have the change to commit or should I code it myself (would take some more time, because I'm not an experienced JavaScript developer). 2008/1/14, Martin Funk [EMAIL PROTECTED]: what does java -version give you. I think on version 1.6 the

Re: PagingNavigator refactoring request

2008-01-14 Thread Igor Vaynberg
would you just override all the newPaging* factory methods? perhaps if you paste your code and what you cannot do i might help you more, right now i just dont see it :| -igor On Jan 14, 2008 12:03 PM, behlma [EMAIL PROTECTED] wrote: Hi Igor, I created a BookmarkablePagingNavigator

Re: PagingNavigator refactoring request

2008-01-14 Thread behlma
Hi Igor, I created a BookmarkablePagingNavigator component. Its constructor takes a PageParameter object, that needs - of course - to be set *before*: add(newPagingNavigationLink(first, pageable, 0)); add(newPagingNavigationIncrementLink(prev, pageable, -1));

new release of wicket-contrib-javaee

2008-01-14 Thread Maris Orbidans
hi I have just created a new release of wicket-contrib-javaee. I have fixed POM file and made it compatible with wicket 1.3. Here is wiki page http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-javaee And to answer your question about EJB references in web.xml. They are

Re: Ajax enabled radiogroup

2008-01-14 Thread Martijn Lindhout
Igor, I'm sorry, but could it be that the patch isn't visible to me? I just signed up to ASF Jira to login, and I see no attachements at WICKET-1258 :-( 2008/1/14, Igor Vaynberg [EMAIL PROTECTED]: the patch is attached to the jira issue i mentioned -igor On Jan 14, 2008 12:20 PM, Martijn

HybridUrlCodingStrategy with trailing slash...

2008-01-14 Thread Ryan McKinley
Hello- I ran into a hickup with HybridUrlCodingStrategy and just want to run it by you all. It looks like mounting a page with a trailing '/' causes things to get redirected to a page it cant find: mount( new HybridUrlCodingStrategy( /aaa/, Index.class) ); mount( new

Re: Ajax enabled radiogroup

2008-01-14 Thread Igor Vaynberg
how about this... https://issues.apache.org/jira/browse/WICKET-1271 -igor On Jan 14, 2008 12:46 PM, Martijn Lindhout [EMAIL PROTECTED] wrote: Igor, I'm sorry, but could it be that the patch isn't visible to me? I just signed up to ASF Jira to login, and I see no attachements at WICKET-1258

Re: HybridUrlCodingStrategy with trailing slash...

2008-01-14 Thread Igor Vaynberg
needs a check in the constructor of the strategy that throws illegalargumentexception, please open a jira -igor On Jan 14, 2008 12:43 PM, Ryan McKinley [EMAIL PROTECTED] wrote: Hello- I ran into a hickup with HybridUrlCodingStrategy and just want to run it by you all. It looks like

Re: Wicket 1.4/2.0/nextStep

2008-01-14 Thread Martijn Dashorst
We haven't started it. We wait with starting new development until 1.3.1 or even 1.3.2 is released. We don't want to maintain two branches and first want to make the issue list for 1.3 a lot smaller before branching. Martijn On 1/14/08, Stefan Lindner [EMAIL PROTECTED] wrote: Where can I find

Re: Shout more about security advantages of Wicket?

2008-01-14 Thread Jonathan Locke
YES! Sam Hough wrote: It has only just struck me how much more secure Wicket is out of the box than struts, spring, GWT etc. The features list doesn't really seem to drive this point home... Maybe add really clear example like: Equivalent to not having pointer arithmetic in Java. e.g.

Re: Ajax enabled radiogroup

2008-01-14 Thread C.
On Mon, 2008-01-14 at 22:10 +0100, Martijn Lindhout wrote: I used this code to test it (sorry for the Dutch words). I can't resist.. (You should be sorry, but at least it's not Skånska) ListString choices = Arrays.asList(new String[]{Jepps, Nepps}); I've yet to look at all the post,

WicketTester Doesn't Support setDefaultFormProcessing(false)

2008-01-14 Thread Brandon Fuller
Writing some unit tests and I have an AjaxFallbackButton that I want to call. I have tried these 2 methods: form.submit(rootViewPanel:addOrganization); tester.executeAjaxEvent(meetingForm:inputForm:rootViewPanel:addOrganization, onclick); Neither seems to work. They both seem to want to

Re: Wicket 1.4/2.0/nextStep

2008-01-14 Thread Martijn Dashorst
If you want to know when branches like this happen, subscribe to the dev list. We always vote for these kind of decisions, and for releases etc. Martijn On 1/14/08, Martijn Dashorst [EMAIL PROTECTED] wrote: We haven't started it. We wait with starting new development until 1.3.1 or even 1.3.2

Wicket 1.4/2.0/nextStep

2008-01-14 Thread Stefan Lindner
Where can I find the subversion branch for wicket's next release? At http://svn.apache.org/repos/asf/wicket/trunk/jdk-1.5/ I can't find the wicket base package. Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Ajax enabled radiogroup

2008-01-14 Thread Martijn Lindhout
It works! Thanx a lot! 2008/1/14, Igor Vaynberg [EMAIL PROTECTED]: how about this... https://issues.apache.org/jira/browse/WICKET-1271 -igor On Jan 14, 2008 12:46 PM, Martijn Lindhout [EMAIL PROTECTED] wrote: Igor, I'm sorry, but could it be that the patch isn't visible to me? I

Re: Ajax enabled radiogroup

2008-01-14 Thread Martijn Lindhout
I used this code to test it (sorry for the Dutch words). The form to which the group is ultimately added is in a parent component. Before this patch I always saw Label l1, now it is switching between l1 and l2. public class InvoerenNatuurlijkePersoonPanel extends Panel { private Label l1;

Re: Raw urls using WicketTester 1.3.0

2008-01-14 Thread Martin Makundi
Hi! Help, anybody familiar enough with WicketTester to help me out with browsing my wicket application? My main question is: how to process multiple consecutive raw requests using WicketTester, during the same user session. By raw I mean page requests that do not result from clicking links

Re: Ajax enabled radiogroup

2008-01-14 Thread Igor Vaynberg
ok, i applied the patch, let me know if the latest snapshot build works fine for you -igor On Jan 14, 2008 1:08 PM, Martijn Lindhout [EMAIL PROTECTED] wrote: It works! Thanx a lot! 2008/1/14, Igor Vaynberg [EMAIL PROTECTED]: how about this...

Replacement for 1.2's IApplicationSettings.getContextPath()?

2008-01-14 Thread Scott Sauyet
I'm finally converting from 1.2 to 1.3 and have gotten down to one compilation error! I need to find a way to replace a call to IApplicationSettings.getContextPath() I understand that all URLs are now relative, but I'm using this to pass to Javascript, something like this: HTML:

Re: Ajax enabled radiogroup

2008-01-14 Thread Martijn Lindhout
ok, I did 1. a svn co http://svn.apache.org/repos/asf/wicket/trunk 2. mvn install 3. and build my project against wicket-1.0.3-SNAPSHOT the fix works. Thanx a lot Igor. 2008/1/14, Igor Vaynberg [EMAIL PROTECTED]: ok, i applied the patch, let me know if the latest snapshot build works fine

Re: Ajax enabled radiogroup

2008-01-14 Thread Igor Vaynberg
thank you for testing -igor On Jan 14, 2008 1:43 PM, Martijn Lindhout [EMAIL PROTECTED] wrote: ok, I did 1. a svn co http://svn.apache.org/repos/asf/wicket/trunk 2. mvn install 3. and build my project against wicket-1.0.3-SNAPSHOT the fix works. Thanx a lot Igor. 2008/1/14, Igor

RE: the flow of wicket

2008-01-14 Thread Dan Kaplan
I agree with this. When I seconded earlier, it was because I thought this was an exposed part of the API that hadn't been documented. I didn't realize it was internal. -Original Message- From: Martijn Dashorst [mailto:[EMAIL PROTECTED] Sent: Saturday, January 12, 2008 7:57 AM To:

ServerSide Java Symposium

2008-01-14 Thread Scott Swank
Is anyone coming to Las Vegas this March? -- Scott Swank reformed mathematician - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Type safe roles for AUTH-ROLES?

2008-01-14 Thread Igor Vaynberg
heh. it is a functional example of a fully implemented authorization strategy. but it doesnt have any fancy features, nor will they be added to it in the future. it is meant to serve as an example, so users can see how to implement their own authorization strategies. what more do you want me to

RE: Type safe roles for AUTH-ROLES?

2008-01-14 Thread Dan Kaplan
What? Really? Fuck. Can you please elaborate? Did I waste every second of the time I spent looking at the examples on wicketstuff? I applied these examples to my webapp. Did I implement some type of pretend authorization strategy? -Original Message- From: Igor Vaynberg

Re: Type safe roles for AUTH-ROLES?

2008-01-14 Thread Martijn Dashorst
In my opinion there is nothing 'wrong' with auth-roles. but they are limited in scope. Fortunately the code base is really small so it wouldn't take that much effort to roll your own based on that code. That said, I think that a lot of applications can live with the 3 levels of authorization:

Re: how to reference component in RequestTarget

2008-01-14 Thread Martijn Lindhout
what is exactly the usecase? 2008/1/14, Beyonder Unknown [EMAIL PROTECTED]: Hi All, I was wondering what is the best practice when referencing components inside an onClick/onSubmit. Normally: public void onClick(AjaxRequestTarget target) {

Re: WAS: Shout more about security advantages of Wicket? (hdiv, modsecurity, WAFs.. )

2008-01-14 Thread Igor Vaynberg
On Jan 14, 2008 2:11 PM, C. Bergström [EMAIL PROTECTED] wrote: INTEGRITY: HDIV guarantees integrity (no data modification) of all the data generated by the server which should not be modified by the client (links, hidden fields, combo values, radio buttons, destiny pages, etc.). not

RE: Type safe roles for AUTH-ROLES?

2008-01-14 Thread Dan Kaplan
Sure, and although not an included option, can't I just make a new one named moderator and use that where I want? I haven't tried this but I assume the library won't care. -Original Message- From: Martijn Dashorst [mailto:[EMAIL PROTECTED] Sent: Monday, January 14, 2008 2:22 PM To:

Ajax update (visitor)

2008-01-14 Thread Tim Lantry
I have a visitor that adds a behavior to all the links on my page. The visitor fires onbeforeRender of the page. The behavior uses the onComponentTag to prepend some javascript to a link. This works great. However lets say I want to update a table via ajax that has several links in the cells.

Re: Wicket 1.4/2.0/nextStep

2008-01-14 Thread Martijn Dashorst
On 1/14/08, Stefan Lindner [EMAIL PROTECTED] wrote: This means, that we old wicket 2.0 users who are waiting for Generics, have to wait still some other months until 1.3.2 is done? No parallel development of 1.4/2.0.0? It's hard to be a wicket 2.0 user. Can you give us any timeline for

Re: ServerSide Java Symposium

2008-01-14 Thread Eelco Hillenius
On Jan 14, 2008 2:00 PM, Nick Heudecker [EMAIL PROTECTED] wrote: Looks like I'm going, probably to talk about Wicket. Ah, so you'll be in Matt's framework fight then? :-) Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: Type safe roles for AUTH-ROLES?

2008-01-14 Thread Dan Kaplan
I guess I'll have to read about swarm/wasp to read about what fancy features I'm missing out on. But, ATM, I'm content to stay with it because auth-roles are simple and allow me to move on to the actual content of my webapp. Am I going to be kicking myself later for that choice? -Original

how to reference component in RequestTarget

2008-01-14 Thread Beyonder Unknown
Hi All, I was wondering what is the best practice when referencing components inside an onClick/onSubmit. Normally: public void onClick(AjaxRequestTarget target) { //do things here. //update these components.

Re: Type safe roles for AUTH-ROLES?

2008-01-14 Thread Gerolf Seitz
for a comparison between auth-roles and swarm/wasp, take a look at http://wicketstuff.org/confluence/display/STUFFWIKI/Security+Framework+Comparison gerolf On Jan 14, 2008 11:14 PM, C. Bergström [EMAIL PROTECTED] wrote: On Mon, 2008-01-14 at 13:51 -0800, Dan Kaplan wrote: What? Really?

RE: Type safe roles for AUTH-ROLES?

2008-01-14 Thread Dan Kaplan
No, I'm perfectly happy with the functionality provided by the examples on wicketstuff. I just want to make sure they are secure. I don't want to use them if they're giving me a false sense of security. -Original Message- From: C. Bergström [mailto:[EMAIL PROTECTED] Sent: Monday,

RE: Wicket 1.4/2.0/nextStep

2008-01-14 Thread Stefan Lindner
We haven't started it. We wait with starting new development until 1.3.1 or even 1.3.2 is released. We don't want to maintain two branches and first want to make the issue list for 1.3 a lot smaller before branching. Martijn This means, that we old wicket 2.0 users who are waiting for

Re: ServerSide Java Symposium

2008-01-14 Thread Scott Swank
There's a beer in it for you, if that helps. On Jan 14, 2008 2:35 PM, Nick Heudecker [EMAIL PROTECTED] wrote: Yep. The only downside is having to learn about all those inferior frameworks... :) On Jan 14, 2008 4:22 PM, Eelco Hillenius [EMAIL PROTECTED] wrote: On Jan 14, 2008 2:00 PM,

Re: how to reference component in RequestTarget

2008-01-14 Thread Martijn Lindhout
I'll think about that... 2008/1/14, Beyonder Unknown [EMAIL PROTECTED]: Hi Martijn, I have a page, that contains a panel (PanelA), and link. The link instantiate modalWindow that uses PanelB. MyPage contains: Panel panelA = new PanelA(); add(panelA); final ModalWindow modalWindow =

Re: PagingNavigator refactoring request

2008-01-14 Thread behlma
Hi Igor, I created a BookmarkablePagingNavigationIncrementLink / BookmarkablePagingNavigationLink as well as a BookmarkablePagingNavigation (those three simply being the bookmarkable version of the ones already existing in wicket-core). The overridden methods therefore simply look like:

Re: ServerSide Java Symposium

2008-01-14 Thread Nick Heudecker
Yep. The only downside is having to learn about all those inferior frameworks... :) On Jan 14, 2008 4:22 PM, Eelco Hillenius [EMAIL PROTECTED] wrote: On Jan 14, 2008 2:00 PM, Nick Heudecker [EMAIL PROTECTED] wrote: Looks like I'm going, probably to talk about Wicket. Ah, so you'll be in

Re: Wicket 1.4/2.0/nextStep

2008-01-14 Thread Martijn Dashorst
One thing you could do to help out, is to make sure we have all the missing part of the old 2.0 branch on our plate and in JIRA, assigned to release 1.4M1. This would make our job a lot easier and will prevent disappointments when we miss a particular feature. Another option is to add them to the

Re: how to reference component in RequestTarget

2008-01-14 Thread Beyonder Unknown
Hi Martijn, I have a page, that contains a panel (PanelA), and link. The link instantiate modalWindow that uses PanelB. MyPage contains: Panel panelA = new PanelA(); add(panelA); final ModalWindow modalWindow = new ModalWindow(modalwindow); modalWindow.setContent( new

RE: Wicket 1.4/2.0/nextStep

2008-01-14 Thread Stefan Lindner
Dear Martijn, I understand your point of view and I did not want to blame wicket. We use wicket because we love wicket. Unfortunately we started using Wicket 2.0 early in 2007. The main reason for doing this was the ability to use the generic components of wicket 2.0 (version 2007). Once we have

Re: Markup of type 'html' for component not found

2008-01-14 Thread Eelco Hillenius
On Jan 14, 2008 3:49 PM, ckuehne [EMAIL PROTECTED] wrote: Hi, I don't quite know what to do with the following debug message. The AddPanel.html is definetely where it should be (wicket bench finds it as well). I am also curious where the $3 comes from? That means Wicket tries (but is not

Re: Replacement for 1.2's IApplicationSettings.getContextPath()?

2008-01-14 Thread Eelco Hillenius
The context path should automatically be resolved for you. Could you give just using relative paths a try? Eelco On Jan 14, 2008 1:35 PM, Scott Sauyet [EMAIL PROTECTED] wrote: I'm finally converting from 1.2 to 1.3 and have gotten down to one compilation error! I need to find a way to

Re: How to write Json response in the AbstractDefaultAjaxBehavior.response(ajaxtarget)

2008-01-14 Thread Igor Vaynberg
getrequestcycle().setrequesttarget(new irequesttarget() { respond(response r) { r.write(...); }}); -igor On Jan 14, 2008 6:43 PM, Kevin Liu [EMAIL PROTECTED] wrote: Hi guys! could you tell me how to write json response in the AbstractDefaultAjaxBehavior.response(ajaxtarget) method? my

Re: How to write Json response in the AbstractDefaultAjaxBehavior.response(ajaxtarget)

2008-01-14 Thread Kevin Liu
Thank you , it works! Igor Vaynberg [EMAIL PROTECTED] wrote: getrequestcycle().setrequesttarget(new irequesttarget() { respond(response r) { r.write(...); }}); -igor On Jan 14, 2008 6:43 PM, Kevin Liu wrote: Hi guys! could you tell me how to write json response in the

Re: Replacement for 1.2's IApplicationSettings.getContextPath()?

2008-01-14 Thread Igor Vaynberg
see ContextImage and how it builds a context relative url -igor On Jan 14, 2008 7:59 PM, Scott Sauyet [EMAIL PROTECTED] wrote: Scott Sauyet wrote: I'm finally converting from 1.2 to 1.3 and have gotten down to one compilation error! I need to find a way to replace a call to

Re: Replacement for 1.2's IApplicationSettings.getContextPath()?

2008-01-14 Thread Scott Sauyet
Scott Sauyet wrote: I'm finally converting from 1.2 to 1.3 and have gotten down to one compilation error! I need to find a way to replace a call to IApplicationSettings.getContextPath() Never mind. It really isn't that hard: (WebApplication) Application.get()).getServletContext()

Re: Replacement for 1.2's IApplicationSettings.getContextPath()?

2008-01-14 Thread Scott Sauyet
Igor Vaynberg wrote: see ContextImage and how it builds a context relative url That yields this: getRequest().getRelativePathPrefixToContextRoot() I'm not sure if this is a better approach or not, but it's at least some characters shorter! To use it, I'd still have to put it in some

Re: image uploads and file locations

2008-01-14 Thread Eelco Hillenius
On Jan 14, 2008 11:21 AM, Sam Barnum [EMAIL PROTECTED] wrote: Any suggestions or best practices on how to handle image uploads? I'm planning on saving uploaded images as files (not BLOBs) and serving up resized versions of the images. In particular: Is there a good standard place to store

how to convert wicket-CheckBox's Boolean Type to Character Type!

2008-01-14 Thread Mead Lai
Hi, Well,I am use MySql, and there is no boolean type in mysql database. so I use Char(1) in the database, and in html I use CheckBox.but CheckBox only contain Boolean type. How to solve this problem? Use IConverter interface? Thanks

  1   2   >