display tag - urgent
Hi! I am using export option in my display tag. Everything is going smooth but I want to disable one column (display:column) from being exported ie displayed in the exported format. What is the way out? Abhimanyu
Re: redirect-action parameters
hi, Wonder if you have solved the following problem. I encounter the same problem and after much attempts, I discover that you can do the following: anotherBlahAction true name="yourDynamicParamName">${yourDynamicParamValue} The trick is the ${..}. Hopes it works for you too. Cheers, Yoke Ping Pascal Lalonde wrote: Based on this sample from the web site documentation: generateReport /genReport pie 100 100 How can I add dynamic parameters ? Here, values are fixed but what if I want to set a dynamic value from the action data ? Based on this When setting: abc I'm having the following error: WARNING: Caught OgnlException while setting property 'testKey' on type 'org.apache.struts2.dispatcher.ServletActionRedirectResult'. ognl.NoSuchPropertyException: org.apache.struts2.dispatcher.ServletActionRedirectResult.testKey at ognl.ObjectPropertyAccessor.setProperty(ObjectPropertyAccessor.java:133) What is happening here ? Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Formbean information lost
Thank u ! it works great :-)
Page param disappears
I have a form page that requires a http parameter to show correctly. When the formbean validate(..) fails on page submit then struts has been set up to send the user back to the same form page. Unfortunately the http param that was set when the user was first linked to the page is not set when struts redirects the user back to the same page again. How do I make struts set the param to the same value when validate fails? Since execute() is never called i havent got the option to save the parameter in some temporary scope attribute. _ Opret en personlig blog og del dine billeder på MSN Spaces: http://spaces.msn.dk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Form Bean not able to read form rendered from xml/xsl
Hi Rajeev, People here have mostly been away from their desks for the last few days, so you might see some more replies soon. My first impression is that you're mixing up what XSLT does and what Struts does. XSLT does a transformation from an XML document to some other form: in this case, it appears that you're creating HTML. XSLT does nothing that would have anything to do with whether or not Struts can handle your form bean correctly. So the first thing I'd look at is what the result of the XSLT transformation is. If you're getting the results you expect there, which would be something like your second example, then you need to look at why Struts isn't able to handle the setter/getter properly (my first guess would be that you have a problem with your cases, but you'd have to check that). If you're not getting the results you expect from your XSLT, then there's a problem with the XSLT. If it's an XSLT problem, you'd have more luck asking the XSLT list at [EMAIL PROTECTED] Good luck! Chris Loschen -Original Message- From: Rajeev Kumar Pandey [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 26, 2006 4:38 AM To: user@struts.apache.org Subject: RE: Form Bean not able to read form rendered from xml/xsl Hi All, Resending my query since I did not receive any replies to the same. Kindly help. Regards, Rajeev From: Rajeev Kumar Pandey Sent: Friday, December 22, 2006 8:00 PM To: 'user@struts.apache.org' Subject: Form Bean not able to read form rendered from xml/xsl Hi All, I am new to this mailing list, so might not be able to pose my question appropriately. Kindly bear with me. I am facing an issue with use of form beans in my project to read html forms rendered through xml/xsl. When I use UserId hidden the formbean is not able to pick the value from the form. But in the other part of the code where I use the getter and setter method is called for the above parameter. Is there an equivalent for xsl:element so that my action class can read UserId from the formbean? Thanks and Regards Rajeev Kumar Pandey CAUTION - Disclaimer * This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS End of Disclaimer INFOSYS*** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Form Bean not able to read form rendered from xml/xsl
Hi All, Resending my query since I did not receive any replies to the same. Kindly help. Regards, Rajeev From: Rajeev Kumar Pandey Sent: Friday, December 22, 2006 8:00 PM To: 'user@struts.apache.org' Subject: Form Bean not able to read form rendered from xml/xsl Hi All, I am new to this mailing list, so might not be able to pose my question appropriately. Kindly bear with me. I am facing an issue with use of form beans in my project to read html forms rendered through xml/xsl. When I use UserId hidden the formbean is not able to pick the value from the form. But in the other part of the code where I use the getter and setter method is called for the above parameter. Is there an equivalent for xsl:element so that my action class can read UserId from the formbean? Thanks and Regards Rajeev Kumar Pandey CAUTION - Disclaimer * This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS End of Disclaimer INFOSYS***
Re: Checking based on database value?
Have a map which contains a map of service id to roles or role to service ids whichever u feel is most relevant. -Siva On 12/21/06, Mallik <[EMAIL PROTECTED]> wrote: Hi friends my problem is i have to ArrayLists one contains total services and another contains assigned services to a role. when we select a role, assigned services from the total services should be selected. In a database table i have serviceids for each service and in another table, what are the serviceids for a roleid. how can i do this can anybody help me please. thanks in advance ur's Mallik -- View this message in context: http://www.nabble.com/Checking-%3Chtml%3Acheckbox%3E-based-on-database-value--tf2863931.html#a8003324 Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]