Why TD can't include background attribute in html template?

2007-08-22 Thread smithfox
I'm a wicket beginner, Yesterday, I find a problem, but I can't sure it is a wicket1.3beta2 bug If you write a td with a background attribute, all wicket:id after the td will can't be recognized. My html template is a simple form. UTF-8 -- View this message in context:

Re: DownloadLink hanging

2007-08-22 Thread Igor Vaynberg
you can register a shared resource and build a url for it. inside shared resource you can simply call Session.get() to get to wicket session. see application.getsharedresources(); alternatively you can extend WicketSessionFilter which will also allow you to perform Session.get() -igor On

Re: How to set wicket's locale?

2007-08-22 Thread Johan Compagner
then you browser tells wicket that it should use English . But you can set it yourself: Session.setLocale() johan On 8/22/07, smithfox [EMAIL PROTECTED] wrote: I used RequiredTextField, when the field is empty, the feedback show some meesage in English, How to change it to Chinese. --

Re: How to set wicket's locale?

2007-08-22 Thread Eelco Hillenius
On 8/21/07, Johan Compagner [EMAIL PROTECTED] wrote: then you browser tells wicket that it should use English . But you can set it yourself: Session.setLocale() Or if for instance you want to fix the locale to always use a certain one, use a custom session and set the locale it's constructor.

Re: keyboard shortcuts in wicket ?

2007-08-22 Thread Nino Saturnino Martinez Vazquez Wael
Hi I once started a wicket stuff contrib, called wicket input events. Which were gonna be all about input events like mouse events and key events. It never got that far because I didnt really needed it. Some of the basic infra structure in the project should be ready I think but its not in

Re: How to set wicket's locale?

2007-08-22 Thread smithfox
I have solved the problem with your help.:jumping: Thanks But I must set locale in every Page java class. Is there a uniform configuration to set it? Eelco Hillenius wrote: On 8/21/07, Johan Compagner [EMAIL PROTECTED] wrote: then you browser tells wicket that it should use English . But

Re: HeaderContributor for conditional comments

2007-08-22 Thread Rüdiger Schulz
2007/8/22, Matej Knopp [EMAIL PROTECTED]: Just beware that while conditional comments will work on regular request, they will not work during ajax header contribution. Ok, good to know. Actually I want this just for the regular CSS. Also I don't understand what you mean by I'd like to serve

Re: Does anyone develop Wicket app using IRAD and Websphere

2007-08-22 Thread Martijn Dashorst
Or use WicketServlet implementation instead of the WicketFilter. Martijn On 8/22/07, Sean Sullivan [EMAIL PROTECTED] wrote: I had some problems running Wicket 1.3 in Websphere 6.0 Websphere 6.x had some servlet filter bugs that affected Wicket. You should try upgrading to a newer version of

unknown Exception how to solve

2007-08-22 Thread fhagen
Hi, in my app i have a RefreshingView that gets a label an a TextField subclass MyAjaxTextField. form wicket:id=form table cellspacing=0 class=dataview tr thBeschreibung/th th2004/th /tr tr wicket:id=simple tdspan

wicket vs tapestry ?

2007-08-22 Thread Alex Shneyderman
I just started to look for a component based framework. I came across both tapestry and wicket (and it would be hard not to as you guys share the same host) but I kind of fail to see what the differences are? From my limited experiments with both, wicket and tapestry seem to be quite similar. So,

Re: wicket vs tapestry ?

2007-08-22 Thread Eelco Hillenius
On 8/22/07, Alex Shneyderman [EMAIL PROTECTED] wrote: I just started to look for a component based framework. I came across both tapestry and wicket (and it would be hard not to as you guys share the same host) but I kind of fail to see what the differences are? From my limited experiments

Re: Ajax progressbar

2007-08-22 Thread Xavier Hanin
On 8/22/07, Martin Bednář [EMAIL PROTECTED] wrote: Hi, Are there some sample how to implement progressbar that react on state during long runing request ? In xooctory we have implemented a progress bar with an estimated time of achievement and reacting when a job is over using

Re: wicket vs tapestry ?

2007-08-22 Thread Swaroop Belur
Hi I have been using wicket for quite some time now. Prior to this I worked on tapestry for a short time . (In fact i implemented the same pages which i did in tapestry in wicket also) I may not be able to give you the right answer but i can definitely say this the learning curve in tapestry

How to retrieve previous path when page expires through Ajax call

2007-08-22 Thread Alfred Chan
I would like to redirect the user to his/her previous visiting page in case of the session expiration. So, I wrote a customized expired error page to do so. public class ExpireRedirectPreviousPage extends WebPage { private static final long serialVersionUID = 1L; public

Re: wicket vs tapestry ?

2007-08-22 Thread Johan Compagner
i think igor has some more info... On 8/22/07, Alex Shneyderman [EMAIL PROTECTED] wrote: I just started to look for a component based framework. I came across both tapestry and wicket (and it would be hard not to as you guys share the same host) but I kind of fail to see what the differences

Re: wicket vs tapestry ?

2007-08-22 Thread Eelco Hillenius
Eelco Hillenius wrote: You can download the first chapter of Wicket In Action for free here: http://manning.com/dashorst/ and some chapters of Tapestry In Action Wow, Wicket In Action, we're all were waiting for it :-) Is this early access edition mature enough to buy or it's better to

Re: keyboard shortcuts in wicket ?

2007-08-22 Thread Eelco Hillenius
On 8/21/07, Nino Saturnino Martinez Vazquez Wael [EMAIL PROTECTED] wrote: Hi I once started a wicket stuff contrib, called wicket input events. Which were gonna be all about input events like mouse events and key events. It never got that far because I didnt really needed it. Nothing beats

RE: wicket vs tapestry ?

2007-08-22 Thread Chris Colman
Hi Eelco, I saw you mention Hibernate in the intro but I've been using JPOX with great success with Wicket also. You might want to mention that in the book or new comers might think Wicket is a Hibernate only framework. I use JPOX through the open source exPOJO (shameless plug! www.expojo.com)

Re: Why TD can't include background attribute in html template?

2007-08-22 Thread smithfox
The zip file is my project zip ball http://www.nabble.com/file/p12271290/wicket_test.zip wicket_test.zip Martin Funk-3 wrote: smithfox schrieb: I'm a wicket beginner, Yesterday, I find a problem, but I can't sure it is a wicket1.3beta2 bug If you write a td with a background

Object Container, adding Flash to a Wicket Application

2007-08-22 Thread Jan Kriesten
Hi, just added this: http://cwiki.apache.org/confluence/display/WICKET/Object+Container%2C+adding+Flash+to+a+Wicket+Application It would be great if someone could review this. Best regards, --- Jan. - To unsubscribe,

Component Factory and code against interface

2007-08-22 Thread Sam Hough
Would it make sense in Wicket to have a factory, for at least common components like Button etc, that use interfaces rather than concrete classes in their signature? We have a requirement to have two target browsers. Full bells and whistles Ajax version and some JavaScript (IE5 and IE5.5) so I

ModalWindo problem

2007-08-22 Thread Artur W.
Hi, When I click on link that should open Modal Window nothing happend. In Debug console I see there is an error: INFO: focus set on notesLink16 INFO: INFO: Initiating Ajax GET request on ../?wicket:interface=:1:orders:88490:orderRow:notesLink::IBehaviorListener:0:1random=0.32370293915212345

Re: ModalWindow problem

2007-08-22 Thread Sam Hough
Do you have an element with id content111? -- View this message in context: http://www.nabble.com/ModalWindo-problem-tf4311370.html#a12273905 Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe,

Re: ModalWindow problem

2007-08-22 Thread Artur W.
Sam Hough wrote: Do you have an element with id content111? No, I don't have. I don't know where it comes from. My code looks like this: ModalWindow modal = new ModalWindow(orderNotes); add(modal); modal.setContent(new ModalPanel(modal.getContentId())); modal.setTitle(This is modal

Re: Why TD can't include background attribute in html template?

2007-08-22 Thread smithfox
Thank you for reporting the bug. But I test following code is OK, Anbody can do more test under my project codes. form table trtd background=images/abc.png/td/tr /table /form For duplicating the bug: I think the form should have tow layer nested tables and the better add some Chinese text :)

Re: ModalWindow problem

2007-08-22 Thread Sam Hough
Did you copy the: result.setOutputMarkupId(true); bit? I think the Ajax callback uses this to find elements. Normally blows up at render time if not set. -- View this message in context: http://www.nabble.com/ModalWindo-problem-tf4311370.html#a12274319 Sent from the Wicket - User mailing

Re: ModalWindow problem

2007-08-22 Thread Artur W.
Sam Hough wrote: Did you copy the: result.setOutputMarkupId(true); bit? I think the Ajax callback uses this to find elements. Normally blows up at render time if not set. I don't have result label. I just want to open modal window. I don't need to return any results. Artur --

Archetype - how do I use it?

2007-08-22 Thread Alex Shneyderman
I downloaded the wicket source and compiled it and installed it in the local m2 repo. Now I wanted to create a fresh project and doing this: [EMAIL PROTECTED]:~/wicket$ mvn archetype:create \ -DgroupId=org.gricket \ -DartifactId=sample \ -Dversion=1.0-SNAPSHOT \

Re: Archetype - how do I use it?

2007-08-22 Thread Al Maw
Hi, You stop making so many typos... - -DarchetypVersion=1.0.3-SNAPSHOT + -DarchetypeVersion=1.3.0-SNAPSHOT Al Alex Shneyderman wrote: I downloaded the wicket source and compiled it and installed it in the local m2 repo. Now I wanted to create a fresh project and doing this: [EMAIL

Re: ModalWindow problem

2007-08-22 Thread Sam Hough
maybe try setting setOutputMarkupId(true) on your ModalWindow? In the source it uses its own content id to give to the getElementById bit... So if that Id is not in your response that could be the problem. Bit dodgy that it resends that element then immediately wants to get the element. Not

Expanding a tree node conditionally

2007-08-22 Thread swaroop belur
Hi all I am using wicket.markup.html.tree.Tree of wicket version 1.2.4 to build my tree. I basically would like to run thru the nodes and if the value of node statisifes a condition, I would like to expand that node. I am not sure which method will work for me. Also i am aware of the children

Re: Expanding a tree node conditionally

2007-08-22 Thread Al Maw
swaroop belur wrote: I am using wicket.markup.html.tree.Tree of wicket version 1.2.4 to build my tree. I basically would like to run thru the nodes and if the value of node statisifes a condition, I would like to expand that node. Tree#getTreeState().expandNode(foo); Al -- Alastair Maw

Re: Archetype - how do I use it?

2007-08-22 Thread Alex Shneyderman
Naah, that is not the problem. Maven suck, I keep getting positive re-inforcement of this :-) The funny thing is the artifact is three so even if I follow their stupid instructions I will still get nowhere :-( [EMAIL PROTECTED]:~/wicket$ mvn archetype:create \ -DgroupId=org.gricket \

Re: wicket vs tapestry ?

2007-08-22 Thread Eelco Hillenius
On 8/22/07, Chris Colman [EMAIL PROTECTED] wrote: Hi Eelco, I saw you mention Hibernate in the intro but I've been using JPOX with great success with Wicket also. You might want to mention that in the book or new comers might think Wicket is a Hibernate only framework. I use JPOX through

Re: wicket vs tapestry ?

2007-08-22 Thread Martijn Dashorst
You mean the wicket-phonebook? Martijn -- Wicket joins the Apache Software Foundation as Apache Wicket Apache Wicket 1.3.0-beta2 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.0-beta2/ - To

Re: wicket vs tapestry ?

2007-08-22 Thread Eelco Hillenius
On 8/22/07, Martijn Dashorst [EMAIL PROTECTED] wrote: You mean the wicket-phonebook? Yeah. Eelco - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Does anyone develop Wicket app using IRAD and Websphere

2007-08-22 Thread shumbola
juliez wrote: It's fairly easy to work with Wicket (1.3 beta2) using Jetty as the web server. However, when I tried to do the same thing using IRAD and Websphere, I always got file not found or Error 404. Then I tried to deploy the wicket-examples-1.3.0-beta2.war to Websphere (6.1.0.2

Re: Loading global resources in test?

2007-08-22 Thread Erik Underbjerg
I figured it out. Guess I didn't read the documentation properly afterall. In the documentation for addStringResourceLoader is says: Description copied from interface: IResourceSettings Add a string resource loader to the chain of loaders. If this is the first call to this method

Re: Why TD can't include background attribute in html template?

2007-08-22 Thread Martin Funk
smithfox schrieb: Thank you for reporting the bug. But I test following code is OK, Anbody can do more test under my project codes. form table trtd background=images/abc.png/td/tr /table /form I think the problem comes up when a wicket markup element is surounded by an markup element with

Re: Wicket generates invalid HTML/CSS with ListView

2007-08-22 Thread Igor Vaynberg
already fixed in beta3 -igor On 8/22/07, Edvin Syse [EMAIL PROTECTED] wrote: Hi, I use Wicket 1.3-beta2. When I construct a ListView and setOutputMarkupId(true) on the listItem itself, the constructed id in the HTML-code is only a number. This breaks the CSS 2 standard, that says that

Re: Component Factory and code against interface

2007-08-22 Thread Igor Vaynberg
i dont see why it wouldnt work for you. i know some people who use osgi with wicket did this a while ago and no problems. -igor On 8/22/07, Sam Hough [EMAIL PROTECTED] wrote: Would it make sense in Wicket to have a factory, for at least common components like Button etc, that use interfaces

Re: Wicket Acegi Integration.

2007-08-22 Thread Erik van Oosten
Hi Vincenzo, Someone mentioned the project Swarm on the mailing list some time ago (http://www.nabble.com/forum/ViewPost.jtp?post=10853436framed=y). Since I do not know Swarm I can not advice on which way to go. Regards, Erik. Vincenzo Vitale wrote: Hi, In my project we are using

Custom Error Messages

2007-08-22 Thread Blazeix
Hi, I'm using wicket 1.2.6 and Java 1.5, and I would like to put custom error messages in my application. I used the following lines in my application's init() method this.getApplicationSettings().setInternalErrorPage(ErrorPage.class);

Re: Custom Error Messages

2007-08-22 Thread Ayodeji Aladejebi
In development mode, you will get your error messages, but your custom error pages are loaded in Production mode. so switch to production mode On 8/22/07, Blazeix [EMAIL PROTECTED] wrote: Hi, I'm using wicket 1.2.6 and Java 1.5, and I would like to put custom error messages in my

Re: wicket vs tapestry ?

2007-08-22 Thread Matej Knopp
Hi, 2) I like the back button support. My thinking is that extending Wicket's AJAX integration to also support the back button (somehow) is a must. Virtually everyone who uses Wicket will use it's AJAX functionality. Almost all of these will need solve this problem. Sure would be nice if

Re: wicket vs tapestry ?

2007-08-22 Thread Onno Scheffers
You can download the first chapter of Wicket In Action for free here: http://manning.com/dashorst/ and some chapters of Tapestry In Action here: http://manning.com/lewisship/ Actually, Tapestry in Action is pretty old and covers only Tapestry 3. I would advice downloading chapters 1-4 of

Page and compoenent level feedback are mixing together

2007-08-22 Thread Watter
I've searched for and read a number of threads on using multiple feedback panels on one page. I'm struggling with the same thing, but I haven't seen a response that is directly on point to my problem. We want to have a feedback component on our main page that most of the other pages in the

Re: Page and compoenent level feedback are mixing together

2007-08-22 Thread Igor Vaynberg
you have to create your own custom feedback filter. this is simply how wicket feedback works. it is stored per page, and if you want to filter it you have to do it inside the panel. -igor On 8/22/07, Watter [EMAIL PROTECTED] wrote: I've searched for and read a number of threads on using

Question regarding old post (ResultSet and DataTable)

2007-08-22 Thread dtoffe
Hi !! I've found this old thread: http://www.nabble.com/RE%3A-DataView-%28extensions%29-tf1287013.html#a3423281 I hope this link works OK, just in case I quote here the relevant part: I have come up with my own subclass of DataTable and implementation of IDataProvider to display

Re: Question regarding old post (ResultSet and DataTable)

2007-08-22 Thread Igor Vaynberg
actually idataprovider is more generic then resultset :) -igor On 8/22/07, dtoffe [EMAIL PROTECTED] wrote: Hi !! I've found this old thread: http://www.nabble.com/RE%3A-DataView-%28extensions%29-tf1287013.html#a3423281 I hope this link works OK, just in case I quote here the

Re: Can we do straight print in a java web application?

2007-08-22 Thread Eko S.W.
Thank you very much for the great pointer! Close (or maybe exactly) to what I want is from Joel. The idea is to let the web application act as an ordinary Desktop Application So, seamless working with the printer is a must. I'll report my research on js for pdf as soon as I can. -- Best

Re: Page and compoenent level feedback are mixing together

2007-08-22 Thread Eelco Hillenius
On 8/22/07, Igor Vaynberg [EMAIL PROTECTED] wrote: you have to create your own custom feedback filter. this is simply how wicket feedback works. it is stored per page, and if you want to filter it you have to do it inside the panel. Still, using these filters is a bit clumsy imo. I can see

Re: Question regarding old post (ResultSet and DataTable)

2007-08-22 Thread dtoffe
Uhh, well... yes, you are right. Excuse me but I fail to see how that could help to solve the problem I presented, please keep in mind that I'm not native english speaker and perhaps I'm not using the proper words, I'll try to explain that more precisely. As I said in my

Re: wicket vs tapestry ?

2007-08-22 Thread Onno Scheffers
Unfortunately, that's an assumption that many people make. But say that you're not worried about optimizing and one session means about 100kb (on the high side, as with optimizing in my experience you should be able to bring that to 15-30kb)... That means you can support 10,000 concurrent

Re: Page and compoenent level feedback are mixing together

2007-08-22 Thread Igor Vaynberg
On 8/22/07, Eelco Hillenius [EMAIL PROTECTED] wrote: Improving upon the current situation could work roughly like this: updateFeedback is done post order, and the implementations should mark feedbackmessages as accepted or something (IFeedbackMessageFilter would best be converted to an