i see that musachy added support for this
http://svn.apache.org/viewvc?view=rev&revision=741179
Mushacy, is this ready to be used?
On Tue, Jun 2, 2009 at 2:10 AM, Bhaarat Sharma wrote:
> currently, I am not using jstl tags at all inmy application.
> Isnt there anyway to achive this using strictl
currently, I am not using jstl tags at all inmy application.
Isnt there anyway to achive this using strictly struts2 tags?
On Tue, Jun 2, 2009 at 1:50 AM, Chris Pratt wrote:
> You can use the tag for that type of iteration.
> (*Chris*)
>
> On Mon, Jun 1, 2009 at 10:36 PM, Bhaarat Sharma
> wr
You can use the tag for that type of iteration.
(*Chris*)
On Mon, Jun 1, 2009 at 10:36 PM, Bhaarat Sharma wrote:
>
>
>
>
> the above properties dont seem to be there for iterator tag.
>
> I am doing something like this:
>
>
>
>
>
>
>
>
> But this way, In first iteration I am
the above properties dont seem to be there for iterator tag.
I am doing something like this:
But this way, In first iteration I am getting elements 0, 1 and 2 but in
second iteration I Am again getting elements 1, 2 and 3 instead in first
iteration I want to get elements 0
thanks dale.
Your solutions seems to be very good.
Could you or someone else please explain what exactly this line means?
On Sun, May 31, 2009 at 10:58 AM, Dale Newfield wrote:
> Bhaarat Sharma wrote:
>
>> So I'll have something like this to create my iteratorList
>>
>> int sizeList = dataLi
Hello,
I am trying to use a nested List> with a Struts 2 Action and
a JSP page. I would like to iterate through the JSP page to display the
existing data, allow the user to edit the data, and post the form to a
second Action. However, my second Struts Action always receives back a null
list. I th
On Mon, Jun 1, 2009 at 4:54 PM, rdk1 wrote:
>
> Wow! #attr.user.friends actually works! How esoteric...
>
>
>
> Anyway, thank you Wes
>
> RK
> --
No problem, explanations here -
http://struts.apache.org/2.x/docs/ognl.html
http://struts.apache.org/2.x/docs/ognl-basics.html
--
Wes Wannemacher
A
Wow! #attr.user.friends actually works! How esoteric...
Anyway, thank you Wes
RK
--
View this message in context:
http://www.nabble.com/How-to-access-variable-in-JSP-tag-scope-from-struts-2-tags-%28OGNL-expression%29-tp23820238p23822150.html
Sent from the Struts - User mailing list archive a
rdk1 wrote:
#request.user.friends doesn't work, nor #page.user.friends
What are the possibilities you could provide a bit more context?
Dave
-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands
Maybe - #attr.user.friends ?
I would assume that if ${user.name} works, then #attr should be able to find it.
-Wes
On Mon, Jun 1, 2009 at 4:23 PM, rdk1 wrote:
>
> #request.user.friends doesn't work, nor #page.user.friends
>
> RK
> --
> View this message in context:
> http://www.nabble.com/How-
#request.user.friends doesn't work, nor #page.user.friends
RK
--
View this message in context:
http://www.nabble.com/How-to-access-variable-in-JSP-tag-scope-from-struts-2-tags-%28OGNL-expression%29-tp23820238p23821167.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
Do you know which scope it is defined in?
I would try the following -
wrote:
>
> Hello,
>
> how can I access variable that is defined inside the body of third party
> (not struts2) tag? Example:
>
> items="${users}"
> var="user">
>
> ${user.name} <%-- works --%>
>
> <%--
Hello,
how can I access variable that is defined inside the body of third party
(not struts2) tag? Example:
${user.name} <%-- works --%>
<%-- doesn't work --%>
I know that JSP EL is forbidden in struts2 tags. But how could I access
variable "use
which cleared the misconfig
for future reference if a struts<-default>.xml configuration is requested
please supply the requested configuration(s) with proprietary values blanked
out
Martin Gainty
__
Verzicht und Vertraulichkeitanmerkung/Note
that kind of worked, I had to make some tweaks
in struts.xml
then in my HomeAction.java
@ParentPackage("root")
@Results({
@Result(name="SUCCESS", location="home.ftl")
})
this is even better than an index.jsp that redirects
Thanks
Ron
--
View this message in context:
http://www.nabbl
I usually do something like this:
/WEB-INF/content/home.jsp
musachy
On Mon, Jun 1, 2009 at 6:11 AM, Ron Chan wrote:
>
> just to clarify
>
> this works
> http://myserver/myapp/whatever.action
> and to maps to
> WhateverAction.java and whatev
if the default Action name assignments arent working because of
misconfiguration then assign the specific url
Action annotation
The Convention plugin allows action classes to change the URL that they are
mapped to using the Action annotation. This annotation can also be used inside
the Actions
just to clarify
this works
http://myserver/myapp/whatever.action
and to maps to
WhateverAction.java and whatever.ftl
so application is basically working
but
http://myserver/myapp/
does not work
gives 404 with
There is no Action mapped for namespace / and action name .
the action name being e
Martin
Sorry, I have looked in those docs but can't see anything about this. I
have got all the convention stuff up and running, that is not the problem,
it is just when you are at the root url where you need it to go to the
index.html or index.jsp to do a redirect to your start action is where
http://struts.apache.org/2.1.6/docs/convention-plugin.html
Martin
__
Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger
sein, so bitten wir hoeflic
in StrutsPrepareAndExecuteFilter in 2.1
doFilter contains
ActionMapping mapping = prepare.findActionMapping(request, response);
if (mapping == null) {
boolean handled =
execute.executeStaticResourceRequest(request, response);
however, when using with convention plugin
I have some global properties in my application that I need to access
from several of my JSP pages.
In my application I have a base action which all of my actions use. I
was thinking of putting a getGlobalProperties method in that action
that return an instance of an Singleton that holds my prope
Hi
I am using the jfreechart plugin supplyed with the Struts 2.1.6 download I
manage to get a chart but can't get tooltip to work. Is there anyone who have
used tooltip together with jfreechart plugin.
-
To unsubscribe, e-mail:
23 matches
Mail list logo