Hi,
What is the best approach to display database table content page wise using
struts 2?
We used display tag few years back, but there seems another taglib pager
taglib.
Is pager tag lib a better option or is there any inherent support in struts
2 for paging?
Thanks
harinath
--
View this
One very popular option is DisplayTag (http://www.displaytag.org/).
(*Chris*)
On Wed, Mar 18, 2009 at 11:08 PM, mahanare mahan...@gmail.com wrote:
Hi,
What is the best approach to display database table content page wise using
struts 2?
We used display tag few years back, but there
Hi,
Does someone knows an advanced dateTimePicker?
For example:
- An attribute 'available dates' of type list, that enables the dates in
the list and disables others?
- Coupling a struts action to when you click on one or more dates on the
calendar.
- Not in a dropdown, but simply a calendar
I thought that this attribute means only initial value, but when I submitted
my form with validation errors, on the redisplayed form I saw again that
value, not entered by me.
What for this attribute then ? And how can I set just initial value for my
form?
--
View this message in context:
I always test stuff on jetty and it works fine, showcase at least,
what is the problem you are having?
musachy
On Wed, Mar 18, 2009 at 8:00 PM, stanlick stanl...@gmail.com wrote:
Guys --
I have a loaded (Hibernate, Spring, Tiles) S2.1.6 application running on TC
6 and I want to speed up the
Me too. Never had problems with Jetty.
On Thu, Mar 19, 2009 at 2:11 PM, Musachy Barroso musa...@gmail.com wrote:
I always test stuff on jetty and it works fine, showcase at least,
what is the problem you are having?
musachy
On Wed, Mar 18, 2009 at 8:00 PM, stanlick stanl...@gmail.com wrote:
I'm pretty sure you can't prepopulate input tags whose type=file.
This is html4 and has nothing to do with struts.
-Original Message-
From: Greg Lindholm [mailto:glindh...@yahoo.com]
Sent: Wednesday, March 18, 2009 4:17 PM
To: user@struts.apache.org
Subject: Re: File upload, validation
What does the JSP look like? Does it include the taglib definition?
Nils-H
On Thu, Mar 19, 2009 at 5:14 PM, Kra, Aime yao (TEK System)
ak...@allstate.com wrote:
Struts 2 tags are not translate into HTML when I add tile to my application.
When I use View source of my browser, I still can see
Below is the jsp
--snip -
%@ page contentType=text/html; charset=UTF-8%
%@ taglib uri=http://tiles.apache.org/tags-tiles; prefix=tiles%
%@ taglib prefix=s uri=/struts-tags%
!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN
html
!--
My company virus scanner prevents me from putting xml here. When I use s:url
and add parameters using s:param and set the URL as href to sx:a , an ajax
anchor tag, I get the following error. I get two sets of values for each
action parameters comma separated. One the value I sent via s:param. 2 -
In theory, an app should work on any app server, but from time to time
I've found out about incompatibilities the hard way. For instance,
Tomcat doesn't look to favorably on unclosed scriptlet tags... We
found out the hard way that Tomcat doesn't compile a page when your
page ends w/o the
And what about the content JSP that contains the code that doesn't work?
Nils-H
On Thu, Mar 19, 2009 at 5:22 PM, Kra, Aime yao (TEK System)
ak...@allstate.com wrote:
Below is the jsp
--snip -
%@ page contentType=text/html;
Here are the tiles definitions
--- tiles-def.xml--
?xml version=1.0 encoding=ISO-8859-1 ?
!DOCTYPE tiles-definitions PUBLIC -//Apache Software Foundation//DTD Tiles
Configuration 2.0//EN
http://jakarta.apache.org/struts/dtds/tiles-config_2_0.dtd;
Does the pages you're including have the struts tlds defined? If not,
they should.
Nils-H
On Thu, Mar 19, 2009 at 6:33 PM, Kra, Aime yao (TEK System)
ak...@allstate.com wrote:
Here are the tiles definitions
--- tiles-def.xml--
?xml version=1.0
Thank a lot.
It is working after I add the tag
%@ taglib prefix=s uri=/struts-tags%
On top of the jsp that are included into the base.jsp.
Thanks.
Aimé Kra
-Original Message-
From: Nils-Helge Garli Hegvik [mailto:nil...@gmail.com]
Sent: Thursday, March 19, 2009 1:40 PM
To: Struts
in your jsp your reference to struts tags associates prefix 's' to uri
struts-tags
%...@taglib prefix=s uri=/struts-tags %
!-- then in /META-INF/struts-tags.tld you have defined tag name and attributes
with associated class-name as illustrated below --
?xml version=1.0 encoding=UTF-8?
Well I'll be damned...it's working! It looks like the solution was to remove
the *-conversion.properties entries and then change this in SettingAction:
public void setSettings(SettingList settings) {
this.settings = settings;
}
public SettingList getSettings() {
return settings;
}
to:
Great. That fixed my problem. I also had a typo in one of my other
attempts and this explains what happened.
-Original Message-
From: Musachy Barroso [mailto:musa...@gmail.com]
Sent: Wednesday, March 18, 2009 7:42 AM
To: Struts Users Mailing List
Subject: Re: redirect parameters lost
boraldo wrote:
I thought that this attribute means only initial value, but when I submitted
my form with validation errors, on the redisplayed form I saw again that
value, not entered by me.
What for this attribute then ? And how can I set just initial value for my
form?
If there's a value
Greg Lindholm wrote:
I've discovered that in the standard interceptor stack fileUpload
is after prepare interceptor. This means that the upload File,
ContentType, and FileName setters have not been called before
prepare() method runs. Is there a good reason for this? It seems
like fileUpload
Leena Borle wrote:
I want to know if anybody used scrambled query string with Struts2 and how
to do it.
E.g. if I call some action like http://./ShowProducts.action?id=23dept=5
etct. etc, I want the query string to be scrambled so that it does not show
my database ids in the browser.
Hi,
I want to use JQuery with Struts 2.
I did search and found jQuery plugin at http://code.google.com/p/s2jquery
Is anyone aware about other jQuery plugins?
Could anyone please recommend me which jQuery plugin I should use?
Thanks in advance.
Regards,
Hemal Shah
Hi,
could someone advise me how to configure REST plugin so that only some
actions will be processed by it. I do not want all actions to use REST url
scheme and url-method mapping.
Another issue that I have with REST plugin is that after adding it to my
application config-browser plugin stopped
On Thursday 19 March 2009 18:32:52 Hemal Shah wrote:
Hi,
I want to use JQuery with Struts 2.
I did search and found jQuery plugin at http://code.google.com/p/s2jquery
Is anyone aware about other jQuery plugins?
Could anyone please recommend me which jQuery plugin I should use?
Thanks in
Patch committed to trunk. https://issues.apache.org/struts/browse/WW-3051
musachy
On Wed, Mar 18, 2009 at 3:09 PM, Musachy Barroso musa...@gmail.com wrote:
When a property is not found, it is logged, which causes all those
warnings, as for myself I find them very annoying. I have a patch
I can't seem to figure out how to invoke a method with a single
parameter (declared in my action class) within a freemarker page in
Struts 2. Is this possible? The issue I'm facing is that I need to
iterate through a collection of elements and then dynamically generate
some data based on each
Radoslav Krivak wrote:
could someone advise me how to configure REST plugin so that only some
actions will be processed by it. I do not want all actions to use REST url
scheme and url-method mapping.
I built something I call NamespaceBasedActionMapper that allows you to
specify different
I didnt explain what the fix does, there is a new setting
struts.el.throwExceptionOnFailure which when set to true, will
cause missing properties, or exceptions thrown from OGNL expression
evaluations, to throw an exception and break the page. This will
only happen in S2 tags, not JSTL. Some
The easiest thing might be to just define an action for it. Something like:
action name=scripts/greybox/loader_frame
result type=dispatcherscripts/greybox/loader_frame.html/result
/action
might do the trick.
(*Chris*)
On Thu, Mar 19, 2009 at 8:51 PM, foward fow...@gmail.com wrote:
29 matches
Mail list logo