--
From: Paul Stanton [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 09, 2004 12:05 AM
To: Struts Users Mailing List
Subject: Re: question
the most simplest solution is often the best
Au-Yeung, Stella H wrote:
> Paul wrote:
>
>>>
>>> >
> labelProperty="name&
I see. I'll try that tomorrow and let you know. Thx.
-Original Message-
From: Paul Stanton [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 09, 2004 12:05 AM
To: Struts Users Mailing List
Subject: Re: question
the most simplest solution is often the best
Au-Yeung, Stella H
store the value into
"person.id".
In other words, I don't know how to convert my statement below to yours:
-Original Message-
From: Paul Stanton [mailto:[EMAIL PROTECTED]
Sent: Monday, March 08, 2004 6:45 PM
To: Struts Users Mailing List
Subject: Re: question
i think
e value into
"person.id".
In other words, I don't know how to convert my statement below to yours:
-Original Message-
From: Paul Stanton [mailto:[EMAIL PROTECTED]
Sent: Monday, March 08, 2004 6:45 PM
To: Struts Users Mailing List
Subject: Re: question
i think you are
statement below to yours:
>
> collection="uList" name="UserFormBean" property="userId"
> labelproperty="commonName"/>
-Original Message-
From: Paul Stanton [mailto:[EMAIL PROTECTED]
Sent: Monday, March 08, 2004 6:45 PM
To: Struts U
s Users Mailing List
Subject: RE: question
>>engineerId is an attribute in the dataBean "shopWorkOrder". Can't I
>>reference shopWorkOrder.engineerId inside the <%= %>?
>>
I guess "shopWorkOrder" is the attribute name of the bean.
The &l
ession.
Use the to define a JSP variable and use it in <%= %>
then use <%=engineerId%> in the .
-Original Message-
From: Au-Yeung, Stella H [mailto:[EMAIL PROTECTED]
Sent: Monday, March 08, 2004 4:49 PM
To: 'Struts Users Mailing List'
Subject: RE: question
I got a compila
palakrishnan, Jayesh [mailto:[EMAIL PROTECTED]
Sent: Monday, March 08, 2004 6:45 PM
To: Struts Users Mailing List
Subject: RE: question
Try something like this,
The "value" attribute is RT-Exp, and not name of a bean.
hth
-jayash
-Original Message-
From: Au-Yeung, Stella H [ma
ED]
Sent: Monday, March 08, 2004 6:45 PM
To: Struts Users Mailing List
Subject: RE: question
Try something like this,
The "value" attribute is RT-Exp, and not name of a bean.
hth
-jayash
-Original Message-
From: Au-Yeung, Stella H [mailto:[EMAIL PROTECTED]
Sent:
Try something like this,
The "value" attribute is RT-Exp, and not name of a bean.
hth
-jayash
-Original Message-
From: Au-Yeung, Stella H [mailto:[EMAIL PROTECTED]
Sent: Monday, March 08, 2004 3:38 PM
To: '[EMAIL PROTECTED]'
Subject: question
Hi:
I need to set a "pre-defined"
i think you are trying to do the following...
this is assuming uList is a list of beans with id/name fields and your
form has a userId field.
Au-Yeung, Stella H wrote:
Hi:
I need to set a "pre-defined" option in using the "value="
attribute, I thought the following will work:
I h
If you want to get better answers quicker Id suggest you learn the concept
of 'meaningful subjects' for emails. "Question" is not a meaningful subject
line.
http://www.catb.org/~esr/faqs/smart-questions.html
Ok now on to your "Question".
Having been kind enough to take the time to read it to see i
DOCTYPE syntax uses an optional URI for the DTD, so that a validating
XML parser can download an unknown DTD and validate the document. Struts
registers local copy of it's configuration DTD to the XML parser
(struts, tiles & validator). This way they're is no need to have access
to the Internet
Answered My own Question.
Thank you Jacob
-Original Message-
From: Hookom, Jacob [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 9:04 AM
To: Struts Users Mailing List
Subject: [OT] RE: File Download?
This is what we use for file downloads (Excel/PDF files).
String contentType
More clues? it still doesn't work.
-Original Message-
From: Manish Singla [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 12, 2004 2:34 PM
To: Struts Users Mailing List
Subject: Re: Question on iterate
bean:write cannot support index as bean:write just writes as plain text
bean:write cannot support index as bean:write just writes as plain text.
See if html:text with configuration of attributes works for you
HTH
Manish Singla
Patrick Cheng wrote:
> Hi all,
>
> I guess it should be an easy question about logic:iterate.
>
> I can do this:
>
> indexId="ctr">
>
>
>
Hi
The following should work. The hidden variable is needed if you want to
send it back to the proper indexed property when you submit.
Mohan
-Original Message-
From: Patrick Cheng [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 12, 2004 11:57 AM
To: Struts Users Mailing Li
Hello,
That could be handled in the controllerClass of the tile, retrieving the
values from the session, evaluating them and proceeding depending on those
values.
Just check some past posts about "Dynamic Tiles" explaining the usage of
the controllerClass attribute in the 'tile' tag.
Regards
Dom
if you use j2ee security something like this would work:
Ben
-Original Message-
From: Anderson, James H [IT] [mailto:[EMAIL PROTECTED]
Sent: 11 februari 2004 14:18
To: Struts Users Mailing List
Subject: question regarding dynamic Tile capability
We
Shitij,
You can't insert a frameset document inside of a DIV element in the middle
of a regular HTML page. The fact that this is not working has nothing to do
with Tiles. It is simply invalid HTML. You can nest frameset documents, but,
you would still need to reference the nested frameset document
http://jakarta.apache.org/struts/faqs/helping.html#release
=P
--- Emily Gu <[EMAIL PROTECTED]> wrote:
> Thanks for your quick reply. Yes, as you said, it is working in the nightly
>
> builds.
> I just tried it. Do you have any idea when the Struts 1.2 will be release?
>
> Thanks,
> Emily
>
> At
Thanks for your quick reply. Yes, as you said, it is working in the nightly
builds.
I just tried it. Do you have any idea when the Struts 1.2 will be release?
Thanks,
Emily
At 03:26 PM 2/4/2004 -0800, Hubert Rabago wrote:
AFAIK, as of now, this is only available from the nightly builds.
http://c
AFAIK, as of now, this is only available from the nightly builds.
http://cvs.apache.org/builds/jakarta-struts/nightly/
--- Emily Gu <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> The user guide shows the Struts is supporting "wildcard in action
> mapping.".
> I have tried it in Struts 1.1, it
In you ActionForm java class, you have to define the selectedCountry instance
variable. For example
public MyForm extends ActionForm {
private String [] selectedCountry = {}; // if the option is multiple selection (check
box or multiple selection listbox)
// private String selectCoun
Struts does this for you if the value of the parameter equals the
...
Derek
> -Original Message-
> From: Jino Morgan [mailto:[EMAIL PROTECTED]
> Sent: 02 February 2004 17:48
> To: Struts Users Mailing List
> Subject: Re: ... question?
> SELECTED ATTRIBUTE
>
How does one add selected attribute if I want one the
option to have the SELECTED attribute
--- Jiin-Her Lu <[EMAIL PROTECTED]> wrote:
> you can do as following.
> countryCollection is an ArryList with object of
> struts' LabelValueBean. The value is the country
> code and label is the country na
you can do as following.
countryCollection is an ArryList with object of struts' LabelValueBean. The value is
the country code and label is the country name for example.
Once the user changes the country selection, it will submit the change to server so
that the action can generate the city lis
To: Struts Users Mailing List
Subject: RE: Question: How do I put iterated radio buttons in the same
gro up?
Thanks for the advice, but I can't get that to work. I have to add a
"value" attribute to get it to compile, so I changed it to this:
That causes this run-time exceptio
input is really more where it goes back to rather than where it came
from. You can make it go back to wherever you like by the appropriate use
of forward classes.
At 02:32 PM 1/15/2004, you wrote:
you could have a /user/add and a /user/update. If you're reusing the same
form then have the acti
you could have a /user/add and a /user/update. If you're reusing the
same form then have the action as a variable.
cheers mark
On 15 Jan 2004, at 21:01, Ciaran Hanley wrote:
Hey,
Is it possible to use the same action path for two different inputs
Id like the input to come from addUser.jsp if
I don't think "input" accepts dynamcic values, but you can do the
following to accomplish the same thing. You can define two forwards
instead inside your action mapping, say,
And in your action class, check for the existence of errors, and based
on which page you're from, forward to the corres
ined a boolean "master" property to see if it was trying to
access "account.master.master", but that failed too.
-Original Message-
From: Kris Schneider [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 14, 2004 1:03 PM
To: Struts Users Mailing List
Subject: Re: Quest
Try:
Quoting Eric Hodges <[EMAIL PROTECTED]>:
> I'm using nested:iterate to display a list of items in a table. Each row
> shows on element of the list like this:
>
>
>
>
>
>
>
>
>
>
> I'd like to have one column that shows radio buttons and I'd like all of
> those
Yeah.. I tend to do things on the server and layer the client-side
stuff on when i get time. In fact i'm a bit obsessive about not having
js dependent apps. :o)
On 29 Dec 2003, at 16:53, Cory Wright wrote:
Hi Dirk:
Sounds like you're talking about client-side issues here. If you're
just tryi
Hi Dirk:
Sounds like you're talking about client-side issues here. If you're just trying to
populate form-fields with values from a child window (i.e. popup), use javascript to
try something like this in the popup:
function updateParent(){
popUpValue = document.getElementById("whateverThePo
I'd approach the problem by thinking about having a child form that
popluates a parent form. When you close the window or submit (have a
button in noscript tags) the child it fires up an action which copies
the values of the child form into the parent.
If the parent is scoped to session
ChlidF
Hi Khalid:
Thanks for your reply. I just found out some info. If I want to
force to send request upon the hitting back button I can put
following lines in my jsp and it does force back the request to
server.
<% response.setHeader("Expires","0");response.setHeader("Cache-
Control","no-cache");%
Oups, sory :
On a jsp1.2+ container you can use jstl and struts-el tags too.
Nico.
- Original Message -
From: "struts" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, December 18, 2003 11:25 AM
Subject:
Loof" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, December 18, 2003 11:12 AM
Subject: Re: Question dynamic value for a logic:iterate
> use this :
>
>
>
> ...
>
> Nico
>
>
> - Original Message -
use this :
...
Nico
- Original Message -
From: "struts" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Thursday, December 18, 2003 11:09 AM
Subject: Question dynamic value for a logic:iterate
How can i have a dynamic value ?
eg:
should be somethin
This is an age old questions. There are various javascript 'hacks' around. I
suggest google the following: "javascript back button"
the problem is that when you click on "back button" no server request is made,
the catched page froom "history.back()" (i think that is the method) is
displayed.
Thanks! That did it. So, unless I read it wrong, the statement regarding transparency
was in error.
Thanks again.
jim
-Original Message-
From: Fullam, Jonathan [mailto:[EMAIL PROTECTED]
Sent: Monday, December 15, 2003 9:58 AM
To: 'Struts Users Mailing List'
Subject: RE: q
Jim,
I'm not exactly sure what the book means when they say that "whether you use
an ActionForm or a DynaActionForm should be transparent," but once you use
DynaActionForm, you form is no longer of type RegisterForm (hence the
ClassCastException). You must cast it to DynaActionFrom now as in:
o be... For a really good
> explanation see http://www.yoda.arachsys.com/java/passing.html
>
>
>
> worse is better
>
> -Original Message-
> From: Larry Meadors [mailto:[EMAIL PROTECTED]
> Sent: Monday, December 01, 2003 10:52 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Qu
:[EMAIL PROTECTED]
Sent: Monday, December 01, 2003 10:52 AM
To: [EMAIL PROTECTED]
Subject: Re: Question regarding ActionForms.
Welcome to java 101, formerly known as the struts-users mailing list.
Object references are passed to method calls. While that reference cannot be
changed, the object that
Sepand:
google under "java pass by reference vs. pass by value" and look at the very
first result. It contains a real nice discussion about this..
Geeta
EXCELSIS - Sepand Oboudiyat wrote:
> Hi,
>
> I am currently using Struts 1.0.2 and have notice something with regard to
> handling of ActionF
Welcome to java 101, formerly known as the struts-users mailing list.
Object references are passed to method calls. While that reference
cannot be changed, the object that it references can. On the other hand,
if you create a new action form and assign it to the "form" parameter,
nothing will happ
On 11/28/2003 09:36 PM Timo wrote:
Because Internatilization is a big concern, I am using the struts localization technique to resolve labels, texts etc.
But now, I am using the tiles-defs.xml to display the pages.
one problem is to replace the title property, I know if I am using a regular jsp I c
Thanks, Nick. That solved it.
-SB
Nick Heudecker wrote:
> It doesn't work because you must put the variable into the page scope:
>
> <%
> List myList = (List) someList;
> pageContext.setAttribute("myList", myList);
> %>
>
> > If I have
> >
> > <%
> > List myList = (List) someList;
> > %>
It doesn't work because you must put the variable into the page scope:
<%
List myList = (List) someList;
pageContext.setAttribute("myList", myList);
%>
> If I have
>
> <%
> List myList = (List) someList;
> %>
>
> where someList is a list of objects whose name property I want to
> displa
erm, OK. Strange response, but I'll take a look at what you have.
Vic Cekvenich wrote:
Let me try it this way:
"_DO NOT_" call a /do from your definition to provide varibility by
calling an action from tiles, so that you have much less definitions.
Also, "DO NOT" loook at this :
http://cvs.sou
Let me try it this way:
"_DO NOT_" call a /do from your definition to provide varibility by
calling an action from tiles, so that you have much less definitions.
Also, "DO NOT" loook at this :
http://cvs.sourceforge.net/viewcvs.py/basicportal/bPproj/bP/WEB-INF/config/layoutsShop.xml
(a shoping c
I read through Tiles 201 just recently and what I read talked about
extending the Controller, if I remember ... am I looking at the wrong
Tiles 201?
Vic Cekvenich wrote:
Brice Ruth wrote:
This still doesn't keep me from having to duplicate entries for each
section of our site (we have 5 -
Brice Ruth wrote:
This still doesn't keep me from having to duplicate entries for each
section of our site (we have 5 - garden, school, office, crafts,
housewares) - and other non-Action driven pages need the same
.baseLayout extended Tiles for each of the sections (.baseLayout.school,
etc.
This still doesn't keep me from having to duplicate entries for each
section of our site (we have 5 - garden, school, office, crafts,
housewares) - and other non-Action driven pages need the same
.baseLayout extended Tiles for each of the sections (.baseLayout.school,
etc.) - and those definit
Flip it and revrse it, go to tiles, that call actions:
/>
/>
And then yor Struts mapping forwards are
You can (should?) have a /do in a tile, for action to figure out what
JSP to assemble. Also explained in Tiles 201.
.V
Brice Ruth wrote:
I have an Actio
Brice Ruth wrote:
>> What I'm doing, is storing it in the request context
request.setAttribute("item",item)) and then my Action returns a forward
that is mapped to a tile definition. That tile definition assembles a
collection of tiles (which is all working) - the tile that needs to
access the info
Um (embarrassed) ... I forgot to import the JSTL core taglib ... (/me
hides head)
Kris Schneider wrote:
You shouldn't need . What happens with just:
Quoting Brice Ruth <[EMAIL PROTECTED]>:
Good morning (again)
I have an Action that is retrieving a javabean object from my database
(via i
You shouldn't need . What happens with just:
Quoting Brice Ruth <[EMAIL PROTECTED]>:
> Good morning (again)
>
> I have an Action that is retrieving a javabean object from my database
> (via iBATIS, thank you very much :)) and I need to store that bean
> somewhere where a Tile can access it.
may be check out the scope(session/request)...
Your FormBean should be stored in same scope as mentioned in
struts-config.xml...
Sonam Belbase wrote:
OK thanks Brice and Manish,
I was not able to retrieve the values of my form properties in my action and
according to your explanations, I
OK thanks Brice and Manish,
I was not able to retrieve the values of my form properties in my action and
according to your explanations, I can rule out reset() as the source of the
problem.
Thanks.
SB
Manish Singla wrote:
> Please see below ..
> Sonam Belbase wrote:
> > I'm trying to understan
Please see below ..
Sonam Belbase wrote:
I'm trying to understand ActionForms a bit better and here is my
question:
If the servlet controller automatically invokes the reset() method
before passing the ActionForm bean to the Action implementation class
instance, how can you use the form's propertie
to my knowledge, reset() is called to clear the form (and perform any
re-initialization), before calling the setters for the form parameters
being submitted by the browser.
this way, the action that accesses the actionform will always have the
values submitted by the browser, no more, no less -
Just tested this... It works Mark... I think I was missing 'document'... Thanks for
the help and suggestions...
function getValue(optionName, hiddenValue) {
var s = document.frmTest.elements[optionName];
for (var i=0; i
I was on the wrong lines anyhow..
forms[] and elements[] deal with the index and/or the names. options[]
requires the index.
the value is a property of the element not the option (at least i
recall things being like that.
I'd just pass the value of the element as an argument But my apologies
I get that error when I pass the element name only !!
function getValue(form, optionName,hiddenValue) {
s = form.elements[optionName];
for(i = 0;i < s.options.length;i++) {
if(s.options[i].value == hiddenValue) {
s.options[i].selected = true;
break;
}
}
}
optionName is the element nam
You can specify an index or the name of the element.
Likewise with the array of forms in the page.. Some folks prefer using
the
document.myform.myelement
syntax.
But you can use the element name also.
Cheers Mark
On Monday, October 20, 2003, at 03:14 PM, Jeff Kyser wrote:
form.elements is a
Its been a while..
try the index or hardcode the form name like before in case it doesn't
like the form object being passed as an argument...
function getValue(formName,elementName,value) {
s = document.forms[formName].elements[elementName];
..
Cheers Mark
On Monday, October 20, 2003, a
form.elements is an array, and you'd have to specify
it by index:
s = form.elements[i];
where i was a supplied integer in the range 0..form.elements.length-1,
or
s = form.optionName;
if 'optionName' was a valid name for a form element.
HTH,
-jeff
On Monday, October 20, 2003, at 08:55 AM,
Thanks for the help Mark... when I do this, it says elements.optionName is not null or
an object... Any clue??? Thanks!
Mark Lowe <[EMAIL PROTECTED]> wrote:Those variable don't really need to be global.
function getValue(form, optionName,hiddenValue) {
s = form.elements[optionName];
for(i = 0;i
Those variable don't really need to be global.
function getValue(form, optionName,hiddenValue) {
s = form.elements[optionName];
for(i = 0;i < s.options.length;i++) {
if(s.options[i].value == hiddenValue) {
s.options[i].selected = true;
Thanks Matt... It sure helped...
Actually, now, I tried to put it as a common function like...
function getValue(optionName, hiddenValue) {
var s = document.forms[0].optionName;
for (var i=0; i wrote:
>This is a basic question... Can I find the index of a select box,
>if I have the
>This is a basic question... Can I find the index of a select box,
>if I have the value or the text ???
>document.formName.optionName.options["C"].selected=true
>-- This won't work!!
You need to loop through each option, checking to see it's value and then
checking it.
var s = document.formnam
> -Original Message-
> From: Nicholas L Mohler [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 02, 2003 10:29 AM
> To: Struts Users Mailing List
> Subject: RE: Question about minimizing javascript loaded into web page
>
>
>
>
>
>
>
cc:
Subject: RE: Question about minimizing
javascript loaded into web page
10/02/2003 11:00
> -Original Message-
> From: Brian McSweeney [mailto:[EMAIL PROTECTED]
> Sent: Thursday, October 02, 2003 11:01 AM
> To: 'Struts Users Mailing List'
> Subject: RE: Question about minimizing javascript loaded into web page
>
>
>
>
>
> He
ailto:[EMAIL PROTECTED]
Sent: 02 October 2003 13:46
To: Struts Users Mailing List
Subject: RE: Question about minimizing javascript loaded into web page
>
> Hi Saul,
> Could you explain this a little more. I'm interested too.
>
> For example, at the moment I'm just using
r messages etc. The static javascripts
are those validation javascript functions as defined in the
validator-roles.xml file.
Hope this helps.
Saul
>
> Am a bit confused :-)
> Thanks,
> Brian
>
>
> -Original Message-
> From: Yuan, Saul (TOR-ML) [mailto:[EMA
staticJavascript.jsp page?
3) What's the difference between static and dynamic javascript?
(Probably a
real dumb question :-) )
Am a bit confused :-)
Thanks,
Brian
-Original Message-
From: Yuan, Saul (TOR-ML) [mailto:[EMAIL PROTECTED]
Sent: 01 October 2003 21:09
To: Struts Users
If you don't want static javascript rendered inside your jsp page, you
can set:
staticJavascript="false" and have
Saul
>
> I apologize if this is a question that has already been addressed, but
> I've
> not been able to find an answer...
>
> We have implemented the validation framework
>
Sent: Wednesday, October 01, 2003 12:38 PM
Subject: Re: [Question] : Close popup after Action has exited...
in your
or document.window.close() or try variations on that. Sometimes the
browser
will complain about, I'm not sure which one gets you past that.
- Original Message -
forward to a second page that self closes
- Original Message -
From: "khote" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, October 01, 2003 12:38 PM
Subject: Re: [Question] : Close popup after Action
in your
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, October 01, 2003 3:37 AM
Subject: [Question] : Close popup after Action has exited...
> Hi,
> Does somebody know how I can close a popup window for which I have
> ActionForms and Action when some method in the action ha
I do this by having the action forward to some html page with a little
javascript that closes the window.
-Original Message-
From: Todor Sergueev Petkov [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 1 October 2003 18:38
To: Struts Users Mailing List
Subject: [Question] : Close popup after Act
u can give index for every checkbox and then access the value of the
records according to this index.
it's simple with mailto:[EMAIL PROTECTED]
Sent: Saturday, September 27, 2003 11:45 PM
To: Struts Users Mailing List
Subject: Re: [Question] Checkbox multi select problem.
Hi,
Can you
Where's the connection between 'Head', 'headTemplate' and 'headTemp' ?
Perhaps it's the mismatch of names that's causing grief...
- Original Message -
From: "Rajesh M Vasudevan" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Sunday, September 28, 2003 7:33 A
Hi,
Can you help me with this..
I want to pass the record ids selected by the user using a checkbox, to the
Action Bean, when the page is submitted.
CheckUnique Rec Ids
X1000
X1001
X1002
X1003
The number of rows is dynamic, as
ide/struts-html.html#img
-Max
- Original Message -
From: "Rajesh M Vasudevan" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Friday, September 26, 2003 11:32 PM
Subject: Re: [Question] Image path - Best way?
> Hi guys,
>
&g
Message -
From: "Rajesh M Vasudevan" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Saturday, September 27, 2003 2:32 AM
Subject: Re: [Question] Image path - Best way?
> Hi guys,
>
> I tried the following, and it seems to
Hi guys,
I tried the following, and it seems to work good:
Is this the right way? Is there a way to specify it as a Resource? Can you
give me a tutorial link of how to do that..
Thanks
Rajesh
> Hi
>
> What is the best way to give image paths in JSP pages? I see that an
image
> path given in
I don't like HTML base tags, generally, because they make debugging
confusing and they specify something that has no value (doesn't help, but
reduces flexibility, and might break stuff). I have heard some
justifications for their use, but I've written thousands of web pages and
never needed one. I
There's the set-property element which can be used to set an aribrary
property on the Java object being deployed. To access those properties,
you should go through the object. So if you are using set-properties on
an ActionMapping, you cast the ActionMapping to your subclass and then
use the pr
Hey Jose,
here's a snippet from a form validation.
Is that what you're looking for?
-jeff
datePatternStrict
-MM-dd
On Monday, September 1, 2003, at 02:38 PM, José Gustavo Zaga
Hi Erez
Things should work as they are and nesting beans in dynaforms works
fine.
I have no idea about the logging, yes and things can get a little hard
to drill down to where the beef is.
You'll have to explain what you mean by DynaActionForm derived class?
Cheers Mark
On Monday, September
Ok, I fount what was causing the problem. Turns out that I was missing a
'public' modifier on the Person constructor class which prevented the
Struts FormPropertyConfig class to call create a new instance of Person.
In MHO it should have printed something to the log instead of swallowing
the error
I am having difficulty with multiple modules also, but I do have answers to
some of your questions.
> - Is it possible, to do a transparent fallback for messages, tiles and/or
> images, common to all modules ?
For images I actually wrote my own custom tag, which is ugly but I didn't
want images
> I guess the first way with EVERYTHING in a message resource
> is the only way to go? Just curious what the best way and
> any pit falls for supporting internationalization even with
> all the built in locale stuff already in the framework?
That's basically the way my company is doing things.
Yeah, if you truly want to support internationalization, then you have to
display all of your text with message keys.
-Original Message-
From: Bailey, Shane C. [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 13, 2003 1:50 PM
To: [EMAIL PROTECTED]
Subject: Question for you International
You're right. Every bit of text should come from a resource. It will
make it easy later.
Bailey, Shane C. wrote:
Every paragraph must be in a message resource.
This is not the recommended way to do break out large amounts of text.
Paragraph breaks, or even the number of paragraphs may
Users Mailing List'
Subject: RE: Question for you Internationalization supporters
Yeah, if you truly want to support internationalization, then you have to
display all of your text with message keys.
-Original Message-
From: Bailey, Shane C. [mailto:[EMAIL PROTECTED]
Sent: Wednesday,
1 - 100 of 573 matches
Mail list logo