Re: Understand usage of tag inside

2025-02-20 Thread Lukasz Lenart
I would use just "name" as well but I didn't check which options is faster in accessing ValueStack, yet it shouldn't matter IMHO śr., 19 lut 2025 o 12:35 M Huzaifah napisał(a): > > Hii, > > I prefered use the second one. Just use "name" > > Regards > > On Wed, Feb 19, 2025, 5:25 PM Murali Challa

Re: Understand usage of tag inside

2025-02-19 Thread M Huzaifah
Hii, I prefered use the second one. Just use "name" Regards On Wed, Feb 19, 2025, 5:25 PM Murali Challa wrote: > Hi, > > Can someone suggest among below which is best/preferred way of using > tag with in . > > > > >//getting value using var.name >// getting value directly using name

Understand usage of tag inside

2025-02-19 Thread Murali Challa
Hi, Can someone suggest among below which is best/preferred way of using tag with in . //getting value using var.name // getting value directly using name Both are working but just wanted to know which is more preferred to use.

RE: How to pass parameters to s:component inside s:iterator?

2019-10-06 Thread Yasser Zamani
Hi Albert, Could you try without the inner s:if tag? I remember that some tags don't work inside each other :( Despite if it was the problem or not, I think it's more readable design to move iterator and if tags inside the component (items.jsp) itself, have you ever considered it

How to pass parameters to s:component inside s:iterator?

2019-10-05 Thread albert kao
How to pass parameters to s:component inside s:iterator? e.g. These simpilied codes pass the parameter "John" to items.jsp. However, the browser displays an empty string. items.jsp: />

Re: How to import Struts Examples into Eclipse IDE inside a single project

2019-02-10 Thread Yasser Zamani
s. On 2/9/2019 6:22 PM, albert kao wrote: > How to import Struts Examples into Eclipse IDE inside a single project? > > I tried this way but multiple projects (action-chaining, annotations, ..., > wildcard-regex) appeared in Eclipse Package Explorer. > > I used "New Java proje

How to import Struts Examples into Eclipse IDE inside a single project

2019-02-09 Thread albert kao
How to import Struts Examples into Eclipse IDE inside a single project? I tried this way but multiple projects (action-chaining, annotations, ..., wildcard-regex) appeared in Eclipse Package Explorer. I used "New Java project" to create the struts-examples-master project. I down

Re: Issue with Struts2 s:select tag with Object inside a Model Object

2017-04-03 Thread Kiran
Thank you Lucasz for looking into this. Yes I Have all the setter and getter for all the properties. Its working now. I just need to give the whole path of the property in the s:select value attribute. Like value="%{diseasetracking.diagnosisDTO.primaryDiagnosis}" Because I have the property in t

Re: Issue with Struts2 s:select tag with Object inside a Model Object

2017-04-03 Thread Lukasz Lenart
2017-04-03 16:04 GMT+02:00 Kiran Kongala : > > listKey=*"dstLookupTypeId"* > Do you have a getter for this value? getDstLookupTypeId() ? > listValue=*"lookupValue"* > Same here, do you have a getter? getLookupValue() ? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ PS. Do not inl

Re: Issue with Struts2 s:select tag with Object inside a Model Object

2017-04-03 Thread Kiran Kongala
Hi Lukasz, Thank you for helping. I am new to Struts2. What are the other attributes I need to use if not listkey and listvalue. In my example, I defined the select as below with name as diagnosisDTO.primaryDiagnosis and list as primaryDiagnosisTypes which is an object which has dstLookupTypeID as

Re: Issue with Struts2 s:select tag with Object inside a Model Object

2017-04-03 Thread Lukasz Lenart
2017-04-02 22:58 GMT+02:00 Kiran Kongala : > Hi Lulasz, > > > *I am not comparing the same objects.I am trying to compare the String to > a constant String.Still do I need to override the equals and hashCode > methods.* > > *I added a tag in the jsp and I see the values.But the value > doesnt set

Re: Issue with Struts2 s:select tag with Object inside a Model Object

2017-04-02 Thread Kiran Kongala
default first value in the list. > > > > Can some one please help me. > > > > *JSP Code* > > > > >list="primaryDiagnosisTypes" > >listKey="dstLookupTypeId" > >listValue="lookupValue" > >

Re: Issue with Struts2 s:select tag with Object inside a Model Object

2017-04-02 Thread Kiran Kongala
oth Integer for example. > > > > On Apr 1, 2017 7:38 PM, Kiran Kongala wrote: > > Hi, > > > > I am trying to use the Struts2 s:select tag but the drop down value > coming > > from the db is not being set to the drop down as selected value and the > > sc

Re: Issue with Struts2 s:select tag with Object inside a Model Object

2017-04-02 Thread Paul Zepernick
stKey="dstLookupTypeId" >listValue="lookupValue" >multiple="false" >headerKey="-1" >headerValue="Please Select" >size="1"/> > > *Action Class Code* > > > *I have Disease Tracking as a Model obj

Re: Issue with Struts2 s:select tag with Object inside a Model Object

2017-04-02 Thread Lukasz Lenart
t; screen always shows the default first value in the list. >> >> Can some one please help me. >> >> *JSP Code* >> >> >list="primaryDiagnosisTypes" >>listKey="dstLookupTypeId" >>listValue="lookupValue" >

Re: Issue with Struts2 s:select tag with Object inside a Model Object

2017-04-01 Thread Kiran Kongala
elp me. > > *JSP Code* > > list="primaryDiagnosisTypes" >listKey="dstLookupTypeId" >listValue="lookupValue" >multiple="false" >headerKey="-1" >headerValue="Please Select" >size="1&quo

Re: Issue with Struts2 s:select tag with Object inside a Model Object

2017-04-01 Thread Paul Zepernick
. Can some one please help me. *JSP Code* *Action Class Code* *I have Disease Tracking as a Model object and inside that model I have DiagnosisDTO object where I have properties which are matched to the jsp select tag above* *This is the Model Object defined in the Action Classpublic

Issue with Struts2 s:select tag with Object inside a Model Object

2017-04-01 Thread Kiran Kongala
Tracking as a Model object and inside that model I have DiagnosisDTO object where I have properties which are matched to the jsp select tag above* *This is the Model Object defined in the Action Classpublic DiseaseTracking getModel() {return this.diseasetracking;}* *DiseaseTracking

Re: Struts 2.3.28.1 - Populate Java Property from Controller inside JavaScript

2016-08-29 Thread Christoph Nenning
> Hi all, > > First of all, greetings, from Brazil. > > I would like to populate this Java Script variable with name > *flightPlanCoordinates > *from a Action Controller. > > var flightPlanCoordinates = [ > > > {lat: -23.533592, lng: -46.742744}, > > {lat: -23.533592, lng: -46.742744}, > > {

Re: Struts 2.3.28.1 - Populate Java Property from Controller inside JavaScript

2016-08-29 Thread Lukasz Lenart
2016-08-27 0:08 GMT+02:00 Guilherme Bisconcini : > Hi all, > > First of all, greetings, from Brazil. > > I would like to populate this Java Script variable with name > *flightPlanCoordinates > *from a Action Controller. > > var flightPlanCoordinates = [ > > > {lat: -23.533592, lng: -46.742744}, > >

Struts 2.3.28.1 - Populate Java Property from Controller inside JavaScript

2016-08-26 Thread Guilherme Bisconcini
Hi all, First of all, greetings, from Brazil. I would like to populate this Java Script variable with name *flightPlanCoordinates *from a Action Controller. var flightPlanCoordinates = [ {lat: -23.533592, lng: -46.742744}, {lat: -23.533592, lng: -46.742744}, {lat: -23.533870, lng: -46.742804

Re: Call a forward or a redirect inside an interceptor.

2015-03-09 Thread ersinghlovepr...@gmail.com
vepreet Singh -- View this message in context: http://struts.1045723.n5.nabble.com/Call-a-forward-or-a-redirect-inside-an-interceptor-tp3484464p5717505.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubsc

Re: Using Util class inside JSP

2013-07-24 Thread Antonio Sánchez
> > > > > > > > > Then use OGNL's static method notation [1]: > > > > > > > > > > > > > > > Dave > > > > > > [1] > > > > > http://struts.apache.org/release/2.3.x/docs/ognl-basics.htm

Re: Using Util class inside JSP

2013-07-23 Thread Dave Newton
; Then use OGNL's static method notation [1]: > > > > > > > > > > Dave > > > > [1] > > > http://struts.apache.org/release/2.3.x/docs/ognl-basics.html#OGNLBasics-Accessingstaticproperties > > > > > > > >

Re: Using Util class inside JSP

2013-07-23 Thread Paul Benedict
hen use OGNL's static method notation [1]: > > > > > > > > > > Dave > > > > [1] > > > http://struts.apache.org/release/2.3.x/docs/ognl-basics.html#OGNLBasics-Accessingstaticproperties > > > > > > > > On Tue, Jul 2

Re: Using Util class inside JSP

2013-07-23 Thread Antonio Sánchez
s > > > > On Tue, Jul 23, 2013 at 7:27 AM, Antonio Sánchez > wrote: > > > Hi. > > > > How can I use utilities classes inside JSPs? > > > > For instance, currently I'm using: > > > > > > > > for asking if user is in sessio

Re: Using Util class inside JSP

2013-07-23 Thread Dave Newton
lities classes inside JSPs? > > For instance, currently I'm using: > > > > for asking if user is in session, but I wan to use a Java method instead. > > One option is defining a basic Action class and make all action extend it, > but in some cases I r

Using Util class inside JSP

2013-07-23 Thread Antonio Sánchez
Hi. How can I use utilities classes inside JSPs? For instance, currently I'm using: for asking if user is in session, but I wan to use a Java method instead. One option is defining a basic Action class and make all action extend it, but in some cases I rather prefer something

Re: s:checkbox inside s:iterator in struts2.3.1.2

2012-09-24 Thread Omar Ngarigari
: s:checkbox inside s:iterator in struts2.3.1.2 2012/9/24 Omar Ngarigari : > Hello, > > I changed my JSP page as per the documentation recommendation: > > > > > > And works ? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/

Re: s:checkbox inside s:iterator in struts2.3.1.2

2012-09-24 Thread Omar Ngarigari
"setAge" failed for object From: Lukasz Lenart To: Struts Users Mailing List ; Omar Ngarigari Sent: Monday, September 24, 2012 12:50 AM Subject: Re: s:checkbox inside s:iterator in struts2.3.1.2 2012/9/24 Omar Ngarigari : > Hello, > > Please

Re: s:checkbox inside s:iterator in struts2.3.1.2

2012-09-24 Thread Lukasz Lenart
2012/9/24 Omar Ngarigari : > Hello, > > I changed my JSP page as per the documentation recommendation: > > > > > > And works ? Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ - To unsubscribe, e-mail: user-un

Re: s:checkbox inside s:iterator in struts2.3.1.2

2012-09-24 Thread Omar Ngarigari
Hello, I changed my JSP page as per the documentation recommendation:   From: Lukasz Lenart To: Struts Users Mailing List ; Omar Ngarigari Sent: Monday, September 24, 2012 12:50 AM Subject: Re: s:checkbox inside s:iterator in struts2.3.1.2 2012/9/24

Re: s:checkbox inside s:iterator in struts2.3.1.2

2012-09-23 Thread Lukasz Lenart
2012/9/24 Omar Ngarigari : > Hello, > > Please help, I am having problem that I cannot figure out how to solve it. > The problem is as follow: > > 1. JSP page: > > > > > > > 2. Action Class > public class ExampleAction extends ActionSupport { > private List myList = new ArrayList(); > private

s:checkbox inside s:iterator in struts2.3.1.2

2012-09-23 Thread Omar Ngarigari
Hello, Please help, I am having problem that I cannot figure out how to solve it. The problem is as follow: 1. JSP page: 2. Action Class public class ExampleAction extends ActionSupport { private List myList = new ArrayList(); private List stringList = new ArrayList(); private int age; get

Re: [S 1.3.8] Iterator inside Iterator

2012-03-29 Thread Anjib Mulepati
On 3/29/2012 10:58 AM, Anjib Mulepati wrote: Hi All, I am trying to pass COMPLEX bean to the JSP and trying to access their property i JSP with bean tag. I have a class as follow Class TransferInfo { private Transmission transmission; //My transmission object private User user; //My

[S2] Replacing some .ftl file from the "simple" theme inside a plugin

2011-12-17 Thread Gabriel Belingueres
Is there a safe way to override only a couple of files from the "simple" theme and bundle them inside a struts plugin? I mean, if I want to replace the "simple" theme's ftl files for the tag (while keeping the theme name "simple" for maximum transparency)

Re: Performing Shiro Authorization Checks inside a Struts2 Action Class

2011-08-10 Thread Maurizio Cucchiara
On 10 August 2011 16:49, wrote: > > Is my only option to use an interceptor that will process the shiro > annotations? IMHO The interceptor way is the best option, why do you consider it as the last one? Unfortunately I am not a Shiro guru, but AFAIU from here [1] you can integrate every Shiro's

Re: Performing Shiro Authorization Checks inside a Struts2 Action Class

2011-08-10 Thread Dave Newton
On Wed, Aug 10, 2011 at 10:49 AM, wrote: > Struts will ignore the shiro annotations which is expected . > Not sure what that means. >@RequiresPermissions("account:create") >public String createAccount(){ > > Is it possible to get configure struts to process the annotation? > P

Performing Shiro Authorization Checks inside a Struts2 Action Class

2011-08-10 Thread mmckenzie
Hello, I've been tasked with implementing the shiro authorization framework in struts2. Struts will ignore the shiro annotations which is expected . Example: public class AccountAction extends ActionSupport { ... @RequiresPermissions("account:create") public String createAcco

Re: strange behavior of s:a tag with s:include tag inside

2011-07-05 Thread Łukasz Lenart
Added for review https://reviews.apache.org/r/1003/ Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG conference - Confitura http://confitura.pl/ - To unsubscribe, e-mail: user-unsubscr...@struts.apache.

Re: strange behavior of s:a tag with s:include tag inside

2011-07-03 Thread Łukasz Lenart
Done! https://issues.apache.org/jira/browse/WW-3659 2011/7/3 Maurizio Cucchiara : > Hi Lukasz, > could you share your patch through JIRA (there was an open ticket IIRC)? > > 2011/7/3 Łukasz Lenart >> >> I don't know why it happens that way. I've changed a bit templates by >> moving some code fro

Re: strange behavior of s:a tag with s:include tag inside

2011-07-03 Thread Maurizio Cucchiara
Hi Lukasz, could you share your patch through JIRA (there was an open ticket IIRC)? 2011/7/3 Łukasz Lenart > I don't know why it happens that way. I've changed a bit templates by > moving some code from a-close.ftl to a.ftl and now it works as you've > been expecting. But that change broken few

Re: strange behavior of s:a tag with s:include tag inside

2011-07-03 Thread Łukasz Lenart
I don't know why it happens that way. I've changed a bit templates by moving some code from a-close.ftl to a.ftl and now it works as you've been expecting. But that change broken few tests and can be backward incompatible. Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Warszawa JUG

Re: strange behavior of s:a tag with s:include tag inside

2011-07-01 Thread Александр Высоков
Do you mean ? Tried. Empty body of a tag. 2 июля 2011 г. 0:56 пользователь Dave Newton написал: > 2011/7/1 Александр Высоков : > > Dave, if I expressed roughly, I am very sorry (my bad english is not good > enough). > > Nope, you're doing great :) > > Try using a link to an action in the tag

Re: strange behavior of s:a tag with s:include tag inside

2011-07-01 Thread Dave Newton
2011/7/1 Александр Высоков : > Dave, if I expressed roughly, I am very sorry (my bad english is not good > enough). Nope, you're doing great :) Try using a link to an action in the tag instead of a plain JSP. For now you could just create a class-less action mapping that forwards to the JSP yo

Re: strange behavior of s:a tag with s:include tag inside

2011-07-01 Thread Александр Высоков
Dave, if I expressed roughly, I am very sorry (my bad english is not good enough). But if I misunderstand you, please explain more details. Thank you. 2 июля 2011 г. 0:41 пользователь Dave Newton написал: > 2011/7/1 Александр Высоков : > > So you try to tell me that in include's value must be onl

Re: strange behavior of s:a tag with s:include tag inside

2011-07-01 Thread Dave Newton
2011/7/1 Александр Высоков : > So you try to tell me that in include's value must be only *.action? No, I don't. Dave - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts

Re: strange behavior of s:a tag with s:include tag inside

2011-07-01 Thread Александр Высоков
So you try to tell me that in include's value must be only *.action? I think it is not. Documentation says that in include's value attribute may be JSP ( http://struts.apache.org/2.2.3/docs/include.html) And in examples almost everywhere is jsp-page in include... Strange... But I've tried your ver

Re: strange behavior of s:a tag with s:include tag inside

2011-07-01 Thread Dave Newton
But the include tag is still directly referencing a JSP, no? Dave On Friday, July 1, 2011, Александр Высоков wrote: > In attached in jira test-project (StrutsBugTest.war) index.html contains > link: > click > > Action mapping file contains: > Configuration 2.0//EN" "http://struts.apache.org/dtd

Re: strange behavior of s:a tag with s:include tag inside

2011-07-01 Thread Александр Высоков
In attached in jira test-project (StrutsBugTest.war) index.html contains link: click Action mapping file contains: http://struts.apache.org/dtds/struts-2.0.dtd";> /test.jsp Result is the same - strange. May be we talking about different things. I think I do not understand you completely.

strange behavior of s:a tag with s:include tag inside

2011-07-01 Thread Александр Высоков
Hello all. I have two files. test.jsp <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ taglib uri="/struts-tags" prefix="s" %> test2.jsp - <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ tag

Re: strange behavior of s:a tag with s:include tag inside

2011-07-01 Thread Maurizio Cucchiara
As I said before, don't call jsp directly via browser: rather you need to invoke a struts action that, after looked at your action mapping configuration, forward the request to your final jsp Maurizio Cucchiara Il giorno 01/lug/2011 16.30, "Александр Высоков" ha scritto: > I've created test proj

RE: strange behavior of s:a tag with s:include tag inside

2011-07-01 Thread Martin Gainty
ails koennen wir keine Haftung fuer den Inhalt uebernehmen. > Date: Fri, 1 Jul 2011 18:30:22 +0400 > Subject: Re: strange behavior of s:a tag with s:include tag inside > From: nod...@gmail.com > To: user@struts.apache.org > > I've created test project (attached StrutsBugTest

Re: strange behavior of s:a tag with s:include tag inside

2011-07-01 Thread Александр Высоков
I've created test project (attached StrutsBugTest.war) in jira. In that project you can click to the link in index.html and see the same strange behavior. 1 июля 2011 г. 17:28 пользователь Dave Newton написал: > Unless the JSP is processed through an action, the original comment in the > jira tic

Re: strange behavior of s:a tag with s:include tag inside

2011-07-01 Thread Dave Newton
Unless the JSP is processed through an action, the original comment in the jira ticket is correct. Recall that a filter can stop processing a request, which is what happens if it's not a request that hits an action. Dave On Jul 1, 2011 8:59 AM, "Александр Высоков" wrote: > Hello all. > > I have

strange behavior of s:a tag with s:include tag inside

2011-07-01 Thread Александр Высоков
Hello all. I have two files. test.jsp <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ taglib uri="/struts-tags" prefix="s" %> test2.jsp - <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ tag

RE: struts tags: How to use a list inside another list

2011-06-14 Thread Alexandru
to simulate this: contentList.get(index).setId(); For the second line: ContentList.get(index).getTranslations().get().setTranslation(); Thanks in advance! --- On Tue, 6/14/11, Martin Gainty wrote: From: Martin Gainty Subject: RE: struts tags: How to use a list inside another list To: "Struts

RE: struts tags: How to use a list inside another list

2011-06-14 Thread Martin Gainty
t et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Tue, 14 Jun 2011 06:16:36 -0700 > From: icid.

Fw: RE: struts tags: How to use a list inside another list

2011-06-14 Thread Alexandru
--- On Tue, 6/14/11, Alexandru wrote: From: Alexandru Subject: RE: struts tags: How to use a list inside another list To: "Martin Gainty" Date: Tuesday, June 14, 2011, 9:15 AM So it is possible to send a list with another list ( 2d list) to a servlet? My sourc

Re: struts tags: How to use a list inside another list

2011-06-14 Thread Alexandru
Is there a way to submit the contentList back to the server? in other words, can i send a list from jsp to struts? I tried the following but it doesn't work:                                                                                                                                

Re: struts tags: How to use a list inside another list

2011-06-14 Thread Alexandru
like this                                                                                                                                                     Thanks for your input, guys! --- On Tue, 6/14/11, Dave Newton wrote: From: Dave Newton Subject: Re: struts tags: How to use a list inside another list To: "Struts Users Mailing Lis

Re: struts tags: How to use a list inside another list

2011-06-14 Thread Dave Newton
. Dave On Tue, Jun 14, 2011 at 7:01 AM, Alexandru wrote: > Yes, that worked. But now the "key" attribute doesn't work. I can't get my > element labels from my .properties file. Is there another way? > > --- On Tue, 6/14/11, Maurizio Cucchiara wrote: > >

Re: struts tags: How to use a list inside another list

2011-06-14 Thread Alexandru
Yes, that worked. But now the "key" attribute doesn't work. I can't get my element labels from my .properties file. Is there another way? --- On Tue, 6/14/11, Maurizio Cucchiara wrote: From: Maurizio Cucchiara Subject: Re: struts tags: How to use a list inside another list

RE: struts tags: How to use a list inside another list

2011-06-14 Thread Baubak Gandomi
a type that has a field called: § "translation" I hope this helps. Good Luck From: Alexandru [mailto:icid...@yahoo.com] Sent: mardi 14 juin 2011 12:16 To: Struts Users Mailing List; mcucchi...@apache.org Subject: Re: struts tags: How to use a list inside another list thank you,

Re: struts tags: How to use a list inside another list

2011-06-14 Thread Maurizio Cucchiara
ure: > > > > > > > but what i get is different. (check the attachment) > --- On *Mon, 6/13/11, Maurizio Cucchiara * wrote: > > > From: Maurizio Cucchiara > Subject: Re: struts tags: How to use a list inside another list > To: "Struts Users Mailing List

Re: struts tags: How to use a list inside another list

2011-06-14 Thread Alexandru
cture: but what i get is different. (check the attachment) --- On Mon, 6/13/11, Maurizio Cucchiara wrote: From: Maurizio Cucchiara Subject: Re: struts tags: How to use a list inside another list To: "Struts Users Mailing List" Date: Monday, June 13, 2011, 6:33 PM Try this, AFAICR it

Re: struts tags: How to use a list inside another list

2011-06-13 Thread Maurizio Cucchiara
Try this, AFAICR it should be work On 14 June 2011 00:21, Alexandru wrote: > I want to do somethink like this > >     >     > > is it possible? Or should i use two separate lists? > -- Maurizio Cucchiara

struts tags: How to use a list inside another list

2011-06-13 Thread Alexandru
I want to do somethink like this         is it possible? Or should i use two separate lists?

Re: Struts2 Plugins inside IoC

2011-05-27 Thread Jeff Black
Hi Frans.    I found your question a little vague.  Would you mind adding some more detail?   jb /   From: Frans Thamura To: Struts Users Mailing List Sent: Friday, May 27, 2011 7:34 AM Subject: Struts2 Plugins inside IoC hi all i found that springmvc register all their bean in the

RE: Struts2 Plugins inside IoC

2011-05-27 Thread Ilya Kazakevich
iling List Subject: Re: Struts2 Plugins inside IoC Can you be more clear about what you like to understand 2011/5/27 Frans Thamura > hi all > > i found that springmvc register all their bean in the appcontex.xml > > any reason, why struts2 better rather using

Re: Struts2 Plugins inside IoC

2011-05-27 Thread Mohamed SIDI
Can you be more clear about what you like to understand 2011/5/27 Frans Thamura > hi all > > i found that springmvc register all their bean in the appcontex.xml > > any reason, why struts2 better rather using this method > > thx > > F > -- Cordialement Mohamed

Struts2 Plugins inside IoC

2011-05-27 Thread Frans Thamura
hi all i found that springmvc register all their bean in the appcontex.xml any reason, why struts2 better rather using this method thx F

Re: syntax for passing java contents inside jsp using struts 2.2.1

2011-05-21 Thread mead
e should be changed to test[followed >> by iteration count] >> >> so that at the end of iteration i get like >> >> > list="test1" >> >> > list="test2" >> >> > list="test3" >> and so on.. >>

Re: syntax for passing java contents inside jsp using struts 2.2.1

2011-05-21 Thread Dave Newton
test2" > > list="test3" > and so on.. > > > > > > > -- > View this message in context: http://struts.1045723.n5.nabble.com/syntax-for-passing-java-contents-inside-jsp-using-struts-2-2-1-tp4406269p4411815.html > Sent from the Struts - User mail

Re: syntax for passing java contents inside jsp using struts 2.2.1

2011-05-21 Thread inception
so that at the end of iteration i get like and so on.. -- View this message in context: http://struts.1045723.n5.nabble.com/syntax-for-passing-java-contents-inside-jsp-using-struts-2-2-1-tp4406269p4411815.html Sent from the Struts - User mailing list archive at

Re: syntax for passing java contents inside jsp using struts 2.2.1

2011-05-19 Thread Dave Newton
On Thu, May 19, 2011 at 3:54 AM, inception wrote: > My actual requirement is that i have to generate dynamic comboboxes [usig > select tag] inside iterator . > > > /> > That doesn't help me understand what you're trying to do, though, or why you believe you

RE: syntax for passing java contents inside jsp using struts 2.2.1

2011-05-19 Thread inception
I tried but it dint work .. My actual requirement is that i have to generate dynamic comboboxes [usig select tag] inside iterator . -- View this message in context: http://struts.1045723.n5.nabble.com/syntax-for-passing-java-contents-inside-jsp-using-struts-2-2-1-tp4406269p4409032.html

Re: syntax for passing java contents inside jsp using struts 2.2.1

2011-05-18 Thread Dave Newton
On Wed, May 18, 2011 at 7:49 AM, inception wrote: > <% String test ="#session.levelList"/> > > > i am not able to pass the sting test inside the select tag.. > > it gives me an exception Normally you'd give details, like what the exception actually is,

RE: syntax for passing java contents inside jsp using struts 2.2.1

2011-05-18 Thread Biesbrock, Kevin
> I think you need to wrap test in either single or double quotes. Seems like double. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

syntax for passing java contents inside jsp using struts 2.2.1

2011-05-18 Thread inception
Hi Everyone i am not able to get the syntax for passing java contents inside jsp using struts 2.2.1. my requirement being : Myjsp : <% String test ="#session.levelList"/> i am not able to pass the sting test inside the select tag.. it gives me an exception -- View

Using struts inside liferay portal server 6.x with struts2-portal2-plugin

2011-04-22 Thread Jason Pyeron
I have not observed any problems, but my log is showing entries like the following on start up: 11:02:11,615 ERROR [ServletVelocityResourceListener:74] _SERVLET_CONTEXT_/html/themes/classic/templates/html/portal/layout/view/portlet. vm is not valid because does not map to a servlet context 11:02

Re: how to access spring beans from inside a custom validator

2010-11-01 Thread Eduard Neuwirt
let spring inject your validator. That's all Regards Eduard P.S.: Do not forget to define the corresponding setter method for injection Am 01.11.2010 08:37, schrieb Jake Vang: i have a custom field validator that extends FieldValidatorSupport. inside this class, i need to access some bea

Re: how to access spring beans from inside a custom validator

2010-11-01 Thread Jake Vang
s > Eduard > P.S.: Do not forget to define the corresponding setter method for injection > > Am 01.11.2010 08:37, schrieb Jake Vang: >> >> i have a custom field validator that extends FieldValidatorSupport. >> inside this class, i need to access some beans as defined i

Re: how to access spring beans from inside a custom validator

2010-11-01 Thread Eduard Neuwirt
ustom field validator that extends FieldValidatorSupport. inside this class, i need to access some beans as defined in applicationContext.xml by Spring. how do i access the spring managed beans? any help is appreciated. - To unsubs

how to access spring beans from inside a custom validator

2010-11-01 Thread Jake Vang
i have a custom field validator that extends FieldValidatorSupport. inside this class, i need to access some beans as defined in applicationContext.xml by Spring. how do i access the spring managed beans? any help is appreciated

Including a Velocity page inside a FreeMarker template?

2010-08-12 Thread java . rgm
I'm migrating a system from Velocity to Freemarker. I'd like to be able to include the result of a velocity template into the outer freemarker template while migrating, but cannot seem to use the <@include_page > tag from within a FreemarkerResult. Apparently the FreeMarkerResult is NOT proces

How to check if a error for a certain property exists inside action errors.

2010-07-28 Thread Vishnu Vyasan Nelliparmbil
Hi guys, I want to check if a error for a certain property is present in the Action Errors. How can I do that. BTB, I am using struts 1.3. Thanks and regards Vishnu NV

[convention plug-in] war do not work when packaing inside ear

2010-07-01 Thread mid491 mid491
hi, I got a Maven 2 multi projects (EJB 3 / Struts 2.1.8 with convention pugin) Deploying the war module to JBOSS 5.1.0 outside the EAR just work fine : the plugin "config browser" show my action mapping, and the application is working fine. But when I try to package the war within the EAR (wit

Re: ognl: calling action method inside iterator tag

2010-06-01 Thread Grant Lewis
er of type ComplianceCategory. The action method was never called inside the iterator tag. I was always able to invoke it from outside the iterator during my tests. I finally settled on a map inside a container POJO with a getter/setter for the POJO on the action method. That worked fine from inside the it

RE: ognl: calling action method inside iterator tag

2010-05-28 Thread Martin Gainty
tion, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Date: Fri, 28 May 2010 09:13:04 -0400 > Subject: Re: ognl: calling action method inside iterator tag > From: ukchuckt...@gmail.com > To: user@struts.apache.org > > Odd, I tried it a number of times

Re: ognl: calling action method inside iterator tag

2010-05-28 Thread Grant Lewis
Odd, I tried it a number of times without success. I even dumped the value stack and the object in question was on the stack but the method was never called in the iterator tag. Maybe it was the method name getErrorCount that was causing the problem, not sure. The code I got working is below. It's

Re: ognl: calling action method inside iterator tag

2010-05-25 Thread Paweł Wielgus
esn't appear possible to to call an action method from inside an > iterator tag. I can't find any documentation on it so hoping an > experienced user can shed some light on this mystery. I can call the > method fine outside the iterator but inside the call is masked. It's

ognl: calling action method inside iterator tag

2010-05-21 Thread Grant Lewis
Wondering if it's possible (struts 2.1.8.1)? From my testing it doesn't appear possible to to call an action method from inside an iterator tag. I can't find any documentation on it so hoping an experienced user can shed some light on this mystery. I can call the method fine outsi

Values saving with brackets when setting values inside of lists of lists?

2010-03-04 Thread Donald Abrams
ldn't find this behavior documented anywhere. I know Multi-dimensional arrays work fine (String[][] instead of List>). Anyone know a workaround for lists of lists (example below)? Also, I couldn't find a way to make struts form tags work inside iterators. Does anyone know of a plugi

Re: s:if inside s:url

2010-02-25 Thread Dale Newfield
CRANFORD, CHRIS wrote: That still renders "&department=" on the request when the department field is null which is not what I want. I understand the desire to have "pretty" urls, but technically the presence or absence of "&department=" in the url is not distinguishable by the action created

RE: s:if inside s:url

2010-02-25 Thread CRANFORD, CHRIS
the parameter is not null. I still do not understand why you cannot wrap a s:param tag with a s:if construct to control whether a parameter is appended to the s:url or not. According to Eclipse, placing a s:if inside the s:url around an s:param is not considered abnormal use of the tags, s

Re: s:if inside s:url

2010-02-25 Thread Dale Newfield
CRANFORD, CHRIS wrote: -Dale - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: How to check if an iterator is empty inside a s:subset?

2009-11-20 Thread Cristian Peraferrer
Finally I've found that: did the trick. The thing is that I wasn't able to figure out where to find out "var" defined objects. Now I know that are accessed trough #attr. I hope it will help those people with a similar problem. Cris On Thu, Nov 19, 2009 at 1:04 PM, Cristian Peraferrer wrote:

How to check if an iterator is empty inside a s:subset?

2009-11-19 Thread Cristian Peraferrer
Hi, I'm trying to show a "There are no items in the list" message in my application. I'm using a subset the following way: evenodd"> There are no items in the list But I'm not able to find how to access to the subse

Re: [S2] problem setting parameters inside a Map

2009-10-14 Thread Gabriel Belingueres
meh never mind...it was a validation.xml file that I was unaware of (without the action name in the middle of the file name) and this _short-circuited_ validaton was failing and the parameter never got a chance. Solved. 2009/10/14 Gabriel Belingueres : > Hi, > > I have problems trying to set reque

  1   2   3   4   5   6   >