Re: Struts 2.2.1 and Tag Lib oddities

2010-12-13 Thread Li Ying
I think the tag-lib [/struts-tags] is defined in [struts2-core-2.2.1.jar/META-INF/struts-tags.tld]. Can you see this file in your Eclipse, under the [Web App Libraries]? Or, can you see the [Web App Libraries] in the [Java Build Path => Libraries] of your web-app? Or, you can [refresh] your whol

Struts 2.2.1 and Tag Lib oddities

2010-12-13 Thread RogerV
it definitely struts related. I'm getting the same problem with the sitemesh tags as well (<%@ taglib prefix="decorator" uri="http://www.opensymphony.com/sitemesh/decorator"; %>) Anyone got any idea as to what has changed? Regards -- View this message in context:

and tag not working in IE

2009-11-12 Thread Rupesh Mankar
Hi all, I am new to struts2. I am using struts2's and for generation of tree components. It works fine in Mozilla firefox. But when I open same URL in Internet explorer and clicks on any tree node it throws javascript error: Message: Unspecified error. Line: 3546 Char: 1 Code: 0 URI: http://

Re: Question about dojo and tag

2008-12-12 Thread Danilo Barsotti
I'm using struts 2.0.14, struts-sitemesh-plugin 2.0.14 and freemarker 2.3.8 On Fri, Dec 12, 2008 at 10:33 PM, Danilo Barsotti wrote: > hi all!! > > why when I write the html generated have this: > > > > // Dojo configuration > djConfig = { > baseRelativePath: "/xxx/struts/do

Question about dojo and tag

2008-12-12 Thread Danilo Barsotti
hi all!! why when I write the html generated have this: // Dojo configuration djConfig = { baseRelativePath: "/xxx/struts/dojo", isDebug: false, bindEncoding: "UTF-8", debugAtAllCosts: true // not needed, but allows the Venkman debugger to work with t

Re: [S2] Struts.xml and tag

2008-09-11 Thread Roger
On Thursday 11 September 2008 21:37:58 [EMAIL PROTECTED] wrote: > What package/class contains your > > String name = invocation.getProxy().getConfig().getPackageName(); > The call to String name = invocation.getProxy().getConfig().getPackageName(); is made by an interceptor which is defined in th

Re: [S2] Struts.xml and tag

2008-09-11 Thread stanlick
What package/class contains your String name = invocation.getProxy().getConfig().getPackageName(); On Thu, Sep 11, 2008 at 5:46 AM, Roger <[EMAIL PROTECTED]> wrote: > I have a struts.xml with two package tags. The first package is named > name="default" extends="struts-default"> and contains m

[S2] Struts.xml and tag (follow up)

2008-09-11 Thread Roger
>String name = invocation.getProxy().getConfig().getPackageName(); returns the >name "secure" for all actions regardless of the package the class is actually >located in. If I now add a third package tag extends="default"> that contains no actions at all, String name = >invocation.getProxy().ge

[S2] Struts.xml and tag

2008-09-11 Thread Roger
I have a struts.xml with two package tags. The first package is named and contains my custom interceptor stack. The second package is named so that my custom interceptor stack is available to actions in the secure package. In my custom interceptor stack I have an interceptor in which I am try

Re: and tag

2008-07-22 Thread Kibo
OK -- - Tomas Jurman Czech Republic -- View this message in context: http://www.nabble.com/%3Cs%3Aproperty%3E-and-%

Re: and tag

2008-07-22 Thread ManiKanta G
Hi, I think 'sort' value is available from action class. If yes, when it is directly available from action, you do not need to use . U can use the value from action itself. ManiKanta Kibo wrote: Hi ManiKanta G Thank for you replay. It help me. But, the problem was in wrong return dateTyp

Re: and tag

2008-07-22 Thread Kibo
Hi ManiKanta G Thank for you replay. It help me. But, the problem was in wrong return dateType. The code below work correct. --- OK

Re: and tag

2008-07-22 Thread ManiKanta G
is like out.println(). It is useful for printing (outputs) some value, but not to store a value. To store a value in to the value stack (coz this is S2), you may use where the name attribute indicates the name of the variable and the value indicates the value to be store. You may use anothe

and tag

2008-07-22 Thread Kibo
Hi konference I am already helpless. How can I test the property in OK -- Thanks a lot. - Tomas Jurman Czech Republic

Re: [OT] Re: Struts2 and tag

2008-04-06 Thread Gabriel Belingueres
Seems you missed to add the Apache Commons Lang library jar file. I have projects running with displaytag 1.1.1 and commons-lang 2.3. (Don't know if the last 2.4 version work though.) Gabriel 2008/4/5, Dave Newton <[EMAIL PROTECTED]>: > --- aum strut <[EMAIL PROTECTED]> wrote: > > here is the ex

Re: [OT] Re: Struts2 and tag

2008-04-05 Thread Jeromy Evans
arum, Read this *entire* page paying particular attention to point 2 "dependencies": http://displaytag.sourceforge.net/11/install.html A ClassNotFoundException always implies you're missing a jar in the classpath. - To un

Re: [OT] Re: Struts2 and tag

2008-04-05 Thread aum strut
thanks dave for the help iwill look in to this and will try to find out the clue On 4/5/08, Dave Newton <[EMAIL PROTECTED]> wrote: > > --- aum strut <[EMAIL PROTECTED]> wrote: > > i am using my eclipse for the development > > everything was working ine before i tried to use the display tag > > ...

Re: [OT] Re: Struts2 and tag

2008-04-05 Thread Dave Newton
--- aum strut <[EMAIL PROTECTED]> wrote: > i am using my eclipse for the development > everything was working ine before i tried to use the display tag ... The exception is telling you precisely what class is missing; this is a clue as to what may be wrong. Do you have *all* the libraries you ne

Re: [OT] Re: Struts2 and tag

2008-04-05 Thread aum strut
i am using my eclipse for the development everything was working ine before i tried to use the display tag On 4/5/08, Alberto A. Flores <[EMAIL PROTECTED]> wrote: > > Please note: > > java.lang.NoClassDefFoundError: > *org/apache/commons/lang/UnhandledException > * > > Indicates the classloader

Re: [OT] Re: Struts2 and tag

2008-04-05 Thread Alberto A. Flores
Please note: java.lang.NoClassDefFoundError: *org/apache/commons/lang/UnhandledException * Indicates the classloader couldn't find a class (which one, you may ask?). Looks like commons.lang couldn't find the UnhandledException class. Please make sure you have all displaytag dependencies. You may

Re: [OT] Re: Struts2 and tag

2008-04-05 Thread aum strut
yes i have already put the display tag jr file in my lib folder only problem in my opinion is use of <%@ taglib uri="http://displaytag.sf.net"; prefix="display" %> tag lib directiveas removing this directive will aslo remove the exception, according to exceptin it is unable to find the class. myse

[OT] Re: Struts2 and tag

2008-04-05 Thread Dave Newton
--- aum strut <[EMAIL PROTECTED]> wrote: > here is the exception which i am facing > > java.lang.NoClassDefFoundError: *org/apache/commons/lang/UnhandledException > * So what does that exception tell you? (I have very limited internet access today, so I can't look up the requirements for display

Re: Struts2 and tag

2008-04-05 Thread aum strut
here is the exception which i am facing java.lang.NoClassDefFoundError: *org/apache/commons/lang/UnhandledException * at java.lang.Class.getDeclaredConstructors0(*Native Method*) at java.lang.Class.privateGetDeclaredConstructors(Unknown Source) at java.lang.Class.getConstructor0(Unknown Source

Re: Struts2 and tag

2008-04-05 Thread Dave Newton
--- aum strut <[EMAIL PROTECTED]> wrote: > i have also imported the displaytag* in my jsp in the following way* > > <%@ taglib uri="http://displaytag.sf.net"; prefix="display" %> > > but on adding this it is giving exception and i will remove this taglib > eveything is working fine yes the data i

Struts2 and tag

2008-04-05 Thread aum strut
Hi All, I want to use display tag for displaying the data i have put the displaytag.jar file in the lib folder. i have an action class which is returnig the required data in an array list * public* ArrayList getItemCodeList() { *return* itemCodeList; } i am trying to use the display table tag

Proxy action and tag

2008-03-13 Thread stanlick
I am working on a piece of code where a single action services several methods. It uses a wildcard mapping and the method attribute of the tag is what drives the specific methods. I was unable to get the validators to work and started debugging the AnnotationValidationInterceptor to discover tha

Re: RE : [s2] Collection, array and tag.

2007-06-06 Thread Dave Newton
--- Zoran Avtarovski <[EMAIL PROTECTED]> wrote: > For example on a search form we would add a not > applicable object to the start of our collection. > > No Image > label="fileName" > value="fileName"/> > > > I'd love to be able to do something similar in S2, d.

Re: RE : [s2] Collection, array and tag.

2007-06-06 Thread Zoran Avtarovski
I can give you a simple use case we have which annoys the crap out of me: In S1 we used our business layer to get a collection of objects. Depending on how that collection was used we might need to add an object to it. For example on a search form we would add a not applicable object to the start

Re: RE : [s2] Collection, array and tag.

2007-06-06 Thread Musachy Barroso
: Re: [s2] Collection, array and tag. I logged this ticket for it: https://issues.apache.org/struts/browse/WW-1971 musachy On 6/6/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: > > Looking at the code, only String[] is transformed into parameters. For > anything else, its toString()

RE : [s2] Collection, array and tag.

2007-06-06 Thread Ezequiel Puig
ruts Users Mailing List Objet : Re: [s2] Collection, array and tag. I logged this ticket for it: https://issues.apache.org/struts/browse/WW-1971 musachy On 6/6/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: > > Looking at the code, only String[] is transformed into parameters. Fo

Re: [s2] Collection, array and tag.

2007-06-06 Thread Musachy Barroso
I logged this ticket for it: https://issues.apache.org/struts/browse/WW-1971 musachy On 6/6/07, Musachy Barroso <[EMAIL PROTECTED]> wrote: Looking at the code, only String[] is transformed into parameters. For anything else, its toString() will be called and used as the value of the parameter

Re: [s2] Collection, array and tag.

2007-06-06 Thread Musachy Barroso
Looking at the code, only String[] is transformed into parameters. For anything else, its toString() will be called and used as the value of the parameter. I think Lists and Sets should be processed as String[] are (calling the toString() on each element). Maps should be converted to parameters

[s2] Collection, array and tag.

2007-06-06 Thread Ezequiel Puig
Hi, I have been using struts 2 since a while and there is some things about the tag i don't understant. Let's say we have an array in our action (with the getters and setters): private String[] myArray; public String[] getMyArray() { return myArray; } pu

Re: html-el:select and tag files

2006-01-23 Thread Rahul Akolkar
Can you point me to a reference > > > on configuring tomcat 5.5.x do that? > > > > Doesn't take much: > > > > http://wiki.apache.org/jakarta-taglibs/FrequentlyAskedQuestions > > Ok, I am sorry for the confusion. I had assumed that because I was > runn

Re: html-el:select and tag files

2006-01-23 Thread Clint Popetz
> > Doesn't take much: > > http://wiki.apache.org/jakarta-taglibs/FrequentlyAskedQuestions Ok, I am sorry for the confusion. I had assumed that because I was running tomcat5.5 and tag files were working, I was in jsp 2.0 land, but I had no version attribute for the web-app decl

Re: html-el:select and tag files

2006-01-23 Thread Rahul Akolkar
On 1/23/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > > You don't need to configure it (if you don't want to turn EL off). EL > is simply what JSP 2.0 container does. EL and JSTL are part of JSP 2.0 > spec. > JSTL is not part of JSP 2.0. They're separate JSRs (52 and 152 respectively). -Ra

Re: html-el:select and tag files

2006-01-23 Thread Michael Jouravlev
On 1/23/06, Clint Popetz <[EMAIL PROTECTED]> wrote: > On Mon, Jan 23, 2006 at 12:36:02PM -0700, Wendy Smoak wrote: > > On 1/23/06, Clint Popetz <[EMAIL PROTECTED]> wrote: > > > > > This may be more of a jsp 2.0 question than a html-el tag > > > library question, but here goes. > > > > If yo

Re: html-el:select and tag files

2006-01-23 Thread Rahul Akolkar
On 1/23/06, Clint Popetz <[EMAIL PROTECTED]> wrote: > On Mon, Jan 23, 2006 at 12:36:02PM -0700, Wendy Smoak wrote: > > On 1/23/06, Clint Popetz <[EMAIL PROTECTED]> wrote: > > > > > This may be more of a jsp 2.0 question than a html-el tag > > > library question, but here goes. > > > > If yo

Re: html-el:select and tag files

2006-01-23 Thread Clint Popetz
On Mon, Jan 23, 2006 at 12:36:02PM -0700, Wendy Smoak wrote: > On 1/23/06, Clint Popetz <[EMAIL PROTECTED]> wrote: > > > This may be more of a jsp 2.0 question than a html-el tag > > library question, but here goes. > > If you're using JSP 2.0, you should not be using Struts-EL. > > Use

Re: html-el:select and tag files

2006-01-23 Thread Wendy Smoak
On 1/23/06, Clint Popetz <[EMAIL PROTECTED]> wrote: > This may be more of a jsp 2.0 question than a html-el tag > library question, but here goes. If you're using JSP 2.0, you should not be using Struts-EL. Use the plain HTML tags and make sure you've configured your webapp for Servlet 2

html-el:select and tag files

2006-01-23 Thread Clint Popetz
Hello, This may be more of a jsp 2.0 question than a html-el tag library question, but here goes. I have a jsp page that has a list of dates that need to be entered. I have a custom tag file that displays a date selector using three html-el: selects (year/month/day.) It takes as

Re: Global Forward and tag

2004-09-29 Thread Tom Holmes Jr.
define the path for the global forward as starting with a "/", e.g. -Original Message- From: Tom Holmes Jr. [mailto:[EMAIL PROTECTED] Sent: 30 September 2004 00:53 To: Stephen Houston Subject: Global Forward and tag I have a global forward in my struts-config.xml file def

RE: Global Forward and tag

2004-09-29 Thread Stephen Houston
tember 2004 00:53 To: Stephen Houston Subject: Global Forward and tag I have a global forward in my struts-config.xml file defined as: I have a jsp page with a struts form. I do have an as defined: This works fine in the JSP page,

Global Forward and tag

2004-09-29 Thread Tom Holmes Jr.
I have a global forward in my struts-config.xml file defined as: I have a jsp page with a struts form. I do have an as defined: This works fine in the JSP page, but when I call the action: http://www.mydomain.net/membership_address.do Th

JSTL and tag

2004-05-24 Thread PADALA, SANDHYA (SBCSI)
> Hello All, > I am using JSTL and html-el tags . I am new to the struts > and the tags. May be I am doing something unacceptable in struts. > Please help me. > > My ActionForm has something like this : > > public class TaskForm extends ActionForm { > > > /** @modelgu

JSTL and tag

2004-05-24 Thread PADALA, SANDHYA (SBCSI)
Hello All, I am using JSTL and html-el tags . I am pretty new to the struts and the tags. May be I am doing something totally unacceptable in struts. Please help me. My ActionForm has something like this : public class TaskForm extends WorkFlowForm { /** @modelguid