I play with wicket example and found that default charset is not configured properly.
In AjaxRequestTarget.respond(final RequestCycle requestCycle) :

    response.setContentType("text/xml"); // this only support  ISO-8859-1

it should change to something like

    response.setContentType("text/xml; charset=" + encoding );

and encoding may read from somewhere to support different charset.
(in my case, I hard-code it as UTF-8 so Chinese charactors rendered properly)

I also tried in IE7 preview 2 and found both Drop down choice example and Tabbed Panel Example are broken. but this is minor since IE7 is still in early beta.


On 2/3/06, Matej Knopp <[EMAIL PROTECTED]> wrote:
Yeah, I've just checked it out. Works like charm.
Test IE5.0+, FF1.5, Opera 8.52.

AWESOME. Excellent work.

-Matej

Eelco Hillenius wrote:
> Again, thanks for that great work Igor!
>
> Eelco
>
>
> On 2/2/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
>> ok i just checked in the refactoring and the default implementations of
>> things i could come up with so far. it is still uncommented because i am
>> about to pass out from lack of sleep. will comment asap.
>> there are even a few feable examples in wicket-examples.
>>
>> -Igor
>>
>>
>>
>> On 1/30/06, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
>>> i would also appreciate if people could test this on various browsers they
>> have access to. i only have access to explorer 6 and ffox 1.5 and it works
>> on those.
>>> -Igor
>>>
>>>
>>>
>>>
>>> On 1/30/06, Eelco Hillenius < [EMAIL PROTECTED]> wrote:
>>>> you mean in wicket not wicket-stuff.
>>>>
>>>> Eelco
>>>>
>>>> On 1/30/06, Igor Vaynberg < [EMAIL PROTECTED] > wrote:
>>>>> the sandbox is in wicket not wicket-core.
>>>>>
>>>>> -Igor
>>>>>
>>>>>
>>>>>
>>>>> On 1/30/06, Matej Knopp <[EMAIL PROTECTED]> wrote:
>>>>>> Hi, is there any chance you could post it as attachment? No luck
>> getting
>>>>>> wicket-stuff from anon cvs...
>>>>>>
>>>>>> -Matej
>>>>>>
>>>>>> Igor Vaynberg wrote:
>>>>>>> hey guys,
>>>>>>>
>>>>>>> just implemented partial page rendering, allowing for rendering of
>> any
>>>>>>> number of components on the page.
>>>>>>>
>>>>>>> see wicket-sandbox/users/ivaynberg/wicket-partial
>>>>> project in cvs for
>>>>>>> details.
>>>>>>>
>>>>>>> it works by stuffing output of multiple components into an xml
>> envelope.
>>>>>>> the only limitation is that the markup is stored under CDATA so if
>> the
>>>>>>> markup contains ]]> it will break the envelope. maybe it makes
>> sense to
>>>>>>> base64 or yenc the markup, or somehow escape ]]>
>>>>>>>
>>>>>>> this also doesnt introduce any dependencies on existing libraries,
>> i
>>>>>>> just wrote a tiny library myself.
>>>>>>>
>>>>>>> it also allows you to add any _javascript_ you want executed to the
>>>>>>> envelope. i figured it might be useful for fx, like if you want to
>>>>>>> highlite the updated components or something.
>>>>>>>
>>>>>>> maybe we can provide hooks for that directly in the wicket
>> _javascript_
>>>>>>> library, so users can register onComponentUpdated _javascript_
>> function
>>>>>>> listeners.
>>>>>>>
>>>>>>>
>>>>>>> any feedback is greatly appreciated.
>>>>>>>
>>>>>>> -Igor
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>> -------------------------------------------------------
>>>>>> This SF.net email is sponsored by: Splunk Inc. Do you grep through
>> log
>>>>> files
>>>>>> for problems?  Stop!  Download the new AJAX search engine that makes
>>>>>> searching your log files as easy as surfing the  web.  DOWNLOAD
>> SPLUNK!
>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
>>>>>> _______________________________________________
>>>>>> Wicket-develop mailing list
>>>>>> Wicket-develop@lists.sourceforge.net
>>>>>>
>> https://lists.sourceforge.net/lists/listinfo/wicket-develop
>>>>>
>>>>
>>>> -------------------------------------------------------
>>>> This SF.net email is sponsored by: Splunk Inc. Do you grep through log
>> files
>>>> for problems?  Stop!  Download the new AJAX search engine that makes
>>>> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
>>>>
>> http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642
>>>> _______________________________________________
>>>> Wicket-develop mailing list
>>>> Wicket-develop@lists.sourceforge.net
>>>>
>> https://lists.sourceforge.net/lists/listinfo/wicket-develop
>>>
>>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642
> _______________________________________________
> Wicket-develop mailing list
> Wicket-develop@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-develop
>



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Wicket-develop mailing list
Wicket-develop@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-develop



--
Ingram Chen
Java [EMAIL PROTECTED]
Institue of BioMedical Sciences Academia Sinica Taiwan
blog: http://www.javaworld.com.tw/roller/page/ingramchen

Reply via email to