What's wrong with my Validation framework it was working fine b4 but now its give problem :(

2009-03-10 Thread sajidbigler
Hi Friends, Please help me to understand why validation framework is not working http://www.nabble.com/file/p22431543/CompleteFiles.rar CompleteFiles.rar -- View this message in context: http://www.nabble.com/What%27s-wrong-with-my-Validation-framework-it-was-working-fine-b4-but-now-its-

Re: strut2 & Ajax/dojo: rrrrrr what's wrong with my settings? cant get the theme=ajax to wrork (pictures included)

2008-02-21 Thread Dave Newton
--- xianwinwin <[EMAIL PROTECTED]> wrote: > * I placed it under WebContent and it worked! Note that this just masks the actual problem, and you'll now have to do this every single time you upgrade Struts 2. Dave - To unsubscrib

Re: strut2 & Ajax/dojo: rrrrrr what's wrong with my settings? cant get the theme=ajax to wrork (pictures included)

2008-02-21 Thread xianwinwin
Dear Ravi YOU ARE THE MAN!!! Thank you so much! * I placed it under WebContent and it worked! -- View this message in context: http://www.nabble.com/strut2---Ajax-dojo%3A-rr-what%27s-wrong-with-my-settings--cant-get-the-theme%3Dajax-to-wrork-%28pictures-included%29-tp15600219p156

Re: strut2 & Ajax/dojo: rrrrrr what's wrong with my settings? cant get the theme=ajax to wrork (pictures included)

2008-02-21 Thread Dave Newton
--- ravi_eze <[EMAIL PROTECTED]> wrote: > if dojo is not defined: then probably the following should help: > > 1. define a folder struts in ur project (under webinf) > 2. copy ajax, dojo, nifty corners, simple, xhtml, CommonFunctions.js, > inputtransferselect.js, optiontransferselect.js, tabs.css,

Re: strut2 & Ajax/dojo: rrrrrr what's wrong with my settings? cant get the theme=ajax to wrork (pictures included)

2008-02-21 Thread ravi_eze
hi, if dojo is not defined: then probably the following should help: 1. define a folder struts in ur project (under webinf) 2. copy ajax, dojo, nifty corners, simple, xhtml, CommonFunctions.js, inputtransferselect.js, optiontransferselect.js, tabs.css, tree.css, validationClient.js. Search for t

Re: strut2 & Ajax/dojo: rrrrrr what's wrong with my settings? cant get the theme=ajax to wrork (pictures included)

2008-02-21 Thread Musachy Barroso
Usually that means that you are missing: but you have it on the section that you posted. Look at the source of the page, is a dojo.js file getting referenced? musachy On Thu, Feb 21, 2008 at 10:07 AM, xianwinwin <[EMAIL PROTECTED]> wrote: > > :-( > > debuging with fireBug I get the followin

Re: strut2 & Ajax/dojo: rrrrrr what's wrong with my settings? cant get the theme=ajax to wrork (pictures included)

2008-02-21 Thread xianwinwin
:-( debuging with fireBug I get the following message: dojo is not defined -- View this message in context: http://www.nabble.com/strut2---Ajax-dojo%3A-rr-what%27s-wrong-with-my-settings--cant-get-the-theme%3Dajax-to-wrork-%28pictures-included%29-tp15600219p15612900.html Sent from the Strut

Re: strut2 & Ajax/dojo: rrrrrr what's wrong with my settings? cant get the theme=ajax to wrork (pictures included)

2008-02-20 Thread bhaarat Sharma
try putting labelposition="top" as a property in your div tag for the first tab. and remove all css just to see if it atleast works On Wed, Feb 20, 2008 at 5:44 PM, xianwinwin <[EMAIL PROTECTED]> wrote: > > thanks for replying. No, the tabs.css is not mine. I realized it comes from > struts2-cor

Re: strut2 & Ajax/dojo: rrrrrr what's wrong with my settings? cant get the theme=ajax to wrork (pictures included)

2008-02-20 Thread xianwinwin
thanks for replying. No, the tabs.css is not mine. I realized it comes from struts2-core. Musachy Barroso wrote: > > Is tabs.css your css? I am guessing that there is some style applied > to the tabs that is breaking it. (because the text on the other tab > should be hidden, and it isnt) > >

Re: strut2 & Ajax/dojo: rrrrrr what's wrong with my settings? cant get the theme=ajax to wrork (pictures included)

2008-02-20 Thread Dave Newton
--- xianwinwin <[EMAIL PROTECTED]> wrote: > WHAT am I possibly doing wrong here? Not sure: does it work if you're not using your own CSS? It's weird that only one of your tab headers is showing up and that the text of both tabs is visible. I don't see anything immediately obvious about the JSP its

Re: strut2 & Ajax/dojo: rrrrrr what's wrong with my settings? cant get the theme=ajax to wrork (pictures included)

2008-02-20 Thread Musachy Barroso
Is tabs.css your css? I am guessing that there is some style applied to the tabs that is breaking it. (because the text on the other tab should be hidden, and it isnt) musachy On Wed, Feb 20, 2008 at 5:21 PM, xianwinwin <[EMAIL PROTECTED]> wrote: > > WHAT am I possibly doing wrong here? > > I w

strut2 & Ajax/dojo: rrrrrr what's wrong with my settings? cant get the theme=ajax to wrork (pictures included)

2008-02-20 Thread xianwinwin
WHAT am I possibly doing wrong here? I want to get this result: (attention on the tabs example) http://www.nabble.com/file/p15600219/good.jpeg but I get this result: http://www.nabble.com/file/p15600219/wrong.bmp the code is: <%@ include file="/pages/layouts/taglibs.jsp" %> Welcome ; last

Re: global exception handling - struts sometimes ignores my setting in struts-config, what's wrong?

2007-08-14 Thread Marek Cupak
I've reduced my real problem to a simple somepackage.CustomException example. In my real application, there are actions, such: where the action class is: public final class SpikeAction_3rdLayerEx extends Action { private static Logger logger = Logger.getLogger(SpikeAction_3rdLayerEx.c

Re: global exception handling - struts sometimes ignores my setting in struts-config, what's wrong?

2007-08-13 Thread Zarar Siddiqi
Struts isn't catching this exception because you're throwing it in a JSP page which is being accessed outside the Struts servlet (directly via a URL). Try throwing the exception in a Struts action and see what happens. But even if you do that you'll run into a problem with the current setup. You'

global exception handling - struts sometimes ignores my setting in struts-config, what's wrong?

2007-08-13 Thread Marek Cupak
i need to configure struts to display user a errpage.jsp, when runtime exception CustomException occur anywhere in the application. i've added to struts-config: and to web.xml: 500 /ErrorPage.jsp when i browse page _spikeScriptletThrowingEx.jsp: <%@ page language=

RE: validatewhen --- what's wrong?

2006-04-28 Thread Chaudhary, Harsh
List' Subject: RE: validatewhen --- what's wrong? I am not sure how to set Apache tomcat server to debug mode. However, there are no exception been thrown out in console during validation execution. Jason -Original Message- From: Chaudhary, Harsh [mailto:[EMAIL PROTECTED]

RE: validatewhen --- what's wrong?

2006-04-28 Thread Zheng Wen Zhe
: RE: validatewhen --- what's wrong? That looks good. Do you see any exception stack related to validation when you submit the form? Harsh. -Original Message- From: Zheng Wen Zhe [mailto:[EMAIL PROTECTED] Sent: Friday, April 28, 2006 11:07 AM To: 'Struts Users Mailing List&#x

RE: validatewhen --- what's wrong?

2006-04-28 Thread Chaudhary, Harsh
That looks good. Do you see any exception stack related to validation when you submit the form? Harsh. -Original Message- From: Zheng Wen Zhe [mailto:[EMAIL PROTECTED] Sent: Friday, April 28, 2006 11:07 AM To: 'Struts Users Mailing List' Subject: RE: validatewhen --- wh

RE: validatewhen --- what's wrong?

2006-04-28 Thread Zheng Wen Zhe
This is the validwhen entry in validator-rules.xml * *** -Original Message- From: Chaudhary, Harsh [mailto:[EMAIL PROTECTED] Sent: 28 April 2006 17:09 To: Struts Users Mailing List Subject: RE: validatewhen --- what's wrong? Do yo

RE: validatewhen --- what's wrong?

2006-04-28 Thread Chaudhary, Harsh
Do you see some stack when validation runs for the password field? Also, do you see this entry in your validator-rules.xml file: mailto:[EMAIL PROTECTED] Sent: Friday, April 28, 2006 10:18 AM To: 'Struts Users Mailing List' Subject: RE: validatewhen --- what's wrong?

RE: validatewhen --- what's wrong?

2006-04-28 Thread Zheng Wen Zhe
lidatewhen --- what's wrong? The validation is definitely called. If I submit the form with login field empty, alert is popping up. So I am sure is somewhere wrong with the validwhen.. But, where?? Jason -Original Message- From: Chaudhary, Harsh [mailto:[EMAIL PROTECTED] Sent: 28 Apri

RE: validatewhen --- what's wrong?

2006-04-28 Thread Zheng Wen Zhe
Mailing List Subject: RE: validatewhen --- what's wrong? Are you sure that validation is being called? For example, what happens when you submit the form with nothin in the login field (which is required)? Harsh. -Original Message- From: Zheng Wen Zhe [mailto:[EMAIL PROTECTED] Sent: F

RE: validatewhen --- what's wrong?

2006-04-28 Thread Chaudhary, Harsh
List' Subject: RE: validatewhen --- what's wrong? Well, basically, I wanna the condition to be true only when user gives key word 'password' to the password field. And I tried this (*this* == 'password') The validwhen still always is true no matter what is given.

RE: validatewhen --- what's wrong?

2006-04-28 Thread Zheng Wen Zhe
lto:[EMAIL PROTECTED] Sent: 27 April 2006 18:34 To: Struts Users Mailing List Subject: Re: validatewhen --- what's wrong? Hi To tell you the truth i do not understand what you wanna do... Anyway your validwhen condition is always true! Note that you are comparing *this* - for property password, w

Re: validatewhen --- what's wrong?

2006-04-27 Thread Jakub Milkiewicz
6 12:34 PM > To: Struts Users Mailing List > Subject: Re: validatewhen --- what's wrong? > > > Hi > To tell you the truth i do not understand what you wanna do... > Anyway your validwhen condition is always true! > Note that you are comparing *this* - for property pas

RE: validatewhen --- what's wrong?

2006-04-27 Thread Chaudhary, Harsh
Try it like this. (*this* == 'password') -Original Message- From: Jakub Milkiewicz [mailto:[EMAIL PROTECTED] Sent: Thursday, April 27, 2006 12:34 PM To: Struts Users Mailing List Subject: Re: validatewhen --- what's wrong? Hi To tell you the truth i do not understand wh

Re: validatewhen --- what's wrong?

2006-04-27 Thread Jakub Milkiewicz
Hi To tell you the truth i do not understand what you wanna do... Anyway your validwhen condition is always true! Note that you are comparing *this* - for property password, with property password. It means something like 1==1. 2006/4/26, Zheng Wen Zhe <[EMAIL PROTECTED]>: > > Hey all, > > I wa

validatewhen --- what's wrong?

2006-04-26 Thread Zheng Wen Zhe
Hey all, I wanna it say yes when a user type 'password' into this password field. But, it doesn't work that way. Validation always passes no matter what the user has given into the password field. Pls, someone tell what wrong with it!!! Validation.xml http://jakarta.apa

RE: what's wrong?? ---Connection with MySQL database

2006-03-14 Thread Zheng Wen Zhe
HaaThanks for all reply. It seems google is every thing. -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: 14 March 2006 14:24 To: Struts Users Mailing List Subject: Re: what's wrong?? ---Connection with MySQL database Zheng Wen Zhe wrote: > Why I

[OT] Re: what's wrong?? ---Connection with MySQL database

2006-03-14 Thread Antonio Petrelli
Dave Newton ha scritto: Total time spent (not including typing this email): about 1 minute, 45 seconds. Time spent typing the email: 2 minutes. Time you'll wait to read a response on the newsgroup: 5-15 minutes. Ability to debug your own app: priceless. There are things that you cannot buy, f

Re: what's wrong?? ---Connection with MySQL database

2006-03-14 Thread Dave Newton
Zheng Wen Zhe wrote: > Why I got this error when initialize web server > Well, let's take a look: > ERROR <14-Mar-2006 13:52:17> Initializing application data source userDB > > org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of > class '' for connect URL 'jdbc:mysql:

Re: what's wrong?? ---Connection with MySQL database

2006-03-14 Thread chuanjiang lo
did you include the mysql jdbc jar in your classpath? On 3/14/06, Zheng Wen Zhe <[EMAIL PROTECTED]> wrote: > > Hi, > > Why I got this error when initialize web server > > > > ERROR <14-Mar-2006 13:52:17> Initializing application data source userDB > > org.apache.commons.dbcp.SQLNestedException

Re: what's wrong?? ---Connection with MySQL database

2006-03-14 Thread ALEX HYDE
I use Tomcat and I've only ever created datasources in web.xml. Have u tried that? Zheng Wen Zhe <[EMAIL PROTECTED]> wrote: Hi, Why I got this error when initialize web server ERROR <14-Mar-2006 13:52:17> Initializing application data source userDB org.apache.commons.dbcp.SQLNestedExc

what's wrong?? ---Connection with MySQL database

2006-03-14 Thread Zheng Wen Zhe
Hi, Why I got this error when initialize web server ERROR <14-Mar-2006 13:52:17> Initializing application data source userDB org.apache.commons.dbcp.SQLNestedException: Cannot create JDBC driver of class '' for connect URL 'jdbc:mysql://localhost:3306/struts'

Re: What's wrong

2005-11-21 Thread Rahul Akolkar
On 11/21/05, Fulgencio Comendeiro, Eduardo <[EMAIL PROTECTED]> wrote: > <% > { > java.util.ArrayList list = new java.util.ArrayList(); > list.add("textouno.texto1"); > list.add("textouno.texto2"); > list.add("textouno.texto3"); > list.add("textouno.texto4"); > pageContext.setAttribute("list",

What's wrong

2005-11-21 Thread Fulgencio Comendeiro, Eduardo
<% { java.util.ArrayList list = new java.util.ArrayList(); list.add("textouno.texto1"); list.add("textouno.texto2"); list.add("textouno.texto3"); list.add("textouno.texto4"); pageContext.setAttribute("list", list, PageContext.PAGE_SCOPE); } %> contenido. '/>" > The result must b

Re: What's wrong with DTOs?

2005-10-19 Thread Frank W. Zammetti
Let it never be said that the myriad OT discussions on the Struts mailing list aren't worth something :) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com AIM: fzammetti Yahoo: fzammetti MSN: [EMAIL PROTECTED] On Wed, October 19, 2005 8:50 am,

RE: What's wrong with DTOs?

2005-10-19 Thread George.Dinwiddie
> From: Leon Rosenberg > > On 10/19/05, Martin Gainty <[EMAIL PROTECTED]> wrote: > > George > > Could you explain on how MVC patterns are fractal? > > Thanks, > > Martin- > > I think there are no fractal patterns, but fractal > architectures, which follows same pattern in different > levels. E

Re: What's wrong with DTOs?

2005-10-19 Thread Ted Husted
On 10/19/05, Leon Rosenberg <[EMAIL PROTECTED]> wrote: > I think there are no fractal patterns, but fractal architectures, > which follows same pattern in different levels. Example: > a typical 3-tier can be considered MVC > the presentation layer in the 3-tier could itself be an MVC too (jsp > the

Re: What's wrong with DTOs?

2005-10-19 Thread bjester_2004
Thanks to all who responded. I am so much wiser now..:) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Yahoo! Music Unlimite

Re: What's wrong with DTOs?

2005-10-19 Thread Leon Rosenberg
To: > Sent: Tuesday, October 18, 2005 4:49 PM > Subject: RE: What's wrong with DTOs? > > > > From: Leon Rosenberg > > > > P.S. Have you ever considered, that the View itself can be an > > MVC as well? > > Yes, patterns are fractal. > >

Re: What's wrong with DTOs?

2005-10-19 Thread Borislav Sabev
[EMAIL PROTECTED] wrote: Hi Bob, I'll try to give my 1 cent to the topic and also to answer you more concrete because I believe you want some concrete answers, not theoretical conversations. Background: I just started a Struts project with Hibernate. I have chosen to use the Data Access Ob

Re: What's wrong with DTOs?

2005-10-18 Thread Martin Gainty
George Could you explain on how MVC patterns are fractal? Thanks, Martin- - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Tuesday, October 18, 2005 4:49 PM Subject: RE: What's wrong with DTOs? From: Leon Rosenberg P.S. Have you ever considered, that the View it

RE: What's wrong with DTOs?

2005-10-18 Thread George.Dinwiddie
> From: Leon Rosenberg > > P.S. Have you ever considered, that the View itself can be an > MVC as well? Yes, patterns are fractal. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[OT] Re: What's wrong with DTOs?

2005-10-18 Thread Frank W. Zammetti
Only fair to mark this thread OT by now, hope no one minds... Talking about the view that considers what goes on in Struts Actions to be part of the view, here's why I don't agree with that perception... In that view, if I have a webapp and later want to make it a Swing-based app, I would be thro

Re: What's wrong with DTOs?

2005-10-18 Thread Vic Cekvenich
+1. .V Christian Bollmeyer wrote: [EMAIL PROTECTED] schrieb: +1. The first thing I always preach new developers on my team is that they should think the entire web tier away and replace it (mentally) with a Swing or whatever client, without changing anything in the subsequent layers, and the

Re: What's wrong with DTOs?

2005-10-18 Thread Leon Rosenberg
On 10/18/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > I can't answer for Ted, but I consider *all* of MVC to be > > part of the > > > view tier. The Model is just the presentation layer's view of the > > > business system. It should be abstract and opaque and > > contain all of > > > th

Re: What's wrong with DTOs?

2005-10-18 Thread Christian Bollmeyer
[EMAIL PROTECTED] schrieb: +1. The first thing I always preach new developers on my team is that they should think the entire web tier away and replace it (mentally) with a Swing or whatever client, without changing anything in the subsequent layers, and the application still has to work as usual

RE: What's wrong with DTOs?

2005-10-18 Thread George.Dinwiddie
> -Original Message- > From: Dave Newton > I'm still not clear on how the entirety of MVC is the V It's not. MVC is a View Tier pattern, though. Within the pattern it separates the Model, an abstraction of the business logic, the View, which displays a representation of the Model, and th

Re: What's wrong with DTOs?

2005-10-18 Thread Dave Newton
[EMAIL PROTECTED] wrote: On 10/18/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I can't answer for Ted, but I consider *all* of MVC to be part of the view tier. The Model is just the presentation layer's view of the business system. It should be abstract and opaque and contain all o

RE: What's wrong with DTOs?

2005-10-18 Thread George.Dinwiddie
> From: Leon Rosenberg > On 10/18/05, [EMAIL PROTECTED] > <[EMAIL PROTECTED]> wrote: > > > -Original Message- > > > From: Frank W. Zammetti > > [snip] > > > > > > Ted, this seems to be saying that you consider the Actions to be > > > part of the view... is that what you intended?

Re: What's wrong with DTOs?

2005-10-18 Thread Leon Rosenberg
On 10/18/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > -Original Message- > > From: Frank W. Zammetti > [snip] > > > > Ted, this seems to be saying that you consider the Actions to > > be part of the view... is that what you intended? > > I can't answer for Ted, but I conside

RE: What's wrong with DTOs?

2005-10-18 Thread George.Dinwiddie
> -Original Message- > From: Frank W. Zammetti [snip] > > Ted, this seems to be saying that you consider the Actions to > be part of the view... is that what you intended? I can't answer for Ted, but I consider *all* of MVC to be part of the view tier. The Model is just the pres

Re: What's wrong with DTOs?

2005-10-18 Thread Frank W. Zammetti
On Tue, October 18, 2005 11:05 am, Ted Husted said: > The question is whether we want to stop transfering the data when we > get to the servlet (or filter or Action), or continue to transfer the > data on to the model. If we stop at the Action layer, and start > making model calls there, we elimin

Re: What's wrong with DTOs?

2005-10-18 Thread Ted Husted
On 10/18/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > You may ask now what's the place for HttpServletRequest and its company. I > think its natural place is inside the document itself, hidden inside its > code, so that the interface is independent from the use of servlet > technology. In fac

Re: What's wrong with DTOs?

2005-10-18 Thread brenmcguire
I wish to tell you a story, to show because I changed my mind about DTOs. Once upon a time I used to write GUIs (i.e. Swing GUIs). I have to tell that I used to mix controller code with model. But when I think about that "era" I noticed that it was pretty easy to write code. Why now is it so diffic

Re: What's wrong with DTOs?

2005-10-17 Thread Ted Husted
The original idea was that one Data Transfer Object could be used to represent many domain objects. Perhaps even *all* the domain objects. The view tier could then ferry back and forth this one object instead of having to deal with a plethora of finely grained objects. All the view layer sees is a

Re: What's wrong with DTOs?

2005-10-17 Thread Frank W. Zammetti
On Mon, October 17, 2005 1:15 pm, Dave Newton said: > My only response would be that ultimately, I still prefer to have less > coupling: with a POJO bean and a DAO it gives me one more place I can > change implementation. That said, if you added a "setDao" or whatever to > the above Customer I migh

Re: What's wrong with DTOs?

2005-10-17 Thread Dave Newton
Frank W. Zammetti wrote: So, is another way of saying what your saying is that you feel that DTO+DAO=Something Good(tm)? So, if instead of having: class CustomerDTO { public setFirstName(String); public setLastName(String); public getFirstName(String); public getLastName(String); } class C

Re: What's wrong with DTOs?

2005-10-17 Thread Rafael Nami
What I agree is that objects have to be rich in information AND associations. I don´t like(it´s just my opinion) reflecting my tables in my Objects. Like, if I have a Category and a Product, I like to associate these two objects, not just add productId in Category. About the methods, I had all the

Re: What's wrong with DTOs?

2005-10-17 Thread Frank W. Zammetti
So, is another way of saying what your saying is that you feel that DTO+DAO=Something Good(tm)? So, if instead of having: class CustomerDTO { private String firstName; private String lastName; private String id; public setFirstName(String); public setLastName(String); public setId(Str

Re: What's wrong with DTOs?

2005-10-17 Thread Rafael Nami
[EMAIL PROTECTED] said: *"I think it is best to use directly domain objects, i.e. ye old (but good) OOP with "real" objects."* ** +1 :) Best Regards Rafael Mauricio Nami 2005/10/17, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > I'm not a guru but... > Once I thought that DTOs are a nice way to se

Re: What's wrong with DTOs?

2005-10-17 Thread brenmcguire
I'm not a guru but... Once I thought that DTOs are a nice way to separate the webapp's layers, just because they are simply data containers and have no logic. But now I think they are completely useless, because they have no logic! I know it is stupid to use the same answer for two opposite points

Re: What's wrong with DTOs?

2005-10-17 Thread Aldo Vadillo Batista
I think DTOs is the best solution. However, is tedious to copy properties. Yes, I know that you can use BeanUtils but sometimes you need a DTO that is a combinations of two model objects and you have to use getters and setters. 2005/10/17, Vic Cekvenich <[EMAIL PROTECTED]>: > > I don't think anyt

Re: What's wrong with DTOs?

2005-10-17 Thread Vic Cekvenich
I don't think anything wrong w/ DTO. You have your DAO, your model... in my case I use collections as DTO, but beanutils is fine. .V [EMAIL PROTECTED] wrote: Hi, Gurus, Background: I just started a Struts project with Hibernate. I have chosen to use the Data Access Object with (Abstract F

What's wrong with DTOs?

2005-10-17 Thread bjester_2004
Hi, Gurus, Background: I just started a Struts project with Hibernate. I have chosen to use the Data Access Object with (Abstract Factory) design pattern because my client uses Oracle and I use Postgresql database. I am working with other teams remotely and they decided to use DTO. Problem:

Re: What's wrong in ApplicationResources.properties?

2005-09-26 Thread Laurie Harper
What error do you get when you change the key? Most likely you're missing the corresponding entries in your resource bundle (MessageResources.properties or whatever you have configured in struts-config.xml). L. 梁炳場 wrote: I change to bean key to main.welcome, the webpage can be displayed. If

RE: What's wrong in ApplicationResources.properties?

2005-09-26 Thread David G. Friedman
, September 26, 2005 5:34 AM To: Struts Users Mailing List Subject: What's wrong in ApplicationResources.properties? I change to bean key to main.welcome, the webpage can be displayed. If the bean key changes to main.home or main.contactUs the webpage cannot be displayed properly. what goes

What's wrong in ApplicationResources.properties?

2005-09-26 Thread 梁炳場
I change to bean key to main.welcome, the webpage can be displayed. If the bean key changes to main.home or main.contactUs the webpage cannot be displayed properly. what goes wrong? Thnx header.jsp: ApplicationResources.properties: main.welcome=Welcome to myERP main.contactUs=Contac

what's wrong with this simple code

2005-07-14 Thread Vicky
I don't see anything displayed on jsp with below simple code in my struts action class. MenuComponent mc = new MenuComponent(); mc.setName("Menu 1"); mc.setLocation("Menu 1"); mc.setTitle("Menu 1"); MenuComponent mc2 = new MenuComponent(); mc2.setName("Menu 2"); mc2.setLocation("Menu 2")

Re: What's wrong? [prepopulating a form...]

2005-07-10 Thread lk
Gotcha Oh poor man :-) The problem was in the form: I used the attribute value="" for the html:text tag from an old form ByE If I try to print on that form the bean polizza_newForm the properties are correct: gives: DynaActionForm[dynaClass=polizza_newForm,nome=test] My form is

What's wrong? [prepopulating a form...]

2005-07-10 Thread lk
Hi, I'm trying to prepopulate a form for editing it and I can't understand what's wrong. From a list of objects I want to edit one. I have an action for that: ^ polizza_newForm is a DynaActionForm defined in the struts-config.xml

Re: [HELP] What's wrong with my html:link syntax... :(

2005-03-16 Thread Pham Anh Tuan
Thank you all :), the good new is my problem is solved by all you. Again, thank all you very much :) - Original Message - From: "Nicolas De Loof" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" Sent: Wednesday, March 16, 2005 3:57 PM Subject: Re: [HELP] What

Re: [HELP] What's wrong with my html:link syntax... :(

2005-03-16 Thread Nicolas De Loof
You cannot use a tag as attribute of another tag : they must follow an XML structure Use a variable to store the result of your tag : Go or If you don't use struts-EL, use bean:define to define a script v Go Nico. Pham Anh Tuan a écrit : Hi all, I got a problem when I code like below: ">Go

Re: [HELP] What's wrong with my html:link syntax... :(

2005-03-16 Thread delbd
I thought, inside a jsp tag parameter (here the page parameter) the only substitutions allowed were in the following syntax: ${bean.property} <%= someExpression() %> and so to have your expected result you need to export the value of treetag:nodeId to a bean and then use that bean value in html

Re: [HELP] What's wrong with my html:link syntax... :(

2005-03-16 Thread Jan-Jaap Endenburg - Vera
Pham, To, it looks as if the quotes will not be interpreted correctly in the following part: "> The text 'tree.node' will not be inside quotes, contrarely to what I understand below that you would want. Perhaps you should use single quotes for the outside quotes and double quotes for the ins

Re: [HELP] What's wrong with my html:link syntax... :(

2005-03-16 Thread Pham Anh Tuan
Hi all, I got a problem when I code like below: ">Go I can not get value of if my code is incorrect, plz help me solve it. thanks Bowl - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECT

[HELP] What's wrong with my html:link syntax... :(

2005-03-15 Thread Pham Anh Tuan
Hi all, I got a problem when I code like below: ">Go if my code is incorrect, plz help me solve it. thanks Bowl