• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

problem using greybox

 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.

 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic