Re: Tiles: Passing a bean to tiles in a definition file

2006-07-06 Thread Antonio Petrelli
Dan Langer ha scritto: From a design POV, it seems odd that a piece of functionality (the beanName attribute) would be there when invoked one way (JSP), but not when invoked another (XML definition). I agree with you, I think that this functionality isn't there for technical reasons, simply

Form 'confStatForm' not found for locale 'en_US'

2006-07-06 Thread kumar.vinodh
H i *, I am getting the below message for every request. Form 'confStatForm' not found for locale 'en_US' . Can someone tell what to do for this??? Regards, Vinodh. The information contained in this electronic message and any attachments to this message are intended for the exclusive

Re: how to maintain state of jsp

2006-07-06 Thread Medicherla Lakshmi
Thank you for the information. I could solve it. Paul Benedict <[EMAIL PROTECTED]> wrote: It doesn't matter what kind of form you use. Just turn automatic validation off. That's the problem. You will no hook to reset any form values if Struts does everything for you. Also, if you don't have

RE: Tiles: Passing a bean to tiles in a definition file

2006-07-06 Thread Dan Langer
Perhaps 'bean' is too strong a word - they'd be lists of lists, with the idea that the table can be generated using several logic:iterate tags, to maximize reusability. The data itself would be packaged into this "format" in the controller, so that it could be used with this table. -Original M

[SOLVED]Re: How to Retrieve Parameters Passed Along with c:url in a Struts Action Class?

2006-07-06 Thread Caroline Jen
Hi Laurie, Thanks for your continuing support. The code that I showed was correct. It turned out that the problem stems from somewhere else. I apologize for wasting your time. -Caroline --- Laurie Harper <[EMAIL PROTECTED]> wrote: > Caroline Jen wrote: > > In my JSP, I passed

Re: html:text

2006-07-06 Thread Monkeyden
Who can tell by this documentation? How can both "if any" [corresponding bean property] and [Required] both be true? Name of this input field, and the name of the corresponding bean property if value is not specified. The corresponding bean property *(if any)* must be of type String. *[Required]

Re: FW: html:text

2006-07-06 Thread Laurie Harper
Does the 'Form' form bean have a property 'hrs'? How is it declared? What is the type and base type (parent class) of the form bean? We really need to see the relevant parts of your struts-config.xml (form bean declaration and action mappings) to tell what's happening. L. fea jabi wrote: can

Re: checkbox value out of map

2006-07-06 Thread Laurie Harper
Brian Long wrote: Hi folks, I've got a Map that I'm using to render a list of checkboxes in the jsp, thus: --- --- When the form is submitted, where are the "checked" values? You should end up with N request parameters named 'ke

Re: Short Validation Pattern Question

2006-07-06 Thread Laurie Harper
Hmm, your options seem to be H, Hour in Day (0-23) or k, Hour in Day (1-24). There's no format specifier that's inclusive from 0-24. You may need to use a custom validator to express this constraint. L. starki78 wrote: Ciao Julian, Yes it is right! HH:mm is the right pattern for that But I w

Re: problem with modules : Cannot retrieve mapping

2006-07-06 Thread Laurie Harper
niels wrote: have 2 modules: moduleA and moduleB in struts-config.xml from moduleA: where testA is located on the filesystem in : /moduleA/testA.jsp in struts-config.xml from moduleB: in testB.jsp & testA.jsp if have: search whe I call /moduleB/moduleBtest.do --> form is

Re: How to Retrieve Parameters Passed Along with c:url in a Struts Action Class?

2006-07-06 Thread Laurie Harper
Caroline Jen wrote: In my JSP, I passed a number of parameters inside the JSTL core c:url tag. This is the way I coded: Click How do I retrieve the respective values of param1 and param2 in MyAction.java? String parameter1 = request.getParameter( "param1" ); String parameter2 = request.ge

How to use jsptags for pagination in struts ??

2006-07-06 Thread A. Lotfi
Hi , I am trying to use pagination in struts , but when I put the tag in my jsp page , the page is blanck : here is my jsp page : http://www.w3.org/TR/html4/loose.dtd";> <%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@ taglib uri="/WEB-INF/pager-taglib.tld" prefix="p

Re: Tiles: Passing a bean to tiles in a definition file

2006-07-06 Thread Monkeyden
When you say different beans, will they have different accessor methods? Even if the bean has a collection, you ultimately have to call accessor methods to build the table, save introspection. On 7/6/06, Dan Langer <[EMAIL PROTECTED]> wrote: Antonio, Thanks for the suggestion. From a design PO

RE: Tiles: Passing a bean to tiles in a definition file

2006-07-06 Thread Dan Langer
Antonio, Thanks for the suggestion. From a design POV, it seems odd that a piece of functionality (the beanName attribute) would be there when invoked one way (JSP), but not when invoked another (XML definition). Regardless of that, I'm curious about the suggestion you've made. My goal was to cre

RE: Newbie question - JSP text box formatting

2006-07-06 Thread Albrecht Leiprecht
You could try something like this <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt"; %>  EUR Rgds albi -Original Message- From: Pillay, Kiren KN [mailto:[EMAIL PROTECTED] Sent: Thursday, July 06, 2006 4:33 PM To: user@struts.apache.org Subject: Newbie question - JSP text box f

Re: Tiles W/JSP Sans Struts

2006-07-06 Thread Wendy Smoak
On 7/6/06, Jeff Conrad <[EMAIL PROTECTED]> wrote: My goal was to form a complete example of a working Tiles/JSP example independently of Struts. However the links are dead in the current version. Also, I believe some of the documentation is dated, and some of what comes back from a GIS are lefto

Re: Tiles W/JSP Sans Struts

2006-07-06 Thread Greg Reddin
Hi Jeff, I'd recommend taking a look at Standalone Tiles. Basically, Struts-Tiles is Tiles 1.0 and Standalone Tiles is Tiles 2.0. Honestly, I'm not putting any efforts into improving Tiles 1.0, but focusing on making 2.0 stable and ready. You can search for Standalone Tiles on the dev l

Re: Rendering an array as a list box

2006-07-06 Thread Adam Gordon
Yea, that's what I had. The problem, as usual, was programmer error. I had assumed that the array property was properly being set on the request when in fact it wasn't. I was debugging it with Eclipse and it appears that certain types of variables (static) don't show up in the variables wind

Design question

2006-07-06 Thread fea jabi
have a table in one of the columns have . not all rows have the . need to validate the user entered values in the using validator.xml. Created an object.java file which holds the row data of the table. Created a list of these row objects. Not sure how to proceed now. should I put the Lis

Newbie question - JSP text box formatting

2006-07-06 Thread Pillay, Kiren KN
Hi I'm new to struts and I have a question. I have textboxes that represent currency. I want the data of the JSP to be formatted to show 2 decimal places after the comma. I don't want to use locales for the application. Whats the best way to achieve this? Kiren Pillay South Africa

checkbox value out of map

2006-07-06 Thread Brian Long
Hi folks, I've got a Map that I'm using to render a list of checkboxes in the jsp, thus: --- --- When the form is submitted, where are the "checked" values? Thanks in advance for any assistance. -bml -- Brian M. Long Middleware

RE: Reload Problem with IE

2006-07-06 Thread George.Dinwiddie
Use the pattern of redirecting to a GET after POST. In other words, use the POST to perform the action, and then redirect to a GET to show the current status after performing the action. > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 06, 2

RE: Tiles W/JSP Sans Struts

2006-07-06 Thread George.Dinwiddie
Standalone Tiles (as opposed to Struts Tiles) seems to be a nomad, at the moment. It seems to be currently residing at http://svn.apache.org/repos/asf/struts/sandbox/trunk/tiles/ While waiting for a more official status report, you might want to read these messages: * http://forums.opensymphony.

Re:Short Validation Pattern Question

2006-07-06 Thread starki78
Ciao Julian, Yes it is right! HH:mm is the right pattern for that But I would like to forward another question to the forum: Which pattern to use if the time-span is between 00:00 and 24:00? Starki -- Initial Header --- >From : "Julian Tillmann" [EMAIL PROTECTED] To

Reload Problem with IE

2006-07-06 Thread Srinivas_Biragoni
Hi All, I am using struts 1.2.8 , the problem is after adding a record in my web page(Internet Explorer), when i right click and refresh the page it's giving duplicate record exception , i am using in my JSP , if i put GET in place of POST i am not getting the problem. But i want to us

Short Validation Pattern Question

2006-07-06 Thread Julian Tillmann
Hi I hava two fields where a user should enter a time between 00:00 and 23:59. Is it right that HH:mm is the right pattern to check this? Thanks a lot Julian -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer -

Re: Need help on Websphere configuration.

2006-07-06 Thread Martin Gainty
Good Morning Senthil- The answer to your query is Yes you can develop Struts web applications with Websphere 6.1..(so the justification for contact can be made if you are developing Struts Apps) I would encourage you to look at this high level tutorial from IBM to get a high-level view for Webs

problem with modules : Cannot retrieve mapping

2006-07-06 Thread niels
have 2 modules: moduleA and moduleB in struts-config.xml from moduleA: where testA is located on the filesystem in : /moduleA/testA.jsp in struts-config.xml from moduleB: in testB.jsp & testA.jsp if have: search whe I call /moduleB/moduleBtest.do --> form is displayed wh

FW: html:text

2006-07-06 Thread fea jabi
can somene help me with this please? how to do validation in validator.xml test (*this* >= 0) Where hrs is the attribute in the row object of the ta

Tiles W/JSP Sans Struts

2006-07-06 Thread Jeff Conrad
My goal was to form a complete example of a working Tiles/JSP example independently of Struts. However the links are dead in the current version. Also, I believe some of the documentation is dated, and some of what comes back from a GIS are leftover descriptions from an older version of Tiles. I h

Re: how to maintain state of jsp

2006-07-06 Thread Paul Benedict
It doesn't matter what kind of form you use. Just turn automatic validation off. That's the problem. You will no hook to reset any form values if Struts does everything for you. Also, if you don't have a form, then you can't do this at all. You need something to actually modify. Medicherla Laks

Re: [Shale] Validation...

2006-07-06 Thread Rodrigo Barreiros
Craig, I already tried to encode the file as you sad. Didn't work. Page encoding is correct. Rodrigo -- View this message in context: http://www.nabble.com/-Shale--Validation...-tf1896745.html#a5198286 Sent from the Struts - User forum at Nabble.com. -

RE: Need help on Websphere configuration.

2006-07-06 Thread Marco Mistroni
Hi, As you were reminded, this is a Struts Mailing lists But.. well, assumed that you have installed rad/was ON your localhost, If you connect to http://localhost:9090/admin you get to administative console I think you don't need to enter any username/password >From there, you can see appl

RE: Need help on Websphere configuration.

2006-07-06 Thread Swapan Mazumdar
Hi Senthil, Firstly, it looks like you are a beginner with websphere app server and you have plenty of questions to ask. Secondly, isn't this a struts framework that you need to be reminded. Such questions should be posted to a websphere specific forum. Check the help/documentation or google it

Re: How to pass request attribute to a JSP

2006-07-06 Thread Antonio Petrelli
Pankaj Gupta ha scritto: Hi All, I want to use same JSP for reading and editing - meaning that if I pass an attribute like read=true all text fields should be disabled. How can I do it? How can I specify a parameter in my forward like contextRelative="false"/> contextRelative="false"/> If y

Need help on Websphere configuration.

2006-07-06 Thread Senthilkumar SN \(HCL Capital Market Services\)
Hi, I installed the websphereV6.1 trial version. But I not done any wizard configuration. Now I can do start and stop the server and connecting to Console also. After that I struggling on the following issue. Can any body to help me ) How to access the built in 'Samples' applicati

Re: Cannot find examples.war

2006-07-06 Thread Kumar deepak
Hi, Please download working stuts example from http://www.roseindia.net/struts Regards deepak Jim Reynolds <[EMAIL PROTECTED]> wrote: Ever since the web site redesign, I cannot find the to get started with. Anyone know where it is? Been searching struts site for a bit. No luck. Th

How to pass request attribute to a JSP

2006-07-06 Thread Pankaj Gupta
Hi All, I want to use same JSP for reading and editing - meaning that if I pass an attribute like read=true all text fields should be disabled. How can I do it? How can I specify a parameter in my forward like contextRelative="false"/> contextRelative="false"/> regards, Pankaj -

Re: Tiles: Passing a bean to tiles in a definition file

2006-07-06 Thread Antonio Petrelli
Dan Langer ha scritto: When invoking a tile through a JSP, one can do a to bring a bean named gridC into the tile (under the name headerInfo), where said bean was defined elsewhere (with a request.setAttribute("gridC",grid). Here is what beanName and beanScope attributes are for! How