[jboss-user] [JBoss Seam] - Re: Validation Error

2007-03-20 Thread waynebagguley
Seems to work fine for me. Why not supply a bit of code we can look at?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4029727#4029727

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4029727
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Validation Error

2007-03-20 Thread fady.matar
I have incorporated the TinyMCE rich text editor in my template and it looks as 
follows:

  | !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.1//EN 
http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd;
  | html xmlns=http://www.w3.org/1999/xhtml;
  |   xmlns:ui=http://java.sun.com/jsf/facelets;
  |   xmlns:h=http://java.sun.com/jsf/html;
  |   xmlns:f=http://java.sun.com/jsf/core;
  |   xmlns:s=http://jboss.com/products/seam/taglib;
  | head
  | meta http-equiv=Content-Type content=text/html; charset=UTF-8 
/
  | titleAdmininstration/title
  | link href=../stylesheet/admin-style.css rel=stylesheet 
type=text/css /
  | script language=javascript type=text/javascript 
src=../javascript/tiny_mce/tiny_mce.js/script
  | script language=javascript type=text/javascript
  | tinyMCE.init({
  | mode : textareas,
  | theme : advanced,
  | plugins : 
devkit,style,layer,table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras,template,
  | theme_advanced_buttons1_add_before : 
save,newdocument,separator,
  | theme_advanced_buttons1_add : 
fontselect,fontsizeselect,
  | theme_advanced_buttons2_add : 
separator,insertdate,inserttime,preview,separator,forecolor,backcolor,
  | theme_advanced_buttons2_add_before: 
cut,copy,paste,pastetext,pasteword,separator,search,replace,separator,
  | theme_advanced_buttons3_add_before : 
tablecontrols,separator,
  | theme_advanced_buttons3_add : 
emotions,iespell,media,advhr,separator,print,separator,ltr,rtl,separator,fullscreen,
  | theme_advanced_buttons4 : 
insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,template,|,code,
  | theme_advanced_toolbar_location : top,
  | theme_advanced_toolbar_align : left,
  | theme_advanced_path_location : bottom,
  | plugin_insertdate_dateFormat : %Y-%m-%d,
  | plugin_insertdate_timeFormat : %H:%M:%S,
  | extended_valid_elements : 
hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style],
  | theme_advanced_resize_horizontal : false,
  | theme_advanced_resizing : true,
  | nonbreaking_force_tab : true,
  | apply_source_formatting : true,
  | });
  | /script
  | /head
  | body
  | div class=header
  | h1safami website - administration interface/h1
  | /div
  | ui:include src=menu.xhtml/
  | ui:include src=loginout.xhtml/
  | div class=body
  | f:facet name=aroundInvalidField
  | s:span styleClass=errors/
  | /f:facet
  | f:facet name=afterInvalidField
  | s:span#160;s:message//s:span
  | /f:facet
  | ui:insert name=body/
  | /div
  | ui:include src=footer.xhtml /   
  | /body
  | /html
  | 
  | 

Please note that the TinyMCE editor is appearing and looks perfect however it 
doesn't save the data.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4029740#4029740

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4029740
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Validation Error

2007-03-20 Thread fady.matar
I apologize wrong post, never mind the regular expression I used was wrong.


View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4029751#4029751

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4029751
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Validation Error

2007-03-07 Thread fady.matar
by the way I'm using the version 1.2 of SUN-RI JSF implementation.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4025705#4025705

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4025705
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Validation Error Messages...

2007-01-01 Thread Echnaton
oh damn i forgot to include the seam-ui.jar in the war project

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3997149#3997149

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3997149
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Validation Error Messages...

2006-12-29 Thread Echnaton
i have a similar problem. h:message shows the validation messages correctly but 
s:message just doesn't work.
i followed exactly this tutorial: 
http://docs.jboss.com/seam/1.1GA/reference/en/html/validation.html
but when the page reloads theres no text on the page. the console of the as 
shows this:


  | sourceId=j_id7:passwort[severity=(ERROR 2), summary=(j_id7:passwort: 
Validierungs-Fehler: Wert wird benötigt.), detail=(j_id7:passwort: 
Validierungs-Fehler: Wert wird benötigt.)]
  | sourceId=j_id7:benutzername[severity=(ERROR 2), 
summary=(j_id7:benutzername: Validierungs-Fehler: Wert wird benötigt.), 
detail=(j_id7:benutzername: Validierungs-Fehler: Wert wird 
benötigt.)];|WARNING: FacesMessage(s) have been enqueued, but may not have been 
displayed.
  | 

my configuration is seam 1.1, jsf 1.2, facelets 1.1.1 on sun as 9.0

the template client which needs validation

  | !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN 
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
  | html xmlns=http://www.w3.org/1999/xhtml;
  |   xmlns:ui=http://java.sun.com/jsf/facelets;
  |   xmlns:h=http://java.sun.com/jsf/html;
  |   xmlns:s=http://jboss.com/products/seam/taglib;
  |   xmlns:f=http://java.sun.com/jsf/core;
  | 
  | body
  | 
  | ui:composition template=maintemplate.xhtml
  | ui:define name=title  
  | Einloggen
  | /ui:define
  | 
  | ui:define name=body
  | div
  | h:messages globalOnly=true/
  | /div
  | 
  | h:form
  | f:facet name=afterInvalidField
  | s:messages/
  | /f:facet
  | s:validateAll
  | Benutzername
  | s:decorate  
  | h:inputText id=benutzername 
value=#{benutzer.benutzername} required=true/
  | /s:decorate
  | Passwort
  | s:decorate
  | h:inputSecret id=passwort 
value=#{benutzer.passwort} required=true/
  | /s:decorate 
  | h:commandButton type=submit value=Einloggen 
action=#{lokaleinloggen.einloggen}/
  | /s:validateAll
  | /h:form
  | /ui:define
  | 
  | /ui:composition
  | 
  | /body
  | /html
  | 

the template:


  | !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN 
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
  | html xmlns=http://www.w3.org/1999/xhtml;
  |   xmlns:ui=http://java.sun.com/jsf/facelets;
  |   xmlns:s=http://jboss.com/products/seam/taglib;
  |   xmlns:f=http://java.sun.com/jsf/core;
  | 
  | head
  | meta http-equiv=Content-Type content=text/html; charset=UTF-8 
/
  | titleProjektplaner/SVN-System/title
  | link href=css/default.css rel=stylesheet type=text/css /  
  | /head
  | 
  | body
  | img src=pics/fhlogo.gif/
  | div class=title
  | span class=title
  | Projektplaner
  | /span
  | span class=title2nd
  | ui:insert name=title/ui:insert
  | /span 
  | /div
  | p
  | ui:insert name=body/ui:insert
  | /p
  | /body
  | 
  | /html
  | 

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3996929#3996929

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3996929

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Validation Error Messages...

2006-12-25 Thread [EMAIL PROTECTED]
Anyone any ideas on this one?

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3996244#3996244

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3996244
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user