Has anybody made experiences modifing the look of struts 2.0.6's -tag
tabbedPanel ? I'd like to overwrite the related files within my
application.
Best case:
Using attributes like templateCssPath for the file TabContainer.css
and templatePath for TabContainer.html.
Both are originally set in
Ray,
The tiles-jsp jar was an addition between the tiles release in S2.0.6 and
Tile 2.0.3, the packaging script therefore didn't include it and I only
raised it after I was testing 2.0.8 when the call for a vote on 2.0.8 had
already gone out. It's been fixed for future releases, but by the time I
2007/6/13, goodprogram [EMAIL PROTECTED]:
Hi guys,
May i know how to get the values from the database and display them in
grid
format in a jsp.
Maybe displaytag can help:
http://displaytag.sourceforge.net/
Antonio
Jeromy,
2.0.8 is the first version I've tried it in. I wanted to include the version
in full to avoid people suggesting an upgrade to 2.0.8 as a first step :).
Thanks for the RFC3339 tip, but I'm going to hold off using datetimepicker
until 2.1.
Al.
-Original Message-
From: Jeromy
2007/6/14, Ray Clough [EMAIL PROTECTED]:
I have a large app using S2 with Tiles2 and S1 with Tiles1 intermingled.
Eventually, this is going to cause problems, especially when I want to
include pages rendered by T1 inside pages rendered by T2. Now that Tiles2
can function independently of
2007/6/13, Charbel Abdul-Massih [EMAIL PROTECTED]:
/web/layout/topMenu.jsp(1): Error in using tag library
uri='http://tiles.apache.org/tags-tiles' prefix='tiles': The Tag class
'org.apache.tiles.taglib.definition.DefinitionTag' has no setter method
corresponding to TLD declared attribute
Hi all ,
sorry , this is not related to struts but this is an urgent
requirement for me can any one pls send the code to convert the Html files
to Pdf
file. pls
thanks
Jalaludeen
Look here: http://www.javaworld.com/javaworld/jw-04-2006/jw-0410-html.html
jalal udeen pravi:
Hi all ,
sorry , this is not related to struts but this is an urgent
requirement for me can any one pls send the code to convert the Html
files
to Pdf
file. pls
thanks
Jalaludeen
2007/6/14, Peter Valencic [EMAIL PROTECTED]:
Look here:
http://www.javaworld.com/javaworld/jw-04-2006/jw-0410-html.html
You googled html to pdf java right? :-)
Jalal, learn using Google, take Peter as example :-)
Antonio
yes.. sometimes (90%) google give you the right answer ;)
Antonio Petrelli pravi:
2007/6/14, Peter Valencic [EMAIL PROTECTED]:
Look here:
http://www.javaworld.com/javaworld/jw-04-2006/jw-0410-html.html
You googled html to pdf java right? :-)
Jalal, learn using Google, take Peter
Thanks, Laurie.
Your OGNL expression does work!
s:iterator id=do value=destObjects
tr
s:iterator value=visibleColumns
td
s:property value=%{#do[fieldDefName]}/
/td
/s:iterator
/tr
/s:iterator
In fact, I have been trying in many ways. Here is the most similar
Hey Musachy,
Thanks a lot for the replying :) Finally I've found a solution through
Apache + Tomcat way (rewrite rules).
Cheers!
On 6/1/07, Musachy Barroso [EMAIL PROTECTED] wrote:
The url has an 'includeContext' param:
http://struts.apache.org/2.x/docs/url.html
As for the form, if it
- Original Message -
From: goodprogram [EMAIL PROTECTED]
To: user@struts.apache.org
Sent: Wednesday, June 13, 2007 9:37 PM
Subject: avoiding resetting of values
Hi
I have 7 textbox fields, when i enter the values for all those and submit
the form, the clientside and server side
hello all
i do what mentioned below
but it fails in initialization, and whent i comment
%@ taglib prefix=tt uri=/tabletags%
it run correctly ,
any suggestion.
Bye.
Mansour [EMAIL PROTECTED] wrote: I think you are asking about the taglib
difinition so that you can use
tabletags.
If this is
Hi all,
Can anyone please point me please in the S2 example applications to
an implementation of the Page-by-Page Iterator pattern? any ideas
otherwise whether there is a reusable interceptor/plugin/etc?
TIA,
regards,
Giovanni
Hi all,
Does any one has list of security issues we have to take while using
struts framework.
Regards,
Prabhakar
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Good Day,
I have been trying to use the datetimepicker in 2.0.6 and 2.0.8 to display a
field that should display the date and the time. I have tried to do this
with the datetimepicker as one field and as two fields (i.e. date field and
time field) with no luck. In 2.0.8 I cannot even get the
My question is if the datetimepicker is only going to be ready in 2.1 then
how should I implement this in my application?
As mentioned previously in this thread, a work-around for the current
datetimepicker issues is to convert the date value to and from an
RFC3339 string within your
What do you mean by it fails? I need more details.
What do you get ?
Do you have the jar file in your WEB-INF/lib ?
amir nasr wrote:
hello all
i do what mentioned below
but it fails in initialization, and whent i comment
%@ taglib prefix=tt uri=/tabletags%
it run correctly ,
any
Basically, because of the performance issue. It takes a while to
initialize the facade with every single request.
What's the problem with this ?
Frank W. Zammetti wrote:
It may be OK, but my experience tells me its atypical... the question
I would ask is why you need to cache the reference to
On 02/06/07, Mansour [EMAIL PROTECTED] wrote:
Hello every one:
I am trying to access my business layer from Actions. However, I need
to hold a reference to the business layer facade and access it from any
Actions classes. I am saving the reference to servicesFacade in a
session and retrieving
What do your log files tell you? It sounds like you've introduced an
error in your validation.xml (either a syntax error, or a semantic error
such as referencing a class that doesn't exist or specifying the method
signature incorrectly).
L.
So,there is a attribute like maskif! br
Log files
What do your log files tell you? It sounds like you've introduced an
error in your validation.xml (either a syntax error, or a semantic error
such as referencing a class that doesn't exist or specifying the method
signature incorrectly).
L.
So,there is a attribute like maskif!
Log files
What do your log files tell you? It sounds like you've introduced an
error in your validation.xml (either a syntax error, or a semantic error
such as referencing a class that doesn't exist or specifying the method
signature incorrectly).
L.
So,there is a attribute like maskif!
Log files
sorry!
--
View this message in context:
http://www.nabble.com/Struts-validator-%22maskif%22-tf3913144.html#a8601
Sent from the Struts - User mailing list archive at Nabble.com.
--- M. Bitner [EMAIL PROTECTED] wrote:
[...] Spring is picking up the beans defined in
applicationContext and instantiating them. How do I
get them into my actions to use them for data
access?
Two main ways:
1) Wire them up by hand (define your actions as beans
in a Spring context file, wire
Maybe http://struts.apache.org/2.x/docs/spring-plugin.html can be of some
help.
Cheers,
Peter
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: den 14 juni 2007 13:59
To: Struts Users Mailing List
Subject: Re: [S2] Getting DAO from Spring in Struts Action
--- M.
I know of two general categories of security issues:
First, all security issues that apply to Web Applications apply to
Struts. Fortunately, there is lots of documentation in the web, a few
books, and quite a few tools that test the security of your web
application.
Second, *use a recent
Hello everbody,
I'm faciong the following problem. In my OrderForm I have got a list with
order items: private ListOrderItemViewDTO wrappedOrderItemList = new
ArrayListOrderItemViewDTO();
Now I have got a jsp with a list of all order items. I iterate over the list
to display the values:
I'm getting the same warning setting the constant in the struts.xml
file. Didn't test using struts.properties.
Upgrading to v2.0.8 didn't solve the problem either.
2007/6/13, Danny Hurlburt [EMAIL PROTECTED]:
I was getting the same warning. I was able to remove the warning by
creating a
Good Day,
Thank you for the help.
I found a javascript calendar that has date and time functionality. Is there
a way I can use this with a normal s:textfield?
http://sourceforge.net/projects/jscalendar/
I want to use the following format in the text field.
2007-06-14 20:41
Must I create a
Updated struts from 2.0.6 to 2.0.8 (that fixed FilterDispatcher not cleaning
up correctly) but nothing changes. Maybe it's not a FilterDispatcher
problem...
totojack wrote:
I've deployed a webapp with struts2 on weblogic 8.1/java 1.4.1_02.
It works fine, but when I make a redeploy it
On 6/14/07, Roger Varley [EMAIL PROTECTED] wrote:
On 02/06/07, Mansour [EMAIL PROTECTED] wrote:
Hello every one:
I am trying to access my business layer from Actions. However, I need
to hold a reference to the business layer facade and access it from any
Actions classes. I am saving the
I am a bit confused now:
- It seems when the app starts in the course of Tomcat starting up,
there is no warning
- When the app starts in the course of stopping/starting or reloading in
Tomcat Manager, the warning still appears
- However my the locale I set as constant in struts.xml seems to
Make sure the inputName matches the name of the setter method, I assume you
have a getAnuncio() in your action whose result has a setDataInicial()
method right?
musachy
On 6/13/07, Diego Yasuhiko Kurisaki [EMAIL PROTECTED] wrote:
I'm using saveFormat=rfc and java.util.Date as my object
My
I upgraded to the latest version of struts 2.0.8 which comes with a
newer version of tiles...
I am using JDK 1.4, so I had to reto-translate the following jars on top
of the struts2 j4 distribution
struts2-tiles-plugin-2.0.8.jar
tiles-api-2.0.3.jar
tiles-core-2.0.3.jar
On weblogic 8.1, on
2007/6/14, Charbel Abdul-Massih [EMAIL PROTECTED]:
java.lang.ClassNotFoundException:
org.apache.tiles.jsp.context.JspTilesContextFactory
Whoops! Maybe we need to add it in the assembly. For the moment, you can add
it manually:
http://www.apache.org/dyn/closer.cgi/tiles/v2.0.3/
Thanks a
Hello,
I am having some problems with getting a session attribut in my JSP.
A have a JSP where the user can make a search based on information he must
enter in a form.
The result of the search must be displayed in a table.
To display the result I do:
logic:notEmpty name=cautionVOs
On 6/14/07, Wesslan [EMAIL PROTECTED] wrote:
Maybe http://struts.apache.org/2.x/docs/spring-plugin.html can be of some
help.
You have to give your spring actions (those you want dependency
injection for) the same value for the name attribute as the value
you give for your spring bean's id
hello all
i do what mentioned below
but it fails in initialization, and whent i comment
%@ taglib prefix=tt uri=/tabletags%
it run correctly ,
any suggestion.
Bye.
Mansour [EMAIL PROTECTED] wrote: I think you are asking about the taglib
difinition so that you can use
tabletags.
If this is
Help me on the below error
[6/14/07 9:48:11:304 EDT] 152c2ad5 WebGroup E SRVE0026E: [Servlet
Error]-[com/opensymphony/oscache/base/NeedsRefreshException]:
java.lang.NoClassDefFoundError:
com/opensymphony/oscache/base/NeedsRefreshException at
java.lang.Class.forName1(Native Method) at
Seems like you don't have oscache jar on your lib folder.
musachy
On 6/14/07, Sachin [EMAIL PROTECTED] wrote:
Help me on the below error
[6/14/07 9:48:11:304 EDT] 152c2ad5 WebGroup E SRVE0026E: [Servlet
Error]-[com/opensymphony/oscache/base/NeedsRefreshException]:
What concerns me is the loading time of a page that contains one or more
datetimepickers. Especially in the company network here (very fast but
behind a proxy), it sometimes takes a minute or more to load such a page
while my little Linux box here almost freezes. More or less the same
happens on
Sorry forgot to mention
I have oscache-2.1.1.jar inside WEB-INF\Lib which is working fine in windows
and failing in unix.
I extracted the jar in from my unix server and it contains the jar which
fine and having the NeedsRefreshException class.
I did check the case sense between windows and
Rename the folder from WEB-INF\Lib to WEB-INF\lib...
Sorry forgot to mention
I have oscache-2.1.1.jar inside WEB-INF\Lib which is working fine in
windows
and failing in unix.
I extracted the jar in from my unix server and it contains the jar which
fine and having the NeedsRefreshException
sorry that is typo error...
lib is fine.
On 6/14/07, Rainer Hermanns [EMAIL PROTECTED] wrote:
Rename the folder from WEB-INF\Lib to WEB-INF\lib...
Sorry forgot to mention
I have oscache-2.1.1.jar inside WEB-INF\Lib which is working fine in
windows
and failing in unix.
I extracted the
Sorry for the unjustified criticism. It is going to be difficult for people to
get the correct jar, as it is not a link on the Tiles site. I had to guess
that the 2.0.3 download url was a mod of the 2.0.4 url, and fortunately, it was.
- rc
- Original Message -
From: Al Sutton [EMAIL
Yes thats right...
When i have the following signature for the setter method
setDataInicial(java.util.Date data){
}
The method is called properly and my date is setted, but it changes dd/MM
for MM/dd, so if my date is 01/12 (first of december) in my bean it turns to
12/01 (twelveth of
I am getting the following errors and I am not sure where they are
coming from. I do not have any fields on my form named x or y. Any
ideas?
ERROR - ParametersInterceptor.setParameters(198) | ParametersInterceptor
- [setParameters]: Unexpected Exception catched: Error setting
expression 'x'
I'm preparing my Struts app for Internationalization and am moving all
strings to .properties files.
How do I do this:
bean:message bundle=bundlekey/module key=some.string.key
arg0=tiles:getAsString name=objType//
Obviously, that doesn't work, but you can probably see what I want to do.
How do
I added setters for x and y in my action class. They are set to
different integer values each time. I have no idea where this is coming
from. Is this some strange bug in Struts 2?
-Original Message-
From: Hoying, Ken [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 14, 2007 1:48 PM
To:
--- Hoying, Ken [EMAIL PROTECTED] wrote:
I added setters for x and y in my action class.
They are set to different integer values each time.
I have no idea where this is coming from. Is this
some strange bug in Struts 2?
I'll bet if you move your mouse to the right x gets
bigger.
d.
You appear to be correct. Care to clue me in?
-Original Message-
From: Dave Newton [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 14, 2007 2:12 PM
To: Struts Users Mailing List
Subject: RE: [S2] Parameter Interceptor Error
--- Hoying, Ken [EMAIL PROTECTED] wrote:
I added setters for
I see... Now.. Using s:submit type=image/
-Original Message-
From: Hoying, Ken [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 14, 2007 2:18 PM
To: Struts Users Mailing List
Subject: RE: [S2] Parameter Interceptor Error
You appear to be correct. Care to clue me in?
-Original
On 6/14/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hello,
I am having some problems with getting a session attribut in my JSP.
A have a JSP where the user can make a search based on information he must
enter in a form.
The result of the search must be displayed in a table.
To display the
Hi,
I'm trying to develop my app following the redirect-after-post
pattern. Of course s:actionmessages do not survive between requests,
but this is the main paradigm behind the pattern (showing the page by
doing _other_ request).
The question is which are my options to make my actionMessages
In one of my forms the validation error messages are piling up every
time the submit button is pressed. This only occurs in Firefox and only
with this form. I have other form working well both in IE and FF.
Anyone can help me?
The form:
%@ page language=java contentType=text/html; charset=UTF-8
Can you verify that the struts.xml is in the WAR file, and the location
of it?
/Ian
Danny Hurlburt wrote:
Hello,
I am new to Struts2 and am running into some problems. I have read
much of the
documentation on the wiki but I am still stuck.
I have added the filter declaration and filter
Generally this occurs if there is no method defined for the
action...guess struts.xml is missin for indicatin the default
method.
try addin method=execute() to the definition..if it works...some
problem with struts.xml
Animesh
On 6/13/07, Danny Hurlburt [EMAIL PROTECTED] wrote:
Actually I figured it out. I didn't realize that S2 was expecting
struts.xml to be on the
classpath. I put it in WEB-INF. The wiki page
http://cwiki.apache.org/WW/strutsxml.html
didn't make it clear that it is required to be on the classpath. It does
however state that
the struts-plugin.xml
I am trying to perform validation using an xml file that follows the
format Action-method-validation.xml. However, it does not appear that
the validation is being executed. I am not sure how to debug this to
determine why. Anyone have a good set of steps on how to debug this
issue?
Thank you.
On which field are they piling up?
musachy
On 6/14/07, Rafael Dittberner [EMAIL PROTECTED] wrote:
In one of my forms the validation error messages are piling up every
time the submit button is pressed. This only occurs in Firefox and only
with this form. I have other form working well both in
If I uncheck the Tools|Options|Content|Enable Javascript option in FF it
works ok. But it does not answer the question why one form works and the
other don't.
Rafael Dittberner
Rafael Dittberner escreveu:
In one of my forms the validation error messages are piling up every
time the submit
One way to know if the validation is detected by struts is using the config
browser plugin (http://struts.apache.org/2.x/docs/config-browser-plugin.html),
is the validation interceptor being applied to your action? In any case,
posting the action mapping and the class would help.
musachy
On
If you have validate=true on the form, javascript validation will be
performed before submitting the form, do you have that in both forms?
musachy
On 6/14/07, Rafael Dittberner [EMAIL PROTECTED] wrote:
If I uncheck the Tools|Options|Content|Enable Javascript option in FF it
works ok. But it
The first one.
Rafael Dittberner
Musachy Barroso escreveu:
On which field are they piling up?
musachy
On 6/14/07, Rafael Dittberner [EMAIL PROTECTED] wrote:
In one of my forms the validation error messages are piling up every
time the submit button is pressed. This only occurs in Firefox
Yes, both forms have validate=true.
s:form name=formTeste action=save method=post validate=true
s:textfield label=Valor name=t.valor value=%{t.valor}
required=true /s:textfield
s:submit value=Ok /
/s:form
This is the one that works, it is only a test I did while learning S2,
so it is much
Thanks for the pointer on the plugin.
My Validation XML file (UploadFile-uploadXls-validation.xml) is as
follows:
!DOCTYPE validators PUBLIC
-//OpenSymphony Group//XWork Validator 1.0.2//EN
http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd;
validators
!-- @TODO this
Can anyone tell me why this is happening to me. I am using jdeveloper 10g
as my development platform.
I want to call a action with a url parameter.
ex: someaction.action?id=123
but in my action where i have a getter and setter for id it is not being
picked up.
Could this be a issue with
Hi.
I have done a simple application to learn struts2. The user only insert is
name and hit OK button. The result is the error.jsp or success.jsp with a
message that was set on the class.
This class have the execute() method and all gets and sets need to capture
the values introduce by the
I am trying to run the blank-struts application in jdeveloper 10.1.3.1 and
the application is not recognizing the url parameters passed to the action.
Is anyone else having this issue?
I noticed there's only two bundled numeric data type validator (int, double).
Is there any reason the S2 int validator can't be used for long field
validations (or other data types w/out decimals)?
p.s. The http://struts.apache.org/2.x/docs/validation.html page is missing a
link for the
On 6/14/07, l1nk [EMAIL PROTECTED] wrote:
Hi.
I have done a simple application to learn struts2. The user only insert is
name and hit OK button. The result is the error.jsp or success.jsp with a
message that was set on the class.
This class have the execute() method and all gets and sets need
I'll be replacing that with the one Torsten
emailed about earlier at the first opportunity I get:
http://www.mattkruse.com/javascript/calendarpopup/
I just gave that a try myself and I ran into a few issues:
- The placement of the div popup is not as smart as with
datetimepicker, in my
The DTD (http://www.opensymphony.com/xwork/xwork-validator-1.0.2.dtd) for the
xml validation file definition doesn't appear to support error message
parameters. How does one pass msg parameters when using the message key (which
I assume is a i18n message file key)?
Using the example on
--- Danny Hurlburt [EMAIL PROTECTED] wrote:
The wiki page didn't make it clear that it is
required to be on the classpath.
Does now :)
(Or will once it propagates, anyway.)
d.
Building a website
Sure. Here it's the code:
ERROR [ParametersInterceptor] ParametersInterceptor - [setParameters]:
Unexpected Exception catched: Error setting expression 'age' with value
'[Ljava.lang.String;@73327332'
ERROR [ParametersInterceptor] ParametersInterceptor - [setParameters]:
Unexpected Exception
What exactly the tag you are using,
Better to use the url tag with param which does the
encoding properly
Thanks
--- Mike Jennings [EMAIL PROTECTED] wrote:
Can anyone tell me why this is happening to me. I
am using jdeveloper 10g
as my development platform.
I want to call a action with a
Good Evening George or Mike
go to 'Project'
select 'Run/Debug'
Edit
Add the necessary Program Arguments
Tool Settings/Debugger/Remote
Attach to OJVM should be selected
Host should be fully qualified dns name
Port leave as 4000 unless you changed it
verify the 'To Launch A Remote Debugee'
I am following the instructions here:
http://www.servlets.com/archive/servlet/ReadMsg?msgId=427231listName=struts-user
But unfortunately I cannot get my browser to send the
If-Modified-Since header. Instead, I am always receiving the
cache-control=max-age=0 in the request, which HTTP dictates
I really appreciate the input - I've been struggling with this for a
while. It's still not quite working though, and I'm sure the problem
is that there's something fundamental about the process that I don't
quite understand yet.
My applicationContext.xml looks like this:
?xml version=1.0
Torsten Römer wrote:
I'll be replacing that with the one Torsten
emailed about earlier at the first opportunity I get:
http://www.mattkruse.com/javascript/calendarpopup/
I just gave that a try myself and I ran into a few issues:
Thanks for this. You've saved me a lot of time!
Dear All,
I am new to struts so would need your help here.
My client has an enterprise application(struts1.0 based) with :
1 WAR (virtual host www.abc.com)
1 EJB module
Now, the client want the same application(almost same business rules..i.e
same EJB module) but in different look and feel
Hi
Is there a way out in struts 2 as in struts1.2 for not submitting the form
twice even is the submit button
is pressed more than once.
Your reply will be welcomed
sudeep srivastava
[EMAIL PROTECTED]
--
View this message in context:
Hi,
I have tried using request.getRequestDispatcher.forward() and returning the
actionforward to null
I used the below code
String customURL = getcustomURL();
RequestDispatcher req = request.getRequestDispatcher(customURL);
req.forward(request, response);
But it is not working. it always
the WEB-INF should be in capital letters to run a web application in linux.
actually i have faced the same problem . windows in not case sensetive but
linux ,it is only for WEB-INF,. Your can mention lib, classes or other folders
names in lower case
best of luck
Hi all,
Can anybody tell me how to get the real path of a file from an action class?
I'm using struts 1.2.9.
Thank you,
AM
getServlet.getContextPath.getRealPath(File);
Regards
Srinivas Gurram
IT Consultant
LogicaCMG - Releasing your potential
Divyasree Technopolis
124 - 125 Yemlur Main Road,
Off Airport Road
Yemlur P.O
Bangalore 560 037
India
Tel: +91 80 4194 extn 20195
M: +91 99001
Hi,
You can get it by using the code:
//Get the servers upload directory real path name
String filePath = getServlet().getServletContext().getRealPath(/)
+upload;
Have a look at
http://www.roseindia.net/struts/strutsfileuploadandsave.shtml.
Here you will find the code to save the file on
No worries, It's useful to bring issues like this up so that people can
search the mailing list archives and get the solution if the hit the same
problem.
-Original Message-
From: Ray Clough [mailto:[EMAIL PROTECTED]
Sent: 14 June 2007 17:17
To: Struts Users Mailing List
Subject: RE:
You'll need
http://struts.apache.org/2.0.8/docs/message-store-interceptor.html
Be aware though, if you have the validation interceptor in your stack you
will encounter problems if you're redirecting to an action.
-Original Message-
From: Gabriel Belingueres [mailto:[EMAIL PROTECTED]
91 matches
Mail list logo