Okay I have made 2 small jsp. I can't access parameters passed in from
s:include (struts 2.0.11.2) by #parameters.parametername OR
#parameters['parametername']. Am I doing something really wrong?
quicktest.jsp:
%@ taglib prefix=s uri=/struts-tags %
s:include value=quicktestincluded.jsp
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
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
?
Thanks for the reply!
cheers.
Gabriel Belingueres-2 wrote:
try using neither ${} nor %{}:
listKey='listKey'
listValue='listValue'
2008/8/22, crappycrumpet [EMAIL PROTECTED]:
Hi All,
I know EL Expression has been disabled from 2.0.10 on. Unfortunately I
have
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.
s:select name=%{fieldName}
list='list'
listKey='${listKey}'
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 and
Hi,
I have a problem where I have a page (let's call it a.jsp) which calls an
action using s:action (let's call it actionB in namepaceB) which redirects
to actionA in namespaceA, using redirect-action, which display the name
attribute in object a. (both implements modelDriven).
actionB take
Currently I have made a work around by assigning the result for actionB to
b.jsp which invoke actionA using another s:action and parsing the
parameter through using s:param. I just thought perhaps you can just
redirect action without a page in between the two actions. Oh well.
cheers.
--
View
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,
CrappyCrumpet
--
View this message in context:
http
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 hope it makes sense :/
thanks,
CrappyCrumpet
--
View this message in context:
http://www.nabble.com/Iterator
in the caller and the other action). And to use
ignoreContextParams=true in my s:action.../ 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 response!
cheers,
CrappyCrumpet
--
View this message in context
11 matches
Mail list logo