Hi there,
I am developing a Persian-language site with AppFuse Struts 2 Archetype.
In web tier, users enter Jalali date but I want to convert these jalali
dates
to Gregorian date (java.util.Date) before saving them in database.
I have the algorithm and libraries to for conversion. Which classes
Thanks Matt,
I increased the max wait timeout for the commons pool data source to 30
seconds and I haven't seen the error since.
BTW I also used wrapped my native sql queries via session.createSQLQuery in
a HibernateCallback as I was concerned that the sessions were not being
closed.
Apprec
Hi there,
We are working in one project based on appfuse struts 2 multimodular. We are
now in a final stage of the project and would like to reuse as much code as
possible which is why we intend to create 3 modules. One with the common
core features, other for the web and other for the customized c
Hi Oscar,
On a recent project I faced the same problem but due to some project
limitations I was using AppFuse 1.9.4 with SpringMVC.
To allow parallel development of both generic code (which I called CORE) and
project-specific code (which I called CUSTOM) I modified AppFuse's build
logic and dir
Hi Ali,
If you just want to convert the dates in the Data Access Object layer I
think you just need to translate from Jalali date to Gregorian in your
entities' DAO implementation (e.g. CustomerDaoHibernate.java). You may need
to implement the methods save to translate from Jalali to Gregorian, a
To generate all the JSF CRUD artifacts for a new entity with AppFuse Maven
plugin you need to:
1. create a POJO data entity in your project's model folder (e.g.
$PROJECT_ROOT/src/main/java/com/myproject/model)
2. add annotations to your entity. For example:
package com.myproject.model;
@Entity
DateUtil is generally used for Date manipulation. This is available to
you if you've full-sourced your project.
Matt
On Mon, Jul 7, 2008 at 8:45 AM, pedro_burglin <[EMAIL PROTECTED]> wrote:
>
> Hi Ali,
>
> If you just want to convert the dates in the Data Access Object layer I
> think you just ne
You should be able to use the email validator on the username.
http://struts.apache.org/2.x/docs/email-validator.html
Matt
On Sun, Jun 29, 2008 at 5:51 AM, Tuncay A. <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Thanks,
>
> That was answer for the question 1. For question 2. The username field of
> the
What version of AppFuse are you using? Which web framework are you using?
Matt
On Mon, Jun 30, 2008 at 3:16 AM, oliver.appfuse
<[EMAIL PROTECTED]> wrote:
> hi,all
>
> i found all my jsp page's EL cant be resolved,after run the mvn
> jetty:run-war
> for example
>
> examples a>.
>
> will be replace
Another option, if you are using Hibernate, is to plug in a custom type in
Hibernate that knows what to do. You can take a look at the Hibernate
subproject for the Joda-time project for guidance:
http://joda-time.sourceforge.net/contrib/hibernate/index.html
Mike
2008/7/7 Matt Raible <[EMAIL PROT
Do you have test methods in your class that start with "public void testXXX"?
Matt
On Mon, Jun 30, 2008 at 9:56 AM, revda <[EMAIL PROTECTED]> wrote:
>
> I am following the AppFuse 2 tutorial but can't get the web stuff to work.
> Trying to create the SystemUserControllerTest in Eclipse (my class
On Mon, Jun 30, 2008 at 4:27 PM, douglasv <[EMAIL PROTECTED]> wrote:
>
> Quick start then,
> using the hibernate tutorial path
>
> at completion
> mvn complained ...Error starting Sun's native2 ascii
This error usually happens when you're pointing at a JRE instead of the JDK.
Matt
>
> I'm using
You could expand your session timeout in web.xml. The default is 30
minutes if its not specified.
Matt
On Tue, Jul 1, 2008 at 12:37 AM, patz <[EMAIL PROTECTED]> wrote:
>
> My application based on AppFuse uses JSF with Tomahawk and RichFaces. The
> webapp starts a huge data import from data files
What is your JDBC URL for HSQLDB?
Matt
On Tue, Jul 1, 2008 at 3:48 AM, Martin Homik <[EMAIL PROTECTED]> wrote:
>
> I've followed a few threads on this topic, but none seems to provide a
> solution. I have a clean AppFuse 2.0.2 + Basic+ Struts2 project. When I run
> 'mvn -Phsqldb test', I get the
Hi All,
Does anyone know how to call a JSF action from AppFuse's non-JSF
default.jsp?
I implemented a shopping cart component UI in default.jsp so it would be
presented in most screens of the application. In this UI component I added a
link (and later replaced with a form and a button with simil
Nope. Patches welcome. ;-)
Matt
On Wed, Jul 2, 2008 at 11:01 AM, Irshad Buchh <[EMAIL PROTECTED]> wrote:
>
> Hi,
> Do we have any news about the next release of AppFuse 1.9.5 containing the
> library upgrades?
>
> --Irshad.
> --
> View this message in context:
> http://www.nabble.com/AppFuse-1.9
I'd try:
list="#session['objects']"
http://struts.apache.org/2.0.9/docs/ognl.html
Matt
On Thu, Jul 3, 2008 at 2:39 PM, ulypses73 <[EMAIL PROTECTED]> wrote:
>
> Hi everyone,
> I'm new to Appfuse 2 and Struts 2 and I need some help.
> I have a List named objects stored in the session and I have t
I believe the best thing to do is run "appfuse:full-source". This
allows you to customize everything. In a future release, I'm thinking
of moving the common-web module into each web module and creating
architetypes with all the web artifacts included. This will make it
difficult to upgrade, but wil
Here's what we use in editProfile.xhtml:
http://www.w3.org/1999/xhtml";
xmlns:f="http://java.sun.com/jsf/core";
xmlns:h="http://java.sun.com/jsf/html";>
// Might be able to remove proprietary call if I can get
@PostConstruct to work
oamSubmitForm('userProfile','us
Hi Matt,
Thanks for the quick reply. I tried your suggestion and I still cannot make
it work properly.
Perhaps if I provide more details you or someone else may be able to help me
on that. In default.jsp I added something like this:
Even after I added the oamSubmitForm it is still not call
Hi Guys,
I just saw this site and am trying to create a new project with struts 2.1.2
But its giving some error while downloading
Downloading:
http://static.appfuse.org/releases/org/appfuse/archetypes/appfuse-b
asic-struts/2.1.2/appfuse-basic-struts-2.1.2.jar
Why this error is coming, if am wor
Try using AppFuse version 2.0.2.
On 7/7/08, nani2ratna <[EMAIL PROTECTED]> wrote:
>
> Hi Guys,
>
> I just saw this site and am trying to create a new project with struts 2.1.2
> But its giving some error while downloading
> Downloading:
> http://static.appfuse.org/releases/org/appfuse/archetypes/a
Hi Matt,
Thanks for immediate reply.
I did with 2.0.2, it worked fine but only struts 2.0.11 not 2.1.2
And still i am getting another error for mysql username and no password.
Can you please tell me how to resolve it.
Thanks in advance
ratna
--
View this message in context:
http://www.nabble.c
I am using mysql 6.0 which is new version
is it is the problem, when pom.xml was created there is no entry for mysql,
i have added it.
please guide me
thanks
ratna
nani2ratna wrote:
>
> Hi Matt,
>
> Thanks for immediate reply.
> I did with 2.0.2, it worked fine but only struts 2.0.11 not 2.1
Quick update: I tried the JSFPageParser and configuration steps to make
sitemesh decorators JSF-aware as described here
(http://forums.opensymphony.com/thread.jspa?threadID=36939&messageID=72427#72427)
but with no luck. I still got a blank screen with no errors when I tried to
use JSF tags in the
alibehzadian wrote:
>
> If you want to get current logged in user, use the code snippet below:
> User currentUser = null;
> SecurityContext ctx = SecurityContextHolder.getContext();
> if (ctx.getAuthentication() != null) {
> Authentication auth = ctx.getAuthe
On Mon, Jul 7, 2008 at 8:32 PM, nani2ratna <[EMAIL PROTECTED]> wrote:
>
> Hi Matt,
>
> Thanks for immediate reply.
> I did with 2.0.2, it worked fine but only struts 2.0.11 not 2.1.2
If you want to upgrade to 2.1.2, you'll have to do it yourself. We
have not upgraded yet.
This may help:
http://w
I already has appfuse application with App Server Tomcat 5.5 and everything
is allright, but now I want to use JBoss 5.0 as my AS, I copy the war into
JBOSS_HOME/server/default/deploy/ but it give me error, one line of the
error is: vfszip:/home/.../app.war -> java.lang.ClassCastException
when I
28 matches
Mail list logo