Re: [Announce] Struts Sidebar for Mozilla browsers

2005-09-30 Thread Frank W. Zammetti
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

[Announce] Struts Sidebar for Mozilla browsers

2005-09-30 Thread Laurie Harper
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

Re: Struts action forms crossing sessions? Any idea why this ishappening?

2005-09-30 Thread Andre Van Klaveren
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

Re: Struts action forms crossing sessions? Any idea why this ishappening?

2005-09-30 Thread Gary VanMatre
> 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

Re: Action mapping to a Tile

2005-09-30 Thread Greg Reddin
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: [

Re: Action mapping to a Tile

2005-09-30 Thread Graham Reeds
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. ---

Re: Struts action forms crossing sessions? Any idea why this ishappening?

2005-09-30 Thread Tamas Szabo
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

Empty values for all the ActionForm's attribute

2005-09-30 Thread Vince Law
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

Re: Action mapping to a Tile

2005-09-30 Thread Graham Reeds
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:

Struts action forms crossing sessions? Any idea why this ishappening?

2005-09-30 Thread Preston CRAWFORD
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

Re: submit buttons - how to put them label from resource

2005-09-30 Thread Laurie Harper
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

Re: Action mapping to a Tile

2005-09-30 Thread Van
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

Re: Action mapping to a Tile

2005-09-30 Thread Graham Reeds
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

Re: Action mapping to a Tile

2005-09-30 Thread Dave Newton
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

Re: Action mapping to a Tile

2005-09-30 Thread Graham Reeds
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

Re: Action mapping to a Tile

2005-09-30 Thread Graham Reeds
[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

Re: Action mapping to a Tile

2005-09-30 Thread Dave Newton
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

Re: logic:redirect w/ query string

2005-09-30 Thread Kishore Senji
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> > >

Re: Action mapping to a Tile

2005-09-30 Thread Graham Reeds
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

Re: embed jstl or other struts tag or scriplets within html:text

2005-09-30 Thread Greg Ludington
> 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

Re: Action mapping to a Tile

2005-09-30 Thread Mario_Hernandez
just out of curiosity, did you mean to write Test

Re: Action mapping to a Tile

2005-09-30 Thread Greg Reddin
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

Action mapping to a Tile

2005-09-30 Thread Graham Reeds
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

Re: [OT] How fast can you code?

2005-09-30 Thread Dave Newton
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

Re: [OT] How fast can you code?

2005-09-30 Thread Nick Heudecker
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

RE: [OT] Re: embed jstl or other struts tag or scriplets within html:text

2005-09-30 Thread Gary VanMatre
> 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]

[OT] How fast can you code?

2005-09-30 Thread James Mitchell
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

Re: [OT] Re: embed jstl or other struts tag or scriplets within html:text

2005-09-30 Thread Dave Newton
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

[OT] Exporting data to Indesign

2005-09-30 Thread Denis Avdic
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

RE: [OT] Re: embed jstl or other struts tag or scriplets within html:text

2005-09-30 Thread Dilip Ladhani
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

[OT] Re: embed jstl or other struts tag or scriplets within html:text

2005-09-30 Thread Dave Newton
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

Re: [OT] CVS question

2005-09-30 Thread erikweber
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

embed jstl or other struts tag or scriplets within html:text

2005-09-30 Thread Dilip Ladhani
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

Re: [OT] CVS question

2005-09-30 Thread Larry Meadors
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

Re: multiple submit buttons

2005-09-30 Thread Michael Jouravlev
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

[OT] CVS question

2005-09-30 Thread erikweber
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

multiple submit buttons

2005-09-30 Thread Warren Bell
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

RE: How to handle forward instructions within an action class?

2005-09-30 Thread Michael Oliver
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

logic:redirect w/ query string

2005-09-30 Thread Doug Thomas
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

Re: Form Bean Question

2005-09-30 Thread Wendy Smoak
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

Re: How to handle forward instructions within an action class?

2005-09-30 Thread atta-ur rehman
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

How to handle forward instructions within an action class?

2005-09-30 Thread Jeff Thorne
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

[OT] Re: This is my 1st blog

2005-09-30 Thread Dave Newton
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

Re: submit buttons - how to put them label from resource

2005-09-30 Thread Wendy Smoak
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

Re: submit buttons - how to put them label from resource

2005-09-30 Thread Michael Jouravlev
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,

Re: This is my 1st blog

2005-09-30 Thread netsql
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

Re: submit buttons - how to put them label from resource

2005-09-30 Thread atta-ur rehman
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

submit buttons - how to put them label from resource

2005-09-30 Thread Borislav Sabev
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

using scriplets within tags

2005-09-30 Thread Dilip Ladhani
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

Re: reset form in session scope

2005-09-30 Thread atta-ur rehman
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 <

This is my 1st blog

2005-09-30 Thread netsql
I wonder if it works, this blogger of mine. - http://Struts_User_List.roomity.com";>roomity.com roomity.com is broadband internet. ~~1128092353449~~ -

RE: reset form in session scope

2005-09-30 Thread faisal.shoukat
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

Re: reset form in session scope

2005-09-30 Thread atta-ur rehman
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

Re: reset form in session scope

2005-09-30 Thread atta-ur rehman
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

RE: reset form in session scope

2005-09-30 Thread faisal.shoukat
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

RE: reset form in session scope

2005-09-30 Thread faisal.shoukat
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

RE: form bean population confusion

2005-09-30 Thread rahul
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

Re: reset form in session scope

2005-09-30 Thread atta-ur rehman
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

Re: Serializable

2005-09-30 Thread Tamas Szabo
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

Re: Serializable

2005-09-30 Thread Frank W. Zammetti
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.

reset form in session scope

2005-09-30 Thread faisal.shoukat
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

Re: Serializable

2005-09-30 Thread atta-ur rehman
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

Re: How to implement the onchange event in a html-select?

2005-09-30 Thread Frank W. Zammetti
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

Re:Serializable

2005-09-30 Thread Frank W. Zammetti
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

form bean population confusion

2005-09-30 Thread my struts
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

Re: Tiles problem - how to put attr in right context

2005-09-30 Thread Greg Reddin
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

Re: Hibernate data at startup

2005-09-30 Thread Joe Germuska
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

Re: Form Bean Question

2005-09-30 Thread Tamas Szabo
> > 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

Re: [shale] I miss ActionForward.. am I missing something?

2005-09-30 Thread David Bowers
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

Structs

2005-09-30 Thread Pentareddy, Marreddy \(US - Hyderabad\)
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

Re: Serializable

2005-09-30 Thread Tamas Szabo
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

Re:R: Display checkbox

2005-09-30 Thread starki78
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

Tiles problem - how to put attr in right context

2005-09-30 Thread Java News
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

Problem XHTML Struts 1.1 & &

2005-09-30 Thread Thomas Brogaard
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

Re: [OT] where to put the displaytag.properties file for i18n?

2005-09-30 Thread 梁炳場
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

nested logic:notEmpty tags

2005-09-30 Thread Thierry Ployaert
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 -

R: Display checkbox

2005-09-30 Thread Bianchi Fabio
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

Re:Display checkbox

2005-09-30 Thread gollinger
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

RE: Display checkbox

2005-09-30 Thread R.Vijayaraghavan
> 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=

How to implement the onchange event in a html-select?

2005-09-30 Thread gollinger
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

Re: [OT] where to put the displaytag.properties file for i18n?

2005-09-30 Thread Sunil_Sahu
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

Display checkbox

2005-09-30 Thread Bianchi Fabio
Hi all, I've this JSP code: select ... ... ... ... ... ... ... ... ... ... ... this is my Error: [30/09/05 10.18.37:714 CEST] 28b13200 WebGroup E SRVE0026E:

[OT] where to put the displaytag.properties file for i18n?

2005-09-30 Thread 梁炳場
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

AW: Serializable

2005-09-30 Thread Martin Kindler
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

Re: Serializable

2005-09-30 Thread Leon Rosenberg
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

Re:Serializable

2005-09-30 Thread Murray Collingwood
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

Re:Serializable

2005-09-30 Thread starki78
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

Serializable

2005-09-30 Thread Murray Collingwood
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.