Okay I have made 2 small jsp. I can't access parameters passed in from
s:include (struts 2.0.11.2) by #parameters. OR
#parameters['']. Am I doing something really wrong?
quicktest.jsp:
<%@ taglib prefix="s" uri="/struts-tags" %>
0
quicktestincluded.jsp:
<%@ taglib prefix="s" uri="/struts
Yes exactly!!! Hence I was wondering how I can work around it. I guess I'll
have to roll back or write my own select thing iterating through the list
and doing (listKey)([0]), (listValue)([0]) :(. My god I wish I understand
what select.ftl is doing.
(FYI, the OGNL conversion section says "todo"
Yes the select code was meant to be a generic select where I can just bung it
in the struts.xml for different Action classes that has the values for
fieldName, list (vector of object), listKey, listValue so that I can just
make select dropdowns without making more coding. So when I make assorted
f
se so that it evaluates the result
again?
Thanks for the reply!
cheers.
Gabriel Belingueres-2 wrote:
>
> try using neither ${} nor %{}:
>
> listKey='listKey'
> listValue='listValue'
>
> 2008/8/22, crappycrumpet <[EMAIL PR
Hi All,
I know EL Expression has been disabled from 2.0.10 on. Unfortunately I have
some jsp has uses EL.
I have this jsp files that renders a generic dropdown box that looks like
the following.
So the action that uses this would have a list of objects and a listKey
field that contains a strin
Hi Ralf,
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 hibernate and this is what I'm sort of doing. Let's say
that I have a table of staffs, offices and things_assignment (which links
staffs a
Currently I have made a work around by assigning the result for actionB to
b.jsp which invoke actionA using another and parsing the
parameter through using . I just thought perhaps you can just
redirect action without a page in between the two actions. Oh well.
cheers.
--
View this message in
Hi,
I have a problem where I have a page (let's call it a.jsp) which calls an
action using
show_name.jsp
actionA
namespaceA
b.thingyId
Now it works fine when I call it by going to the url
http://XXX/namespaceB/actionB.action?b.id=123 but w
't. I've added into MenuAction in struts.xml and added "public String
input()" in it to "return execute();" but still it doesn't my menu properly.
Is it possible to make certain action to always run like normal no matter
what is result of an action is?
thanks,
ere caller and theOther is an
model object in the caller and the other action). And to use
ignoreContextParams="true" in my so that the action attribute
doesn't mysteriously get set to other stuff. I hope there isn't too much
other things to workout -_-" .
Thank you for your
silver
Now tell me can I actually put an object in the action param that's from a
iterator? Or does it only work with strings or whatever standard type
converter stuff struts uses? Do I have to write a custom type converter for
it to work?
I hop
11 matches
Mail list logo