Hi Again,
Just wanted to clarify my requirement again.
We are building a portal based on Liferay to provide eServices. any eService
will be launched as portlets. Hence each portlet will be a window to a
single eService.
While developing this eService sometimes we need to redirect to a common
Hello
when i stop domain then GF write this logs in server.log .
On Sun, May 31, 2009 at 12:35 PM, Nils-Helge Garli Hegvik
nil...@gmail.comwrote:
I'm sure you realize that for anyone to be able to help, you have to
provide some more information... Besides, I'd be surprised if you
can't find
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,
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
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
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
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
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
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
I usually do something like this:
package name=root namespace=/ extends=struts-default
default-action-ref name=home/
action name=home
result/WEB-INF/content/home.jsp/result
/action
/package
constant name=struts.convention.redirect.to.slash
that kind of worked, I had to make some tweaks
in struts.xml
package name=root namespace=/ extends=convention-default
default-action-ref name=home/
/package
then in my HomeAction.java
@ParentPackage(root)
@Results({
@Result(name=SUCCESS, location=home.ftl)
})
this is even better than an
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
Hello,
how can I access variable that is defined inside the body of third party
(not struts2) tag? Example:
jmesa:struts2TableFacade
items=${users}
var=user
${user.name} %-- works --%
s:iterator value=user.friends var=friend %-- doesn't work --%
Do you know which scope it is defined in?
I would try the following -
s:iterator value=#request.user.friends ...
-Wes
On Mon, Jun 1, 2009 at 3:18 PM, Radoslav Krivak rkri...@gmail.com wrote:
Hello,
how can I access variable that is defined inside the body of third party
(not struts2) tag?
#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.
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 rkri...@gmail.com wrote:
#request.user.friends doesn't work, nor #page.user.friends
RK
--
View this message in context:
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
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
On Mon, Jun 1, 2009 at 4:54 PM, rdk1 rkri...@gmail.com 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
Hello,
I am trying to use a nested ListListMyObject 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
thanks dale.
Your solutions seems to be very good.
Could you or someone else please explain what exactly this line means?
s:iterator value=%{(dataList.size()).{?(#this%2)==(#this/2)}}
/s:iterator
On Sun, May 31, 2009 at 10:58 AM, Dale Newfield d...@newfield.org wrote:
Bhaarat Sharma wrote:
s:iterator begin=%{1} end=%{dataList.size()} step=%{2}
/s:iterator
the above properties dont seem to be there for iterator tag.
I am doing something like this:
s:iterator status=stat value=(secondResultSet.size()/3).{ #this }
s:property value=#stat.count / !-- Note that count is 1-based,
You can use the c:forEach tag for that type of iteration.
(*Chris*)
On Mon, Jun 1, 2009 at 10:36 PM, Bhaarat Sharma bhaara...@gmail.com wrote:
s:iterator begin=%{1} end=%{dataList.size()} step=%{2}
/s:iterator
the above properties dont seem to be there for iterator tag.
I am doing
23 matches
Mail list logo