Re: [Wicket-user] Wicket YUI

2007-06-05 Thread David Leangen
A few months ago, a number of people expressed interest in contributing, so if any of you are reading this, I would love to have some help. In particular, i think it would be great if someone could bring drag and drop back to life. I think it could use some pretty heavy refactoring as well.

[Wicket-user] wicket did not make the grade.

2007-06-05 Thread Florian Hehlen
HI all, I am sad to announce that my company did not choose to use wicket after comparison with struts 2. :-( One criticism that came out as we were looking at Wicket code was that there seems to be a need to write a lot of Java code in a ListView for such things as displaying a table.

Re: [Wicket-user] wicket did not make the grade.

2007-06-05 Thread Johan Compagner
I am sad to announce that my company did not choose to use wicket after comparison with struts 2. :-( it are 2 different worlds.. can you give me an example then with a page with 2 listviews on it that are sortable for example on both struts and wicket ... (ofcourse if i sort one then the

Re: [Wicket-user] Making custom MessageResolver

2007-06-05 Thread Murat Yücel
Hi Juergen You are probably right about the setEscapeModelString(false) in 1.3. I am currently using 1.2.6. If i use a a href tag then it will confuse the developers. Because it is actually not a link it is a i18n message that i want to display. Thats why i am using the wicket:message tag. We

Re: [Wicket-user] wicket did not make the grade.

2007-06-05 Thread Juergen Donnerstag
This is not very difficult to implement. The displaytag example in wicket-examples used to have it and it was based on ListView. But I think we removed it since Repeater/DataView etc from wicket-extension is more flexible and elegant and our preferred approach for most table type implementation. I

[Wicket-user] how can i tell components to refresh model objects...

2007-06-05 Thread Harald Gruber
hi all, i got some sort of crud page consisting of a listview and a detailview for my objects. depending on a stateflag either the listview is shown or the detailview. the detailview contains an addresspanel (textfields for my properties, which use propertymodels to get the fieldvalues).

[Wicket-user] 代理税票

2007-06-05 Thread 伟明 曾
贵(经理/财务)负责人您好! 本公司是广州市金鑫企业集团股份有限公司。 我公司现有(电脑版海关缴款书发票、普通商品发票、建筑安装、广告制作、其它服务、电脑版运输发票)等……可向外代开。 税率可根据所开金额的大小来协商!并建议长期的合作。 在我公司成立多年一直坚持以信用;所开绝对是真票。 在合作以代开的方式提供到位的服务,如贵公司有些疑虑或担心,可上网查证或拿去税务抵扣核对确认后再付款,在我公司负责的态度做到客户放心满意!

Re: [Wicket-user] wicket did not make the grade.

2007-06-05 Thread Al Maw
Florian Hehlen wrote: HI all, I am sad to announce that my company did not choose to use wicket after comparison with struts 2. :-( One criticism that came out as we were looking at Wicket code was that there seems to be a need to write a lot of Java code in a ListView for such things

[Wicket-user] Page lifetime in wicket

2007-06-05 Thread Matthieu Casanova
Hi, I wonder what was the lifetime of the page and related objects in Wicket ? For example if I create a link in a web page, if I click on it, my java method is called. But how many time do I have to click on it ? Isn't it possible to have memory problems because of those objects (the models too

Re: [Wicket-user] wicket did not make the grade.

2007-06-05 Thread Peter Thomas
I am sad to announce that my company did not choose to use wicket after comparison with struts 2. :-( One criticism that came out as we were looking at Wicket code was that there seems to be a need to write a lot of Java code in a ListView for such things as displaying a table. Although I

Re: [Wicket-user] Page lifetime in wicket

2007-06-05 Thread Johan Compagner
With wicket 1.3 (and the SecondLevelCacheSessionStore thats default in 1.3) only one page is kept in (session)memory this is the active page that is just rendered. All other pages (for backbutton) are saved to the hd. So wicket controls the memory for you so you don't forget stuff (what i see a

Re: [Wicket-user] how can i tell components to refresh model objects...

2007-06-05 Thread Harald Gruber
hi, i traced a bit by adding protected void onComponentTag(final ComponentTag tag) { System.out.println(ADRESSPANEL + getModel()); this.visitChildren(new IVisitor() { public Object component(Component component)

Re: [Wicket-user] how can i tell components to refresh model objects...

2007-06-05 Thread Martijn Dashorst
Are there any validation errors? Martijn On 6/5/07, Harald Gruber [EMAIL PROTECTED] wrote: hi, i traced a bit by adding protected void onComponentTag(final ComponentTag tag) { System.out.println(ADRESSPANEL + getModel()); this.visitChildren(new

Re: [Wicket-user] how can i tell components to refresh model objects...

2007-06-05 Thread Harald Gruber
Martijn Dashorst schrieb: Are there any validation errors? no -harald - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just

Re: [Wicket-user] how can i tell components to refresh model objects...

2007-06-05 Thread Harald Gruber
ok, i got a workaround..if i replace my addresspanel in my onEditAction() method with a new one, it works. though it would be interesting, why the fieldvalues didnt get updated on modelobject change. -harald - This SF.net

Re: [Wicket-user] Parameter access at Page creation not consistent with request object

2007-06-05 Thread Kent Tong
mchack mchack at cisco.com writes: I am trying to gain access to the value pair, in your example p0,abc as encoded in the URL. The params.getString(p0) does return abc in the constructor. It returns null if I try to retrieve it via getRequest.getParameter(p0) in getVariation(). It's not a

Re: [Wicket-user] wicket did not make the grade.

2007-06-05 Thread Florian Hehlen
Hi, The 3 key arguments against wicket were: -It will be easier to hire someone with Struts knowledge on top of the fact that we have some in-house knowledge with it. -Struts is the de-facto standard with a lot of community/vendor/documentation support -Struts seems heavy on the java-code

[Wicket-user] AJAX Button on my Form inside a Panel needs 2 clicks to do a search

2007-06-05 Thread Francisco Diaz Trepat - gmail
Hello every one, I have a page that uses a panel (code ahead) that has a form with an AJAX button, it works fine, but some times I have to click on the Search button 2 times to make it work. I think it has to do with URLs or something because when it happens it changes the url. The code for the

Re: [Wicket-user] wicket did not make the grade.

2007-06-05 Thread Matej Knopp
But you've decided to use struts2. Struts 2 is a complete rewrite, it's different than struts 1. -Matej On 6/5/07, Florian Hehlen [EMAIL PROTECTED] wrote: Hi, The 3 key arguments against wicket were: -It will be easier to hire someone with Struts knowledge on top of the fact that we

[Wicket-user] Form redirect issue

2007-06-05 Thread Joel Hill
We have a JSP servlet application that we're slowing beginning to convert over to wicket. Our first wicket page is a form with submit and cancel buttons, either of which (unless there is a validation error) will redirect the user back to the old servlet using the following code: protected void

Re: [Wicket-user] wicket did not make the grade.

2007-06-05 Thread Florian Hehlen
hi, oops! first a correction: Struts seems heavy on the java-code required for things that are pretty simple with Struts should have read Wicket seems heavy on the java-code required for things that are pretty simple with Struts2 Struts 2 is a complete re-wite... yes and no. It's nothing

Re: [Wicket-user] wicket did not make the grade.

2007-06-05 Thread Florian Hehlen
Hi, The comparison was a bit skewed where I showed the richness of such components as a DataView(sortable and pageable) in wicket and that was compared with a simple static table on Struts 2. Johan Compagner wrote: Wicket if adding those low-level components was only necessary

Re: [Wicket-user] wicket did not make the grade.

2007-06-05 Thread Eelco Hillenius
Sorry to hear that Florian. But I hope you'll have a good ride with Struts 2 all the same (and that it does solve some of the problems that Struts 1 has). Eelco - This SF.net email is sponsored by DB2 Express Download DB2

Re: [Wicket-user] wicket did not make the grade.

2007-06-05 Thread Francisco Diaz Trepat - gmail
Sorry to barge in, but... I what I really don't get is: Is these science or fiction? Because if those are the kind of arguments... Then I must agree with Peter, its a waste of time, and just say that. They don't see Struts-2 for what it is, they don't see Wicket for what it is. What is the

Re: [Wicket-user] wicket did not make the grade.

2007-06-05 Thread James McLaughlin
Hi Florian, To be honest, you should have titled this post My team did not make the grade. There are many developers in the world whose skill and ambition rise little above cut and paste robot, and many burned out managers who have decided employees will never be capable of much else. Struts is a

Re: [Wicket-user] Wicket YUI

2007-06-05 Thread James McLaughlin
Great! Looks good, sounds good. best, jim On 6/5/07, David Leangen [EMAIL PROTECTED] wrote: A few months ago, a number of people expressed interest in contributing, so if any of you are reading this, I would love to have some help. In particular, i think it would be great if someone could

Re: [Wicket-user] wicket did not make the grade.

2007-06-05 Thread Francisco Diaz Trepat - gmail
Is it possible to agree more with this post? f(t) On 6/5/07, James McLaughlin [EMAIL PROTECTED] wrote: Hi Florian, To be honest, you should have titled this post My team did not make the grade. There are many developers in the world whose skill and ambition rise little above cut and paste

Re: [Wicket-user] wicket did not make the grade.

2007-06-05 Thread JulianS
Al Maw wrote: Maybe we should include something like this in wicket-examples. People just don't seem to appreciate how easy it is to write this stuff. Absolutely you should do this. Two big reasons I was able to persuade my current client to go with Wicket were the excellent examples and

Re: [Wicket-user] how can i tell components to refresh model objects...

2007-06-05 Thread Eelco Hillenius
Ah, sorry for having overlooked that. Well, I'm surprised you're having this problem then. Then in must be that an old model is used. Could you try use your debugger to find out more? Eelco On 6/5/07, Harald Gruber [EMAIL PROTECTED] wrote: Eelco Hillenius schrieb: It's probably a good idea

Re: [Wicket-user] wicket did not make the grade.

2007-06-05 Thread John Krasnay
Hear, hear...well said, Jim! jk On Tue, Jun 05, 2007 at 10:42:16AM -0500, James McLaughlin wrote: Hi Florian, To be honest, you should have titled this post My team did not make the grade. There are many developers in the world whose skill and ambition rise little above cut and paste robot,

Re: [Wicket-user] ComponentFeedbackPanel and EqualPasswordInputValidator

2007-06-05 Thread JulianS
Jonathan Locke wrote: ComponentFeedbackPanel will only ever show error messages reported by the given component: public boolean accept(FeedbackMessage message) { return component == message.getReporter(); } If you want to show validation errors

Re: [Wicket-user] Form redirect issue

2007-06-05 Thread Al Maw
Joel Hill wrote: We have a JSP servlet application that we're slowing beginning to convert over to wicket. Our first wicket page is a form with submit and cancel buttons, either of which (unless there is a validation error) will redirect the user back to the old servlet using the following

[Wicket-user] DateField in 1.3 extensions doesn't work across Ajax requests

2007-06-05 Thread Aaron Hiniker
The calendar refuses to display unless it is a fresh page load. AJAX updates cause the calendar not to display. Has anyone worked around this? Aaron - This SF.net email is sponsored by DB2 Express Download DB2 Express C -

[Wicket-user] Getting a mount path for a component?

2007-06-05 Thread cram
I've got a mounted component (Page) that I'd like to get the path for. Ie, my class ErrorPage is mounted at /error forUrl(new ErrorPage()) , etc does not return /error Is there a way to do this? Thanks! -- View this message in context:

Re: [Wicket-user] Best Practices for accessing/repainting sibling/cousin components?

2007-06-05 Thread dukejansen
I've gone ahead and implemented this, but instead of using the Component.saveInnermostModel method, I coded up my own. The implementation in Component only traverses IWrapModel implementations, not IChainedModel implementations. My implementation handles both. Note that this will only find

Re: [Wicket-user] TextTemplateHeaderContributor.forJavaScript and Ajax

2007-06-05 Thread Alex Objelean
I use for this purpose the Igor's idea of OnLoadJavascriptBehavior, see http://www.nabble.com/adding-a-listener-to-the-AjaxRequestTarget-tf3065865.html#a8548871 here . N. Kiellberg wrote: Hi I have panel where I have added a TextTemplateHeaderContributor. When I include this panel

Re: [Wicket-user] extension.Palette class

2007-06-05 Thread Ken Leung
Hmm... Probably then. I have also tried on OSX and it was ok. I guess something in my PC firefox is playing up. thx for trying... On 6/4/07, Martijn Dashorst [EMAIL PROTECTED] wrote: Just did that with FF 2.0.0.4 / OS X, and I don't see the XX appear. Do you have some firefox extension

[Wicket-user] How do I change the look and feel of a wicket tree component?

2007-06-05 Thread Saad, Salma
I am using a wicket.extensions.markup.html.tree.Tree and need to change the background color and the image used for the folder. I also need to make it wider. Does anyone have an idea how I could do this? -

Re: [Wicket-user] Getting a mount path for a component?

2007-06-05 Thread Martijn Dashorst
http://wicket.sourceforge.net/apidocs/wicket/Component.html#urlFor(java.lang.Class,%20wicket.PageParameters) ? Martijn On 6/5/07, cram [EMAIL PROTECTED] wrote: I've got a mounted component (Page) that I'd like to get the path for. Ie, my class ErrorPage is mounted at /error forUrl(new

Re: [Wicket-user] TextTemplateHeaderContributor.forJavaScript and Ajax

2007-06-05 Thread Eelco Hillenius
Was an RFE made for that? Seems like something we should do automagically if possible. Eelco On 6/5/07, Alex Objelean [EMAIL PROTECTED] wrote: I use for this purpose the Igor's idea of OnLoadJavascriptBehavior, see

Re: [Wicket-user] TextTemplateHeaderContributor.forJavaScript and Ajax

2007-06-05 Thread Ryan Sonnek
Issue filed: https://issues.apache.org/jira/browse/WICKET-618 On 6/5/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Was an RFE made for that? Seems like something we should do automagically if possible. Eelco On 6/5/07, Alex Objelean [EMAIL PROTECTED] wrote: I use for this purpose the

[Wicket-user] Use getConverterInput rather than updateModel in FormComponentPanel

2007-06-05 Thread Eelco Hillenius
Hi, When fixing issues 500[1] and 522[2] I found that the best way of fixing this is to override getConvertedInput (which was declared as final). For anyone using FormComponentPanel, please take note that if you want this component to work properly with validators and form validators you should

Re: [Wicket-user] How do I change the look and feel of a wicket tree component?

2007-06-05 Thread Matej Knopp
I assume you are using wicket 1.2.x, so the new tree. You can change the colors using css, just look at the generated markup to see what css applies for the tree. Same goes for width. To customize images you need to use image references and override the getFolderOpen(), getFolderClosed(),

Re: [Wicket-user] TextTemplateHeaderContributor.forJavaScript and Ajax

2007-06-05 Thread Eelco Hillenius
Thanks! Eelco On 6/5/07, Ryan Sonnek [EMAIL PROTECTED] wrote: Issue filed: https://issues.apache.org/jira/browse/WICKET-618 On 6/5/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Was an RFE made for that? Seems like something we should do automagically if possible. Eelco On 6/5/07,

Re: [Wicket-user] Getting a mount path for a component?

2007-06-05 Thread Eelco Hillenius
Notice the difference: Martijn's call is to a bookmarkable page, and mounted requests are always to that, while Marc's call provides a page instance, for which Wicket will try to create a 'statefull'/ internal request (to that exact page instance). Eelco On 6/5/07, Martijn Dashorst [EMAIL

Re: [Wicket-user] DateField in 1.3 extensions doesn't work across Ajax requests

2007-06-05 Thread Eelco Hillenius
I've tested with the modal window, and there it displays fine. Might this be related to http://issues.apache.org/jira/browse/WICKET-618? Eelco On 6/5/07, Aaron Hiniker [EMAIL PROTECTED] wrote: The calendar refuses to display unless it is a fresh page load. AJAX updates cause the calendar

[Wicket-user] Want return key to click button in autocomplete behavior

2007-06-05 Thread Jonathan Locke
I've got an autocomplete text field nested inside a larger form. When you click add next to the field, it adds what you've completed to a list that is submitted when the overall form is submitted. Would like to figure out how to make pressing the return key in the field (when there is no

Re: [Wicket-user] Best Practices for accessing/repainting sibling/cousin components?

2007-06-05 Thread Matej Knopp
TBH I don't see this as a very common usecase. And it's not difficult to implement on your own (although the code isn't entirely trivial). -Matej On 6/5/07, Eelco Hillenius [EMAIL PROTECTED] wrote: That looks like a lot of work actually. Johan, others, you think we should build in better

Re: [Wicket-user] wicket:message for attributes?

2007-06-05 Thread Eelco Hillenius
See org.apache.wicket.markup.html.basic.SimplePageTest and org.apache.wicket.markup.parser.filter.WicketMessageTagHandler. From that test: html xmlns:wicket body wicket:message key=myKeyNotExstsDefault Text/wicket:message wicket:message key=myKeyDefault Text/wicket:message wicket:message

Re: [Wicket-user] wicket:message for attributes?

2007-06-05 Thread Juergen Donnerstag
Please see the javadoc for WicketMessageTagHandler Juergen On 6/5/07, Jonathan Locke [EMAIL PROTECTED] wrote: Is there something like wicket:message for localizing attributes like title tooltips? I looked on the WIKI but there wasn't anything there. -- View this message in context:

[Wicket-user] wicket:message for attributes?

2007-06-05 Thread Jonathan Locke
Is there something like wicket:message for localizing attributes like title tooltips? I looked on the WIKI but there wasn't anything there. -- View this message in context: http://www.nabble.com/wicket%3Amessage-for-attributes--tf3874468.html#a10978311 Sent from the Wicket - User mailing list

[Wicket-user] wickettester failures

2007-06-05 Thread Ryan Sonnek
I could use a little help here. I'm trying to write a unit test for my component in wicketstuff-scriptaculous. The test runs in eclipse just fine, but running mvn test causes a build failure. What is the correct way to test this? public class AjaxEditInPlaceLabelTest extends TestCase {

Re: [Wicket-user] DateField in 1.3 extensions doesn't work across Ajax requests

2007-06-05 Thread Aaron Hiniker
Yes.. the DateField component renders javascript to Head... so it appears this RFE is related to my problem as well. Aaron Eelco Hillenius wrote: I've tested with the modal window, and there it displays fine. Might this be related to http://issues.apache.org/jira/browse/WICKET-618? Eelco

Re: [Wicket-user] Parameter access at Page creation not consistent with request object

2007-06-05 Thread mchack
Check this out. http://www.nabble.com/Mounted-pages-and-page-parameters-tf1626704.html#a4407375 Wicket does encode path names (pairs) as parameters. Check the second post in the link above. Kent Tong wrote: mchack mchack at cisco.com writes: I am trying to gain access to the value pair,

Re: [Wicket-user] wickettester failures

2007-06-05 Thread James McLaughlin
Hi Ryan, I don't think you can test it like that unless you have a default constructor, and even then I don't think it will work (I'm a bit spotty on this). What I have always done is this: tester.startPanel(new TestPanelSource () { Panel getTestPanel(final String panelId) {

[Wicket-user] editable tree table and select lists

2007-06-05 Thread NYSophia
Is it possible to put select lists inside an editable tree table? -- View this message in context: http://www.nabble.com/editable-tree-table-and-select-lists-tf3875441.html#a10981204 Sent from the Wicket - User mailing list archive at Nabble.com.

Re: [Wicket-user] wickettester failures

2007-06-05 Thread Eelco Hillenius
What is the failure stack trace when you execute it in maven? Eelco On 6/5/07, Ryan Sonnek [EMAIL PROTECTED] wrote: I could use a little help here. I'm trying to write a unit test for my component in wicketstuff-scriptaculous. The test runs in eclipse just fine, but running mvn test causes

[Wicket-user] Dynamic-sized, sorted table

2007-06-05 Thread Michael Irani
I'm putting together a table with a dynamic number of columns. Making use of DataTable for the table and a SortableDataProvider as the data provider. The problem I'm running into is that underneath I can't use a simple POJO to setup the data structure, since there is no predefined structure for

Re: [Wicket-user] wicket did not make the grade.

2007-06-05 Thread Timo Rantalaiho
On Tue, 05 Jun 2007, Florian Hehlen wrote: Well how about simply binding a DataView to a the Model and assume that for all wicket:id in the html template I should find a getter method in the bean? This sounds like a CompoundPropertyModel in use

Re: [Wicket-user] Parameter access at Page creation not consistent with request object

2007-06-05 Thread Kent Tong
mchack mchack at cisco.com writes: Check this out. http://www.nabble.com/Mounted-pages-and-page-parameters-tf1626704.html#a4407375 Wicket does encode path names (pairs) as parameters. Check the second post in the link above. Yes it does and the params are indeed made available in

Re: [Wicket-user] Dynamic-sized, sorted table

2007-06-05 Thread Timo Rantalaiho
On Tue, 05 Jun 2007, Michael Irani wrote: I'm putting together a table with a dynamic number of columns. Making use of DataTable for the table and a SortableDataProvider as the data provider. The problem I'm running into is that underneath I can't use a simple POJO to setup the data

Re: [Wicket-user] wicket did not make the grade.

2007-06-05 Thread JonLaidler
Sorry to hear that. I would be interested to hear how many companies are usng Wicket, and how many of those companies switched to Wicket from other frameworks. Personally, I think Wicket is the best framework I have come across. True separation of concerns is the mantra we should use when asked

Re: [Wicket-user] Parameter access at Page creation not consistent with request object

2007-06-05 Thread Eelco Hillenius
Maybe you can just keep a reference to the PageParameters in the constructor and then use it later. We're actually thinking about whether we should keep a reference to page parameters in the request cycle once it is passed in a page constructor (so the relevant page constructor would set it on