Making labelposition="left" default

2009-03-29 Thread Ignacio de Córdoba
Hi there, I asked this some time ago but after doing, again, some search here and googling I still need find a way to make my forms s:textfield have a default labelposition="left" attribute. I am using css_html theme... I have done a find/replace to make all my s:textfield have that property in

Re: Making labelposition="left" default

2009-03-29 Thread Musachy Barroso
you can overwrite the ftl templates, that's about it (unless you pull some css trick) musachy 2009/3/29 Ignacio de Córdoba : > > Hi there, > I asked this some time ago but after doing, again, some search here and > googling I still need find a way  to make my forms s:textfield have a > default la

Temporary user activity information storage problem....

2009-03-29 Thread sudhi123
Hello, We are building a struts based web application bit like a shopping cart. Right now the application is in its initial stages so it has to support few users hence we are storing user information in http session. But eventually application has to be scalable to support thousands of online

RE: Temporary user activity information storage problem....

2009-03-29 Thread Martin Gainty
http://struts.apache.org/2.1.6/docs/parameter-filter-interceptor.html Struts ParameterFilterInterceptor governs access for parameters to the configured Action as far as Temporary Tables ..when the DB session is quiesced Temporary Tables will be discarded.. (at least for the majority of Database

Re: How to make Struts2 action take only POST request

2009-03-29 Thread Paweł Wielgus
Hi all, You can also try to do it in interceptor, i have written a little post about how to intercept all Your actions here: http://poulwiel.blogspot.com/2009/01/intercepting-all-actions-inside-my-app.html then in interceptor You can allow only POST rquests to be served. Best greetings, Pawel W

Re: Temporary user activity information storage problem....

2009-03-29 Thread sudhi123
Thanks for the reply. But i still have a problem. We thought using EJB Containers and temporary database sessions is one traditional approach we have at the moment. But there is other part to it with latest technology being terracotta? or any views on using it ? thanks again ... sudhi123 wrot

Re: REST Plugin only for some actions

2009-03-29 Thread Dave Newton
Radoslav Krivak wrote: REST plugin is great idea, but sadly it seems to me that in current state it is more of a proof of concept than solution that you can use in real applications. Drat, guess I'll have to do some undeploys. Dave

Re: Struts 2 - Dynamic form: submitting issues

2009-03-29 Thread Dave Newton
Timmos wrote: Hi, I figured out how to generate a form with dynamic length. The submitting part remains a bit tricky, but before you redirect me to OGNL / Type Conversion pages, I have to say I already read those articles. This is a part of my generated .jsp (the generate part - I won't include

DWR and S2 setup problem

2009-03-29 Thread Andy
I am trying to incorporate DWR into my Spring/Struts2 application, but receive a 404 when accessing http://localhost:8080/myapp/dwr. It seems the DWR servlet is not being reached. Any ideas? Thanks Here is the error: There is no Action mapped for action name dwr/. - [unknown location] Her

Re: DWR and S2 setup problem

2009-03-29 Thread Cody Burleson
I haven't tried to work with DWR yet, but I thought I might pass this possibility your way. Have you tried using the DWR plugin for Struts 2 yet? Maybe you will have better luck in that direction rather than the approach you are taking. Just an idea to try. Here is the URL: http://struts.apache.or

Re: Issue with the Browser Cache

2009-03-29 Thread Steven Yang
Hii think you did everything that i did. not sure where is wrong but when you get from the first page to the second, did you use GET or POST? if you use GET please see if your server gets hit again when you press back. if you use POST i believe you should see the page expired thing

Re: Error - 2.1.6 - index()

2009-03-29 Thread strangerinu
Would you please tell me how did you fix this error. Even i too get this error, it never considers my method parameter in struts. it tries to call the index()? Kindly help jbogo wrote: > > I don't use rest plugin. > In fact, i haven't used the plugin codebehind. > Now, it's working fine. > Ta