problem in struts 2 tag in jsp calling spring bean

2010-04-13 Thread Supratim Bandyopadhyaya
dao from struts 2 tag like this ... (this is a direct jsp call, not forwarding from an action) this select list is not populating. How can I fix this. I am using struts spring plug-in by the way. Thanks in advance. Supratim.

Re: struts 2 tag confution

2010-04-07 Thread Dale Newfield
Supratim Bandyopadhyaya wrote: But the parameter direction which is assigned a value "forward" does not show. The param "direction" is assigned the value resulting from evaluating "forward" against the valuestack. FOO works because anything inside the tag is evaluated to a stri

Re: struts 2 tag confution

2010-04-07 Thread Supratim Bandyopadhyaya
Thanks a million! On Wed, Apr 7, 2010 at 1:47 PM, Alex Rodriguez Lopez wrote: > Use this syntax: > > forward > > > Em 07-04-2010 06:52, Supratim Bandyopadhyaya escreveu: > > Greetings to all, >> I have been trying to get to work properly. >> Here is the code. >> >> >> >>

Re: struts 2 tag confution

2010-04-07 Thread Alex Rodriguez Lopez
Use this syntax: forward Em 07-04-2010 06:52, Supratim Bandyopadhyaya escreveu: Greetings to all, I have been trying to get to work properly. Here is the code. Next Record here the parameter offset comes from the action bean which sho

struts 2 tag confution

2010-04-06 Thread Supratim Bandyopadhyaya
Greetings to all, I have been trying to get to work properly. Here is the code. Next Record here the parameter offset comes from the action bean which shows up in the url fine. But the parameter direction which is assigned a value "forward" doe

Re: Struts 2 tag

2009-10-08 Thread Gregor Marinšek
Yes. Typo . Thank you. Gregor Dale Newfield wrote: Gregor Marinšek wrote: > I assume you meant: "%{parameter.index.type=='ENUM'}" -Dale - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional comma

Re: Struts 2 tag

2009-10-08 Thread dcabasson
Hi Roger, I usually use Denis. RogerV wrote: > > > > Gregor Marinšek wrote: >> >> You don't have to use "value", because s:iterator puts the value on the >> top of ValueStack. What about: >> >> >> I assume you are iterating over objects, with defined get/setType >> Gregor >> > > Tha

Re: Struts 2 tag

2009-10-08 Thread Dale Newfield
Gregor Marinšek wrote: > I assume you meant: "%{parameter.index.type=='ENUM'}" -Dale - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Re: Struts 2 tag

2009-10-08 Thread RogerV
Gregor Marinšek wrote: > > You don't have to use "value", because s:iterator puts the value on the > top of ValueStack. What about: > > > I assume you are iterating over objects, with defined get/setType > Gregor > Thanks Gregor, that works - in conjunction with another older nabble post

Re: Struts 2 tag

2009-10-08 Thread Gregor Marinšek
You don't have to use "value", because s:iterator puts the value on the top of ValueStack. What about: I assume you are iterating over objects, with defined get/setType Gregor RogerV wrote: Try something like this. Gregor That stops the exception but it's not evaluating correctly.

Re: Struts 2 tag

2009-10-08 Thread RogerV
Try something like this. Gregor That stops the exception but it's not evaluating correctly. If I add to my jsp immediately prior to the tag then when it is ENUM, it prints ENUM and then fails to do anything with the content of the tag. I should have mentioned that the reason I'm using va

Re: Struts 2 tag

2009-10-08 Thread Gregor Marinšek
Try something like this. Gregor RogerV wrote: Could someone correct my syntax please - I can't get this to work at all. =='ENUM'"> I keep getting a JasperException; equal symbol expected Regards -- Gregor Marinšek TIS d.o.o. Ljubljanska 9, Maribor e-mail: gmarin...@tis.si htt

Struts 2 tag

2009-10-08 Thread RogerV
Could someone correct my syntax please - I can't get this to work at all. =='ENUM'"> I keep getting a JasperException; equal symbol expected Regards -- View this message in context: http://www.nabble.com/Struts-2-%3Cs%3Aif%3E-tag-tp25801138p25801138.html Sent from the Struts - User mail

Re: How to write variable in a Struts 2 tag?

2008-09-23 Thread javajunkie
e for stuff, but this was really annoying me, and your quote made me read OGNL doco's. Worked really well, thanks. Rod -- View this message in context: http://www.nabble.com/How-to-write-variable-in-a-Struts-2-tag--tp15981156p196

Re: Struts 2 tag : Unable to retrieve the value in theaction

2008-04-29 Thread Laurie Harper
ns that the setter is not even getting called. Also in the code fragment that you suggested, you specified that "selectedKeyword is what is selected". How do we configure that? Do we have to set some parameter to make sure that the values in the list are getting written back using the set

RE: Struts 2 tag : Unable to retrieve the value in theaction

2008-04-28 Thread Binu John
ack using the setter? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 29, 2008 6:47 AM To: Binu John Subject: Struts 2 tag : Unable to retrieve the value in theaction 1. Make sure all the options you want are selected. (e.g. if your selectKeyword l

Struts 2 tag : Unable to retrieve the value in the action

2008-04-28 Thread Binu John
Hi, I am trying to use the select tag and somehow it does not work as expected. I am populating a Map with the desired values and using that Map object in the select tag. <- Start JSP -> <- End JSP -> <- Start Action Code -> private Map selectKeyword = new HashMap(); pu

Re: How to write variable in a Struts 2 tag?

2008-03-11 Thread Dave Newton
--- bugs_ <[EMAIL PROTECTED]> wrote: > I must find some good tutorial for ognl http://struts.apache.org/2.x/docs/ognl.html http://struts.apache.org/2.x/docs/ognl-basics.html http://www.ognl.org/2.6.9/Documentation/html/LanguageGuide/index.html Dave -

Re: How to write variable in a Struts 2 tag?

2008-03-11 Thread bugs_
; wrote: >> >>> I need rewrite jsp page from Struts 1 to Struts 2. >> >>> >> >>> In Strust 1 is in the page something like this: >> >>> <% String variable = ... %> >> >>> >> >>> >> >>> I tr

Re: How to write variable in a Struts 2 tag?

2008-03-11 Thread Dave Newton
TED]> wrote: > >>> I need rewrite jsp page from Struts 1 to Struts 2. > >>> > >>> In Strust 1 is in the page something like this: > >>> <% String variable = ... %> > >>> > >>> > >>> I tried to rewrite it

Re: How to write variable in a Struts 2 tag?

2008-03-11 Thread Laurie Harper
rust 1 is in the page something like this: <% String variable = ... %> I tried to rewrite it in Struts 2: <% String variable = ... %> but this doesn't work. It return an error message: "According to TLD or attribute directive in tag file, attribute value does not accept any ex

Re: How to write variable in a Struts 2 tag?

2008-03-11 Thread bugs_
LD or >> attribute directive in tag file, attribute value does not accept any >> expressions" >> >> I really don't know how to access variable in a Struts 2 tag? >> >> I tried to read Struts 2 documentation, but I didn't find solution.

Re: How to write variable in a Struts 2 tag?

2008-03-11 Thread Dave Newton
... %> > > > > > > > > > > > > I tried to rewrite it in Struts 2: > > > > <% String variable = ... %> > > > > > > > > but this doesn't work. It return an error message: "According to > TL

Re: How to write variable in a Struts 2 tag?

2008-03-11 Thread Musachy Barroso
error message: "According to TLD or > > > attribute directive in tag file, attribute value does not accept any > > > expressions" > > > > > > I really don't know how to access variable in a Struts 2 tag? > > > > > > I tried

Re: How to write variable in a Struts 2 tag?

2008-03-11 Thread Dave Newton
error message: "According to TLD or > > attribute directive in tag file, attribute value does not accept any > > expressions" > > > > I really don't know how to access variable in a Struts 2 tag? > > > > I tried to read Struts 2 documentation, but

Re: How to write variable in a Struts 2 tag?

2008-03-11 Thread Musachy Barroso
> > > I tried to rewrite it in Struts 2: > <% String variable = ... %> > > but this doesn't work. It return an error message: "According to TLD or > attribute directive in tag file, attribute value does not accept any > expressions" > >

How to write variable in a Struts 2 tag?

2008-03-11 Thread bugs_
directive in tag file, attribute value does not accept any expressions" I really don't know how to access variable in a Struts 2 tag? I tried to read Struts 2 documentation, but I didn't find solution. -- View this message in context: http://www.nabble.com/How-to-write-variable-i

Re: variable in Struts 2 tag

2008-02-27 Thread bugs_
-- View this message in context: http://www.nabble.com/variable-in-Struts-2-tag-tp15711298p15714434.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]

Re: variable in Struts 2 tag

2008-02-27 Thread Dave Newton
--- bugs_ <[EMAIL PROTECTED]> wrote: > In JSP page: > <% > String onClick = ... > %> > > > If i try to display jsp page, I get messege: "attribute onclick does not > accept any expressions" > > I don't know how to display content of variable onClick into attribute > onclick. Are you specificall

variable in Struts 2 tag

2008-02-27 Thread bugs_
ny solution. -- View this message in context: http://www.nabble.com/variable-in-Struts-2-tag-tp15711298p15711298.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

simulate event on struts 2 tag

2007-10-01 Thread Pablo Vázquez Blázquez
Hi all! I have the following code: The project is successfully removed and I get the right result, but it is shown in the whole page, not in the "workspaceAjaxContent" target. That is, it seems like if click() event doesn´t take care about the "targets" attribute. Any suggestion? Th