You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Terry Poot <tp...@goldenvoid.com> on 2004/09/07 08:11:12 UTC
Spindle problem
I think I broke Spindle, somehow. I just installed the new AJDT stuff,
and added the AspectJ nature to my project, and now whenever I create a
file or directory (not using spindle in anyway), I get an error popup
that says:
Error creating marker
Reason:
Resource /acWeb/com.iw.pugins.spindle.core.TAPESTRY_FRAMEWORK does not
exist
acWeb is the project name, and I have no idea why it's trying to find
spindle bits in my project. I'm sure I broke it, but I don't know how. :)
Other than the error message, everything works fine, though I haven't
tried doing anything with spindle yet.
Any pointers at what to look for would be appreciated.
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Message from Protected page.
Posted by Lindsay Steele <ls...@iinet.net.au>.
Hi,
I am trying to set a message when a protected page is accessed
without authentication.
At the moment I use a protected page similar to this below
public void pageValidate(PageEvent event) {
Visit visit = (Visit) getVisit();
if (visit != null && visit.isAuthenticated()) {
return;
}
// visit.setLatestMessage("Page Access without
Authentication");
throw new PageRedirectException("Home");
}
I want to send a message to the Home page to say there was Page access
without authentication.
How can I do this ?
I came up with a way where I can send a message to a queue in the visit
object .. And then this
Message could be dispayed from the Home page.
The problem appears to be that I am having trouble setting a message
unless it is coming one of the listeners.
Why does this work ...
public void login(IRequestCycle cycle) {
other code here ....
setMessage("Invalid user name or password.");
}
But this not work ....
public void pageBeginRender(PageEvent event)
{
other code here .....
setMessage("Sample message here ..");
}
Is there any way to set the message as the page loads ??
Thanks in advance,
Lindsay Steele
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: Spindle problem
Posted by Terry Poot <tp...@goldenvoid.com>.
Geoff, I'll do that if you like, but while trying to document this
further, it appears to be very definitely an AspectJ (or rather AJDT)
problem, specifically with the InPath settings. It was griping about the
TAPESTRY_FRAMEWORK library being there, and so I took that out and tried
to add the tapestry jar, and it gripes about that. I don't know about
the existing bug, but this one at least seems to definitely be their
problem and not yours.
Sorry for the false report.
Now, to figure out how to get it to apply aspects to the Tapestry jars....
glongman@intelligentworks.com wrote:
>Sounds like AspectJ is not playing according to the Eclipse plugin rules. As I know nothing about AspectJ could you add step by
>step instructions on how to reproduce this to the existing bug report? (hint, I don't even know where to get the AspectJ stuff!).
>
>here's the link to the bug:
>
>http://sourceforge.net/tracker/index.php?func=detail&aid=1015674&group_id=50321&atid=459328
>
>thx!
>
>Geoff
>
>Terry Poot <tp...@goldenvoid.com> said:
>
>
>
>>I think I broke Spindle, somehow. I just installed the new AJDT stuff,
>>and added the AspectJ nature to my project, and now whenever I create a
>>file or directory (not using spindle in anyway), I get an error popup
>>that says:
>>
>>Error creating marker
>>
>>Reason:
>> Resource /acWeb/com.iw.pugins.spindle.core.TAPESTRY_FRAMEWORK does not
>>exist
>>
>>
>>acWeb is the project name, and I have no idea why it's trying to find
>>spindle bits in my project. I'm sure I broke it, but I don't know how. :)
>>
>>Other than the error message, everything works fine, though I haven't
>>tried doing anything with spindle yet.
>>
>>Any pointers at what to look for would be appreciated.
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>>
>>
>>
>>
>
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
Re: Spindle problem
Posted by gl...@intelligentworks.com.
Sounds like AspectJ is not playing according to the Eclipse plugin rules. As I know nothing about AspectJ could you add step by
step instructions on how to reproduce this to the existing bug report? (hint, I don't even know where to get the AspectJ stuff!).
here's the link to the bug:
http://sourceforge.net/tracker/index.php?func=detail&aid=1015674&group_id=50321&atid=459328
thx!
Geoff
Terry Poot <tp...@goldenvoid.com> said:
> I think I broke Spindle, somehow. I just installed the new AJDT stuff,
> and added the AspectJ nature to my project, and now whenever I create a
> file or directory (not using spindle in anyway), I get an error popup
> that says:
>
> Error creating marker
>
> Reason:
> Resource /acWeb/com.iw.pugins.spindle.core.TAPESTRY_FRAMEWORK does not
> exist
>
>
> acWeb is the project name, and I have no idea why it's trying to find
> spindle bits in my project. I'm sure I broke it, but I don't know how. :)
>
> Other than the error message, everything works fine, though I haven't
> tried doing anything with spindle yet.
>
> Any pointers at what to look for would be appreciated.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>
>
--
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
RE: Spindle problem
Posted by Nicholas Lesiecki <nl...@vmsinfo.com>.
I've had a lot of problems with Spindle and AJDT too... Nothing this
specific though. I submitted a bug to Spindle, no response so far.
Cheers,
Nick
-----Original Message-----
From: Terry Poot [mailto:tp@goldenvoid.com]
Sent: Monday, September 06, 2004 11:11 PM
To: Tapestry users
Subject: Spindle problem
I think I broke Spindle, somehow. I just installed the new AJDT stuff,
and added the AspectJ nature to my project, and now whenever I create a
file or directory (not using spindle in anyway), I get an error popup
that says:
Error creating marker
Reason:
Resource /acWeb/com.iw.pugins.spindle.core.TAPESTRY_FRAMEWORK does not
exist
acWeb is the project name, and I have no idea why it's trying to find
spindle bits in my project. I'm sure I broke it, but I don't know how. :)
Other than the error message, everything works fine, though I haven't
tried doing anything with spindle yet.
Any pointers at what to look for would be appreciated.
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org