Can you plz tell me the one stop best resource to fill all struts2 tags.
Hi All, Can you plz tell me the one stop best resource to fill all struts2 tags. Regards
Re: Issue with hibernate 3 + jboss-5.1.0.GA +mySql with Struts 2
Thank you Łukasz / hantsy. On 20 July 2010 12:23, Lukasz Lenart wrote: > Hi, > > You have plenty of errors in XML, take a look on that with some > validation tool, for example.: > > * root - first tag closed > > * ... - double ee in the > first tag > > Use better tool instead asking questions! > > > Regards > -- > Łukasz > + 48 606 323 122 http://www.lenart.org.pl/ > Kapituła Javarsovia 2010 http://javarsovia.pl > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > >
Issue with hibernate 3 + jboss-5.1.0.GA +mySql with Struts 2
Provider.info:31 - Unable to locate configuration files of the name struts.xml, skipping 11:30:27,921 INFO [STDOUT] 2010-07-20 11:30:27,921 INFO com.opensymphony.xwork2.config.providers.XmlConfigurationProvider.info:31 - Parsing configuration file [struts.xml] 11:30:28,500 INFO [TomcatDeployment] deploy, ctxPath=/jmx-console 11:30:28,687 ERROR [ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): DEPLOYMENTS IN ERROR: Deployment "vfsfile:/F:/jboss-5.1.0.GA/server/default/deploy/mysql-ds.xml" is in error due to the following reason(s): org.xml.sax.SAXParseException: The element type "local-tx-datasourcee" must be terminated by the matching end-tag "". * mysql-ds.xml* jdbc/ercDS jdbc:mysql://localhost:3306/ com.mysql.jdbc.Driver root sandeep123 1> 20> org.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter mySQL hibernate.cfg.xml http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd";> org.hibernate.dialect.MySQLDialect jdbc:mysql://*localhost*:3306/ root sandeep123 2 com.mysql.jdbc.Driver *org.hibernate.dialect.MySQLDialect* true true true *erc* true true true true true false true *jta* true org.hibernate.transaction.JTATransactionFactory java:comp/UserTransaction *jdbc*/ercDS org.hibernate.transaction.JBossTransactionManagerLookup Im using annotations I dont have any Mapping xml files web.xml http://java.sun.com/xml/ns/j2ee"* xmlns:xsi=*" http://www.w3.org/2001/XMLSchema-instance"* xsi:schemaLocation=*" http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"*> Message_Resource_Struts2_Ant index.jsp struts2 org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter struts2 /* My struts simple web.xml. -------- Please go through and let me know if im missing some thing Thanks Sandeep Kotha
Re: Struts 2 + dates
I agree with ken simple best thing to do <%@ taglib prefix="sx" uri="/struts-dojo-tags"%> . On 8 June 2010 23:09, lucas owen wrote: > Hi Struts users! > > > I need to present a java.util.Date in a jsp. It has to be within a > s:textfield because the user can modify/edit this date. > > The problem is when I display the date , it > shows the date with a wrong format. > > I can use but in > this case the date wouldnt be editable... > > > any ideas??? > > Thanks in advance! >
Re: struts2 + javascript doubt
One more simple thing just replace * with ' it will work On 24 May 2010 23:40, lucas owen wrote: > Hi: > > > is it possible to pass a dynamic parameter to a javascript function??? > > I'm trying this: > > > > > > > > > > javascript function: > > fPrimerNivel(id){ alert(id); } > > yields [object] > > > > If I try the same, but with javascript:fPrimerNivel(this.id), I get > [undefined] > > > > I dont know if this is possible, any help would be so much appreciated > > ciaooo >
Re: Live search with Dojo (Ajax) and Struts 2
step1. google.com step2 search with autocomplete + dojo On 7 April 2010 01:15, Celinio Fernandes wrote: > Hi, > I am using Struts 2.1.8 and the Dojo plugin. > What i am trying to realize is the following : > the user has to fill a field that corresponds to a REFERENCEID. I want to > help that user to type in the REFERENCEID > by suggesting 20 REFERENCEID as soon as he types in a digit. > For instance, if he types in 1, i want to make a SQL request in the > database and bring the 20 first REFERENCEID that start with 1. > Then if the user types 13, i do another SQL request and bring the 20 first > REFERENCEID that start with 13. > And so on. > > Has anyone done that ? I would be interested in sample code. > > Is there a component in Dojo that already does that ? > > I am looking for something a bit like this demo with Ext JS : > http://www.extjs.com/deploy/dev/examples/form/forum-search.html > > Also, does that field have to be a combobox ? can it be a text input > ()? > If it is a text input tag, where do i display the result (20 suggestions) ? > In a DIV ? > > > I am using Struts 2 which, as you know, comes with a nice plugin for Dojo. > So I have and tags at my disposal. > > Thanks for helping with sample code or any suggestion that might help. > > >
Re: Exception starting filter struts2 java.lang.ClassNotFoundException: org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
Thank you Lenart, Its working after making the change you said. On 3 April 2010 14:05, Lukasz Lenart wrote: > 2010/4/2 sandeep kotha : > > In-spite of having *struts2-core-2.1.8.1.jar *under > > /WebContent/WEB-INF/lib/struts-2.1.8.1/ . im getting the below error . > > Is that /WEB-INF/lib/struts-2.1.8.1/ a directory ??? > ^ > If so, your jars cannot be found, move them to /WEB-INF/lib as is > specified by servlet specification! > > > Regards > -- > Łukasz > http://www.lenart.org.pl/ > Kapituła Javarsovia 2010 > http://javarsovia.pl > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > >
Exception starting filter struts2 java.lang.ClassNotFoundException: org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter
In-spite of having *struts2-core-2.1.8.1.jar *under /WebContent/WEB-INF/lib/struts-2.1.8.1/ . im getting the below error . Exception starting filter struts2 *java.lang.ClassNotFoundException*: org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter * my web.xml* http://java.sun.com/xml/ns/j2ee " xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation=" http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";> my_project initial.jsp struts2 org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter struts2 /* Any help is much appreciated.
Re: Regarding download for Hibernate!
http://sourceforge.net/projects/hibernate/files/hibernate3/ On 31 March 2010 20:56, reuben swaroop singh wrote: > Hi, > > > I wanna download and use Hibernate.Kindly suggest the webpage where i can > download Hibernate latest version? > > kindly forward this to appropriate mail id. > > In Anticipation > > With Regards > > > Reuben Appadurai > >
Re: struts2 + Tiles, whypages shrink in top center ?
it occupies entire screen right how do you want your screen to look like ? can you send me a screen shot it may help better On 29 March 2010 23:24, A. Lotfi wrote: > I put the width attribute to 100% > > but look how it looks now : > http://osp105.mit.edu:8084/Struts2Tiles/welcomeLink.action > > > --- On Mon, 3/29/10, sandeep kotha wrote: > > > From: sandeep kotha > Subject: Re: struts2 + Tiles, whypages shrink in top center ? > To: "Struts Users Mailing List" , > lukasz.len...@gmail.com > Date: Monday, March 29, 2010, 10:04 AM > > > Hi Lenard > > Taking view source from your page i see width attribute is missing for your > table. Set the width attribute to 100% that will fix your issue. > > Pasted is your view source with width attribute. This could help you. > > > > "http://www.w3.org/TR/html4/loose.dtd";> > > > > > Welcome > > > width="100%"> > > > > TV > shows > > > > > > > > > > href="/Struts2Tiles/friendsLink.action;jsessionid=92B2AD20EC639C7635D69D297037F8AF" > >Friends > > href="/Struts2Tiles/officeLink.action;jsessionid=92B2AD20EC639C7635D69D297037F8AF" > >The Office > > > > > http://www.w3.org/TR/html4/loose.dtd";> > > > > Insert title here > > > > Welcome Guest. > > > > > > > © vaannila.com > > > > > > > > > > > > > On 29 March 2010 11:45, Lukasz Lenard > wrote: > > > 2010/3/29 A. Lotfi > > > > > > I tried all the browsers but still small, plz take a look here : > > > > > > http://osp105.mit.edu:8084/Struts2Tiles/welcomeLink.action > > > > Did check the source of your page in browser? It's a mess, duplicated > > body and so on. Check your tiles, only main page (the layout) should > > have body tag. The reset has to be just a html snippet - no html, body > > tags. > > > > > > Regards > > -- > > Łukasz > > http://www.lenart.org.pl/ > > Kapituła Javarsovia 2010 > > http://javarsovia.pl > > > > - > > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > > For additional commands, e-mail: user-h...@struts.apache.org > > > > > > > > >
Re: struts2 + Tiles, whypages shrink in top center ?
Hi Lenard Taking view source from your page i see width attribute is missing for your table. Set the width attribute to 100% that will fix your issue. Pasted is your view source with width attribute. This could help you. http://www.w3.org/TR/html4/loose.dtd";> Welcome TV shows Friends The Office http://www.w3.org/TR/html4/loose.dtd";> Insert title here Welcome Guest. © vaannila.com On 29 March 2010 11:45, Lukasz Lenard wrote: > 2010/3/29 A. Lotfi > > > > I tried all the browsers but still small, plz take a look here : > > > > http://osp105.mit.edu:8084/Struts2Tiles/welcomeLink.action > > Did check the source of your page in browser? It's a mess, duplicated > body and so on. Check your tiles, only main page (the layout) should > have body tag. The reset has to be just a html snippet - no html, body > tags. > > > Regards > -- > Łukasz > http://www.lenart.org.pl/ > Kapituła Javarsovia 2010 > http://javarsovia.pl > > - > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > >
Re: Can we some how persist form values in Struts2 the way we do in struts1.x
Hi Scott Got you !! Thank you very much. On 17 March 2010 04:30, wrote: > Hi Sandeep -- > > One clean way you can do this is by using the > ScopedModelDrivenInterceptor< > http://struts.apache.org/2.x/docs/scoped-model-driven-interceptor.html> > . > > Peace, > Scott > > On Tue, Mar 16, 2010 at 4:22 PM, sandeep kotha >wrote: > > > Hi All, > > > > We are migrating our application from Struts1.x to Struts2. Let me say we > > have some 5 pages on each page user enters different data on 5th page we > > have submit button. Clicking on submit button we insert data entered in > all > > 5 pages to DB. > > > > User can navigate to previous pages to change data he entered while user > > navigating to previous pages we need to populate the data user had > entered. > > > > In Struts1.x we are storing all the data in a form. In struts2 when we > > navigate to previous pages we are loosing the entered data. > > > > We welcome any suggestions to fix this issue. > > > > Thanks > > Sandeep.Kotha > > >
Can we some how persist form values in Struts2 the way we do in struts1.x
Hi All, We are migrating our application from Struts1.x to Struts2. Let me say we have some 5 pages on each page user enters different data on 5th page we have submit button. Clicking on submit button we insert data entered in all 5 pages to DB. User can navigate to previous pages to change data he entered while user navigating to previous pages we need to populate the data user had entered. In Struts1.x we are storing all the data in a form. In struts2 when we navigate to previous pages we are loosing the entered data. We welcome any suggestions to fix this issue. Thanks Sandeep.Kotha