Message-
> From: Antonio Petrelli [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 10, 2008 9:31 AM
> To: Struts Users Mailing List
> Subject: Re: Struts 1 Personal Application Resource
>
> 2008/9/10 Marcello Savino <[EMAIL PROTECTED]>:
> >
> >
Hi everybody.
I have to menage a string table (something like the application
resource), that is a "customer customized" table.
The same resource message could be different, depending on the
installation.
I figure out some solution (xml file, DB table) but i'd like to know if
there something in t
Ah ah yes vi is probably the "best"
But if you need some more sophisticated like a WYSIWYG supporting more
than one DTD you can try AMAYA (www.W3C.org).
> -Original Message-
> From: Al Sutton [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, February 05, 2008 1:25 PM
> To: Struts Users Mai
Very intersting but (if is possible) i don't want to use a DynaActionForm .
I've tryied to modify my jsp code setting the property indexed="true" but the
value in the bean remain unchanged. I think i'll need to add code on my
ACtionForm but not idea about the code
Ciao
Let's say this is my jsp code:
Where "list" is a Bean array. The Bean class is "myBean" and has two
properties (firstField, secondField). I need the changes made in the
rows to be stored in the ActionForm.list[index].
You know the bes
In my jsp i've a code like this:
The code works good. But the generated url are in this form:
http://localhost:8080/myApp/myAction.do?id=161298&year=2005
Instead of
http://localhost:8080/myApp/myAction.do?id=161298&year=2005
As required by the DTD declared
Bean.getCode().
myBeanCode is only a name for the current bean in the select tag
>third : your form property "aBean" is an array & u use a select ( which
a single property)
Do you mean i have to specify the attribute name="aBean"instead of
property="aBean" ?
Tha
Please excuse me but i try again ... (hope will never die)
Hi all, i've the following problem using the tag
myBean Class:
public class myBean implements java.io.Serializable{
private Integ
Hi all, i've the following problem using the tag
myBean Class:
public class myBean implements java.io.Serializable{
private Integer code;
private String descr;
pu
Hi all, i've the following problem using the tag
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
My sight is getting worst so fast ! Sob !
Of course , now it works!
Thanks a lot to everybody !
Marcello Savino
ALDEBRA S.p.A.
tel. 0461302441
-Messaggio originale-
Da: Antonio Petrelli [mailto:[EMAIL PROTECTED]
Inviato: mercoledì 4 aprile 2007 14.43
A: Struts Users Mailing List
Hi all,
In a jsp file i need to iterate over an ArrayList of javabean :
The bean:
public class myBean implements java.io.Serializable{
private Integer code;
private String name;
public Integer getCode(){return code;}
public String getName(){return name;}
d before insert ? Verify it works and you
have the right to execute in the new enviroment.
Marcello Savino
ALDEBRA S.p.A.
tel. 0461302441
-Messaggio originale-
Da: Krishna, Hari (FTT-CInternet) [mailto:[EMAIL PROTECTED]
Inviato: venerdì 9 febbraio 2007 14.56
A: user@struts.apache.org
O
What i do (not sure is the best way but it works):
Every form has en errormessages text area
The forms classs inherit from a super class with getter and setter methods for
the textarea
In the action class when an exception is raised i fill the form textarea with
the error messages.
Hih
Marcel
Are you sure the class containg the methods "getNombre" is istanziated ?
Marcello
-Messaggio originale-
Da: Agustín [mailto:[EMAIL PROTECTED]
Inviato: mercoledì 31 gennaio 2007 10.45
A: user@struts.apache.org
Oggetto: No getter method for property
Hello.
I have a problem with Struts.
application).
Thanks
Marcello Savino
ALDEBRA S.p.A.
tel. 0461302441
-Messaggio originale-
Da: Christopher Schultz [mailto:[EMAIL PROTECTED]
Inviato: venerdì 26 gennaio 2007 19.59
A: Struts Users Mailing List
Oggetto: Re: R: Error : request.getReader()
-BEGIN PGP SIGNED MESSAGE-
Hash
>Dave Newton wrote:
>Actually it was Chris that got it, I was still stupid until he said
that
:)
>You may want to consider doing something in a custom request processor.
Marcello Savino:
Not so stupid as i am, if you think i'm still looking for a solution
...
Before you su
In a jsp file:
MY FIELD
Marcello
-Messaggio originale-
Da: Weisfield, Russell (HAC) [mailto:[EMAIL PROTECTED]
Inviato: giovedì 25 gennaio 2007 23.25
A: user@struts.apache.org
Oggetto: Section 508 and html:text tag issue
Hello,
To abide by Section 508 compliance I need to associate
>Dave Newton wrote:
>[...] he just wants access to the request body *after* the parameters
have been processed.
>That's the only reason that request.getReader would throw an exception.
>[...]
[Marcello]
You got it !
More: i need to access the request body after the form was submited. The
only wa
Up again with more details, please help!
In an Action subclass the execution of "request.getReader()" throw an
IllegaStateException.
I found that this is the normal behavior in the servlet, but i need to
do this in all my LookupDispatchAction subclass. Any idea to get a
turnaround to solve this p
Very interesting approach, thanks a lot
Marcello Savino
ALDEBRA S.p.A.
tel. 0461302441
-Messaggio originale-
Da: Dave Newton [mailto:[EMAIL PROTECTED]
Inviato: giovedì 25 gennaio 2007 15.49
A: Struts Users Mailing List
Oggetto: [OT] RE: Error : request.getReader()
From: Marcello
of tag. Do you know where i
can get more information to obtain the result ?
Thanks
Marcello Savino
ALDEBRA S.p.A.
tel. 0461302441
-Messaggio originale-
Da: Dave Newton [mailto:[EMAIL PROTECTED]
Inviato: giovedì 25 gennaio 2007 15.49
A: Struts Users Mailing List
Oggetto:
I really don't undestand what you mean.
Can you explain with a little example ?
Thanks in advance
Marcello Savino
ALDEBRA S.p.A.
tel. 0461302441
-Messaggio originale-
Da: Dave Newton [mailto:[EMAIL PROTECTED]
Inviato: giovedì 25 gennaio 2007 13.11
A: Struts Users Mailing
In an Action subclass the execution of "request.getReader()" throw en
IllegaStateException.
I found that this is the normal behavior in the servlet, but i need to
do this in all my Action subclass. Any idea to get a turnaround to solve
this problem ?
Any help will be appreciated
Thanks in advance
I'm not developing the entire solution, i only need the html string to pass as
a a parameter to a web service (see:
http://sipt07.si.ehu.es/evalaccess2/index.html).
Marcello Savino
ALDEBRA S.p.A.
tel. 0461302441
-Messaggio originale-
Da: Dave Newton [mailto:[EMAIL PROT
To check accessibity conformance of the genarated page
cheers
Marcello Savino
ALDEBRA S.p.A.
tel. 0461302441
-Messaggio originale-
Da: Dave Newton [mailto:[EMAIL PROTECTED]
Inviato: mercoledì 24 gennaio 2007 15.06
A: Struts Users Mailing List
Oggetto: [OT] Re: R: R: Reading generated
end(br.readLine());
System.out.println (HTMLStr.toString());
return(mapping.getInputForward());
}
The string HTMLStr.toString() return always null !
Marcello Savino
ALDEBRA S.p.A.
tel. 0461302441
-Messaggio originale-
Da: Nagraj Rao
Cause i need to submit the html content to a servlet to analyze the html code
Marcello Savino
ALDEBRA S.p.A.
tel. 0461302441
-Messaggio originale-
Da: Dave Newton [mailto:[EMAIL PROTECTED]
Inviato: mercoledì 24 gennaio 2007 14.24
A: Struts Users Mailing List
Oggetto: Re: R: Reading
As you can see (value="<%=request%>") the data setted is jsp is not of type
string.
I'm pretty sure cause i use to pass the request object to an other similar bean
(with other purpose) and it works fine !
Anyway thanks for your attention
Marcello Savino
ALDEBRA S.p
re tha page was rendered, but i
can figure out how invoke the bean after.
Even an alternative approach will be intersting for me.
Any help will be greatly appreciated
Thanks in advance
Marcello Savino
ALDEBRA S.p.A.
tel. 0461302441
-
>P.S. Only one reccomendation: be nice :-)
We are ;-)
Merry Xmas folks !
Marcello Savino
ALDEBRA S.p.A.
tel. 0461302441
-Messaggio originale-
Da: Antonio Petrelli [mailto:[EMAIL PROTECTED]
Inviato: venerdì 22 dicembre 2006 14.12
A: Struts Users Mailing List
Oggetto: [FRI
Hi, i've a questione regarding sum calculation in a table:
The jsp look like this one:
Nr
Give to the hyperlink a button appereance , don't know other way to do this
Marcello Savino
ALDEBRA S.p.A.
tel. 0461302441
-Messaggio originale-
Da: Gallagher, Jim (RBoS ITD&S Dublin) [mailto:[EMAIL PROTECTED]
Inviato: giovedì 26 ottobre 2006 12.27
A: 'Struts User
Sorry i forgot something in my code
">Delete
HIH
Ciao, marcello
-Messaggio originale-
Da: Gallagher, Jim (RBoS ITD&S Dublin) [mailto:[EMAIL PROTECTED]
Inviato: giovedì 26 ottobre 2006 12.02
A: 'user@struts.apache.org'
Oggetto: Issue: using logic:iterate to display r
Use a url instead:
Somethin like that:
HIH
Ciao, marcello
-Messaggio originale-
Da: Gallagher, Jim (RBoS ITD&S Dublin) [mailto:[EMAIL PROTECTED]
Inviato: giovedì 26 ottobre 2006 12.02
A: 'user@struts.apache.org'
Oggetto: Issue: using logic:iterate to display rows an
You said you pasted UTF-8 Characters in the application resource but what kind
of editor are you using ?
For Instance if you're workin' whith Eclipse you must be sure to set the utf-8
coding in the editor properties.
HIH
Ciao, marcello
-Messaggio originale-
Da: navin mca [mailto:[EMAIL
The user press a submit botton.
A proper action exist in a LookupDispatchAction.
In this action i need to redirect the user to a new page.
Does anybody know if and how can i do that ?
Any help will be greatly appreciated.
Thanks in advance
Ciao, marcello
-
Thanks, let me try . URRAH it works !
No more name attributes
Thanks a lot
Ciao, Marcello
-Messaggio originale-
Da: Mikolaj Rydzewski [mailto:[EMAIL PROTECTED]
Inviato: venerdì 13 ottobre 2006 10.05
A: Struts Users Mailing List
Oggetto: Re: R: Form name
Marcello Savino wrote
]
Inviato: venerdì 13 ottobre 2006 9.51
A: Struts Users Mailing List
Oggetto: Re: Form name
Marcello Savino wrote:
> Using Struts the tag is rendered in this
> way
> The problem is that in my application the rendered XML file MUST be a
> valide "xhtml1.0 strict" file and t
Using Struts the tag is rendered in this
way
The problem is that in my application the rendered XML file MUST be a
valide "xhtml1.0 strict" file and the DTD strict does not allow the
attribute "name" for the tag .
If someone could help me it would be greatly appreciated.
Thanks all
Ciao, Marcello
> -Original Message-
> From: Marcello Savino [mailto:[EMAIL PROTECTED]
> Sent: Thursday, September 21, 2006 3:04 AM
> To: Struts Users Mailing List
> Subject: R: Handling breadcrumbs with Struts
>
>
> Could you post a little sample ?
>
> -Messaggio orig
("Action.a");
messageResources.getMessage("Action.b");
Regards,
Venkata Phanikumar.g
- Original Message -
From: "Marcello Savino" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Thursday, September 21, 2006 3:24 PM
Subject: Appli
How can i get any value from ApplicationResource.properties passing a
key in an Action object?
I mean something like that:
Let's say this is my ApplicationResource.properties file:
Action.a=Add
Action.b=Build
In an Action object I need to read the value "Add" by passine the key
"Action.a".
Any hel
Hih, Marcello
-Messaggio originale-
Da: Venkata Phani Kumar [mailto:[EMAIL PROTECTED]
Inviato: giovedì 21 settembre 2006 9.18
A: Struts Users Mailing List
Oggetto: iterating Vector of HashMap using Logic:iterate
Hi,
I have a Vector. Each HashMap holds two elements as key 'field1' an
Could you post a little sample ?
-Messaggio originale-
Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Inviato: mercoledì 20 settembre 2006 20.59
A: user@struts.apache.org
Oggetto: RE: Handling breadcrumbs with Struts
I would use a tile. The tile controller can retrieve information from
s Mailing List
Oggetto: Re: R: Dynamically Generated html:Text
Hi Savino,
Thanks for the reply. Could u please provide me an example my test.jsp
using indexed properties.
Thanks & Regards,
Aftab Vhora
Marcello Savino wrote:
>1) You have some kind of getter and setter for txt prope
1) You have some kind of getter and setter for txt property not for txt1, txt2,
txt3 property
You'd better look for indexed properties
-Messaggio originale-
Da: Aftab Vhora [mailto:[EMAIL PROTECTED]
Inviato: lunedì 18 settembre 2006 12.06
A: Struts Users Mailing List
Oggetto: Dynamic
1) populate the collection, only with values you want display
OR
2) in jsp use logic tags
Hih, Marcello
-Messaggio originale-
Da: Vaylee Mckenzie-Daniels (VA) [mailto:[EMAIL PROTECTED]
Inviato: lunedì 18 settembre 2006 8.12
A: user@struts.apache.org
Oggetto: Display only specific keys on
Try something like this
Hih, marcello
-Messaggio originale-
Da: Hanmay Udgiri [mailto:[EMAIL PROTECTED]
Inviato: domenica 17 settembre 2006 21.21
A: Struts Users Mailing List
Oggetto: How to OR condition in JSP using Struts
Hi
I want to check an OR condition in struts using logic tag
Hide (via Javascript) the submit button till the radio is not selected
Ciao
-Messaggio originale-
Da: Sheetal Gupta [mailto:[EMAIL PROTECTED]
Inviato: lunedì 11 settembre 2006 11.25
A: Struts Users Mailing List
Oggetto: Hi Need help .. on javascript & validation framework when used togeth
Hi, i want to call a LookupDispatchAction passing more parameter
I mean something like this
public ActionForward myMethod(
ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response)
ruts Users Mailing List
Oggetto: Re: Several action in a jsp
Marcello Savino ha scritto:
> In a struts jsp files can I have more form with different action defined
> ?
>
Absolutely yes, but why do you ask?
-
To unsubscr
SIGNED MESSAGE-
Hash: SHA1
Marcello!
Of course you can. But only the values of the special form will be
submitted and transport via the request. Otherwise you have to collect
the values via javascript.
Manfred
Struts goes mobile. See http://www.strutsme.org
Marcello Savino wrote:
> I
In a struts jsp files can I have more form with different action defined
?
I mean something like that
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix=
54 matches
Mail list logo