Congratulations Laurie!
Funny, it's usually asked the other way around, but here goes...
Where's the IE version?? :) Maybe a nice toolbar?
Frank
Laurie Harper wrote:
I'm very pleased to announce the availability of the Struts Sidebar, a
sidebar for Mozilla-type browsers that provides conveni
I'm very pleased to announce the availability of the Struts Sidebar, a
sidebar for Mozilla-type browsers that provides convenient access to the
reference documentation for Struts. The Struts Sidebar is a free
resource for Struts users and developers, kindly hosted by Zotech Software.
You can i
If the ActionForms are truly in session scope then the shared state isn't in
the ActionForm. It's probably a problem with instance variables in your
Actions.
On 9/30/05, Preston CRAWFORD <[EMAIL PROTECTED]> wrote:
>
> We have a problem. We're working on an application and we have some
> forms in s
> On 10/1/05, Preston CRAWFORD wrote:
> >
> > We have a problem. We're working on an application and we have some
> > forms in session scope. The strange thing is if someone changes state on
> > their form, users on other computers on other browsers hitting the same
> > exact page see the stat
On Sep 30, 2005, at 8:55 PM, Graham Reeds wrote:
I suppose you could do a forward from within index.jsp
That's the best way I can think of.
Greg
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [
On a related theme... Is it possible to set it up so the application
automatically starts with a page from the tile-def.xml bypassing jsp's
entirely...
I suppose you could do a forward from within index.jsp but why waste
processor power:-)
G.
---
On 10/1/05, Preston CRAWFORD <[EMAIL PROTECTED]> wrote:
>
> We have a problem. We're working on an application and we have some
> forms in session scope. The strange thing is if someone changes state on
> their form, users on other computers on other browsers hitting the same
> exact page see the s
Hi All,
I am having a problem with ActionForm. I have spent quite some time to
tackle the problem, but without any luck resolving it. The problem is.
I have three Actions which share the same ActionForm. They all work
perfectly fine, until in one of the Action's excecute method, a Httpclient
c
Van wrote:
On 9/30/05, Graham Reeds <[EMAIL PROTECTED]> wrote:
Now with the above changes and I also read that tiles have a convention
of prefixing period (.) so that has been changed I still get a 404 but
with the new error message of "Invalid path /Tester was requested"
struts-config.xml:
We have a problem. We're working on an application and we have some
forms in session scope. The strange thing is if someone changes state on
their form, users on other computers on other browsers hitting the same
exact page see the state change that was made to the form on another
computer. I have
Wendy Smoak wrote:
From: "Borislav Sabev" <[EMAIL PROTECTED]>
I'd like to set a label of submit buttons getting it from property
file. But seems that this is not possible.
One other problem I see is that value attribute has two purposes: to
set the label, and on submit to provide value for the
On 9/30/05, Graham Reeds <[EMAIL PROTECTED]> wrote:
> Now with the above changes and I also read that tiles have a convention
> of prefixing period (.) so that has been changed I still get a 404 but
> with the new error message of "Invalid path /Tester was requested"
>
> struts-config.xml:
>
You
Your webapp is under 'test'? (Just for completeness of info.)
Yes it is.
Now with the above changes and I also read that tiles have a convention
of prefixing period (.) so that has been changed I still get a 404 but
with the new error message of "Invalid path /Tester was requested"
struts-c
Graham Reeds wrote:
I have a jsp page with a link to Tester: Test
Oh, wait.
See, I don't think that will work. If you use an action="pages/Tester">Test that should do it.
doesn't know about struts.
Are you mapping with *.do? If so, then how would you expect an href="pages/Tester"...> to b
Dave Newton wrote:
Graham Reeds wrote:
In my struts-config.xml I have a forward mapped: path="pages/Tester" forward="Test.page" />
What happens if you put a leading "/" in the path?
Dave
Still get the 404 error message.
I'm not having a lot of luck with Struts. And the lack of useful
inf
[EMAIL PROTECTED] wrote:
just out of curiosity, did you mean to write
Test
No, the lack of .do is deliberate. Using do denotes an actual form
action whereas I just want the activation of a generated page by tiles.
I suppose I could call it "pages/Tester.tile".
This way I can keep all my t
Graham Reeds wrote:
In my struts-config.xml I have a forward mapped: path="pages/Tester" forward="Test.page" />
What happens if you put a leading "/" in the path?
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additio
You could specify paramId, paramName, paramProperty attributes in the exact
similar way to .
Please take a look at
http://struts.apache.org/userGuide/struts-logic.html#redirect
On 9/30/05, Doug Thomas <[EMAIL PROTECTED]> wrote:
>
> How do I create a logic:redirect element with a query string>
>
>
Greg Reddin wrote:
Are you using the TilesRequestProcessor? In struts-config.xml:
Also make sure the Tiles Plugin is configured:
Yes. They are the exact carbon copies of mine. I used the default
struts-blank.war as my starting point for my testi
> styleClass="textField" onfocus="this.select(); this.className='fieldActive'"
> onblur="this.className='fieldInactive'; reCalcFields(<%=executionState}%>);"
> size="4" maxlength="10" />
Two comments:
1) You have a closed curly brace in that attribute -- I am assuming
that is a typo in this email
just out of curiosity, did you mean to write
Test
Are you using the TilesRequestProcessor? In struts-config.xml:
Also make sure the Tiles Plugin is configured:
Greg
On Sep 30, 2005, at 4:47 PM, Graham Reeds wrote:
I'm trying to set an action mapping to a tile.
I have a jsp page with a link to T
I'm trying to set an action mapping to a tile.
I have a jsp page with a link to Tester: Test
In my struts-config.xml I have a forward mapped: path="pages/Tester" forward="Test.page" />
And in tile-def.xml I have Test.page defined:
However this gives a 404 for the page test/pages/Tester
Nick Heudecker wrote:
Too bad I won't be there. I'd win using just cat and sed to write code. ;)
Real men code everything in APL.
(Remember APL? You thought Forth or Lisp were write-only languages!)
Dave
-
To unsubscrib
Too bad I won't be there. I'd win using just cat and sed to write code. ;)
On 9/30/05, James Mitchell <[EMAIL PROTECTED]> wrote:
>
> For those who might have missed it (especially if you live in or near
> Atlanta, GA):
>
> There is a coding competition being held on Wed (next week)...check
> it ou
> I am on websphere/wsad 5.1. Do I have to use EL
>
I think that you can right mouse click on the web project and in one of the
list items select JSTL tags. It will automatically update the project and
include the JSTL 1.0 standard.jar
wesad rocks!
>
> >From: Dave Newton <[EMAIL PROTECTED]
For those who might have missed it (especially if you live in or near
Atlanta, GA):
There is a coding competition being held on Wed (next week)...check
it out!
http://edgetechservices.net/snipsnap/space/Web+Atlanta+Users+Group
Bring it on!
--
James Mitchell
Software Engineer / Open Sou
Dilip Ladhani wrote:
I am on websphere/wsad 5.1. Do I have to use EL
I have no idea. Perhaps you could look in your documentation or on the
web: I'll just bet it says somewhere.
Dave
-
To unsubscribe, e-mail: [EMAIL PROT
Hello all,
Sorry for the off topic post. I need to get some data exported into Indesign
format, and I am not sure how to do that.
Is there anyone out there doing this already? I've seen some techniques that
require number of conversions but I would like to keep this to a minimum and
have the whole
I am on websphere/wsad 5.1. Do I have to use EL
From: Dave Newton <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List"
To: Struts Users Mailing List
Subject: [OT] Re: embed jstl or other struts tag or scriplets within
html:text
Date: Fri, 30 Sep 2005 15:36:17 -0400
Dilip Ladhani wrote
Dilip Ladhani wrote:
This does not work for me at all. Anyone have any ideas
Yep; use a JSP 2.0-compliant container or the struts EL tags and replace
"<%= executionState %>" with "${executionState}".
Dave
-
To unsubscrib
Hmm yeah, I guess that would accomplish the same thing.
Thanks,
Erik
-Original Message-
From: Larry Meadors <[EMAIL PROTECTED]>
Sent: Sep 30, 2005 3:06 PM
To: Struts Users Mailing List , [EMAIL PROTECTED]
Subject: Re: [OT] CVS question
No, but why not just get the branch in a seperate d
Hey guys,
This does not work for me at all. Anyone have any ideas
styleClass="textField" onfocus="this.select(); this.className='fieldActive'"
onblur="this.className='fieldInactive'; reCalcFields(<%=executionState}%>);"
size="4" maxlength="10" />
I have tried to put jstl (), other struts
ta
No, but why not just get the branch in a seperate directory (i.e.,
export it) and copy it over the trunk, then commit it?
Lazy is good.
Larry
On 9/30/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I'm having trouble with merging again.
>
> I am trying to merge changes from a branch into the
On 9/30/05, Warren Bell <[EMAIL PROTECTED]> wrote:
> I am sure this question has been asked before, but I don't know what
> keywords to use to search for it. I have a table where each row has a hidden
> field and two submit buttons, a "buy now" and a "Add to shopping cart". A
> typical layout for m
I'm having trouble with merging again.
I am trying to merge changes from a branch into the trunk. Since there are a
million changes, I don't want to deal with manually resolving conflicts. I just
want to replace everything that's in my working copy of the trunk with what's
in the branch, and th
I am sure this question has been asked before, but I don't know what
keywords to use to search for it. I have a table where each row has a hidden
field and two submit buttons, a "buy now" and a "Add to shopping cart". A
typical layout for most e-commerce sites. How do I figure out which item
needs
I can't say for sure because I can't see the whole Action class execute
method, butit appears you are thinking the Action class is the servlet
and it is not, you cannot forward from the Action class as your Action
returns a forward object. Try using the Struts mechanisms instead of brute
force
How do I create a logic:redirect element with a query string>
I have:
Where ERRORNOTIFY is defined in of the struts-config.xml
file and forwards to notifyError.jsp.
I need to generate the following URL:
notifyError.jsp?errMsg=some+error+message
How to append the query string to the URL is t
From: "Tamas Szabo" <[EMAIL PROTECTED]>
http://struts.apache.org/faqs/indexedprops.html
In my oppinion this page contains an error.
I already reported this (wrote a mail about it on this list
(don't know if this is a way to report an error in the docs)),
http://struts.apache.org/faqs/helpin
Jeff,
Assuming the code snippet in a method that returns an ActionForward, like
the execute() method itself, you can instantiate ActionForward and return
it:
else if(action.equals("sendMessage"))
{
String member = request.getParameter("member");
ActionForward forward = new ActionForward(sendMembe
I have the following code in an action class:
else if(action.equals("sendMessage"))
{
String member = request.getParameter("member");
RequestDispatcher view =
request.getRequestDispatcher("sendMemberInvite.jsp?member=" + member );
view.forward(request, response);
}
This code wor
netsql wrote:
Ooops. that would be a bug w/ 1.3 roomity :-(
(a blog does not post! huh)
No no, you've got it all wrong...
It's a feature!
Ship it and call it "syndication."
Dave
-
To unsubscribe, e-mail: [EMAIL PROTECTED
From: "Borislav Sabev" <[EMAIL PROTECTED]>
I'd like to set a label of submit buttons getting it from property file.
But seems that this is not possible.
One other problem I see is that value attribute has two purposes: to set
the label, and on submit to provide value for the request parameter. I
On 9/30/05, Borislav Sabev <[EMAIL PROTECTED]> wrote:
> One other problem I see is that value attribute has two purposes: to set
> the label, and on submit to provide value for the request parameter. Is
> there any way they to be different?
No.
> (consider i18n problem: my buton can have German,
Ooops. that would be a bug w/ 1.3 roomity :-(
(a blog does not post! huh)
.V
netsql wrote:
I wonder if it works, this blogger of mine.
-
http://Struts_User_List.roomity.com";>roomity.com
roomity.com is broadband internet. ~~112809235
On 9/30/05, Borislav Sabev <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I'd like to set a label of submit buttons getting it from property file.
> But seems that this is not possible.
> One other problem I see is that value attribute has two purposes: to set
> the label, and on submit to provi
Hi all,
I'd like to set a label of submit buttons getting it from property file.
But seems that this is not possible.
One other problem I see is that value attribute has two purposes: to set
the label, and on submit to provide value for the request parameter. Is
there any way they to be differ
Hey guys,
I am using tiles to construct a page using bunch of jsps, say jsp1, jsp2,
jsp3. The layout page is called jsp0 (say)
Now in jsp1, I have html:text element, I have a javascript, that I need to
execute "onblur" of this textfield. The javascript function, needs to pass
an attrbute (as
The fundamental question is, can you afford a page submit for so callled
'reset' button? please change the 'reset' to 'submit' as shown below. Now
when user hits Reset, page is submitted with submit=reset; from this point
onwards you can clean stuff from session.
>
>
>
>
>
>
>
Reset <
I wonder if it works, this blogger of mine.
-
http://Struts_User_List.roomity.com";>roomity.com
roomity.com is broadband internet. ~~1128092353449~~
-
To do it the way you have shown then I would have to have a reset
button/link next to the edit/delete link at the bottom of the page. Is
that right?
-Original Message-
From: atta-ur rehman [mailto:[EMAIL PROTECTED]
Sent: 30 September 2005 15:52
To: Struts Users Mailing List
Subject: Re: r
Reset only works on the form elements:
http://www.htmlcodetutorial.com/forms/_INPUT_TYPE_RESET.html
On 9/30/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> The reset button seems to work fine before I do a search. Once I have
> returned some results the reset button does not seem to do anyt
Faisal,
Are you saying you want to do it on client side? Using the 'normal' HTML
reset? If so, I don't see how. That's why I assumed you're submitting for
reset. The reset button only resets your form elements; and you can use
javascript to call reset on more than one forms. But I don't see how ca
The reset button seems to work fine before I do a search. Once I have
returned some results the reset button does not seem to do anything
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 30 September 2005 15:42
To: user@struts.apache.org; [EMAIL PROTECTED]
Subje
The reset button from the search form does not go to the
actionclientaction class. Maybe I have explained it badly.
My jsp has some search fields and the user enters criteria into these
then clicks submit.
This returns a table of results further down the page with checkboxes
associated with each
I am not sure, what you want to show on jsp2
but let me try..
you said you want to submit some DATA from PAGE 1
then retrieve some info from database and show that data
in PAGE 2
But the mapping you shown is not correct for that
follow these steps
1. Create a mapping for action1 which does not t
in the actionClient action class, on reset button click:
ActionForm form = (ActionForm) session.getAttribute("searchClientForm");
if (form != null) {
form.reset(...);
}
only if I understood your question correctly and search form is not doing
anything with mapping and/or request in it's reset() m
On 9/30/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
>
> I'm not sure it is a stupid question... I guess this enters the realm of
> generic Java question, but I can't say I've ever thought about this
> before... what happens if you have a class that implements serializable,
> and you then exten
Yep, knew I had to be missing something :) Thanks Atta!
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM: fzammetti
Yahoo: fzammetti
MSN: [EMAIL PROTECTED]
On Fri, September 30, 2005 10:08 am, atta-ur rehman said:
> from:
>
> http://java.
Hi,
I have a search.jsp which contains two forms search form and a action
form.
The search form submits all the search criteria to the action class
which queries the DB then returns a result. The action form then
decides which action to do with what result.
The problem I have is how do I re
from:
http://java.sun.com/j2se/1.4.2/docs/api/java/io/Serializable.html
"When traversing a graph, an object may be encountered that does not support
the Serializable interface. In this case the NotSerializableException will
be thrown and will identify the class of the non-serializable object."
A
On Fri, September 30, 2005 4:53 am, gollinger said:
> Hi!
>
> I've two html:selects within a form.
> The selected value of the first determines
> the possible values in the second select box.
> Now the onchange-Event fires a client-side Javascript Event.
> Is it better to change this and put the fu
I'm not sure it is a stupid question... I guess this enters the realm of
generic Java question, but I can't say I've ever thought about this
before... what happens if you have a class that implements serializable,
and you then extend that class and add a member that is NOT serializable?
Does that
Hi,
I am lost in the basics.
Problem: When PAGE 1 DATA is submitted then (back end will retrieve the info
from database) and PAGE 2 should be displayed with DATA. But the population
is not happening, I am lost in basics. Please clarify.
Here is the information on my form-beans and action-map
A very similar question was asked earlier this week. Check the
archives for more.
Here's how I've done it, but it's not extremely elegant:
tiles-defs.xml
Here's a snippet from mainlayout.jsp:
and here's header.jsp:
Header
Title is:
The problem is that heade
Note that if you are running in a clustered environment (or want to
be ready to move to one without rewriting your application) this is
not a good solution. The ServletContext is specifically not to be
shared amongst clustered interests according to the specifications.
This is particularly a p
>
> However, before you do that, have a look at this page:
>
> http://struts.apache.org/faqs/indexedprops.html
In my oppinion this page contains an error.
In the List-Backed Indexed Properties the method
public java.util.List getStringIndexed(int index) {
return java.util.Arrays.asL
Just to try to understand this better... what if the pre-processor did
something like this?
FacesContext fcontext = swcontext.getFacesContext();
UIViewRoot newRoot = fcontext.getApplication().getViewHandler()
.createView(fContext,"login.faces");
fcontext.setViewRoot(newRoot);
return true;
Would I
I am new to struts ..
Please give idea abt setting paths and war files to copy.
Marreddy.p
-Original Message-
From: Tamas Szabo [mailto:[EMAIL PROTECTED]
Sent: Friday, September 30, 2005 5:36 PM
To: Struts Users Mailing List; [EMAIL PROTECTED]
Subject: Re: Serializable
Hi,
But (this is OT): how do you stop Tomcat from doing so? I looked in the
> Tomcat 5.0.x doc and just found nothing really helpful.
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/manager.html
If you want to stop Tomcat doing this for a webapp only
put a META-INF/context.xml in your
This is the message in the internet,
was is helpful to you?
Cannot find bean org.apache.struts.taglib.html.BEAN in any scope
Exception javax.servlet.jsp.JspException: Cannot find bean
org.apache.struts.taglib.html.BEAN in any scope
Probable Causes Trying to use Struts form subelement tags outsi
Hello,
I have problem with putting attributes in right context - my tiles
definitions look like:
What I would like to achieve is:
1) I would like that .header attribute "title" was passed from
.add_product.form, so i can have only one header definition and many
rendering pages like .add_pr
Hi
We are changing our site to XHTML but we have a problem whith .
When we are validating our site it is not valid because html:link use &
instead of &
Example
?distance=100&kmmax=0&type=0&yearmin=1985
In our jsp page we have placed in the top of all out jsp
pages.
Validator: http://validat
In my case, it does not work after putting displaytag.properties
under WEB-INF/classes.
My displaytag.properties has only 1 line.
ie. userRole.system.title=System
what else to do next?
Thnx
在 2005/9/[EMAIL PROTECTED] <[EMAIL PROTECTED]> 撰寫:
> Hi leung,
>
> you can put displaytag.properties file
Hello,
I have the following code :
because
raises Null Pointer exception in case of prd null or prd.fap null
Can I replace the 3 boring by a single one that will check
automatically the "emptiness" of each subproperty of the property field ?
Thanks for any help
-
purtroppo il proxy aziendale non mi permette di uscire :(
-Messaggio originale-
Da: gollinger [mailto:[EMAIL PROTECTED]
Inviato: venerdì 30 settembre 2005 11.04
A: user
Oggetto: Re:Display checkbox
Ciao Fabio,
Dai un'occiata!
http://www.geocities.com/Colosseum/Field/7217/SW/struts/erro
Ciao Fabio,
Dai un'occiata!
http://www.geocities.com/Colosseum/Field/7217/SW/struts/errors.html
Regards Antonio
-- Initial Header ---
>From : "Bianchi Fabio" [EMAIL PROTECTED]
To : "Struts Users Mailing List" user@struts.apache.org
Cc :
Date : F
> Hi all,
>
> I've this JSP code:
>
> requestURI="wul_search.do?method=search" pagesize="10"
> export="true" defaultsort="8" defaultorder="ascending">
>
> select
>
>href="wul_search.do?method=load" paramId="id" sortable="true"
> headerClass="sortable" media=
Hi!
I've two html:selects within a form.
The selected value of the first determines
the possible values in the second select box.
Now the onchange-Event fires a client-side Javascript Event.
Is it better to change this and put the functionaly
in a Java-Class. Would this be possible?
Is thi
Hi leung,
you can put displaytag.properties file under WEB-INF/classes folder and
classloader will autmatically load it.
There is no need to define that properties file in struts-config.xml
because anyway you are not going to put this property file under any
package structure.
Keep this prope
Hi all,
I've this JSP code:
select
...
...
...
...
...
...
...
...
...
...
...
this is my Error:
[30/09/05 10.18.37:714 CEST] 28b13200 WebGroup E SRVE0026E:
the titleKey gives null.
A single line is input into displaytag.properties
userRole.system.title=System
I have put displaytag.properties /WEB-INF/
and /WEB-INF/user
The column title is still blank.
Where is the correct path to put displaytag.properties?
Where can I define the path of displayt
Good point!
But (this is OT): how do you stop Tomcat from doing so? I looked in the
Tomcat 5.0.x doc and just found nothing really helpful.
Martin
> -Ursprüngliche Nachricht-
> Von: Leon Rosenberg [mailto:[EMAIL PROTECTED]
> Gesendet: Freitag, 30. September 2005 10:03
> An: Struts Users
I wouldn't do it, unless you use distributed sessions. Having
serializable forms will cause tomcat to dump everything from the
session to a file, and reload it after restart. Unless you explicitely
want this (user-invisible restart, but then you need to make
EVERYTHING serializable) it makes restar
That's a very good point. I feel like I've asked a stupid question now -
duh!
Thanks Starki
On 30 Sep 2005 at 9:52, starki78 wrote:
> I don't know if you have to use implements at all
> because
> the super-class does already implement it.
> What would you like to achieve?
>
> Regards Star
I don't know if you have to use implements at all
because
the super-class does already implement it.
What would you like to achieve?
Regards Starki
-- Initial Header ---
>From : "Murray Collingwood" [EMAIL PROTECTED]
To : user@struts.apache.org
Cc :
Date
Just a quick question.
Does anybody follow any rule (personal or corporate) for when to use
"implements
serializable" on a Struts form-bean?
Kind regards
mc
FOCUS Computing
Mob: 0415 24 26 24
[EMAIL PROTECTED]
http://www.focus-computing.com.au
--
No virus found in this outgoing message.
88 matches
Mail list logo