tomahawk tree2 for clay built up tree structure
problem is the structure. if i have an object containing an id and a parentId (which is null, or linking to another object -> the parent one) if i get a list from db how is it possible to build up the structure for the tree2 i tried hashmap or recursive algorithm, but nothing with much success... any ideas stephan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomahawk + shale clay - Solution
no exception anymore but calendar wont be rendered correct (html code available but i see nothing there where the cal should be) 2006/7/7, Gary VanMatre <[EMAIL PROTECTED]>: Your managed bean name is not correct in the binding expression. The managed bean names are *not* case insensitive. CalendarBean "#{calendarBean.firstDate}" Try: "#{CalendarBean.firstDate}" Gary -- Original message ------ From: "stephan opitz" <[EMAIL PROTECTED]> > applicationContext.xml > > > > "http://www.springframework.org/dtd/spring-beans.dtd";> > > > > > > > faces-config.xml > > CalendarBean > > de.fhb.calendar.CalendarBean > > request > > > CalendarBean > public class CalendarBean implements Serializable { > /** > * serial id for serialisation > */ > private static final long serialVersionUID = 1L; > > private Date firstDate; > > public Date getFirstDate() { > return firstDate; > } > > public void setFirstDate(Date firstDate) { > this.firstDate = firstDate; > } > > public String submitMethod() > { > return "submit"; > } > } > > jsp file > > > weekRowClass="weekHeader" > currentDayCellClass="currentDayCell" > value="#{calendarBean.firstDate}"/> > > > but i found something about this: > > http://issues.apache.org/struts/browse/SHALE-192 > > stephan > > 2006/7/7, Gary VanMatre : > > >From: "stephan opitz" > > > > > thx, but how i register them? > > > > > > > To register a managed bean using JSF, look in the /WEB-INF/faces-config.xml. > Try something like this: > > > > > > calendarBean > > org.acme.CalendarBean > > request > > > > > > A few more examples: > > > http://svn.apache.org/viewvc/shale/trunk/shale-apps/shale-usecases/src/main/weba > pp/WEB-INF/faces-config.xml?view=log > > > http://svn.apache.org/viewvc/shale/trunk/shale-apps/shale-clay-usecases/src/main > /webapp/WEB-INF/faces-config.xml?view=log > > > > Gary > > > > > > > 2006/7/7, Gary VanMatre : > > > > >hello, > > > > > > > > > >i followed your instructions with the tomahawk-view-config.xml and > > > > >include it into web.xml > > > > >also i added tomahawk 1.11 libary into lib folder... > > > > > > > > > >now i wanted to use the calendar! > > > > > > > > > >i copied CalendarBean from simple example... also i a configured als > > > > >rules. managed beans etc. > > > > > > > > > >already little code like this: > > > > > > > > > > > > >weekRowClass="weekHeader" > > > > > currentDayCellClass="currentDayCell" > > > > >value="#{calendarBean.firstDate}"/> > > > > > > > > > > > > > > >throws exception: > > > > >14:04:42,015 ERROR [[jsp]] Servlet.service() for servlet jsp threw > exception > > > > >javax.faces.el.EvaluationException: Cannot get value for expression > > > > >'> > >weekRowClass="weekHeader" > > > > > currentDayCellClass="currentDayCell" > > > > >value="#{calendarBean.firstDate}"/>' > > > > > > > > > >Caused by: java.lang.IllegalStateException: No WebApplicationContext > > > > >found: no ContextLoaderListener registered? > > > > >at > > > > > > > > >org.springframework.web.jsf.FacesContextUtils.getRequiredWebApplicationContext( > > > F > > > > >acesContextUtils.java:78) > > > > > at > > > > > > > > >org.springframework.web.jsf.DelegatingVariableResolver.getWebApplicationContext > > > ( > > > > >DelegatingVariableResolver.java:134) > > > > > > > > > >no final solution found for the > > > > >No WebApplicationContext found: no ContextLoaderListener registered? > > > > > > > > > >problem in this context. > > > > > > > > > > > > > I think the problem is that you have the shale-spring.jar in your > classpath > > > but your have not registered any spring beans. > > > > > > > > > > > > > > > > contextConfigLocation > > > > > > > > > > > > > > > > > > > > The "calendarBean", managed bean is not registered in the faces-config or > > > spring config. > > > > > > > > > > > > >stephan > > > > > > > > Gary > > > > > > > > > > - > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomahawk + shale clay - Solution
applicationContext.xml http://www.springframework.org/dtd/spring-beans.dtd";> faces-config.xml CalendarBean de.fhb.calendar.CalendarBean request CalendarBean public class CalendarBean implements Serializable { /** * serial id for serialisation */ private static final long serialVersionUID = 1L; private Date firstDate; public Date getFirstDate() { return firstDate; } public void setFirstDate(Date firstDate) { this.firstDate = firstDate; } public String submitMethod() { return "submit"; } } jsp file but i found something about this: http://issues.apache.org/struts/browse/SHALE-192 stephan 2006/7/7, Gary VanMatre <[EMAIL PROTECTED]>: >From: "stephan opitz" <[EMAIL PROTECTED]> > thx, but how i register them? > To register a managed bean using JSF, look in the /WEB-INF/faces-config.xml. Try something like this: calendarBean org.acme.CalendarBean request A few more examples: http://svn.apache.org/viewvc/shale/trunk/shale-apps/shale-usecases/src/main/webapp/WEB-INF/faces-config.xml?view=log http://svn.apache.org/viewvc/shale/trunk/shale-apps/shale-clay-usecases/src/main/webapp/WEB-INF/faces-config.xml?view=log Gary > 2006/7/7, Gary VanMatre : > > >hello, > > > > > >i followed your instructions with the tomahawk-view-config.xml and > > >include it into web.xml > > >also i added tomahawk 1.11 libary into lib folder... > > > > > >now i wanted to use the calendar! > > > > > >i copied CalendarBean from simple example... also i a configured als > > >rules. managed beans etc. > > > > > >already little code like this: > > > > > > > > >weekRowClass="weekHeader" > > > currentDayCellClass="currentDayCell" > > >value="#{calendarBean.firstDate}"/> > > > > > > > > >throws exception: > > >14:04:42,015 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception > > >javax.faces.el.EvaluationException: Cannot get value for expression > > >'> > >weekRowClass="weekHeader" > > > currentDayCellClass="currentDayCell" > > >value="#{calendarBean.firstDate}"/>' > > > > > >Caused by: java.lang.IllegalStateException: No WebApplicationContext > > >found: no ContextLoaderListener registered? > > >at > > > >org.springframework.web.jsf.FacesContextUtils.getRequiredWebApplicationContext( > F > > >acesContextUtils.java:78) > > > at > > > >org.springframework.web.jsf.DelegatingVariableResolver.getWebApplicationContext > ( > > >DelegatingVariableResolver.java:134) > > > > > >no final solution found for the > > >No WebApplicationContext found: no ContextLoaderListener registered? > > > > > >problem in this context. > > > > > > > I think the problem is that you have the shale-spring.jar in your classpath > but your have not registered any spring beans. > > > > > > > > contextConfigLocation > > > > > > > > > > The "calendarBean", managed bean is not registered in the faces-config or > spring config. > > > > > > >stephan > > > > Gary > > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: tomahawk + shale clay - Solution
thx, but how i register them? 2006/7/7, Gary VanMatre <[EMAIL PROTECTED]>: >hello, > >i followed your instructions with the tomahawk-view-config.xml and >include it into web.xml >also i added tomahawk 1.11 libary into lib folder... > >now i wanted to use the calendar! > >i copied CalendarBean from simple example... also i a configured als >rules. managed beans etc. > >already little code like this: > >weekRowClass="weekHeader" >currentDayCellClass="currentDayCell" >value="#{calendarBean.firstDate}"/> > > >throws exception: >14:04:42,015 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception >javax.faces.el.EvaluationException: Cannot get value for expression >'weekRowClass="weekHeader" >currentDayCellClass="currentDayCell" >value="#{calendarBean.firstDate}"/>' > >Caused by: java.lang.IllegalStateException: No WebApplicationContext >found: no ContextLoaderListener registered? >at >org.springframework.web.jsf.FacesContextUtils.getRequiredWebApplicationContext(F >acesContextUtils.java:78) > at >org.springframework.web.jsf.DelegatingVariableResolver.getWebApplicationContext( >DelegatingVariableResolver.java:134) > >no final solution found for the >No WebApplicationContext found: no ContextLoaderListener registered? > >problem in this context. > I think the problem is that you have the shale-spring.jar in your classpath but your have not registered any spring beans. contextConfigLocation The "calendarBean", managed bean is not registered in the faces-config or spring config. >stephan Gary - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [shale] and ejb 3.0 and hibernate working together example
it works as ear project with access to the ejbs by prewriting the ear-archive name 2006/7/1, stephan opitz <[EMAIL PROTECTED]>: i've looked hours for it and it didn't work... using eclipse... also examples from inet whicht i imported in eclipse... out-of-container ejb shouldn't be that problem but it is... i've used the glassfish reference implementation. also built a jar containing the meta-inf (& persistence.xml) craig may do you have some working one as archive... stephan ps. now i try netbeans 5.5. 2006/6/30, Craig McClanahan <[EMAIL PROTECTED]>: > On 6/30/06, Adam Brod <[EMAIL PROTECTED]> wrote: > > > > I had to put my directory structure like this: > > > > [mywebapp]\WEB-INF\classes\META-INF\persistence.xml > > > > It didn't work when I put it in a top-level META-INF directory. > > > It also works if the persistence.xml file is in the META-INF directory of a > jar file in WEB-INF/lib ... the key is that it has to be visible to the > webapp class loader. > > HTH, > > > > Adam Brod > > Product Development Team > > > Craig > > PS: By the way, NetBeans 5.5 takes care of all the grunt work like this for > you :-). > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [shale] + myeclipse + jboss + how to + working???
best is if you do this and create an enterprise project... all ejbs in the ejb project including the meta-inf + persistence.xml the web project should be the one created with maven2 import for access to the ejb is that you have to the name of your ear-archive earArchiveName/EJBNname/local or remote it works great to access from shale to ejbs (and to db) stephan 2006/7/2, David Friedman <[EMAIL PROTECTED]>: I have the new(er) Eclipse Maven plugin (maven.apache.org/eclipse-plugin.html) and it seems to handle the linking and copying of the dependencies for me. That is/was on Eclipse 3.1.2. I just downloaded Eclpse 3.2/Callisto but I haven't tried it on that one yet. Otherwise, that was close but I don't do that "eclipse:add-maven-repo" command. I seem fine with the "mvn eclipse:eclipse". Why do you do the add-maven-repo? Oh, one draw-back with this particular eclipse-maven plugin is that right now it only browses ibilio and you can't specify overrides on settings.xml/pom.xml for it to browser other repositories. So, I have to manually add artifacts to my local repository first if they aren't in the main maven site. Regards, David -Original Message- From: stephan opitz [mailto:[EMAIL PROTECTED] Sent: Sunday, July 02, 2006 11:34 AM To: Struts Users Mailing List Subject: Re: [shale] + myeclipse + jboss + how to + working??? all depending libaries have to be copy in the WEB-INF/lib folder resources in the src folder too... it works 2006/7/2, stephan opitz <[EMAIL PROTECTED]>: > 1. create a shale project using maven 2 > > mvn archetype:create -DarchetypeGroupId=org.apache.struts.shale > -DarchetypeArtifactId=struts-archetype-shale-blank > -DarchetypeVersion=1.0-SNAPSHOT -DgroupId=org.apache.struts.ShaleTest > -DpackageName=org.apache.struts.ShaleTest -DartifactId=ShaleTest > -DremoteRepositories=http://people.apache.org/maven-snapshot-repository > > 2. add eclipse project dependencies + maven repo > > mvn eclipse:eclipse > > mvn -Declipse.workspace=X:\workspace eclipse:add-maven-repo > > 3. open myeclipse with maven2 plugin > > activate maven 2 + update dependencies > > 4. add myeclipse webproject folder > > src/main/webapp > > 5. deploy + start > deplay war file using myeclipse ide > > 6. start jboss 4 > > exception is coming... > > deploying incomplete exception while starting... > > does exist there any possibility?? > > only mvn cargo:start work from commandline -> with cargo tomcat plugin > -> but jboss > > stephan > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
EJB 3.0 out-of-the-container support with struts or shale
the ejb 3.0 specifivation is done standard! does anyone get successful support for an struts or shale project using ejb 3.0. glassfish reference implementation works only with vm argument -javaagent -> but is this maybe possible to combine with webframeworks ala struts or shale. important is that it is out of the container -> only using ejb3.0 implementation libaries and it is possibly from controller side using ejb 3.0 for persistence. is this impossible? it shouldn't, but no solution found, yet. stephan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [shale] + myeclipse + jboss + how to + working???
all depending libaries have to be copy in the WEB-INF/lib folder resources in the src folder too... it works 2006/7/2, stephan opitz <[EMAIL PROTECTED]>: 1. create a shale project using maven 2 mvn archetype:create -DarchetypeGroupId=org.apache.struts.shale -DarchetypeArtifactId=struts-archetype-shale-blank -DarchetypeVersion=1.0-SNAPSHOT -DgroupId=org.apache.struts.ShaleTest -DpackageName=org.apache.struts.ShaleTest -DartifactId=ShaleTest -DremoteRepositories=http://people.apache.org/maven-snapshot-repository 2. add eclipse project dependencies + maven repo mvn eclipse:eclipse mvn -Declipse.workspace=X:\workspace eclipse:add-maven-repo 3. open myeclipse with maven2 plugin activate maven 2 + update dependencies 4. add myeclipse webproject folder src/main/webapp 5. deploy + start deplay war file using myeclipse ide 6. start jboss 4 exception is coming... deploying incomplete exception while starting... does exist there any possibility?? only mvn cargo:start work from commandline -> with cargo tomcat plugin -> but jboss stephan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[shale] + myeclipse + jboss + how to + working???
1. create a shale project using maven 2 mvn archetype:create -DarchetypeGroupId=org.apache.struts.shale -DarchetypeArtifactId=struts-archetype-shale-blank -DarchetypeVersion=1.0-SNAPSHOT -DgroupId=org.apache.struts.ShaleTest -DpackageName=org.apache.struts.ShaleTest -DartifactId=ShaleTest -DremoteRepositories=http://people.apache.org/maven-snapshot-repository 2. add eclipse project dependencies + maven repo mvn eclipse:eclipse mvn -Declipse.workspace=X:\workspace eclipse:add-maven-repo 3. open myeclipse with maven2 plugin activate maven 2 + update dependencies 4. add myeclipse webproject folder src/main/webapp 5. deploy + start deplay war file using myeclipse ide 6. start jboss 4 exception is coming... deploying incomplete exception while starting... does exist there any possibility?? only mvn cargo:start work from commandline -> with cargo tomcat plugin -> but jboss stephan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [shale] and ejb 3.0 and hibernate working together example
i've looked hours for it and it didn't work... using eclipse... also examples from inet whicht i imported in eclipse... out-of-container ejb shouldn't be that problem but it is... i've used the glassfish reference implementation. also built a jar containing the meta-inf (& persistence.xml) craig may do you have some working one as archive... stephan ps. now i try netbeans 5.5. 2006/6/30, Craig McClanahan <[EMAIL PROTECTED]>: On 6/30/06, Adam Brod <[EMAIL PROTECTED]> wrote: > > I had to put my directory structure like this: > > [mywebapp]\WEB-INF\classes\META-INF\persistence.xml > > It didn't work when I put it in a top-level META-INF directory. It also works if the persistence.xml file is in the META-INF directory of a jar file in WEB-INF/lib ... the key is that it has to be visible to the webapp class loader. HTH, > > Adam Brod > Product Development Team Craig PS: By the way, NetBeans 5.5 takes care of all the grunt work like this for you :-). - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [shale] and ejb 3.0 and hibernate working together example
hello, i defined my ejb 3.0... created a persistence.xml with a pu in the meta-inf folder. using eclipse with maven2 plugin (all dependicies are correct) Exception: javax.persistence.PersistenceException: No Persistence provider for EntityManager. i'm not the only one with this problem, but no solution found... persistence.xml wouldn't be found... should i define something else?? any solution stephan 2006/6/29, stephan opitz <[EMAIL PROTECTED]>: thx... thats great... i learned on studying the mailreader example... when it is ready to service... i'm right now writing on an application using mailreader as base... thats why it will be great using/learning from yours... using hibernate and ejb 3.0 is not so simple - i could find an example... maybe you have one? or can implement an how to look like in mailreader? stephan 2006/6/29, Craig McClanahan <[EMAIL PROTECTED]>: > On 6/29/06, stephan opitz <[EMAIL PROTECTED]> wrote: > > > > hello... > > > > does exist any kind of good example which include in the controller > > component hibernate with normal pojos or maybe already ejb 3.0??? > > > I am almost through with a Shale+EJB3 (well, actually its Shale+JPA) > example. It's the good ol' Struts MailReader application, recast to use the > new Java Persistence Architecture for talkng to the database. One nice > thing about it (courtesy of Java EE 5) is you get dependency injection of > things like the entity managers into your managed beans (including the view > controllers behind each page). This will get included (eventually) as a > formal Shale example later on. > > An application that used Hibernate for persistence woud be virtually > identical in overall structure ... the concepts behind Hibernate and JPA are > pretty similar for this kind of usage, although many of the details > definitely differ. > > stephan > > > Craig > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [shale] and ejb 3.0 and hibernate working together example
thx... thats great... i learned on studying the mailreader example... when it is ready to service... i'm right now writing on an application using mailreader as base... thats why it will be great using/learning from yours... using hibernate and ejb 3.0 is not so simple - i could find an example... maybe you have one? or can implement an how to look like in mailreader? stephan 2006/6/29, Craig McClanahan <[EMAIL PROTECTED]>: On 6/29/06, stephan opitz <[EMAIL PROTECTED]> wrote: > > hello... > > does exist any kind of good example which include in the controller > component hibernate with normal pojos or maybe already ejb 3.0??? I am almost through with a Shale+EJB3 (well, actually its Shale+JPA) example. It's the good ol' Struts MailReader application, recast to use the new Java Persistence Architecture for talkng to the database. One nice thing about it (courtesy of Java EE 5) is you get dependency injection of things like the entity managers into your managed beans (including the view controllers behind each page). This will get included (eventually) as a formal Shale example later on. An application that used Hibernate for persistence woud be virtually identical in overall structure ... the concepts behind Hibernate and JPA are pretty similar for this kind of usage, although many of the details definitely differ. stephan Craig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[shale] and ejb 3.0 and hibernate working together example
hello... does exist any kind of good example which include in the controller component hibernate with normal pojos or maybe already ejb 3.0??? stephan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[shale] clay login example
hello, where i find the clay login example from the documentation... thx... stephan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [shale] ajax example from use cases
next problem is... in zipCode is code like this i cant find out where ajax$address is defined and what it links to... at all: the ajax sample means that after starting the sample the zipCode.jsp is loaded by faces-config.xml... then while using teh dropdown Completition.jsp/java gives back the requested info to the text fields. but what does this ajax$address means? stephan 2006/6/15, stephan opitz <[EMAIL PROTECTED]>: thx... unbelievable... i searched with windows for 80632 (file containing)... in Domains.java it is... stephan 2006/6/15, Wendy Smoak <[EMAIL PROTECTED]>: > On 6/15/06, stephan opitz <[EMAIL PROTECTED]> wrote: > > i almost understood how it works, but where "the ajax form" get its > > information... > > e.g.: > > 80632 > > Greeley > > Colorado > > > > there exist no obviously dao or source... > > It has to be in there somewhere, right?. :) > > $ grep -R "Greeley" * > src/main/java/org/apache/shale/usecases/view/Domains.java: zipCodeItems[2] > , // Greeley > src/main/java/org/apache/shale/usecases/view/Domains.java: { new SelectIte > m("Greeley"), new SelectItem("Colorado") }, > > (That's from the mvn_reorg branch, so the path will be a bit different > in your distribution.) > > Here's the oas.usecases.view package on the trunk: > <http://svn.apache.org/viewvc/struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/view/> > > HTH, > -- > Wendy > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [shale] ajax example from use cases
thx... unbelievable... i searched with windows for 80632 (file containing)... in Domains.java it is... stephan 2006/6/15, Wendy Smoak <[EMAIL PROTECTED]>: On 6/15/06, stephan opitz <[EMAIL PROTECTED]> wrote: > i almost understood how it works, but where "the ajax form" get its > information... > e.g.: > 80632 > Greeley > Colorado > > there exist no obviously dao or source... It has to be in there somewhere, right?. :) $ grep -R "Greeley" * src/main/java/org/apache/shale/usecases/view/Domains.java: zipCodeItems[2] , // Greeley src/main/java/org/apache/shale/usecases/view/Domains.java: { new SelectIte m("Greeley"), new SelectItem("Colorado") }, (That's from the mvn_reorg branch, so the path will be a bit different in your distribution.) Here's the oas.usecases.view package on the trunk: <http://svn.apache.org/viewvc/struts/shale/trunk/use-cases/src/java/org/apache/shale/usecases/view/> HTH, -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[shale] ajax example from use cases
i almost understood how it works, but where "the ajax form" get its information... e.g.: 80632 Greeley Colorado there exist no obviously dao or source... stephan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [shale] using the eclipse ide (maybe ith ant or maven2)
hello, it is ok... one can develop with eclipse & view it via mvn package cargo:start (start from console) thx stephan 2006/6/14, Hermod Opstvedt <[EMAIL PROTECTED]>: Hi The problem lies with the eclipse plugin and the maven embedder. This is fixed in the next version of the plugin Hermod -Opprinnelig melding- Fra: stephan opitz [mailto:[EMAIL PROTECTED] Sendt: 14. juni 2006 19:16 Til: Struts Users Mailing List Emne: Re: [shale] using the eclipse ide (maybe ith ant or maven2) hello it works in eclipse... next important problem is... i can define lifecycles like compile package cargo:start etc.. if i do this in eclipse it does not work... compile works but if i use package or cargo:start eclipse throws [ERROR] project-execute : org.apache.struts.ShaleShop:ShaleShop:war:1.0-SNAPSHOT ( task-segment: [package] ) why? stephan 2006/6/14, Gary VanMatre <[EMAIL PROTECTED]>: > >From: "Wendy Smoak" <[EMAIL PROTECTED]> > > > > On 6/14/06, stephan opitz wrote: > > > i wanted start programming with shale... > > > so i tried to integrate the shale blank war into eclipse as a new tomcat > > project > > > > > > because i was not able to configure maven2 and shale into eclipse i'm using > > ant. > > > > If you'd like to try Maven 2 again, we have an archetype in the sandbox. > > > > Follow the instructions here for 'mvn archetype:create ... ': > > > DME.txt> > > > > Then change into your new project directory and run 'mvn eclipse:eclipse'. > > > > I don't use Eclipse, but it works great for IDEA ('mvn idea:idea'). > > > > I've just started using this plugin http://maven.apache.org/eclipse-plugin.html. > > You can generate the eclipse project files using "mvn eclipse:eclipse". After the plugin is installed, you have set the maven repository for each new workspace under the preferences. The maven "eclipse:eclipse" goal will generate a .classpath file that points the the maven repository. You still have to create a variable for "M2_REPO" under the project library tab to the maven repository. > > > Gary > > > > HTH, > > -- > > Wendy > > > > - > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [shale] using the eclipse ide (maybe ith ant or maven2)
hello it works in eclipse... next important problem is... i can define lifecycles like compile package cargo:start etc.. if i do this in eclipse it does not work... compile works but if i use package or cargo:start eclipse throws [ERROR] project-execute : org.apache.struts.ShaleShop:ShaleShop:war:1.0-SNAPSHOT ( task-segment: [package] ) why? stephan 2006/6/14, Gary VanMatre <[EMAIL PROTECTED]>: >From: "Wendy Smoak" <[EMAIL PROTECTED]> > > On 6/14/06, stephan opitz wrote: > > i wanted start programming with shale... > > so i tried to integrate the shale blank war into eclipse as a new tomcat > project > > > > because i was not able to configure maven2 and shale into eclipse i'm using > ant. > > If you'd like to try Maven 2 again, we have an archetype in the sandbox. > > Follow the instructions here for 'mvn archetype:create ... ': > > DME.txt> > > Then change into your new project directory and run 'mvn eclipse:eclipse'. > > I don't use Eclipse, but it works great for IDEA ('mvn idea:idea'). > I've just started using this plugin http://maven.apache.org/eclipse-plugin.html. You can generate the eclipse project files using "mvn eclipse:eclipse". After the plugin is installed, you have set the maven repository for each new workspace under the preferences. The maven "eclipse:eclipse" goal will generate a .classpath file that points the the maven repository. You still have to create a variable for "M2_REPO" under the project library tab to the maven repository. Gary > HTH, > -- > Wendy > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[shale] using the eclipse ide (maybe ith ant or maven2)
i wanted start programming with shale... so i tried to integrate the shale blank war into eclipse as a new tomcat project because i was not able to configure maven2 and shale into eclipse i'm using ant. in the web-inf/src folder is my build.xml wich is working... problem or questions... is it possible to compile the jsp files too if some files are unchecked during compiling, what can i do anybody other solutions -> maven2 + eclipse plugin -> if so maybe give an packed archive with his eclipse project stephan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [shale] back button issue
hello, in the shale use cases is it already set to client... damn problem stephan 2006/6/13, Ian.Priest <[EMAIL PROTECTED]>: The back button is actually a problem with JSF in general as if the user hits "back" they are now on a different view to the one the server thinks they have, but it's particularly emphasised in dialogs. If you don't using dialogs you can overcome it by setting the JSF save-state to "client". Then the page will send the current view state to the client along with the view instead of storing against the session on the server. The drawback is that this increases the amount of data sent to the client. Configure it in web.xml like this: javax.faces.STATE_SAVING_METHOD client The alternative is to set it to "server" which is the default. I decided not to use dialogs for just this reason. Cheers, Ian. Apologies for previous empty post - got over-ecited when Brazil scored! -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: 13 June 2006 18:52 To: Struts Users Mailing List Subject: Re: [shale] back button issue On 6/13/06, stephan opitz <[EMAIL PROTECTED]> wrote: > while rebuiding the login procedure from the use-cases, i found the > problem with the browser back button... > > shale does not know that the actual view was finished. > > anybody has some answers? This is most likely related to SHALE-48 [1]. Unfortunately, there's no resolution yet. Please comment on the issue if you have any ideas! [1] http://issues.apache.org/struts/browse/SHALE-48 -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [shale] back button issue
this is a very important issue... after i got this exception it is not possible to do anything again in maybe in any other use case :-/ stephan 2006/6/13, Wendy Smoak <[EMAIL PROTECTED]>: On 6/13/06, stephan opitz <[EMAIL PROTECTED]> wrote: > while rebuiding the login procedure from the use-cases, i found the > problem with the browser back button... > > shale does not know that the actual view was finished. > > anybody has some answers? This is most likely related to SHALE-48 [1]. Unfortunately, there's no resolution yet. Please comment on the issue if you have any ideas! [1] http://issues.apache.org/struts/browse/SHALE-48 -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[shale] back button issue
dear shale friends, i'm want to using shale... while rebuiding the login procedure from the use-cases, i found the problem with the browser back button... shale does not know that the actual view was finished. anybody has some answers? stephan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]