Hi,
Thanks for the response.
We are using S2 2.0.11.1 and in this version the "format" attribute does
not exist in
So you suggestion will not work for us.
Regards
Ian
CSC Solutions Norge AS
Registered Office: Sandsliåsen 57, 5254 Sandsli, Norway
Registered in Norway No: 958 958 455
kal stevens wrote:
We use EL/JSP in some of our pages, and I have been told by a coworker
that after 2.0.9 EL is disabled.
So moving would be difficult, unless there is some way to re-enable it?
What is the standard way of referencing variables.
EL expressions are disabled within the attri
I could be wrong in my assumption, but I became suspicious when the
action class wasn't in the stacktrace...
On Tue, 2008-05-06 at 20:48 -0400, Jim Kiley wrote:
> It's weird and confusing that inherited methods don't make it into the proxy
> class. Took me an age to figure it out, in no small p
It's weird and confusing that inherited methods don't make it into the proxy
class. Took me an age to figure it out, in no small part because I couldn't
find an easy way to inspect the proxy class's methods. My workaround was to
eliminate the @Transactional annotation entirely, and I'm hoping tha
Sorry I didn't catch this earlier, but I had the exact same problem. It
would seem that when you use Spring's @Transactional annnotation, the
class gets proxied... Which I would think is okay, except for the fact
that inherited methods (such as ActionSupport.input()) do not make it
into the proxied
I solved this problem and I figure that nabble might want to record the end
reason for the bug.
Another method entirely, elsewhere on ProductDetailAction, had a
@Transactional annotation. It didn't need one -- I was using injected
transaction management and the OpenEntityManagerInViewFilter. Why
I can't tell you why the parameters are being passed out-of-sequence (I
would guess they're being shuffled through a HashMap somewhere) but it's
easy to deal with: simply have your setter grow the list as necessary to
accommodate the passed index. Something like this:
public void setFriend
mojoRising wrote:
I am using the Execute and Wait Interceptor on my login action. This action
needs to access the HTTPRequest object so that it can get the HTTPSessionId,
and the request headers and store all of this in the database as well as
putting the userObject in the session itself.
Docume
I've tried another example also...
ListForm.java
=
package com.myapp.struts.formbeans;
import org.apache.struts.action.*;
import javax.servlet.http.*;
import java.util.*;
/**
*
* @author Sai
*/
public class ListForm extends ActionForm {
private int size = 3;
private List f
I wanted to find a way to handle dynamic number of arguments for my
poll-posting form which should be able to handle dynamic number of choice
fields.
So i maintained a list (pollChoices --> java.util.List type) for maintaining
dynamic number of choice fields.
==
I am using the Execute and Wait Interceptor on my login action. This action
needs to access the HTTPRequest object so that it can get the HTTPSessionId,
and the request headers and store all of this in the database as well as
putting the userObject in the session itself.
Documentation says that w
Michael Gagnon wrote:
I've added a custom taglib in my project
I would like to use struts URL tags in this. Ideally my tag handler would
generate s:url and s:a tags that could then be processed by struts. I don't
see a way to do this though
A tag is a Java object. You can always instantiate
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi,
i did it like that:
in package_??.properties (?? for the locale)
dateformat=dd.MM.
in my jsp:
Maybe it works for you
~ volker
Ian Meikle schrieb:
| Hi,
|
| In the doc for it says: "The value sent to the server
| is a locale-indepe
I've added a custom taglib in my project. One of these tags does some logic
to generate a series of links. Given one target URL, I want to create X
links to that URL with one changed parameter. If the given URL has
parameters, I want them to all be preserved except for one named
'pageNumber' which
We use EL/JSP in some of our pages, and I have been told by a coworker
that after 2.0.9 EL is disabled.
So moving would be difficult, unless there is some way to re-enable it?
What is the standard way of referencing variables.
My boss prefers that I not disable errors, is there a way to disable
Hi all,
I have been trawling the docs, but haven't yet found a tag listed that
will do this.
I need to display some text on the screen, which may contain newlines,
or stray html tags. I'd like the newlines converted to , and have
other html tags stripped/quoted or otherwise rendered harmless
Thanks, Dave.
I saw the short blurb in the release notes on the changes for security.
I did not see any work around. The only one I have been able to come up
with is to use the previous versions TLD with the new code. I am not
sure that I want to have to rewrite all of my JSP pages to not use J
--- "Hoying, Ken" <[EMAIL PROTECTED]> wrote:
> After upgrading my libraries and TLD from 2.06 to 2.0.11.1, I am
> getting the following error.
>
> 2008-05-06 10:42:36,648 ERROR (http-0.0.0.0-8080-2:)
>
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/sca].[
> jsp]] Servlet.service
--- "Fernandes, Filipe" <[EMAIL PROTECTED]> wrote:
> I used wildcard mapping to define several methods that may be
> called for a struts action class. But each of those methods
> contain duplicate lines of code that need to be called before
> the method returns.
>
> Is there a way in struts to
After upgrading my libraries and TLD from 2.06 to 2.0.11.1, I am getting
the following error.
2008-05-06 10:42:36,648 ERROR (http-0.0.0.0-8080-2:)
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/sca].[
jsp]] Servlet.service() for servlet jsp threw exception
org.apache.jasper.Jas
I used wildcard mapping to define several methods that may be called for
a struts action class. But each of those methods contain duplicate lines
of code that need to be called before the method returns.
Is there a way in struts to wire up a post operation after the action
method (whichever it ha
I just came up with another idea. You could also try to move
validation up the stack, so it's happening before chain.. It might be
tricky tough (as Struts spec states: "Sometimes the order of the
Interceptors makes a difference.").
best regards
Pawel
--
2008/5/5 egetchell <[EMAIL PROTECTED]>:
>
> I just re-read my post and noticed that the Struts configuration for the
> testB action somehow got mangled. The correct configuration for TestB is
>
>
>
>
> testA
> display
>
>
I'd suspect that validation errors are being chained to
Yes. A test release is out and we will be releasing the first version
soon. As a developer of the plugin, I would like to know your feedback
on the plugin.
-Rohan
Pedro Herrera wrote:
I found this NetBeans plugin. Is it working well ?
https://nbstruts2support.dev.java.net/ netBeansPluginStrt
hi
i am one developing reporting apllication in struts 2.0.11 and using
sitemesh 2.3 plugin for decorate it
now my problem is that when i use my decoraters and my birt tag in jsp like
in finalpara.jspi have give tag
">
<% if(request.getParameter("pendingzone") !=null)
{%>
<%} %>
par
25 matches
Mail list logo