RE: iReport using Jasper reports

2005-10-25 Thread Meenakshi Singh
The web site for ireport is as below: http://ireport.sourceforge.net/ -Original Message- From: K Rajesh [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 26, 2005 11:45 AM To: Struts Users Mailing List Subject: Re: iReport using Jasper reports hi could you give me some web-site to know

RE: how to copy the properties of one Struts form-bean to another?

2005-10-25 Thread David G. Friedman
Starky, The BeanUtils have been mentioned often on this list. You can find it in the Apache Commons BeanUtils library, which is found at: http://jakarta.apache.org/commons/beanutils/ You are probably looking for BeanUtils.copyProperties() which you can find an explanation for in their API: http:

Re: how to copy the properties of one Struts form-bean to another?

2005-10-25 Thread 李海
you can use apache common BeanUtils 2005/10/26, starki78 <[EMAIL PROTECTED]>: > > Hi > > I've the following problem: > > Form 1: > String a; > String b; > String c; > > > Form 2: > String a; > String b; > > > //--> I've to implement the following method > public Form2 copy(Form1) { > > } > > //-->

how to copy the properties of one Struts form-bean to another?

2005-10-25 Thread starki78
Hi I've the following problem: Form 1: String a; String b; String c; Form 2: String a; String b; //--> I've to implement the following method public Form2 copy(Form1) { } //-->only the properties that are identical in the form shall be copied Is there already any bean-util implemented? I di

Re: iReport using Jasper reports

2005-10-25 Thread K Rajesh
hi could you give me some web-site to know about iReport On 10/21/05, Thomas Sundberg <[EMAIL PROTECTED]> wrote: > > > > -Original Message- > > From: Meenakshi Singh [mailto:[EMAIL PROTECTED] > > Sent: den 21 oktober 2005 15:44 > > To: Struts Users Mailing List (E-mail) > > Subject: iRepor

Re: new website look

2005-10-25 Thread erikweber
Looks nice in Mozilla. Erik -Original Message- From: Ted Husted <[EMAIL PROTECTED]> Sent: Oct 25, 2005 8:41 PM To: Struts Users Mailing List Subject: Re: new website look On 10/25/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > I was going to try Frank's suggestion to fix the left-hand co

Re: [Shale] Clay Component Grouping

2005-10-25 Thread Gary VanMatre
Ryan Wynn Wrote: >This incorporates 2 things. First the idName attribute added to the clay >component >which is replaced on the contents just like managedBeanName. > Interesting idea. I think this would be more efficient and easier to distinguish a replacement attribute if we required that

Re: Conditional validation for mask, date, integer etc

2005-10-25 Thread Saul Qunming Yuan
Saul Qunming Yuan dataanvil.com> writes: > > That's simlar to what I need, except that it's not an indexd property. Can > some of your code or send it to me offline. > > thanks, > Saul > > > On my current project I've written a validation method that > > dynamically invokes other validation ru

Re: Problem using sorting, paging on displaytag+struts tile

2005-10-25 Thread Laurie Harper
sapto wrote: first i'd like to say sorry if someone already ask this question before, i face problem when using paging and sorting using displaytag on struts tile, it happened when i click link for paging or sorting, displaytag try to reloading .jsp page (that act as template for other jsp )

Re: Need good tab control for JSP.

2005-10-25 Thread Laurie Harper
Christian Bollmeyer wrote: Laurie Harper schrieb: Nope. You can't, for it has set rtexprvalue to false :-) Minor Ugh; might still work... thing, you can change that if you grab the tld file from the jar. For resolving the other issues, you have to alter the code. Hm. The source distribution

Re: Problems with custom taglibs

2005-10-25 Thread Eric Plante
Is there more to add than <%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %> in my jsp page? Eric > Sounds like you didn't add JSTL to your application (that's why the JSTL > expression isn't being evaluated). > > L. > > Eric Plante wrote: > > Hi, > > > > Wendy, I tried: > > > >

Re: Problems with custom taglibs

2005-10-25 Thread Laurie Harper
Sounds like you didn't add JSTL to your application (that's why the JSTL expression isn't being evaluated). L. Eric Plante wrote: Hi, Wendy, I tried: That's a test to output every key in the Map which contain 10 items. the tags are recognized but what's output is ${mot.key} once lit

Problem using sorting, paging on displaytag+struts tile

2005-10-25 Thread sapto
first i'd like to say sorry if someone already ask this question before, i face problem when using paging and sorting using displaytag on struts tile, it happened when i click link for paging or sorting, displaytag try to reloading .jsp page (that act as template for other jsp ) not reloading

Re: new website look

2005-10-25 Thread Ted Husted
On 10/25/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > I was going to try Frank's suggestion to fix the left-hand column, but it > sounds like Ted is going to move the logo elsewhere. (Thanks!) So I'll > leave it alone and see what you come up with. OK, I'm uploading a new site home page with a se

Re: Question on creating new Validation Rules in Struts 1.2

2005-10-25 Thread Niall Pemberton
Yes, all the standard rules that are shipped with Struts including the "required" validator you show the config for below - look at the class/method specified in the className/method elements you have below. http://tinyurl.com/do4wo Niall - Original Message - From: <[EMAIL PROTECTED]> S

Re: Problems with custom taglibs

2005-10-25 Thread Eric Plante
Hi, Wendy, I tried: That's a test to output every key in the Map which contain 10 items. the tags are recognized but what's output is ${mot.key} once litteraly, the strings aren't recognized as data. I tried without the c:out but the reszult is the same. > So your form has two Maps th

Re: new website look

2005-10-25 Thread Wendy Smoak
From: "Adam Hardy" <[EMAIL PROTECTED]> David wrote: maven allows you to provide your own css for your projet. http://maven.apache.org/maven-1.x/using/site.html Hey wow, can we have a kind of csszengarden competition with this? Patches, including contributions to the website, are always welc

RE: Question on creating new Validation Rules in Struts 1.2

2005-10-25 Thread bsimonin
Okay let me rephrase this. Here is the "required" validator rules for Struts 1.2 from the validator-rules.xml file: Does some know how to create a new rules using these methodParams? Is there an example out there somewhere? --Brad Simonin -Original Message- From: [EMAIL PROTECTED

Re: TLD file placement

2005-10-25 Thread Wendy Smoak
From: "Scott Purcell" <[EMAIL PROTECTED]> I was told by my administrator, that I I take out entries from the web.xml file and use the url from the jar file, and if the site that the url points to is down, that the code will break. It's not a URL, it's a URI. :) None of the URIs for the Struts

Re: new website look

2005-10-25 Thread Adam Hardy
Wendy Smoak on 25/10/05 17:34, wrote: From: "David Delbecq" <[EMAIL PROTECTED]> Wendy wrote: As Frank mentioned, the site is generated by Maven, which means we are not (and do not want to be) in control of the XSLT and CSS that make it happen. maven allows you to provide your own css for yo

Re: [Shale] Clay Component Grouping

2005-10-25 Thread Ryan Wynn
Gary, thanks for the reply. Just my thoughts on this: in shared component spec

Question on creating new Validation Rules in Struts 1.2

2005-10-25 Thread bsimonin
Hello there. Are there examples for creating a new Validation Rule using a new class for validating and then updating the validator-rules.xml file? I found a few examples but they are for Struts 1.1. Below is a test class I am creating and then a copied version of a rule added to the validato

Re: [Shale] Clay Component Grouping

2005-10-25 Thread Gary VanMatre
>I have the following clay composite: > >

Re: TLD file placement

2005-10-25 Thread Christian Bollmeyer
In fact, this should not occur, for a 2.3 spec-compliant server matches the taglib uri against web.xml and the tld file(s) inside the jar's META-INF directory first and should therefore resolve it locally before looking up the web. The latter would fail any- way in most cases. As an example, just

RE: TLD file placement

2005-10-25 Thread Scott Purcell
I was told by my administrator, that I I take out entries from the web.xml file and use the url from the jar file, and if the site that the url points to is down, that the code will break. If this could occur, is there a workaround for this situation? Thanks, Scott -Original Message-

Solution

2005-10-25 Thread Dave
Turns out that my ActionMapping needed to inherit from SecureActionConfig. I think it has something to do with the way someone on the team implemented SSL. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

Re: Session Management Within Webapp 2 (jsessionid)s

2005-10-25 Thread Jim Reynolds
I updated my processor and added the proper logic that Martin showed yesterday. And what I am seeing is as follows: 1) When the user clicks the site, I can watch the logs and it shows that the session.isNew() and so it redirects to index.jsp. 2) At that point the screen is showing, so the user cl

Re: new website look

2005-10-25 Thread Ted Husted
On 10/25/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > If someone would like to modify the existing stylesheet or come up with a > new look for the site, we'll certainly consider it. :) I think I'd like to try it as a section on the home page, rather than on the menu bar. This would also give us ro

Re: Custom ActionMapping subclass causing servlet not available

2005-10-25 Thread Dave
Niall Pemberton blueyonder.co.uk> writes: > > How about making your custom ActionMapping a public class? > > Niall > BTW, the initial cap of the class name was changed to match the file name, and the struts-config line was changed to correspond:

Re: new website look

2005-10-25 Thread Frank W. Zammetti
The problem only seems to manifest itself on Firefox with the sidebar open... actually, you get a similar yet different problem in IE with the sidebar open... In both, the nav column scrunches up right next to the main content text, but the image doesn't overflow in IE. I think the text scrunching

Re: Custom ActionMapping subclass causing servlet not available

2005-10-25 Thread Dave
Niall Pemberton blueyonder.co.uk> writes: > > How about making your custom ActionMapping a public class? > OK, can you tell that I'm an old C++ programmer :) Unfortunatly, while I had high hopes for that change even after I changed the declaration to: public class DispatchByURLAction extend

Re: Need good tab control for JSP.

2005-10-25 Thread Christian Bollmeyer
Laurie Harper schrieb: Nope. You can't, for it has set rtexprvalue to false :-) Minor thing, you can change that if you grab the tld file from the jar. For resolving the other issues, you have to alter the code. Hm. The source distribution doesn't contain the resources, but you can get them from

Re: new website look

2005-10-25 Thread Ted Husted
On 10/24/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > So you've mentioned. :) Except for the left-hand column resizing itself > smaller than the ApacheCon logo, I don't see any major problems. +1 It's important for people to realize that this is our one and only website. We don't have a staging

RE: [ANN] JAVAWUG / BOF XIII / Belgo Central / Friday 28th Sept 2 005 / 19:15

2005-10-25 Thread Pilgrim, Peter
Just a reminder The ``JAVA Web User Group'' is pleased to announce. Please meet for the BOF XIII London meet-up at the ``Belgo Central Restaurant'' at 19:15M on Friday, 28th October, 2005. 50 Earlham Street, Covent Garden, London, WC2H 9HP United Kingdom Nearest Tube: Covent Ga

[Shale] Clay Component Grouping

2005-10-25 Thread Ryan Wynn
I have the following clay composite: This enables me to do the following and get validation for free: Now I want to add

Re: Custom ActionMapping subclass causing servlet not available

2005-10-25 Thread Dave
BTW, SecurePageAction extends Action. (Don't know if that makes a difference). - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: new website look

2005-10-25 Thread Wendy Smoak
From: "David Delbecq" <[EMAIL PROTECTED]> Wendy wrote: As Frank mentioned, the site is generated by Maven, which means we are not (and do not want to be) in control of the XSLT and CSS that make it happen. maven allows you to provide your own css for your projet. http://maven.apache.org/maven

Re: Custom ActionMapping subclass causing servlet not available

2005-10-25 Thread Niall Pemberton
How about making your custom ActionMapping a public class? Niall - Original Message - From: "Dave" <[EMAIL PROTECTED]> Sent: Tuesday, October 25, 2005 4:20 PM > In my struts-config I have the following action: > >path="/MyAccount" > type="com.eri.web.struts.actions.SecurePa

Custom ActionMapping subclass causing servlet not available

2005-10-25 Thread Dave
In my struts-config I have the following action: My class looks like: class dispatchByURLAction extends ActionMapping { protected String secured = ""; public String getSecured() { return secured; } public void setSecured (String Secured) { secured = Secured; } }

Re: i18n and same value for 2 different locale

2005-10-25 Thread Christian Bourque
> We have a similar issue that only appears sometimes to our webapp > when its deployed to a websphere server. Our other environments that > run tomcat have never exhibited this problem. Humm weird because I use Tomcat (5.5) here... Anyway I'll let you know If I find anything useful! Christian

RE: i18n and same value for 2 different locale

2005-10-25 Thread Christian Bourque
> I DON'T USE THIS > > Locale.setDefault(Locale.FRENCH); > I USE THIS > > session.setAttribute(Globals.LOCALE_KEY, locale); Me too I'm using the session to store the user's default locale! The first one I'm using is to set a default locale for the JVM! This hasn't the same be

Re: query string parameters problem

2005-10-25 Thread Michael Jouravlev
On 10/21/05, R.Vijayaraghavan <[EMAIL PROTECTED]> wrote: > struts-config.xml > > > > > type = "app.QueryParamsAction" > name = "QueryParamsForm" > validate = "false"

Re: new website look

2005-10-25 Thread Wendy Smoak
From: "Michael Jouravlev" <[EMAIL PROTECTED]> You chose the tool, it does not work 100% correctly, should you choose another tool? That's one option. Another option is working to get the tool fixed, which in this case means researching the bug tickets for the Maven 1 'site' and 'xdoc' plugins

Re: [slightly OT] Prince of Struts questions his database maintenance strategy

2005-10-25 Thread Leon Rosenberg
my option is a) and it works far better than hibernate or ibatis :-) as for other options: b) can't happen, because you don't code sql in jsp if you code struts :-) c) ah well, same as a) isn't it? d) can't happen, there are no perfect applications, only changing applications or dead applications

Re: [slightly OT] Prince of Struts questions his database maintenance strategy

2005-10-25 Thread DGraham
1. Clone your PROD instance into a DEV/TEST instance, 2. Create the script, apply it to the non-PROD instance 3. Test 4. Deployp? -Dennis "Murray Collingwood" <[EMAIL PROTECTED]> 10/24/2005 10:41 PM Please respond to "Struts Users Mailing List" To Struts Users Mailing List cc Subject [s

Re: Integrating Hibernate 3.0 in Struts application

2005-10-25 Thread Eric Plante
http://www.hibernate.org/hib_docs/v3/reference/en/html/ but someone else posted it or part of it. - Original Message - From: "Gaet" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Tuesday, October 25, 2005 3:27 AM Subject: Re: Integrating Hibernate 3.0 in Struts application

Re: turn off log4j

2005-10-25 Thread Lorenzo Sicilia
On Monday 24 October 2005 18:30, Lorenzo Sicilia wrote: > Just a strange behavior about actions. It logs but with a different layout I fix the behavior when I changed in LoginAction this row: private static Logger logger = Logger.getLogger(LoginAction.class.getName()) to private static Log logger

Re: Best Practice: How to reinititialize client ?

2005-10-25 Thread David Delbecq
use reset() method of order related session forms. Silvija Cardzic-Mrsa a écrit : >Hi, > >Im new to struts and developing a shop with Struts. >After a customer sent his order it should be possible to make a new order >( same session ). >Whats the best practice to do this and how ? > >Thanks >Silv

Best Practice: How to reinititialize client ?

2005-10-25 Thread Silvija Cardzic-Mrsa
Hi, Im new to struts and developing a shop with Struts. After a customer sent his order it should be possible to make a new order ( same session ). Whats the best practice to do this and how ? Thanks Silvija

Re: How to Modify Resource Bundle While your application is Running withou restarting Server?

2005-10-25 Thread Thomas Joseph
Hi Shailesh, I am also a starter in Struts, however I will try. I see your messages on post for some time and no reply. I thought that some experiencd guys would reply but...!! Its noted that there is hardly any reply for posts by freshers. Try extending the action servlet, and write a method th

Re: new website look

2005-10-25 Thread David Delbecq
Michael Jouravlev a écrit : >On 10/24/05, Wendy Smoak <[EMAIL PROTECTED]> wrote: > > >>From: "Michael Jouravlev" <[EMAIL PROTECTED]> >> >> >> >>>Firefox 1.0.6 on W2K --> site is screwed up. >>> >>> >>So you've mentioned. :) Except for the left-hand column resizing itself >>smaller tha

RE: Integrating Hibernate 3.0 in Struts application

2005-10-25 Thread David G. Friedman
Let's just say Eric's typing left a little to be desired. I think he might have meant this URL: http://www.hibernate.org/hib_docs/v3/reference/en/html/tutorial.html#tutoria l-firstapp FYI: "hib_doc" should have been "hib_docs", AND "totorial" should have been "tutorial" Regards, David ---

Re: Integrating Hibernate 3.0 in Struts application

2005-10-25 Thread Gaet
Your url do not work Eric - Original Message - From: Eric Plante To: Struts Users Mailing List Sent: Tuesday, October 25, 2005 12:48 AM Subject: Re: Integrating Hibernate 3.0 in Struts application The tutorial on hibernate's site does the job, that's what I used.