I would like to share the following experience.
I decided to make some experiments on the dateTimePicker tag on my test site
where I also use Sitemesh with a very complex layout. On IE 6 there was no
way to see the calendar window and pushing the small calendar icon the
layout of the page was par
Hi,
Is it possible to use Map-backed forms in S2.
Existing application using the Map-backed form doesnt
seem to work with S2,
Thanks
Got a little couch potato?
Check out fun summer activities for kids
I've always used displaytag for paginated results. It is really easy to use
(and flexible at the same time)
musachy
On 6/21/07, Jeromy Evans <[EMAIL PROTECTED]> wrote:
Skip Hollowell wrote:
> So now my question is ... how? I have a list of 5000 records. I want
> to initially show them a 100
Skip Hollowell wrote:
So now my question is ... how? I have a list of 5000 records. I want
to initially show them a 100 of these records, with a nice Prev / Next
feature.
1. Where / how do I safely store this list for this user? Obviously
it needs to be saved somewhere so it is not lost onc
Or the scriptletless version:
musachy
On 6/21/07, Van Riper <[EMAIL PROTECTED]> wrote:
On 6/21/07, Max Pimm <[EMAIL PROTECTED]> wrote:
> I am used to defining a base element in my pages but can't find the way
> to define this with struts 2. All suggestions welcome.
I don't think you need st
On 6/21/07, Max Pimm <[EMAIL PROTECTED]> wrote:
I am used to defining a base element in my pages but can't find the way
to define this with struts 2. All suggestions welcome.
I don't think you need struts 2 support to do this. I'm using webwork
2.2 currently and starting to monitor this list ag
Thanks for the prompt response.
I was hoping I could put in the value field "myCollection[0]", then on the
server side struts would interpret which item in collection to store in the
form.
In other words struts would generate this html and interpret it:
bar
It doesn't look like it is possibl
On 6/21/07, Simon Pink <[EMAIL PROTECTED]> wrote:
...
What I want to do is, rather than send the id in the
value field, send the actual bean.
...
You cannot send a Java object from a browser.
-
To unsubscribe, e-mail: [EMAIL P
--- tom tom <[EMAIL PROTECTED]> wrote:
> The question we have is, What exactly the life cycle
> and scope of these Actions and Member variables,
> When it will be released from the value stack, how
> long will it be there in the value stack.
The following:
http://struts.apache.org/2.x/docs/big-
On 6/15/07, M. Bitner <[EMAIL PROTECTED]> wrote:
That got it working - thank you all so much for your help.
Turns out I was wrong, though, and it's the "class" attribute that has
to match up. Been awhile since I looked at that. Good that you
solved your problem, anyway.
-Dave
On 6/15/0
Hi,
As we dont have ActionForms seperately as in Struts
1.X.
We introduce member variables in the Action classes.
All our jsp field elements are mapped to these member
variables.
The question we have is, What exactly the life cycle
and scope of these Actions and Member variables, When
it will b
Hi there,
I have a Collection (foodGroups) that I am displaying in a html:select tag
via html:optionsCollection. So I have:
So far pretty standard. What I want to do is, rather than send the id in the
value field, send the actual bean. So, in my action form I would like to
save
I resolved the problem creating a class that extends a class
StrutsTypeConverter.
On 6/21/07, Célio Cidral Junior <[EMAIL PROTECTED]> wrote:
I have the same problem, but as far as I could see, formatting support
in S2 is nasty. You can format something with using the
format defined in your re
Hello,
I was trying to modify in struts2-showcase - FileDownload action to read a
jpeg file located in the local machine, not in the webapp.
First of all is it possible to read and display local file?
when i changed i am getting this error :--
java.lang.IllegalArgumentException: Can not find a ja
I'm having the same problem. I consider this an important issue, so
why this thread got no response?
Célio
2007/4/11, Sauli Ketola <[EMAIL PROTECTED]>:
Hi,
Is there a way to format the value of a s:textfield like it possible
with s:text?
For example what would be the equivalent of "" for /?
I have the same problem, but as far as I could see, formatting support
in S2 is nasty. You can format something with using the
format defined in your resource bundle, but you can't do that with
. WTF?! Man, so far I've spent 3 hours trying to do make
that work, but just couldn't. I'm going cra
I have just upgraded to tomcat 6 and struts 1.2.9.
I now get the error: No FormBeanConfig found under ''
Any idears?
Soren
On 6/21/07 1:47 PM, "Gabriel Belingueres" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I need to implement a wizard that collects data in several forms,
> which fields are stored in a single session scoped object.
>
> The problem is I didn't found any working example of using
> ScopeInterceptor. Even th
Is there any best practices to avoid long list of parameters .
Thanks
Miro
-
Building a website is a piece of cake.
Yahoo! Small Business gives you all the tools to get online.
I am using the updownselect tag and things are almost
working perfectly. The only problem I have is that
the list that gets sent back to the server only
includes the rows that have been selected. I
patterned my code after the showcase example (which
does work), but despite my best efforts I cann
Hi,
I need to implement a wizard that collects data in several forms,
which fields are stored in a single session scoped object.
The problem is I didn't found any working example of using
ScopeInterceptor. Even this interceptor is not in the default stack,
so I don't know if it is widely used an
The power that be have dictated that a mega search against the DB will
be fired off 1 time, and all the results will be returned to my Struts 2
app for me to deal with. (Rather than my suggestion of sending a
request for 1 page worth of information as most people would suggest)
So now my ques
omg... As a lot of people says... rtfm, Lucas :)
That's correct, Dave :)
Thanks a lot for the appointment! ;)
Cheers!
On 6/21/07, Dave Newton <[EMAIL PROTECTED]> wrote:
--- Lucas Garcia <[EMAIL PROTECTED]> wrote:
> If I execute the form with the 3 fields (email,
> password and passwordRep) i
--- Lucas Garcia <[EMAIL PROTECTED]> wrote:
> If I execute the form with the 3 fields (email,
> password and passwordRep) in blank, 3 error messages
> are returned. I was reading that when a validation
> short-circuited occurs, the next validations aren't
> executed. Nevertheless -as I said- 3 err
Hi,
I'm working with 2.0.8 struts version, and I have a problem with the next
validation file:
true
true
(passwordRep == password)
If I execute the form with the 3 fields (email, password and passwordRep) in
blank, 3 error message
I figured this one out. The key I was using was actually the canonical
name of the MBean which contains some punctuation. This must have been
causing some problems with the params interceptor being able to properly
process the request.
Jeff
-Original Message-
From: Talley Jeff (air2jrt)
Hi,
I have been getting the same errors from the Parameter interceptor. So
far I haven't found a way around that unless you put getters and setter
for all the parameters in the action. (Which I don't want).
However, the good news is that for better or worse, when/if you change
the settings in the s
I have a s:select form element in my JSP that gets a list of enums to display
in a drop down box.
The following is my enum
public enum Colour {
WHITE,
RED,
BLACK;
}
The following is the action method that returns a List for my s:select
public List getColourList() {
return A
Dave Newton wrote:
--- Roberto Nunnari <[EMAIL PROTECTED]> wrote:
But what does that mean?
I've just been chalking it up to magic.
How can I find out what's going on?
Do I have to keep the filter mapped?
Probably. Are you using SiteMesh? In a nutshell, this
No. But I'm using Tiles.
fi
Hey Scott --
I am using ModelDriven and Preparable so I can pass an ID along with the
requests. I added an id attribute to my baseaction class and things are
working with one exception. Since the
prepare method is called before the getModel, when I post a form, and the
prepare gets called, I am
--- Roberto Nunnari <[EMAIL PROTECTED]> wrote:
> But what does that mean?
I've just been chalking it up to magic.
> How can I find out what's going on?
> Do I have to keep the filter mapped?
Probably. Are you using SiteMesh? In a nutshell, this
filter tells the dispatcher filter not to clean up
Hello Dave.
Yes. That helps! Now the JSP always get good data..
But what does that mean?
How can I find out what's going on?
Do I have to keep the filter mapped?
Dave Newton wrote:
One thing I've done when weird things are happening
for no apparent reason is include the context cleanup
filter
Hi Bill,
On 21/06/07, Bill Johnson <[EMAIL PROTECTED]> wrote:
Can anyone point me at an already available "shuttle"
component that I can use with my Struts 2 application?
Basically I need a component that has a list of
available values on the left and selected values on
the right. Users should
Can anyone point me at an already available "shuttle"
component that I can use with my Struts 2 application?
Basically I need a component that has a list of
available values on the left and selected values on
the right. Users should be able to move things back
and forth between the lists.
Here is
I am used to defining a base element in my pages but can't find the way
to define this with struts 2. All suggestions welcome.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
2007/6/21, Dave Newton <[EMAIL PROTECTED]>:
--- GEDA <[EMAIL PROTECTED]> wrote:
> Besides the one in the WEB-INF/lib ... I am not
> using any other plugin. And no, I don't have the JSF
> plugin because I am not using JSF in my project.
I guess I was more asking "what's in your WEB-INF/lib
as c
The problem is that, in Tiles, if an exception happens during
rendering a tile, the response will be *always* already committed.
There is no hope to work around, except of resolving the exception :-)
Antonio
2007/6/21, Bengali Bengali <[EMAIL PROTECTED]>:
Hi,
i know it's an issue which has been
Hi,
i know it's an issue which has been discussed many times but
I still haven't found an answer for my special case.
Actually, i am working on a project that uses jsf-ri 1.1 and struts tiles
1.1.
The tiles view handler has been declared in the faces-config.xml
and it works fine. Except that we
One thing I've done when weird things are happening
for no apparent reason is include the context cleanup
filter; you can always see if that helps; map it
before the struts dispatcher.
contextCleanup
org.apache.struts2.dispatcher.ActionContextCleanUp
d.
--- Roberto Nunnari <[EMAIL
--- GEDA <[EMAIL PROTECTED]> wrote:
> Besides the one in the WEB-INF/lib ... I am not
> using any other plugin. And no, I don't have the JSF
> plugin because I am not using JSF in my project.
I guess I was more asking "what's in your WEB-INF/lib
as compared to what your project is actually using"
Hi I am upgrading struts and have put the commons-digester in my common/lib.
Then my tomcat wont start:
Bootstrap: Create Catalina server
Catalina.start: java.lang.ClassNotFoundException:
org.apache.catalina.core.StandardServer
java.lang.ClassNotFoundException: org.apache.catalina.core.StandardS
Hello Jeromy.
Jeromy Evans wrote:
I'm using a filter for hibernate in web.xml.. should I instead
use a S2 interceptor?
I use an S2 interceptor as per the open-session in view pattern. Pass
the SessionFactory or EntityManagerFactory (in stand-alone mode) to your
interceptor through the Se
Hi Toni.
Thank you for your quick answer.
I'm using a filter based on that described on the hibernate site:
http://www.hibernate.org/43.html
As I'm already new to S2, Tiles and Hibernate, and I have never used
Spring, I tried to limit the new tecnologies in this project by lefting
out Spring...
I'm using a filter for hibernate in web.xml.. should I instead
use a S2 interceptor?
I use an S2 interceptor as per the open-session in view pattern. Pass
the SessionFactory or EntityManagerFactory (in stand-alone mode) to your
interceptor through the ServletContext.
-
What kind of filter are you using? Have you made one yourself or is it the
one from the Spring framework? If not, consider looking into Spring. Spring
includes an OSIV filter that seems to work for me at least. I'm also using
the Spring declarative transactions in my DAOs which makes writing datab
Hello.
I'd like to ask if anyone can share his experience in integrating
hibernate3 in S2.
I believe I should use the 'Open Session in View Pattern' but
as I'm getting wierd behaviour from my S2 application I wonder
if the way I'm integrating it is bad.
I'm using a filter for hibernate in web.x
I have an Action class that implements ModelDriven.
My DummyForm object will be used to store the user's input (just a userName
attribute in this case).
ValidateDummy ActionClass:
public class ValidateDummy implements ModelDriven{
private DummyForm form;
public String execute(){
Hello list.
Going on with investigation on this strange misbehaviour, I found
out that when the JSP page gets good data, in the value stack
I see:
key: com.opensymphony.xwork2.dispatcher.HttpServletRequest
value: [EMAIL PROTECTED]
while when I get no data I see:
key: com.opensymphony.xwork2.
Besides the one in the WEB-INF/lib ... I am not using any other plugin. And
no, I don't have the JSF plugin because I am not using JSF in my project.
Here are xmls:
http://www.springframework.org/schema/beans";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xmlns:aop="http://www.sprin
49 matches
Mail list logo