Issue with hibernate 3 + jboss-5.1.0.GA +mySql with Struts 2

2010-07-20 Thread sandeep kotha
Hi All I'm newbie using* *hibernate 3 + jboss-5.1.0.GA +mySql with Struts 2* *while i try to configure JNDI im getting the below exception. Please find my Jboss, hibernate and Struts configurations. Im using *transaction.factory_class as *org.hibernate.transaction.JTATransactionFactory in my

Re: Issue with hibernate 3 + jboss-5.1.0.GA +mySql with Struts 2

2010-07-20 Thread Hantsy Bai
? 2010/7/20 14:28, sandeep kotha ??: [org.xml.sax.SAXParseException: The element type local-tx-datasourcee must be terminated by the matching end-tag /local-tx-datasourcee.] Your config file is problematic, the start tag is *local-tx-datasource**e* but end with *local-tx-datasource* I

Re: Issue with hibernate 3 + jboss-5.1.0.GA +mySql with Struts 2

2010-07-20 Thread Lukasz Lenart
Hi, You have plenty of errors in XML, take a look on that with some validation tool, for example.: * user-name/root/user-name - first tag closed * local-tx-datasourcee ... /local-tx-datasource - double ee in the first tag Use better tool instead asking questions! Regards -- Łukasz + 48

REST and Non-REST actions

2010-07-20 Thread Kevin Jones
Simple question (I think), when using the REST plugin, can I have two 'controllers' one that expects REST urls/verbs and one that is a standard Struts2 Action, i.e. where I can map incoming URLs to action methods? Hope that makes sense, -- Kevin

Re: REST and Non-REST actions

2010-07-20 Thread Lukasz Lenart
2010/7/20 Kevin Jones kev.r.jo...@gmail.com: Simple question (I think), when using the REST plugin, can I have two 'controllers' one that expects REST urls/verbs and one that is a standard Struts2 Action, i.e. where I can map incoming URLs to action methods? Take a look on

Re: REST and Non-REST actions

2010-07-20 Thread Frans Thamura
we are trying it also, to much old struts2 investment here, but i am glad if the future release of the Strust2, the REST willbecome part of showcase F On Tue, Jul 20, 2010 at 5:06 PM, Lukasz Lenart lukasz.len...@googlemail.com wrote: 2010/7/20 Kevin Jones kev.r.jo...@gmail.com: Simple

Dynamic title

2010-07-20 Thread findbestopensource
Hello all, I have to set title of the page dynamically. I tried the below code, but it is not working. Please help. s:include value=Header.jsp     s:param name=titles:property value=productName//s:param /s:include Regards Aditya www.findbestopensource.com

Rest Plugin with Tiles and Validation

2010-07-20 Thread Johannes Geppert
Hello I try to create a struts2 based webapp that is using the rest-plugin and the tiles-plugin together. This works fine for me exept when i using validation. I have a Login Action with an create method for the validation like this. @Validations(requiredStrings = {

Re: REST and Non-REST actions

2010-07-20 Thread Kevin Jones
Thanks Lukasz, where can I grab the 2.2.1 bits? - there doesn't seem to be a link on the site. Do I need to get the sources and build it? Kevin On 20 July 2010 11:06, Lukasz Lenart lukasz.len...@googlemail.com wrote: 2010/7/20 Kevin Jones kev.r.jo...@gmail.com: Simple question (I think),

Re: REST and Non-REST actions

2010-07-20 Thread Johannes Geppert
you can get current release from here. http://people.apache.org/builds/struts/2.2.1/ Johannes Kevin Jones-10 wrote: Thanks Lukasz, where can I grab the 2.2.1 bits? - there doesn't seem to be a link on the site. Do I need to get the sources and build it? Kevin On 20 July 2010

lost URL parameters with s:param tag

2010-07-20 Thread Emi Lu
Good morning, It seems that s:param does not work well when more than one s:param is assigned. s:url id=url_help namespace=/Action/Global action=ProcessHelp s:param name=helpTitle value=example1 / s:param name=help_text_name value=contents / /s:url The second help_text_name is

Re: lost URL parameters with s:param tag

2010-07-20 Thread Emi Lu
On 07/20/2010 11:48 AM, Emi Lu wrote: Good morning, It seems that s:param does not work well when more than one s:param is assigned. s:url id=url_help namespace=/Action/Global action=ProcessHelp s:param name=helpTitle value=example1 / s:param name=help_text_name value=contents / /s:url The

Re: lost URL parameters with s:param tag

2010-07-20 Thread Brian Thompson
We ran into the same problem with our Struts apps; we ended up using c:url from the JSTL core taglib instead. -Brian On Tue, Jul 20, 2010 at 10:58 AM, Emi Lu em...@encs.concordia.ca wrote: On 07/20/2010 11:48 AM, Emi Lu wrote: Good morning, It seems that s:param does not work well when

Re: REST and Non-REST actions

2010-07-20 Thread Kevin Jones
Thanks All. I'll give it a go, Kevin On 20 July 2010 16:37, Johannes Geppert jo...@web.de wrote: you can get current release from here. http://people.apache.org/builds/struts/2.2.1/ Johannes Kevin Jones-10 wrote: Thanks Lukasz, where can I grab the 2.2.1 bits? - there doesn't seem

Re: REST and Non-REST actions

2010-07-20 Thread Dale Newfield
On 7/20/10 11:37 AM, Johannes Geppert wrote: you can get current release from here. http://people.apache.org/builds/struts/2.2.1/ Except that it's not a release, yet. It's currently just a build, and until the (currently ongoing) vote is concluded we won't know if it will become a

IE7 abruptly closes with struts 2.1.7

2010-07-20 Thread satyanarayana katta
Hi, We are using struts 2.1.7 with dojos for our application. Sometimes the Ie7 abruptly closes leaving no traces what so ever. Has any one faced this issue earlier? Sent from my iPhone - To unsubscribe, e-mail:

Re: REST and Non-REST actions

2010-07-20 Thread Frans Thamura
Stabilizing this topic will bring struts to his crown (m) -Original Message- From: Johannes Geppert jo...@web.de Date: Tue, 20 Jul 2010 08:37:41 To: user@struts.apache.org Reply-To: Struts Users Mailing List user@struts.apache.org Subject: Re: REST and Non-REST actions you can get

Re: lost URL parameters with s:param tag

2010-07-20 Thread Dale Newfield
On 7/20/10 11:48 AM, Emi Lu wrote: It seems that s:param does not work well when more than one s:param is assigned. I use multiple param tags inside url tags all over the place. It does work. I would suggest running your application inside a debugger to find out what exactly is not working

Re: Issue with hibernate 3 + jboss-5.1.0.GA +mySql with Struts 2

2010-07-20 Thread sandeep kotha
Thank you Łukasz / hantsy. On 20 July 2010 12:23, Lukasz Lenart lukasz.len...@googlemail.com wrote: Hi, You have plenty of errors in XML, take a look on that with some validation tool, for example.: * user-name/root/user-name - first tag closed * local-tx-datasourcee ...

Re: lost URL parameters with s:param tag

2010-07-20 Thread Emi Lu
On 07/20/2010 01:39 PM, Dale Newfield wrote: On 7/20/10 11:48 AM, Emi Lu wrote: It seems that s:param does not work well when more than one s:param is assigned. I use multiple param tags inside url tags all over the place. It does work. I would suggest running your application inside a

Re: lost URL parameters with s:param tag

2010-07-20 Thread Lukasz Lenart
2010/7/20 Emi Lu em...@encs.concordia.ca: s:param name=helpTitle      value=%{getText('example1')} / s:param name=helpText       value=%{getText('example2')} / It's the expected behavior as you don't have these properties in your action. You're looking throughout message resources and not for

Whereabouts of Struts 2.2

2010-07-20 Thread Rohan Ranade
Hi all, Sorry in advance for a potentially silly question. I have been seeing a couple of mails on the list about Struts 2.2. Is it released already? The struts.apache.org page doesn't seem to mention it anywhere except a section in the migration guide -

Re: Whereabouts of Struts 2.2

2010-07-20 Thread Lukasz Lenart
2010/7/20 Rohan Ranade rohan.ran...@gmail.com: Hi all, Sorry in advance for a potentially silly question. I have been seeing a couple of mails on the list about Struts 2.2. Is it released already? The struts.apache.org page doesn't seem to mention it anywhere except a section in the

Re: lost URL parameters with s:param tag

2010-07-20 Thread Chris Pratt
Are you intending for these values to come from your application resource bundle? That's where getText() gets it's values from. I believe it it doesn't find anything it just returns whatever is passed to is, which might be why you're seeing what I expect you are expecting. If you are actually

Re: lost URL parameters with s:param tag

2010-07-20 Thread Emi Lu
Are you intending for these values to come from your application resource bundle? That's where getText() gets it's values from. I believe it it doesn't find anything it just returns whatever is passed to is, which might be why you're seeing what I expect you are expecting. If you are

Re: lost URL parameters with s:param tag

2010-07-20 Thread Johannes Geppert
does it work when you define it this way? s:url id=url_help namespace=/Action/Global action=ProcessHelp s:param name=helpTitleexample1 s:param name=help_text_namecontents /s:url Johannes luy wrote: Good morning, It seems that s:param does not work well when more than one

Re: lost URL parameters with s:param tag

2010-07-20 Thread Chris Pratt
Not unless you sprinkle a couple of /s:param's in there as well. (*Chris*) On Tue, Jul 20, 2010 at 1:08 PM, Johannes Geppert jo...@web.de wrote: does it work when you define it this way? s:url id=url_help namespace=/Action/Global action=ProcessHelp s:param name=helpTitleexample1

sx:datetimepicker bug?

2010-07-20 Thread Chris Miles
I have the following in my JSP sx:datetimepicker name=deliveryDate id=deliveryDate label=Delivery Date displayFormat=dd/MM/ / but the generated HTML is: input type=text autocomplete=off dojoattachpoint=inputNode style=vertical-align: middle; width: 7em; value= name=dojo.deliveryDate This