On Tue, Jun 10, 2025 at 13:37 Lukasz Lenart wrote:
> Nope, basically ${} means "use JSP EL" which is prohibited "inside" S2
> tags, using %{} means "use OGNL expression" which is fine.
Oops, forgot about that smh
d
wt., 10 cze 2025 o 18:23 Ute Kaiser napisał(a):
>
> Update after more investigating Nate's answer:
>
> onclick="document.getElementById('deleteid').value='%{id}';">
>
> Using ${id} threw an error (I suppose my config not fit for JSP EL)
Nope, basically ${} means "use JSP EL" which is prohibited
Update after more investigating Nate's answer:
Using ${id} threw an error (I suppose my config not fit for JSP EL)
Best regards
Ute
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail:
Hi and thx for your fast answers.
I am aware that migration could go much deeper in cleaning up but rewriting the
action und jsp files is fissel work enough at the moment.
Dave's answer "But you should be able use standard JSP EL iirc." inspired me.
First I did not understand (never used EL), th
Hi Ute,
I would recommend you split up your JavaScript into separate files as well, but
if you ABSOLUTELY have to write a property value inside a Struts tag, the best
way to do that is probably through an OGNL or JSTL expression. In your case,
you can replace the s:property tag inside the
On Fri, Jun 6, 2025 at 09:14 Ute Kaiser wrote:
> Hi,
> migrating from Struts1 I encounter in a jsp the error "Equal symbol
> expected" at the "onclick" row.
> I think my old quotes do not work any more with Struts2.
>
> Struts1:
>
>
> onclick="javascript:if(confirmDelete()){document.getElemen
Hi,
migrating from Struts1 I encounter in a jsp the error "Equal symbol expected"
at the "onclick" row.
I think my old quotes do not work any more with Struts2.
Struts1:
';}"/>
Struts2:
';}"/>
I tried 'id', \"id\", \'id\' "id" but nothing worked out
Any advice appreciated (hopefully not
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
ValueStac
h is out of
Struts control and 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:
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,
) 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
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 the
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?
https://struts.apache.org/tag-developers/
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-d
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, 201
Manipulierbarkeit von E-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
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
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 50-char
e, Nov 23, 2010 at 3:23 PM, Dave Newton
> wrote:
>
> > Use the "theme" attribute.
> >
> > Dave
> >
> > On Tue, Nov 23, 2010 at 2:32 PM, Harsh C wrote:
> >
> > > Is there a way to specify a template to use for a struts tag, on a per
> &
2010 at 2:32 PM, Harsh C 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 L&F so that it renders in
> a
> > table. This is working fine. But if I wan
Use the "theme" attribute.
Dave
On Tue, Nov 23, 2010 at 2:32 PM, Harsh C 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 L&F so that it renders in a
> table. This i
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 L&F so that it renders in a
table. This is working fine. But if I want to use the default L&F also, how
do I do that.
As of now, I copied the struts provi
Can anyone tell me how we can write ARIA attribute in struts tag. I ma
using Struts 1.3.8
Thanks
Anjib
On 6/23/10 6:55 AM, Kushan Jayathilake wrote:
Thank you very much for your quick reply, i have found the way,
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 different action, or you may
want to
one out there that can 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 muc
in the session to the struts tag
Hi James,
Thank you very much for your quick reply, i have found the way,
no need of that # sign there.
Thanks again, you helped me to solve this :)
--
Regards
Kushan Jayathilake
On Wed, Jun 23, 2010 at 4:20 PM, James Cook
wrote:
> Try %{#session.t
; -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 va
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
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
Can anyone suggest me how to do this..?
--
Regards
Kushan Jayathilake
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.
>
>
> --
VSGoud schrieb:
Hi Friends,
When i am using Data Tag , 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 Struts (and
ther
Hi Friends,
When i am using Data Tag , 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
--
View this message in context:
http://old.nabble.com/Convert-struts-tag-to
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
musachy
On Sun, Nov 15, 2009 at 12:00 PM, Chris Cranford wrote:
> So in my JSP i have defined a s:set tag which populates a variable
> with an empty string in some
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
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
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
should also print "FOO"
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
tibi wrote:
<%@ include file="/common/taglibsForTags.jsp"%>
<%@ attribute name="saveMethod" %>
${saveMethod}
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 by ognl.
-Dale
-
tribute name="saveMethod" %>
${saveMethod}
of i would do this:
i get an security error.
so how can i add 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
Sen
try to do this:
> sb.append("
> 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!
>
Hi !:
I created a Custom tag,it works fine,but when i try to do this:
sb.append("http://www.nabble.com/Struts-tag-inside--Custom-tag-tp25063279p25063279.html
Sent from the Struts - User mailing list archive at Nabble.com.
---
Thanx a lot. This works!
Grish wrote:
>
>
> 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 the St
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 struts,
editing). This was no problem with the text
field, but the label does not get an id assigned by struts, so I can't
really call it in the JS. Any way to have Struts add an id to the label or
any other way I could hide it?
Thanks again!
--
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 activity
27;m working with the big 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-dropb
ubject: RE: 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'
his will help.
Thank you.
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 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
spa?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
>> upgraded Struts from 2.0.9 to 2.0.14, we had to modify struts tag defi
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
how, can you try to deploy one of the sample apps in your app server?
>>> Try
>>> struts2-blank. If it works, we'll know it's not an app server problem.
>>> I'm
>>> guessing that your setup is hosed. My suggestion would be to take a look
>>> at
>>> the getting started guides and try to build a simp
cation, before
>> dumping all the jars into WEB-INF/lib and trying out the tags.
>>
>> -Wes
>>
>> --
>>
>> Wes Wannemacher
>> Author - Struts 2 In Practice
>> Includes coverage of Struts 2.1, Spring, JP
tags.
>
> -Wes
>
> --
>
> Wes Wannemacher
> Author - Struts 2 In Practice
> Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more
> http://www.manning.com/wannemacher
>
>
> -----
&g
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
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
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
gt;> --
>>
>> Wes Wannemacher
>> Author - Struts 2 In Practice
>> Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more
>> http://www.manning.com/wannemacher
>>
>>
>> ---------
>> T
> 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---tp21707578p21708576.html
Sent from the Struts - User m
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
includ
; http://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
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 dispatch
> 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---tp21707578p21707972.html
Sent from the Struts -
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
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
ML.
Nils-H
On Fri, 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
&
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 and
Try the below logic:
Use s:set for generating index
-Nishi.
EoneZhang wrote:
>
> Hi, everyone.
>
> I have something wrong about the usage of struts tag and OGNL.
>
> Here is my problem:
>
> I want to generate the
U Kan use like following way,
Regards,
Nikunj
-Original Message-
From: EoneZhang [mailto:[EMAIL PROTECTED]
Sent: Monday, November 24, 2008 7:44 AM
To: user@struts.apache.org
Subject: [HELP]: struts tag and OGNL
Hi, everyone.
I have
try this
ManiKanta
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 tag:
I use the tag like following:
But it generate the below html:
Is there anyone who can give some help,thanks a
Ok, I used jstl and now it works!
Here's the code (it's changed since the first post, so don't compare it):
property="highLevelCategories">
value="${pannelloForm.highLevelCategoriesChildren[category.id]}">
${subcategory.contenuto.name}
where:
- pannelloForm is the ActionForm bean
- hi
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 <
[
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 unsubscrib
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
> pojo
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:
The key is also a bean, obtained through a (working) logic:iterate:
How can I retrieve a value from h
> 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/
--
Lukasz Lenart wrote:
> I'm using something like this:
>
> 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 my four lines of JSP and convert them into just
Hi,
I'm using something like this:
in action I have
public EmployeeType[] getEmployeeTypes() {
return EmployeeType.values();
}
and the enum
public enum EmployeeType
{
DIRECT("D"),
INDIRECT("I"),
OFFICE("O");
private String shortcut;
EmployeeType(String s
Lukasz Lenart wrote:
>
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 value.
I
> 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.
?
Regards
--
Lukasz
http://www.lenart.org.pl/
-
he page
for creating the html.
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 &quo
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
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:
does anyone know of a more elegant way?
Brad Cupit
Louisiana State University - UIS
-
To
e rendered harmless.
Is there a struts tag that does this?
Regards,
Graham
--
smime.p7s
Description: S/MIME Cryptographic Signature
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)
> {
> var textValue = text;
> if (textValue.len
like:
click me
?
musachy
On Thu, Feb 28, 2008 at 11:43 AM, Varun Ratra <[EMAIL PROTECTED]> wrote:
>
> 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
&g
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
t.topic.getTopic("updateReportsListTopic").subscribe(null,
"updateReports");
Here is the html
..HTHM--- Original Message -
From: "Varun Ratra" <[EMAIL PROTECTED]>
To:
Sent: Friday, February 22, 2008 4:05 PM
Subject: How to call javascript from Strut
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
document.write(shortenTextLength('${defaultReturnReason}',
'
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:
http://struts.
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 freemar
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 to
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 o
--- Justin Frost <[EMAIL PROTECTED]> wrote:
> OK seeing how I can not wrap tags in a , how would I go
> about using the default theme to remove the whole that has the label
> and field?
>
> I'm out of my knowledge area with this one.
There are several ways around this issue, each having tradeof
gt; in a , but I'm never sure what's legal HTML anymore.
>
> I'm also not sure if I'd bother using if you're just using it
> to
> create a normal element; seems like unnecessary overhead.
>
> d.
>
>
--- Justin Frost <[EMAIL PROTECTED]> wrote:
> I want to be able to hide an entire tag based on an onclick event
> from a
>
> I was not able to hide the div.
> And when I tried to hide just a field only the html text box
> was hidden, not the label.
That's because the ID is for the textbox (wh
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 stuff around
(which is really annoying and shouldn't be default IMHO), what you're
doing is only hiding the inner stuf
1 - 100 of 228 matches
Mail list logo