Struts 1.1 bean:write problem

2004-05-21 Thread Arunkumar Sreedharan
Ref : msg71420 Hi, I suppose the proble is very simple, just add the following things to the web.xml and struts-config.xml In Web.xml application com.xyz.ApplicationResources add the above entry below action org.apache.struts.action.ActionServlet It is no

RE: problem with module

2004-03-26 Thread Colm Garvey
I've just finished fixing what I think is the same problem you guys have been having i.e. switching modules on Struts 1.1 First, make sure you have the most recent release build of struts, as I had problems with earler 1.1 builds on weblogic 8.1 I originally started with the simple-m

Re: Struts tag problem (bean:message and bean:write)

2004-03-26 Thread Dmitrii CRETU
Hello Marco, maybe this will help (using struts-el): Dima. Thursday, March 25, 2004, 6:02:54 PM, you wrote: MM> Hi all, MM> I was wondering if anyone of you have a solution MM> For this dilemma. MM> I have a collectin of product DTOs to show on my jsp. One of MM> DTO's property is,

RE: Tile Problem

2004-03-25 Thread Caroline Jen
Huraah!! worked. I have been carrying this problem with me for quite some time. Finally got it. --- Avinash Gangadharan <[EMAIL PROTECTED]> wrote: > Try the code below. This should work. > > [CODE] > . > <%@ taglib uri="/WEB-INF/lib/st

RE: Tile Problem

2004-03-25 Thread Avinash Gangadharan
Users Mailing List Subject: Re: Tile Problem I followed your suggestion. Now, when I ran my application, I got article.Main.title???en_US.??? displayed in the browser. Still, cannot pick up the article.Menu.title=Registered Members in the application.properties (which is located in t

Re: Tile Problem

2004-03-25 Thread Caroline Jen
/> >>key="${titleKey}"/> > >> > >> > >> > >>Caroline Jen wrote: > >> > >> > >> > >>>In general, the tile works fine for me except the > >>>"title" piece. > >>> >

Re: Struts tag problem (bean:message and bean:write)

2004-03-25 Thread Daniel H A Lima
Marco, can you use bean:define and a scriptlet code inside bean:message ? Something like : --- Marco Mistroni <[EMAIL PROTECTED]> escreveu: > Hi all, > I was wondering if anyone of you have a solution > For this dilemma. > I have a collectin of product DTOs to show on my > jsp. One of

Re: Tile Problem

2004-03-25 Thread Tin Pham
> > > > > . > [/CODE] > > In my tiles-def.xml, I have: > > [CODE] > extends=".article.Base"> > value="article.Menu.title"/> >value="/article/content/menu.jsp"/> >value="/article/co

Tiles exception handling problem using controllerUrl

2004-03-25 Thread Paul Watson
Hi All, I may have found a bug in Tiles and exception handling when using the controllerUrl attribute within the tiles definition (fyi:xml format). In my case the controllerUrl points to a TilesAction subclass that collects some business data. The problem is thus; if it encounters an error

RE: Struts tag problem (bean:message and bean:write)

2004-03-25 Thread Paul McCulloch
Something like Paul > -Original Message- > From: Marco Mistroni [mailto:[EMAIL PROTECTED] > Sent: 25 March 2004 16:03 > To: 'Struts Users Mailing List' > Subject: Struts tag problem (bean:message and bean:write) > > > Hi all, >

Struts tag problem (bean:message and bean:write)

2004-03-25 Thread Marco Mistroni
Hi all, I was wondering if anyone of you have a solution For this dilemma. I have a collectin of product DTOs to show on my jsp. One of DTO's property is, let's say, the type, which is listed in number. (let's say, 10 or 20). ON the DTO I will have the value 10,20 ecc but on the jsp I have

Re: problem with module

2004-03-25 Thread ruben
Daniel wrote: If someone know the solution help us.. - Original Message - From: "Daniel" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, March 25, 2004 11:01 AM Subject: Re: problem with module Hi I have th

Re: problem with module

2004-03-25 Thread Daniel
If someone know the solution help us.. - Original Message - From: "Daniel" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Thursday, March 25, 2004 11:01 AM Subject: Re: problem with module > Hi I have the the same probl

Re: problem with module

2004-03-25 Thread Daniel
Hi I have the the same problem, but in other situation, I using popups windows of other modules, if you find the solution tell me , if I find the solution I tell you... - Original Message - From: "ruben" <[EMAIL PROTECTED]> To: "Struts Users Mailing List"

problem with module

2004-03-25 Thread ruben
use a SwitchAction. My problem is when load a form that is in the page resource,i've got a ServletException: Cannot retrieve mapping for action /GestionUbicacion, i try to prepend /mod1 but i've got the same error, does anybody know the way to slove thi

Re: Tile Problem

2004-03-24 Thread Jason Lea
If you are using JSTL you can do this: name="title"> if that doesn't work, try this: key="${titleKey}"/> Caroline Jen wrote: In general, the tile works fine for me except the "title" piece. [CODE] . . [/CODE] In my tiles-def.xml,

Re: Tile Problem

2004-03-24 Thread Caroline Jen
ece. > > > >[CODE] > >. > > > > > > > > > > > > > > > >. > >[/CODE] > > > >In my tiles-def.xml, I have: > > > >[CODE] > >>extends=".article.Base"> > > >v

Re: Tile Problem

2004-03-24 Thread Jason Lea
[/CODE] The problem is that my application displays article.Menu.title in the browser, instead of going to the application.properties (which is in the ApplicationRoot/WEB-INF/classes/resources folder) to get article.Menu.title=Registered Members What should I do? _

Tile Problem

2004-03-24 Thread Caroline Jen
In general, the tile works fine for me except the "title" piece. [CODE] . . [/CODE] In my tiles-def.xml, I have: [CODE] [/CODE] The problem is that my application displays article.Menu.title in the browser, instead of go

problem

2004-03-24 Thread ruben
i've got the next tag and in the actionConfig but i always get an error saying that attribute action does not defined in the tld? what could it be? thanks in advance. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additiona

Re: problem

2004-03-24 Thread ruben
It works well, thanks. try page="/SomeAction.do" On 24 Mar 2004, at 17:50, Ruben Pardo wrote: i've got the next tag and in the actionConfig but i always get an error saying that attribute action does not defined in the tld? what could it be? thanks in advance. _

Re: problem

2004-03-24 Thread Mark Lowe
try page="/SomeAction.do" On 24 Mar 2004, at 17:50, Ruben Pardo wrote: i've got the next tag and in the actionConfig but i always get an error saying that attribute action does not defined in the tld? what could it be? thanks in advance. ___ Yaho

problem

2004-03-24 Thread Ruben Pardo
i've got the next tag and in the actionConfig but i always get an error saying that attribute action does not defined in the tld? what could it be? thanks in advance. ___ Yahoo! Messenger - Nueva versión GRATIS Super Webcam, voz, caritas animad

UTF-8 encoding problem (Urgent, please help)

2004-03-22 Thread Betty Koon
Hi all, I ran into a problem of posting a hidden form field with a special UTF-8 characters and when it gets to the action and I looked at the action form had a different value, it's no longer containing UTF-8 characteres instead a '?" was replaced. In my jsp, I have to put <%

Problem with bean

2004-03-22 Thread Vishal Arora
Hi Can anybody me. I m not able to set values in my bean. My bean is having lots of get and set method they all return boolean values but the value i pass is not set it takes the default value. What's the problem does anybody ahve the clue to my problem -- "Don't worry about t

Re: Peculiar Session Problem Weblogic 8.1

2004-03-19 Thread Prakasan OK
I think the session objects are stored in web server's memory.So when u r trying to acces a session object stored in one web server from another the problem occurs. On Thu, 18 Mar 2004 sougata wrote : >Hi All > >I have a peculiar problem of session maintenence > >I have tw

RE: html:form focus problem

2004-03-19 Thread Brendan Richards
arvey [mailto:[EMAIL PROTECTED] Sent: 19 March 2004 15:29 To: Struts Users Mailing List Subject: RE: html:form focus problem I'm using the built in struts functionality so I don't have any control over where in the page the code goes, but looking at the source, the code is indeed below the for

RE: html:form focus problem

2004-03-19 Thread Colm Garvey
ruts classes and I'm trying not to digress too much from the norm. Any other suggestions? Colm -Original Message- From: Brendan Richards [mailto:[EMAIL PROTECTED] Sent: 19 March 2004 15:24 To: Struts Users Mailing List Subject: RE: html:form focus problem What about if you move the jav

RE: html:form focus problem

2004-03-19 Thread Brendan Richards
PROTECTED] Sent: 19 March 2004 15:18 To: Struts Users Mailing List Subject: html:form focus problem Anyone else noticed an issue whereby the focus javascript is popping up an error because it can't find the element to which the focus is attached? I've tested the code by re-invoking it after th

html:form focus problem

2004-03-19 Thread Colm Garvey
Anyone else noticed an issue whereby the focus javascript is popping up an error because it can't find the element to which the focus is attached? I've tested the code by re-invoking it after the page has fully loaded and it works just fine. The problem seems to be that for some very

Re: Problem in Deploying

2004-03-18 Thread Hari_s
probably the problem came from your deployment descriptor, such as welcome file list or the url. - Original Message - From: "Iwan Soenarto (IT)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 18, 2004 3:18 PM Subject: Problem in Deploy

Problem and solution for app deployed in root context

2004-03-18 Thread Brian Buchanan
I had a problem, and solved it while writing this but I'll send it anyway. I'm using Tomcat 5.0.19 and Struts 1.1 on W2K. My problems started when I moved my web application from a context, to the container root. Struts generated urls with double leading slash such as //Login.do wh

Re: indexed property problem

2004-03-18 Thread Axel Groß
went through the beanutils code to find the reason for the ArrayIndexOutOfBounds. found that it doesn't use my setter method, which would adjust the array size, but just my getter method (which returns an array, which isn't big enough); moving over to lists instead so i suppose my html was correct

Re: indexed property problem

2004-03-18 Thread Axel Groß
i was trying to figure out how to use indexed properties. in the end I want to pass a collection of name/value pairs to the form, which the user can edit and then check those and maybe pass the new values to business logic. at the moment i'm trying to do this with two String[], one called keys the

RE: Problem with

2004-03-18 Thread Scherger, Derek
Thanks! That actually works even better for what I'm trying to do. Cheers, Derek -Original Message- From: Paul, R. Chip [mailto:[EMAIL PROTECTED] Sent: Thursday, March 18, 2004 9:32 AM To: 'Struts Users Mailing List' Subject: RE: Problem with mailto:[EMAIL PROTECTED]

RE: Problem with

2004-03-18 Thread Paul, R. Chip
ek [mailto:[EMAIL PROTECTED] Sent: Thursday, March 18, 2004 10:17 AM To: '[EMAIL PROTECTED]' Subject: Problem with In my layout page, with this In my tiles-defs.xml Gives me this Can't insert page '/tiles/user/menu.jsp' : /tiles/user/menu.jsp java.io.FileNotFoun

Problem with

2004-03-18 Thread Scherger, Derek
Can anyone tell me why this In my layout page, with this In my tiles-defs.xml Gives me this Can't insert page '/tiles/user/menu.jsp' : /tiles/user/menu.jsp java.io.FileNotFoundException: /tiles/user/menu.jsp at jrun.jsp.JSPEngine.getPageState(JSPEngine.java:294) at jrun.jsp.Translator.tran

Re: indexed property problem

2004-03-18 Thread Mark Lowe
I thought you were trying to get a mapped property. What does the structure look like? I cant see what you're drilling to. On 18 Mar 2004, at 15:23, Axel Groß wrote: On 2004-03-18 at 15:10:47 +0100, Mark Lowe wrote: try doesnt exist in struts 1.1,right? should be evaluated anyway... i tried n

RE: LookupDispatchAction problem

2004-03-18 Thread Wendy Smoak
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > "Request[/uploadDocument] does not contain handler parameter named > submit" > i really don't know why this error appears. [I'm currently trying to convince the spam filter to cough up all the messages it quarantined since 3pm yesterday, so th

LookupDispatchAction problem

2004-03-18 Thread carsten.c
s an error message. If the data is valid then i get the following error message. "Request[/uploadDocument] does not contain handler parameter named submit" i really don't know why this error appears. i've searched the archives the whole day but found nothing that solves my problem

Re: SOLVED: Multibox problem when defaulted all on

2004-03-18 Thread as as
could you post the snippets in the classes.. it would be a good learning experience for us... Thanks! Wiebe de Jong <[EMAIL PROTECTED]> wrote: Hey David, thanks for the clue: When nothing is selected, the browser doesn't send anything back. So, my hack to this problem is to always hav

Re: SOLVED: Multibox problem when defaulted all on

2004-03-18 Thread as as
could you post the snippets in the classes.. it would be a good learning experience for us... Thanks! Wiebe de Jong <[EMAIL PROTECTED]> wrote: Hey David, thanks for the clue: When nothing is selected, the browser doesn't send anything back. So, my hack to this problem is to always hav

Re: SOLVED: Multibox problem when defaulted all on

2004-03-18 Thread as as
could you post the snippets in the classes.. it would be a good learning experience for us... Thanks! Wiebe de Jong <[EMAIL PROTECTED]> wrote: Hey David, thanks for the clue: When nothing is selected, the browser doesn't send anything back. So, my hack to this problem is to always hav

Re: SOLVED: Multibox problem when defaulted all on

2004-03-18 Thread as as
could you post the snippets in the classes.. it would be a good learning experience for us... Thanks! Wiebe de Jong <[EMAIL PROTECTED]> wrote: Hey David, thanks for the clue: When nothing is selected, the browser doesn't send anything back. So, my hack to this problem is to always hav

Re: indexed property problem

2004-03-18 Thread Axel Groß
On 2004-03-18 at 15:10:47 +0100, Mark Lowe wrote: > try > > doesnt exist in struts 1.1,right? should be evaluated anyway... i tried now -> still should that version work? if so it doesnt seem to be the EL part which is amiss. > > > > > On 18 Mar 2004, at 14:49, Axel Groß wrote: > > >

Re: indexed property problem

2004-03-18 Thread Mark Lowe
try On 18 Mar 2004, at 14:49, Axel Groß wrote: Hi Mark! thanks for your answer testPrimKey[${ctr}] evaluates to as it should to testPrimKey[0], testPrimKey[1].. ( i did a stupid mistake in my code ), On 2004-03-18 at 13:25:22 +0100, Mark Lowe wrote: ${testPrimKey[ctr]} that actually eval

indexed property problem

2004-03-18 Thread Axel Groß
Hi Mark! thanks for your answer > >testPrimKey[${ctr}] evaluates to as it should to testPrimKey[0], testPrimKey[1].. ( i did a stupid mistake in my code ), On 2004-03-18 at 13:25:22 +0100, Mark Lowe wrote: > ${testPrimKey[ctr]} that actually evaluates to nothing but ${mappedTest.testPrimKey[c

Peculiar Session Problem Weblogic 8.1

2004-03-18 Thread sougata
Hi All I have a peculiar problem of session maintenence I have two servers one runing TomCat and the other running Weblogic . On on of the pages presented by the TomCat server there exists a HREF link to another page on the Weblogic Server. When the user clicks on this link then the page from

Re: Problem in Deploying

2004-03-18 Thread Max Cooper
The app probably did not deploy. Consult the server log to figure out why. -Max - Original Message - From: "Iwan Soenarto (IT)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 18, 2004 12:18 AM Subject: Problem in Deploying HTTP Status 404 -

Problem in Deploying

2004-03-18 Thread Iwan Soenarto (IT)
HTTP Status 404 - /StrutsNetBeansSample/TestForm.jsp _ type Status report message /StrutsNetBeansSample/TestForm.jsp description The requested resource (/StrutsNetBeansSample/TestForm.jsp) is not available. _ Apache Tomcat/4.1.29 This is the error I got when I deploy the war f

SOLVED: Multibox problem when defaulted all on

2004-03-17 Thread Wiebe de Jong
Hey David, thanks for the clue: When nothing is selected, the browser doesn't send anything back. So, my hack to this problem is to always have at least one of the checkboxes checked. To implement this hack, I changed the following: Form: private String[] marketingItems = {&q

Re: Multibox problem when defaulted all on

2004-03-17 Thread David Erickson
be populated, and if there are none, it will stay at none. -David > > Wiebe > > -Original Message- > From: David Erickson [mailto:[EMAIL PROTECTED] > Sent: Wednesday, March 17, 2004 12:28 PM > To: Struts Users Mailing List > Subject: Re: Multibox problem when

RE: Multibox problem when defaulted all on

2004-03-17 Thread Wiebe de Jong
Wednesday, March 17, 2004 12:28 PM To: Struts Users Mailing List Subject: Re: Multibox problem when defaulted all on Actually according to Ted inside the reset method your code should be: marketing = new String[] {}; HTH, David - Original Message - From: "David Erickson"

RE: Multibox problem when defaulted all on

2004-03-17 Thread Wendy Smoak
the form is created the > first time its holding the default values. If you keep your forms in session scope, this might be a problem if the user "starts over" with this form at some point. If there's already an instance of the form in session scope, it will be reused, so the

Re: Multibox problem when defaulted all on

2004-03-17 Thread David Erickson
rch 17, 2004 1:22 PM Subject: Re: Multibox problem when defaulted all on > I'm still a little hazy on when reset is called on forms, but you may want > to try moving > marketing = marketingItems; > > to the forms constructor, so when the form is created the first time its > ho

Re: Multibox problem when defaulted all on

2004-03-17 Thread David Erickson
ssage - From: "Wiebe de Jong" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, March 17, 2004 1:14 PM Subject: Multibox problem when defaulted all on > I am having a problem with multibox. I need to have a set of

Multibox problem when defaulted all on

2004-03-17 Thread Wiebe de Jong
I am having a problem with multibox. I need to have a set of checkboxes to default on in my form. I found and followed Ted Husted's "Struts Tip #7 <http://husted.com/struts/tips/007.html> - Use Multibox to manage checkboxes" and everything works well, except in one cond

Problem with Tiles

2004-03-17 Thread steve . mullarkey
Hi I am having a problem with a simple Tiles based site using the classicLayout. The problem is that the menu only appears on the first page - if I select a link to another page the footer,body and copyright are rendered but the menu is missing. Here is the tiles-defs.xml ; http

Re: Re: Drop box problem please help

2004-03-17 Thread ddd ddd
( ActionMapping map,HttpServletRequest req) >{ >ActionErrors errors=super.validate(map,req); >if(student == 0) >{ >System.out.println("HELLO blah "+student); >errors.add("student", new ActionError("IDProblem")); >} >return errors; >} // end o

Re: Drop box problem please help

2004-03-16 Thread as as
} // end of action errors }// end of Student from class "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd";> propertyInfo.properties hello=This is test page start=This is first page of the

date validation problem

2004-03-16 Thread Jignesh Patel
On Tuesday 16 March 2004 21:03, Jignesh Patel wrote: > When ever I am using method isDate of GenericValidator I am getting > following error. Even for my date format 12-DEC-2004 I am getting same > exception. I coudn't able to figure out what is the problem

Re: problem with adding ActionMessage to ActionErrors

2004-03-15 Thread yoge
Use * * instead of ** Bradford M. Ayers wrote: I noticed in the documentation that ActionError is deprecated, so I was trying to be a good doobie and use ActionMessage like the docs say to. So in my code, when I go from this: errors.add( ActionErrors.GLOBAL_ERROR, new ActionMessage( "

Problem in deploying the Struts Examples war in tomcat.

2004-03-15 Thread Biswajit Jena
Hi Frnds,       I downloaded the struts examples from apache and tried to deploy it on tomcat 5.0.     Got a error.     SEVERE: Parse error in application web.xml java.net.UnknownHostException: java.sun.com     Can anyone tell me how to solve it.  

RE: ClassPath Problem

2004-03-14 Thread Nick Faiz
EMAIL PROTECTED] Sent: Monday, 15 March 2004 5:21 PM To: Struts Users Mailing List Subject: Re: ClassPath Problem If I place my classes in WEB-INF\classes folder it works fine.. My question is whether it is possible to put the classes in some other folder and give classpath to that folder? I have

Re: ClassPath Problem

2004-03-14 Thread Prakasan OK
class...Any idea why this happens? On Mon, 15 Mar 2004 yoge wrote : >Place your classes in WEB-INF\classes folder. > >Prakasan OK wrote: > >>Hi, >> >>I am a new bie to struts..I have a problem with my classpath. >>Instead of putting my ActionForm and Action cla

Re: ClassPath Problem

2004-03-14 Thread yoge
Place your classes in WEB-INF\classes folder. Prakasan OK wrote: Hi, I am a new bie to struts..I have a problem with my classpath. Instead of putting my ActionForm and Action class in the classes folder of my web application I am getting 'ClassnotFoundError'. I have put the required c

Drop box problem please help

2004-03-14 Thread ddd ddd
ruts-config_1_0.dtd";> propertyInfo.properties hello=This is test page start=This is first page of the application info=This page stores contains text files and drop downs error=There is problem please have a look submit=ADD TO DATABASE clear=Clear t

ClassPath Problem

2004-03-14 Thread Prakasan OK
Hi, I am a new bie to struts..I have a problem with my classpath. Instead of putting my ActionForm and Action class in the classes folder of my web application I am getting 'ClassnotFoundError'. I have put the required clases in a folder and edited the setclasspath.bat to put the cla

Problem while accessing modules via multiple struts config files

2004-03-12 Thread Sudhakar G
help me out to solve the problem. web.xml: action org.apache.struts.action.ActionServlet config /WEB-INF/struts-config.xml config/prg

Re: Struts, Tiles, javax.servlet.Filter: Redirect Problem

2004-03-12 Thread Mark Lowe
ses on the request, and lets the request through to be checked but whatever the next filter is. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/servletapi/javax/ servlet/FilterChain.html On 12 Mar 2004, at 12:29, Christian Schlaefcke wrote: I tried this, but had a problem with an IllegalStat

Re: Struts, Tiles, javax.servlet.Filter: Redirect Problem

2004-03-12 Thread Christian Schlaefcke
; - Original Message - > From: "Christian Schlaefcke" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, March 12, 2004 9:59 AM > Subject: Struts, Tiles, javax.servlet.Filter: Redirect Problem > > >> Hi Folks, >> >> This is the situ

Re: Struts, Tiles, javax.servlet.Filter: Redirect Problem

2004-03-12 Thread Christian Schlaefcke
I tried this, but had a problem with an IllegalStateException: response already commited. This happens when I run chain.doFilter(...) afterwards. When I leave out this step I don´t get forwarded. So how does it work? Regards, Chris > try > > request.getRequestDispatcher("/myACtio

Re: Struts, Tiles, javax.servlet.Filter: Redirect Problem

2004-03-12 Thread Niall Pemberton
, 2004 9:59 AM Subject: Struts, Tiles, javax.servlet.Filter: Redirect Problem > Hi Folks, > > This is the situation: > A struts application that uses tiles. A user needs to logon to work with > the app. A logged-on user has a value object "userSessionVO" with some > authe

Re: Struts, Tiles, javax.servlet.Filter: Redirect Problem

2004-03-12 Thread Mark Lowe
want to use a Filter. That Filter looks in the session for the usersession attribute and if not found redirects to the login page. The problem: The filtering itself works fine, just when the filter tries to redirect my application throws an java.net.SocketException: Conection aborted by peer

Struts, Tiles, javax.servlet.Filter: Redirect Problem

2004-03-12 Thread Christian Schlaefcke
ibute. To prevent a bad guy catching an url from an logged-on user and call the corresponding action directly from his browser I want to use a Filter. That Filter looks in the session for the usersession attribute and if not found redirects to the login page. The problem: The filtering itself works

Re: throws exception [problem solved]

2004-03-08 Thread Max Kovalenkov
You're absolutely correct. Thank you! And thanks to as as for answering! Max Hubert Rabago wrote: If you're using 1.1, try passing ActionError objects instead of ActionMessage objects. The syntax should be the same, you'll just use a different object. Hubert --- Max Kovalenkov <[EMAIL PROTECTED]

html:multibox with DynaValidatorForm reset problem

2004-03-08 Thread Lucas Claude
Hello, As I'm using html:multibox in my JSP and need to reset the selected items, I've extended the DynaValidatorForm and written a reset() method to do this. Although the reset() method is called, the list of selected items is never reseted. What did I missed? Thanks for help. It seems the list

Re: Problem with Map-backed ActionForm and Key value

2004-03-07 Thread Craig Tataryn
Heh, Brian you were having the same problem I was. I posted yesterday with subject: "[RT Expr] for html:text property" Craig M replied quoting the JSP spec (Third download button on page: http://www.jcp.org/aboutJava/communityprocess/final/jsr053/), to quote section JSP.2.13.1 Re

Re: Problem with Map-backed ActionForm and Key value

2004-03-07 Thread Geeta Ramani
Hi Brian: Here's what i suggested (I am wondering if i misunderstand your problem maybe..?): *First* completely evaluate your key value outside your html:text tag. Then say: Notice how your property does not have to access the hashmap inside the tag.. So can you do that in your situ

Re: Problem with Map-backed ActionForm and Key value

2004-03-07 Thread Daniel Henrique Alves Lima
Try <% String propertyName = "value(" + myId + ")"; %> Brian Boyle wrote: Hi!, Thanks for the quick response. I have already tried declaring myId as String myId = value.getCandId();. I then put myId as an argument in but the key value is still being taken literally as <%=myId%>. I don't kno

Re: Problem with Map-backed ActionForm and Key value

2004-03-07 Thread Brian Boyle
able to pass in an argument as long as it is of type String? Brian From: "Geeta Ramani" <[EMAIL PROTECTED]> Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]> To: Struts Users Mailing List <[EMAIL PROTECTED]> Subject: Re: Problem with Map-backed Ac

Re: Problem with Map-backed ActionForm and Key value

2004-03-07 Thread Geeta Ramani
Hey Brian: Have you tried evaluating the keyValue ahead of time? As in: <%String myKey = ..blah-blah.. using userId;%> and then: Give it a shot if you haven't.. Good luck! Geeta Brian Boyle wrote: > Hey, I am using a map-backed ActionForm and so in my JSP code I have a > tag that looks like

Problem with tag

2004-03-07 Thread Brian Boyle
Hi! I am writing an application with JSPs and I am using the struts framework. I am also using Struts JSP Tags in my JSP. I am having a problem with the tag. I have a do/while loop embedded in my JSP as a scriplet. Ths scriplet is inside my tags and it is giving me the following 3 errors

Problem with Map-backed ActionForm and Key value

2004-03-07 Thread Brian Boyle
Hey, I am using a map-backed ActionForm and so in my JSP code I have a tag that looks like this: The reason I have a scriplet in there is because I have a dynamic form and the value of the key changes all the time. I want the value of the key to be the "id" of the user logged in. However, th

Re: Tiles attributes problem

2004-03-06 Thread Adam Hardy
tld" prefix="tiles" %> Now here's the problem, my controller action basically prepares its view by doing some logic and placing things in the request etc. My editUsers.jsp (the body content one) relies on the tiles attribute path for links to other webpag

Tiles attributes problem

2004-03-05 Thread David Erickson
First the sample code: XML defintion: my editUsers.jsp <%@ taglib uri="struts-tiles.tld" prefix="tiles" %> Now here's the problem, my controller action basically prepares its view by doing some logic and placing things in the requ

Re: Using ApplicationResources.properties problem

2004-03-05 Thread Billy Ng
from MailFrontier, Inc. http://info.mailfrontier.com - Original Message - From: "Vincent Lin" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>; "Billy Ng" <[EMAIL PROTECTED]> Sent: Thursday, March 04, 2004 10:06 PM Subje

Re: IFrame and resources bundle problem

2004-03-05 Thread Hubert Rabago
or displaying 2 screen. The problem > is when i display the data in the iframe set, the resource bundle seem not > working n can not find the key anymore, pls help... > > in my Tile config: > > > > > > > in my up

IFrame and resources bundle problem

2004-03-05 Thread news.gmane.org
Hi, I am using struts, tile and iframe for displaying 2 screen. The problem is when i display the data in the iframe set, the resource bundle seem not working n can not find the key anymore, pls help... in my Tile config: in my updateFrameSet.jsp

Re: Problem in iterating

2004-03-04 Thread Vishal Arora
Thanks to u all the problem is solved it has started working Thanks very much will keep on disturbing whenever wherever i get stuck. Vishal. Daniel Henrique Alves Lima wrote: > Had you import the "logic" taglib ? > > Vishal Arora wrote: > > >earlier i

Re: Problem in iterating

2004-03-04 Thread Vishal Arora
nge your > attitude.. > > -Original Message- > From: Vishal Arora [mailto:[EMAIL PROTECTED] > Sent: Friday, March 05, 2004 11:05 AM > To: [EMAIL PROTECTED]; Gandhi, Snehal Kishore (Cognizant); > [EMAIL PROTECTED] > Subject: Re: P

Re: Using ApplicationResources.properties problem

2004-03-04 Thread Vincent Lin
ssage - > From: "Vincent Lin" <[EMAIL PROTECTED]> > To: "Struts Users Mailing List" > <[EMAIL PROTECTED]>; "Billy Ng" > <[EMAIL PROTECTED]> > Sent: Thursday, March 04, 2004 7:34 PM > Subject: Re: Using Application

Re: Problem in iterating

2004-03-04 Thread Vishal Arora
yes i have already set my bean in session in my Action class and my bean is a simple java bean Daniel Henrique Alves Lima wrote: > If the bean is an ActionForm, you must use the name of the form in the > struts-config.xml. > If your bean is only a plain Java Bean, you must add it to request, >

Re: Problem in iterating

2004-03-04 Thread Daniel Henrique Alves Lima
If the bean is an ActionForm, you must use the name of the form in the struts-config.xml. If your bean is only a plain Java Bean, you must add it to request, session, page or application scopes (using request.setAttribute() or session.setAttribute, for instance)... Vishal Arora wrote: it's sti

Re: Problem in iterating

2004-03-04 Thread Vishal Arora
Friday, March 05, 2004 11:05 AM > To: [EMAIL PROTECTED]; Gandhi, Snehal Kishore (Cognizant); > [EMAIL PROTECTED] > Subject: Re: Problem in iterating > > i have used like this as u and Gandhi have told. > > > > > > > but s

RE: Problem in iterating

2004-03-04 Thread Gandhi, Snehal Kishore (Cognizant)
Gandhi, Snehal Kishore (Cognizant); [EMAIL PROTECTED] Subject: Re: Problem in iterating i have used like this as u and Gandhi have told. but still it's giving error javax.servlet.ServletException: Cannot find bean wbs in any scope Help ou

Re: Problem in iterating

2004-03-04 Thread Paul Stanton
have you set an attribute called "wbs" on any scope? ie, is there an attribute called "wbs" on the request? pageContext? session? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Problem in iterating

2004-03-04 Thread Vishal Arora
i have used like this as u and Gandhi have told. but still it's giving error javax.servlet.ServletException: Cannot find bean wbs in any scope Help out . Thanks, Daniel Henrique Alves Lima wrote: > Ok. > > If you put your bean in any

Re: Using ApplicationResources.properties problem

2004-03-04 Thread Billy Ng
MailFrontier, Inc. http://info.mailfrontier.com - Original Message - From: "Vincent Lin" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>; "Billy Ng" <[EMAIL PROTECTED]> Sent: Thursday, March 04, 2004 7:34 PM Subject: R

Re: Problem in iterating

2004-03-04 Thread Paul Stanton
actually, misread. ghandi's is for a print. if you need to use fields and write back to the form, you'll have to do what i said in the first place. i'm sure there a tut somewhere? - To unsubscribe, e-mail: [EMAIL PROTECTED] For

  1   2   3   4   5   6   7   8   9   10   >