Re: [appfuse-user] Future of Spring MVC

2007-11-13 Thread kkus
I think this message-driven, event-based service has already been achieved in Flex. Flex's actionScript with aid of mxml is doing what SOFEA is trying. For example, if there is a change in db and a service in midder tier has been implemented to retrieve it, this change will be automatically update

Re: [appfuse-user] JBoss Seam

2007-09-26 Thread kkus
Due to use of JSF Expression Language(EL) Seam saves a lot of xml configuration(or annotation?). Compared to Spring you are unware of data binding, entity bean construction etc in Seam. All these are handled by EL. Meanwhile Seam-Gen has provided a java version of Ruby on Rails. Good for rapid pro

[appfuse-user] XFire question in M5

2007-09-17 Thread kkus
1. How can I see generated configuration for XFire including settings in web.xml etc? Where is exploded M5 project path after "mvn jetty:run"? In 1.9.4 I can easily find it under tomcat's webapp folder for exploded appfuse project. Not sure for jetty. 2. What mvn command can I use to test XFire i

[appfuse-user] .vm content changed in copy task

2007-08-09 Thread kkus
I put some Chinese in .vm file and these Chinese charaters become monster ones after .vm file was copied to Tomcat folder. I checked build file of 1.9.4(Spring+Hibernate, XP SP2), only place involving in .vm file is as below.

Re: [appfuse-user] Unicode problem in applicationContext-resources.xml

2007-08-09 Thread kkus
aible wrote: > > I wish I had an answer for you, but I don't. I've never tried to use > Chinese characters as text values in my Spring XML files. > > Matt > > On 8/8/07, kkus <[EMAIL PROTECTED]> wrote: >> >> Env. is 1.9.4 Spring+Hibernate, XP SP2 and

[appfuse-user] Unicode problem in applicationContext-resources.xml

2007-08-08 Thread kkus
Env. is 1.9.4 Spring+Hibernate, XP SP2 and JDK5 Update 11. Chinese characters in that file became monster characters after related build target was implemented in some cases. For example, "报警历史记录" in that xml file will lead to all Chinese monster characters. Log file showed, [appfuse] ERROR [mai

[appfuse-user] Cannot have beans from other context in controller in 1.9.4 MVC

2007-07-19 Thread kkus
Since web.xml has following definition which doesn't include /WEB-INF/action-servlet.xml, for controllers like SignupController which extends from SimpleFormController I can't get any beans defined from applicationContext-*.xml in controller class IF there is NO property reference to beans of appl

[appfuse-user] Can I specify role in menu item level instead of menu level?

2007-07-08 Thread kkus
Normally I have to specify roles in Menu level as below, Now I want to specify roles in sepcific menu item as below but I don't know if that is corrct, Can I do like the above? Thanks! -- View this message

Re: [appfuse-user] How to browse pom structure in Eclipse for M5 pom files?

2007-06-20 Thread kkus
for Ant in Eclipse to understand each task's definition, I am looking for a similar tool for mvn commands in Eclipse. mraible wrote: > > What do you mean by pom file structure? > > Matt > > On 6/20/07, kkus <[EMAIL PROTECTED]> wrote: >> >> I am

Re: [appfuse-user] How to browse pom structure in Eclipse for M5 pom files?

2007-06-20 Thread kkus
I am using basic for Spring MVC. mraible wrote: > > Are you using a basic or modular archetype? > > Matt > > > On 6/19/07, kkus <[EMAIL PROTECTED]> wrote: >> >> I have already installed Maven 2.x Integration for Eclipse 3.2.2 >> (http://maven.apa

[appfuse-user] How to browse pom structure in Eclipse for M5 pom files?

2007-06-19 Thread kkus
I have already installed Maven 2.x Integration for Eclipse 3.2.2 (http://maven.apache.org/eclipse-plugin.html), but still can't see appFuse pom file structure. What tool can let me achieve it? Thanks! -- View this message in context: http://www.nabble.com/How-to-browse-pom-structure-in-Eclipse-f

[appfuse-user] testing error in building Eclipse for Spring MVC Basic of appfuse 2 m5

2007-06-16 Thread kkus
After I do a clean build (mvn clean install eclipse:eclipse), there is an error as below for my env. Oracle 9i(9.0.2) +XP SP2+JDK 1.5.11, does it affect generation of .project and .classpath for Eclipse(I can't find them anywhere)? Running org.appfuse.service.UserManagerTest INFO - AbstractSing

Re: [appfuse-user] Error in 2 m5 when generating Eclipse project file

2007-06-15 Thread kkus
e than that as well. I am unsure why the .project and > .classpath are not showing up. Try running mvn clean install > eclipse:eclipse and see if that works. > > On 6/15/07, kkus <[EMAIL PROTECTED]> wrote: >> >> It is working without error. But I can't find expect

Re: [appfuse-user] Error in 2 m5 when generating Eclipse project file

2007-06-15 Thread kkus
running this command. > > Matt > > > On 6/15/07, kkus <[EMAIL PROTECTED]> wrote: >> >> My env. is JDK 1.5.11 in XP SP2. First I used following command and it >> was >> successful, >> >> mvn archetype:create -DarchetypeGroupId=org.appf

[appfuse-user] Error in 2 m5 when generating Eclipse project file

2007-06-15 Thread kkus
My env. is JDK 1.5.11 in XP SP2. First I used following command and it was successful, mvn archetype:create -DarchetypeGroupId=org.appfuse -DarchetypeArtifactId=appfuse-basic-spring -DremoteRepositories=http://static.appfuse.org/repository -DarchetypeVersion=2.0-m5 -DgroupId=fuel -DartifactId=app

[appfuse-user] ThinWire - AJAX based Web framework (no html, no javascipt, purly java)

2007-05-02 Thread kkus
www.thinwire.com It looks cool since you are working only with java and seems a rapid development framework. Check its demo and you can't even tell it is a web app. It also can take advantage of power provided by Spring and Hibernate by integration. A real world app based on it which is still in

Re: [appfuse-user] How to distribute Spring beans into diff. jvms/boxes?

2007-01-08 Thread kkus
rial > on how to do this. > > Matt > > On 1/5/07, kkus <[EMAIL PROTECTED]> wrote: >> >> Due to large number of Spring beans, I am wondering what proper >> technology is >> to distribute these beans into different JVMs (in different boxes), and >> make

Re: [appfuse-user] How to distribute Spring beans into diff. jvms/boxes?

2007-01-08 Thread kkus
s b/w JVMs. > > http://terracottatech.com/terracotta_spring.shtml > > If you do this, please let us know - it'd be great to have a tutorial > on how to do this. > > Matt > > On 1/5/07, kkus <[EMAIL PROTECTED]> wrote: >> >> Due to large number of Spr

[appfuse-user] How to distribute Spring beans into diff. jvms/boxes?

2007-01-05 Thread kkus
Due to large number of Spring beans, I am wondering what proper technology is to distribute these beans into different JVMs (in different boxes), and make them collaborate each other like one JVM/box. For example, if I have 10 beans, I need 4 beans will be loaded from JVM 1 and the other 6 from JV

Re: [appfuse-user] tough question: doGet request fired twice in displaytag

2006-12-28 Thread kkus
n IE6. GojiraDeMonstah wrote: > > I found this online book excerpt helpful and interesting: > http://www.quirksmode.org/js/contents.html , especially the events > chapter. > > Jason > <http://www.quirksmode.org/js/events_advanced.html> > > > On 12/28/06, kkus <[EMA

Re: [appfuse-user] tough question: doGet request fired twice in displaytag

2006-12-28 Thread kkus
in the row > navigate the browser to that link > set the cursor to "wait" until the new page loads > stop processing any additional event listeners triggered by the click > > This is an over simplification of what event bubbling is, but I think > you get t

Re: [appfuse-user] tough question: doGet request fired twice in displaytag

2006-12-27 Thread kkus
e: > > google "event bubbling" to understand how browser events are cascaded / > bubbled. > > On 12/27/06, kkus <[EMAIL PROTECTED]> wrote: >> >> >> It works after I added return false at the bottom of event method(see >> below). >> But curi

Re: [appfuse-user] tough question: doGet request fired twice in displaytag

2006-12-27 Thread kkus
and >> the ahref being called. >> >> I think this js function makes the entire row "act" like a clickable >> URL. It should be returning 'false' though. >> >> >> >> On 12/27/06, *kkus* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTE

Re: [appfuse-user] tough question: doGet request fired twice in displaytag

2006-12-27 Thread kkus
var link = cell.getElementsByTagName("a")[0]; location.href = link.getAttribute("href"); this.style.cursor="wait"; } kkus wrote: > > By disabling javascript in IE6, I can see only one GET request. But > haven&

Re: [appfuse-user] tough question: doGet request fired twice in displaytag

2006-12-27 Thread kkus
laytag has anything to do with > it. > Enter the url that disaplytag is issuing (is it calling /user/a.html or > /editUser.html?) > > > On 12/26/06, kkus <[EMAIL PROTECTED]> wrote: >> >> >> I commented out both rewriteFilter and exportFilter in web.xml, b

Re: [appfuse-user] tough question: doGet request fired twice in displaytag

2006-12-27 Thread kkus
r and see if you're still > getting > two requests. That way you can see if displaytag has anything to do with > it. > Enter the url that disaplytag is issuing (is it calling /user/a.html or > /editUser.html?) > > > On 12/26/06, kkus <[EMAIL PROTECTED]> wrote: >&g

Re: [appfuse-user] tough question: doGet request fired twice in displaytag

2006-12-26 Thread kkus
Sanjiv Jivan wrote: > > I'm thinking that the app is doing a redirect, probably because of one of > the servlet filters. > > On 12/26/06, kkus <[EMAIL PROTECTED]> wrote: >> >> >> After I used Fiddler, I can still see two requests issued when code >> s

Re: [appfuse-user] tough question: doGet request fired twice in displaytag

2006-12-26 Thread kkus
to > confirm that the request is being issued only once. Once you've ruled that > out, examine the call stack to narrow down the issue. > > Sanjiv > > On 12/22/06, kkus <[EMAIL PROTECTED]> wrote: >> >> >> When breakpoint was hit, I checked request field

Re: [appfuse-user] tough question: doGet request fired twice in displaytag

2006-12-22 Thread kkus
irm that the request is being issued only once. Once you've ruled that > out, examine the call stack to narrow down the issue. > > Sanjiv > > On 12/22/06, kkus <[EMAIL PROTECTED]> wrote: >> >> >> When breakpoint was hit, I checked request field and both h

Re: [appfuse-user] tough question: doGet request fired twice in displaytag

2006-12-22 Thread kkus
arrow down the issue. > > Sanjiv > > On 12/22/06, kkus <[EMAIL PROTECTED]> wrote: >> >> >> When breakpoint was hit, I checked request field and both have the same >> session id and seems identical. What specific object or variable do you >> want &g

Re: [appfuse-user] tough question: doGet request fired twice in displaytag

2006-12-22 Thread kkus
When breakpoint was hit, I checked request field and both have the same session id and seems identical. What specific object or variable do you want me to check? Sanjiv Jivan wrote: > > Examine the call stack in your debugger when the breakpoints are hit. > > On 12/22/06,

[appfuse-user] tough question: doGet request fired twice in displaytag

2006-12-22 Thread kkus
In 1.9.4 Spring MVC, I put a breakpoint at doGet() of FrameworkServlet.java. Then in Administration - View Users page I clicked a link for a user then there are two threads stopping at the same breakpoint. It seems only happen in displaytag or only for Get request. How can I debug the root cause f

[appfuse-user] tab issue in main page

2006-12-21 Thread kkus
In 1.9.4 Spring MVC I modified message as below, mainMenu.message=Congratulations, you have logged in successfully! Now that you've logged in, you have the following options:\r\r \ \tTest1\r \ \tTest2 But in main page it sill me"... have the following options: Test1 Test2", which means tab isn'

[appfuse-user] how to keep format in velocity file

2006-12-13 Thread kkus
In .vm file, I am trying keep its format by using html as below and send it to my yahoo and gmail accounts. name quantity #foreach ($orderItem in $o

[appfuse-user] a simple css question

2006-12-07 Thread kkus
In forms.css I found following definition, form li div { display: inline-block; } form[id] li div { display: inline; } Can anyone tell me the usage of [id] here? Does it reference to a class type definition? Thanks! -- View this message in context: http://www.nabble.com/a-simple-css-q

Re: [appfuse-user] How to set AppFsue as default context in Tomcat?

2006-12-07 Thread kkus
gt; > If you set the path to "/" or "", it should show up as the default > context. > > Matt > > On 12/7/06, kkus <[EMAIL PROTECTED]> wrote: >> >> >> I am using Tomcat 5.5.20 and 1.94 Spring MVC of appfuse in XP. I need set >&g

[appfuse-user] How to set AppFsue as default context in Tomcat?

2006-12-07 Thread kkus
I am using Tomcat 5.5.20 and 1.94 Spring MVC of appfuse in XP. I need set appfuse as default context so I will only use url localhost:8080 instead of localhost:8080/appfuse. The way I found from tomcat community is to set a in of server.xml. But this led to appfuse loaded twice when it started.

[appfuse-user] password required when emailing log thru SMTP?

2006-12-05 Thread kkus
When I use sbc yahoo's SMTP I need provide authentication to connect to their email server. When I take a look at log4j.properties, I am confused since I can't see where I can provide password when I need send log out to my account. Do I need password in this case and where to put it? Thanks! # C

Re: [appfuse-user] IE7 overlap issue

2006-12-05 Thread kkus
-align: left; vertical-align: bottom; } kkus wrote: > > This didn't happen in my IE7. Login page is controled by layout-1col.css. > Once you login in, layout-navtop-subright.css will play a role instead of > layout-1col.css. I will suggest changing tags' defiintion in you

Re: [appfuse-user] IE7 overlap issue

2006-12-04 Thread kkus
another element as well? I just don't have an idea as to > where. > > > kkus wrote: >> >> This one is better than my previous posting which cause menu disappear in >> FireFox 2.0. This one works in both FF and IE6/7. >> >> div#ma

Re: [appfuse-user] IE7 overlap issue

2006-12-01 Thread kkus
; width: 100%; text-align: left; } Matt Raible-3 wrote: > > I believe it's caused by the 1-column CSS stylesheet included on the login > page. > > Matt > > On 12/1/06, kkus <[EMAIL PROTECTED]> wrote: >> >> This overlap only happens

Re: [appfuse-user] IE7 overlap issue

2006-12-01 Thread kkus
n CSS stylesheet included on the login > page. > > Matt > > On 12/1/06, kkus <[EMAIL PROTECTED]> wrote: >> >> This overlap only happens in first load of login.jsp(open browser for >> localhost:8080/appFuse). After I login and logout there is no overlap in >&g

Re: [appfuse-user] locking account afer several tries of login

2006-12-01 Thread kkus
Done at http://issues.appfuse.org/browse/APF-540 Matt Raible-3 wrote: > > This sounds like a bug. Can you please enter it in JIRA? > > Thanks, > > Matt > > On 12/1/06, kkus <[EMAIL PROTECTED]> wrote: >> >> Thanks, Matt. I still found a tiny i18n bu

Re: [appfuse-user] IE7 overlap issue

2006-12-01 Thread kkus
where to cause this problem. Any idea or help? Navigation kkus wrote: > > Has anyone tried IE7 with AppFuse 1.9.4(Spring+Hibernate)? I found some > overlaps between me

Re: [appfuse-user] locking account afer several tries of login

2006-12-01 Thread kkus
Your claim is correct. In a distribution env. it is better to put attempts in DB instead of HashMap. With regard to user cache, I guess at that point user cache doesn't work since user hasn't got any credential from Acegi. DNewfield wrote: > > I've not yet looked into the caching mechanisms use

Re: [appfuse-user] locking account afer several tries of login

2006-12-01 Thread kkus
essage is generally better from a security > standpoint. > > Matt > > On 11/30/06, kkus <[EMAIL PROTECTED]> wrote: >> >> Now I am implementing account lock feature. I can find message generated >> from >> Acegi as below after I failed to

Re: [appfuse-user] locking account afer several tries of login

2006-12-01 Thread kkus
You are right, I will go with a DB field instead of HashMap solution. Thanks! DNewfield wrote: > > "kkus" <[EMAIL PROTECTED]> wrote: >> In that listner, what is general >> problem if I provide a HashMap to >> store username and login count >> w

Re: [appfuse-user] locking account afer several tries of login

2006-11-30 Thread kkus
; > I don't see a problem with this solution if it works. That's the most > important thing after all. ;-) > > Matt > > On 11/30/06, kkus <[EMAIL PROTECTED]> wrote: >> >> In that listner, what is general problem if I provide a HashMap to store >>

Re: [appfuse-user] locking account afer several tries of login

2006-11-30 Thread kkus
x27;t know the configuration settings. > > Matt > > On 11/30/06, kkus <[EMAIL PROTECTED]> wrote: >> >> I went to acegi forum about this issue and found it seems we have to >> create a >> field in db to store attempted tries of failing login - mainly since at &g

[appfuse-user] locking account afer several tries of login

2006-11-30 Thread kkus
I went to acegi forum about this issue and found it seems we have to create a field in db to store attempted tries of failing login - mainly since at that point we don't have any session yet. I am wondering if there is another way to keep record of failing login. Sample code which I have done is

Re: [appfuse-user] remember me question

2006-11-30 Thread kkus
d. I also tried it on Windows XP (via Parallels) and it worked > on Firefox 2.0 and IE 7 and failed on IE 6, 5.5, 5.01, 4.0.1 and 3.0 > (http://tredosoft.com/Multiple_IE). > > Seems to be an issue with IE 6 on Windows. Can anyone else reproduce > this issue? > > Matt > >

Re: [appfuse-user] remember me question

2006-11-28 Thread kkus
> test it on OS X and Windows XP. > > Matt > > On 11/28/06, kkus <[EMAIL PROTECTED]> wrote: >> >> Demo doesn't work in FireFox and IE. I noticed there are 2 cookies, >> >> 1. >> >> username >> tomcat >> demo.ap

Re: [appfuse-user] remember me question

2006-11-28 Thread kkus
e.org/appfuse 1536 1464501760 30190940 3177667648 29823812 * How does code decide which cookie to pickup? Why did code generate cookie twice? Matt Raible-3 wrote: > > Does it work on the demo site? > > http://demo.appfuse.org/demos.html > > Matt > > On 11/28/06, k

Re: [appfuse-user] remember me question

2006-11-28 Thread kkus
has default setting, so cookie is enabled. Matt Raible-3 wrote: > > On 11/28/06, kkus <[EMAIL PROTECTED]> wrote: >> >> 1. How can I test remember me feature in 1.9.4 of spring mvc? > > When prompted to login, enter your username and password, and check > the

[appfuse-user] remember me question

2006-11-28 Thread kkus
1. How can I test remember me feature in 1.9.4 of spring mvc? 2. Since browser can provide remembering username and password feature, why do we still need this feature? Thanks! -- View this message in context: http://www.nabble.com/remember-me-question-tf2721035s2369.html#a7587954 Sent from the

[appfuse-user] Aspect for sending email

2006-11-28 Thread kkus
In 1.94 Spring MVC there are a few controllers which need send out email message, like SignupController, UserFormController. I am wondering what I need to build separate aspect(like what/where to put pointcut, advise, advisor etc) for sending email. How can I modify them in action-servlet.xml? Th