Re: [appfuse-user] How to integrate a tiles based application in appfuse

2007-01-08 Thread Matt Raible
http://raibledesigns.com/page/rd?anchor=my_tiles_to_sitemesh_migration On 1/8/07, Yesh <[EMAIL PROTECTED]> wrote: Hi, I am trying to integrate a tiles based application to appfuse. Can i run appfuse with both tiles & sitemesh. Give ur suggestions. -- View this message in context: http://www

RE: [appfuse-user] detect if javascript is enable

2007-01-08 Thread Philip J Brown
I would vote for simply using the Plain HTML tag See: http://www.w3.org/TR/html4/interact/scripts.html#h-18.3.1 This is a simple way to render the HTML within the tags When scripting is disabled, or when the browser agent doesn't support the specified script. Philip J. Brown President, Tech

[appfuse-user] How to integrate a tiles based application in appfuse

2007-01-08 Thread Yesh
Hi, I am trying to integrate a tiles based application to appfuse. Can i run appfuse with both tiles & sitemesh. Give ur suggestions. -- View this message in context: http://www.nabble.com/How-to-integrate-a-tiles-based-application-in-appfuse-tf2943841s2369.html#a8231750 Sent from the AppFuse

[appfuse-user] Re: How to Return a list from user_role table?

2007-01-08 Thread L . D . Fu
Jesfre <[EMAIL PROTECTED]> writes: > > > Hi all... > I want to get all Users was in "admin" role... This is a third table from > relationship User-Role > How to get all user in "admin" role from this? I do this by adding a dao method in UserDao: public List listUserInRole(String RoleName);

[appfuse-user] How to Return a list from user_role table?

2007-01-08 Thread Jesfre
Hi all... I want to get all Users was in "admin" role... This is a third table from relationship User-Role How to get all user in "admin" role from this? This doesn't works... public List getUsersByRole(String roleId) { List user= getHibernateTemplate().find("select from User where rol

Re: [appfuse-user] Struts Based Instructions for jsCalendar

2007-01-08 Thread mmaia
Tx fro the great instructions, it worked fine usin struts in my case. The diference was in step 3: 3. Edit web/decorators/default.jsp I also took of the button in step 4. []s Matt Raible-3 wrote: > > On 9/4/06, Richard Nduka <[EMAIL PROTECTED]> wrote: >> I have tried the date tuto

Re: [appfuse-user] OT: spring transaction vs hibernate transactions

2007-01-08 Thread pankaj singla
Thanks for the answer Matt. I also found this topic which has a nice example to throw more light on spring transactions. http://www.onjava.com/pub/a/onjava/2005/05/18/swingxactions.html Pankaj --- Matt Raible <[EMAIL PROTECTED]> wrote: > Spring transactions and Hibernate transactions will > wor

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

2007-01-08 Thread kkus
One good point about not clustering Spring beans is(from http://forum.springframework.org/showthread.php?t=30731&highlight=cluster), Why do you need to have same beans used across the cluster? Spring beans are usually stateless singletons, and there's nothing to replicate across the cluster reall

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

2007-01-08 Thread kkus
>From following link, it seems clustering isn' t the answer I am looking for, http://forum.springframework.org/showthread.php?t=32054&highlight=cluster Matt Raible-3 wrote: > > You should be able to use Terracotta for Spring (now open source) to > cluster Spring beans b/w JVMs. > > http://ter

Re: [appfuse-user] detect if javascript is enable

2007-01-08 Thread Nathan Anderson
That makes sense too ;) Matt Raible wrote: You could use the tag. Seems like a simple solution IMO. http://www.w3schools.com/tags/tag_noscript.asp Matt On 1/8/07, Thinkboy <[EMAIL PROTECTED]> wrote: hi, should we add the javascript detection in Appfuse? I found this implementation by CSS.

Re: [appfuse-user] detect if javascript is enable

2007-01-08 Thread Nathan Anderson
Rather than hide a message when javascript is enabled, why not add a message if JS is not enabled? You should be able to add a cookie using JS at the login page, and then check if that cookie exists on the following pages in the JSP. I don't have a code example, but I can't think of why this

Re: [appfuse-user] detect if javascript is enable

2007-01-08 Thread Matt Raible
You could use the tag. Seems like a simple solution IMO. http://www.w3schools.com/tags/tag_noscript.asp Matt On 1/8/07, Thinkboy <[EMAIL PROTECTED]> wrote: hi, should we add the javascript detection in Appfuse? I found this implementation by CSS. http://www.openjs.com/articles/javascript_de

Re: [appfuse-user] User roles disappeared

2007-01-08 Thread Matt Raible
Here's how to fix it: http://tinyurl.com/yjka3v Matt On 1/8/07, RvD <[EMAIL PROTECTED]> wrote: I am using webwork 2.2.4 RvD Matt Raible-3 wrote: > > Which web framework are you using? This has been fixed in the 2.0 branch. > > http://fisheye4.cenqua.com/changelog/appfuse?cs=2206 > > Matt >

[appfuse-user] Question on SpringMVC Controllers

2007-01-08 Thread maskkkk
Hello, I have an idea and I have a sneaky suppision that it's wrong so I'm going to post it here and see if there's anything wrong with it. On the front-end I have several display components that are used over and over again on several pages of my app. Individually, each of these display compo

[appfuse-user] Weird problem in JSF navigation

2007-01-08 Thread Eric Taieb
Hi, i have been struggling with this for a few days. if someone could help ? I have this code in my jsf page:

[appfuse-user] detect if javascript is enable

2007-01-08 Thread Thinkboy
hi, should we add the javascript detection in Appfuse? I found this implementation by CSS. http://www.openjs.com/articles/javascript_detection_using_css.php but the problem is that this scripts seem reacting very slowly, therefore, I will always see the hidden off_javascript_message "flashed"

Re: [appfuse-user] User roles disappeared

2007-01-08 Thread RvD
I am using webwork 2.2.4 RvD Matt Raible-3 wrote: > > Which web framework are you using? This has been fixed in the 2.0 branch. > > http://fisheye4.cenqua.com/changelog/appfuse?cs=2206 > > Matt > > On 1/8/07, RvD <[EMAIL PROTECTED]> wrote: >> >> When i use validation for editing a user and

Re: [appfuse-user] User roles disappeared

2007-01-08 Thread Matt Raible
Which web framework are you using? This has been fixed in the 2.0 branch. http://fisheye4.cenqua.com/changelog/appfuse?cs=2206 Matt On 1/8/07, RvD <[EMAIL PROTECTED]> wrote: When i use validation for editing a user and i leave a field blank the validation works correctly only the user roles

Re: [appfuse-user] Validation of nested objects

2007-01-08 Thread Matt Raible
Instead of putting an XDoclet tag on the field, you need to put it on the setPersonType() method. Also, you only need @spring.validator to include nested validations - not the specific type. HTH, Matt On 1/8/07, pat79 <[EMAIL PROTECTED]> wrote: Hi, i've a problem validating a form with a ne

Re: [appfuse-user] get username and password

2007-01-08 Thread Matt Raible
Why do you need to get the username and password? You should be able to fetch the object in an Action or Controller and display it that way - similar to how it works in UserAction. Matt On 1/8/07, rbtechno <[EMAIL PROTECTED]> wrote: hai, I have added some jsp pages with appfuse.After log

AW: [appfuse-user] change number format ?

2007-01-08 Thread Oliver Raupach
I made the following modifikation: static { ConvertUtils.register(new CurrencyConverter(), Double.class); ConvertUtils.register(new PuKFloatConverter(), Float.class); ConvertUtils.register(new DateConverter(), Date.class); ConvertUtils.register(new DateCon

Re: [appfuse-user] IE Problem rendering generated XHTML pages

2007-01-08 Thread Matt Raible
I'd try contacting the Facelets mailing list (or searching it) and asking them if it's possible to turn off this feature. http://www.nabble.com/java.net---facelets-users-f13481.html Matt On 1/8/07, patz <[EMAIL PROTECTED]> wrote: That's right your demo site doesn't show this line. I am using

Re: [appfuse-user] Validation Annotations

2007-01-08 Thread André Faria
Sorry, I sended the message to the wrong group... André Faria writed: Is possible to use the validation annotations like @RequiredFieldValidator only for a method of the Action class? - To unsubscribe, e-mail: [EMAIL PROTECTE

[appfuse-user] Validation Annotations

2007-01-08 Thread André Faria
Is possible to use the validation annotations like @RequiredFieldValidator only for a method of the Action class? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

[appfuse-user] User roles disappeared

2007-01-08 Thread RvD
When i use validation for editing a user and i leave a field blank the validation works correctly only the user roles are disappeared. If i fill in the blank field and save the user the user role is removed and i have no access to the webpages. Can anywone help me to resolve this? PS: I use a de

[appfuse-user] Validation of nested objects

2007-01-08 Thread pat79
Hi, i've a problem validating a form with a nested object. let's assume there are two classes: public class Person implements java.io.Serializable { private Integer id; private String name; /** * @spring.validator type="required" */ private PersonType personType; }

[appfuse-user] get username and password

2007-01-08 Thread rbtechno
hai, I have added some jsp pages with appfuse.After login, i have to get username and password in that pages. i tried with request.getParameter("j_username"),request.getParameter("j_password").But i could get it. so plz help me. -- View this message in context: http://www.nabble

Re: [appfuse-user] IE Problem rendering generated XHTML pages

2007-01-08 Thread patz
That's right your demo site doesn't show this line. I am using Facelets 2.0 composition feature not SiteMesh. The XML prolog line is always inserted no matter which DOCTYPE declaration is used or if the DOCTYPE line is skipped. Patrick Matt Raible-3 wrote: > > This doesn't appear to happen on

Re: [appfuse-user] IE Problem rendering generated XHTML pages

2007-01-08 Thread Matt Raible
This doesn't appear to happen on the demo site: http://demo.appfuse.org/appfuse-jsf/users.html Are you still using SiteMesh or are you using Facelets composition feature? Matt On 1/8/07, patz <[EMAIL PROTECTED]> wrote: I am not aware of inserting this line but maybe I am just not aware where

Re: [appfuse-user] IE Problem rendering generated XHTML pages

2007-01-08 Thread patz
I am not aware of inserting this line but maybe I am just not aware where I am doing that. Our typical XHTML header looks like that: http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";> http://www.w3.org/1999/xhtml"; xmlns:c="http://java.sun.com/jstl/core"; xmlns:f="http://java.su

Re: [appfuse-user] org.springframework.beans.factory.BeanCreationException

2007-01-08 Thread Matt Raible
I've never seen this exact error before. Can you deploy your application OK on Tomcat? Matt On 1/8/07, Devpradhangr <[EMAIL PROTECTED]> wrote: Hi, Iam trying to create a sample application using JSF in Appfuse 1.9.4 but iam getting some exceptions in JBoss that are mentioned below. How to

[appfuse-user] org.springframework.beans.factory.BeanCreationException

2007-01-08 Thread Devpradhangr
Hi, Iam trying to create a sample application using JSF in Appfuse 1.9.4 but iam getting some exceptions in JBoss that are mentioned below. How to solve these exceptions? org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userManagerTx': Cannot resolve ref

Re: [appfuse-user] IE Problem rendering generated XHTML pages

2007-01-08 Thread Matt Raible
On 1/8/07, patz <[EMAIL PROTECTED]> wrote: We tried STRICT versus TRANSITIONAL but this does not solve the problems. One known reason for IE switching to Quirks mode is the XML- Prolog in line 1. Is it possible tu suppress this line ? Isn't this line added by you? We don't add an XML prolog

Re: [appfuse-user] IE Problem rendering generated XHTML pages

2007-01-08 Thread patz
We tried STRICT versus TRANSITIONAL but this does not solve the problems. One known reason for IE switching to Quirks mode is the XML- Prolog in line 1. Is it possible tu suppress this line ? (IE 7 should not have this problem any more.) Regards Patrick Matt Raible-3 wrote: > > Are you saying