Hello,
I know - ld topic, but after a long time I had to touch this piece
of code again because Weblogic still does not like the tag.
I have a big problem with the InstanceBasedSecuritymanager described in
Freddy's StripesBook: Using the security-tags, I get this unfriendly
exception:
Just a blind shot: Did you create the JSP file with some kind of
HTML/JSP editor? Maybe the ${} part has been escaped by the editor so it
is not replaced by the JSP engine. A quick ciew to the real source code
should reveal this.
Another simple test: Place ${'Test'} somewhere in the HTML body to
Hi Thomas,
http://www.stripesframework.org/display/stripes/Security+Interceptor+for+custom+authorization
[...]
I added to my web.xml:
init-param
param-nameInterceptor.Classes/param-name
param-value
org.stripesstuff.plugin.security.SecurityInterceptor
/param-value
Hello,
on 26.09.2010 12:08, Florian Falkner wrote:
mockServletContext.addInitParameter(contextConfigLocation,
/WEB-INF/applicationContext.xml);
This used to happen to me too, so I just pass the absolute paths to the
servletContext.
well, if this happens in your environments, I
Hi,
answers inlined.
On 14.09.2010 09:24 Antti Sykäri wrote:
Another thing I bumped into when playing with the calculator example
and wanted
to make the URLs generated by Stripes prettier.
I tried this (actually, with the URL /calc), but it the resulting
page is not
found:
HTTP
Hi Aaron,
Am 29.07.2010 12:50, schrieb Aaron Stromas:
Let me get back on topic by rephrasing my original question: why the
value of the value attribute disappears from the generated HTML?
Documentation states that, if present, the value attribute provides
A default value for the
Hi Nikolaos,
Am 28.07.2010 21:08, schrieb Nikolaos Giannopoulos:
Aaron Strmas wrote:
I think that in this case my initial design is better, because I have
to change the JSP later anyway, and it would be only change to the
JSP only. Now I have to make change in two places
But I'm curious
Hi,
Aaron Porter wrote:
If you're using Eclipse I recommend creating a source directory named
resources and then creating a subdirectory named WEB-INF and placing
persistence.xml in there.
Surely just a typo, but it surely should be named META-INF. I really
hate these standard folder
Hi Erkan,
Am 09.06.2010 14:30, schrieb Erkan Kör:
I have an action bean with the @SessionScope annotation. In the
ActionBean constructor I do few initializations. When I now login to
my app it does 3 ajax calls to the action bean (almost concurrently).
But somehow the constructor is
Hi Laurent,
I had the same issue, so I built my own release of StripesStuff with a
changed Interceptor. I asked a long time ago one of the authors, but
never got an answer why the SecurityInterceptor intercepts that late.
Regards
Marcus
Am 02.06.2010 17:47, schrieb Laurent Perez:
Hello
My
Hi Ben,
could you please check in the patch into the 1.5.x and, if needed, the
1.4.x branches? Currently we are not using the version on trunk, but
also would like to benefit from the fix asap.
Marcus
Am 11.05.2010 17:10, schrieb Ben Gunter:
I did a little poking around and found that
,
OneOfYourActionBean.class);
// add parameters
trip.execute();
// assertions
}
--
It's a little bit annoying that I have to prepare all the spring
beans manually.
If you find a easier way to do this, please let me know.
Hope this helps,
Iwao
on 09/11/21 6:19 M.C.S. said
Hi Karen,
I put this initialization code in a separate init method
and annotated the method by:
@After(stages = LifecycleStage.BindingAndValidation)
This works as expected, the parameters are bound and does also execute when
I have an validation error (when no event handler is executed).
Christopher Maier wrote:
I'm trying to write some tests of a Wizard form using the Stripes mocks. Right
now I'm just trying to verify that the events I expect to be start events for
the Wizard are indeed the only ones that are set up to be start events. I
guess
I could easily do this by just
Hi Levi,
using the regular HTML tag results in losing encrypted fields. I would
be glad if there was a way to use the s:hidden field like a regular
tag (value over bean field) - to be able to use the encryption support.
Marcus
Levi Hoogenberg schrieb:
I don't see why a body would be more
Hi,
IMHO instantiating new objects is default behavior unless mentioned
other in the documentation. The fact that there is only one instance
means that interceptors must be implemented thread safe.
I ask myself why interceptors should have something like a state,
because that is the only
Hi Myles,
Kadusale, Myles schrieb:
Good Day to All!
Is bugzooky updated to the latest stripes features?
Thanks and Regards,
Myles
it works fine for me, if I _copy_ the whole src-folder into WEB-INF.
The shipped web.xml is up-to-date and contains e.g. an encryption key.
Greetings,
Hi all,
Marcus Kraßmann schrieb:
Using the security-tags, I get this unfriendly exception:
javax.servlet.ServletException: javax.servlet.jsp.JspTagException: Since tag
class org.stripesstuff.plugin.security.AllowedTag does not implement BodyTag,
it cannot return BodyTag.EVAL_BODY_BUFFERED
Hi,
I think I have a similar problem, at least the stack trace looks like
mine. At me this only happens if Stripes' SourcepageResolution points to
a JSP with nested stripes layouts. My (ugly) fix: I put the validation
logic into the handler method. If I want to trigger a validation error,
I
Hi Yee,
CN Yee wrote:
Now I am doing the validation in event handler - but the error
messages are not showing up!
I did a test, where I add a validation error I also add a message. The
message is showing up but not the error.
I am returning a ForwardResolution to the jsp.
Is this a bug
Hi Yee,
CN Yee wrote:
public Resolution save() {
... check for error...
if (errorFound) {
SimpleError error = new SimpleError(Error found!);
getContext().getValidationErrors().addGlobalError(error);
SimpleMessage msg = new SimpleMessage(Double check);
Hi John,
in general I would agree with you, but in this special case (using
layout-render) the usage of getContext().getSourcePageResolution()
raises the described exception. By using a forward resolution to a
concrete view, no exception is thrown. Surely a workaround, but it works ;-)
Hello,
I am looking for some kind of StreamingResolution that allows resuming
aborted downloads by an external download manager.
Before I reinvent the wheel, I ask you if someone has already
implemented something like this.
Some background (maybe there is another, better way to solve my issue):
Hi Arnab,
arnab_ghosh wrote:
I have used HttpClient for getting the InputStream from a web service. Will
the StreamingResolution also release the connection?
after streaming the StreamingResolution will close any InputStream you
pass on to it. It does not matter where you obtained the
24 matches
Mail list logo