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.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
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?
>>
>>
>>
>> ---
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
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,
>
&
{
if (context == null)
context =
WebApplicationContextUtils.getWebApplicationContext(getWicketServlet()
.getServletContext());
return context.getBean(beanName);
}
}
=== 2005-06-17 22:50
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
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
>
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
>
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
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
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
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
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
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
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
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
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
>
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);
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,
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);
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!
..
>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
_
>Wicket-user mailing list
>Wicket-user@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/wicket-user
= = = = = = = = = = = = = = = = = = = =
叶卫国
[EMAIL PROTECTED]
2005-05-23
/?ad_idt12&alloc_id344&op=click
>___
>Wicket-user mailing list
>Wicket-user@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/wicket-user
= = = = = = = = = = = = = = = = = = = =
gt;Wicket-user mailing list
>Wicket-user@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/wicket-user
= = = = = = = = = = = = = = = = = = = =
叶卫国
[EMAIL PROTECTED]
2005-05-23
___
>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(??
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
= = = = = = = = = = = = = = = = = = = =
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?
--
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(??
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
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(??
!
>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
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
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
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
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
= = = = = = = = = = = = = = = = = = = =
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
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
叶卫国,您好!
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:
>
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
.net
>https://lists.sourceforge.net/lists/listinfo/wicket-user
= = = = = = = = = = = = = = = = = = = =
致
礼!
叶卫国
[EMAIL PROTECTED]
2005-05-21
>
>setResponsePage(new RedirectPage("http://www.theserverside.com";));
>
>Eelco
>
>
>叶卫国 wrote:
>
>> :-p
>>
>>
>>
>>---
>>This SF.Net email is sponsored by Oracle Space Sweepsta
:-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
__
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
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() {
= = = = = = = = = = = = = = = =
致
礼!
叶卫国
[EMAIL PROTECTED]
2005-05-17
N?S^甸?X??%y*Zq浒y?旦?Ф?z?~*於???庄zZ)z抚??I?硅龙+???y*Zq浒y?旦?m???vw(??
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
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
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&
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)
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
_
???庄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
???庄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
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
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
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
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
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
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
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
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
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
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
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!
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
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
Thanks for you reply :-)
My Input: \u8c22\u8c22
Output: 谢谢
Thanks for your reply :-)
My input: \u8c22\u8c22
The Output: 谢谢
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
70 matches
Mail list logo