Re: request processor

2006-08-22 Thread Frank W. Zammetti
Is this a bad Karnak routine? Johnny: "To parse requests" Ed McMahon: "To parse requests" -tears envelope open- Johnny: "What is the use of request processor?" :grin: Sorry, couldn't resist :grin: The RP is essentially the series of steps that Struts goes though when a request is received

Can we specify variables in html form tags action attribute

2006-08-22 Thread Chetan Pandey
Dear All: I am trying to put a variable in action attribute but it doesnt work. <%String propertyaction = "/manageProperty?function=edit"; pageContext.setAttribute(propertyaction,"propertyaction");%> Thanks. Chetan

request processor

2006-08-22 Thread Gomathi
hai, what is the use of request processor?

Form Validation

2006-08-22 Thread Chetan Pandey
Hi All: I have one Dispatch Action class with two methods 'create' and 'edit'. Before Form is sent over it has to be validated. I have the following in struts-config.xml But the thing is Line input="property.create.page" makes validation possible for

Re: Question about Lookup dispatch action

2006-08-22 Thread Scott Van Wart
mosho wrote: Request[/planName] does not contain handler parameter named navigation In your struts-config.xml, are you including 'parameter="navigation"' in your action mapping? A la: name="planNameForm" parameter="navigation"> ... The parameter gives you a place to pass additio

Re: Question about Lookup dispatch action

2006-08-22 Thread mosho
Thanks for your help guyz. It doesn't seem to work. The value of submitText is not passed to the hidden.value The form gets submitted but gives an error Request[/planName] does not contain handler parameter named navigation I am pasting my code below. function onClick

re: Centralized logging software

2006-08-22 Thread Michael Rush
Hello, This my question off the topic, but was just wondering if you guys know of any open source software that lets me view all my application logs deployed on various servers to be viewable from one place and that should be online. Please share if you know of any such software? Thanks mu

Re: select tag and value issue

2006-08-22 Thread Laurie Harper
Your JSP code looks OK (except obviously you want to remove the value="22" from the html:select tag). Are you sure the value you're setting in form.license is correct? L. Jonathan Drnek wrote: I'm fairly new to struts and am having a problem with the tag. I can't get the value property to wo

RE: Problem with web.xml and Struts 1.3

2006-08-22 Thread David Friedman
Would you like to include your struts-config.xml and web.xml so we can try to help? -Original Message- From: Angel Navarro [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 22, 2006 6:14 AM To: user@struts.apache.org Subject: Problem with web.xml and Struts 1.3 Hi, I have a big problem wi

Centralized logging software

2006-08-22 Thread Shabada, Gnaneshwer
Hello, This my question off the topic, but was just wondering if you guys know of any open source software that lets me view all my application logs deployed on various servers to be viewable from one place and that should be online. Please share if you know of any such software? Thanks much Gnan

Re: AJAX + Struts

2006-08-22 Thread Frank W. Zammetti
In short: it depends on what your passing in to the server. If you do regular POSTs and GETs, you can write Actions, just like always, there is zero difference. If you want to pass JSON or XML, then you'll have to add some code to handle that, either modifying the RP (or RP chain in 1.3), or else

Re: AJAX + Struts

2006-08-22 Thread Nikhil Walvekar
Hello, I have some questions, what should be used on server side? we send XMLHttpRequest from client it should be received in action or we have to write servlet to process it? If we can use action, then what should be forward for that action. Thanks and Regards, Nikhil On 8/22/06, Puneet Lakh

select tag and value issue

2006-08-22 Thread Jonathan Drnek
I'm fairly new to struts and am having a problem with the tag. I can't get the value property to work correctly. I have a list of licenses that I want displayed in the drop down box. I want the license that is used by the current software to be selected. If I hard code the value property to be

Re: AJAX + Struts

2006-08-22 Thread Puneet Lakhina
http://wiki.apache.org/struts/AjaxStruts. There is a lot of fantastic info there.. thanks!!! -- Puneet

[OT] Re: Using websphere datasource in Struts

2006-08-22 Thread Antonio Petrelli
Shyamsunder Reddy ha scritto: What is the best place to call Websphere DataSource in Struts application. Eheh, it's not so simple :-) Instantiate it when ActionServlet is loaded and then pass onto Model classes as reference ABSOLUTELY NOT! OR create a static class that instantiates the

Re: Validator html args

2006-08-22 Thread Niall Pemberton
Theres no way of picking up what was rendered in your view in the validation config. If you're "hard coding" your label values rather than putting them in the message resources though, you can do the same in your validation.xml - using the resource="false" attribute. ... or even the whole err

Re: Extending MessageResource in struts 1.2.9.

2006-08-22 Thread Niall Pemberton
From memory (its a long while since I used Struts 1.0) wasn't configuring message resources was in the web.xml? To configure custom message resources in Struts 1.2.x you need to use the element in your struts-config.xml http://struts.apache.org/1.2.x/userGuide/configuration.html#resources_conf

Using websphere datasource in Struts

2006-08-22 Thread Shyamsunder Reddy
What is the best place to call Websphere DataSource in Struts application. Instantiate it when ActionServlet is loaded and then pass onto Model classes as reference OR create a static class that instantiates the DataSource and getConnections from this class which should be Singleton

Re: Passing value from pop window to parent window

2006-08-22 Thread Hanmay Udgiri
Hi It is working perfect!! thanks and regards hanmayya udgiri On 8/22/06, Anjishnu Bandyopadhyay <[EMAIL PROTECTED]> wrote: Hi, You can try something like: function updatetext() { var val = document.getElementbyid("secondForm.attribute").value; window.op

RE: Passing value from pop window to parent window

2006-08-22 Thread Anjishnu Bandyopadhyay
Hi, You can try something like: function updatetext() { var val = document.getElementbyid("secondForm.attribute").value; window.opener.func(val); } Here, "func" is a JS function in the parent window. In "func", write your code to set the value. With best regard

Passing value from pop window to parent window

2006-08-22 Thread Hanmay Udgiri
Hi I have a pop up window.And I need to pass the value from a text box to parent window. pop up window The text box in the child window is something like this function updatetext() { parent.document.getElementbyid("secondForm.attribute").value = document.getElementbyid("secondForm.attribute")

Re: AJAX + Struts

2006-08-22 Thread Bart Busschots
Go to Google, type in "Ajax struts" and RTFM. Just looking at the first page of results I'd strongly suggest reading http://wiki.apache.org/struts/AjaxStruts. A.Mohan wrote: Dear All, How can i use Ajax with struts , Thanks and Regards Mohan -

AJAX + Struts

2006-08-22 Thread A.Mohan
Dear All, How can i use Ajax with struts , Thanks and Regards Mohan - Do you Yahoo!? Everyone is raving about the all-new Yahoo! Mail.

Re: RePopulating EditScreen with ActionForm Data

2006-08-22 Thread Bart Busschots
Use the struts taglibs and put your form into session scope and you'll get the behaviour you want "out of the box". Bart. Mississippi John Hurt wrote: Hi, What's the best way to do this? User finished an edit screen, formaction is populated, and info is displayed on a ReviewInfo page. User

Re: Struts Layouts

2006-08-22 Thread Gareth Evans
I'd give displaytag a +1, it's got some really nice features such as external paging and sorting. http://displaytag.sourceforge.net/11/tut_externalSortAndPage.html Chris McCormack wrote: Display tag usually : http://displaytag.sourceforge.net/11/ Although I am currently writing an applicatio

Re: Struts Editing in IDE

2006-08-22 Thread A.Mohan
Try myEclipse workbench Its realy nice - How low will we go? Check out Yahoo! Messenger’s low PC-to-Phone call rates.

RE: what is the diffrence between struts1.1 and 1.2

2006-08-22 Thread Chris McCormack
0.1 No seriously there are articles all over the web on this matter. Heres a nice run down of 1.2 enhancements on top of 1.1 : http://www.oreillynet.com/onjava/blog/2004/12/struts_12_offers_cool_new_feat .html -Original Message- From: Gomathi [mailto:[EMAIL PROTECTED] Sent: 22 August 200

RE: Struts Layouts

2006-08-22 Thread Chris McCormack
Display tag usually : http://displaytag.sourceforge.net/11/ Although I am currently writing an application using Rico and Prototype Ajax libraries and have implemented my own pagination of results :) -Original Message- From: Sherwood, Reg [mailto:[EMAIL PROTECTED] Sent: 21 August 2006

Problem with web.xml and Struts 1.3

2006-08-22 Thread Angel Navarro
Hi, I have a big problem with an struts 1.3 application. My configuration: Weblogic 8.1 sp4 Struts 1.3 Fedora And when deploy a web application (WAR) I have this problem: [DEBUG 2006-08-22 10:51:44,291] org.apache.struts.action.ActionServlet:1720 Scanning web.xml for controller servlet mapping

Validator html args

2006-08-22 Thread Jean-Marie Pitre
Hi, I am using Validator 1.3, I would like to know if I can pass argument value issued from html element? I explain me: I have an html form : ... User ... My validation looks like this: Do you know if there a mean to display the labeluser (font id) instead of putting value in a resourc

Struts 1.3 and bean write

2006-08-22 Thread Jean-Marie Pitre
Hi, I am testing struts 1.3.5 and I have a difference with previous version. When I call bean:write to display an int property in my jsp page I have the following value org.apache.struts.taglib.bean.format.int19 instead of 19. Have you got an idea ? Regards, Jean-Marie. --- E

Re: rotating text

2006-08-22 Thread kavita
Hi, Thanks fr the reply ..but is it specific for IE only ..i tried it for firefox but it didnt work [EMAIL PROTECTED] wrote: Hello Kavitha, Use this sample HTML Code: Test Page .vert{ left:1px; top:5px; width:1px; writing-mode: tb-rl; } ALINK="#FF00FF" BACKGROUND="?"> this will b

Custom Validation Doesnt Work

2006-08-22 Thread Chetan Pandey
Hi All: I have the following Code in my Custom Validation class: if (propertyVO != null) { System.out.println("propertyVO != null.Hence Errors. Will return false"); errors.add(field.getKey(), Resources.getActionMessage(request, action, field)

what is the diffrence between struts1.1 and 1.2

2006-08-22 Thread Gomathi
hai, what is the diffrence between struts1.1 and 1.2