[appfuse-user] Submenu problems in appfuse 2 and struts-menu

2009-04-06 Thread mmaia
Hi, I've been facing hard times while trying to make appfuse work with submenus. I'm using struts2 and whenever I try to do something like: As you can see I need an Item with item in it... This causes really bad behavior in appfu

Re: [appfuse-user] Using struts 2 tooltip causes error!

2009-03-24 Thread mmaia
Try searching the archives @ http://appfuse.markmail.org to find a > workaround (requires a few code modifications). > 2. Change the extension to something like .action and add to > your > element. > > Matt > > On Mon, Mar 23, 2009 at 3:23 PM, mmaia wrote: > >> >&

[appfuse-user] Using struts 2 tooltip causes error!

2009-03-23 Thread mmaia
Hi, Whenever I try to add a tooltip to a struts 2 textfield causes an error. I can see this error because I use Firebug for firefox. The error is: The tooltip added is like: And the error message: dojo is not defined: dojo.requ...);dojo.require("dojo.fx.html"); Follows an image to visuali

Re: [appfuse-user] Anemic domain model in appfuse?

2009-03-04 Thread mmaia
your manager is rigth. Anemic Domain model is not OO. The point here is that nothing in appfuse stops you from implementing Domain model I've been ther, done that.. no secrets. It worked great. Domain model states that the objects should have the behavior that is commom to it's type. Appfuse gen t

Re: [appfuse-user] DateUtil. How do I choose to use date or dateTime format?

2009-01-21 Thread mmaia
y.com/xwork/wikidocs/Type%20Conversion.html > > Matt > > On Tue, Jan 20, 2009 at 12:35 PM, mmaia wrote: > >> >> Hi, >> >> I'm usind appfuse with struts2. In some situations I need an insert to >> use >> a >> date+time patter wich I can

[appfuse-user] DateUtil. How do I choose to use date or dateTime format?

2009-01-20 Thread mmaia
Hi, I'm usind appfuse with struts2. In some situations I need an insert to use a date+time patter wich I can see looking at DateUtil class that is already made in a method called: getDateTimePattern . Also sometimes I need the display tag to show Date and time and also would like to use getDateTi

Re: [appfuse-user] s:dateTimePicker - Struts 2 can't make it work!!!

2008-11-14 Thread mmaia
-3 So what should I do to make the correct time to be persisted? regards, Marcos Maia. mmaia wrote: > > Hi, > > After a bit of research I find out that the default calendar wich cames > packaged with appfuse using struts2 also gives support for picking a time. > I'd lik

Re: [appfuse-user] s:dateTimePicker - Struts 2 can't make it work!!!

2008-11-14 Thread mmaia
this goal? I've been trying to understand how does it work in appfuse. I can see the appfuse tag is like: how does this get associated with calendar.js or calendar-setup.js? regards, Marcos Maia. mmaia wrote: > > Hi, > > I've tryied all I can think of trying to ma

[appfuse-user] s:dateTimePicker - Struts 2 can't make it work!!!

2008-11-14 Thread mmaia
Hi, I've tryied all I can think of trying to make s:dateTimePicker to work with appfuse. I can't find a way. Anyone has ever managed to use it correctly? Anyone has some suggestion on some Javascript component to use to set Date and Time??? []s Marcos Maia. P.S - I've set the ajax theme and t

Re: [appfuse-user] DWR using struts 2 and appfuse

2008-11-08 Thread mmaia
} I´d also like to know the consequences of taking out the static filter from appfuse pls. Marcos Maia. mmaia wrote: > > Hi, > > I´m new to ajax so I had a hard time making things work. > First problema I faced is about StaticFilter, I was only able to execute > the Cha

[appfuse-user] struts 2, wich one is the best Ajax framework to go?

2008-11-08 Thread mmaia
Hi, I´ve just started studying ajax for a couple of weeks now. Had some problems with dojo at first then I tryed a bit with DWR, scriptacolous and prototype. I never developed a real application with ajax yet and I´d like some guidance on what would be the best framework to use. Pls share some

[appfuse-user] DWR using struts 2 and appfuse

2008-11-08 Thread mmaia
Hi, I´m new to ajax so I had a hard time making things work. First problema I faced is about StaticFilter, I was only able to execute the Chat tutorial at: http://today.java.net/pub/a/today/2005/08/25/dwr.html if I comment the Static filter on web.xml [code] [/code] also the sample is only

Re: [appfuse-user] Accessing appfuse authenticated user from device or java web start(jnlp)

2008-10-28 Thread mmaia
Hi, never used java web start but as far as I know it uses http for comunication, so should not be hard to customize Acegi security mecanism to solve this problem: http://www.acegisecurity.org/guide/springsecurity.html#authentication regards. raghu_nath wrote: > > Hi, > > My project is in

Re: [appfuse-user] Appfuse gen bug???

2008-10-28 Thread mmaia
thought. Hope somenone fix this for future versions. regards, Marcos Maia. mmaia wrote: > > Hi, > > I have a model class called Alimento. When I try to run appfuse gen with > command: > > mvn appfuse:gen -Dentity=Alimento > > I get the followin

[appfuse-user] Appfuse gen bug???

2008-10-27 Thread mmaia
Hi, I have a model class called Alimento. When I try to run appfuse gen with command: mvn appfuse:gen -Dentity=Alimento I get the following error: [ERROR] FATAL ERROR [INFO] [INFO] C:\workspaces\projetos\controlepeso\ta

[appfuse-user] Struts 2 interceptor using Manager reference, thread safety question!

2008-10-08 Thread mmaia
Hi, I´m using appfuse with struts 2 arch. I have a custom interceptor that uses a Manager class to retrieve some information from DB for a specific user, here´s what I have: 1) User X ControlePeso relationship as oneToMany relationship being multiple ControlePesos for 1 user. 2) A method where I

Re: [appfuse-user] OneToMany Relation Problem from User

2008-10-07 Thread mmaia
: > > The only thing I can think of is there's another hibernate.cfg.xml in your > classpath. I'd suggest you send me your project, but it's unlikely I'd > have > time to look at it this week. > > Sorry, > > Matt > > On Tue, Oct 7, 2008 at 8:51 PM

Re: [appfuse-user] OneToMany Relation Problem from User

2008-10-07 Thread mmaia
that seems to be > working correctly. Can you reproduce this problem on another machine? > > Matt > > On Tue, Oct 7, 2008 at 3:09 PM, mmaia <[EMAIL PROTECTED]> wrote: > >> >> Some more on this: >> >> I can see in console when hibernate.cfg.

Re: [appfuse-user] OneToMany Relation Problem from User

2008-10-07 Thread mmaia
gt; > Did you make sure your class is mapped in hibernate.cfg.xml? > > Matt > > On Tue, Oct 7, 2008 at 9:08 AM, mmaia <[EMAIL PROTECTED]> wrote: > >> Hi, >> I have added a simple relation from User to ControlePeso class, it´s a >> one >> to Man

Re: [appfuse-user] OneToMany Relation Problem from User

2008-10-07 Thread mmaia
user = (User) auth.getPrincipal(); controlePeso.setUser(user); controlePesoManager.save(controlePeso); So I really believe there´s some problem with context loading while executing the test cases... Any ideas?? tx in advance.. mmaia wrote: > > Yes, it i

Re: [appfuse-user] OneToMany Relation Problem from User

2008-10-07 Thread mmaia
; > Matt > > On Tue, Oct 7, 2008 at 9:08 AM, mmaia <[EMAIL PROTECTED]> wrote: > >> Hi, >> I have added a simple relation from User to ControlePeso class, it´s a >> one >> to Many relationship. >> *In User class:* >> >> private List

[appfuse-user] OneToMany Relation Problem from User

2008-10-07 Thread mmaia
Hi, I have added a simple relation from User to ControlePeso class, it´s a one to Many relationship. In User class: private List controlePeso = new ArrayList(); @OneToMany(cascade=CascadeType.ALL, mappedBy="user") public List getControlePeso() { return controlePeso; } In Control

[appfuse-user] Appfuse using struts2 basic + JFreeChart + Cewolf, how to integrate it?

2008-10-06 Thread mmaia
Hi, I´ve been looking for the best way to integrate charts into appfuse struts2 archetipe. I´m new to Maven so I still not sure about the best way to integrate JFreeChart libraries and Cewolf libraries into my project. Some points. 1) I believe JFreeChart + Cewolf it´s a good choice on building

Re: [appfuse-user] compile error when after executing full-source goal - how maven calculate the dependency ?

2008-09-24 Thread mmaia
Is this problem solved? I'm facing exactly the same problem. Is there a workaround? regards, Marcos Maia chinofish-2 wrote: > > I faced a weired problem. > > I create a new project with appfuse-basic-struts. > > and after i executed > > mvn appfuse:full-source > mvn clean > mvn eclipse:ecl

[appfuse-user] Hibernate persistence tutorial error?

2008-02-20 Thread mmaia
Hi, I was using hibernate tutorial from Appfuse site: http://www.appfuse.org/display/APF/Using+Hibernate and where it says: Create an applicationContext.xml file in src/main/webapp/WEB-INF (or core/src/main/resources for a modular archetype) and add the following XML to it This actually did no

[appfuse-user] Generating full source and .xml entries using appfuse 2

2008-02-09 Thread mmaia
Hi, I used appfuse 1.9.4 to build a project last year. Now I'm trying with appfuse 2 and struts 2 modules. Just can't find a command in maven appfuse plug in to generate crud without using the generic container. For example I used to generate from an annotated model class Alimento using an ant co

[appfuse-user] appfuse:gen error appfuse2M5

2007-07-12 Thread mmaia
Hi, I get the following error while running mvn with -e option to get the error stack, have no idea about this error, first tryies with appfuse2M5, any ideas? [INFO] [ERROR] BUILD ERROR [INFO]

[appfuse-user] Open firewall to use Maven

2007-07-04 Thread mmaia
Hi, I´m trying appfuse 2.0M5 and I have to disable my personal firewall so Maven can download elements. Wich port does it uses? I want to open this port as doing so I will problably be able to run maven without disabling my firewall. -- View this message in context: http://www.nabble.com/Open

[appfuse-user] Need to do some customization on User

2007-05-22 Thread mmaia
Hi, I need to add an extra attribute in the app_user table(User), using appfuse 1.x I had access to the User class, but I could not find it using appfuse 2, only found the .class files! Should I extend User class to add an extra attribute? What is the recomended approach? -- View this message

Re: [appfuse-user] Backgammon Java application

2007-05-15 Thread mmaia
I've seen some sample game apps built using echo. Maybe it could help you. It has a different approach for building web applications it's worth taking a look, I believe but I have never used it to build production systems thougth. http://www.nextapp.com/platform/echo1/echo/ regards. jeanclaud

[appfuse-user] Appfuse 2 - Problem populating DB with sample data

2007-05-15 Thread mmaia
Hi, have used appfuse 1.9.4 for a couple of projects and had fun, really like it, life goes on and decided to take a look on appfuse2 to consider for my next project and found a problem! The link: http://www.appfuse.org/display/APF/Maven+2 says that the command: mvn hibernate3:hbm2ddl dbunit:o

[appfuse-user] Displaytag customization

2007-03-14 Thread mmaia
Hi, I need to display some photo albuns on a web page. I´d like to use displaytag as it provide pagination, etc... I´ve been looking around and couldn´t find out how to customize it to build a 3 column table wich should display 3 diferent records from the same information, something like the code

Re: [appfuse-user] Passing parameter from Struts menu

2007-02-27 Thread mmaia
t; > > You should have: > > title="Aéreos"page="/listaPorTipoCategoria.html?tipoPacote=Nacional&codigoPacote=Aereo"/> > > i.e. all & replaced by & > > Mike. > > > > On 2/27/07, mmaia <[EMAIL PROTECTED]> wrote: >> &

[appfuse-user] Passing parameter from Struts menu

2007-02-27 Thread mmaia
Hi, I have a registered action that needs to be called with different parameters based on de selected menu. I've tryied to put the parameters on menu-config.xml but it crashes, won´t work. Follow frags of code: xwork.xml [code] /WEB-INF/pages/listaPacotes.jsp [/code] menu-config.xml

[appfuse-user] How to make ww:select submit a form correctly?

2007-02-03 Thread mmaia
Hi, I need a ww:select elemento to submit a form usin webwork, follow what I have done so far: In jsp page I have: and the ww:select tag: enviaOrigem javascript code: function enviaOrigem() { document.pacoteForm.submit(); } The action is mapped on xwork.xml:

Re: [appfuse-user] Using css

2007-01-31 Thread mmaia
page with the images I need to render on the right column as I expected. This has solved my problem. Tx and regards. Matt Raible-3 wrote: > > The only CSS documentation we have is likely from the CSS Framework: > > http://www.contentwithstyle.co.uk/Articles/17/ > > Matt >

[appfuse-user] Using css

2007-01-30 Thread mmaia
Hi, I´d like to know if there´s some tutorial on using the css styles that ships with default appFuse implemetation. I´m using a customized puzzlewithstyle style and now I need to use 3 column layout but as I sucks at interface design I need some help here. Is there such css style guide? -- View

Re: [appfuse-user] How does get mapped??? Couldn´t find out!

2007-01-25 Thread mmaia
directly as usualy!!! tx. Matt Raible-3 wrote: > > XDoclet tags are used in the javadoc of the UserAction.java class. > These tags are used to create the struts-config.xml. > > Matt > > On 1/24/07, mmaia <[EMAIL PROTECTED]> wrote: >> >> >> I coul

[appfuse-user] How does g et mapped??? Couldn´t find out!

2007-01-24 Thread mmaia
I couldn´t find out how this is mapped for a struts action? -- View this message in context: http://www.nabble.com/How-does-%3Cdisplay%3Acolumn...-%3E-get-mappedCouldn%C2%B4t-find-out%21-tf3095705s2369.html#a8594534 Sent from the AppFuse - User mailing list archive at Nabble.com. -

Re: [appfuse-user] Strange html:select behavior????

2007-01-24 Thread mmaia
Hi, problem solved. Just used as was not being converted by container. regards. mmaia wrote: > > Hi, > I´m having problems with html:select (Struts) I have the following code on > my jsp: > > > >

[appfuse-user] Strange html:select behavior????

2007-01-19 Thread mmaia
Hi, I´m having problems with html:select (Struts) I have the following code on my jsp:

Re: [appfuse-user] Struts Based Instructions for jsCalendar

2007-01-08 Thread mmaia
Tx fro the great instructions, it worked fine usin struts in my case. The diference was in step 3: 3. Edit web/decorators/default.jsp I also took of the button in step 4. []s Matt Raible-3 wrote: > > On 9/4/06, Richard Nduka <[EMAIL PROTECTED]> wrote: >> I have tried the date tuto