Re: [appfuse-user] Display Set information in the Form page

2007-02-08 Thread Simon Wu
On 2/8/07, Matt Raible <[EMAIL PROTECTED]> wrote: You should be able to nest in a displaytag column. However, I don't know if I'd advise doing this. If you're using a request-based framework, you're not going to want a nested/editable table in a form that folks can sort and page through. You'

Re: [appfuse-user] Treeview Display Information

2007-02-08 Thread Simon Wu
On 2/8/07, Scott Purcell <[EMAIL PROTECTED]> wrote: Upon some preliminary investigation, I found some "treeview dhtml" source code here: http://rollerjm.free.fr/pro/Treeview/Treeview.html#1, but upon other searches, I came across a Struts tag called Treeview also. I just need a simple solutio

Re: [appfuse-user] Display Set information in the Form page

2007-02-08 Thread Simon Wu
On 2/7/07, Matt Raible <[EMAIL PROTECTED]> wrote: If you're using Struts 1.x, you can't use Sets AFAIK - only Lists. I asked this on the Struts mailing list a year or two ago and it was confirmed. Unfortunately, I can't find the e-mail in the archives. I used webwork-appfuse-1.9.3. And now I

Re: [appfuse-user] ApplicationResources_zh.properties vs. ApplicationResources_zh_CN.properties

2007-02-07 Thread Simon Wu
On 2/8/07, Matt Raible <[EMAIL PROTECTED]> wrote: On 2/7/07, Simon Wu <[EMAIL PROTECTED]> wrote: > > > > For example,we can find * errors.maxlength* in zh properties file but not > in zh_CN. > So delete the zh properties file would cause error if we want to

Re: [appfuse-user] ApplicationResources_zh.properties vs. ApplicationResources_zh_CN.properties

2007-02-07 Thread Simon Wu
>Are these valid differences - as in there's different meanings that >are accurate? If so, we might want to make sure those are in 2.0. For example,we can find *errors.maxlength* in zh properties file but not in zh_CN. So delete the zh properties file would cause error if we want to use th

Re: [appfuse-user] ApplicationResources_zh.properties vs. ApplicationResources_zh_CN.properties

2007-02-07 Thread Simon Wu
Hi Matt: I found there were some differents between these two files in appfuse-1.9.3. But why create two resource bundles for 'zh' in appfuse-1.9.3? And now I suppose one bundle, zh version, would be fine for all Chinese users. Thanks. Simon. On 2/8/07, Matt Raible <[EMAIL PROTECTED]> wrot

Re: [appfuse-user] confusion of Calendar.js

2007-02-05 Thread Simon Wu
ght be some issues with the internal JS file and its positioning logic. I've seen this in the past - calendar authors seem to skip out on verifying everything works with an XHTML doctype. For example: https://issues.apache.org/jira/browse/TAPESTRY-222 Matt On 2/5/07, Simon Wu <[EMAIL PROT

Re: [appfuse-user] confusion of Calendar.js

2007-02-05 Thread Simon Wu
e icon looks like one from Struts 2's datepicker component. What version of AppFuse are you using? Does a calendar.css exist as well? Matt On 2/5/07, Simon Wu <[EMAIL PROTECTED]> wrote: > Hi all, > I found Appfuse use Calendar.js to deal with the field of Date formate. >

Re: [appfuse-user] Extend GenericManager and GenericManagerImpl

2007-01-29 Thread Simon Wu
n making it protected though? I'd like to give as many options to users as possible, without creating complexity or causing confusion. Matt On 1/29/07, Simon Wu <[EMAIL PROTECTED]> wrote: > I prefer to keep genericDao private and init this Dao just as what > Climbingrose did(Sometim

Re: [appfuse-user] Extend GenericManager and GenericManagerImpl

2007-01-29 Thread Simon Wu
I prefer to keep genericDao private and init this Dao just as what Climbingrose did(Sometime I do init in Setter method.). So I do not need to cast genericDao to categoryDao. I do not like cast!! :) Thanks. Simon On 1/29/07, Matt Raible <[EMAIL PROTECTED]> wrote: I've made this change in SV

Re: [appfuse-user] Turning Off hbm2ddl

2007-01-28 Thread Simon Wu
I think we should turn hbm2ddl on by default since there should be no tables in database when we start a new project. If someone wants to integrate Appfuse with his database, he could turn it off before starting. Just my personal perspective. Thanks. Simon On 1/29/07, Matt Raible <[EMAIL PROT

Re: [appfuse-user] question about the struts menu config

2007-01-22 Thread Simon Wu
Thanks Matt! I got it and I am sorry of my carelessness. simon On 1/23/07, Matt Raible <[EMAIL PROTECTED]> wrote: It's already there in web/pages/menu.jsp. Matt On 1/22/07, Simon Wu <[EMAIL PROTECTED]> wrote: > As this article says we should add permissions="rolesA

[appfuse-user] question about the struts menu config

2007-01-22 Thread Simon Wu
As this article says we should add permissions="rolesAdapter" to the tag if we want to use the security model of struts menu. Then, for example, we could use the roles attribute. But I did not find permissions attribute added in the struts-men

[appfuse-user] mistake in .classpath setting of appfuse-webwork-1.9.3

2007-01-22 Thread Simon Wu
at line 41 of .classpath file, the path for webwork is: But actually the webwork-2.2.2.jar is in the lib directory. So it will cause error when building the project in eclipse.

[appfuse-user] Display Set information in the Form page

2007-01-16 Thread Simon Wu
hanks! Simon Wu

Re: [appfuse-user] LazyInitializationException with appfuse 1.9.4

2007-01-15 Thread simon wu
Hi wnqq, It seems that I encountered the same exception when I build Appfuse 1.9.3on Oracle.But I forgot how I fixed it.:-( With regard to your exception, I downloaded Appfuse 1.9.4 and looked at several basic web test classes. But I did not get some idea about the issue. Hope me lucky later.:

Re: [appfuse-user] LazyInitializationException with appfuse 1.9.4

2007-01-15 Thread simon wu
Hi wnqq, [junit] org.hibernate.LazyInitializati onException: could not initialize proxy - the owning Session was closed I think the log just showed what's the problem. try to find why session was closed before using some objects. On 1/16/07, wnqq <[EMAIL PROTECTED]> wrote:

Re: [appfuse-user] refreshOnShow

2007-01-12 Thread simon wu
Thanks for your reply. :) On 1/13/07, Matt Raible <[EMAIL PROTECTED]> wrote: http://getfirebug.com - yes, it's absolutely free and awesome. http://appfuse.org/display/APF/Web Matt

Re: [appfuse-user] refreshOnShow

2007-01-12 Thread simon wu
Hi Matt, What's the Firegubg you mentioned ? Is it a freeware to debug JavaScript? simon.wu On 1/13/07, Matt Raible <[EMAIL PROTECTED]> wrote: Can you install Firegubg and see what the JS errors are? I've had issues with Dojo and Scriptaculous - sometimes they conflict and cause issues. I

Re: [appfuse-user] Could not determine type for: org.springframework.orm.hibernate.support.ClobStringType

2007-01-11 Thread simon wu
Hi chenztw, Maybe there were something incorrect setting in your *.hbm.xml files. For instance, the 'java-type' properties. Thanks. simon.wu On 1/11/07, ChenRanHow <[EMAIL PROTECTED]> wrote: Dear All I try to use Clob to store string over 4000 in oracle when db-prepare, I got the