Hi,
On Tue, Jan 20, 2009 at 2:08 PM, Zoran Avtarovski
wrote:
> I¹ve just upgraded an app from 2.0.xx to 2.1.6 and found that the s:select
> tag is incorrectly rendering the tooltip html.
>
> I¹ve gone back to defaults and this is what¹s being produced::
>
> class="label">Payment Type:
>
Hi Nathan,
On Wed, Jan 21, 2009 at 9:25 AM, Nathan Coast wrote:
> Hi Dave,
>
> Thanks for your tip. Apologies for my newbie-ness. Like I said, I've tried
> every combination I can think of - except presumably the correct one. Some
> examples:
>
> value="#attr['reqParam'].value"/>
>
>
Hi Andreas,
Am 25.01.2009 um 02:53 schrieb Andreas Mähler:
Thank you, Dave.
I think Martin misunderstood me. I was planning to store everything
in the session anyway. What I would like to know is _what_ I have to
store and _how_ to invoke the right action later in order to make
the login
On Tue, Jan 27, 2009 at 5:44 AM, dusty wrote:
>
> Next week on "When Dave Snaps", he threatens to ban anyone from the list if
> he finds the answer in the first five links returned from googling 3 or more
> words in their post.
>
> "...do the needful" -- priceless.
... still laughing! :-)
punee
In my opinion this depends on the preferences of the developer and how
he likes to organize his code.
I never used Spring much. In the past I could never get used to the
XML configurations. I simply don't like it. I especially don't like it
in EJB2. Up to now I never had time to check out t
On Wed, Jan 28, 2009 at 10:39 AM, Ignacio de Córdoba wrote:
>
> Oh yes, I have no problem with EJB3 init parameters. The only thing I am
> really missing is where to put struts2 actions init paramers.
If your parameters are action-specific, you can easily put them into
the struts.xml which declar
On Wed, Jan 28, 2009 at 5:09 PM, Ryan Peterson wrote:
> p is a custom object, say person. So it could be person.age for example.
>
> I would use the stackObj.method() way, but the method I need to call is
> external to the object on the stack.
Why don't you perform this method invocation in your
Hi,
On Thu, Jan 29, 2009 at 10:06 AM, mleneveut wrote:
>
> Hi all,
>
> I have a very strange thing. I have a multiple select in my JSP, and a
> List of ids in my Action. When I submit the form, I iterate on that
> List of Long, and I have this error :
>
> java.lang.ClassCastException: java.lang.S
On Fri, Jan 30, 2009 at 12:25 AM, wrote:
> We use Eclipse, but there's no IDE setup necessary and no special IDE
> plugins. The beauty of GWT is it's all Java, so you just drop in the GWT
> JARs and start using the APIs. Naturally there's a bit of a learning
> curve to understand the server-si
On Fri, Jan 30, 2009 at 10:10 AM, mleneveut wrote:
>
> I put some @Conversion(), @Element(value = java.lang.Long.class) and
> @TypeConversion(rule = ConversionRule.COLLECTION, converter =
> "java.lang.Long") in my Action and it's not working better.
>
> So I set the convertion in a properties file
On Fri, Jan 30, 2009 at 11:33 AM, Parvat Singh Ranawat
wrote:
> Hi,
> Can I stop the calling of action on click of refresh button as on this
> action it will generate a report at some specified location.
> So on every refresh click will generate a new report at that location which
> is unacceptabl
Hi,
On 3/14/08, ravi_eze <[EMAIL PROTECTED]> wrote:
> We have two pages a.jsp and b.jsp developed with the action class mehods
> Ac.a() & Ac.b() that render these pages. Now we need to develop a new page
> c.jsp which is combination of both a & b.jsps.
>
> i can include the jsps into the c.jsp
Hi Peter,
On Thu, Apr 10, 2008 at 12:08 PM, Peter Theissen <[EMAIL PROTECTED]> wrote:
> I have the "SimpleInterceptor":
> >>>
> public String intercept(ActionInvocation invocation) throws Exception {
> System.out.println("The action is being intercepted!");
> return invocation.invoke();
On Tue, Apr 15, 2008 at 11:33 AM, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> hello everybody,
> my need would be to click a link in my web page,
> and to associate a variable parameter to it,
> giving the possibility to the action java code to
> recognize the parameter string and compute a
Hi
On Tue, Apr 15, 2008 at 12:29 PM, Ramanathan RV <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I wish to display/read value that belongs to an enumerated type. Struts
> seems to handle Class and Enum differently. For instance,
>
> *xwork-conversion*
>
> com.company.utils.Constants.EducationalQual
Hello Adam
On Sat, Apr 19, 2008 at 7:29 PM, Adam Hardy
<[EMAIL PROTECTED]> wrote:
> From looking at the struts2 architecture, one of the big questions that I
> can't find the answer to is how struts/xwork moves objects such as the
> properties on an action into the PageContext.
Actually it's not
Hi,
On Mon, Apr 21, 2008 at 5:37 AM, Pranav <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am new to struts 2 and trying to figure out a problem that I am having
> w.r.t. I18n. My application is supposed to serve multiple clients per hosted
> instance of the application and the requirement is to some
Hi Adam,
On Mon, Apr 21, 2008 at 6:02 PM, Adam Hardy
<[EMAIL PROTECTED]> wrote:
> Just had a long search through the struts source and can't see how this is
> done.
>
> I want to obtain the ActionMapper so that I can get the URL for an action,
> in the same way that the Form taglib does it:
>
>
>
Hi,
On Mon, Apr 21, 2008 at 5:46 PM, Dave Newton <[EMAIL PROTECTED]> wrote:
> --- Pranav <[EMAIL PROTECTED]> wrote:
> > No the message displayed by welcome.user would be entirely different. E.g.
> > one could say "welcome to the world of Unlimited Skiing", while the other
> > one could say "Are
Hi there,
On Tue, Apr 29, 2008 at 3:46 AM, crappycrumpet <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have a problem where I have a page (let's call it a.jsp) which calls an
> action using to actionA in namespaceA, using redirect-action, which display the name
> attribute in object a. (both impl
Hi!
On Wed, Apr 30, 2008 at 2:21 AM, crappycrumpet <[EMAIL PROTECTED]> wrote:
> Ralf Fischer-2 wrote:
> >
> > Please tell us exactly what you want to do, as there might be a
> > simpler solution to your problem.
> >
>
> Okay I don't have hiberna
Hi,
as far as I understand the documentation [1], the
has no format attribute, so I wonder how your JSP gets compiled. Are
you looking for the displayFormat attribute?
The error from your first mail suggests an error either in the type
conversion or in general with the OGNL expression. Type conv
Hi ravi,
none that I'm aware of. But it really would be nice to have such a thingy!
As it's all about the stack when it comes to OGNL usage in Struts, I
was thinking about wiring some Unit Tests together which build up a
stack and then run the OGNL Expressions on it. Anyway it's no good, as
there
Hi,
when you have the translations in a resource bundle, as you have now
with your package.properties, you cannot simply get the translations
from the stack, but have to invoke the getText method from you
TextProvider.
The TextProvider interface usually is implemented by your action as
soon as yo
Hello,
please see the Tag Documentation of [1] for this, and take a
look at the attribute "includeParams". By default the url tag includes
all request parameters in the query string of the current page when
generating a new URL, thus all your parameters are transported
implicitly onto the next pa
Hi,
On Wed, Jun 11, 2008 at 12:55 PM, Eddie Lau TO <[EMAIL PROTECTED]> wrote:
> For example,
> using
> if the value supplied into list attribute is wrong,
> the translated page start from the position of tag will be blank.
>
> How to get more information of tag-related problem for troubleshootin
Hi,
On Thu, Jun 12, 2008 at 1:08 PM, Felipe Lorenz <[EMAIL PROTECTED]> wrote:
> I dont know if it is just a warning... cause i dont use devMode on. And when
> i use the action whith action-redirect, it doesnt work.
It IS just a warnung, as you see from the message:
WARNING: Caught OgnlException
Hi,
On Thu, Jun 12, 2008 at 4:30 PM, kukudas <[EMAIL PROTECTED]> wrote:
> Hi, thanks for your reply i think i did it right but still getting an
> exception:
> this is how it works when i do a textfield and enter the value by my hand:
>
>
> And this is when i try doing it with the s:select
>
>
>
Hi Matthieu,
On Fri, Jun 13, 2008 at 11:08 AM, Matthieu MARC
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am making a form page with jstl tags :
>
> <%@ taglib uri="http://java.sun.com/jstl/core"; prefix="c" %>
>
>
>
>
>cssStyle="font-weight: bold;" />
>id="am%{index}" key="ti
Well, then I'd just use the ScopeInterceptor [1] to transfer arbitraty
action properties from one action to another via the session. Works
like a charm.
Cheers,
-Ralf
[1]
http://struts.apache.org/2.1.2/struts2-core/apidocs/org/apache/struts2/interceptor/ScopeInterceptor.html
On Tue, Jun 24, 200
30 matches
Mail list logo