Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem using greybox

 
Prasath Premkumar
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I'm working with Spring MVC and greybox (popup window) to popup a login form.
But still i couldn't get this working.

In my home.jsp i have defined the following as stated in the greybox tutorial.



and in the same jsp i have the login link like this:



when i start this application and click on login link the login.jsp is shown as a new page, not as a greybox popup. I guess greybox doesnt get called to show the requested page. Am i doing sumthg wrong here? Can anyone please help me to get this working???

Thanks in advance.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is the name of the directory really "resouces"? Is this a Spring issue, or a greybox issue? Do you get any console errors in Firebug?
 
Prasath Premkumar
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi David,

Thanks for your reply. Yeah, the directory name is correct there and no errors from firebug too. It seems to me like Spring handles the request and shows that page via ViewResolver, so greybox doesnt get called..... this is what i guess... How can i handle this problem???

Looking forward for your answer.....

Thanks.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you tried using an absolute path?

(I really would recommend spelling "resources" correctly instead of allowing the spelling error to remain in your app's structure.)
 
Prasath Premkumar
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi David,

I tried the absolute path too, but it didn't work. The required page is shown correctly but not via greybox. Thats the problem. Spring handles the request correctly but don't pass through greybox, it shows that page directly i guess. Any ideas to overcome this issue???

I changed the spelling mistake in the directory name as "resources". Thanks a lot.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic