Shound not showing some page of top and bottom links (tamplate)

2008-12-09 Thread Seshagiri V
Hi All, I have used namespace and also template for top and bottom links in all pages. But not required some pages. Please give any solution. Thank you, Seshagiri V [EMAIL PROTECTED] US Main: 877 KENSIUM (536.7486) US Fax: 312.242.3029 Kensium 200 S Wacker Dr, Suite 3100 Ch

Re: How to make a textfiled label apper bold in GUI?

2008-12-09 Thread taj uddin
Hi,  Thanks Mr.Nils-Helge Garli Hegvik. :-) --- On Wed, 12/10/08, Nils-Helge Garli Hegvik <[EMAIL PROTECTED]> wrote: From: Nils-Helge Garli Hegvik <[EMAIL PROTECTED]> Subject: Re: How to make a textfiled label apper bold in GUI? To: "Struts Users Mailing List" , [EMAIL PROTECTED] Date: Wednesday,

Re: How to make a textfiled label apper bold in GUI?

2008-12-09 Thread Nils-Helge Garli Hegvik
Should be pretty simple with some CSS: label { font-weight: bold; } Nils-H On Wed, Dec 10, 2008 at 7:28 AM, taj uddin <[EMAIL PROTECTED]> wrote: > Hi, > > In my application the textfield label name should appear bold. If i wrap the > textfield tag with the td tag, its not working. > For

How to make a textfiled label apper bold in GUI?

2008-12-09 Thread taj uddin
Hi, In my application the textfield label name should appear bold. If i wrap the textfield tag with the td tag, its not working. For Example, here is my code:                                   

Please help! Validation Errors

2008-12-09 Thread Faraz Ali
13:45:18,390 ERROR [ActionComponent] Could not execute action: /web/MyAction No result defined for action com.web.actions.MyAction and result input - action - file:/C:/ jboss-4.2.3.GA/server/default/tmp/deploy/tmp35854MyWeb-exp.war/WEB-INF/classes/struts.xml:12:69 1. I have a simple Action class M

Re: [OT] Re: Displaying "Please Wait" message

2008-12-09 Thread RudyG
page, which would have made sense, but it appears >>> document.write() actually appends to the document. I >>> wouldn't swear to that, but that's what seems to be >>> the case given my test. >>> >> >>> > >>> > It's browser-dependent; on OSX/FF3

RE: How to output local variable as textfield label

2008-12-09 Thread Neil Aggarwal
Wes: That worked, thank you. Neil -- Neil Aggarwal, (832)245-7314, www.JAMMConsulting.com Eliminate junk email and reclaim your inbox. Visit http://www.spammilter.com for details. > -Original Message- > From: Wes Wannemacher [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December

RE: How to output local variable as textfield label

2008-12-09 Thread Wes Wannemacher
On Tue, 2008-12-09 at 22:58 -0600, Neil Aggarwal wrote: > Wes: > > I changed my code to this: > > <[EMAIL PROTECTED] prefix="s" uri="/struts-tags"%> > > <% > String label = "Address"; > if( request.getAttribute("requireFullAddress") != null ) > label += "*"; > request.setAttribute("label"

RE: How to output local variable as textfield label

2008-12-09 Thread Neil Aggarwal
Wes: I changed my code to this: <[EMAIL PROTECTED] prefix="s" uri="/struts-tags"%> <% String label = "Address"; if( request.getAttribute("requireFullAddress") != null ) label += "*"; request.setAttribute("label",label); %> I still get an empty label. Any ideas why this did not work?

Re: How to output local variable as textfield label

2008-12-09 Thread Wes Wannemacher
After constructing the String, set it as an attribute on one of the scopes that OGNL can search (page scope is probably sufficient for this). http://struts.apache.org/2.x/docs/ognl.html -Wes On Tue, 2008-12-09 at 22:34 -0600, Neil Aggarwal wrote: > Hello: > > I need to compose the label for a

How to output local variable as textfield label

2008-12-09 Thread Neil Aggarwal
Hello: I need to compose the label for a textfield. Here is my JSP code: <[EMAIL PROTECTED] prefix="s" uri="/struts-tags"%> <% String label = "Address"; if( request.getAttribute("requireFullAddress") != null ) label += "*"; %> This does not work, I get an empty label on the page. I a

RE: Displaying "Please Wait" message

2008-12-09 Thread Martin Gainty
can you display the error messages from TC logs? when you run your script in FF with firebug do you see any JS errors? also please attach applicable catalina.policy files thanks Martin __ Disclaimer and confidentiality note Everything in this e-mail

[ANNOUNCE] Struts 1.3.10 GA Release

2008-12-09 Thread Paul Benedict
The Apache Struts team is pleased to announce that Struts 1.3.10 has been promoted to General Availability. Struts 1.3.10 is available in a full distribution, or as separate library, source, example and documentation distributions. http://struts.apache.org/download.cgi#struts1310 The release

Re: turn off dojo

2008-12-09 Thread Wendy Smoak
On Wed, Dec 3, 2008 at 8:38 PM, Danilo Barsotti <[EMAIL PROTECTED]> wrote: > I tried but don't work. Should that be 'simple' instead? (You wrote 'sample'...) -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [OT] Re: Displaying "Please Wait" message

2008-12-09 Thread Miguel
te() (at least when Firebug is >> installed...) so I get an error. >> > >> > Dave >> > >> > >> > >> - >> > To unsubscribe, e-mail: >> [EMAIL PROTECTED] >> > For additional commands, e-ma

Re: turn off dojo

2008-12-09 Thread Wes Wannemacher
On Wed, 2008-12-10 at 00:09 -0200, Danilo Barsotti wrote: > how I can remove or don't include the plugin? > > thanks > If you are using 2.0.x, then just make sure you are using an appropriate theme, simple if you are creating your own labels and doing layout yourself. xhtml and css_xhtml do not

Re: turn off dojo

2008-12-09 Thread Danilo Barsotti
how I can remove or don't include the plugin? thanks On Thu, Dec 4, 2008 at 1:18 AM, dusty <[EMAIL PROTECTED]> wrote: > > I use 2.1.3-SNAPSHOT with JQuery without issue. Just don't include the > plugin. Are you by chance using another framework like Appfuse with > Struts? > > > > newton.dave w

Execute and Wait Issues

2008-12-09 Thread Zoran Avtarovski
I¹m having trouble getting the execute and wait interceptor to work as needed. We have a process that in almost all cases either takes about 6 seconds to complete or 40 seconds to complete. I added a delay parameter to my execAndWait configuration of 1 which I meant thought it would wait 10 se

Re: [OT] Re: Displaying "Please Wait" message

2008-12-09 Thread Dave Newton
It's browser-dependent; on OSX/FF3 the form is > gone after the document.write() (at least when Firebug is > installed...) so I get an error. > > > > Dave > > > > > > > - > > To unsubscr

Re: [OT] Re: Displaying "Please Wait" message

2008-12-09 Thread Frank W. Zammetti
To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] __ Information from ESET Smart Security, version of virus signature database 3679 (20081209) __ The message was checked by ESET Smart Security. http:

[OT] Re: Displaying "Please Wait" message

2008-12-09 Thread Dave Newton
--- On Tue, 12/9/08, Frank W. Zammetti wrote: > [...] I actually expected the alert() to NOT work because > I figured the document.write() call was overwriting your > page, which would have made sense, but it appears > document.write() actually appends to the document. > I wouldn't swear to th

Re: Displaying "Please Wait" message

2008-12-09 Thread Frank W. Zammetti
RudyG wrote: function splashScreen() { document.write("Processing Data.Please Wait."); document.forms[0].submit(); return true; } Put an alert("test"); in place of your submit() line there... does the alert show up? I just tried in both FF and IE and in both cases i

Re: Displaying "Please Wait" message

2008-12-09 Thread RudyG
Hi EasyStrutser. Your option 2 is my fallback option. Also thanks to Wes who chimed in with the same suggestion. However, your option 3 sounds a little more interesting. Any chance you might have a link to some place that expands on that? Would be greatly appreciated. Thanks. Rudy EasyStrutse

Re: [OT] Re: Displaying "Please Wait" message

2008-12-09 Thread RudyG
Hello Dave. I understand why you feel this may not be a Struts issue. However, the form I'm using in this JSP is a Struts form not an HTML form. As for Google search results I have gone through half of the trillion search results you are referring to and have not found a solution, yet. If you hav

Re: Displaying "Please Wait" message

2008-12-09 Thread Wes Wannemacher
One thing I have done in the past is to replace the submit button with an animated gif that resembles a status bar. This keeps users from double posting the form, and gives a bit of visual feedback to indicate to the user that he/she should wait. If you want something more, you should take a look

Re: Displaying "Please Wait" message

2008-12-09 Thread EasyStrutser
RudyG wrote: > > Hello. > > I have an odd problem that I can't seem to resolve. I use struts along > with JSP to call Java Servlets on the back end. Some back end calls take a > little while when used by the WEB users so I've been asked to put up a > message that tells the users to "Please Wait

[OT] Re: Displaying "Please Wait" message

2008-12-09 Thread Dave Newton
--- On Tue, 12/9/08, RudyG wrote: > I have an odd problem that I can't seem to resolve. Not really a Struts issue, though. > function splashScreen() { > document.write("..."); > document.forms[0].submit(); > return true; > } > > However the problem is that after the document wr

Displaying "Please Wait" message

2008-12-09 Thread RudyG
Hello. I have an odd problem that I can't seem to resolve. I use struts along with JSP to call Java Servlets on the back end. Some back end calls take a little while when used by the WEB users so I've been asked to put up a message that tells the users to "Please Wait" so that they don't press th

Re: Getter Method call twice - S2

2008-12-09 Thread EasyStrutser
Jherimum wrote: > > Hi all. > > I nedd a very urgent help. > > I dont know why when i use tiles or use Tag files whith struts 2, my > getter > methods in the action class are been calling twice. > Anybody could help me? > > Sorry, my english is not very good > > -- > Eugenio Perrotta Neto >

Validating Autocompleter using javascript

2008-12-09 Thread aum strut
Hi all, i am struck in a simple problem but not able to proceed as i m unable to find any solution for this. I am using struts2 UI tags and in order to validate the user input i am using javascript for validation(Currently not in a position to use validation frame work). everything was going ok b

Re: Getter Method call twice - S2

2008-12-09 Thread Eugenio Perrotta Neto
im a mother fu.. i found the problem when i use the tag debub s2 calls my getters methods thanks all On Mon, Dec 8, 2008 at 3:04 PM, Paweł Wielgus <[EMAIL PROTECTED]> wrote: > Hi Eugenio, > i just tried to replicate Your problem, > the thing is that i remember in S1 (don't know which vers

RE: Cannot find bean in any scope

2008-12-09 Thread Givler, Eric
This sounds like one of the tutorials on Java Boutique. Not to plug another site, but I really thought the tutorials on From: gbattine [EMAIL PROTECTED] Sent: Sunday, December 07, 2008 11:39 AM To: user@struts.apache.org Subject: Cannot find bean in any sc

RE: Multiple Validation Options?

2008-12-09 Thread dancerjohn
Eric, Thanks So instead of using a separate for each website, there would be a separately named form for each site. So if the default is and I want a unique one for site B I would have and would overload getValidationKey to return "loginFormB". If this does not look right, let me know

Re: Struts2: Pre-populate form with values from a session bean

2008-12-09 Thread Robert Graf-Waczenski
Dave Newton wrote: --- On Tue, 12/9/08, Robert Graf-Waczenski <[EMAIL PROTECTED]> wrote: getmFoo() as getter works just fine here with S2 as it did since almost eight years with S1. Which version of S2? I'll re-check when I get home and follow up. Thanks, Dave --

Re: setting a text field

2008-12-09 Thread Dave Newton
--- On Tue, 12/9/08, hello_everyone wrote: > i am doing all what you are suggesting, but it is not working. The issue is that we don't *know* what you're doing. You need to post the code you think is running and the configuration used to get to the action(s) etc. otherwise we don't have anything

Re: Struts2: Pre-populate form with values from a session bean

2008-12-09 Thread Dave Newton
--- On Tue, 12/9/08, Robert Graf-Waczenski <[EMAIL PROTECTED]> wrote: > getmFoo() as getter works just fine here with S2 as it did > since almost eight years with S1. Which version of S2? I'll re-check when I get home and follow up. Thanks, Dave -

Re: Struts2: Pre-populate form with values from a session bean

2008-12-09 Thread Robert Graf-Waczenski
Dave Newton wrote: --- On Tue, 12/9/08, Robert Graf-Waczenski wrote: [...] I was guessing in that direction already but wanted a guru to confirm this first, which is what you did. Minus the "guru" part ;) That's our naming spec and we have decided to also use this spec for bean pr

Re: Struts2: Pre-populate form with values from a session bean

2008-12-09 Thread Dave Newton
--- On Tue, 12/9/08, Robert Graf-Waczenski wrote: > [...] I was guessing in that direction already but wanted > a guru to confirm this first, which is what you did. Minus the "guru" part ;) > That's our naming spec and we have decided to also use > this spec for bean property names, hence the ge

Re: Handling probel.

2008-12-09 Thread Andras Balogh
I don't use CPanel but check on the web for CPanel servlets support: http://www.google.com/search?hl=en&q=cpanel+servlets&btnG=Search BR, Andras. Cappelletti Marc wrote: Hi Andras, Thanks for your answer, it seems that your answer matches what I've found on the web. But as far as I know, on

Re: Struts2: Pre-populate form with values from a session bean

2008-12-09 Thread Robert Graf-Waczenski
Dave, your comments helped me resolve the issue, see my comments below. Dave Newton wrote: A couple of comments, although with the configuration provided I'm not getting as far as you are. --- On Thu, 12/4/08, Robert Graf-Waczenski wrote: name="com.blah.blurp" ex

Re: Redirect after Post and persist data

2008-12-09 Thread Paweł Wielgus
Hi Dirk, there is no simple answear to session question. There is nothing bad in keeping last search data in session, until for example Your session objects will grow so much that they will kill Your server. Just keep in mind what are the drawbacks of this solution. Best greetings, Paweł Wielgus.

RE: Handling probel.

2008-12-09 Thread Cappelletti Marc
Hi Andras, Thanks for your answer, it seems that your answer matches what I've found on the web. But as far as I know, on a cPanel, I should be able to use this connector through apache handlers. But maybe mod_jk has another name or something of that kind. Have you ever already done such a co

Re: Handling probel.

2008-12-09 Thread Andras Balogh
Hi Marc, I might be wrong if I misunderstood your question, as I understood you can run fine your app with Tomcat but not with Apache. You need to add a connector to Apache in order to forward all *.do requests to Tomcat, this can be done in many ways but probably the best is mod_jk: ht

Re: Handling probel.

2008-12-09 Thread Dimitar Vlasev
I'm surprised how many people are asking questions the way nobody can help them Which version of struts are you using? If I use your .do pattern as a sign i might roll the dice and guess looking the guts of the sacrificed animal you are using Struts 1.x, aren't you? you should have stru

Re: redirect

2008-12-09 Thread Nils-Helge Garli Hegvik
I suspect what you're looking for is url rewriting (although it might be possible to do it with wildcard action mappings...). Depending on your infrastructure, you could probably do this by configuring your server, or with a custom servlet filter. Do a google search for 'url rewriting' for suggeste

Re: Cannot find bean in any scope

2008-12-09 Thread Dimitar Vlasev
1. Try this (I cite these tags on memory so excuse me if I'm not right with the tag names) The dvd list is present The dvd list is NOT present 2. If the dvd list is not present try to set a simple string bean into the request and include it in the page you're forwarding to Regards, Dimitar

redirect

2008-12-09 Thread Aditya Lukman
Hi all,, I want to redirect from http:// www.test.com/mike to http://www.test.com/profile.action?nickname=mike if I type a nickname in the url

Redirect after Post and persist data

2008-12-09 Thread Dirk Forchel
Redirect after post is a common pattern to hand control overt to another resource. The most common reason for using a redirect is the need to change the URL shown in the browser and to prevent the user to re-submit the previous request by clicking the reload-button. example config in struts.xml: