[appfuse-user] database table names

2007-03-14 Thread tibi
hi matt and others, i use appfuse on an existing database structure. appfuse uses 3 tables. i would like to see that the naming off these tables would be kind of unique (like appfuse_rol, appfuse_user_rol) just an idea... ciao, tibi

Re: [appfuse-user] database table names

2007-03-14 Thread tibi
would have namespaces you would have used those (like packages) tibi Matt Raible wrote: Are you using Hibernate? If so, there's a NamingStrategy feature you can use to add your own prefixes. I'm considering renaming "app_user" to "user" to be more standard. Since

Re: [appfuse-user] database table names

2007-03-14 Thread tibi
>IMHO, most companies don't want traces of AppFuse in their if that is the case you are right. i did not come acros those company's you could also start with app_* app for application. the user and the roles are for the appliaction anywhy. but either why its no big deal. greating

Re: [appfuse-user] database table names

2007-03-14 Thread tibi
great more votes for app_* ;-) there are only 3 tables i would change it to app_user app_role app_user_role and all problems are gone. no reserved words and only very rarely problems with existing db's its clear and simpel tibi Nathan Anderson wrote: This all seems like familiar g

Re: [appfuse-user] database table names

2007-03-14 Thread tibi
a to start using roller_ only they didn't do it right. tibi ps added English spell checking for you guy's ;) should be a bit better now. Matt Raible wrote: Yes, but are you really going to add the app_ prefix to all the tables in your application while you're developing it? Th

Re: [appfuse-user] AppFuse+QuickStart page - suggested updates for version 2.0

2007-03-15 Thread tibi
guides looks good. i will try one in a couple off days (hopefully i have the time) good work matt, tibi Matt Raible wrote: Sorry it took me so long. I've updated the QuickStart Guide to include the default username/password and a link to the database profiles blog entry I made.

Re: [appfuse-user] database table names

2007-03-15 Thread tibi
ok now i do have the problem... i had a role table matt you said something about using hibernate to change the table name for tha appfuse tables? tibi tibi wrote: nope only app_ for the tables needed so only the 3 which come with appfuse. i have a db with 41 tables with a lot of data. I&#

Re: [appfuse-user] database table names

2007-03-16 Thread tibi
to and integration tests work again with app_role as table name. thanks, off course i would be even more happy if this all was not needed (and i did not need to fork) and am still hoping that in the next release the tables ware all named app_* :-) ciao, tibi Matt Raible wrote: If you want

Re: [appfuse-user] database table names

2007-03-16 Thread tibi
ok than i will take my loss. tibi Nathan Anderson wrote: Glad to hear you got it working as you wanted. After thinking about this thread a bit I have come to the conclusion that Bryan and Matt are probably right. In most cases it is best as is, but there are exceptions [like yours] where

Re: [appfuse-user] database table names

2007-03-19 Thread tibi
i can run mvn jetty:run anyone an idea?? thanks, tibi tibi wrote: ok than i will take my loss. tibi Nathan Anderson wrote: Glad to hear you got it working as you wanted. After thinking about this thread a bit I have come to the conclusion that Bryan and Matt are probably right. In mos

Re: [appfuse-user] database table names

2007-03-19 Thread tibi
removing the coberture plugin works... but now i miss my coberture... :( i will dive in tibi Matt Raible wrote: That's a strange error, but I recall seeing similar issues with the cobertura-maven-plugin. Can you try removing it from your pom.xml? If that doesn't work, try

Re: [appfuse-user] database table names

2007-03-19 Thread tibi
" when i change it back to was all is fine. what should warpath do? tibi Michael Horwitz wrote: I'm not sure if this will make too much of a difference, but the exclude should be on the dependency of type warpath as opposed to the dependency of type war. Mike. On 3/19/07, *tib

Re: [appfuse-user] database table names

2007-03-19 Thread tibi
ok so warpath does not work clear. tibi Matt Raible wrote: You need webapp/WEB-INF/classes because the Jetty Plugin currently isn't aware of warpath dependencies. http://issues.appfuse.org/browse/APF-686 Matt On 3/19/07, tibi <[EMAIL PROTECTED]> wrote: that warpath is kind

Re: [appfuse-user] database table names

2007-03-19 Thread tibi
rm -r src/main/webapp/WEB-INF/lib rm -r src/main/webapp/WEB-INF/classes/struts.xml (if you're using Struts) Then mvn jetty:run should work. Matt On 3/19/07, tibi <[EMAIL PROTECTED]> wrote: ok so warpath does not work clear. tibi Matt Raible wrote: > You need webapp/WEB-INF/clas

Re: [appfuse-user] database table names

2007-03-19 Thread tibi
ok i removed the core classes from my project removed the exclusions part and now i still can't make a cobertura report. so i think it doesn't have anything to doe with me changing the table names by including the core classes in my project. so i will start a new thread... tibi

Re: [appfuse-user] database table names

2007-03-19 Thread tibi
oeps that was a bit too fast. i did an extra mvn clean and now i can get cobertura report. so it seems to be influenced by the inclusion of the core classes in my project... tibi tibi wrote: ok i removed the core classes from my project removed the exclusions part and now i still can&#

Re: [appfuse-user] database table names

2007-03-19 Thread tibi
you are right i have 2... now i understand what you mean and i will try to set the exclusions on the warpath bit. thanks and i'm sorry for missing that... tibi Michael Horwitz wrote: Just to be absolutely clear, you should have two dependencies in the pom.xml file on org.appfuse:ap

Re: [appfuse-user] database table names

2007-03-19 Thread tibi
: native2ascii-8859_1}] [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. [INFO] [hibernate3:hbm2ddl {execution: default}] [INFO] Configuration XML file loaded: /home/tibi/eclipseworkspace/achievoForTryllian/src/main/resources/hibernate.cfg.xml [INFO

Re: [appfuse-user] database table names and cobertura

2007-03-19 Thread tibi
the target generated classes cobetura i can see that the core classes get compiled. i don't really get it. is it that cobertura is not able to find the core classes or will it find to many? anyone any idea? thanks, tibi tibi wrote: michael i tried it but it did not work. so my concl

Re: [appfuse-user] database table names and cobertura

2007-03-19 Thread tibi
yes i put the core classes (sources) in my project (so i can change them ;) ) i already have coberture version 2.0 thanks, tibi Matt Raible wrote: When you exclude the core classes, are you putting the source for them into your project? If so, it might be because cobertura has issues with

[appfuse-user] dates compare

2007-03-21 Thread tibi
hi list appfues solves many problems is there also a sane and simple solution to comparing dates in mysql?? or do i realy need to use dataformatter to turn it into an -mm-dd string?? thanks, tibi - To unsubscribe, e

[appfuse-user] corrupt db vague error message

2007-03-27 Thread tibi
Stack(StrutsBodyTagSupport.java:54) to me not so clear or is my log level wrong. ciao, tibi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [appfuse-user] corrupt db vague error message

2007-03-27 Thread tibi
tried it now it get: Yikes! but no stack trace and no stack trace in my console... tibi Matt Raible wrote: Try removing the following line from error.jsp to see if that helps: <%@ include file="/common/messages.jsp" %> It should be hittin

Re: [appfuse-user] corrupt db vague error message

2007-03-27 Thread tibi
US [EMAIL PROTECTED] 80210 CO http://raibledesigns.com 1 1 0 0 0 tibi Matt Raible wrote: What about if you remove the include from your decorators/default.jsp? Are you using 2.0-M4? On 3/27/07, *tibi* < [EMAIL PROTEC

[appfuse-user] dynamic roles

2007-04-02 Thread tibi
when using struts 2 with appfuse 2 is it posible to have dynamic roles. that an administrator can dynamicaly give access to pages or function to a role? or is it always hard coded in the xml files?? thanks tibi - To

Re: [appfuse-user] dynamic roles

2007-04-02 Thread tibi
cool thanks for the info!! (and fast a real plus for appfuse) ciao tibi Matt Raible wrote: Acegi's default implementation uses XML, but you could probably write your own FilterSecurityInterceptor that reads the configuration from a database. http://63.246.29.165/multiproject/acegi-sec

[appfuse-user] error integeration test

2007-04-02 Thread tibi
-test than i get this error: Error while expanding /tmp/cargo/installs/apache-tomcat-5.5.23.zip nested: java.io.EOFException: Unexpected end of ZLIB input stream any idea? thanks tibi - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [appfuse-user] error integeration test

2007-04-02 Thread tibi
zip seems to be corrupt... tibi tibi wrote: i started a new project did: mvn archetype:create -DarchetypeGroupId=org.appfuse -DarchetypeArtifactId=appfuse-basic-struts -DremoteRepositories=http://static.appfuse.org/repository -DarchetypeVersion=2.0-m4 -DgroupId=nl.foo.bla -DartifactId=bla

Re: [appfuse-user] error integeration test

2007-04-02 Thread tibi
strange seems to have been a broken download. deleted the zip file and after a new download all works great! tibi tibi wrote: zip seems to be corrupt... tibi tibi wrote: i started a new project did: mvn archetype:create -DarchetypeGroupId=org.appfuse -DarchetypeArtifactId=appfuse-basic

[appfuse-user] javadoc stylesheet

2007-04-04 Thread tibi
i'm sory for asking this supposedly simple question: how can i generate javadoc with my onw stylesheet. by default the maven style is used. i have an mystyle.css in the site dir thanks tibi - To unsubscribe, e-mail: [

Re: [appfuse-user] javadoc stylesheet

2007-04-04 Thread tibi
found it: put a site.css into: src/stie/resources/css/stie.css this will be loaded as lasst css so you (i) are able to overwrite the default css tibi tibi wrote: i'm sory for asking this supposedly simple question: how can i generate javadoc with my onw stylesheet. by default the

Re: [appfuse-user] javadoc stylesheet

2007-04-04 Thread tibi
i just have some defferent colors... but its handy to put in there for other to find. you can bvasicaly overwrite the default css's tibi Matt Raible wrote: I'm curious - what does your site.css look like? Is it something that others can use? Matt On 4/4/07, tibi <[EMAIL PROT

Re: [appfuse-user] javadoc stylesheet

2007-04-05 Thread tibi
matt if you are interested i could make a small css file with appfuse look and feel for the site. nice to look at and easy for others to use. maby i could put your bus in the lower left corner... let me know tibi tibi wrote: i just have some defferent colors... but its handy to put in there

Re: [appfuse-user] javadoc stylesheet

2007-04-05 Thread tibi
https part so there is no http / https mixup) tibi tibi wrote: i just have some defferent colors... but its handy to put in there for other to find. you can bvasicaly overwrite the default css's tibi Matt Raible wrote: I'm curious - what does your site.css look like? Is it some

[appfuse-user] database settings multi user

2007-04-05 Thread tibi
hi i have a project with two users, continuum and the life site. all four need different database settings. these settings are now in the pom file and i need to change them for each. is there a better way?? thanks tibi - To

Re: [appfuse-user] database settings multi user

2007-04-06 Thread tibi
mmm is everyone working allone?? tibi tibi wrote: hi i have a project with two users, continuum and the life site. all four need different database settings. these settings are now in the pom file and i need to change them for each. is there a better way?? thanks tibi

Re: [appfuse-user] database table names

2007-04-06 Thread tibi
did you look at this guide?? http://appfuse.org/display/APF/AppFuse+Core+Classes tibi nmall wrote: Hi, What if we want to change the column names in the table or add a few new column names. I know we would need to change the Core classes that are based on these definitions. Is it possible

Re: [appfuse-user] database table names

2007-04-06 Thread tibi
ok sory i only read your post i changed the database table names without any problem as long as you add things i expect everything will koop working. luckaly it there are tests ;) tibi nmall wrote: Hi, What if we want to change the column names in the table or add a few new column

[appfuse-user] nullpointer struts tag utils

2007-04-06 Thread tibi
hi i get this nullpointer. probably its a problem in struts2. the problem is that my user has no role attached ( a bug i'm working on). but the displaying of the error is not possible because this nullpointer happens. as matt ones told me this can be avoided if by removing: <%@ include file="

[appfuse-user] hibernate config overwriting entity

2007-04-06 Thread tibi
0.dtd";> hibernate takes the file (it complains when it is not correct) but the app_role table is not used. instead the role table is used. i will dive in deeper later but maybe someone has a brilliant idea? ;-) ciao. tibi *why? because i want a different table name. i can add the class t

Re: [appfuse-user] hibernate config overwriting entity

2007-04-07 Thread tibi
roles0_.user_id=? you see i use the app_role table! annnddd my cobertura report works again shit 13% coverage.,... there is work todo ;) have fun tibi tibi wrote: i'm looking into overwriting the entity settings of the role object* i have changed the hibernate.cfg.x

Re: [appfuse-user] database table names

2007-04-09 Thread tibi
arege). if you only want to change the database names this could be a easier solution: search this list for 'hibernate config overwriting entity' tibi nmall wrote: Hi To use your own database names and build the org.appfuse.model in your directory, do we need to remove the in th

Re: [appfuse-user] database table names

2007-04-09 Thread tibi
1) it will work (i had it working ;) ) 2) what happens if you run mvn clean jetty:run-war 3) can you check if the appfuse core classes (user role etc) are in your war file. tibi nmall wrote: Hi I want to change the table names and the column names slightly and add a couple of columns

Re: [appfuse-user] database settings multi user

2007-04-10 Thread tibi
://localhost/test?createDatabaseIfNotExist=true&useUnicode=true&characterEncoding=utf-8 etc... works fine. it also should be possible with settings.xml in ~/.m2 but i did not got it working. tibi Matt Raible wrote: You should be able to create 4 different sessionFactories in src/main/r

[appfuse-user] Version ${pom.version}

2007-04-11 Thread tibi
(en) the _en and _nl. i only need dutch and english. what could have broken it? thanks, tibi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [appfuse-user] Version ${pom.version}

2007-04-11 Thread tibi
user specific database settings. i will investigate. thanks mike and others, tibi Michael Horwitz wrote: I notice you have excluded ApplicationResources_nl.properties in the resources section in your pom. This will prevent the file being filtered, and the properties will not be replaced

Re: [appfuse-user] Version ${pom.version}

2007-04-11 Thread tibi
nope it is not the filter part... i added it and the ${pom.version} still gets resolved... i have no clue why it did not for a day. anyway it works now ;) tibi tibi wrote: correct but thats default and no problem because the properties are in ApplicatioNResources.properties. some how it

Re: [appfuse-user] database settings multi user

2007-04-11 Thread tibi
. the database will be created by hybernate using the url from the properties file added by the filter option. but dbunit will add the test data using the url from the pom.xml file!! is there a work around? tibi tibi wrote: what i finaly did is the following: added this into my po

Re: [appfuse-user] database settings multi user

2007-04-11 Thread tibi
all the time?? anyway you are right that dbunit is readin the pom.xml instead of the user.properties. either a bug in dbunit or an order issue. i will take a look at the profiles.xml and the settings.xml maybe i will get my head around it... tibi Matt Raible wrote: AFAIK, you have a

Re: [appfuse-user] database settings multi user

2007-04-11 Thread tibi
ok could you show me your settigns.xml with overwritten jdbs.url. i did not got it working... (than i will try the porject.xml ;) ) tibi Matt Raible wrote: I use ~/.m2/settings.xml to override properties in pom.xml. This works, and works well, except when you get multiple AppFuse

Re: [appfuse-user] Fast development cyckle

2007-04-13 Thread tibi
mvn jetty:run will do that after you have done: mvn war:inplace rm -r src/main/webapp/WEB-INF/lib rm src/main/webapp/WEB-INF/classes/struts.xml Den Orlov wrote: Is there any ways to have fast development cycle in appfuse aka: - start container (mvn jetty:run-war) - change sources or html or

[appfuse-user] hibernate immutable

2007-04-13 Thread tibi
you probably are going to send me to the hybernate list but i was wonderign if anyone did the following: i need te keep track of the changes made to my modle. so i don't want to update but do a new insert. thanks, tibi ---

Re: [appfuse-user] hibernate immutable

2007-04-14 Thread tibi
safe the obj1 but for now it: will be 20 degrees, the water is warm, the kids want to play and the beach is a 2 minute walk... on the other hand i have this interesting link. ;) mmmm tibi Nathan Anderson wrote: Michael Horwitz wrote: There are several ways to approach this: 1) K

Re: [appfuse-user] How I got jetty:run to work.

2007-04-15 Thread tibi
mvn jetty:run-war [just to check stuff is working] mvn war:inplace rm -r src/main/webapp/WEB-INF/lib rm src/main/webapp/WEB-INF/classes/struts.xml mvn install eclipse:eclipse [eclipse:file/import] mvn jetty:run tibi upstreamnet wrote: Hello, I finally got my appfuse project (jsf basic arch

Re: [appfuse-user] How I got jetty:run to work.

2007-04-16 Thread tibi
and one ting to notice is that non java files don't get compiled and will not be added to WEB-INF/classes. like propertie files and the language files. take care of that! tibi upstreamnet wrote: One final observation here: in order to have your java code changes picked up and load

Re: [appfuse-user] How I got jetty:run to work.

2007-04-16 Thread tibi
deleting is correct but you need to rember that ;) tibi Matt Raible wrote: On 4/16/07, tibi <[EMAIL PROTECTED]> wrote: and one ting to notice is that non java files don't get compiled and will not be added to WEB-INF/classes. like propertie files and the language files. This sho

[appfuse-user] PMD 1.5 and 1.4

2007-04-16 Thread tibi
at net.sourceforge.pmd.ast.JavaParser.checkForBadJDK15ForLoopSyntaxArgumentsUsage(JavaParser.java:36) anyone an idea?? thanks, tibi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [appfuse-user] PMD 1.5 and 1.4

2007-04-16 Thread tibi
i seem to need to set the targetjdk to 1.5? but where whould i do such a thing? with ant there seems to be a propertie targetjdk but with maven not. mm email comming in... tibi is googleing and found it: maven-pmd-plugin 1.5

Re: [appfuse-user] PMD 1.5 and 1.4

2007-04-16 Thread tibi
http://issues.appfuse.org/browse/APF-730 tibi wrote: i seem to need to set the targetjdk to 1.5? but where whould i do such a thing? with ant there seems to be a propertie targetjdk but with maven not. mm email comming in... tibi is googleing and found it: maven

Re: [appfuse-user] possible to get source attachments for appfuse-web-common-2.0-m4 and various others?

2007-04-16 Thread tibi
downloaded with firefox on linux with downthemall unzipt it with ark.. all seems fine ;) tibi Matt Raible wrote: Using Windows XP and Firefox, I was able to download this file and open it with 7-zip without any problems. What program are you using and what error are you seeing? Matt On 4

[appfuse-user] display:table and editable/sorteble grids

2007-04-17 Thread tibi
i'm looking into: http://www.scbr.com/docs/products/dhtmlxGrid/index.shtml to make the grid editable and easily sortable (without refresh). anyone with experience in this with tips ideas? thanks, tibi - To unsubscri

[appfuse-user] ajax tutorial for appfuse 2

2007-04-18 Thread tibi
is there an ajax tutorial for appfuse 2. i only could find this one for appfuse 1.9 http://www.lucianofiandesio.com/javatales/ajxfuse.html or should i refer to the dojo toolkit site? (i'm using struts2) thanks tibi ---

[appfuse-user] FlushMode.NEVER/MANUAL

2007-04-18 Thread tibi
and solved it?? thanks tibi - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [appfuse-user] about hibernate manytomany update question

2007-04-18 Thread tibi
jep i have the same error. don't know where it comes from. tibi aninggo wrote: I don't understand why notes this row i try this way,it's Work normally; session.setFlushMode(FlushMode.AUTO); session.save(user); session.flush(); the OpenSessio

Re: [appfuse-user] about hibernate manytomany update question

2007-04-18 Thread tibi
where do you set the session flush mode. i don't have a session in my setup. i work with doa's injected by spring. tibi tibi wrote: jep i have the same error. don't know where it comes from. tibi aninggo wrote: I don't understand why notes this row i try this wa

Re: [appfuse-user] FlushMode.NEVER/MANUAL

2007-04-18 Thread tibi
can't get my head around this. why this happens in my current project and not in others i don't know. i did not use something like: @Transactional(readOnly = false) in my others projects where i could do an update fine. any smart ass out there?? tibi tibi wrote: anyone got this er

Re: [appfuse-user] about hibernate manytomany update question

2007-04-18 Thread tibi
i continu in this thread: "FlushMode.NEVER/MANUAL" tibi tibi wrote: where do you set the session flush mode. i don't have a session in my setup. i work with doa's injected by spring. tibi tibi wrote: jep i have the same error. don't know where it comes from.

Re: [appfuse-user] FlushMode.NEVER/MANUAL

2007-04-18 Thread tibi
thats it... my class was not named manager. i just followed my onw demo and than it worked. the diff the naming. i did know about this default behavior. thanks mike saved my day ;) tibi Michael Horwitz wrote: By default AppFuse wraps all methods on any bean whose class name ends in Manager

Re: [appfuse-user] ajax tutorial for appfuse 2

2007-04-18 Thread tibi
or should i use GWT? http://cwiki.apache.org/S2PLUGINS/gwt-plugin.html dojo seems very nice but its not clear to me if and how i can call struts actions. tibi tibi wrote: is there an ajax tutorial for appfuse 2. i only could find this one for appfuse 1.9 http://www.lucianofiandesio.com

Re: [appfuse-user] ajax tutorial for appfuse 2

2007-04-18 Thread tibi
thanks but just got dojo working...;) this will call my normal action method save tibi - djConfig = { isDebug: false }; dojo.require("dojo.event.*"); dojo.require("dojo.io.*"); dojo.require("dojo.

Re: [appfuse-user] ajax tutorial for appfuse 2

2007-04-18 Thread tibi
i will try if you update this: http://appfuse.org/display/APF/2007/01/08/2.0+Release+Schedule ;) tibi Matt Raible wrote: If someone wants to document tips and tricks for getting Dojo working with AppFuse, that'd be great. It's probably best to start by modifying the existing Aj

Re: [appfuse-user] ajax tutorial for appfuse 2

2007-04-18 Thread tibi
i wish i could send an hour or two (i will sit here idle and you will move twice as fast ?) is there an example how to edit the page... i have code and its interpreted tibi Matt Raible wrote: How about this: http://appfuse.org/display/APF/Event+Calendar I tentatively scheduled 2.0 M5 for

[appfuse-user] demo

2007-04-21 Thread tibi
just wanted to let you guy's know that i gave a small demo at my company (10 employee's) and it was successfully in that appfuse (struts, spring,hibernate) will be the default for web applications. tibi ps here my demo: (based on the helloworld and crud examples from the site):

[appfuse-user] i18n in action

2007-04-26 Thread tibi
hi, i can't find an example of how to use i18n from within my actions. in struts it used to something like this: errors.add(ActionErrors.GLOBAL_ERROR, new ActionError("key.order.no.item")); but in struts2 this will not work. anyone

Re: [appfuse-user] i18n in action

2007-04-26 Thread tibi
ahhh it must be the super.getText("") method ;) tibi tibi wrote: hi, i can't find an example of how to use i18n from within my actions. in struts it used to something like this: errors.add(ActionErrors.GLOBAL_ERROR, new ActionError("key.order.no.item")); but in s

Re: [appfuse-user] i18n in action

2007-04-26 Thread tibi
ok it works in actions but how can i use it in my models? should i pass my action into the moddel to use her getText method? tibi tibi wrote: ahhh it must be the super.getText("") method ;) tibi tibi wrote: hi, i can't find an example of how to use i18n from within my action

Re: [appfuse-user] i18n in action

2007-04-26 Thread tibi
i have an event with a getSimpleLocation in it. my object can have multiple location if there is 1 location return the location if there are multple return 'traveling' tibi Matt Raible wrote: How do you want to use i18n in your models? On 4/26/07, tibi <[EMAIL PROTECTED]> wro

Re: [appfuse-user] i18n in action

2007-04-26 Thread tibi
pseudo code: class Event list locations String getSimpleLocation(){ if(locations.size()==1){ return location.get(0).getCity(); } return 'traveling'; } someting like this? tibi Matt Raible wrote: I don't understand what you're trying to do - can you post code? On 4

Re: [appfuse-user] i18n in action

2007-04-26 Thread tibi
tibi Matt Raible wrote: I would do some checking in your view - i.e. , otherwise show city. Matt On 4/26/07, tibi <[EMAIL PROTECTED]> wrote: pseudo code: class Event list locations String getSimpleLocation(){ if(locations.size()==1){ return location.get(0).getCity(); } return 

Re: [appfuse-user] i18n in action

2007-04-26 Thread tibi
why does the BaseObject not have a getText method? tibi tibi wrote: mmm its business knowledge i like it to be in the model. and i like to simplify my jsp as much as possible. i could push my action into my model and use the getText method. a bit wierd but seems logical. there are more

Re: [appfuse-user] i18n in action

2007-04-26 Thread tibi
and the model can't be i18n? if i would put the i18n into the database that would be realy a lot of overhead. than i rather do iets the strange why ;) tibi Matt Raible wrote: On 4/26/07, tibi <[EMAIL PROTECTED]> wrote: why does the BaseObject not have a getText method? Becaus

Re: [appfuse-user] i18n in action

2007-04-26 Thread tibi
but i like java in model and tags in jsp ;) tibi tibi wrote: and the model can't be i18n? if i would put the i18n into the database that would be realy a lot of overhead. than i rather do iets the strange why ;) tibi Matt Raible wrote: On 4/26/07, tibi <[EMAIL PROTECTED]>

Re: [appfuse-user] i18n in action

2007-04-27 Thread tibi
ill make a myBaseObject with a getText method in it.. than it will be nice and equal to my action ;) tibi Matt Raible wrote: On 4/26/07, Jonathan Tse <[EMAIL PROTECTED]> wrote: I see your point. And I agree that Model can reach MessageSourceAccessor. Currently in Spring MVC, i18n is not support

Re: [appfuse-user] i18n in action

2007-04-27 Thread tibi
(RuntimeException e) { logger.info("Could not find the key: '" + key + "'"); return "??" + key + "??"; } } } tibi wrote: yes works great: ResourceBundle messages = ResourceBundle.getBundle(Constants.BU

Re: [appfuse-user] Problem in joining to appfuse IRC channel :(

2007-04-29 Thread tibi
why use the irc channel?? questions and answers don't get stored?? tibi Nathan Anderson wrote: It looks like you have an extra colon in that address, it should be: irc.freenode.net:6667 Trillian should be able to connect, but basically every IM client I have used for IRC hasn

Re: [appfuse-user] Appofuse on ubuntu

2007-04-30 Thread tibi
and has the file reading permission? (ls -l) tibi reddeagle9 wrote: Like a try appfuse guy, i said i would check out development on ubuntu. I am not a linux head and have most experience with windows etc. but just to open my eyes Have everything set up and created a default appfuse 1.9.4

Re: [appfuse-user] mvn jetty:run => OutOfMemoryError: PermGen space

2007-05-01 Thread tibi
ncMarkSweepGC -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled" ciao, tibi Rob van Oostrum wrote: This is the reference I've been using a lot lately: http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html -XX:+UseConcMarkSweepGC works well on hosts with fewer than 2 CPUs. If you're

Re: [appfuse-user] mvn jetty:run => OutOfMemoryError: PermGen space

2007-05-01 Thread tibi
and uh its on your own risk kill processes ;) tibi tibi wrote: ok still not a solution. and my jetty process will hang every 5 minutes. in the mean time i do this: perl kill-jetty.pl & mvn jetty:run & in my kill-jetty.pl i have: --- $_=`ps au

Re: [appfuse-user] i18n in action

2007-05-01 Thread tibi
you have a point there. i thought about it. if like the settings for date is business knowledge or view. at the end i like my jsp to be simple so i moved it into my model. tibi sarat.pediredla wrote: I can't see how i18n is a model/business layer technology? i18n purely relat

[appfuse-user] exlude jsp decorators

2007-05-01 Thread tibi
-return folders holds the jsp pages. when in my strtus xml i have: name="AJAX">/WEB-INF/pages/topnet/ajax-return/eventSpanAction.jsp when i use the first one the decorations will be excluded but when i have the second it will not.

Re: [appfuse-user] exlude jsp decorators

2007-05-01 Thread tibi
/eventSpanAction.jsp /ajax-return/eventSpanAction.jsp /eventSpanAction.jsp eventSpanAction.jsp */eventSpanAction.jsp **/eventSpanAction.jsp */**/eventSpanAction.jsp thanks, tibi tibi wrote: hi, exluding html pages is no problem met jsp page will not be

Re: [appfuse-user] exlude jsp decorators

2007-05-01 Thread tibi
my sitemesh in the web.xml: has neiter request nor forward sitemesh /* i will change it to this... and test again. sitemesh /* REQUEST FORWARD thanks later, tibi Matt Raible wrote: What does your filter-mapping look like for SiteMesh

Re: [appfuse-user] exlude jsp decorators

2007-05-01 Thread tibi
when i add the forward part it will not work for html anymore when i add the request part i still can't exclude the jsp's tibi tibi wrote: my sitemesh in the web.xml: has neiter request nor forward sitemesh /* i will change it to this... and

Re: [appfuse-user] exlude jsp decorators

2007-05-01 Thread tibi
yes i had both of them in but then my html did not get excluded. tibi Matt Raible wrote: Did you add both REQUEST and FORWARD? Nothing at all is the same as just having REQUEST. Matt On 5/1/07, tibi <[EMAIL PROTECTED]> wrote: when i add the forward part it will not work for html a

Re: [appfuse-user] exlude jsp decorators

2007-05-02 Thread tibi
ok and how do you point to jsp files? with /WEB-INF/pages/mypages/test.jsp or do you start in in pages and do: /mypages/test/jsp thanks, tibi hiugong.gwok wrote: I can't get the part done some time ago, and I end up doing this to work around: /what/you/want/to/ex

Re: [appfuse-user] exlude jsp decorators

2007-05-02 Thread tibi
/topnet/salesSoon.html /topnet/ajax-return/eventSpanAction.html eventSpan ??? tibi Nathan Anderson wrote: I'm pretty sure sitemesh decorates based on the requested URI not where the .jsp resides in the file system. So you would never want to match anything inside "WEB-INF&

Re: [appfuse-user] exlude jsp decorators

2007-05-02 Thread tibi
nope... excluding on action name did not work either :( tibi wrote: aha so if i have this action in my struts.xml: name="success">/WEB-INF/pages/topnet/salesSoon.jsp name="AJAX">/WEB-INF/pages/topnet/ajax-return/eventSpanAction.jsp

Re: [appfuse-user] exlude jsp decorators

2007-05-02 Thread tibi
ok thats it! thanks tibi Nathan Anderson wrote: your action URI is "eventSpan.html" Try your pattern this way... /eventSpan.html* See if that helps... Nathan - Original Message ----- From: "tibi" <[EMAIL PROTECTED]> To: users@appfuse.dev.java.net Sent: W

Re: [appfuse-user] exlude jsp decorators

2007-05-02 Thread tibi
glad you did! thats really a great part of appfuse! tibi Nathan Anderson wrote: Glad to help :) - Original Message - From: "tibi" <[EMAIL PROTECTED]> To: users@appfuse.dev.java.net Sent: Wednesday, May 2, 2007 1:25:43 PM (GMT-0800) America/Los_Angeles Subject: R

Re: [appfuse-user] mvn jetty:run => OutOfMemoryError: PermGen space

2007-05-04 Thread tibi
it seems that mvn is not using the java opts. after: mvn clean jetty:run when i look with ps auxwf i get this: tibi 16477 20.4 15.1 288240 155488 pts/1 Sl 10:30 0:18 | \_ /etc/java-config-2/current-system-vm/bin/java -classpath /home/tibi/progs/maven-2.0.4/core/boot

  1   2   3   4   5   6   >