I've corrected this in the Hibernate, iBATIS and JPA tutorials.
In this example, if you put a {{PersonDaoTest.properties}} file in
_src/test/resources/org/appfuse/tutorial/dao_, this file's properties
will be available via an "rb" variable.
Thanks for your help!
Matt
On 4/23/07, celeraman+ <
celeraman+ wrote:
>
> You are just right! If I put my .properties file into
> src/test/resources/my/package/name, so
> the NullPointerException from populate Method goes away.
>
Just for take some notes...
Here a quote from Using Hibernate tutorial:
> Simply create a PersonDaoTest.properti
Did you translate your log file before posting? According to it, the
resource bundle is using "name" and your class is using "nome".
The last thing I can think of is to debug your test and step through
the populate method to see what's going wrong.
Matt
On 4/23/07, celeraman+ <[EMAIL PROTECTED
mraible wrote:
>
> If you change DepartamentDaoTest.properties to use "name" instead of
> "nome", does it populate the name property?
>
I'm sorry, Matt, for this misspelling because I'm translating my class from
portuguese to english before I post here.
The portuguese word 'nome' means 'name'
If you change DepartamentDaoTest.properties to use "name" instead of
"nome", does it populate the name property?
Matt
On 4/23/07, celeraman+ <[EMAIL PROTECTED]> wrote:
FIY, I got some progress...
1. The bean definition in src/main/webapp/WEB-INF/aplicationContext.xml file
for DepartmentDao
w
FIY, I got some progress...
1. The bean definition in src/main/webapp/WEB-INF/aplicationContext.xml file
for DepartmentDao
was wrong as following:
Note *DepartmentDao* where must be *departmentDao*.
2. my test case properties files was including the id property. The
Hiberna
It shouldn't really matter once your applicationContext*.xml file
follows the correct structure and is loaded up in the correct way i.e.
propbably through your web.xml in this case.
Can you mail me or post your applicationContext files?
Maybe if you post you
Struts2 Fan wrote:
If the persistence framework you're using supports it, there shouldn't
be any issues making it work with AppFuse.
Matt
On 4/22/07, Richard Oss <[EMAIL PROTECTED]> wrote:
Hello,
Anybody here using Ingres database with AppFuse? What are your experiences
(good and bad)? Did you have problems and
Well I know of two ways to do it. Matt set up an Ubuntu [6.10?] VMware
that I believe has all of the above set up already. I have a zipped
copy if you want to download it. It's pretty big though--it is about
1GB compressed.
The other option is to install from packages...
sudo apt-get inst
Sorry I meant mod_jk and not mod_jk2. I'm using Ubuntu 7.0 of course.
Thod
On 4/23/07, Nathan Anderson <[EMAIL PROTECTED]> wrote:
mod_jk2 is no longer in development. You would most likely be better
off using mod_jk. I think I have a link to a step-by-step for apache2,
mod_jk, tomcat5 for Ub
http://agiletesting.blogspot.com/2005/10/configuring-apache-2-and-tomcat-55.html
dev dev wrote:
Can someone point me to a step-by-step tutorial on how to do this?
Thanks
Dev
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For ad
mod_jk2 is no longer in development. You would most likely be better
off using mod_jk. I think I have a link to a step-by-step for apache2,
mod_jk, tomcat5 for Ubuntu. What OS are you installing on?
Nathan
dev dev wrote:
Can someone point me to a step-by-step tutorial on how to do this?
T
Can someone point me to a step-by-step tutorial on how to do this?
Thanks
Dev
It sounds like this may be corrupted in AppFuse. For the Struts 2
WAR, we have the following configuration - this is likely what you'll
need in order for errors*.properties to get processed correctly. I
don't know how "war:inplace" handles this, but you'd think it would
recognize it.
errors.required=${getText(fieldName)} alan\u0131 doldurulmas\u0131 gerekli
bir alan.
Now you can see them correctly. You can find the unicode values of other
characters. If you cannot just send a message to me.
--
View this message in context:
http://www.nabble.com/RequiredString-message-in-str
:) You are right but I have a problem with Turkish characters :)
When I change the errors_tr.properties in the target/.../WEB-INF/classes as
you said the message seems wrong again. It doesn't show the "ı" character
correct. For this in appfuse it is written with unicode.
The bundles in target/..
It's difficult for me to understand your problem because everytime you
post a Turkish sentence, I can't read it. Can you explain the problem
w/o posting any foreign characters?
Thanks,
Matt
On 4/23/07, Struts2 Fan <[EMAIL PROTECTED]> wrote:
Kategori Adı alaný doldurulmasý gerekli bir alan.
Kategori Adı alaný doldurulmasý gerekli bir alan.
When I change the errors_tr.properties in the target/.../WEB-INF/classes as
you said it seems like above. I created a file named errors_tr.properties in
the resources directory but still no good.
Can it be a struts2 defect?
mraible wrote:
>
>
AppFuse is a project you use to start developing a web application.
JBoss and Geronimo are containers you'd deploy your application onto.
Matt
On 4/23/07, dev dev <[EMAIL PROTECTED]> wrote:
Thanks
Dev
--
http://raibledesigns.com
-
This likely gets processed with the native2ascii plugin before
publishing in the WAR. Here's the native from AppFuse (hope it comes
through):
# -- validator errors --
errors.required=${getText(fieldName)} alanı doldurulması gerekli bir alan.
errors.requiredField={0} alanı doldurulması gerekli bi
I inlcuded this in a separate css style file to overide the typo.css styling
(no need to comment out anything in typo.css):
/**
* Overide the settings from typo.css to make sure the Dojo calendar
dropdown displays properly.
*/
table.calendarContainer, table.monthContainer, table.calendarBodyCont
Thanks
Dev
Thanks Matt.
Yes it is there but it is defined as
errors.required=${getText(fieldName)} alan\u00c4\u00b1
doldurulmas\u00c4\u00b1 gerekli bir alan.
But it doesn't seem correct. Why can it be?
Kategori Adı alanı doldurulması gerekli bir alan. it seems but it must
seem
Kategori Adı alanı doldur
Struts 2 has a separate i18n bundle for error messages. It's named
errors.properties and gets merged in from AppFuse WARs. If you look
in target/appname-version/WEB-INF/classes, you should see a number of
errors*.properties files.
Matt
On 4/23/07, Struts2 Fan <[EMAIL PROTECTED]> wrote:
Hi all
Which web framework are you using?
For struts2 you need to write freemarker templates. Appfuse has done it and
put them on the /webapp/template directory.The directories in this directory
are the names of the theme of the struts2. Search them a little and you will
understand them if you know freem
Currently when we display a textfield or anything with a title/key it
displays it above the field. My customer wants to have it display to the
left of the field. Is there an easy way to do this? Seems like it would be
a css change?
Will
--
View this message in context:
http://www.nabble.com
Ok...I think I am finally there. Thanks everyone for the input. Here is
what my findings were.
1. I need to copy /scripts/dojo directory in the struts jar to
webapp/scripts dir
2. I needed to include
.
It did not require to be in the body.
3. Sitemesh does need to have the following entry
Hi all,
I use locale=tr and I had a strange problem when I run the example Person in
the tutorials It puts a message between the required field message and I
couldn't find what puts it in there.
The bundle in the ApplicationResources_tr.xml
errors.required={0} gerekli bir alan.
The name of th
I have used Dojo with AppFuse 2.0 and Spring MVC to render tree views.
Integration was not too complicated and there is plenty of discussion on the
AppFuse mail groups as to how to do it. For reporting I used JasperReports:
http://jasperforge.org. Integration was straightfoward as Spring MVC has
b
Other option is to use Spring as a lightweight plugin container:
http://www.devx.com/Java/Article/31835/1954?pf=true. There is a more formal
project at Spring to handle such functionality:
http://www.springframework.org/osgi. It is on the roadmap for AppFuse at
some point in the future.
Mike
On
If you look under target/surefire-reports what error message is reported for
the test?
Mike.
On 4/22/07, Rick Guo <[EMAIL PROTECTED]> wrote:
Hi all, didn't find any info about the problem I met, I asked for your
help, thanks.
I'm just following the tutorial to add the Person, I chose Sprin
Travers,
Check out the following links for graphing:
JFreeChart:http://www.jfree.org/jfreechart/
Cewolf:http://cewolf.sourceforge.net/new/index.html
JFreeChart is a Java chart library; Cewolf is a tag library that simplifies
using JFreeChart. Works great.
Gary
- Original Message
I have it working. For me it was just a matter of excluding the path to the
dojo html templates from being decorated using Sitemesh: I have the
following path in the excludes section of my decorators.xml file:
/scripts/dojo/*
I did have some additional issues to do with styling for tables, but t
It is possible that there is some sort of corruption in your local Maven
repository. But before getting on to that could I check the following:
1) You are running with Maven 2.0.4 or above (preferably 2.0.5)?
2) You are using JDK 1.5?
Thanks
Mike Horwitz
On 4/22/07, goechen <[EMAIL PROTECTED]>
Joao,
That is more like it. I will look into it. Btw, JPF seems a nice bit of
plugin framework.
Joao Nelas-2 wrote:
>
> I've been using a technique similar to the one described in
> http://www.devx.com/Java/Article/31835
> It's not a full blown plugin architecture, but if your needs are simple
Hi all,
I completed development on a rather large application using Appfuse
1.9.4 with struts framework. There is a requrement to take this further
with fancier stuff. I have some questions, pointers around this and
would like some shared experiences: I was 100% new to Appfuse on
startup, but had
I've been using a technique similar to the one described in
http://www.devx.com/Java/Article/31835
It's not a full blown plugin architecture, but if your needs are simple it
can do the trick.
João
On 4/23/07, sarat.pediredla <[EMAIL PROTECTED]> wrote:
Tonic seems to be dead for now. So much f
Tonic seems to be dead for now. So much for Atlassians commitment to OSS. I
cant even find a decent download.
Any other generic plugin framework suggestions? I know Matt mentioned a
plugin framework for 2.0 but I think this is more related to adding and
removing features from appfuse? I was think
38 matches
Mail list logo