[jira] Closed: (TOBAGO-16) Tab panel in Richmond-Theme has Scrollbars

2006-03-11 Thread Volker Weber (JIRA)
 [ http://issues.apache.org/jira/browse/TOBAGO-16?page=all ]
 
Volker Weber closed TOBAGO-16:
--


> Tab panel in Richmond-Theme has Scrollbars
> --
>
>  Key: TOBAGO-16
>  URL: http://issues.apache.org/jira/browse/TOBAGO-16
>  Project: MyFaces Tobago
> Type: Bug
>  Environment: richmond theme ( vied with firefox macosx)
> Reporter: Udo Schnurpfeil
> Assignee: Volker Weber
> Priority: Trivial
>  Fix For: 1.0.7

>
> The Tabpanel has a scrollbar in this theme.
> See tobago-example-demo -> Tab

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



[jira] Resolved: (TOBAGO-16) Tab panel in Richmond-Theme has Scrollbars

2006-03-11 Thread Volker Weber (JIRA)
 [ http://issues.apache.org/jira/browse/TOBAGO-16?page=all ]
 
Volker Weber resolved TOBAGO-16:


Fix Version: 1.0.7
 Resolution: Fixed

richmonds tab has different padding,
so it needs adjusted entrys in theme-config.properties


> Tab panel in Richmond-Theme has Scrollbars
> --
>
>  Key: TOBAGO-16
>  URL: http://issues.apache.org/jira/browse/TOBAGO-16
>  Project: MyFaces Tobago
> Type: Bug
>  Environment: richmond theme ( vied with firefox macosx)
> Reporter: Udo Schnurpfeil
> Assignee: Volker Weber
> Priority: Trivial
>  Fix For: 1.0.7

>
> The Tabpanel has a scrollbar in this theme.
> See tobago-example-demo -> Tab

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



Re: The annual MyFaces JavaOne party/dinner

2006-03-11 Thread Omar Tazi

I am in of course! Can't wait to meet you all.

-Omar


Manfred Geiler wrote:

Count me in, too.

Looking forward to meeting you all again.

Regards,
Manfred


On 3/9/06, Martin Marinschek <[EMAIL PROTECTED]> wrote:

Add one more.

regards,

Martin

On 3/9/06, Kito D. Mann <[EMAIL PROTECTED]> wrote:

You can definitely count me in :-).



~~~
Kito D. Mann ([EMAIL PROTECTED])
Principal Consultant, Virtua, Inc. (http://www.virtua.com)
Author, JavaServer Faces in Action
http://www.JSFCentral.com - JavaServer Faces FAQ, news, and info


 
 From: Jonas Jacobi [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 09, 2006 12:55 PM
To: MyFaces Development; MyFaces Discussion
Subject: The annual MyFaces JavaOne party/dinner


Hi All,

Its getting close to JavaOne and it is time to add the MyFaces JavaOne Party
to your calendar.

As we did last year, there is no set date this early on, but we need to know
now how many are interested in coming to a MyFaces night out during JavaOne
(May 16th - 19th, 2006). With this information we can plan and book the
right venue for the party/dinner.

Last year ~20 MyFaces fans met at the Thirst Bear for a dinner and a "few"
beers
(http://myfaces.apache.org/community/javaone2005_cometogether.html),
and, of course, lot of interesting discussions about JSF and web frameworks
in general.

This year we hope that more fans will come and join us for a night out.
Please let us know if you are interested in joining up at the MyFaces party
as soon as possible. Note: JavaOne is a month early compared to last year
and that is why you see this invite now :)

Last year Oracle sponsored the evening, and they sure will this year :), but
we would love to see more sponsors contribute to ensure that this will be a
very memorable happening.

Thanks,
Jonas

--
Author: Pro JSF and Ajax: Building Rich Internet Components
Blog: http://www.orablogs.com/jjacobi





--

http://www.irian.at

Your JSF powerhouse -
JSF Consulting, Development and
Courses in English and German

Professional Support for Apache MyFaces






Re: svn commit: r385007 - /myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajax/api/AjaxDecodePhaseListener.java

2006-03-11 Thread Dennis Byrne
No Problem ;)  

Why didn't Continuum catch it though ?

Dennis Byrne

>-Original Message-
>From: Volker Weber [mailto:[EMAIL PROTECTED]
>Sent: Saturday, March 11, 2006 05:06 AM
>To: 'MyFaces Development'
>Subject: Re: svn commit: r385007 - 
>/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajax/api/AjaxDecodePhaseListener.java
>
>
>[EMAIL PROTECTED] wrote:
>> Author: dennisbyrne
>> Date: Fri Mar 10 20:40:16 2006
>> New Revision: 385007
>> 
>> URL: http://svn.apache.org/viewcvs?rev=385007&view=rev
>> Log:
>> TOMAHAWK-189 
>> 
>> Volker owes me a beer at Java 1
>
>Uups sorry, yep i'm guilty, but unfortunately i won't be there :-(.
>
>I still don't understand why my idea doesn't suggest this import.
>
>Just another argue to don't do any commits without previous
>'mvn clean install' on local box, even on so simple minor changes.
>
>
>Regards,
>  Volker
>
>> 
>> Modified:
>> 
>> myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajax/api/AjaxDecodePhaseListener.java
>> 
>> Modified: 
>> myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajax/api/AjaxDecodePhaseListener.java
>> URL: 
>> http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajax/api/AjaxDecodePhaseListener.java?rev=385007&r1=385006&r2=385007&view=diff
>> ==
>> --- 
>> myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajax/api/AjaxDecodePhaseListener.java
>>  (original)
>> +++ 
>> myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajax/api/AjaxDecodePhaseListener.java
>>  Fri Mar 10 20:40:16 2006
>> @@ -23,6 +23,7 @@
>>  import org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils;
>>  import 
>> org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlResponseWriterImpl;
>>  
>> +import javax.faces.application.StateManager;
>>  import javax.faces.component.UIComponent;
>>  import javax.faces.component.UIViewRoot;
>>  import javax.faces.context.FacesContext;
>> 
>> 
>
>-- 
>Don't answer to From: address!
>Mail to this account are droped if not recieved via mailinglist.
>To contact me direct create the mail address by
>concatenating my forename to my senders domain.
>




Re: hibernate validator

2006-03-11 Thread Jurgen Lust




How about this approach?


  You annotate your model classes with Hibernate Validator
annotations, for example @Range(min=10, max=20)
  You don't put any validators in the JSPs
  
  You implement a custom PropertyResolverImpl that does the
following:
  
set the property
perform the validation with HibernateValidator on the property
if the value is invalid, set the property to its original value
and throw an EvaluationException
The JSP is rendered with a FacesMessage next to the input,
containing the Hibernate Validator error message.
  

Advantages:

  All validation is in 1 place, the model class, where it belongs
  Much cleaner JSP

Disadvantages:

  You completely bypass the JSF process validations phase, however,
since the custom PropertyResolver would reset the property to its old
value when a validation error occurs, this would not really be a
problem.
  


This approach would not work at the moment, or at least until
MYFACES-1157 is fixed.

Any ideas?

Jurgen



Jurgen Lust schreef:
Hi,
  
  
I've been playing around with Hibernate Annotations a bit, and noticed
that there is also something like the Hibernate Validator:
http://www.hibernate.org/hib_docs/annotations/reference/en/html/validator.html
  
  
This allows you to specify constraints on your model classes, using jdk
5.0 annotations. Hibernate then automatically enforces these contraints
in the persistence tier of your application.
  
  
Now I was thinking that this could also be used with JSF. Instead of
putting all the JSF validation stuff in the JSPs, you should be able to
use those annotations  in the validate phase.
  
Has anyone tried this yet? Would it be possible, and are there any
pitfalls?
  
  
regards,
  
  
Jurgen
  






[jira] Commented: (TOMAHAWK-159) Javascript not generated

2006-03-11 Thread Carsten Burghardt (JIRA)
[ 
http://issues.apache.org/jira/browse/TOMAHAWK-159?page=comments#action_1237 
] 

Carsten Burghardt commented on TOMAHAWK-159:


The problem was a filter that redirected the user two times. When this happened 
the javascript was not generated. Strange though that it worked with 1.1

> Javascript not generated
> 
>
>  Key: TOMAHAWK-159
>  URL: http://issues.apache.org/jira/browse/TOMAHAWK-159
>  Project: MyFaces Tomahawk
> Type: Bug
> Versions: 1.1.2-SNAPSHOT
> Reporter: Carsten Burghardt

>
> When the page is loaded the first time all Javascript includes are missing 
> (tree2.js, Cookie.js, scrolling). My pages are constructed with panelLayout 
> and the subviews are included. If the page is reloaded the Javascript is 
> present. The same application worked with 1.1.1

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira



hibernate validator

2006-03-11 Thread Jurgen Lust

Hi,

I've been playing around with Hibernate Annotations a bit, and noticed 
that there is also something like the Hibernate Validator: 
http://www.hibernate.org/hib_docs/annotations/reference/en/html/validator.html


This allows you to specify constraints on your model classes, using jdk 
5.0 annotations. Hibernate then automatically enforces these contraints 
in the persistence tier of your application.


Now I was thinking that this could also be used with JSF. Instead of 
putting all the JSF validation stuff in the JSPs, you should be able to 
use those annotations  in the validate phase.

Has anyone tried this yet? Would it be possible, and are there any pitfalls?

regards,

Jurgen


Re: svn commit: r385007 - /myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajax/api/AjaxDecodePhaseListener.java

2006-03-11 Thread Volker Weber

[EMAIL PROTECTED] wrote:
> Author: dennisbyrne
> Date: Fri Mar 10 20:40:16 2006
> New Revision: 385007
> 
> URL: http://svn.apache.org/viewcvs?rev=385007&view=rev
> Log:
> TOMAHAWK-189 
> 
> Volker owes me a beer at Java 1

Uups sorry, yep i'm guilty, but unfortunately i won't be there :-(.

I still don't understand why my idea doesn't suggest this import.

Just another argue to don't do any commits without previous
'mvn clean install' on local box, even on so simple minor changes.


Regards,
  Volker

> 
> Modified:
> 
> myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajax/api/AjaxDecodePhaseListener.java
> 
> Modified: 
> myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajax/api/AjaxDecodePhaseListener.java
> URL: 
> http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajax/api/AjaxDecodePhaseListener.java?rev=385007&r1=385006&r2=385007&view=diff
> ==
> --- 
> myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajax/api/AjaxDecodePhaseListener.java
>  (original)
> +++ 
> myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/ajax/api/AjaxDecodePhaseListener.java
>  Fri Mar 10 20:40:16 2006
> @@ -23,6 +23,7 @@
>  import org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils;
>  import 
> org.apache.myfaces.shared_tomahawk.renderkit.html.HtmlResponseWriterImpl;
>  
> +import javax.faces.application.StateManager;
>  import javax.faces.component.UIComponent;
>  import javax.faces.component.UIViewRoot;
>  import javax.faces.context.FacesContext;
> 
> 

-- 
Don't answer to From: address!
Mail to this account are droped if not recieved via mailinglist.
To contact me direct create the mail address by
concatenating my forename to my senders domain.