AJAX error on IE8 Win 7

2010-08-31 Thread Laurentiu Trica
Hello,

I have a problem with an AjaxCheckBox which should update a panel in IE8 
Win 7
I get the following error in the Ajax Debug Window:
ERROR: Wicket.Ajax.Call.failure: Error while parsing response: Object
required

Can you please help me with this?

-- 
Laurentiu Trica
Software Developer Mobile: (+40) 722 329318
S.C MoreDevs S.R.L.  Email: laurentiu.tr...@finalfolder.biz

This message can contain privileged or confidential information and it is
intended only for addressee. Any unauthorized disclosure is strictly
prohibited.


Re: Problem with page being redirected/loaded over and over again

2010-08-18 Thread Laurentiu Trica
Thanks, it seems I had an iframe which behaved badly after applying the
locale URL coding strategy from the tutorial.
Instead of iframe frameborder=0 scrolling=no id='moviiframe' src=,
the output was iframe frameborder=0 scrolling=no id='moviiframe'
src=../ which led to a call to localhost:8080/ which led to the other
requests.

In fact they weren't redirects, they were continuous requests.

Sorry if this was off topic but at first I thought it had something to do
with wicket.

On Wed, Aug 18, 2010 at 2:58 AM, Igor Vaynberg igor.vaynb...@gmail.comwrote:

 is your homepage mounted on /welcome? maybe you did not correctly
 implement the url coding strategy, make sure it encodes your homepage
 as /en/welcome and not as /

 just guessing since you didnt show any code. feel free to create a
 quickstart that reproduces the issue and attach it to a jira ticket.

 -igor

 On Tue, Aug 17, 2010 at 3:43 AM, Laurentiu Trica
 laurentiu.tr...@finalfolder.biz wrote:
  Hello,
 
  I followed the
 
 https://cwiki.apache.org/confluence/display/WICKET/Wicket+and+localized+URLs
   tutorial.
  I have, since, a problem with my homepage.
 
  It gets from / to /en and then to /en/welcome and back again to
 /,
  then /en and /en/welcome.
 
  The first redirect is correct as I want it to go to a locale aware URL -
 as
  the tutorial sais. So from / to /en is perfect.
  The second redirect is correct as well because it's done from the
  application class.
  I have the getHomePage() which returns a HomePage class which makes a
  redirect (as in the following code) to a LoginPage which is mounted as
  welcome.
 
  public HomePage() {
 setRedirect(true);
 setResponsePage(LoginPage.class);
  }
 
  The problem is that after the second correct redirect, somehow, the chain
  continues.
  There is another redirect to /, which seems to have as referrer the
  /en/welcome page.
 
  Is there anything I can do about this? I spent a whole day trying to
 figure
  out the problem but I didn't.
  Thanks in advance.
 
  --
  Best regards,
  Laurentiu Trica
 

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




-- 
Laurentiu Trica
Software Developer Mobile: (+40) 722 329318
S.C MoreDevs S.R.L.  Email: laurentiu.tr...@finalfolder.biz

This message can contain privileged or confidential information and it is
intended only for addressee. Any unauthorized disclosure is strictly
prohibited.


Problem with page being redirected/loaded over and over again

2010-08-17 Thread Laurentiu Trica
Hello,

I followed the
https://cwiki.apache.org/confluence/display/WICKET/Wicket+and+localized+URLs
 tutorial.
I have, since, a problem with my homepage.

It gets from / to /en and then to /en/welcome and back again to /,
then /en and /en/welcome.

The first redirect is correct as I want it to go to a locale aware URL - as
the tutorial sais. So from / to /en is perfect.
The second redirect is correct as well because it's done from the
application class.
I have the getHomePage() which returns a HomePage class which makes a
redirect (as in the following code) to a LoginPage which is mounted as
welcome.

public HomePage() {
setRedirect(true);
setResponsePage(LoginPage.class);
}

The problem is that after the second correct redirect, somehow, the chain
continues.
There is another redirect to /, which seems to have as referrer the
/en/welcome page.

Is there anything I can do about this? I spent a whole day trying to figure
out the problem but I didn't.
Thanks in advance.

-- 
Best regards,
Laurentiu Trica


Localization

2010-08-04 Thread Laurentiu Trica
Hello,

I followed the
https://cwiki.apache.org/confluence/display/WICKET/Wicket+and+localized+URLstutorial.
I have a problem with an url like this: www.example.com/a?t=token

When I access that link, the url becomes: www.example.com/en/a and the link
is not accessible.

If I force the URL to www.example.com/en/a?t=token I get a Jetty error:

HTTP ERROR 404

Problem accessing /en/a. Reason:

NOT_FOUND

--
*Powered by Jetty://*

Can anybody help?
Thank you!

-- 
Laurentiu Trica


Standard way to internationalize a website with /en, /de ?

2010-07-22 Thread Laurentiu Trica
Hello,

Is there a standard and easy way to add the language parameter in the URL of
an existing app?
I would like to have the www.example.com/en for English language and
www.example.com/de for German language.
Is this an easy task? Any hints?

Thank you.

-- 
Best regards,
Laurentiu Trica


Re: Standard way to internationalize a website with /en, /de ?

2010-07-22 Thread Laurentiu Trica
Hello,

Yes, I have all that, the application is already i18n, but I need to put the
language parameters in the URL for Google to index as separate pages (en,
de).
This is my trouble...

On Thu, Jul 22, 2010 at 11:32 AM, Martin Makundi 
martin.maku...@koodaripalvelut.com wrote:

 Hi!

 You have
 XX_en.properties
 XX_de.properties

 etc.

 **
 Martin

 2010/7/22 Laurentiu Trica laurentiu.tr...@finalfolder.biz:
  Hello,
 
  Is there a standard and easy way to add the language parameter in the URL
 of
  an existing app?
  I would like to have the www.example.com/en for English language and
  www.example.com/de for German language.
  Is this an easy task? Any hints?
 
  Thank you.
 
  --
  Best regards,
  Laurentiu Trica
 

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




-- 
Best regards,
Laurentiu Trica


Re: Clean URLs without /?wicket:interface=:0:::: stuff - is it possible?

2010-07-22 Thread Laurentiu Trica
Thank you, I'll have a look at these suggestions.

On Wed, Jul 21, 2010 at 7:23 PM, Jeffrey Schneller 
jeffrey.schnel...@envisa.com wrote:

 Look into page mounting, BookmarkablePageLink

 mount(new BookmarkablePageRequestTargetUrlCodingStrategy(nicename,
 your.package.PageName.class, null));

 BookmarkablePageLink nicenameLink = new
 BookmarkablePageLink(nicename_link, your.package.PageName.class);



 -Original Message-
 From: Laurentiu Trica [mailto:laurentiu.tr...@finalfolder.biz]
 Sent: Wednesday, July 21, 2010 11:23 AM
 To: users@wicket.apache.org
 Subject: Clean URLs without /?wicket:interface=:0 stuff - is it
 possible?

 Hello,

 I'm rather new to wicket but I'm amazed about it's power.

 I still have a bothering question: is it possible to make the website
 with
 clean URLs?

 I mean I want to have the first page like /welcome, the about page like
 /about and somehow to get rid of the /?wicket:interface=:0 stuff -
 this
 appears if you click the banner twice, for example...
 This is for usability issues as is for SEO reasons.

 Thank you in advance.

 --
 Best regards,
 Laurentiu Trica

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




-- 
Best regards,
Laurentiu Trica


Re: Welcome Martin Grigorov as a core team member

2010-07-21 Thread Laurentiu Trica
Congratulations Martin!

Keep up the good work!

On Mon, Jul 19, 2010 at 7:58 PM, Jeremy Thomerson jer...@wickettraining.com
 wrote:

 The Wicket team is happy to announce that Martin Grigorov was invited to
 join the Wicket team as a committer and PMC member, and he accepted!
  Martin's relentless patience, high quality patches and sustained
 energy haven't gone unnoticed.  He has continually provided valuable
 insights and put a lot of effort into the project.  He helps out many on
 the
 mailing lists and IRC channel.

 In Martin's first two days with access, he's already made 16 commits and
 closed several JIRA issues.  We look forward to his continued
 contributions.

 Please join me in welcoming Martin to the team!

 --
 Jeremy Thomerson
 http://www.wickettraining.com




-- 
Best regards,
Laurentiu Trica


Clean URLs without /?wicket:interface=:0:::: stuff - is it possible?

2010-07-21 Thread Laurentiu Trica
Hello,

I'm rather new to wicket but I'm amazed about it's power.

I still have a bothering question: is it possible to make the website with
clean URLs?

I mean I want to have the first page like /welcome, the about page like
/about and somehow to get rid of the /?wicket:interface=:0 stuff - this
appears if you click the banner twice, for example...
This is for usability issues as is for SEO reasons.

Thank you in advance.

-- 
Best regards,
Laurentiu Trica