On 2/24/06, Jim Reynolds <[EMAIL PROTECTED]> wrote:
> I recommend not using session, unless it is completely necessary. I
> have had memory issues, and other problems like garbage colleciton
> when putting information into the session. Basically like one of the
> other responders said, just populat
Rick,
It sounds like you are having a problem that I solved last week. I did not get
in on the beginning of this conversation so I will give you a rough draft of
what I did and you can ask me for my code if it will help your situation.
I had a situation where I needed to include the result of oth
There's an old implementation here:
http://sourceforge.net/project/showfiles.php?group_id=49385
Look for 'Message Resources Impls', there is a version of the struts-
example (Mailreader) that uses a database instead of property files.
--
James Mitchell
EdgeTech, Inc.
http://edgetechservices.ne
Jim Reynolds wrote:
IMOHO it is best to stay away from session information unless it is
something that is necessary for the full site.
imo, the Session is better than using hidden variables. People freak out
over using the Session like it's something taboo. If it's a trade off
between compl
I recommend not using session, unless it is completely necessary. I
have had memory issues, and other problems like garbage colleciton
when putting information into the session. Basically like one of the
other responders said, just populate your form, do your validation,
and pass it along to anothe
The problem is there is other information in the form bean that is not
in the page, therefore it is not getting initialised properly.
I am going with the hidden variable approach as suggested.
On 2/24/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote:
> On 2/24/06, Chris Cheshire <[EMAIL PROTECTED]
On 2/24/06, Chris Cheshire <[EMAIL PROTECTED]> wrote:
> I have the following chain of events in an app
>
> ActionA -> PageA -> ActionB -> ActionC
>
> All transitions are forward requests (not redirects) and PageA ->
> ActionB is a POST.
>
> In ActionA I have a form bean prepopulated with a collecti
Chris Cheshire wrote the following on 2/24/2006 5:31 PM:
The problem is, since everything is in request scope, once the ActionA
-> PageA forward is completed, the bean is no longer valid. Is there
any way to get the bean to transfer to the next request, or do I need
to use a session bean instea
I have the following chain of events in an app
ActionA -> PageA -> ActionB -> ActionC
All transitions are forward requests (not redirects) and PageA ->
ActionB is a POST.
In ActionA I have a form bean prepopulated with a collection to
display and choose one of in PageA. ActionB then needs to get
> * http://en.wikipedia.org/wiki/Truthiness
http://www.testing.com/cgi-bin/blog/2006/02/20#truthish-mocks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
"Not to worry, the new release will ship Real Soon Now."
* http://en.wikipedia.org/wiki/Truthiness
[Compare factoid - http://en.wikipedia.org/wiki/Factoid ]
- Ted.
** http://www.husted.com/ted/blog/
-
To unsubscribe, e-mail:
Iam programing one struts application for one cluster machine.
Into my beans, no struts, i must to implements the serializable
If my struts application has the acton, one actionForm i must to serialize the
action form for runnig well into the cluster machine?
thanks
Laurie Thanks for the email
That is what I would like to do... and hear this talked about quite a bit.
Problem is I do not know where to begin. This bit
> resource bundle implementation that loads its content from the database.
> Then configure Struts with a custom ResourceBundleFactory (in
>
[EMAIL PROTECTED] wrote:
Thanks Niali:
Do you have any examples or pointers for writing reset method of
ActionForm ?
Just override ActionForm.reset() in your ActionForm subclass and include
the code to clear your checkbox property to whatever value corresponds
to the checkbox not be
Jim Reynolds wrote:
I have a scenario where our site allows users to enter foreign
languages in a database. So at anytime, the value of a langage value
can change. So I am unable to use the message resources as they are
static between server bumps.
Anyway, it would be great if I could actually c
Scott Van Wart wrote:
I'm fairly new to struts, so this might be a trivial question. I have
an action as follows:
public class MyAction extends Action {
public ActionForward execute( /* ... */ ) {
return mapping.findForward( "success" );
}
}
And a form:
public class MyForm extends Actio
Legolas Woodland wrote:
Thank you for reading my post.
My struts application works in my own PC but it does not works on Host
that i purchased.
it return 404 error.
Re-check how you deployed the application to your hosting provider. Does
it use the same servlet container as you're using loca
**DISCLAIMER**
This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the named addressee, please notify the sender immediately by e-mail if you have received this e-mai
On 2/24/06, matador <[EMAIL PROTECTED]> wrote:
> how to do this?
>
> existing jsp (model 1 arch) is dependent on querystring parameter (e.g. ?
> vId=256), so instead of posting this page to another page that updates the
> db, i post it to an action class etc. fine no probs there.
>
> but the forwa
hi all;
i need to set jsf componentss initial values while bean being loaded.
according to the shale viewhelper doc.
http://struts.apache.org/struts-shale/features-view-controller.html
i thought i may do that in prerender() method with help of isPostBack
property.
whenever i try to set a components
I have a scenario where our site allows users to enter foreign
languages in a database. So at anytime, the value of a langage value
can change. So I am unable to use the message resources as they are
static between server bumps.
Anyway, it would be great if I could actually create some type of
mec
> Hi folks, hi Gary,
>
> Now with this clay.xml my datatable is having a radio column. Wow, took so
> long ...
>
>
> The Problem was the value of the radio having a complex type with a toString
> method not resolved ...
>
> Now my html result has entries like:
>
>
> with the problem
how to do this?
existing jsp (model 1 arch) is dependent on querystring parameter (e.g. ?
vId=256), so instead of posting this page to another page that updates the
db, i post it to an action class etc. fine no probs there.
but the forward for the action class needs to go back to the posting pa
Thanks Niali:
Do you have any examples or pointers for writing reset method of
ActionForm ?
Should checkbox attribute in question in my ActionForm be Boolean
or it can be String type?
Right now I have it as String and value coming from DAO are
"Y"/"N" which I change it t
Check out this link from the wiki:
http://wiki.apache.org/struts/StrutsCatalogLazyList, the section on Indexed
properties. In order for it to work, you have to set the id attribute to the
same as the indexed property.
Kjersti
On 24/02/06, Hans-Peter Petek <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
>
I bet a box of chocolates you forgot to define or badly defined the
logic taglib in your .jsp header :)
[EMAIL PROTECTED] a écrit :
>Hi,
>
>I have a form with a List and want to show the values on my JSP. But when I
>start my JSP the bean "id" cannot be found in any scopy. I dont understand
>why
Hi,
I have a form with a List and want to show the values on my JSP. But when I
start my JSP the bean "id" cannot be found in any scopy. I dont understand
why struts is looking for a bean "id" this is only my id value of the
iterate tag of my JSP. Here is my JSP code:
Have you checked the docs?
http://struts.apache.org/struts-taglib/tagreference-struts-html.html#html:errors
Niall
- Original Message -
From: "red phoenix" <[EMAIL PROTECTED]>
Sent: Friday, February 24, 2006 3:47 AM
application.properties file:
errors.footer=
errors.header=
errors.abc
Hello,
i am really confused now - there can be only a small mistake ... :-((
If i have no getter and setter for right, the app is running, but after
submitting the form, the right-object is null (of course)
if i set the getter and setter for right, i get:
[Servlet-Fehler]-[BeanUtils.populate]: ja
Hi folks, hi Gary,
Now with this clay.xml my datatable is having a radio column. Wow, took so
long ...
30 matches
Mail list logo