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.
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
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.
>>
>>
>>
>>
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
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
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
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
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
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
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.
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
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
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
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
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
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
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
--- 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
-
; 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
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
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
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.
... %>
> > > >
> > > >
> > > > I tried to rewrite it in Struts 2:
> > > > <% String variable = ... %>
> > > >
> > > > but this doesn't work. It return an error message: "According to
> TL
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
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
>
>
> 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"
>
>
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
--
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]
--- 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
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
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
31 matches
Mail list logo