Re: UTF-8 not working

2011-10-17 Thread Mihai Postelnicu
What i did to make sure this works is everything you did + 
encodeURIComponent(value)

http://www.w3schools.com/jsref/jsref_encodeURIComponent.asp

Never had any other encoding problems in any browser afterwards. 


On Sun 16 Oct 2011 11:56:14 AM EEST, Attila Király wrote:

Please provide a small quickstart showcasing the problem to get more help
because based on these information it should work.

Attila

2011/10/15 Mathias Nilssonwicket.program...@gmail.com


Oh, And I've also tried putting
org.springframework.web.filter.CharacterEncodingFilter as the first filter

--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/UTF-8-not-working-tp3906237p3907047.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org








-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Apache Wicket Cookbook Published!

2011-05-20 Thread Mihai Postelnicu

I've just ordered a copy and already received the eBook ! :)

Thanks Igor !

Mihai

On 04/13/2011 07:43 PM, Igor Vaynberg wrote:

thanks! i am happy you are enjoying it!

-igor


On Wed, Apr 13, 2011 at 1:24 AM, lucastlucastol...@hotmail.com  wrote:

Hi Igor,
Congratulations on your new book. I have already got a copy and I have been
using it as reference from day 1. I particularly like the straightforward
structure: this is the scenario, this is how you implement it. It is very
well written.
I find the data tables section particularly useful as I'm implementing a
search functionality that will use data tables to list the results.
Great job and I thoroughly recommend the book.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Apache-Wicket-Cookbook-Published-tp3406012p3446584.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




--

*Mihai Postelnicu*, Software Architect
*Development Gateway*
1889 F Street N.W. . Second Floor . Washington, D.C. 20006
(O) +40 780 979 313 . (M) +358 458 782 152 . (Skype) mihaipostelnicu
mposteln...@developmentgateway.org 
mailto:mposteln...@developmentgateway.org

www.developmentgateway.org http://www.developmentgateway.org/

Information Tools. Global Partnerships. Effective Aid.




Re: Saving a component in session

2010-09-26 Thread Mihai Postelnicu
Any idea how can we approach this differently ? we need a component 
spawned in html (because we have some default translatable text in the 
html that we have to enclose and also acts as the key) with callbacks 
and two states (edit mode and read only, much like ajaxeditablelablel).


Any idea is welcome !

Thanks
Mihai


On 09/26/2010 10:51 AM, Igor Vaynberg wrote:

it can modify hierarchy, but the components it adds only exist during
the render phase - so those components cannot receive callbacks or
hold state.

-igor

On Sat, Sep 25, 2010 at 10:41 PM, Alexander Morozov
alexander.v.moro...@gmail.com  wrote:
   

So IComponentResolver cannot modify component hierarchy. Right ? And there is
no way for the author to create and handle special taglt;translategt;.


--
View this message in 
context:http://apache-wicket.1842946.n4.nabble.com/Saving-a-component-in-session-tp2551649p2714088.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail:users-unsubscr...@wicket.apache.org
For additional commands, e-mail:users-h...@wicket.apache.org


 

-
To unsubscribe, e-mail:users-unsubscr...@wicket.apache.org
For additional commands, e-mail:users-h...@wicket.apache.org

   




Re: Saving a component in session

2010-09-23 Thread Mihai Postelnicu

Guys,
I work on the same project as below (integrating an interface translator 
with Wicket) and we are a bit stuck. Any ideas?


Thanks in advance for your time !
Mihai

On 09/23/2010 12:29 PM, Alexandru Artimon wrote:
 Forgot to mention that the component is an AjaxEditableLabel and I 
need to save it to session because I'm creating a custom wicket tag 
for translation purposes. When in translator mode I want all the 
labels to be replaced by AjaxEditableLabel's so that the translator 
can do his job easier.


The problem I have is that when I click on the label of the 
AjaxEditableLabel, it produces an ajax request in order to change 
visibility modes and show the edit box. I did my custom tag replacing 
by implementing an IComponentResolver, which (from what I figured) 
happens on render. So my AjaxEditableLabel component isn't in the page 
when the Ajax request arrives. I planned to solve this by fetching the 
missing component from the session on my own, by overwriting 
resolveListenerInterfaceTarget. Now when I fetch the original 
AjaxEditableLabel from the session, all it's children (the Label and 
TextField) are gone.


Any ideas will be much appreciated.

Thanks,
Alexandru



On 09/23/2010 11:57 AM, Alexandru Artimon wrote:

Hello,

I have a problem when saving a component to the session, all it's 
children disappear.

I do the save like this:

session.bind();
session.setMetaData(MY_KEY, component);


Regards,
Alexandru