2008/6/10 Gamble, Wesley (WG10) [EMAIL PROTECTED]:
tiles:insertDefinition name=${#session.companyId}_compensation /
It does not work because Tiles (at the moment) does not support OGNL.
Notice that Tiles does not support JSP EL directly. In fact, it is
the container that supports it.
In other
The dojo files are located in struts-core jar (Struts 2.0.x)
The neceesary import files are automatically done by struts
You can also consult this thread :
http://www.mail-archive.com/user@struts.apache.org/msg76807.html
I hope i response to your answer
Cédric
2008/6/11 Onur Idrisoglu [EMAIL
Hi everyone,
When s:head tag is used with theme=ajax, the necessary javascript
files are imported, like
script type=text/javascript
src=/application/struts/CommonFunctions.js/script
What I would like to ask is, can we define where to look for this
files, or are they in a jar file?
Cos my
Hi Chris,
Thanks a lot.
And the info you have given helps me a lot.
I got confidence.
And here i found the place where encouraging the people who has less
experience to develop a frameowrk on theri own.
I am feeling very gr8 abt ur reply.
Can you give me your mail id so that in future if i have a
Thanks a lot Mr. Himanshu. I shall try the same and update you.
Regards
-Mukul
Himanshu Rathore wrote:
Hi Mukul,
Here is sample code. I had mentioned incorrect steps in my previous email.
table width=100% border=0 cellpadding=0 cellspacing=0
tr
td
table id=tableHeader
Hello there,
i want to determine an action's class and method using the action's
namespace and name. I found nothing using the documentation :-(
How may i to this?
Thx, Sven
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hi;
Thank you Laurie.
It works ifnbsp;I take out the saveToken / isTokenValid
stuff?nbsp;The login process works correctly and it comes to my action class.
But Inbsp;won't be able to control duplicate submission.nbsp;
nbsp;
Anet.
--- On Tue, 6/3/08, Laurie Harper lt;[EMAIL PROTECTED]gt; wrote:
Kiesewetter S., ITSC Bonn, RV, EF, extern wrote:
yes you can,
action name=action_name method=method class=class/
you can even define different actions for each method in class
Thx for the answer, but you didn't understand the question. I defined
several actions. Now i want to
yes you can,
action name=action_name method=method class=class/
you can even define different actions for each method in class
Thx for the answer, but you didn't understand the question. I defined
several actions. Now i want to determine the class+method of an action
inside of a jsp page or
yes you can,
action name=action_name method=method class=class/
you can even define different actions for each method in class
On Wed, Jun 11, 2008 at 12:47 PM, Kiesewetter S., ITSC Bonn, RV, EF,
extern [EMAIL PROTECTED] wrote:
Hello there,
i want to determine an action's class and method
Hi Himanshu,
I have tried the solution suggested , it worked fine too.
But I observed having two tables to show the datagrid have one prime
difficiency:
When headers are shown in different table, it fixes the header/column-name
width also ,
When we actually represent the data in to datagrid
For example,
using lt;s:select list= ...
if the value supplied into list attribute is wrong,
the translated page start from the position of lt;s:selectgt; tag will be
blank.
How to get more information of tag-related problem for troubleshooting ?
Thanks in advance!
Regards,
Eddie Lau
how about s:action/ tag ?? you can define namespace, action , and
the method also
On Wed, 2008-06-11 at 12:50 +0200, Kiesewetter S., ITSC Bonn, RV, EF,
extern wrote:
yes you can,
action name=action_name method=method class=class/
you can even define different actions for each method in
while calling the action in for,
use this format : action!method
On Wed, Jun 11, 2008 at 1:50 PM, Kiesewetter S., ITSC Bonn, RV, EF,
extern [EMAIL PROTECTED] wrote:
yes you can,
action name=action_name method=method class=class/
you can even define different actions for each method in class
Cédric,
thanks, i read the mail archive, maybe copying all javascript files to
the struts folder would help, but i dont wanna do that...
Actually it was working in my own tomcat application, but i deployed
it to a shared tomcat, and now js files cannot be found...
If i could change a parameter and
I am newbie and need to display radio button for per entry in the iterator.
Also, I need one of the option selected based on the attribute value in the
entry of the iterator and I don't want the label displayed against radio
button. How can I accomplish this using Struts2 tags? Please help
--
Martin thanks for your replay,
I know it could be a simple error for you but I am new in ajax, struts...
nouInforme is the form created in the jsp loaded in di aplicacion. Once
submited I want the response in the same div aplicacion. Them are there.
The library is in the correct place.
The
Hello,
I'm currently trying to deploy two Struts2 enabled .war in a single
.ear on Glassfish.
My problem is : I've no isolation between the 2 projects at the action
dispatcher level.
Project A WAR struts.xml :
struts
package name=projectA-support namespace=/
Hello,
do you deploy the struts.jar in the ear or in the WEB-INF/lib folders of
the war-files?
if they're in the WEB-INF/lib folders they should be seperate.
Marc
Hugo de Paix de Coeur schrieb:
Hello,
I'm currently trying to deploy two Struts2 enabled .war in a single
.ear on Glassfish.
You don't need to use the s:iterator tag to accomplish this; you can use
the s:radio tag. Just put the list of options in the list attribute of
s:radio (http://cwiki.apache.org/WW/radio.html has more details).
If you don't want the label displayed against the radio button, consider
changing the
My entries in the iterator are value objects and I need to display all
information in my value object with radio on each row of table on my html
page.
--
View this message in context:
http://www.nabble.com/Radio-button-in-Iterator-tp17776089p17776917.html
Sent from the Struts - User mailing
Hi,
I want to use Spring 2 + Struts 2.
I am trying to do an example given in
http://struts.apache.org/2.0.11.1/docs/struts-2-spring-2-jpa-ajax.html
http://struts.apache.org/2.0.11.1/docs/struts-2-spring-2-jpa-ajax.html
I followed each and every step given in Doing it yourself.
I have done
Unless dynamic method invocation is turned off.
--- On Wed, 6/11/08, Onur Idrisoglu [EMAIL PROTECTED] wrote:
From: Onur Idrisoglu [EMAIL PROTECTED]
Subject: Re: Determining an Action's class
To: Struts Users Mailing List user@struts.apache.org
Date: Wednesday, June 11, 2008, 7:28 AM
while
I want to display the information in following format:
user name add to group address
jack O blah blah
jimO some address
--
View this message in context:
In fact, this was my second question, so I ask it now :)
I have had problems with deploying *struts*.jar in this special
configuration (2 war in an ear).
- I tries to put them in each .war WEB-INF/lib
= Error : xwork...ObjectFactory already loaded in bean projectA at
projectB deployment.
- I
In general it isn't a good idea to put those custom libs (like
struts.jar, spring.jar) etc. in classloaders of the main
appserver. They should be in the applications-classloader so you can
avoid classloader-issues like leaks.
If you've got the first error it sounds to me that you've got the
yep, it took me hours to learn how to turn it on:)
On Wed, Jun 11, 2008 at 4:02 PM, Dave Newton [EMAIL PROTECTED] wrote:
Unless dynamic method invocation is turned off.
--- On Wed, 6/11/08, Onur Idrisoglu [EMAIL PROTECTED] wrote:
From: Onur Idrisoglu [EMAIL PROTECTED]
Subject: Re:
nani2ratna wrote:
Hi,
SEVERE: Context initialization failed
org.springframework.beans.factory.BeanDefinitionStoreException: Line 11 in
XML document from ServletContext resource [/WEB-INF/applicationContext.xml]
is invalid; nested exception is org.xml.sax.SAXParseException: Document root
Hi,
On Wed, Jun 11, 2008 at 12:55 PM, Eddie Lau TO [EMAIL PROTECTED] wrote:
For example,
using s:select list= ...
if the value supplied into list attribute is wrong,
the translated page start from the position of s:select tag will be blank.
How to get more information of tag-related
My understanding is that the webwork API for ApplicationAware means that the
interceptor will have it's setApplication(Map applicationData); triggered
when the interceptor is run, thereby giving me access to the
applicationcontext.
ApplicationAware should be used with Actions not with
Onur Idrisoglu wrote:
Cédric,
thanks, i read the mail archive, maybe copying all javascript files to
the struts folder would help, but i dont wanna do that...
Actually it was working in my own tomcat application, but i deployed
it to a shared tomcat, and now js files cannot be found...
If i
Hi folks - i'm trying to write an interceptor in struts2 that has access
to the ApplicationMap in the application context.
My understanding is that the webwork API for ApplicationAware means that
the interceptor will have it's setApplication(Map applicationData);
triggered when the
Dave Belfer-Shevett wrote:
Hi folks - i'm trying to write an interceptor in struts2 that has
access to the ApplicationMap in the application context.
My understanding is that the webwork API for ApplicationAware means
that the interceptor will have it's setApplication(Map
applicationData);
Lukasz Lenart wrote:
My understanding is that the webwork API for ApplicationAware means that the
interceptor will have it's setApplication(Map applicationData); triggered
when the interceptor is run, thereby giving me access to the
applicationcontext.
ApplicationAware should be used with
Hi thanks for your reply.
It solved that problem but giving another problem
this time exception is
SEVERE: Exception sending context initialized event to listener instance of
class org.springframework.web.context.ContextLoaderListener
java.lang.NoSuchMethodError:
Hi,
This problem was occured because, i upload some jar file from spring
framework.
I have deleted them, and because i am using Sql Server 2005.
My datasource settings in applicationContext.xml is
bean id=dataSource
class=org.springframework.jdbc.datasource.DriverManagerDataSource
Hey gang,
*Struts 2 In Action* suggests that I can use the name of an action in the
'value' attribute of the s:include tag. However, when I try s:include
value=myAction/ or s:include value=myAction.action/ or even
s:include value=/namespace/myAction.action/ I get bupkus (in fact, the
including
I guess I could just use s:action, huh? It's amazing how these insights
reach me five minutes after I send mail to the list.
jk
On Wed, Jun 11, 2008 at 3:01 PM, Jim Kiley [EMAIL PROTECTED] wrote:
Hey gang,
*Struts 2 In Action* suggests that I can use the name of an action in the
'value'
Hi,
1. I have a list of objects which I use to populate select tag (using list
attribute)
2. Use a property on that object for the listValue.
How do I populate listKey with the object itself?
Thx,
-Akash
-
To
Hi folks...
Im did try a action-redirect, but it throw a exception.
And i dont know why, cause i use it in other action-redirect and work. What
can be?
Here is my action-redirect work:
action name=login method=login
class=br.com.mercur.th.action.UsuarioAction
result
--- On Wed, 6/11/08, akash agrawal [EMAIL PROTECTED] wrote:
How do I populate listKey with the object itself?
What would that mean? What are you expecting to see in the value attribute of
the HTML option... element?
Dave
-
--- On Wed, 6/11/08, Felipe Lorenz [EMAIL PROTECTED] wrote:
Im did try a action-redirect, but it throw a exception.
And i dont know why, cause i use it in other action-redirect
and work. What can be?
You didn't even say what the exception was or provide any information about
under what
In the value attribute I am expecting to see the name (name is a property on my
bean) and I get that correctly by specifying listValue=name. In the listKey,
I would like to set the object itself instead of another property.
Further when this form is submitted the whole object is set on the
oooppps.. my bad
And i use struts 2.0.11
WARNING: Caught OgnlException while setting property
'candidatoExt.codIdFeder' on type
'org.apache.struts2.dispatcher.ServletActionRedirectResult'.
ognl.NoSuchPropertyException:
org.apache.struts2.dispatcher.ServletActionRedirectResult.candidatoExt
I'm not sure that makes sense. At the end, the client is just getting some
html with a regular 'option' tag in it. The best you can do is set pass some
unique id for the key and then fetch the object back when the form is
submitted with the unique key
-Original Message-
From: akash
Here's a thought experiment:
If you did a view source on your page what do you want to appear as the value
in the option tag? In other words, what would be where the XXX is below?
option value=XXXA name from the list/option
The only thing HTTP will send is a string. S2's type conversion can be
That's a warning issued because params may be set either the action or on a
result. It may go away if you turn devMode off; I don't recall what the current
status of this issue is.
Dave
--- On Wed, 6/11/08, Felipe Lorenz [EMAIL PROTECTED] wrote:
From: Felipe Lorenz [EMAIL PROTECTED]
Hi,
can any body tell me what is the release date of struts 2.1
So that i can get struts-dojo-tags.tld, if this tld file is already
available please send me the link.
And is it reliable, because in struts-dojo-tags plugin only i saw 44 issues.
I am starting my project now, which one i have to
--- On Wed, 6/11/08, nani2ratna [EMAIL PROTECTED] wrote:
can any body tell me what is the release date of struts 2.1
Probably not: there are, in general, no scheduled releases.
So that i can get struts-dojo-tags.tld, if this tld file is
already available please send me the link.
If you want
I have a button on jsp on clicl of which the request goes to the Struts action
where I am trying to use POI to create a excel file . It goes back to the right
jsp as per the forward but no download option. I keep getting the following
exception...
Appreciate if anyone can help me with this..
You can either send the excel file or redirect the user, not both.
You're getting the error because once you've sent the excel file,
you're trying to send the redirect but the stream has already been
used.
(*Chris*)
On Wed, Jun 11, 2008 at 2:37 PM, [EMAIL PROTECTED] wrote:
I have a button on
Hi,
But its giving error like
FreeMarker template error!
Expression parameters.parseContent is undefined on line 45, column 28 in
template/ajax/head.ftl.
The problematic instruction:
--
==gt; ${parameters.parseContent?string} [on line 45, column 26 in
template/ajax/head.ftl]
Hi Dave,
I solved the problem.
I dont what happened.
I just redeployed the war file.
Thanks for your help.
Thanks and Regards
Ratna
nani2ratna wrote:
Hi,
But its giving error like
FreeMarker template error!
Expression parameters.parseContent is undefined on line 45, column 28
If I understand your question correctly, what you are looking for is in
the ActionProxy:
http://struts.apache.org/2.0.11.1/struts2-core/apidocs/com/opensymphony/xwork2/ActionProxy.html
It has getAction and getMethod methods.
I'm not sure how to easily get ahold of the ActionProxy within a jsp.
nani2ratna wrote:
org.springframework.beans.BeanInstantiationException: Could not instantiate
bean class [org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter]:
Constructor threw exception; nested exception is
java.lang.NoClassDefFoundError: org/hibernate/ejb/HibernatePersistence
Dave Newton wrote:
--- On Wed, 6/11/08, nani2ratna [EMAIL PROTECTED] wrote:
can any body tell me what is the release date of struts 2.1
Probably not: there are, in general, no scheduled releases.
So that i can get struts-dojo-tags.tld, if this tld file is
already available please send me
56 matches
Mail list logo