Re: [appfuse-user] Sitemesh Ugly decorator "flash"

2007-06-28 Thread tibi
i'm not sure what a flash looks like but my site has a lot of css and sometime the data is loaded first and displayed without css after a few milliseconds the css files gets loaded and the site gets rendered. tibi Sanjiv Jivan wrote: The entire sitemesh decoration of your pages takes place

Re: [appfuse-user] Command object null

2007-06-28 Thread Msarda
Here is my JSP page.. <%@ include file="/common/taglibs.jsp"%>

Re: [appfuse-user] Command object null

2007-06-28 Thread dusty
OK, tell me about your JSP page or show the code.. that should help get to the bottom of it. Also your action code. -D Msarda wrote: > > I am using spring framework and i have customized my jsp also... > what you are saying( your understanding ) is also correct... > > Command object is my m

Re: [appfuse-user] Add ManyToOne relationship between user and a new pojo

2007-06-28 Thread dusty
I have talked about this topic a few times. More like rambled, but basically its basically about using Composition and making the Appfuse User object a property of a wrapper you create to include your relationships and additional properties. I have used that model on a recent project and it work

Re: [appfuse-user] Many to many relationship with data

2007-06-28 Thread dusty
So you have an association class with some properties like "type of relationship", "time of union", etc. You want users to edit these properties or rewire the relationships or both? If its just modifying the "modifiers" of the relationship then I believe you can treat the association object as a

Re: [appfuse-user] Command object null

2007-06-28 Thread Msarda
I am using spring framework and i have customized my jsp also... what you are saying( your understanding ) is also correct... Command object is my model object. I am also able to save updated value for the entries generated by maven... dusty wrote: > > A couple of questions to help me und

Re: [appfuse-user] Sitemesh Ugly decorator "flash"

2007-06-28 Thread dusty
Do you have an tag? Are you using some of the built in dojo objects on this page? I have seen this flash occur with an iframe using dojo. -D Daniel.Rodriguez wrote: > > Some news : > > Just got a huuuge project aproved by using Appfuse (and a Appfuse-based > Stripes project). Matt & everyo

Re: [appfuse-user] struts combo box

2007-06-28 Thread dusty
It depends on how you want to implement this. Presumably you want to assign a user to a single club (ManyToOne). If a user could be in many clubs then it would be a ManyToMany. But lets stick with ManyToOne and/or the inverse side Club to User OneToMany. In appfuse2 you are insulated from the

Re: [appfuse-user] problem in save()

2007-06-28 Thread dusty
You have a common interceptor problem when using relationships. The net net is that you need to modify your inteceptor stack so that near the top you have an order like params prepare params That is the first part of the solution.The second part is you need to implement Preparable on yo

Re: [appfuse-user] Command object null

2007-06-28 Thread dusty
A couple of questions to help me understand your problem: 1) Are you using Struts? What web framework are you using. 2) Have you customized your jsp form or the action the form posts to? Also, help me understand your problem but confirming my understanding. You have a model object for which yo

Re: [appfuse-user] Command object null

2007-06-28 Thread Matt Raible
Why do you have to use _ in your variable names? That's not a recommend way of constructing POJOs and I don't think it's a good idea to promote bad practices in AppFuse. ;-) Matt On 6/28/07, Msarda <[EMAIL PROTECTED]> wrote: Here is my model objectI have generated only this object(also

Re: [appfuse-user] Command object null

2007-06-28 Thread Msarda
Here is my model objectI have generated only this object(also two other model objects for many to many relationship) Every thing else i got generated by maven mvn appfuse:install command. i think this may be because of underscore (_) before variable name...but i have to use in this way onl

Re: [appfuse-user] Command object null

2007-06-28 Thread Matt Raible
I don't understand your problem very well. Maybe you can post some code that will make things easier to understand? You also might consider writing a unit test for your issue to see what tier it's happening in. Matt On 6/28/07, Msarda <[EMAIL PROTECTED]> wrote: I have one model objectwhen

Re: [appfuse-user] FCKEditor Integration with AppFuse 2

2007-06-28 Thread Lasantha Ranaweera
Thanks a lot Matt again. I solved the basic problem of mine. Is there any place I can find a sample of FCKEditor with struts 2 application ? Lasantha Matt Raible wrote: If you add /editor/fckeditor/* to the includes parameter of the StaticFilter, it should fix this problem. Matt On 6/27/07

Re: [appfuse-user] problem in save()

2007-06-28 Thread adriel manalansan
I forgot to say the version. I am using appfuse 1.9.4 and Wwbwork. This is my save() method in StudyAction: public String save() throws Exception { if (cancel != null) { return "cancel"; } if (delete != null) { return delete(); } bo

Re: [appfuse-user] struts combo box

2007-06-28 Thread arvinder
Use the the prepare interceptor, it is perfect for such functionality http://struts.apache.org/2.x/docs/prepare-interceptor.html Fan wrote: > > I am using struts framework in Appfuse 2.0-m5. > > I have a POJO called Club, now I want to retrieve the list of clubs from > DB then populate them i

Re: [appfuse-user] Sitemesh Ugly decorator "flash"

2007-06-28 Thread Sanjiv Jivan
The entire sitemesh decoration of your pages takes place on the server and only when its completed is the entire page content sent to the client (browser). Its not like the decoration takes place as content is being rendered in the browser. So the flash is not likely due to the decoration process

[appfuse-user] struts combo box

2007-06-28 Thread Fan
I am using struts framework in Appfuse 2.0-m5. I have a POJO called Club, now I want to retrieve the list of clubs from DB then populate them into userForm.jsp as a combo box. How could I do that ? Any pointer please p/s ** The relationship between User and Club POJO is ManyToOne. -- View this

[appfuse-user] Command object null

2007-06-28 Thread Msarda
I have one model objectwhen i am trying to save new entry in table...i am getting everything null in the command object... But when i am trying to edit automatically generated values by maveni am getting those values in command object I don't know whats wrong happening when trying to a

Re: [appfuse-user] FCKEditor Integration with AppFuse 2

2007-06-28 Thread Daniel.Rodriguez
Lasantha, Follow Matt's advice. However be extremely carefull with the FCKeditor JSP taglib. It requieres you to create a context named "FCKeditor" in your container and point the JSP tags there. The exact info is in http://wiki.fckeditor.net/Developer's_Guide/Integration/Java here . I had t

[appfuse-user] Sitemesh Ugly decorator "flash"

2007-06-28 Thread Daniel.Rodriguez
Some news : Just got a huuuge project aproved by using Appfuse (and a Appfuse-based Stripes project). Matt & everyone, I can't thank you enough... Now on to the issue at hand : Yesterday I was reviewing a site concept with a client and he noticed that my app (Appfuse 2.0.5 Struts-Basic) has an

Re: [appfuse-user] IllegalArgumentException: When not aligning with a user install...

2007-06-28 Thread Adolfo
Tried removing the local repository before creating and full-sourcing and before full-sourcing other projects alike, but the problem persists. I will see what I can do with the environment and keep it posted. Please, let me know too. Thanx. Adolfo. mraible wrote: > > Does this happen if you re

[appfuse-user] Exclude specific test

2007-06-28 Thread sarat.pediredla
I am trying to exclude a specific test of sets from my default mvn test run. This is basically because I have integrated selenium into my appfuse application and the tests are written in Java class files using the selenium-maven-plugin. I only want these tests to run when I run integration-test.

[appfuse-user] Many to many relationship with data

2007-06-28 Thread Aled Rhys Jones
Hi all I've got a many to many relationship between two models, but in this case the relationship is also represented by a model as it contains data that represents a reference of sorts between both models. Its table therefore has data in addition to the UID's of the other models. Any one g

Re: [appfuse-user] AW: Add ManyToOne relationship between user and a new pojo

2007-06-28 Thread Matt Raible
The only downside of using full-source is you won't be able to easily upgrade to future AppFuse releases. You'll have all the source in your project, so if you want to upgrade, you'll have to diff all your files against AppFuse files to see what's changed. Beyond that, it's likely that the error

Re: [appfuse-user] Appfuse Core + Swing: Session is closed

2007-06-28 Thread Sanjiv Jivan
Transparent lazy loading across client - server boundaries is not a trivial problem. There's been a lot of discussion on this (on the Spring and Hibernate lists) and suggestons of using a smart proxy but there's no implementation of those concepts. Are you sure that Toplink was able to provide tra

Re: [appfuse-user] AW: Add ManyToOne relationship between user and a new pojo

2007-06-28 Thread Fan
what's the consequence of no longer containing a reference to either the warpath plugin or any of the appfuse dependencies ?? I guess the following problem is one of the consequences, am I right ? http://www.nabble.com/override-User-code-class-and-link-OneToMany-to-any-other-class-tf3217084s2369

Re: [appfuse-user] AW: Add ManyToOne relationship between user and a new pojo

2007-06-28 Thread Michael Horwitz
If you get the full source, then your project should no longer contain a reference to either the warpath plugin or any of the appfuse dependencies (you do have all the source, after all... :-) Mike. On 6/28/07, Fan <[EMAIL PROTECTED]> wrote: It seems like getting the core classes should be th

Re: [appfuse-user] AW: Add ManyToOne relationship between user and a new pojo

2007-06-28 Thread Fan
It seems like getting the core classes should be the best option if I just want to add the relationship between user and a new pojo. But I also want to modify other classes like org.appfuse.webapp.taglib.CountryTag. But I am at the dilemma that I am afraid once I get the full source with "mvn ap

Re: [appfuse-user] Appfuse Core + Swing: Session is closed

2007-06-28 Thread MarcelR
Ok thanks, I will try that. But actually I would like to use the lazy initialisation. Last months I've used that with toplink without any problems. But want to use in my new project appfuse2's core and JPA (so hibernate's jpa implementation). I also tried to a change from jpa-hibernate to hiberna

Re: [appfuse-user] compilation error

2007-06-28 Thread Julien C.
Mea culpa, I have a wrong version of jta in my repository. when i extract the jar I have seen that it's javax.activation lib ??? Julien C. a écrit : Hi list, Since today, I have a problem with my project (Spring MVC Basic 2.0 m5)*. * [INFO] [talledLocalContainer] Caused by: [INFO] [talle

Re: [appfuse-user] To go in a action after authenticationfailure

2007-06-28 Thread Michael Horwitz
You may need to mark /myaction.html as having anonymous access in your security.xml configuration. Mike. On 6/28/07, ujjala <[EMAIL PROTECTED]> wrote: I tried it but It does not work. It seems that without authentication we can not go into any action of strutsconfig. mraible wrote: > > You

Re: [appfuse-user] problem in save()

2007-06-28 Thread Michael Horwitz
Which version of Appfuse are you using and with which web framework? Thanks Mike. On 6/28/07, adriel manalansan <[EMAIL PROTECTED]> wrote: Hello to everyone, I have 2 pojos, study and image. I did the relationship between the 2 tables and it is successful. Here it goes, from editStudy.html,

Re: [appfuse-user] To go in a action after authenticationfailure

2007-06-28 Thread ujjala
I tried it but It does not work. It seems that without authentication we can not go into any action of strutsconfig. mraible wrote: > > You should probably go to /myaction.html - that should work. > > Matt > > On 6/28/07, ujjala <[EMAIL PROTECTED]> wrote: >> >> I want to write a action class

[appfuse-user] problem in save()

2007-06-28 Thread adriel manalansan
Hello to everyone, I have 2 pojos, study and image. I did the relationship between the 2 tables and it is successful. Here it goes, from editStudy.html, i uploaded an image(redirected to editImage.html) that uses imageAction and saved the imageId to my study then redirect to editStudy.html again,

Re: [appfuse-user] To go in a action after authenticationfailure

2007-06-28 Thread Matt Raible
You should probably go to /myaction.html - that should work. Matt On 6/28/07, ujjala <[EMAIL PROTECTED]> wrote: I want to write a action class where flow should go if login authentication failure. For this i did mapping in strutsconfig. Then i put value="/myaction" for "authenticationFailureUr

[appfuse-user] To go in a action after authenticationfailure

2007-06-28 Thread ujjala
I want to write a action class where flow should go if login authentication failure. For this i did mapping in strutsconfig. Then i put value="/myaction" for "authenticationFailureUrl" in applicationcontextsecurity.xml. In my action i forward i

AW: [appfuse-user] Add ManyToOne relationship between user and a new pojo

2007-06-28 Thread Tobias Vogel
There's a possibility betweem modifying nothing and pulling in the full sources. You can also just modify the core classes (only the domain objects). See: http://appfuse.org/display/APF/AppFuse+Core+Classes Kind regards, Tobias -Ursprüngliche Nachricht- Von: Fan [mailto:[EMAIL PROTECTED

[appfuse-user] Add ManyToOne relationship between user and a new pojo

2007-06-28 Thread Fan
I want to add ManyToOne relationship between user and a new pojo. 1) Should I extend the user pojo instead of modifying the user pojo to build the relationship ? 2) Is there any implication when I run "mvn appfuse:full-source" ? -- View this message in context: http://www.nabble.com/Add-Many

[appfuse-user] compilation error

2007-06-28 Thread Julien C.
Hi list, Since today, I have a problem with my project (Spring MVC Basic 2.0 m5)*. *** [INFO] [talledLocalContainer] Caused by: [INFO] [talledLocalContainer] java.lang.NoClassDefFoundError: javax/transaction/Synchronization [INFO] [talledLocalContainer] at java.lang.Class.getDeclaredMethod

Re: [appfuse-user] An article regarding spring's hibernate template

2007-06-28 Thread Michael Horwitz
I tend to work directly with the Hibernate session factory when I code my own DAO's - but this is strictly a matter of personal preference. I believe working in this way makes my DAO's easier to read - note that I see no technical advantage between either approach. Once you stop using templates, t