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

2008-01-14 Thread Mead Lai
thanks, but the code following get something wrong like that: wrappedModel.getObject(); //The method getObject(Component) in the type IModel is not applicable for the arguments () wrappedModel.setObject(value); //The method setObject(Component, Object) in the type IModel is not applicable for t

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

2008-01-14 Thread Martijn Lindhout
I did something similar, converting a boolean radio to the Dutch words "Ja" and "Nee" (yes / no). This is the code: public class JaNeeToBooleanConverterModel extends Model { private IModel wrappedModel; public JaNeeToBooleanConverterModel(IModel model) { wrappedModel = model;

difference between ListView and DefaultDataTable

2008-01-14 Thread dvd
Hello: When I use ListView with each row having an "Edit" link I use new Link() { callback handler), which is very handy. How to do the same in DefaultDataTable? I tried to use  new AbstractDataColumn {     populateItem{        item.add(new Link(..) { callback} but it would not work.  From wha

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 __

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

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 Ja

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 > AbstractDefaul

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: 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? >

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

2008-01-14 Thread Kevin Liu
Hi guys! could you tell me how to write json response in the AbstractDefaultAjaxBehavior.response(ajaxtarget) method? my code : ... Response response = getResponse(); response.write("{totalProperty:100,root:[{id:0,name:'name0',descn:'descn0'},]}"); ... but the response is like this: {t

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

2008-01-14 Thread Scott Sauyet
Eelco Hillenius wrote: The context path should automatically be resolved for you. Could you give just using relative paths a try? Thanks for the reply, but I'm not sure how I could do that. The URLs are *created* by the Javascript, based upon the context path. I can't use relative paths suc

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

2008-01-14 Thread Jonathan Locke
Yes. We are pretty much the ideal framework for E*Trade (I mean if they aren't going out of business). igor.vaynberg wrote: > > 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

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 r

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

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 s

Markup of type 'html' for component not found

2008-01-14 Thread ckuehne
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? The problem did not occur in 1.3 RC2. But then again I made some changes after updating to 1.3 final a

Re: PagingNavigator refactoring request

2008-01-14 Thread Igor Vaynberg
see if this patch helps, and if it works and doesnt break anything that you can see i will apply it... -igor Index: C:/dev/src/wicket/jdk-1.4/wicket/src/main/java/org/apache/wicket/markup/html/navigation/paging/PagingNavigator.java ===

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

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 mod

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: protect

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

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 PanelB(modalWindow.getC

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 1.

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. A

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: u

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.)."

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: 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 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: none

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

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, Januar

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? Real

RE: Type safe roles for AUTH-ROLES?

2008-01-14 Thread C.
On Mon, 2008-01-14 at 13:51 -0800, Dan Kaplan wrote: > What? Really? F***. 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

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

2008-01-14 Thread C.
On Mon, 2008-01-14 at 13:23 -0800, Jonathan Locke wrote: > 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 exa

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 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 Me

Re: ServerSide Java Symposium

2008-01-14 Thread Nick Heudecker
Looks like I'm going, probably to talk about Wicket. On Jan 14, 2008 3:57 PM, Scott Swank <[EMAIL PROTECTED]> wrote: > Is anyone coming to Las Vegas this March? > > -- > Scott Swank > reformed mathematician > > - > To unsubscribe

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 sa

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 [mailto:[E

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: user

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

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 fi

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 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) > List choices = Arrays.asList(new String[]{"Jepps", "Nepps"}); I've yet to look at all the post,

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 Jav

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: 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... > > > > https://issues.apache.org

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 click

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; pri

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

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 fin

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

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 co

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: 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

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 HybridUrlCodingStrat

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,

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 req

Re: Ajax enabled radiogroup

2008-01-14 Thread Igor Vaynberg
the patch is attached to the jira issue i mentioned -igor On Jan 14, 2008 12:20 PM, Martijn Lindhout <[EMAIL PROTECTED]> wrote: > 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

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 com

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

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 org.apache.wicket.ajax.D

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));

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 < ]]> --- > ]]> [surefire] Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.017 sec FAILURE !! [surefire] Running org.a

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

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 serv

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: 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 > (onCli

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]>: > > > >

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,

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 fe

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,

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 someth

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 use

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 th

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: 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 automatica

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: 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 nice

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

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: 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 displayi

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

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: "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 nor

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?

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 befor

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 th

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 AjaxForm

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 serialVers

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

Re: Javadoc?

2008-01-14 Thread Martijn Dashorst
We still need to find time to implement that in our build. The problem is with the multi-module maven setup that makes it difficult to provide a decent setup for the javadocs. If you want them in your IDE, using maven is the best way to get the docs integrated. It will automatically download the s

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]

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 UserDetailPan

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 layout

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 PROTEC

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 A

  1   2   >