Re: reset the value of a datetimepicker using java script

2007-05-03 Thread kris16
Hi, it works fine. Thanks :-) /Regards Krister Musachy Barroso wrote: dojo.widget.byId(dp0).inputNode.value = ; Use at your own risk, you are using Dojo internals there :) musachy On 5/2/07, kris16 [EMAIL PROTECTED] wrote: Hi Musachy, yes that works thanks. But i do not want to

displaying sesion values

2007-05-03 Thread jalal udeen
Hi Sir, Im a beginner in Struts i have to display the session value in jsp how can i display that using a struts tag. i have set session values in action as session.setAttribute(candidatename,jalal); i have to display this how can i do this pls give me the tips for this,

[S2] s:form tag problems

2007-05-03 Thread Roger Varley
I'm sorry to keep harping on about this but some of the attributes of the s:form tag used in a .jsp do not render in the output HTML. Examples are s:form id=form method=post action=EditOrderUsingSession disable=true s:form id=form method=post action=EditOrderUsingSession onclick=alert('Form')

Flash scope in Struts 2?

2007-05-03 Thread mraible
Does Struts 2 have support for a flash scope - where messages can be easily stuffed into this scope so they live through a redirect? Thanks, Matt -- View this message in context: http://www.nabble.com/Flash-scope-in-Struts-2--tf3685114.html#a10300567 Sent from the Struts - User mailing list

Tag library question

2007-05-03 Thread vikas rao
Hi guys, I have a question regarding the tag libraries which i need to place in the WEB-INF/tlds folder...Where do i get this .tld file? I tried to unzip the struts-taglib-1.3.8 file and searched for the .tld file but i couldnt find it. Also, if i include : %@ taglib prefix=html

CRUD with checkboxs

2007-05-03 Thread David Harland
Hi, What is the recommended approach to having a list of employees as with the CRUD examples but with each having a checkbox so that when the whole form is posted you can update each of the employees that have been selected... Thanks Dave.

Re: Tag library question

2007-05-03 Thread Nuwan Chandrasoma
Hi, If you using a servlet 2.5 or later container no need to have them, they are included with the struts jars, just add the taglib def in your jsp files. Thanks, Nuwan - Original Message - From: vikas rao [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org

[S2] Tree lazy loading

2007-05-03 Thread Petit Pas De Lune
Hello. Is it possible (and how) to have lazy loading with s:tree tag? Just want to load subtree when user expand a node. Thanks. PPDL

Re: Tag library question

2007-05-03 Thread vikas rao
Servlet 2.5 container? i am using tomcat version 6 as the server, and i'm thinking thats what you are implying?? In this case, i'd just need to include: %@ taglib prefix=html uri=http://struts.apache.org/tags -html % in my jsp file and have nothnig in my tlds folder?? On 5/3/07, Nuwan

Re: Tag library question

2007-05-03 Thread Nuwan Chandrasoma
ops.. sorry my mistake it should be servlet 2.4 or later container, yes.. having that in your jsp is enough, if you are using struts 1.x Thanks, Nuwan - Original Message - From: vikas rao [EMAIL PROTECTED] To: Struts Users Mailing List user@struts.apache.org Sent: Thursday, May 03,

Re: displaying sesion values

2007-05-03 Thread Nuwan Chandrasoma
http://struts.apache.org/1.2.9/userGuide/struts-bean.html#write - Original Message - From: jalal udeen [EMAIL PROTECTED] To: user@struts.apache.org Sent: Thursday, May 03, 2007 7:30 AM Subject: displaying sesion values Hi Sir, Im a beginner in Struts i have to

ValidatorException: No ValidatorAction named required found for field fieldname

2007-05-03 Thread Sandra Reichert
Hi, Our web application offers two ways for data input. The first way is an html from. Here the user can enter record by record. Validation works fine. The second way is to import data from a .cvs file. I want to use the same validation.xml file for the validation of these data. But this

Re: Struts 2.0.6 with Tomcat 6.0

2007-05-03 Thread Zoran Avtarovski
None at all. We're using it and haven't run into any problems. Z. I am considering the use of Tomcat 6.0 which implements Servlet 2.5 and JSP 2.1. Should I expect any issues using it with Struts 2.0.6? Regards, Rohit -

TabbedPannel: So many problems.

2007-05-03 Thread Felipe Rodrigues
Hi Guys, I'm really trying to use TabbedPannel, but it seems to have lots of problems when you try to use in a real world WebApp. For example, I have a TabbedPannel with 6 tabs. Each one is a remote one. The problem here is, when the user change the tab, I need to update a session attribute.

Re: [S2] Tree lazy loading

2007-05-03 Thread Musachy Barroso
Did you take a look at showcase? I think there is an example there. musachy On 5/3/07, Petit Pas De Lune [EMAIL PROTECTED] wrote: Hello. Is it possible (and how) to have lazy loading with s:tree tag? Just want to load subtree when user expand a node. Thanks. PPDL -- Hey you! Would

Re: Struts 2.0.6 with Tomcat 6.0

2007-05-03 Thread Musachy Barroso
I'm using it also. No problems so far. musachy On 5/3/07, Zoran Avtarovski [EMAIL PROTECTED] wrote: None at all. We're using it and haven't run into any problems. Z. I am considering the use of Tomcat 6.0 which implements Servlet 2.5 and JSP 2.1. Should I expect any issues using it with

Re: [S2] Tree lazy loading

2007-05-03 Thread Petit Pas De Lune
On 5/3/07, Musachy Barroso [EMAIL PROTECTED] wrote: Did you take a look at showcase? I think there is an example there. musachy Yes I did. But in the dynamic tree example, tree is loaded as a whole thing. I'm trying to implement a dynamic tree where only the subtree first level is loaded

Good JScript lib for disabling browser toolbars and good integration with Struts?

2007-05-03 Thread Peter Neu
Hello, does somebody know a good Java Script library which disables browser tool- navigations bars and right mouse clicks for browser windows? I need a browser window for my app stripped of all basic browser components. Best way would be if Struts could already load the java script before the

Re: TabbedPannel: So many problems.

2007-05-03 Thread Musachy Barroso
The first tab is the default one, but you can change that using the selectedTab in the tabbedPanel tag. Dynamic tabs load their content automatically, this was mentioned on another thread and was fixed in WW-1860, adding a preload (defaults to true) attribute to the div tag. Bear in mind the ajax

Re: [S2] Tree lazy loading

2007-05-03 Thread Musachy Barroso
That dynamic. I don't think the tree supports that, although it wouldn't be hard to implement, using the collaped topics (heads up, the notification topics were broken in 2.0.6), and adding the nodes by hand, http://willcode4beer.com/ware.jsp?set=dojoRpcTree musachy On 5/3/07, Petit Pas De

CSS styles for Table Tags

2007-05-03 Thread Olivier THIERRY
Hi, I use the Table Tags plugin, but I can't find a way to apply CSS classes to table or thead tags generated by the plugin since there is no cssClass or similar attribute. Does anyone have an idea about this ? Olivier

Displaying bean from action class

2007-05-03 Thread adambomb
Hi, I have a jsp page which displays more than one drop down lists and is being populated from the database. Now when I click on a submit button after selecting the values from two dropdowns. it should go and search in the table and retrieve a collection of rows of that table(based on the values

Re: Displaying bean from action class

2007-05-03 Thread Martin Gainty
Good Morning assuming you have the bean ID used for both iterate and bean logic:iterate ID=SOMEID bean:write name=SOMEID property=firstfield/ bean:write name=SOMEID property=secondfield/ /logic:iterate in your view assuming you have I would scope to session and not request action

[S1] Form validation woes...

2007-05-03 Thread Dave Newton
Hey, Working on an S1 app at the moment (shaddup, all a' ya'). Things are set up a bit weird compared to what I'm used to; in this case there's an action that uses an ActionForm that isn't declared in struts-config, and that ActionForm contains nested ActionForms. I need to do some validaton on

Re: TabbedPannel: So many problems.

2007-05-03 Thread Felipe Rodrigues
Sounds good. I'm using the workaround display: none and its working as expected. I'm learning lots of workaround looking at templates. Each time I got any issue, I report it, after ask here and get a proff it is really an issue. But I think we really need a doc telling about these little things

Re: [s2] Dreamweaver plugin for Struts 2?

2007-05-03 Thread robinbajaj
Hi Jason, When you say you have Dreamweaver plugin for Struts-1, are you talking about the one available here ?? http://www.fwasi.com/downloads/ I am just curious to know if there are any free Struts-1 plugins available for Dreamweaver 8 ? (or free is just too much to ask for from the outside

Re: TabbedPannel: So many problems.

2007-05-03 Thread Musachy Barroso
Sure, the wiki is open for contributions. musachy On 5/3/07, Felipe Rodrigues [EMAIL PROTECTED] wrote: Sounds good. I'm using the workaround display: none and its working as expected. I'm learning lots of workaround looking at templates. Each time I got any issue, I report it, after ask here

Re: [S1] Form validation woes... (SOLVED)

2007-05-03 Thread Dave Newton
Followup: Overriding getValidationKey(...) fixed it. --- Dave Newton [EMAIL PROTECTED] wrote: Hey, Working on an S1 app at the moment (shaddup, all a' ya'). Things are set up a bit weird compared to what I'm used to; in this case there's an action that uses an ActionForm that isn't

Re: How to avoid hard coding input result

2007-05-03 Thread stanlick
I was including the hidden fields in the base.jsp that all my tiles extend. The reason the result name=input type=tiles${#parameters.tile}/result was not being populated is because the hidden fields were NOT in the specific form that was being POST'ed. In order for this to work, developers

Re: Tiles 2 woes

2007-05-03 Thread stanlick
stack = (ValueStack) tilesContext.getRequestScope().get( ServletActionContext.STRUTS_VALUESTACK_KEY); works from within the Tiles controller! Now then, stack.getRoot() returns a CompoundRoot which appears to be a Collection. Is there a way to know which element the Action is in? It appears to

Re: Tiles 2 woes

2007-05-03 Thread Dave Newton
--- [EMAIL PROTECTED] wrote: stack = (ValueStack) tilesContext.getRequestScope().get( ServletActionContext.STRUTS_VALUESTACK_KEY); works from within the Tiles controller! Yeah, that's why I posted it :/ It appears to be in the zero element, but I'd like to be certain of this. AFAIK

Re: Tiles Controllers (preparer)

2007-05-03 Thread stanlick
I'm posting this so that the solution is included with the question! Thanks d. stack = (ValueStack) tilesContext.getRequestScope().get( ServletActionContext.STRUTS_VALUESTACK_KEY); theAction = getStack().getRoot().get(0); On 5/1/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: How can I place

[S2] mapping status 404 to a result page

2007-05-03 Thread Veronica Iturrioz
Hello, I want to create a global-result to map the servlet response 404 (page not found) to a result page (ie /error.jsp). Does somebody know how can i do? thanks in advance. __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best

Re: Displaying bean from action class

2007-05-03 Thread adambomb
GoodMorning and Thanks for the reply, Regarding the hibernate fields and struts form fields, there is no problem in there. And yes I have changed the scope from request to session. But Im not clear about the third suggestion you gave. My jsp is page code is something like this: html:form

Re: Displaying bean from action class

2007-05-03 Thread adambomb
Also Im a bit confused that what is this 'id' attribute for? in iterate tag. adambomb wrote: GoodMorning and Thanks for the reply, Regarding the hibernate fields and struts form fields, there is no problem in there. And yes I have changed the scope from request to session. But Im not

Re: Displaying bean from action class

2007-05-03 Thread Dave Newton
--- adambomb [EMAIL PROTECTED] wrote: Also Im a bit confused that what is this 'id' attribute for? in iterate tag. The name of a page scope JSP bean that will contain the current element of the collection on each iteration, if it is not null. It's so you can access the current element of

UTF-8 charset issue

2007-05-03 Thread piloupy GOTTAPIL
Hello, I have a website using : - Struts 1.3 - Hibernate 3.2 - Tomcat 5.5 - Java 1.5.0 - MySQL 4.1.22 All my site and my database are encoded in UTF-8. When I enter in a form the character e-accute, it becomes an 'A' with a tild, following by a (c) (copyright character). I've made several

Re: Displaying bean from action class

2007-05-03 Thread adambomb
Got it! . But my main problem is still intact . Can you plz help in that too. \ ../ Dave Newton-4 wrote: --- adambomb [EMAIL PROTECTED] wrote: Also Im a bit confused that what is this 'id' attribute for? in iterate tag. The name of a

Re: UTF-8 charset issue

2007-05-03 Thread piloupy GOTTAPIL
Hi, I've accidentally found a solution. I must put the directive on the top of my pages : %@ page contentType=text/html; charset=ISO-8859-15 % because I've put previously : %@ page contentType=text/html; charset=UTF-8 % The result of my little trace gives me : Default Charset : windows-1252

Re: Displaying bean from action class

2007-05-03 Thread Dave Newton
--- adambomb [EMAIL PROTECTED] wrote: But my main problem is still intact. The form bean is declared with session scope and it's not retaining the values across requests, and you are not setting the form values anywhere? d. __ Do You Yahoo!?

Re: Displaying bean from action class

2007-05-03 Thread adambomb
Yep, Thats exactly my problem. I havent set the form values anywhere. Dave Newton-4 wrote: --- adambomb [EMAIL PROTECTED] wrote: But my main problem is still intact. The form bean is declared with session scope and it's not retaining the values across requests, and you are not setting

Problem with s:param tag

2007-05-03 Thread Felipe Rodrigues
Hi guys, Sometimes when I use s:param tag, the value that I got in my action has a appended to it. I can treat that by replacing this, but it is not a good solution. Does anybody heard anything about that? I've looked at the source code of param tag in the Struts source code, and there is a

Re: Displaying bean from action class

2007-05-03 Thread Dave Newton
--- adambomb [EMAIL PROTECTED] wrote: Yep, Thats exactly my problem. I havent set the form values anywhere. If a session form is dropping values somewhere then probably the program logic you think is happening isn't really happening... IIRC you have a form, submit the form, and go back to

Re: [S2] s:form tag problems

2007-05-03 Thread Felipe Rodrigues
Hi, there is issue for that. It is fixed for 2.0.8 version You can look at it in the link https://issues.apache.org/struts/browse/WW-1758 https://issues.apache.org/struts/browse/WW-1758 regards, Felipe Roger Varley wrote: I'm sorry to keep harping on about this but some of the

Re: CSS styles for Table Tags

2007-05-03 Thread Felipe Rodrigues
Isn't it deprecated? Just to make sure. Regards, Felipe Olivier THIERRY wrote: Hi, I use the Table Tags plugin, but I can't find a way to apply CSS classes to table or thead tags generated by the plugin since there is no cssClass or similar attribute. Does anyone have an idea about

Struts Action value empty in IE, but works fine in Firefox

2007-05-03 Thread Manudath Gurudatha
Hi, I have a JSP which has a corresponding action class in my application based on Struts (actually I am Struts newbie... so dont know much about it) The Controller class which handles all the requests can see the action value as setdefault when I click on next.gif in Mozilla. However, it comes

Re: Struts Action value empty in IE, but works fine in Firefox

2007-05-03 Thread Musachy Barroso
What version of struts are you using? Can you post your jsp page? Are you using the ajax theme (is S2)? Based only on what you have said is quite difficult to guess what the problem is. regards musachy On 5/3/07, Manudath Gurudatha [EMAIL PROTECTED] wrote: Hi, I have a JSP which has a

Re: CSS styles for Table Tags

2007-05-03 Thread Olivier THIERRY
Yes, the s:table tag is deprecated, but this is not what I use. I use the Table Tags plugin : http://cwiki.apache.org/S2PLUGINS/table-tags.html 2007/5/3, Felipe Rodrigues [EMAIL PROTECTED]: Isn't it deprecated? Just to make sure. Regards, Felipe Olivier THIERRY wrote: Hi, I use the

Re: CSS styles for Table Tags

2007-05-03 Thread Shahak Nagiel
For rendering tables, I strongly recommend the SourceForge Display Tag library (http://displaytag.sourceforge.net/11/index.html) over Table Tags. The latter offers better Struts and FreeMarker integration, but Display Tag is far more evolved from an API perspective and abstracts away a lot of

How to get forward for action (test.do) in servlet filter

2007-05-03 Thread Vinit N
How to get forward for action (test.do) in servlet filter. -- View this message in context: http://www.nabble.com/How-to-get-forward-for-action-%28test.do%29-in-servlet-filter-tf3688245.html#a10310889 Sent from the Struts - User mailing list archive at Nabble.com.

Re: UTF-8 charset issue

2007-05-03 Thread Cristian Lucero
Hi, or good put this meta in head section meta http-equiv=Content-Type content=text/html; charset=ISO-8859-1/meta On 5/3/07, piloupy GOTTAPIL [EMAIL PROTECTED] wrote: Hi, I've accidentally found a solution. I must put the directive on the top of my pages : %@ page contentType=text/html;

[S2] UTF-8 woes

2007-05-03 Thread meeboo
Hey all I am trying to submit form data with UTF-8 characters but am having no luck. The special characters are garbled when inserted in the database from a s:form for example - this is regardless of what browser I am using. I am using a page content type declaration for each page, but that

Re: [S2] UTF-8 woes

2007-05-03 Thread Cristian Lucero
try this meta http-equiv=Content-Type content=text/html; charset=ISO-8859-1/meta On 5/3/07, meeboo [EMAIL PROTECTED] wrote: Hey all I am trying to submit form data with UTF-8 characters but am having no luck. The special characters are garbled when inserted in the database from a s:form for

Re: [S2] UTF-8 woes

2007-05-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 meeboo, It's amazing to me that people not only don't read the archives, but they also don't read the messages posted on the same day or even in the /same hour/. :( - -chris meeboo wrote: Hey all I am trying to submit form data with UTF-8

Re: UTF-8 charset issue

2007-05-03 Thread Allen Gilliland
I haven't looked at this in my application yet (but i probably should :/), but the struts.properties default config has this ... ### This can be used to set your default locale and encoding scheme # struts.locale=en_US struts.i18n.encoding=UTF-8 I would assume that means that struts2 should be

Re: Displaying bean from action class

2007-05-03 Thread adambomb
Thats true ... Dave Newton-4 wrote: --- adambomb [EMAIL PROTECTED] wrote: Yep, Thats exactly my problem. I havent set the form values anywhere. If a session form is dropping values somewhere then probably the program logic you think is happening isn't really happening... IIRC you

Re: Displaying bean from action class

2007-05-03 Thread adambomb
Can you tell me what do I have to do in the action class other than forwarding back to the form page. If I try to print the values from the action class, I do get the right values on the console. But when I forward mapping to the same form page. It doesnt display those values there. bcoz when it

Re: [S2] UTF-8 woes

2007-05-03 Thread meeboo
But that other poster was using Struts 1! Also, I am already using meta http-equiv=Content-Type content=text/html; charset=ISO-8859-1/meta Has anyone had luck using for example å ä ö in S2 ? I am a very savvy Struts 2 mailing list user you know :) meta http-equiv=Content-Type

[S2] How to change Invalid field value for field message in tr

2007-05-03 Thread Struts2 Fan
Hi all, When a form is submitted if there is an integer value and the user enters a non-integer value, it gives the error Invalid field value for field .. I want to define it for locale tr I just couldn't find where to create a new file or where to add the bundles for them. Thanks in

Re: [S2] UTF-8 woes

2007-05-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 meeboo, meeboo wrote: But that other poster was using Struts 1! Also, I am already using meta http-equiv=Content-Type content=text/html; charset=ISO-8859-1/meta Has anyone had luck using for example å ä ö in S2 ? What is the character set

[s2] problem with action chaining returning input result

2007-05-03 Thread Allen Gilliland
when chaining from one action to another, why is struts2 trying to lookup the input result on action2 before ever executing my action method? i have a simple config, like the examples in the documentation ... action name=members!* method={1}

Re: CSS styles for Table Tags

2007-05-03 Thread Musachy Barroso
I hope Tom is not reading this :). I'd also suggest using displaytag for now. musachy On 5/3/07, Shahak Nagiel [EMAIL PROTECTED] wrote: For rendering tables, I strongly recommend the SourceForge Display Tag library (http://displaytag.sourceforge.net/11/index.html) over Table Tags. The latter

Re: Problem with s:param tag

2007-05-03 Thread Laurie Harper
Felipe Rodrigues wrote: Hi guys, Sometimes when I use s:param tag, the value that I got in my action has a appended to it. I can treat that by replacing this, but it is not a good solution. Does anybody heard anything about that? I've looked at the source code of param tag in the Struts

Re: [S2] How to change Invalid field value for field message in tr

2007-05-03 Thread Laurie Harper
Struts2 Fan wrote: Hi all, When a form is submitted if there is an integer value and the user enters a non-integer value, it gives the error Invalid field value for field .. I want to define it for locale tr I just couldn't find where to create a new file or where to add the bundles for

Re: [s2] problem with action chaining returning input result

2007-05-03 Thread Laurie Harper
Allen Gilliland wrote: when chaining from one action to another, why is struts2 trying to lookup the input result on action2 before ever executing my action method? i have a simple config, like the examples in the documentation ... action name=members!* method={1}

Re: Good JScript lib for disabling browser toolbars and good integration with Struts?

2007-05-03 Thread Laurie Harper
Peter Neu wrote: does somebody know a good Java Script library which disables browser tool- navigations bars and right mouse clicks for browser windows? I need a browser window for my app stripped of all basic browser components. Best way would be if Struts could already load the java script

datetimepicker not working in freemarker

2007-05-03 Thread Ron Chan
the datetimepicker does not work in freemarker in the using @s. tag syntax the same page works fine in jsp anyone else experienced this? -- View this message in context: http://www.nabble.com/datetimepicker-not-working-in-freemarker-tf3688908.html#a10313044 Sent from the Struts - User mailing

Re: datetimepicker not working in freemarker

2007-05-03 Thread Musachy Barroso
not working as in I'm getting an error, or not working as in nothing is shown? musachy On 5/3/07, Ron Chan [EMAIL PROTECTED] wrote: the datetimepicker does not work in freemarker in the using @s. tag syntax the same page works fine in jsp anyone else experienced this? -- View this message

Re: S2: submit tag and handler

2007-05-03 Thread Scott Nesbitt
Anybody have a suggestion on this? Or do I just need to wait until the next version of Struts? Thanks, Scott --- Scott Nesbitt [EMAIL PROTECTED] wrote: Well, I tried this: function handler(widget, node) { var beforeTopicsArray = widget.beforeNotifyTopicsArray;

Re: S2: submit tag and handler

2007-05-03 Thread Musachy Barroso
I should have asked this first, if all you want to do is do something before the request, why don't you use notifyTopics? musachy //if you really have to hack around reloadContent, it is defined here:

Re: Problem with s:param tag

2007-05-03 Thread Felipe Rodrigues
I'm sorry, but I'm away from my code, so I'll try to reproduce here. The code is pretty simple. -- END OF CODE The JSP: c:foreach items=somMap var=mapItem s:url action=Home!loadHome id=myURL

Re: CSS styles for Table Tags

2007-05-03 Thread Shahak Nagiel
Musachy- No offense to you or Tom, obviously. I think Table Tags show good potential and look forward to seeing them progress. But for now, I've found Display Tags offers a lot more out of the box. - Original Message From: Musachy Barroso [EMAIL PROTECTED] To: Struts Users Mailing

Re: CSS styles for Table Tags

2007-05-03 Thread Shahak Nagiel
Musachy- No offense to you or Tom, obviously. I think Table Tags show good potential and look forward to seeing them progress. But for now, I've found Display Tags offers a lot more out of the box. - Original Message From: Musachy Barroso [EMAIL PROTECTED] To: Struts Users Mailing

Re: [s2] problem with action chaining returning input result

2007-05-03 Thread Allen Gilliland
Laurie Harper wrote: Allen Gilliland wrote: when chaining from one action to another, why is struts2 trying to lookup the input result on action2 before ever executing my action method? i have a simple config, like the examples in the documentation ... action name=members!* method={1}

Re: [s2] problem with action chaining returning input result

2007-05-03 Thread Dave Newton
--- Allen Gilliland [EMAIL PROTECTED] wrote: [...] i removed all my old validation() methods so i know it's not that. public class Members extends UIAction What does UIAction look like (specifically with regards to interfaces implements and superclasses)? There must be *some* reason

Re: [s2] problem with action chaining returning input result

2007-05-03 Thread Allen Gilliland
Dave Newton wrote: --- Allen Gilliland [EMAIL PROTECTED] wrote: [...] i removed all my old validation() methods so i know it's not that. public class Members extends UIAction What does UIAction look like (specifically with regards to interfaces implements and superclasses)? UIAction

Re: [s2] problem with action chaining returning input result

2007-05-03 Thread Dave Newton
--- Allen Gilliland [EMAIL PROTECTED] wrote: public abstract class UIAction extends ActionSupport Okay, so now the question is why it thinks there's a validation error on your subclass-we know *why* it's trying to validate (ActionSupport implements the validation interfaces). Are there *any*

Re: CSS styles for Table Tags

2007-05-03 Thread Patrick J. Maloney
Shahak Nagiel wrote: For rendering tables, I strongly recommend the SourceForge Display Tag library (http://displaytag.sourceforge.net/11/index.html) over Table Tags. The latter offers better Struts and FreeMarker integration, but Display Tag is far more evolved from an API perspective and

Re: [s2] problem with action chaining returning input result

2007-05-03 Thread Allen Gilliland
Dave Newton wrote: --- Allen Gilliland [EMAIL PROTECTED] wrote: public abstract class UIAction extends ActionSupport Okay, so now the question is why it thinks there's a validation error on your subclass-we know *why* it's trying to validate (ActionSupport implements the validation

Re: [s2] problem with action chaining returning input result

2007-05-03 Thread Dave Newton
--- Allen Gilliland [EMAIL PROTECTED] wrote: I can't see any reason why validation would be doing anything at all unless somehow the validation interceptor wants to use one of the methods in my action class for validation when i didn't intend that. So you have no *-validation.xml files?

Re: [s2] problem with action chaining returning input result

2007-05-03 Thread Martin Gainty
struts-default.xml has the ability to exclude methods as in this example which excludes methods (method1, method2) from validation interceptor-ref name=defaultStack param name=validation.excludeMethodsmethod1,method2/param /interceptor-ref Martin-- This email message and any files transmitted

Re: [s2] problem with action chaining returning input result

2007-05-03 Thread Daniel Ruan
Or maybe the @SkipValidation annotation? On 5/3/07, Martin Gainty [EMAIL PROTECTED] wrote: struts-default.xml has the ability to exclude methods as in this example which excludes methods (method1, method2) from validation interceptor-ref name=defaultStack param

Re: CSS styles for Table Tags

2007-05-03 Thread Musachy Barroso
Not taken as I'm recommending displaytags also :). Tom needed some tags for rendering tables using freemarker and that's Tabletags, I'm not sure where he will take it from there. Hey Tom, are you there? just nod if you can hear me. musachy On 5/3/07, Shahak Nagiel [EMAIL PROTECTED] wrote:

Re: [S2] populating user roles

2007-05-03 Thread Flemming Seerup
Thanks, that what was I was looking for. I will take a look at your example, but I'm also considering just writing my own RolesInterceptor ... F Quoting Josh Vickery [EMAIL PROTECTED]: Flemming, if you are not using JAAS, and don't want to interact with it, you can fake it by wrapping the

Re: [S2] How to change Invalid field value for field message in tr

2007-05-03 Thread Struts2 Fan
Yes I checked them. I didn't write any validation for these fields. Struts 2 controls double, int, date fields and if they are not valid it writes the message Invalid field value for field property.intValue . I couldn't find where the message is defined. So I couldn't write the message for

Re: Struts Action value empty in IE, but works fine in Firefox

2007-05-03 Thread Tapio Holopainen
Have you tried with different property name than 'action'? I had problems with IE's Javascript when one of my form's hidden field name was 'action' (and it worked with Firefox and Opera) Regards, - Tapio On Thu, 03 May 2007 20:53:49 +0300, Musachy Barroso [EMAIL PROTECTED] wrote: