Re: DirectActions and URL

2008-12-02 Thread Chuck Hill
On Dec 2, 2008, at 9:53 AM, Francesco Romano wrote: I just updated... and now I find it. But... there are some problems (I'm new.. so.. sorry if it's a noob question..) With this code: String pageToRedirect = currentUser.group().mainPage(); if (!

Re: DirectActions and URL

2008-12-01 Thread Chuck Hill
Do you have project Wonder installed? Do you have an old version of Project Wonder? This class was added recently. Chuck On Dec 1, 2008, at 12:47 PM, Francesco Romano wrote: ERXRedirect could be the class I was looking for... Only a ... little... problem.. Why eclipse does not see the cla

Re: DirectActions and URL

2008-12-01 Thread Francesco Romano
ERXRedirect could be the class I was looking for... Only a ... little... problem.. Why eclipse does not see the class? I can't find it. On 01/dic/08, at 21:35, Chuck Hill wrote: On Nov 28, 2008, at 11:34 PM, Francesco Romano wrote: Thanks for the reply... I tried something like: reload

Re: DirectActions and URL

2008-12-01 Thread Chuck Hill
On Nov 28, 2008, at 11:34 PM, Francesco Romano wrote: Thanks for the reply... I tried something like: reloadPage :WOJavaScript { scriptString = session.getJSRefresh; hideInComment = YES; } with: public String getJSRefresh () { if (_mainPageNeedRefresh) {

Re: DirectActions and URL

2008-11-28 Thread Francesco Romano
Thanks for the reply... I tried something like: reloadPage :WOJavaScript { scriptString = session.getJSRefresh; hideInComment = YES; } with: public String getJSRefresh () { if (_mainPageNeedRefresh) { _mainPageNeedRefresh = false;

DirectActions and URL

2008-11-27 Thread Francesco Romano
Hi.. I'm new with WebObjects and also in web programming. I chose WO to develop a Web Application (instead of RoR).. Now.. I'm doing a login form.. Looking a screencast from David LeBer I moved the LoginAction from my Main.java file to DirectAction. Everything works fine.. but ... One thing is