Hi folks, hi Gary,
Now with this clay.xml my datatable is having a radio column. Wow, took so
long ...
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
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
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:
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
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,
>
>
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
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
> 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
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 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
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
**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
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
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
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
[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
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
>
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
"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:
> * 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]
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
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
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
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]
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
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
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
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
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
30 matches
Mail list logo