Re: getting Session from one to another namespace - possible?

2008-07-10 Thread Michael Obster
Hi, thanks for the hint, but I used namespace="/secure" already. Only typed it wrong into the mail. Also compared namespace names between struts.xml and my nav.jsp. Thats also correct, so I looked if the user (a variable in the session) is null. But the user is not null. So it looks like there

fileUpload vs custom servlet

2008-07-10 Thread webdev2
I upgraded my app to Struts2, which provides file uploading. Now my custom servlet for uploading an attachment no longer receives the request. Is there a configurable option for restoring the old functionality of having the custom servlet upload the attachment? Thanks. FYI - 1) Initially an

validation.xml and struts-config.xml error

2008-07-10 Thread semaj2008
Hi, I am getting following errors in validation.xml and struts-config.xml at line 1 in Eclipse. Referenced file contains errors (http://jakarta.apache.org/commons/dtds/validator_1_3_0.dtd). For more information, right click on the message and select "Show Details..." Referenced file contains e

Re: REST plugin URL syntax

2008-07-10 Thread Wes Wannemacher
http://struts.apache.org/2.x/docs/building-the-framework-from-source.html The instructions are pretty straight-forward. If you've never used maven before, it's a bit tricky at first, but once you run through it a few times, it's pretty easy. If you're building from trunk, then you might want t

[S1] Options from database for a view use case. Recommended way?

2008-07-10 Thread Eduardo Pérez Ureta
I have a list of items in DB: ITEMS contain rows ID and NAME I would like to know what is the recommended way to have a form that lets the user select an option from the database list of items and when the uses clicks the preview action the selected item is shown prior to the last action of confir

Re: getting Session from one to another namespace - possible?

2008-07-10 Thread Randy Burgess
Is the namespace the same as what is defined in your struts.xml? Have you tried namespace="/secure" for instance? Regards, Randy Burgess Sr. Software Architect D5 Systems, LLC > From: Michael Obster <[EMAIL PROTECTED]> > Reply-To: Struts Users Mailing List > Date: Thu, 10 Jul 2008 19:52:53 +020

Re: Integration Of Struts 2 and Acegi

2008-07-10 Thread Owen Berry
Note that Acegi has become Spring Security: http://static.springframework.org/spring-security/site/index.html On Thu, Jul 10, 2008 at 3:43 PM, nani2ratna <[EMAIL PROTECTED]> wrote: > > Hi, > > can anybody tell me how to configure struts 2.0 and acegi, > I searched, but i got something in the java

Re: [S2]Integration Of Struts 2 and Acegi

2008-07-10 Thread nani2ratna
Hi, Thanks for immediate reply. Please send me the example, my mail id is [EMAIL PROTECTED] Which is the best one for authentication and authorization for struts 2, spring, hibernate. Please suggest me. Thanks and Regards Ratna Sekhar Miguel-55 wrote: > > The configuration is trivial if you

Re: [S2]Integration Of Struts 2 and Acegi

2008-07-10 Thread Miguel
The configuration is trivial if you only want to use the url interceptor, using struts, o servlets or anything, and spring security 2.x. If you need to use the acl's to restrict the callable method in the struts action objects, theoretically it could be done, but i haven't tried that. I can send yo

Integration Of Struts 2 and Acegi

2008-07-10 Thread nani2ratna
Hi, can anybody tell me how to configure struts 2.0 and acegi, I searched, but i got something in the javaworld for spring, struts 2 and acegi. Cant i implement with struts 2.1 If any body there who has already implemented this one. If you dont mind please dont give any other links, because i sea

Re: Struts1 and Struts2 mailing lists separation ?

2008-07-10 Thread Laurie Harper
You can always use Nabble: http://www.nabble.com/Struts---User-f206.html L. Gabriel Belingueres wrote: I personally would like to interact using a web based forum where you can post with formatted java and xml code and even with emoticons instead of this email based mailing list, but this woul

[S1] div update and struts

2008-07-10 Thread Lalchandra Rampersaud
hi i am using an iframe to update my page. i noticed that the url does not change and my buttons have problems accessing javascript functions that are supposed to be loaded along with the new data. the new data is shown and i used firebug to check that my scripts are loaded. however if i put

Re: looking for suggestion regarding interceptor

2008-07-10 Thread Chris Pratt
Oh, I see. Since we have a need to cache much of our data between requests (rather than fetching the data from the back end systems on every action request), we have more code that would have to be copied to each execute method (using your scheme). So in our case it relieves a lot of headaches to

Re: Struts-Tiles - Missing Content

2008-07-10 Thread Ryan Henson
SUCCESS! I figured out what was going wrong with my code. Whew, what a tangled mess. I have a CustomRequestProcessor that initializes variables for users coming to the site and it was mucking up because part of my query includes values that come from that initialization. I had thought I had

Re: REST plugin doesn't return JSON serialization anymore...

2008-07-10 Thread Dave Newton
It's an S2 REST plugin issue... --- On Thu, 7/10/08, John Moose <[EMAIL PROTECTED]> wrote: > no problem, is this a Struts 2 issue or Struts sandbox > issue?? > > On Thu, Jul 10, 2008 at 2:15 PM, Musachy Barroso > <[EMAIL PROTECTED]> wrote: > > > Could you open a jira ticket with the details? > >

Re: REST plugin doesn't return JSON serialization anymore...

2008-07-10 Thread Musachy Barroso
Struts 2 musachy On Thu, Jul 10, 2008 at 2:26 PM, John Moose <[EMAIL PROTECTED]> wrote: > no problem, is this a Struts 2 issue or Struts sandbox issue?? > > On Thu, Jul 10, 2008 at 2:15 PM, Musachy Barroso <[EMAIL PROTECTED]> wrote: > >> Could you open a jira ticket with the details? >> >> musach

Re: Action form bean values in javascript

2008-07-10 Thread Dave Newton
If you're doing validation in JavaScript anyway, why wouldn't you use a JavaScript-based date validation method and avoid the heinous mixing of Java and JavaScript?! Dave --- On Thu, 7/10/08, vimala <[EMAIL PROTECTED]> wrote: > I am using struts for web application development. I have a > class

Re: looking for suggestion regarding interceptor

2008-07-10 Thread Gabriel Belingueres
Spring only inject the service. The data returned by the service is holded into an instance variable of the action (or I could just store the data in session or application scope). Spring dependencies are wired this way: Service <--- Cache <--- DAO Ex: class MyAction extends ActionSupport {

Re: REST plugin doesn't return JSON serialization anymore...

2008-07-10 Thread John Moose
no problem, is this a Struts 2 issue or Struts sandbox issue?? On Thu, Jul 10, 2008 at 2:15 PM, Musachy Barroso <[EMAIL PROTECTED]> wrote: > Could you open a jira ticket with the details? > > musachy > > On Thu, Jul 10, 2008 at 2:03 PM, John Moose <[EMAIL PROTECTED]> wrote: > > building with Stru

Action form bean values in javascript

2008-07-10 Thread vimala
Hai all, I am using struts for web application development. I have a class clsDateTools within which I define a function public boolean isDate(String dateToCheck) for validating date values. Here is my jsp page <%@ page import="visg.usrBeans.clsDateTools" %> <% clsDateTools datetool = new

Re: REST plugin doesn't return JSON serialization anymore...

2008-07-10 Thread Musachy Barroso
Could you open a jira ticket with the details? musachy On Thu, Jul 10, 2008 at 2:03 PM, John Moose <[EMAIL PROTECTED]> wrote: > building with Struts-2.1.3-SNAPSHOT and xworks-2.1.2-SNAPSHOT > > the XML extenson and XHTML extension seem to work OK both in the showcase > and my app, but the .json

Re: looking for suggestion regarding interceptor

2008-07-10 Thread Chris Pratt
I guess I'm confused. If Spring is injecting the data, why do you need it to also inject the Service? (*Chris*) On Thu, Jul 10, 2008 at 10:41 AM, Gabriel Belingueres <[EMAIL PROTECTED]> wrote: > IMHO both approaches are similar, as the intention is to inject the > required data when you need it

REST plugin doesn't return JSON serialization anymore...

2008-07-10 Thread John Moose
building with Struts-2.1.3-SNAPSHOT and xworks-2.1.2-SNAPSHOT the XML extenson and XHTML extension seem to work OK both in the showcase and my app, but the .json extension seems to be triggering a File Download action...even in the showcase??? fwiw, JSON serialized data is a key feature of our n

Re: Struts-Tiles - Missing Content

2008-07-10 Thread Ryan Henson
I put in the text as you suggested and it did indeed show the text from the body. So now the issue has moved to being that the data variable is not being found. Alright, that helped me find some more issues but we're not quite there yet. The results from the body come back with ONLY "Hello fr

getting Session from one to another namespace - possible?

2008-07-10 Thread Michael Obster
Hi, I've a problem with holding the session between two namespaces. I defined 3 namespaces: - /: The unsecure namespace - /secure: The secure namespace -> user has to be logged in - /usermanager: The special secure namespace -> user has to have permission to get there The LoginAction forwards

Re: [OT] RE: RE: RE: RE: Re: [S2] Struts configuration vizualization

2008-07-10 Thread Dave Newton
You could always try modifying the manifest file and re-packaging; if that's the only version issue you're having it's unlikely that a ..n version issue would cause an issue. It could, though. Dave --- On Thu, 7/10/08, Milan Milanovic <[EMAIL PROTECTED]> wrote: > From: Milan Milanovic <[EMAIL

Re: looking for suggestion regarding interceptor

2008-07-10 Thread Gabriel Belingueres
IMHO both approaches are similar, as the intention is to inject the required data when you need it. The difference is that you created both an interface and an interceptor to perform the injection, while I relied on Spring to do this work. As a general rule I think on writing custom interceptors o

Re: [OT] RE: RE: RE: RE: Re: [S2] Struts configuration vizualization

2008-07-10 Thread Milan Milanovic
Dear Dave, newton.dave wrote: > > --- On Thu, 7/10/08, Milan Milanovic <[EMAIL PROTECTED]> wrote: >> Oh, it uses commons-logging-1.0.3.jar but I'm using >> commons-logging-1.0.4.jar in my applications lib directory. >> So, I need to delete 1.0.4 and copy 1.0.3 in my lib ? > > Wouldn't it have

Re: This is odd, sometimes my requests 'miss' the Struts2 filter

2008-07-10 Thread Alberto A. Flores
You are correct, the default is REQUEST (if no dispatcher is specified). Also, depending on your needs, consider using Spring Security. I was finally able to add it to all my struts2 app without problems. J2EE authentication has it's own limitations as you will continue to learn and in these ki

Re: [OT] RE: RE: RE: RE: Re: [S2] Struts configuration vizualization

2008-07-10 Thread Dave Newton
--- On Thu, 7/10/08, Milan Milanovic <[EMAIL PROTECTED]> wrote: > Oh, it uses commons-logging-1.0.3.jar but I'm using > commons-logging-1.0.4.jar in my applications lib directory. > So, I need to delete 1.0.4 and copy 1.0.3 in my lib ? Wouldn't it have been quicker to try it? If it can't find a

Re: [OT] RE: RE: RE: RE: Re: [S2] Struts configuration vizualization

2008-07-10 Thread Milan Milanovic
Dear Dave, newton.dave wrote: > > --- On Thu, 7/10/08, Milan Milanovic <[EMAIL PROTECTED]> wrote: >> I noticed this, but my Sitegraph plugin in the same >> directory as the dependent jars so I don't need to >> put them into classpath? > > Oh, it looks like the sitegraph plugin puts its requir

S@: action performed twice when using ajax

2008-07-10 Thread xianwinwin
Hi all, I have a table (displayTag) and a form. when the user check (checkbox) some of the items in the table and clicks submit the action is performed BUT after it is finished it performs again... my question is why and how can I avoid that? Thank You! -- View this message in context: http:/

Re: looking for suggestion regarding interceptor

2008-07-10 Thread Chris Pratt
But then your Service Bean/DAO has to be injected into every Action that might need to load it and the code to check for the Data Object and load it, then store it to the context has to be Cut-n-Pasted between each of those Actions. Way too many chances for Cut-n-Paste errors or incomplete fixes f

Re: Using xdoclet with ValidatorActionForm

2008-07-10 Thread Dimitris Mouchritsas
Dimitris Mouchritsas wrote: Hi all, I've got a multipage form bean to complete a registration in 3 steps. Validator is not working correctly. Some fields in the first page are validated, some are not. In the 3rd page none of the fields are validated. Now from what I understand I need to extend

Re: [OT] RE: RE: RE: RE: Re: [S2] Struts configuration vizualization

2008-07-10 Thread Dave Newton
--- On Thu, 7/10/08, Milan Milanovic <[EMAIL PROTECTED]> wrote: > I noticed this, but my Sitegraph plugin in the same > directory as the dependent jars so I don't need to > put them into classpath? Oh, it looks like the sitegraph plugin puts its requirements in its manifest file, so never mind a

Browser compatability issue - in Struts2.0

2008-07-10 Thread AjaySrini
Hi I have implemented ajax based parital page rendering in Struts 2.0. Currently i'm facing browser compatibility issue because of radio button events. While using onclick,it is working fine in IE but not in Firefox2.0 Similarly, when using onchange it is working vice-versa. Currently is there

Re: Struts2.0 + Ajax based Implementation

2008-07-10 Thread AjaySrini
Hi I have implemented ajax based parital page rendering in Struts 2.0. Currently i'm facing browser compatibility issue because of radio button events. While using onclick,it is working fine in IE but not in Firefox2.0 Similarly, when using onchange it is working vice-versa. Currently is there

Re: This is odd, sometimes my requests 'miss' the Struts2 filter

2008-07-10 Thread Lyallex
OK, I think I've twigged this now Every jsp page has this include recently I have included this in header.jsp (I'm messing around with Struts2 i18n) <%@ taglib prefix="s" uri= "/struts-tags" %> ... If I go back to this config in web.xml .. struts2 /* ... /welcome.jsp ... whe

Re: [OT] RE: RE: RE: RE: Re: [S2] Struts configuration vizualization

2008-07-10 Thread Milan Milanovic
Dear Dave, newton.dave wrote: > > So... you didn't use "x.x.x", and you didn't add "[-ns NAMESPACE]", which > are obviously placeholders. So is the "...". It should be replaced with > (a) nothing, removing the -cp, and rely on the CLASSPATH environment > variable, (b) use -cp and use the CLASSP

Re: Struts-Tiles - Missing Content

2008-07-10 Thread Antonio Petrelli
2008/7/10 Ryan Henson <[EMAIL PROTECTED]>: > I posted the resulting HTML code at the bottom of that last email. Whoops! Sorry I did not see it. > It would appear from my side that the is > not executing properly as does actually > produce the correct text. Now I see it, that's strange. I se

Re: Struts-Tiles - Missing Content

2008-07-10 Thread Ryan Henson
I posted the resulting HTML code at the bottom of that last email. It would appear from my side that the is not executing properly as does actually produce the correct text. My question is focused on why does HttpURLConnection not seem to work correctly with tiles:insert? - Original

Re: [OT] RE: RE: RE: RE: Re: [S2] Struts configuration vizualization

2008-07-10 Thread Dave Newton
--- On Thu, 7/10/08, Milan Milanovic <[EMAIL PROTECTED]> wrote: > this is how it is given at SiteGraph page: > > java -cp ... -jar struts2-sitegraph-plugin-x.x.x.jar > -config CONFIG_DIR > -views VIEWS_DIRS > -output OUTPUT > [-ns NAMESPACE] So... you didn't use "x.x.x", and y

Re: RE: RE: RE: Re: [S2] Struts configuration vizualization

2008-07-10 Thread Milan Milanovic
Dear Lukasz, Yes, Environment variable CLASSPATH, I wrote above what is content of the variable. java -cp is for setting classpath and it is given at Sitegraph page. I tried just with "java -jar struts2-sitegraph-plugin-2.0.11.1.jar -config ../src/java...", but it is the same. -- Milan Lukas

Re: [OT] RE: RE: RE: RE: Re: [S2] Struts configuration vizualization

2008-07-10 Thread Milan Milanovic
Dear Dave, this is how it is given at SiteGraph page: java -cp ... -jar struts2-sitegraph-plugin-x.x.x.jar -config CONFIG_DIR -views VIEWS_DIRS -output OUTPUT [-ns NAMESPACE] -- Milan newton.dave wrote: > > --- On Thu, 7/10/08, Milan Milanovic <[EMAIL PROTECTED]> wrote: >

Re: RE: RE: RE: Re: [S2] Struts configuration vizualization

2008-07-10 Thread Milan Milanovic
When I write echo %CLASSPATH% in my command prompt I get this: and I get this exception: Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/lo gging/LogFactory at org.apache.struts2.sitegraph.SiteGraph.(SiteGraph.java:51) When I write echo %CLASSPATH% in my co

[OT] RE: RE: RE: RE: Re: [S2] Struts configuration vizualization

2008-07-10 Thread Dave Newton
--- On Thu, 7/10/08, Milan Milanovic <[EMAIL PROTECTED]> wrote: > I put this in my classpath: > > C:\eclipse\workspace\myProject\WebContent\WEB-INF\lib\commons-logging-1.0.4.jar; > > and I run sitegraph from my lib folder: > > C:\eclipse\workspace\myProject\WebContent\WEB-INF\lib>java > -cp ...

Re: Struts-Tiles - Missing Content

2008-07-10 Thread Antonio Petrelli
2008/7/10 Ryan Henson <[EMAIL PROTECTED]>: > I will note that calling this definition works correctly when I just view it > using a browser. So I doubt it is a problem of Tiles. Can you see if the HTML is ok just before you use it with iText? Antonio

Re: RE: RE: RE: Re: [S2] Struts configuration vizualization

2008-07-10 Thread Gabriel Belingueres
You didn't unclude the most important part of all your command line: "java -cp " Obviously you failed to add the commons logging jar file to the classpath. Try: java -cp path/to/the/following/file/commons-logging-1.0.4.jar;... .. 2008/7/10 Milan Milanovic <[EMAIL PROTECTED]>: > > Dear D

Re: RE: RE: RE: Re: [S2] Struts configuration vizualization

2008-07-10 Thread Lukasz Lenart
> I put this in my classpath: > > C:\eclipse\workspace\myProject\WebContent\WEB-INF\lib\commons-logging-1.0.4.jar; > > and I run sitegraph from my lib folder: > > C:\eclipse\workspace\myProject\WebContent\WEB-INF\lib>java -cp ... -jar stru > ts2-sitegraph-plugin-2.0.11.1.jar -config ../src/java -vi

Re: problem with checkbox (when using disabled property)

2008-07-10 Thread Owen Berry
I would have thought would handle all of that for you, but I guess it may not be working, or doesn't aim to. 2008/7/10 Paweł Wielgus <[EMAIL PROTECTED]>: > Hi all, > just yesterday i had the very same problem in rails with date field, > so i searched for disabled definition and found this: > http

Re: Struts-Tiles - Missing Content

2008-07-10 Thread Ryan Henson
Sure, I'll post the important excepts from my tiles-def.xml and attach it as well since its kind of large. I will note that calling this definition works correctly when I just view it using a browser. I am reconstructing the exact same call to my function using HttpURLConnection and have verif

RE: RE: RE: RE: Re: [S2] Struts configuration vizualization

2008-07-10 Thread Milan Milanovic
Dear Dave, I put this in my classpath: C:\eclipse\workspace\myProject\WebContent\WEB-INF\lib\commons-logging-1.0.4.jar; and I run sitegraph from my lib folder: C:\eclipse\workspace\myProject\WebContent\WEB-INF\lib>java -cp ... -jar stru ts2-sitegraph-plugin-2.0.11.1.jar -config ../src/java -vi

Re: This is odd, sometimes my requests 'miss' the Struts2 filter

2008-07-10 Thread Lyallex
On Thu, Jul 10, 2008 at 1:59 PM, Alberto A. Flores <[EMAIL PROTECTED]> wrote: > As far as I know, the servlet spec 2.3 didn't comment much on what to do on > forwards (whether to make forwarded resources pass through the filters as > well or not). Tomcat 4.x assumed you didn't have to, whereas othe

Re: This is odd, sometimes my requests 'miss' the Struts2 filter

2008-07-10 Thread Lyallex
On Thu, Jul 10, 2008 at 1:13 PM, Jeoffrey Bakker <[EMAIL PROTECTED]> wrote: > Hi, > > Are you sure that the behaviour was really odd? I can't think of a better word to describe it frankly I have the following link View my account This is a protected resource and requires a login If you don't ge

Re: This is odd, sometimes my requests 'miss' the Struts2 filter

2008-07-10 Thread Alberto A. Flores
As far as I know, the servlet spec 2.3 didn't comment much on what to do on forwards (whether to make forwarded resources pass through the filters as well or not). Tomcat 4.x assumed you didn't have to, whereas other containers (e.g. weblogic 8) passed them through. This was fix in servlet spec

Re: [S2] Recipe for Action and View

2008-07-10 Thread Lukasz Lenart
Hi, Check PrepareInterceptor [1] with prepare() method [1] http://struts.apache.org/2.1.2/docs/prepare-interceptor.html Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional co

Re: This is odd, sometimes my requests 'miss' the Struts2 filter

2008-07-10 Thread Lukasz Lenart
> > struts2 > /* > REQUEST > FORWARD > > > It does appear to solve the problem I was just wondering why ? Because it's up to a servlet container how it will forward to /* (request, forward, redirect ;-), the same is with index.action is working or not. Regards -- Lukasz http://www.lenart.

Re: Customizing CSS

2008-07-10 Thread Lukasz Lenart
Iterator Tag [1], second and third example [1] http://struts.apache.org/2.0.11.2/docs/iterator.html Regards -- Lukasz http://www.lenart.org.pl/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAI

[S2] Recipe for Action and View

2008-07-10 Thread Andreas Mähler
Hello everyone, this is my first S2 project - i am a newbie (although i have a tiny little experience with S1...). :-) I am storing my view (JSP) files in /WEB-INF/jsp/... so they cannot be accessed directly to prevent links from external pages that contain fake parameters. Therefore all request

Re: This is odd, sometimes my requests 'miss' the Struts2 filter

2008-07-10 Thread Jeoffrey Bakker
Hi, Are you sure that the behaviour was really odd? So, you didn't have different entry points to show login page. E.g. directly requesting the login page or being forwarded by an other url. Regards, Jeoffrey 2008/7/10 Lyallex <[EMAIL PROTECTED]>: > Hello > > Tomcat version 5.5.26 > Struts2 v

Re: REST plugin URL syntax

2008-07-10 Thread Dave Newton
--- On Thu, 7/10/08, Mike Watson <[EMAIL PROTECTED]> wrote: > So what's the best way to get the latest 2.1.3 snapshot as source? Via SVN. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Customizing CSS

2008-07-10 Thread Jim Kiley
Actually you don't even have to use the modulus operator there -- you can access #stat.even or #stat.odd directly. jk On Thu, Jul 10, 2008 at 5:56 AM, ManiKanta G <[EMAIL PROTECTED]> wrote: > In which theme u want to implement? > If it is in S2, u can use DisplayTag (displaytag.sourceforge.net),

Re: Struts2.0 + Ajax based Implementation

2008-07-10 Thread Dave Newton
--- On Thu, 7/10/08, AjaySrini <[EMAIL PROTECTED]> wrote: > I'm using Struts2.0 in our application.I have written > the code in such a way it supports Ajax(). > I'm successfully implemented the login screen using > ajax.After user successfully logs in, the user views four > Radio buttons written i

Re: Handling Exceptions in Action constructors

2008-07-10 Thread Jim Kiley
The thing to remember here is that unlike the constructor, prepare() won't run on its own outside of a Struts context. So if you are writing unit tests of your various execute() type methods, be aware that you will need to run prepare() manually within the unit tests (or as part of setUp() or what

Re: a wish: inclusion of tiles-2.0.6

2008-07-10 Thread Antonio Petrelli
2008/7/10 Radoslav Nedyalkov <[EMAIL PROTECTED]>: > I'm so excited finally getting a consistent error page without a bunch > of workarounds and patches, so > here is the recipe for the struts/tiles/freemarker combination: > I think you'd better open a JIRA issue for this. About Tiles 2.0.6 the

a wish: inclusion of tiles-2.0.6

2008-07-10 Thread Radoslav Nedyalkov
Hello, I'm so excited finally getting a consistent error page without a bunch of workarounds and patches, so here is the recipe for the struts/tiles/freemarker combination: prerequisites: 1. struts-2.1.x - put template_exception_handler=rethrow in freemarker.properties to catch for the writeIfCo

This is odd, sometimes my requests 'miss' the Struts2 filter

2008-07-10 Thread Lyallex
Hello Tomcat version 5.5.26 Struts2 version 2.0.11.1 I'm trying to understand why, given the following in web.xml requests sometimes 'miss out' the Struts2 filter struts2 org.apache.struts2.dispatcher.FilterDispatcher struts2 /* It appears to really only be an issue with web.xml

Re: Customizing CSS

2008-07-10 Thread ManiKanta G
In which theme u want to implement? If it is in S2, u can use DisplayTag (displaytag.sourceforge.net), which will look almost all needs of tabular reports or form (including paging, sorting). If you want to implement using tag, then use rowStatus of the iterator and using the modulo (%) div

RE: Customizing CSS

2008-07-10 Thread Kundan.Kumar
Use .cust tr.odd {background-color:#ff;} .cust tr.even {background-color:#DD;} or Find in google -Original Message- From: Narayana S [mailto:[EMAIL PROTECTED] Sent: Thursday, July 10, 2008 3:18 PM To: Struts Users Mailing List Subject: Customizing CSS Hi, as

Customizing CSS

2008-07-10 Thread Narayana S
Hi, as per my requirement, i have to apply two different colors to alternate rows.can any one guide me how to extend theme to implement this?

Re: REST plugin URL syntax

2008-07-10 Thread Mike Watson
So what's the best way to get the latest 2.1.3 snapshot as source? Only the jars seem to be in the maven snapshot repo... Are there any instructions on doing that somewhere? I've looked but can't find them... 2008/7/3 Jeromy Evans <[EMAIL PROTECTED]>: > Mike Watson wrote: >> >> Hi Jeromy, >> >> I

Struts2.0 + Ajax based Implementation

2008-07-10 Thread AjaySrini
Hi all, I'm using Struts2.0 in our application.I have written the code in such a way it supports Ajax(). I'm successfully implemented the login screen using ajax.After user successfully logs in, the user views four Radio buttons written in a struts 2 div tag.Based on the selection of the radio

Using xdoclet with ValidatorActionForm

2008-07-10 Thread Dimitris Mouchritsas
Hi all, I've got a multipage form bean to complete a registration in 3 steps. Validator is not working correctly. Some fields in the first page are validated, some are not. In the 3rd page none of the fields are validated. Now from what I understand I need to extend ValidatorActionForm instead

Re: Handling Exceptions in Action constructors

2008-07-10 Thread Lyallex
Sheesh, that works like a dream, thanks ... Can't think how I missed that bit in the book. Preparable, marvelous. lyallex On Wed, Jul 9, 2008 at 5:04 PM, Jim Kiley <[EMAIL PROTECTED]> wrote: > I think in this situation I would have SomeAction implement Preparable, and > put someComponent's init

Re: problem with checkbox (when using disabled property)

2008-07-10 Thread Paweł Wielgus
Hi all, just yesterday i had the very same problem in rails with date field, so i searched for disabled definition and found this: http://www.w3.org/TR/html401/interact/forms.html#successful-controls and http://www.w3.org/TR/html401/interact/forms.html#h-17.12 It looks like disabled flag will simpl