Hi,
On clicking back button, my page gets refreshed instead of getting from
cache.
Can you please tell why this is happening or what to do to prevent this.
Regards,
Ranganathan
Joey!
I had this problem earlier and I fixed it now..
What you need to have in your action form is..
public Row getRow(int index) {
return (Row) rows.get(index);
}
public void reset(ActionMapping mapping, HttpServletRequest
servletRequest) {
// struts check boxes do
Send an empty message to [EMAIL PROTECTED]
-Original Message-
From: Pavan Kumar K.L.P [mailto:[EMAIL PROTECTED]
Sent: Tuesday 07 February 2006 07:37
To: user@struts.apache.org
Subject: want to unsubscribe
hi
please un subscribe me.
This message and any attachments are confidential and in
hi
please un subscribe me.
Hello everybody.
I think this is a old question. but I can not find a good and complete
example in Google.
My question is :
I have a Jsp page which will list some datas for user. user can choose(by
click the checkbox) some of those data and click a botton for delete or some
others operator. So I
I have discovered something:
Instead of using the rendered attribute on the table, I put a c:if
around it and it called the actionEvent as expected. What the heck!
I'd prefer not to mix JSTL with JSF, so I'd like to hear what is going
on here.
It seems to me, if I was able to click the button, i
I will try your code and give you a sample later.
I have similar stuff instead my first form is using onchange event when
selection changes (there is no submit button), it works perfectly.
You can go back to the requesting view by using action and just return
null.
Emily
-Original Message-
On 2/6/06, Jason Vincent <[EMAIL PROTECTED]> wrote:
>
> hmm... ok I tried your suggestion, but it still no worky. I even just
> had the action="home" and that didn't work either, instead of
> evaluating some expression to call.
>
> It is my understanding that the only difference between actionList
hmm... ok I tried your suggestion, but it still no worky. I even just
had the action="home" and that didn't work either, instead of
evaluating some expression to call.
It is my understanding that the only difference between actionListener
and action is that an action call will make use of the nav
> I agree. I took a peek at the myfaces UIComponentTag and in the
> "createComponentInstance" method there is a check for the existence of
> a "binding" attribute. If there is one, the component instance pulled from
> the target managed bean. Otherwise, it's using the createComponent factory
>
On 2/6/06, Gary VanMatre <[EMAIL PROTECTED]> wrote:
>
> >On 2/6/06, Ryan Wynn <[EMAIL PROTECTED]> wrote:
> >>
> >> It seems the binding attribute is not getting set until the restore
> >> view phase. For example if I have
> >>
> >>
> >>
> >>
> >>...
> >>
> >> setBar is not calle
>On 2/6/06, Ryan Wynn <[EMAIL PROTECTED]> wrote:
>>
>> It seems the binding attribute is not getting set until the restore
>> view phase. For example if I have
>>
>>
>>
>>
>>...
>>
>> setBar is not called until the view is restored. I would have thought
>> that I would have acc
On 2/6/06, Ryan Wynn <[EMAIL PROTECTED]> wrote:
>
> It seems the binding attribute is not getting set until the restore
> view phase. For example if I have
>
>
>
>
>...
>
> setBar is not called until the view is restored. I would have thought
> that I would have access to the c
>It seems the binding attribute is not getting set until the restore
>view phase. For example if I have
>
>
>
>
> ...
>
>setBar is not called until the view is restored. I would have thought
>that I would have access to the component during the initial render
>phase.
>
>What I would
It seems the binding attribute is not getting set until the restore
view phase. For example if I have
...
setBar is not called until the view is restored. I would have thought
that I would have access to the component during the initial render
phase.
What I would like to do i
You might try changing the "Check for newer versions of stored settings."
As described in the following URL.
http://www.microsoft.com/windows/ie/using/howto/customizing/clearcache.mspx
It should either be "Every visit to page" if that's what you have now try
"Automatically".
If that's the problem
On 2/3/06, David Thielen <[EMAIL PROTECTED]> wrote:
> So. Any ideas on how to find these people and make the offer to them?
For J2EE Mavens, I'd start by reviewing the most popular blogs at JRoller,
* http://jroller.com/
and then review the blogs that these people read.
-Ted.
http://husted.com
Don't use actionListener but just simply use action. All you want should
be working as expected.
public String handleChangeItem() {
LOGGER.debug("handleChangeItem()");
return "success";
}
Emily
-Original Message-
From: Jason Vincent [mailto:[EMAIL PROTECTED]
Sent:
"fea jabi" <[EMAIL PROTECTED]> wrote on 02/06/2006 03:54:43 PM:
> I am sorry but none of the links in it are working.
>
> Where else can I get more info on the same?
>
> Thanks.
hmm.. this link *is* working for me..?
http://www.niallp.pwp.blueyonder.co.uk/HelpTagsErrorsAndMessages.html
Geeta
I put the messages tag in there, but I'm getting nothing from that tag.
I've witnessed JSF swallowing exceptions before. Is there a way to
get JSF to log the stacktraces to my logger?
I've really simplified my test case and I'm still seeing the problem.
I have a pull down at the top with a submi
Hello All,
We have a struts application and the server is Tomcat 5.5. I have an
ArrayList (A) set in session and an Arraylist (B) which is a subset of A set
in request. The ArrayList B always has 10 elements and I use this to be
displayed in the jsp page using Logic:iterate tag. The first page dis
I am sorry but none of the links in it are working.
Where else can I get more info on the same?
Thanks.
From: [EMAIL PROTECTED]
Reply-To: "Struts Users Mailing List"
To: "Struts Users Mailing List"
Subject: Re: saveErrors --- ActionErrors to ActionMessages
Date: Mon, 6 Feb 2006 15:44:08 -05
http://struts.apache.org//struts-doc-1.2.8/api/index.html
Looks like it has to start with a "/" also so module="/neoAdmin" and
module="/neoLetter"
-Original Message-
From: Garner, Shawn
Sent: Monday, February 06, 2006 2:42 PM
To: 'Struts Users Mailing List'
Subject: RE: Switch between ap
"fea jabi" <[EMAIL PROTECTED]> wrote on 02/06/2006 03:39:55 PM:
> I am having the below code now in my dispatch Action in one of the
methods
> in it.
>
>
> DynaValidatorForm frm = (DynaValidatorForm)form;
>
> ActionErrors errors = frm.validate( mapping, request );
> if ( errors != nul
I think contextRelative="true" is deprecated and you need to use
module="neoAdmin" and module="neoLetter" instead.
Shawn
-Original Message-
From: Marcio Ghiraldelli [mailto:[EMAIL PROTECTED]
Sent: Monday, February 06, 2006 11:35 AM
To: user@struts.apache.org
Subject: Switch between appli
I am having the below code now in my dispatch Action in one of the methods
in it.
DynaValidatorForm frm = (DynaValidatorForm)form;
ActionErrors errors = frm.validate( mapping, request );
if ( errors != null && !errors.isEmpty() ) {
saveErrors(request, errors);
...
Got it working finally by using the actual String of the link directly in
the url instead of trying to get from resource bundle.
Used method=Delete directly in the url instead of method=delete.
i.e
Thanks.
From: "fea jabi" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing
The most common way is to use the Oracle client's SQL loader application, the
name of which escapes me at the moment. Oracle's online documentation will have
information about this. It might be called sqlloader or something like that.
Another way is to write your own script. Just write a Java pr
This mailing list is for the Struts Framework. You need to ask an Oracle
mailing list that question.
-Original Message-
From: Jonnalagadda, Sumithra [mailto:[EMAIL PROTECTED]
Sent: Monday, February 06, 2006 10:59 AM
To: 'Struts Users Mailing List'
Subject: [OT]Loading data into oracle d
I have data in a text file with a delimiter. How will I import this data
into a table in orcale database?
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
On 2/2/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I highly recommend this book for anyone. Though I might recommend that a
> true newbie
> either a) read slowly or b) maybe start with something else -- but I'm not
> aware of a more
> rudimentary intro.
The original idea was that SIA wou
I can“t switch between applications:
Struts 2.8, Tomcat 5.5.7
Two actions from distinct applications:
/neoAdmin/blabla.do
/neoLetter/bloblo.do
struts-config.xml from neoAdmin (application 1):
Then, error:
message Invalid path /neoLetter/bloblo
I thought this might be interest to the Ajax mavens:
[PR Newswire] ClearNova's ThinkCAP JX, the first visual development
environment for building
rich Internet applications with AJAX now includes a royalty-free, open source
runtime.
For more, see the PR Newswire release
* http://tinyurl.com/8bb9
Everyone,
I have two fields:
1. trackingEnabled - checkbox
2. repeatOffendersDaysBack - text (int) for number of days going
back to check
The rule for these fields are this: if trackingEnabled is checked, then
the repeatOffendersDaysBack is required. Otherwise,
repeatOffende
This would be useful to indicate on the Validator portion of the Struts
User guide on the website. I think knowing that information is an
important aspect of the email validation.
-Original Message-
From: Tom Ansley [mailto:[EMAIL PROTECTED]
Sent: Monday, February 06, 2006 8:33 AM
To: St
Hi Folks,
I think it is nothing to do with server. Have you used any kind of
filter patterns which excludes this gif files to serve on request?
Are you getting my point??
- Dharmesh Patel
-Original Message-
From: Jitendra Kumar [mailto:[EMAIL PROTECTED]
Sent: Monday, February 06, 2006
The email rule does that for you. If you do not enter an email address the
rule is not applied. If you enter an email address the rule is applied to
make sure the email is valid.
Cheers
Tom
On 2/6/06, Tom Ansley <[EMAIL PROTECTED]> wrote:
>
> The email rule does that for you. If you do not en
The best book that I have seen on struts is "struts survival guide". I
bought the .pdf and the hard copy but it is now free for download from
http://www.objectsource.com.
On 2/2/06, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
>
> David Durham wrote:
> > Frank W. Zammetti wrote:
> >> Generally-spe
That would resolve the problem but it is not an option in our environment.
On 2/4/06, Max Cooper <[EMAIL PROTECTED]> wrote:
>
> Can you change the contextPaths on your dev, int, and stg servers?
>
> (dev) http://devserver.com/Application
> (int) http://intserver.com/Application
> (stg) http://stgs
Yeah, with the collections I was writing method signatures that would take
indexes, but convert them to Integer class objects to serve as the keys. My
idea was, if I provide the method signature that is the same as the array
stuff, shouldn't it work with an underlying collection. I don't reca
Indexed properties strictly speaking should be arrays - although in
earlier JDK versions they worked with Lists as well - BeanUtils allows
for lists or arrays.
Collections don't have a position or index - so you can't have
Collection backed index properties.
Niall
On 2/6/06, [EMAIL PROTECTED] <[
The email rule does that for you. If you do not enter an email address the
rule is not applied. If you enter an email address the rule is applied to
make sure the email is valid.
Cheers
Tom
-Original Message-
From: Kalcevich, Daniel [mailto:[EMAIL PROTECTED]
Sent: Monday, February 06,
So then how would you test a field that is not required to enter a value
into, but if the user does, it must be a valid email address? That is
what I am ultimately looking for. Is there a way to achieve this using
the validators that exist already, or do I need to create my own?
Daniel
-Ori
Are the ActionForm and the class that populates the thing in the same package?
I guess not if BeanUtils does the actual work.
This raises an interesting point concerning utilizing packages built by other
people. Something like BeanUtils is fairly low level, so if we integrate it
into our
Along these lines, a while back I was trying to get my forms to work with
collection-backed indexed properties, but never had any luck. Does anyone know
how to do that? I kind of thought maybe I was just not getting method
signatures right.
--- On Sat 02/04, Frank W. Zammetti < [EM
I believe it is the get method.
So if you're property is named testProperty then you need a public String
getTestProperty() and a public setTestProperty(String szTestProperty).
When the JSP page is displayed it calls getTestProperty to populate the
value. When the page is submitted it calls setTe
can anyone helpme with this please?
Thanks.
From: "fea jabi" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
To: user@struts.apache.org
Subject: Re: href
Date: Fri, 03 Feb 2006 14:07:24 -0500
thanks for responding
now gave
My lookupaction does have the mapkey
pr
Stanislav wrote:
> I'm using Struts 1.2.7 and JBoss 4.0.3 and I'm having by default session time
> out set to 30min. Is there any way to change this value to 1-2 hours?
>
web.xml:
120
> [...] i don't know if user "catch" session time out.
>
HttpSessionListener
> Session timeout is specified in web.xml.
:-) I can't believe that this is so simple :-)))
> You need a session listener. Google should give you a few results.
OK, I will.
Tnx,
Stanislav
-
To unsubscribe, e-mail: [EMAIL PROT
Hi!
I'm using Struts 1.2.7 and JBoss 4.0.3 and I'm having by default session time
out set to 30min. Is
there any way to change this value to 1-2 hours?
Also how can I monitor how many user's are logged into system, because i don't
know what action
class is called after session is timed out. Rig
Hi.
Has anyone a "not trivial" example of a struts-velocity page with
iteration of lists. parameter in links etc. The most things I have
collected in the internet, but it were fine, if I get an example that is
a little bit difficult.
Manfred
-
51 matches
Mail list logo