[Wicket-user] how about the preformance of wicket?

2005-06-18 Thread
Does anybody compare it with tapestry? --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get

[Wicket-user] An exception occurs

2005-06-17 Thread
wicket.WicketRuntimeException: Unable to find static resource [path = eshop/wicket/component/image/logo.gif, style = null, locale = zh_CN] what's wrong with my code??? public class BasicShop extends CustomWebPage { private ShopService shopService; private FileUploadBean uploadBea

Re: Re: [Wicket-user] how do i product a validation error manually?

2005-06-17 Thread
Phil Kulak, thanks ;-) === 2005-06-18 09:11:21 :=== >Component.error(). > >On 6/17/05, 叶卫国 <[EMAIL PROTECTED]> wrote: >> I need to validate my upload field in code, how to do it? >> >> >> >> ---

[Wicket-user] how do i product a validation error manually?

2005-06-17 Thread
I need to validate my upload field in code, how to do it? --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everythi

Re: Re: [Wicket-user] a hibernate exception...

2005-06-17 Thread
gt; >And tommorrow morning I fly to denver, where I will spend a week hiking >etc in the mountains, so I'll be cut off from internet access. > >So, I hope my dear project collegues will take a look at your problem. > >I'll be back on-line the 25th. > >See ya, > &

Re: Re: [Wicket-user] a hibernate exception...

2005-06-17 Thread
{ if (context == null) context = WebApplicationContextUtils.getWebApplicationContext(getWicketServlet() .getServletContext()); return context.getBean(beanName); } } === 2005-06-17 22:50

Re: Re: [Wicket-user] a hibernate exception...

2005-06-17 Thread
ernateObjectModel from >wicket-contrib-data-hibernate-xx for an example. > >Eelco > > >叶卫国 wrote: > >>Eelco Hillenius, >> >> The 'ONE_PASS_RENDER' strategy can not work too, why...? >> >>=== 2005-06-17 21:44:11 :=== >&g

Re: Re: [Wicket-user] a hibernate exception...

2005-06-17 Thread
first place, and REDIRECT_TO_BUFFER (currently the default) is >more efficient. > >Eelco >. > >叶卫国 wrote: > >>Eelco Hillenius, >> >> Yes... I use 'REDIRECT_TO_RENDER' strategy, I change it to >> 'REDIRECT_TO_BUFFER', it' ok >

Re: Re: [Wicket-user] a hibernate exception...

2005-06-17 Thread
bject in the action part of the request, and >render that object in the render part (which is a seperate request). See >also the javadocs in ApplicationSettings. > >Eelco > > >叶卫国 wrote: > >>Caused by: org.hibernate.LazyInitializationException: could not initialize >

Re: Re: [Wicket-user] a hibernate exception...

2005-06-17 Thread
ms with Hibernate session, >as you might load an object in the action part of the request, and >render that object in the render part (which is a seperate request). See >also the javadocs in ApplicationSettings. > >Eelco > > >叶卫国 wrote: > >>Caused by: org.hibe

[Wicket-user] a hibernate exception...

2005-06-17 Thread
Caused by: org.hibernate.LazyInitializationException: could not initialize proxy - the owning Session was closed I use wicket+spring+hibernate. this is the code snippet: public class NewsDAOHibernate extends HibernateDaoSupport implements NewsDAO { public void add(News news) { supe

Re: Re: [Wicket-user] Does wicket-stuff Spring Integration project have anexample?

2005-06-16 Thread
Juergen Donnerstag,您好! 3Q~~~ === 2005-06-16 13:22:04 您在来信中写道:=== >see project wicket-stuff module wicket-contrib-pring-exampes > >Juergen > >On 6/16/05, 叶卫国 <[EMAIL PROTECTED]> wrot

[Wicket-user] Does wicket-stuff Spring Integration project have an example?

2005-06-15 Thread
i can't find it --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http

Re: Re: [Wicket-user] Can change the time format to "H:mm"?

2005-06-01 Thread
here at the botton of the file). >> >> Also, maybe we could fix the locale to e.g. the US for unit tests? >> >> Eelco >> >> >> >> 叶卫国 wrote: >> >>> Eelco Hillenius, >>> >>> :-) I mean when i compile wicket b

Re: Re: [Wicket-user] Can change the time format to "H:mm"?

2005-06-01 Thread
Eelco Hillenius, :-) I mean when i compile wicket by maven, the junit test can not pass === 2005-06-01 20:19:37 :=== >Use custom converters. Please take a look at the Wiki article: >http://wicket.sourceforge.net/wiki/index.php/Using_custom_converters > >Eelco &g

[Wicket-user] Can change the time format to "H:mm"?

2005-06-01 Thread
It's inconvenient to change locale frequently. --- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Application

[Wicket-user] Can i download the source code of wicket libr

2005-05-28 Thread
I'll try to study it :-) --- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://devel

Re: Re: [Wicket-user] [the output encoding of wicket] i found the bug

2005-05-28 Thread
the doGet method? > >So that we can see the char encoding it uses (request encoding is at my >place always null) > >Johan > > > > > >叶卫国 wrote: > >>When i change default render strategy from >>default(ApplicationSettings.REDIRECT_TO_BUFFER) to >

[Wicket-user] [report a bug] The encoding of UploadForm

2005-05-26 Thread
The UploadForm class doesn't consider the encoding of request... Can anybody fix it??? this is the code snippet form Tapestry: public void decode(HttpServletRequest request) { Map partMap = new HashMap(); request.setAttribute(PART_MAP_ATTRIBUTE_NAME, partMap);

Re: Re: [Wicket-user] [the output encoding of wicket] i found the bug

2005-05-23 Thread
ying something else so i was confused:yes, the result of EDIRECT_TO_RENDER is the same as REDIRECT_TO_BUFFERBut you only have a problem when you use to_buffer the other 2 are working fine.I will test this.johan 叶卫国 wrote: Johan Compagner    emm,

[Wicket-user] [report a bug] The encoding of UploadForm

2005-05-23 Thread
The UploadForm class doesn't consider the encoding of request... Can anybody fix it??? this is the code snippet form Tapestry public void decode(HttpServletRequest request) { Map partMap = new HashMap(); request.setAttribute(PART_MAP_ATTRIBUTE_NAME, partMap);

Re: Re: [Wicket-user] [the output encoding of wicket] i found the bug

2005-05-23 Thread
t is REDIRECT_TO_RENDERwe changed it to REDIRECT_TO_BUFFERso it is somehow something else.johan叶卫国 wrote: Johan Compagner, yes, the result of EDIRECT_TO_RENDER is the same as REDIRECT_TO_BUFFER === 2005-05-23 21:54:55 :=== that is puzzling!

Re: Re: [Wicket-user] [the output encoding of wicket] i found the bug

2005-05-23 Thread
.. >Is then the redirect not sending the same encoding it wants then the >first time?? > >johan > > >叶卫国 wrote: > >>When i change default render strategy from >>default(ApplicationSettings.REDIRECT_TO_BUFFER) to >>ApplicationSettin

Re: Re: Re: [Wicket-user] maven jar:install-snapshot error

2005-05-23 Thread
_ >Wicket-user mailing list >Wicket-user@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/wicket-user = = = = = = = = = = = = = = = = = = = = 叶卫国 [EMAIL PROTECTED]   2005-05-23

Re: Re: Re: [Wicket-user] maven jar:install-snapshot error

2005-05-23 Thread
/?ad_idt12&alloc_id344&op=click >___ >Wicket-user mailing list >Wicket-user@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/wicket-user = = = = = = = = = = = = = = = = = = = =

Re: Re: Re: [Wicket-user] maven jar:install-snapshot error

2005-05-23 Thread
gt;Wicket-user mailing list >Wicket-user@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/wicket-user = = = = = = = = = = = = = = = = = = = = 叶卫国 [EMAIL PROTECTED]   2005-05-23

Re: Re: [Wicket-user] maven jar:install-snapshot error

2005-05-23 Thread
___ >Wicket-user mailing list >Wicket-user@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/wicket-user = = = = = = = = = = = = = = = = = = = = 叶卫国 [EMAIL PROTECTED]   2005-05-23 N?S^甸?X??%y*Zq浒y?旦?Ф?z?~*於???庄zZ)z抚??I?硅龙+???y*Zq浒y?旦?m???vw(??

Re: Re: [Wicket-user] maven jar:install-snapshot error

2005-05-23 Thread
ce Sweepstakes! >http://ads.osdn.com/?ad_idt12&alloc_id344&op=click >___ >Wicket-user mailing list >Wicket-user@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/wicket-user = = = = = = = = = = = = = = = = = = = =

[Wicket-user] [the output encoding of wicket] i found the bug

2005-05-23 Thread
When i change default render strategy from default(ApplicationSettings.REDIRECT_TO_BUFFER) to ApplicationSettings.ONE_PASS_RENDER //getSettings().setRenderStrategy(ApplicationSettings.ONE_PASS_RENDER) it seems ok, so can anyone fix this bug? --

Re: Re: [Wicket-user] The output encoding of wicket

2005-05-23 Thread
et-user@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/wicket-user = = = = = = = = = = = = = = = = = = = = 叶卫国 [EMAIL PROTECTED]   2005-05-23 N?S^甸?X??%y*Zq浒y?旦?Ф?z?~*於???庄zZ)z抚??I?硅龙+???y*Zq浒y?旦?m???vw(??

[Wicket-user] maven jar:install-snapshot error

2005-05-23 Thread
java:jar-resources: test:prepare-filesystem: test:test-resources: test:compile: test:test: [junit] Running wicket.ApplicationSettingsTest [junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.453 sec [junit] Running wicket.AttributeModifierComponentTest [junit] Tests run

Re: Re: [Wicket-user] The output encoding of wicket

2005-05-23 Thread
takes! >http://ads.osdn.com/?ad_idt12&alloc_id344&op=click >___ >Wicket-user mailing list >Wicket-user@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/wicket-user = = = = = = = = = = = = = = = = = = = = 叶卫国 [EMAIL PROTECTED]   2005-05-23 N?S^甸?X??%y*Zq浒y?旦?Ф?z?~*於???庄zZ)z抚??I?硅龙+???y*Zq浒y?旦?m???vw(??

Re: Re: [Wicket-user] The output encoding of wicket

2005-05-23 Thread
! >http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click >___ >Wicket-user mailing list >Wicket-user@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/wicket-user = = = = = = = = = = = = = = = = = = = = 叶卫国 [EMAIL PROTECTED]   2005-05-23

Re: Re: [Wicket-user] The output encoding of wicket

2005-05-22 Thread
Eelco Hillenius, I clear my browser cache, but this issue still occurs... === 2005-05-23 14:13:57 :=== >Sounds like a browser caching issue to me. Could you please retry after >clearing your browser cache? > >Eelco > > >叶卫国 wrote: > >>i replace the

[Wicket-user] The output encoding of wicket

2005-05-22 Thread
i replace the jar file with wicket-1.0.0-rc3.jar from wicket-1.0.0-rc2.jar, the output encoding of my page is error, a lot of ??? dispalyed. when i refresh it twice, the output is correct! --- This SF.Net email is sponsored by Oracle Spac

Re: Re: [Wicket-user] Wicket 1.0 RC3 is out!

2005-05-22 Thread
Martijn Dashorst Yes, it's my email header and footer. Wicket is simple and funny, i like it. I think Wicket is on the right way to the future web framework, so i hope wicket can become better and better :-) --- This SF.Net email is

Re: [Wicket-user] Wicket 1.0 RC3 is out!

2005-05-22 Thread
r the Oracle Space Sweepstakes! >http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click >___ >Wicket-user mailing list >Wicket-user@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/wicket-user = = = = = = = = = = = = = = = = = = = =

Re: Re: [Wicket-user] the order of feeback messages

2005-05-21 Thread
r.indexOf(m2.getReporter()); >return ix1 - ix2; >} >}); > >I have attached the complete example (an altered version of InputForm >which I am not going to check in) to this email. > >Good luck, > >Eelco > > >叶卫国 wrote: > >>Eelco Hillenius,您好! >> >&g

Re: Re: [Wicket-user] the order of feeback messages

2005-05-21 Thread
markup. And even if >you did, by using CSS, the order could be even different from what is in >your markup. > >So, I'm afraid you have to do any sorting this manually, which means >that you have to keep track of the order as you want it somewhere. > >Regards, > >E

Re: Re: Re: [Wicket-user] the order of feeback messages

2005-05-21 Thread
叶卫国,您好! or set the order when rendering === 2005-05-21 20:17:55 您在来信中写道:=== >Eelco Hillenius,您好! > > the order of component can increase automatically when added, this > is the default behavior, and user can still set it manually: >

Re: Re: [Wicket-user] the order of feeback messages

2005-05-21 Thread
to do any sorting this manually, which means >that you have to keep track of the order as you want it somewhere. > >Regards, > >Eelco > > > >叶卫国 wrote: > >>Eelco Hillenius,您好! >> >> Adding a sort() method is flexible, but how to sort b

Re: Re: [Wicket-user] the order of feeback messages

2005-05-21 Thread
.net >https://lists.sourceforge.net/lists/listinfo/wicket-user = = = = = = = = = = = = = = = = = = = = 致 礼! 叶卫国 [EMAIL PROTECTED]   2005-05-21

Re: Re: [Wicket-user] how to redirect to another page?

2005-05-21 Thread
> >setResponsePage(new RedirectPage("http://www.theserverside.com";)); > >Eelco > > >叶卫国 wrote: > >> :-p >> >> >> >>--- >>This SF.Net email is sponsored by Oracle Space Sweepsta

[Wicket-user] how to redirect to another page?

2005-05-21 Thread
:-p --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click __

[Wicket-user] page expired when i restart jetty

2005-05-20 Thread
When i restart jetty in eclipse, display this message: Page Expired The page you requested has expired. Return to home page why? and how to avoid it? thanks --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first

[Wicket-user] [a suggest] the suffix and prefix of RadioChoice Component

2005-05-20 Thread
if i want to change the suffix and/or prefix of RadioChoice, i must subclass RadioChoice. it seems better by using setter/getter method. public class RadioChoice { private String suffix = ""; private String prefix = ""; public String getSuffix() {

Re: Re: [Wicket-user] the order of feeback messages

2005-05-17 Thread
= = = = = = = = = = = = = = = = 致 礼! 叶卫国 [EMAIL PROTECTED]   2005-05-17 N?S^甸?X??%y*Zq浒y?旦?Ф?z?~*於???庄zZ)z抚??I?硅龙+???y*Zq浒y?旦?m???vw(??

[Wicket-user] Use List or Map for RadioChocie?

2005-05-17 Thread
wicket implements RadioChoice by List, but the value and output of option is usually different... --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space

Re: [Wicket-user] how can i contribute to wicket?

2005-05-16 Thread
software developer in space? >Enter now for the Oracle Space Sweepstakes! >http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click >___ >Wicket-user mailing list >Wicket-user@lists.sourceforge.net >https://lists.sourceforge.net/li

[Wicket-user] how can i contribute to wicket?

2005-05-16 Thread
how can i contribute to wicket? My english is poor... --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&

[Wicket-user] How to escape string? wicket.util.string.Strings.escapeMarkup

2005-05-16 Thread
it seems that wicket.util.string.Strings.escapeMarkup method does not escape " and ', so when i input a " or ', the display is error. who can fix it? thanks. public static String escapeMarkup(final String s, final boolean escapeSpaces) { if (s == null)

[Wicket-user] When can wicket 1.0 be released?

2005-05-13 Thread
waiting ... --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click _

Re: [Wicket-user] the order of feeback messages

2005-05-13 Thread
???庄zZ)z抚??I?硅龙+???y*Zq浒y?旦?m???vw(???咻?Z?5?5??$Z'$z郜z???X?h??标玷悍~?zw?X?襄?b???$z郜z = = = = = = = = = = = = = = = = = = = = 致 礼! 叶卫国 [EMAIL PROTECTED]   2005-05-13

Re: [Wicket-user] the order of feeback messages

2005-05-13 Thread
???庄zZ)z抚??I?硅龙+???y*Zq浒y?旦?m???vw(???咻?Z?5?5??$Z'$z郜z???X?h??标玷悍~?zw?X?襄?b???$z郜z = = = = = = = = = = = = = = = = = = = = 致 礼! 叶卫国 [EMAIL PROTECTED]   2005-05-13

[Wicket-user] [report a bug] the double quotation mark problem!

2005-05-13 Thread
hi, when i input a double quotation mark in the text field and submit the form, the display is error. e.g. input: just a "test output: just a \ Does the text filed not escape the html special chars? [EMAIL PROTECTED]   2005-05-13

[Wicket-user] the order of feeback messages

2005-05-12 Thread
hi, i use FeebackPanel to display the validation result, and i find it strange that the order of feeback messages is not the same as that of form fields [EMAIL PROTECTED]   2005-05-13

Re: Re: [Wicket-user] Does wicket support client validation?

2005-05-12 Thread
Juergen Donnerstag,您好! FeebackPanel class is final, it can not be extended... === 2005-05-01 15:18:15 您在来信中写道:=== >On 5/1/05, 叶卫国 <[EMAIL PROTECTED]> wrote: >> i can't find anything about it... :) > >client validation means javascript and thus we fel

[Wicket-user] Is there an example for RadioChoice?

2005-04-30 Thread
I can't use it, thanks~ --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 pla

[Wicket-user] [a suggestion] Add a required property to all form validator

2005-04-30 Thread
Say that my form has a field for fax, it's not required, but when user input something, it must be a valid fax number. what can i do? --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your bes

[Wicket-user] Does wicket support client validation?

2005-04-30 Thread
i can't find anything about it... :) and how can i change the template of FeebackPanel? --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win bi

Re: Re: [Wicket-user] Re: Re: Re: Re: [bug report] character encoding goes wrong when a form is submited!

2005-04-27 Thread
er >> encodings are different then we may not be forcing the correct encoding to >> occur. >> >> To test, try changing the character encoding of your browser (Tools -> >> Options -> General -> Languages on Firefox) and then try and submit the same >> dat

[Wicket-user] [not a bug] character encoding goes wrong when a form is submited!

2005-04-27 Thread
I solved the problem by adding a character encoding filter in web.xml So porobably this is not a bug, but i think maybe wicket can do it better. At first, i want to call the HttpServletRequest.setCharacterEncoding method to change the encoding of request, but it's difficult because i can n

Re: Re: [Wicket-user] Re: Re: Re: Re: [bug report] character encoding goes wrong when a form is submited!

2005-04-27 Thread
x) and then try and submit the same >> data. >> >> >> >> > >> > >> > Strange, it works for me too (I added your name as a cd)... >> > What browser do you use? And do you see your name (叶卫国, >> > right?) in the list of c

Re: Re: [Wicket-user] Re: Re: Re: Re: [bug report] character encoding goes wrong when a form is submited!

2005-04-27 Thread
er >> encodings are different then we may not be forcing the correct encoding to >> occur. >> >> To test, try changing the character encoding of your browser (Tools -> >> Options -> General -> Languages on Firefox) and then try and submit the same >> dat

[Wicket-user] I can't receive email too.

2005-04-27 Thread
hope it will be good soon. --- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start!

[Wicket-user] Re: Re: Re: Re: [bug report] character encoding goes wrong when a form is submited!

2005-04-27 Thread
So many thanks. I add an cd entry at contrib-example http://www.wicket-library.com/wicket-contrib-examples. (the entry id is 19) But it is a pity that it's still abnormal. :-( --- SF.Net email is sponsored by: Tell us your software developme

[Wicket-user] Re: Re: [bug report] character encoding goes wrong when a form is submited!

2005-04-26 Thread
My Input: \u8c22\u8c22 Output: \u8c55\uff5e\u25b3\u8c55\uff5e\u25b3 --- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a

[Wicket-user] Re: [bug report] character encoding goes wrong when a form is submited!

2005-04-26 Thread
Thanks for you reply :-) My Input: \u8c22\u8c22 Output: 谢谢

[Wicket-user] Re: [bug report] character encoding goes wrong when a form is submited!

2005-04-26 Thread
Thanks for your reply :-) My input: \u8c22\u8c22 The Output: 谢谢

[Wicket-user] [bug report] character encoding goes wrong when a form is submited!

2005-04-26 Thread
hi, When i input some chinese characters and then submit the form, the field text becomes badly encoded. thanks! --- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to