Sorry, I couldn't resist.
On 7/26/07, souravm <[EMAIL PROTECTED]> wrote:
>
> Regarding going for JSF due to componentization, I'm again not sure what
> additional componentizations JSF does compared to struts. Apart from the fact
> that JSF does not need a layer like Action Classes, all other co
is -- I didn't notice the source and
destination types. Even if they are the same data types, I can at least see if
the destination type is a subclass of Actionform and format accordingly. Sound
ok?
-Original Message-
From: Hubert Rabago [mailto:[EMAIL PROTECTED]
Sent: Thursday,
ng form or parse the incoming form.
Hubert
On 4/26/07, Givler, Eric <[EMAIL PROTECTED]> wrote:
Thanks for the quick response.
The field in the db is to be stored stripped of formatting. However, the
display and entry of the field should include the formatting.
-Original Messag
Your form field will come in as String. If you'll be storing the data
as string as well, maybe you don't need any more conversion between
the two.
Hubert
On 4/26/07, Givler, Eric <[EMAIL PROTECTED]> wrote:
I was reading on the Formdef site about using a formatter (converter) for
handling a ph
There are differences in how a user interacts with html:button and
html:submit. For instance, pressing enter on some fields can trigger
a submit button, but not a regular button. You can get the best of
both worlds letting your javascript method determine whether the
submit should happen at all
The fields of action forms, including DynaValidatorForms are populated
from request parameters, and these values are all in String variables.
I suggest using a String variable for the dyna validator form field
as well, and just parsing it to get the java.util.Date equivalent when
you use it in you
ml
On 1/20/07, Paul Benedict <[EMAIL PROTECTED]> wrote:
I believe you could try to do this in the form's constructor or reset()
method?
Hubert Rabago wrote:
> Are you talking about prepopulating the form? Yes, a FormUtils method
> helps with that. I don't know if that qualifies
?
Regard,
Zero
-- Initial Header ---
From : "Hubert Rabago" <[EMAIL PROTECTED]>
To : "Struts Users Mailing List"
Cc :
Date : Thu, 18 Jan 2007 09:52:57 -0600
Subject : Re: Form population and locale
On 1/17/07, Zero <[EMAIL
On 1/17/07, Zero <[EMAIL PROTECTED]> wrote:
Hi everybody,
I use Struts 1.2.9 and I would like to know if there is any
way to link the user locale (available with
RequestUtils.getUserLocale(HttRequest)) with the form
population process.
In fact, I have many forms which have date field (with the
If not this specific implementation, an otherwise clean way to handle
view preprocessing after a validation failure. It can build on the
action-forward-specific command chain, but a solution that's more
tightly integrated with action objects should be considered as well.
Hubert
On 11/30/06, Mic
Did you declared the variable that holds the "1896 / 100" value as int?
On 11/28/06, robin bajaj <[EMAIL PROTECTED]> wrote:
Sorry I forgot to mention,
I am actually dividing the 1896 cents by 100 before the jsp page
to make the value 18.96 and then display it using the formatkey as
$18.00.
I wo
If you consult the documentation for the reset() method [1], you'll
see it's mainly for resetting checkbox values:
"This method is not the appropriate place to initialize form value for
an "update" type page (this should be done in a setup Action). You
mainly need to worry about setting checkbox
Struts is getting confused by:
public List getSkills() {
return skills;
}
public void setSkills(Product skill) {
this.skills.add(skill);
}
The getter and setter should be consistent.
-
Hmm... I just looked at the link you sent and it looks l
I think he's looking for:
Daniel, ForwardAction is no longer needed because you can now forward
directly without using an Action class.
Hubert
On 11/21/06, Laurie Harper <[EMAIL PROTECTED]> wrote:
daniel blanco cuadrado wrote:
> hello again, thank for the previous answer.
>
> I would like to
und the problem - or at least a potential cause. Would it
be correct in stating that this will not work using ActionForm (what I was
using) and that I must instead use DynaActionForm ?
Thanks for the time thus far.
On 11/17/06, Hubert Rabago <[EMAIL PROTECTED]> wrote:
>
> Adam,
>
>
Adam,
Try adding a getResultsPage() that doesn't take params and always
returns a valid collection. (Throw in the setResultsPage() that
accepts a collection as well.)
Hubert
On 11/17/06, Adam K <[EMAIL PROTECTED]> wrote:
This has been driving me nuts for the past little bit.
I have a page tha
lying the wheel, so you don't have to reinvent it!
On Fri, September 22, 2006 2:53 pm, Hubert Rabago wrote:
> It still sounds like Struts is getting nulls for the subbeans when it
> tries to populate subbean.fieldX. Put some more logging, this time in
> the getters for the subb
> finalSubmit.open("POST", "final.do", true);
>>> > finalSubmit.send(tab1Form + tab2Form);
>>> > }
>>> > function finalSubmitCallback() {
>>> > if (finalSubmit.readyState == 4) {
>>> >
note is that when the submission is made, the request
> > that goes across is a POST to http://localhost:8080/test/final.do, as
> > expected, and the POST body is:
> >
> > tab1Form.field1=val1&tab2Form.field2=val2&
> >
> > ...also as expected, verified in
So what does happen when you submit the form? Are you getting NPEs?
By the time Struts attempts to populate the form bean, the nested
forms should already be instantiated. You should have getters and
setters for af1 and af2, and getAf1() and getAf2() should not return a
null. This could be an
Try a mask validator.
mask
^\$?\d+(,\d{3})*(\.\d{2})?$
Hubert
On 8/4/06, fea jabi <[EMAIL PROTECTED]> wrote:
Thanks, Eric.
>From: "Givler, Eric" <[EMAIL PROTECTED]>
>Reply-To: "Strut
On 8/2/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
On 7/20/06, Hubert Rabago <[EMAIL PROTECTED]> wrote:
> FormDef support nested beans, and nested collections of beans. If you
> had a nested Address object, your form would look like:
>
>
>
>
In your ex
convention but can be configured by the user.
Hubert
On 7/20/06, Hubert Rabago <[EMAIL PROTECTED]> wrote:
> (was: Is there any direct link between model and view in struts..)
>
> On 7/20/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
> Another library,
> >
(was: Is there any direct link between model and view in struts..)
On 7/20/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
Another library,
FormDef, can build a dynaform based on properties of nested business
object
Hey Michael,
Just thought I'd set the record straight.
FormDef does not requ
That's how I do it most of the time. If your POJO is in session
scope, your Action won't even have to do anything.
I usually only use ActionForm when there's a corresponding HTML
. If I'm just displaying data on the page, I just pass the
POJO.
Hubert
On 7/18/06, Mississippi John Hurt <[EMAIL
On 7/17/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
On 7/17/06, Adam Hardy <[EMAIL PROTECTED]> wrote:
> "In fact, in Struts 1.3, some of the same "convention of configuration" practices
are applied in the configuration files: you can define mapping conventions in struts-config.xml
without
Do you mean something like ActionRedirect?
String key = "task";
String value = "displayAccountDetails"; // this value changes
return new ActionRedirect(mapping.findForward("fwdDetail"))
.addParameter(key, value);
It still won't allow you to redirect to a tile, though.
H
This topic has come up several times already on this list. Try
searching one of the mailing list archives listed on
http://struts.apache.org/mail.html#Archives.
On 7/8/06, Abhimanyu Koul <[EMAIL PROTECTED]> wrote:
hi all!
can anyone tell me about a good and cheap struts(java) web hosting comp
You have a few options, and most of them are described by Rick R's
"Validate Manually" article [1]. I would avoid the first three and
only consider the last four. There's a couple of other ways to do
this but you should be able to pick an appropriate solution from
Rick's list.
Hubert
[1] http:
On 4/28/06, Craig McClanahan <[EMAIL PROTECTED]> wrote:
Sorry for not being clearer.
You can indeed register a listener with a declaration --
you get an application wide singleton that has the same lifetime as your
application. However, it's also possible to add a phase listener
programmatical
On 4/28/06, Craig McClanahan <[EMAIL PROTECTED]> wrote:
Yes. The way to do this would be to define a phase listener for Render
Response phase, and do your data collection in the beforePhase event
handler. You also have to remember that your listener is going to receive
beforePhase() calls for
Rick,
My tiles:insert uses name instead of attribute.
Then again, I'm no Tiles expert and I don't know what attribute is for.
Hubert
On 4/14/06, Rick Reumann <[EMAIL PROTECTED]> wrote:
> I've used Tiles in the past. Started to implement it in this new app,
> and I keep getting error messages l
On 4/13/06, Craig McClanahan <[EMAIL PROTECTED]> wrote:
>
> Not without taking the JAR apart and removing the faces-config.xml that is
> there. Auto-loading such files is a feature required by the JSF spec.
>
> Craig
Thanks Craig. I knew it was in the spec, I was just curious if there
was a way
I'm including shale-tiles.jar in my app, but overriding the
TilesViewHandler with my own implementation. However, just including
shale-tiles.jar in the app autoloads the META-INF/faces-config.xml,
which loads Shale's TilesViewHandler.
Is there a way I can include shale-tiles.jar but not autoload
On 4/11/06, Gary VanMatre <[EMAIL PROTECTED]> wrote:
> >From: "Hubert Rabago" <[EMAIL PROTECTED]>
> >
> > I request /myapp/testing.jsf which renders ok.
> > I type in a value in a text field and submit the form.
> > In the RI's V
" when it reaches my " attribute="title"/>", which in turn references my tiles def containing
> "". Perhaps the is the
> answer to my problem.
>
> Perhaps you could include your "/baseTemplate.jsp" in your response.
>
> Thanks for
I thought it would have to be something like that.
Thanks, Gary.
Hubert
On 4/11/06, Gary VanMatre <[EMAIL PROTECTED]> wrote:
> I've not made time to check out the shale tiles plugin but I know that the RI
> and Myfaces do handle the viewid differently. This is a bug in the RI.
> Myfaces will
I'm trying to use Shale-Tiles with RI and I'm having trouble submitting forms.
The page renders okay (once I start using all over the
place), but the submit doesn't work.
I stepped through the code and it looks like there's a viewid mismatch.
Here's my tile definition:
Al,
Not everyone who posts on the lists are insiders.
If you want some insider info, go to the actual people doing the work,
like Don Brown.
http://marc.theaimsgroup.com/?l=struts-dev&m=114369603519450&w=2
Hubert
On 3/30/06, Al Eridani <[EMAIL PROTECTED]> wrote:
> On 3/29/06, Craig McClanahan <
The primary motivation for the recent 1.2.x releases were security
issues [1] [2]. Because of this, the goal was to minimize possible
upgrade issues, so the changes were limited to security fixes.
The upgrade notes on the wiki for 1.2.8 and 1.2.9 [3] mentions that
the user may wish to upgrade JCV
Maybe you can leverage the LazyActionForm:
http://struts.apache.org/struts-action/userGuide/building_controller.html#lazy_action_form_classes
Hubert
On 3/24/06, Will Hartung <[EMAIL PROTECTED]> wrote:
> Simply put I have a need for a configurable form that can have any mixture
> of fields on it
OOPS! Copy-paste busted.
I meant to say, in your struts-config.xml:
:D
Hubert
(ps. what? you think I have all this in memory?)
On 3/24/06, Hubert Rabago <[EMAIL PROTECTED]> wrote:
> I wouldn't subclass ActionServlet just for this. Try doing this in a
> Stru
I wouldn't subclass ActionServlet just for this. Try doing this in a
Struts plugin instead:
package edu.uga.itos;
public class HobbsPlugIn
implements PlugIn {
public void init(ActionServlet servlet, ModuleConfig config)
throws ServletException {
String actionList
which is wrong.
>
> I think I am missing something here.
>
> Please, explain. thanks.
>
>
>
> >From: "Hubert Rabago" <[EMAIL PROTECTED]>
> >Reply-To: "Struts Users Mailing List"
> >To: "Struts Users Mailing List"
> >Subj
I'm not sure how the books didn't fit your needs, but maybe you can
give this a try: http://www.learntechnology.net/
It's one of the most common tutorials we pass around in here.
Hubert
On 3/24/06, Andreas <[EMAIL PROTECTED]> wrote:
> Hi, I'm a newbie in Struts so I'm looking for a struts tutori
On 3/24/06, fea jabi <[EMAIL PROTECTED]> wrote:
> thankyou for your response and clear expaination.
>
> If I use String for the formbean do I have to convert it to Double before i
> validate?
>
> Is there an easier way to convert all form-properties in the form at the
> same time?
Yes. BeanUtils.
On 3/24/06, Rahul Akolkar <[EMAIL PROTECTED]> wrote:
> On 3/24/06, Hubert Rabago <[EMAIL PROTECTED]> wrote:
> > You know, you're right. I don't know why we list those there since
> > DynaActionForm can support any type. (pause, think.)
>
>
>
You know, you're right. I don't know why we list those there since
DynaActionForm can support any type. (pause, think.) Hmm, maybe next
week I'll find time to fix that. (Patches to docs are welcome!)
Anyway, I think you missed a statement a few paragraphs down the same
section: "And, of course,
If you're looking for the User Guide for 1.3, you can get to it from
the Struts Action Framework page. On the nav menu on the home page,
the "Frameworks" section has a link to the Action and Shale
frameworks.
>From the Action page, a link to the User Guide is available under the
"Quick Links" sec
The FormDef version that has built-in support for nested beans
actually requires Struts 1.2.7 or higher.
I'm not aware of a "concise document" that covers what you're asking.
However, there are upgrade notes you can check for upgrading from 1.1
to 1.2.4, then from 1.2.4 to 1.2.7 [1]. There's not
Since no one has mentioned it...
Vaneet, before posting your questions, please read the guidelines we
have for the list on http://struts.apache.org/mail.html
Hubert
On 3/8/06, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> I advise taking out the disclaimer. The addressee is a bot, and if you
>
On 3/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> type="com.globallink.glr.dataentryweb.form.AddSalesProspectForm">
> public class AddSalesProspectForm extends ValidatorForm
>
Since you're extending ValidatorForm, Validator will try to find
validation rules based on
Hans,
You're using request scope for your form. When Struts processes the
submitted form, it will create a new instance of your ActionForm. The
question now is, is the new instance ready to deal with setting values
on your ArrayList field? Struts will not instantiate that list for
you, it would
On 2/7/06, Tom Ansley <[EMAIL PROTECTED]> wrote:
> > > > > type="com.camp.actions.camper.addCamperAction"
> > > name="CamperForm"
> > > scope="session"
> > > validate="true"
> > > parameter="submit"
> > > input="/addCamper.jsp">
>
> So, it's looking for getFirst
> if it does I don't find getResource in it I find getMessageResources which
> is expecting config as parameter.
> What should I supply as config from Action class ?
>
>
>
>
>
>
>
> Hubert Rabago <[EMAIL PROTECTED]>
> 01/31/2006 11:29 AM
> Ple
Try something like:
String propertyValue = getResources(request).getMessage("propertyName");
Hubert
On 1/30/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Is there a way to get handle on Application property file handle in action
> class.
> What I mean is if I specify in struts-config.xml
>
On 1/31/06, rama chandrula <[EMAIL PROTECTED]> wrote:
> I have a list of objects, and each object inturn has a list of another
> object. I want to represent all these objects and the properties of the
> inner object in the UI like
>
> outer[i].inner[j].propertyValue
>
> How can I use nested tags to
You should name the fields in a way that allows Struts (BeanUtils,
actually) to get to the correct property, such as "address.street".
Also, make sure your accessor for the nested bean always returns a
non-null bean, or else you'll get an NPE when the form is submitted.
Hubert
On 1/31/06, Sony T
I've always told people I'll start [ANN]ouncing once I hit 1.0, so...
FormDef 1.0 has been released and is ready for download.
http://www.rabago.net/struts/formdef/
FormDef allows you to easily declare Struts form beans based on
existing business classes. This allows an application to reuse
pro
ct
> URI?).
>
> kr,
> guenther
>
> --
> Günther Wieser
>
> creative-it
> Guglgasse 6/1/11/1
> A-1110 Wien
> Austria
> http://www.creative-it.com
>
> "2 Dinge sind unendlich: Das Universum und die
> Dummheit der Menschheit, aber beim Universum
> bin
On 1/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Very simple two questions .
>
> 1. How do I get struts log4j messages on my console/my log ?
> 2. How do I read application specific properties file in struts
> application?
Instructions on how to use and configure Log4j are available on
h
If all the config files are for the same module, make sure you put the
request processor definition in just one of those config files. In
cases where multiple files (for the same module) carry request
processor definitions, the last definition processed upon startup
would be the definition that wi
Günther,
Can you file a Bugzilla issue for this?
thanks,
Hubert
On 1/30/06, Günther Wieser <[EMAIL PROTECTED]> wrote:
> hi,
>
> just for future reference (in case somebody searches for the same problem),
> i found the "solution" in the README.txt for verson 1.2.8.
>
> =
> KNOWN L
If there's a form associated with a request, Struts automatically
populates the form bean for you. Just submit the form to a URL with a
proper form bean mapping, and struts will populate the form bean with
values from request parameters for parameters whose names match those
on the form.
It doesn'
This is what's happening:
1) User submit form with invalid data to /Control.do
2) Struts finds action mapping for /Control.do and sees validate="true"
3) Struts call's the form's validate()
4) validate returns false
5) Since validation fails, Struts forwards to the "input" url
6) Go to step 2
The
Struts won't change the value of request parameters. I'm certainly no
encoding expert, but if you want to narrow down the cause, try playing
with a basic servlet and see what it gets from request parameters.
Hubert
On 1/30/06, David Delbecq <[EMAIL PROTECTED]> wrote:
> Hello dear members,
>
> We
If the request being submitted doesn't include form values, I'd say
skip the ActionForm.
Hubert
On 1/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> My question concerns jsp pages that provide a read only view of data. In
> other words, there won't be a form submitted from the page. Is
On 1/24/06, Niall Pemberton <[EMAIL PROTECTED]> wrote:
> However I have just created some new date validation functions that
> can do this for you. They are only currently in subversion, the
> package javadoc has some examples here:
>
> http://tinyurl.com/cc7a2
>
> Niall
>From above URL:
"1. O
You'd have to write an Action which reads the image from the DB and
writes it onto the servlet's output stream. There was a thread just
yesterday which discussed how to do this. You can set your image URL
to that action and provide it with enough parameters to find your
image in the DB.
Hubert
What about, uhm, BeanUtils?
What's your hestitation in using BeanUtils in your EJB tier? AFAIK
there's nothing that limits BeanUtils to the presentation tier.
Hubert
On 1/24/06, Sharon Jolly <[EMAIL PROTECTED]> wrote:
> Hi,
>
>
>
> Am working in a project where I need to get information from a l
You'll need to rename your "iDef" property if that is what you're
calling it, via getIDef/setIDef. That pair will result in a property
name of "IDef". If you'd rather not change your accessor methods,
then use "IDef.partNumber" instead of "iDef.partNumber". [Wendy can
quote the JavaBean spec rel
On 1/6/06, Craig McClanahan <[EMAIL PROTECTED]> wrote:
> > IIRC, Craig implements Commands the way he did Actions, so there's one
> > instance of it for the whole app (per jvm, etc, you know what i mean).
>
>
> That's what the default Commons Chain imlementation does, so that's what the
> current 1
On 1/6/06, Niall Pemberton <[EMAIL PROTECTED]> wrote:
> This will be easier to do in Struts 1.3 because rather than having to have a
> custom RequestProcessor you simply need to replace the Command that gets the
> Action instance with your own version that instantiates a new Action every
> time. So
On 1/6/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> The interesting thing is, there are some relatively minor tweaks that
> could be done to Struts that would solve a lot of problems. How about
> creating Actions per-request? Not at all a significant enhancement, but
> think of all the thin
On 12/21/05, Craig McClanahan <[EMAIL PROTECTED]> wrote:
>
> Interestingly, this example confirms the counter argument that Hubert is
> raising :-). Double clicking an Open Office document causes that document
> to be opened, but *not* where it was when you closed it, or what you might
> have capt
On 12/21/05, Alexandre Poitras <[EMAIL PROTECTED]> wrote:
> I think bookmarks are a bad idea in web applications even when not built
> with Ajax. After all, an application is stateful and need a *state* to run.
> Bookmarks in my mind are made for informational sites wich are staless and
> not appli
On 12/20/05, Laurie Harper <[EMAIL PROTECTED]> wrote:
> starki78 wrote:
> > Hi*
> >
> > Is this combination (Struts 1.2.7 and Validator 1.2) possible and is it
> > recommended to upgrade to this
> > Validator version, when you don't Validator up to now?
> >
> > Thanks Starki
>
> AFAIK, validator 1
r the "companyForm", except I defined "employees"
to be a list, and told the converter which form to map its elements
to, and which Collection implementation class to use.
Hubert
On 12/15/05, Rick R <[EMAIL PROTECTED]> wrote:
> On 12/15/05, Hubert Rabago <[EMAIL PROT
I've always used String values. Given that difference, I've seen this work:
datePatternStrict
MM/dd/
In this case, the form bean has a collection of "employees", and each
empl
Take a look at Action mapping wildcards. This could even help
maintain sanity since you'll know what bean a certain action call will
be expecting.
http://struts.apache.org/struts-action/userGuide/building_controller.html#action_mapping_wildcards
Btw, questions like these should go to the user li
Somebody posted in Bugzilla lately that a possibly cause of this
problem is an incomplete set of commons-* jars, such as Common
BeanUtils, Commons Digester, or Commons Validator [1]. Make sure your
jar files are complete.
And if anyone has an idea on how we can solve this issue, patches
and/or de
Sorry for coming in late to the discussion but I only read this thread now.
I may have misunderstood the problem. I'm thinking the popup will
display a list of providers matching the search parameters, and the
user can select any of them by checking one, and the fields on the
form on the parent w
Yes it's Friday indeed (TG). For the benefit of you out there
searching the archives, you can accomplish this by using . You can get more information here:
http://www.niallp.pwp.blueyonder.co.uk/HelpTagsErrorsAndMessages.html
Hubert
On 11/18/05, Aladin Alaily <[EMAIL PROTECTED]> wrote:
> Probl
Well, I'm not Michael, but...
On 11/16/05, Asad Habib <[EMAIL PROTECTED]> wrote:
> Hello Michael. Thanks for your input. Doesn't this approach defeat the
> purpose of using Struts though?
I don't believe so. We're trying to make Struts more flexible and
more extensible, and as a result we hope t
The times I came across this, it was related to an error in my
struts-config.xml.
Hubert
On 11/16/05, Graham Leggett <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I have been trying to set up a new Struts project from scratch, and
> having set up a basic action class, etc I fire off a browser at my UR
> -Original Message-
> From: Mike Duffy [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 11, 2005 4:47 PM
> To: Struts Users Mailing List
> Subject: [OT] JSF Interface Design - Is it Truly Limited?
>
>
> I know there are some leading edge JSF and Shale gurus who
> monitor this list.
I wo
This is exactly what FormDef does. It reads your existing bean and
configures a form bean for it. Reuse.
You can continue to use BeanUtils with the FormDef-configured beans as
you would any other form bean, or you can also use FormDef's
setFormValues()/getFormValues() and take advantage of its
f
On 11/8/05, Yujun Liang <[EMAIL PROTECTED]> wrote:
> in Struts, you can define
>
>type="com.clear2pay.bph.bean.Instruction"/>
>
>
> and you can just call,
>
> bean = ((DynaActionForm) form).get(pageName);
> in this case pageName = "instruction";
>
> and Struts automatically populate a
> com.c
You can set the form's scope to "request". This way, the values don't
survive from one request to the next.
Hubert
On 11/8/05, pc leung <[EMAIL PROTECTED]> wrote:
> even the following cannot clear fields in
> type="org.apache.struts.validator.DynaValidatorForm" >
>
>
>
On 11/7/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hi Hubert,
>
> Thanks for the suggestion. I tried the second option
>
> 2) Override the default ActionMapping class and set its default "scope"
> value to request.
>
> Extended the ActionMapping class and in the CustomActionMapping
> cons
Is your JSP being accessed directly?
If so, you may need to let the Struts RequestProcessor do its work first.
then access it the way you would other Struts actions:
http://domain/myApp/myPage.do
Hubert
On 11/4/05, Łukasz Piątkowski <[EMAIL PROTECTED]> wrote:
> Hello !
>
> I have a proble
On 11/3/05, Yujun Liang <[EMAIL PROTECTED]> wrote:
> Hubert,
>
> Good morning! ( Since I am sending it from Australia.)
Good morning!
> How can I convert an input from user to the Date field base on the Locale?
> I mean the locale is a varible during the session and conversion can
> handle multip
On 11/3/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
> Started a new thread, so it were visible in GMail.
>
> That was the idea. If FormDef could somehow pull my definitions from
> struts-config.xml or, which is much better, from configured Java
> objects, I would not have to redefine the prope
yntax.
> http://struts.apache.org/struts-core/userGuide/building_controller.html#action_form_classes
>
> Do you know whether this BeanDef works with Validator?
>
> Thanks.
>
> On 11/3/05, Hubert Rabago <[EMAIL PROTECTED]> wrote:
> >
> > [ Oh, I missed my cue! :) ]
> &g
On 11/2/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
>
> If it were possible to use form definitions made in struts-config.xml,
> then you would not have to reimplement this property in FormDef, and I
> would not have to wait for you to reimplement it ;-) I would just
> apply your patch to my c
On 11/2/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
>
> Um, that is not exactly what I asked about. I want to define
> resettable properties in struts-config.xml file (or somewhere else, I
> don't care where), for example:
>
> type="org.apache.struts.validator.DynaValidatorForm">
>
>re
On 11/2/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
> Hubert,
>
> I cannot find if you explained it already, how to combine FormDef and
> a regular Struts dynaform definitions. In your manual you write only
> about DynaValidatorForm.
FormDef can only work with forms defined by FormDef.
> Con
[ Oh, I missed my cue! :) ]
If your form bean maps to a business object (and it sounds like it
does since you're using BeanUtils), you can try FormDef:
http://formdef.dev.java.net/
You won't need to create a separate ActionForm class or manually
define your DynaActionForm, FormDef will configure
On 11/2/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> In our application, we have decided to force all the actions to use the
> request scope. So instead of adding scope ="request" in the
> element in struts-config.xml for each action, we extended the
> RequestProcessor class as
For web applications, I tend to think that the more appropriate
approach is (what I know to be called) optimistic locking. When a
user edits a record, I keep track of the update timestamp (or even
better, an update sequence number) of the record selected. This value
gets sent back when the user a
1 - 100 of 531 matches
Mail list logo