Ach. my bad, I just checked how "name" is resolved in "UIBean" instead
of analysing it into deep and I messed up things with "value"
attribute, my explanation below
niedz., 23 lut 2020 o 23:06 John Bush napisał(a):
>
>
This works because of %{} and "a" was pushed onto the top of
evaluated by a servlet container (Tag support
layer). That's why we used %{} instead, but ...
cause the error above, then i state attribute name on struts tag does not
accept any expressions. if i test to just print like code bellow thats no
problem:
${a.formcolumnName}
so, i read your doc
ainer (Tag support
layer). That's why we used %{} instead, but ...
> cause the error above, then i state attribute name on struts tag does not
> accept any expressions. if i test to just print like code bellow thats no
> problem:
>
>
> ${a.formcolumnName}
>
> so, i read you
) According to
TLD or attribute directive in tag file, attribute name does not accept any
expressions
File: org/apache/jasper/compiler/DefaultErrorHandler.java
Line number:41
cause the error above, then i state attribute name on struts tag does not
accept any expressions. if i test to just
wt., 18 lut 2020 o 17:04 M Huzaifah napisał(a):
> Thank you Lucas, my goal is render the struts tag based on list of column
> name that i've set before. So i have to iterate the list of column using
> jstl than put the "name" on attribut name in struts tag. From here
Dear Lucas,
Thank you Lucas, my goal is render the struts tag based on list of column
name that i've set before. So i have to iterate the list of column using
jstl than put the "name" on attribut name in struts tag. From here, i
think i miss understanding about struts tag. I use s
Guessing you are trying to create dynamic names for the text fields. If you
have dynamic names how are you going to get the values into your action? You
could probably have an array of text fields
where the names of text fields are like mytext[columnName1],
mytext[columnName2] etc.
You can
wt., 18 lut 2020 o 05:22 M Huzaifah napisał(a):
> I've looking for solution how to create struts2 tag could generate
> dynamically. This is my code:
>
>
>
>
You shouldn't mix Struts and non-Struts tags, this is a bad idea. Why
don't you use here?
Dear All,
I've looking for solution how to create struts2 tag could generate
dynamically. This is my code:
There is a way we can use ${} ini struts tag?. I found security issue about
this evaluation sintaks in here :
https://securitylab.github.com/research/apache-struts-double
-Mails koennen wir keine Haftung
fuer den Inhalt uebernehmen.
Date: Fri, 29 Jun 2012 18:46:21 -0400
From: jus...@justinchin.com
To: user@struts.apache.org
Subject: Struts Tag Iterator formatting issue using tables
I am having issues getting the Struts Iterator
Tag
Two issues: form elements with no form, and using the default xhtml theme,
where form element tags include table rows/cells.
You may want to use the simple theme, or create/extend a theme.
Note the simple theme doesn't emit field errors.
Dave
(pardon brevity and typos, on cell)
On Jun 29, 2012
Hello,
I am trying to add a character countdown to certain fields in the CMS I work
on. The key is that I only want it to apply to certain fields for certain
asset types. So, in our DB model, both asset A and asset B use the Headline
field, but only asset A needs to worry about SEO and the
Your attribute break w3c standard and considering you're going to realize a
cms and not an intranet, you should avoid such non-standard elements.
In order to accomplish what you need I use to assign css classes:
input type =text class =data-length-50 ...
After I handle it with jquery.
Maurizio
Is there a way to specify a template to use for a struts tag, on a per tag
basis e.g.
I am trying to change the checkboxlist default LF so that it renders in a
table. This is working fine. But if I want to use the default LF also, how
do I do that.
As of now, I copied the struts provided .ftl
Use the theme attribute.
Dave
On Tue, Nov 23, 2010 at 2:32 PM, Harsh C hchau...@gmail.com wrote:
Is there a way to specify a template to use for a struts tag, on a per tag
basis e.g.
I am trying to change the checkboxlist default LF so that it renders in a
table. This is working fine
, Harsh C hchau...@gmail.com wrote:
Is there a way to specify a template to use for a struts tag, on a per
tag
basis e.g.
I am trying to change the checkboxlist default LF so that it renders in
a
table. This is working fine. But if I want to use the default LF also,
how
do I do
, 2010 at 3:23 PM, Dave Newton davelnew...@gmail.com
wrote:
Use the theme attribute.
Dave
On Tue, Nov 23, 2010 at 2:32 PM, Harsh C hchau...@gmail.com wrote:
Is there a way to specify a template to use for a struts tag, on a per
tag
basis e.g.
I am trying to change
Can anyone tell me how we can write ARIA attribute in struts tag. I ma
using Struts 1.3.8
Thanks
Anjib
Hi Guys,
I want to get a list stored in the session and feed that value in to the
iterator... i have done like as shown below, but its not working
s:iterator value='%{request.getSession().getAttribute(test);}'
/s:interator
Can anyone suggest me how to do this..?
--
Regards
Kushan
Try %{#session.test}
James
-Original Message-
From: Kushan Jayathilake [mailto:kusha...@gmail.com]
Sent: 23 June 2010 11:49
To: Struts Users Mailing List
Subject: Get a list stored in the session to the struts tag
Hi Guys,
I want to get a list stored in the session and feed that value
:
Try %{#session.test}
James
-Original Message-
From: Kushan Jayathilake [mailto:kusha...@gmail.com]
Sent: 23 June 2010 11:49
To: Struts Users Mailing List
Subject: Get a list stored in the session to the struts tag
Hi Guys,
I want to get a list stored in the session and feed
name the book ;) )
-Original Message-
From: Kushan Jayathilake [mailto:kusha...@gmail.com]
Sent: 23 June 2010 11:55
To: Struts Users Mailing List
Subject: Re: Get a list stored in the session to the struts tag
Hi James,
Thank you very much for your quick reply, i have found the way
Users Mailing List
Subject: Re: Get a list stored in the session to the struts tag
Hi James,
Thank you very much for your quick reply, i have found the way,
s:iterator value='%{session.test}'
no need of that # sign there.
Thanks again, you helped me to solve this :)
--
Regards
Kushan
On 6/23/10 6:55 AM, Kushan Jayathilake wrote:
Thank you very much for your quick reply, i have found the way,
s:iterator value='%{session.test}'
no need of that # sign there.
That probably means that your action has a getSession() method. Since
you may use that view layer page from a
-struts-tag-to-html-tp27257737p27257737.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
VSGoud schrieb:
Hi Friends,
When i am using Data Tag s:property /, loosing linebreaks ,spaces etc.
which were there in the DataBase columns.
I am eager to convert the fetched data to html.
Could u help me out from this issue.
Srikanth
Even though your problem is completely unrelated to
the fetched data to html.
Could u help me out from this issue.
Srikanth
--
View this message in context:
http://old.nabble.com/Convert-struts-tag-to-html-tp27257737p27257737.html
Sent from the Struts - User mailing list archive at Nabble.com
So in my JSP i have defined a s:set tag which populates a variable
with an empty string in some cases. And when using the s:property
referencing the variable name on the stack, I get the following
output:
com.opensymphony.xwork2.defaulttextprovi...@28ca1c
What is the proper way to assign a text
that is odd indeed, can you give us an example that shows this
problem? The way to set a variable is by using the set tag, like
s:set var=id value=%{'somestring'}/
s:property value=%{#id} /
musachy
On Sun, Nov 15, 2009 at 12:00 PM, Chris Cranford cranc...@gmail.com wrote:
So in my JSP i have
the ${saveMethod} value into a struts tag??
thanks,
tibi
--
View this message in context:
http://www.nabble.com/use-param-from-own-tag-in-struts-tag-tp25477711p25477711.html
Sent from the Struts - User mailing list archive at Nabble.com
tibi wrote:
%@ include file=/common/taglibsForTags.jsp%
%@ attribute name=saveMethod %
${saveMethod} !---this woks and will print out the value --
This shows that the value is available to jstl. You can use various
other tags (c:set for example) to set that value in a location
addressable
addressable by ognl.
-Dale
dale,
sounds great. can you provide me with an example.
thanks
tibi
--
View this message in context:
http://www.nabble.com/use-param-from-own-tag-in-struts-tag-tp25477711p25479051.html
Sent from the Struts - User mailing list archive at Nabble.com
tibi wrote:
sounds great. can you provide me with an example.
The easiest thing is to pass it through some common scope. You'll have
to decide which scope to use. If the tag is not recursive, you can just
use the request scope.
If ${jstlFoo} prints FOO
then
c:set var=ognlFoo
dale,
perfect! tomorrow at work i will try this new insight and share the
knowledge which was lacking here:
http://www.nabble.com/my-tag-td25472559s2369.html
tibi
--
View this message in context:
http://www.nabble.com/use-param-from-own-tag-in-struts-tag-tp25477711p25479344.html
Sent from
Hi !:
I created a Custom tag,it works fine,but when i try to do this:
sb.append(html:text );
the browser doesnt show me nothing,just write blanck in that part of the
code.
So do you know some way to use a Struts tag inside a personal custom tag?
Thank you!
--
View this message in context
this:
sb.append(html:text );
the browser doesnt show me nothing,just write blanck in that part of the
code.
So do you know some way to use a Struts tag inside a personal custom tag?
Thank you!
-
To unsubscribe, e-mail
Thanx a lot. This works!
Grish wrote:
decorator:usePage id=myPage /
s:set name=currentNav
value=%{#attr.myPage.getProperty('meta.currentNav')} /
--
View this message in context:
http://www.nabble.com/-S2--Access-a-SiteMesh-Object-in-a-Struts-tag-tp13272172p24800510.html
Sent from
in context:
http://www.nabble.com/Struts-Tag-Library---Can-I-have-a-dropbox-option-disable-a-text-field--tp23437093p23456204.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user
spongebue wrote:
Thanks, Dave. I played around, and got MOST of what I want going. However,
I'd like to be able to hide the label (I decided to hide the field
altogether, rather than disable editing). This was no problem with the text
field, but the label does not get an id assigned by
boys now and am
stuck with the struts tags, which I have little experience with. I know how
Struts works and all, but I'm horrible with the tag library.
Thanks!
Brian
--
View this message in context:
http://www.nabble.com/Struts-Tag-Library---Can-I-have-a-dropbox-option-disable-a-text-field
spongebue wrote:
Basically, I have an s:select list with a list of activities, which gets its
content from the database, delivered via struts. I also have a s:textfield
with the number of hours each activity takes up. What I'd like is for the
text field to no longer be editable once an
.
Regards,
Kishan.G
Senior Software Engineer.
www.spansystems.com
-Original Message-
From: URTsreenivas [mailto:sreenivas.jaw...@uroomtech.com]
Sent: Thursday, April 30, 2009 9:23 AM
To: user@struts.apache.org
Subject: Adding Text Image to struts tag
i am using struts submit tag . i
: Adding Text Image to struts tag
Hi Sreenivas,
For image use submit type as image and src (this image you will
design with the text you want), if you want to use text use submit type
as input or button. If you want to use both make use of submit tag's
cssClass and type as input or button.
May
i am using struts submit tag . i want to add the both text and image to
struts submit button how is it possible?
Thanks in Advance
--
View this message in context:
http://www.nabble.com/Adding-Text---Image-to-struts-tag-tp23309438p23309438.html
Sent from the Struts - User mailing list archive
QZ wrote:
We were using JSP EL expression to evaluate parameter value passed from a
custom tag to struts tag defined in that custom tag file. After we
upgraded Struts from 2.0.9 to 2.0.14, we had to modify struts tag defined
in our tag file since JSP EL expression is not allowed any more
I'm having the same problem, posted it on the opensymphony ognl forum here:
http://forums.opensymphony.com/thread.jspa?messageID=625477
QZ wrote:
We were using JSP EL expression to evaluate parameter value passed from a
custom tag to struts tag defined in that custom tag file. After we
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
--
View this message in context:
http://www.nabble.com/Struts-tag---tp21707578p21751019.html
Sent from the Struts
://www.manning.com/wannemacher
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
--
View this message in context:
http://www.nabble.com/Struts-tag
://www.manning.com/wannemacher
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
--
View this message in context:
http://www.nabble.com/Struts-tag
We were using JSP EL expression to evaluate parameter value passed from a
custom tag to struts tag defined in that custom tag file. After we upgraded
Struts from 2.0.9 to 2.0.14, we had to modifed struts tag defined in our tag
file since JSP EL expression is allowed any more in struts tag because
We were using JSP EL expression to evaluate parameter value passed from
a custom tag to struts tag. After we upgraded Struts from 2.0.9 to
2.0.14, we had to modify struts tag defined in our tag file since JSP EL
expression is not allowed any more in struts tag because of changes from
WW-2107
org.apache.jasper.JasperException: File /struts-tags not found
In struts 2 distribution, I do not see struts-tags or its .tld . Am I
missing it or why do I get this error?
--
View this message in context:
http://www.nabble.com/Struts-tag---tp21707578p21707578.html
Sent from the Struts - User
On Wednesday 28 January 2009 10:09:06 SanJ.SANJAY wrote:
org.apache.jasper.JasperException: File /struts-tags not found
In struts 2 distribution, I do not see struts-tags or its .tld . Am I
missing it or why do I get this error?
What version of Tomcat are you using? The TLD is in the JAR
in context:
http://www.nabble.com/Struts-tag---tp21707578p21707972.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h
On Wednesday 28 January 2009 10:28:13 SanJ.SANJAY wrote:
I am using Jboss 4.0.2. I was running my application on struts 1 and now
decided to go with struts 2 in parallel with struts 1. So after putting all
the struts 2 jar in lib and shared lib folders, I updated web.xml for
filter dispatcher
this message in context:
http://www.nabble.com/Struts-tag---tp21707578p21708266.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands
On Wednesday 28 January 2009 10:44:02 SanJ.SANJAY wrote:
I dropped all the jars from the /lib folder of distribution which is
2.0.14.
And you dropped them in WEB-INF/lib of your application and redeployed?
I assume you also setup a struts.xml file as well as updated your web.xml to
include
...@struts.apache.org
--
View this message in context:
http://www.nabble.com/Struts-tag---tp21707578p21708576.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: user-unsubscr
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org
--
View this message in context:
http://www.nabble.com/Struts-tag---tp21707578p21708700.html
Sent from the Struts - User mailing list archive at Nabble.com
On Wednesday 28 January 2009 10:59:35 SanJ.SANJAY wrote:
I can extract the struts-core jar with an error.
Was that a mistake?
Also I placed them under
WEB-INF/lib folder. The only thing I have'nt done yet is struts.xml file.
Could this be the issue? I thought since I wil not be using any
Hello all,
I am having a peculiar problem. How do i assign the values from javascript
to struts tag.
consider as an example Suppose I have a javascript in a jsp page that
contains lots of struts tags. from javascript based on some
formula.i assign a list of values say 1,2,3
, Dec 5, 2008 at 11:47 AM, Greenhorn2005 [EMAIL PROTECTED] wrote:
Hello all,
I am having a peculiar problem. How do i assign the values from javascript
to struts tag.
consider as an example Suppose I have a javascript in a jsp page that
contains lots of struts tags. from javascript
something wrong about the usage of struts tag and OGNL.
Here is my problem:
I want to generate the following html with s:textfiled/ tag:
input name=mylist[0].dstn value=CNS type=textbr/
input name=mylist[1].dstn value=CNS type=textbr/
input name=mylist[2].dstn value=CNS type=textbr
PROTECTED]
Sent: Monday, November 24, 2008 7:44 AM
To: user@struts.apache.org
Subject: [HELP]: struts tag and OGNL
Hi, everyone.
I have something wrong about the usage of struts tag and OGNL.
Here is my problem:
I want to generate the following html with s:textfiled/ tag:
input name=mylist[0
Hi, everyone.
I have something wrong about the usage of struts tag and OGNL.
Here is my problem:
I want to generate the following html with s:textfiled/ tag:
input name=mylist[0].dstn value=CNS type=textbr/
input name=mylist[1].dstn value=CNS type=textbr/
input name=mylist[2].dstn value
try this
s:iterator status=sts value=mylist
s:textfield name='%{mylist[ + #sts.index + ].dstn}' /
/s:iterator
ManiKanta
Maybe using Apache Commons BeanUtils? Anybody knows?
Thanks again.
Paolo
Paolo Niccolò Giubelli ha scritto:
I'm sorry, but I'm still unable to do that.
Ciro Montanino ha scritto:
Try to use jstl tag library to read HashTable contents.
On Mon, Jun 30, 2008 at 4:29 PM, Paolo Niccolò Giubelli
Ok, I used jstl and now it works!
Here's the code (it's changed since the first post, so don't compare it):
logic:iterate id=category name=pannelloForm
property=highLevelCategories
div
h5bean:write name=category property=name/ /h5
c:set var=subcategories
Hi!
I need a little help. I'm writing a jsp using struts tags and in my
ActionForm class I put an Hashtable containing keys and values (both are
pojos).
I can get my hashtable in this way:
bean:define id=ht name=myForm property=productsCategories/
The key is also a bean, obtained through a
Try to use jstl tag library to read HashTable contents.
On Mon, Jun 30, 2008 at 4:29 PM, Paolo Niccolò Giubelli
[EMAIL PROTECTED] wrote:
Hi!
I need a little help. I'm writing a jsp using struts tags and in my
ActionForm class I put an Hashtable containing keys and values (both are
pojos).
I'm sorry, but I'm still unable to do that.
Ciro Montanino ha scritto:
Try to use jstl tag library to read HashTable contents.
On Mon, Jun 30, 2008 at 4:29 PM, Paolo Niccolò Giubelli
[EMAIL PROTECTED] wrote:
-
To
Hi, is there a simple tag I can use to just evaluate some OGNL? For
example, if I have the following line in a JSP it's kind of clunky:
s:set name=dummyValue value=%{#map.put(#enum.name(),
#enum.toString())}/
does anyone know of a more elegant way?
Brad Cupit
Louisiana State University - UIS
If you have devMode set to true, you can add debug=console to your
URL and you will get an OGNL console.
musachy
On Wed, Jun 18, 2008 at 1:32 PM, Brad A Cupit [EMAIL PROTECTED] wrote:
Hi, is there a simple tag I can use to just evaluate some OGNL? For
example, if I have the following line in a
.
Brad Cupit
Louisiana State University - UIS
-Original Message-
From: Musachy Barroso [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 18, 2008 1:08 PM
To: Struts Users Mailing List
Subject: Re: simple struts tag to eval OGNL
If you have devMode set to true, you can add debug=console to your
I didn't know that.
but actually, I was kind of looking for something that would stay in the
page. It wouldn't be for debugging, but some simple logic in the page
for creating the html.
s:debug/ ?
Regards
--
Lukasz
http://www.lenart.org.pl/
Lukasz Lenart wrote:
s:debug/
what I’m really trying to do is have nice integration between s:select and
enums. I want a select box with each of the enum choices in it. For this to
work, I'd need the enum name as the key in a map, and a
user-friendly-string-representation of the enum as the
Hi,
I'm using something like this:
s:radio name=employee.employeeType key=label.employee.type
list=employeeTypes listKey=shortcut
listValue=name() required=true/
in action I have
public EmployeeType[] getEmployeeTypes() {
return EmployeeType.values();
}
Lukasz Lenart wrote:
I'm using something like this:
s:radio name=employee.employeeType key=label.employee.type
list=employeeTypes listKey=shortcut
listValue=name() required=true/
Oh wonderful! I didn't know that’s what listKey and listValue were for. I was
able to take
p.s. to call the static values() method of the enum,
struts.ognl.allowStaticMethodAccess must be set to true in struts.properties
or struts.xml
Thanks, I've also learned something new ;-)
Regards
--
Lukasz
http://www.lenart.org.pl/
harmless.
Is there a struts tag that does this?
Regards,
Graham
--
smime.p7s
Description: S/MIME Cryptographic Signature
Hi,
Thanks for the valuable information. The problem is my company is not using
ajax at the moment. Is there any other way to call the javascipt funtion in
struts tag. I have a java script function placed in web project. This
function returns a value
function shortenTextLength(text, textlength
in
struts tag. I have a java script function placed in web project. This
function returns a value
function shortenTextLength(text, textlength)
{
var textValue = text;
if (textValue.length textlength){
var shortenedText = textValue.substring(0,textlength
other way to call the javascipt funtion in
struts tag. I have a java script function placed in web project. This
function returns a value
function shortenTextLength(text, textlength)
{
var textValue = text;
if (textValue.length textlength){
var shortenedText
Hello everyone,
I have been researching on the web on how to call javascript from Struts
tag.
I am using struts 2 to develop JSP. Following is the piece of code in JSP,
which calls javascript
td class=nowrap
script type=text/javascript
document.write(shortenTextLength
: Friday, February 22, 2008 4:05 PM
Subject: How to call javascript from Struts tag
Hello everyone,
I have been researching on the web on how to call javascript from Struts
tag.
I am using struts 2 to develop JSP. Following is the piece of code in JSP,
which calls javascript
td class=nowrap
Dale,
this is useful information for me. Thanks for pointing this out.
I'll make use of this class, I think.
Joachim
P.P.S: If your question is really how do i evaluate tag arguments
that are really ognl expressions, then TagUtils.getStack() is probably
what you're looking for:
Joachim Ansorg wrote:
writing a simple Struts2 tag is not that difficult.
A Tag is simply a java interface:
http://java.sun.com/javaee/5/docs/api/javax/servlet/jsp/tagext/Tag.html
The life cycle of a tag is discussed in that javadoc.
There are a number of classes that make implementing your
Darren James wrote:
What I was more interested in is some guidelines similar to what
Joachim posted in writing a struts2 tag. And by that I mean one of
those generic, technology independent beasts that can be used in
Freemarker and Velocity as well as JSP.
I don't know how one writes
Hi Dale,
Yes, i'm familiar with writing JSP tags, although it's been quite
some time since i've done so. It took me about 1/2 an hour to
dust off the cobwebs and write a JSP tag extending BodyTagSupport
that did what I wanted it to do.
What I was more interested in is some guidelines similar
--- Justin Frost [EMAIL PROTECTED] wrote:
OK seeing how I can not wrap s:textfiled tags in a div, how would I go
about using the default theme to remove the whole tr that has the label
and field?
I'm out of my knowledge area with this one.
There are several ways around this issue, each
--- Justin Frost [EMAIL PROTECTED] wrote:
I want to be able to hide an entire s:div tag based on an onclick event
from a s:checkbox
I was not able to hide the div.
And when I tried to hide just a s:textbox field only the html text box
was hidden, not the label.
That's because the ID is
Of course the label can't be hidden as it's not the same element.
It may also depend on the theme you're using. By default it's the
xhtml one, and as this theme creates additional trtd stuff around
(which is really annoying and shouldn't be default IMHO), what you're
doing is only hiding the inner
=prodSendUri.ip
label=OpenLink IP id=prodIp /
s:textfield name=prodSendUri.port
label=Port id=prodPort
maxlength=10/
/s:div
/s:form
--
View this message in context:
http://www.nabble.com/-S2-Using-javascript-to-hide-a-struts-tag
-a-struts-tag-tp14456476p14458822.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
from the
Page object of sitemesh and make it accessible to my s2 tags. I was
reading about OGNL and the syntax but i can't seem to get that property.
Is my syntax incorrect?
Grish wrote:
Hi,
I was wondering if this is possible, I want to access a SiteMesh object
in a struts tag like
and make it accessible to my s2 tags. I was reading about
OGNL and the syntax but i can't seem to get that property. Is my syntax
incorrect?
Grish wrote:
Hi,
I was wondering if this is possible, I want to access a SiteMesh object in
a struts tag like the set tag:
I want to access the Page
Hi,
I was wondering if this is possible, I want to access a SiteMesh object in a
struts tag like the set tag:
I want to access the Page object from SiteMesh and get a property from that
object and assign it a value
decorator:usePage id=myPage /
s:set name=currentPage value= /
where value
and then during each
iteration, call the maps get() method passing the key to it which is not
working. Could someone
who has done this before show me the struts tag syntax that would
accomplish
this?
Thanks.
Marco
, call the maps get() method passing the key to it which is not
working. Could someone
who has done this before show me the struts tag syntax that would accomplish
this?
Thanks.
Marco
That worked for me:
% String str=form.action='action.do?command=notifyrowId=; %
onclick=%= str%c:out value='${list.rowId}'/' /
And in Action:
String rowId = request.getParameter(rowId);
Thank you all,
Oleg.
On 8/13/07, Frank W. Zammetti [EMAIL PROTECTED] wrote:
Oleg Konovalov wrote:
make
1 - 100 of 204 matches
Mail list logo