RE: Updgrading from MyFaces/Tomahawk 1.1.1 to MyFaces/Tomahawk 1.1.3

2006-06-26 Thread Rick
Done.

http://wiki.apache.org/myfaces/More_tips_on_Upgrading_to_Tomahawk_1%2e1%2e3#
preview



-Original Message-
From: Dennis Byrne [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 26, 2006 9:17 AM
To: MyFaces Discussion
Subject: Re: Updgrading from MyFaces/Tomahawk 1.1.1 to MyFaces/Tomahawk
1.1.3 

Hi Rick,

Can you please put this info in the wiki ?

http://wiki.apache.org/myfaces/Upgrading_to_Tomahawk_1%2e1%2e3

Dennis Byrne

>-Original Message-
>From: Rick Hightower [mailto:[EMAIL PROTECTED]
>Sent: Monday, June 26, 2006 12:03 PM
>To: ''MyFaces Discussion''
>Subject: Updgrading from MyFaces/Tomahawk 1.1.1 to MyFaces/Tomahawk 1.1.3 
>
>Recently while developing a project, an issue was found with Tomahawk's
Tree
>Table support. To rectify the issue, I downloaded the latest version of
>Tomahawk and MyFaces to see if the issue went away (it did not). Along the
>way, I ran into several road blocks to using Tomahawk 1.1.3. 
>
>These issues were not mentioned in the release notes.
>
>To get Tomahawk to work correctly, new jar files are needed. However, said
>jar files were not in the Maven ibilio repo so I changed the pom.xml to
>point to the new repo as follows:
>
>  
>
>
>
>  apache-repo
>
>  apache-repo
>
> 
>http://myfaces.zones.apache.org/dist/maven-repository
>
>
>
>
>
>  ibiblio
>
>  ibiblio
>
>  http://www.ibiblio.org/maven2
>
>
>
>  
>
>Here is the complete list of jar files that were needed:
>
>
>
>  org.apache.myfaces.core
>
>  myfaces-impl
>
>  1.1.3
>
>  compile
>
>  jar
>
>
>
>
>
>  org.apache.myfaces.core
>
>  myfaces-api
>
>  1.1.3
>
>  compile
>
>  jar
>
>
>
>
>
>  org.apache.myfaces.tomahawk
>
>  tomahawk
>
>  1.1.3
>
>  compile
>
>  jar
>
>
>
>In addition to the  needed a new jar, the support classes package structure
>changed.
>
>This necessitated two changes to web.xml as follows:
>
>The filter class name changed:
>
>
>
>extensionsFilter
>
> 
>org.apache.myfaces.webapp.filter.ExtensionsFilters>
>
>...
>
> 
>
>As did the Source code servlet class name as follows:
>
>  
>
>SourceCodeServlet
>
>
>
> 
>org.apache.myfaces.shared_tomahawk.util.servlet.SourceCodeServlet
>
>
>
>  
>
>This is all I could think of that I changed.
>
> 
>
>Off topic: 
>
>I was able to hack the tree renderer to add extra style classes to the tree
>so I could control the vertical alignment of the nodes.
>
> 
>
>http://www.jroller.com/page/RickHigh?entry=updgrading_from_myfaces_1_1
>
> 
>
>






How to print out html-string by Facelet?

2006-06-26 Thread Chen, Wei



Hi all,
 
Formerly I use myfaces and can use self-defined jsp-tag 
to handle html-string. Now I use facelet and it seems facelet is not compatible 
with jsp. Who knows how can I handle the html-string as using the 
jsp-tag?
 
Regards
 
 


RE: Tomahawk1.1.3 ugrade exception...ExtensionsFilter not correctly configured. JSF mapping missing

2006-06-26 Thread Rick








The
filter class name changed for Tomahawk 1.1.3:



 
  extensionsFilterfilter-name>

   
org.apache.myfaces.webapp.filter.ExtensionsFilterfilter-class>

   
...

 

As did
the Source code servlet class name as follows:

 


   
SourceCodeServletservlet-name>

   


   
org.apache.myfaces.shared_tomahawk.util.servlet.SourceCodeServlet

   
servlet-class>

 
servlet>

 

 

This might be your problem.

 

Rick Hightower









From: ved.gunjan
[mailto:[EMAIL PROTECTED] 
Sent: Monday, June 26, 2006 2:00
PM
To: users@myfaces.apache.org
Cc: [EMAIL PROTECTED]
Subject: Tomahawk1.1.3 ugrade
exception...ExtensionsFilter not correctly configured. JSF mapping missing



 



Hi Experts,





I new to the world of JSF and im presently playing around with MyFaces
Tomhawk implementation.
I tried the tree example using tomahawk.jar ,myfaces-api and myfaces-impl.





I was able to get the tree working with these version of jars.





 





But now when i upgraded to  the latest jars i.e 
myfaces-api 1.1.3
myfaces-imple1.1.3 and
tomahawk-1.1.3





 





I'm using the  tag and has a  in side
it.





Her's a snapshot of JSP.





 























 





t:div>






Tomahawk1.1.3 ugrade exception...ExtensionsFilter not correctly configured. JSF mapping missing

2006-06-26 Thread ved.gunjan
Hi Experts,  I new to the world of JSF and im presently playing around with MyFaces Tomhawk implementation.I tried the tree example using tomahawk.jar ,myfaces-api and myfaces-impl.  I was able to get the tree working with these version of jars.     But now when i upgraded to  the latest jars i.e myfaces-api 1.1.3myfaces-imple1.1.3 andtomahawk-1.1.3     I'm using the  tag and has a  in side it.  Her's a snapshot of JSP.        t:div>

RE: Tomahawk1.1.3 ugrade exception...ExtensionsFilter not correctly configured. JSF mapping

2006-06-26 Thread ved.gunjan
Thanks for the reply Rick...  I had my include file in subview only..  Here's snapshot of the  the included jsp.      value="#{solutionTreeHandler.treeModel.treeData}" var="node"
 varNodeToggler="tree" clientSideToggle="false" >                rendered="#{tree.nodeExpanded}" />       
 rendered="#{!tree.nodeExpanded}"/>      styleClass="nodeFolder"/>      styleClass="nodeFolder"/>           
 actionListener="#{classTreeHandler.excute}"   value="#{node.description}"   immediate="true">            
    ..   .             Please guide me as to where im going wrong, as i'm in a very bad shape...  Rick <[EMAIL PROTECTED]> wrote:Try putting the include inside of a f:subview.     From: ved.gunjan [mailto:[EMAIL PROTECTED] Sent: Monday, June 26, 2006 8:36 PMTo: users@myfaces.apache.orgSubject: Tomahawk1.1.3 ugrade exception...ExtensionsFilter not correctly configured. JSF mapping     Hi Experts,  I new to the world of JSF and im presently playing around with MyFaces Tomhawk implementation.I tried the tree example using tomahawk.jar ,myfaces-api and myfaces-impl.  I was able to get the tree working with these version of jars.     But now when i upgraded to  the latest jars i.e myfaces-api 1.1.3myfaces-impl1.1.3 andtomahawk-1.1.3     I'm using the  tag and has a  in side it.  Her's a snapshot of JSP.                                            This works fine with old jars but with new tomahawk1.1.3 jars , i'm getting the following error...see the stack trace below:     java.lang.IllegalStateException: ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered. Please see: http://myfaces.apache.org/tomahawk/extensionsFilter.htmlorg.apache.myfaces.renderkit.html.util.AddResourceFactory.throwExtensionsFilterMissing(AddResourceFactory.java:371)org.apache.myfaces.renderkit.html.util.AddResourceFactory.checkEnvironment(AddResourceFactory.java:333)org.apache.myfaces.renderkit.html.util.AddResourceFactory.getInstance(AddResourceFactory.java:288)org.apache.myfaces.custom.tree2.HtmlTreeRenderer.encodeJavascript(HtmlTreeRenderer.java:611)org.apache.myfaces.custom.tree2.HtmlTreeRenderer.encodeBegin(HtmlTreeRenderer.java:152)javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:512)  I googled for this also did the required changes.here are the links i visited.1) http://wiki.apache.org/myfaces/Upgrading_to_Tomahawk_1.1.3  2) http://www.mail-archive.com/users@myfaces.apache.org/msg23110.html  3) http://www.mail-archive.com/users@myfaces.apache.org/msg23094.html        Here's my web.xml  http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">  javax.faces.STATE_SAVING_METHOD  client     org.apache.myfaces.ALLOW_JAVASCRIPT  true     org.apache.myfaces.DETECT_JAVASCRIPT 
 false     org.apache.myfaces.PRETTY_HTML  true     org.apache.myfaces.AUTO_SCROLL  true        javax.faces.CONFIG_FILES  /WEB-INF/faces-config.xml       
 org.apache.myfaces.webapp.StartupServletContextListener     MyFacesExtensionsFilter    org.apache.myfaces.webapp.filter.ExtensionsFilter     maxFileSize   20m       MyFacesExtensionsFilter   
 *.jsp     MyFacesExtensionsFilter  /faces/myFacesExtensionResource/*  Faces Servlet  javax.faces.webapp.FacesServlet  1     Faces Servlet  *.faces     Please help me out in fixing
 this exception.im sure lot of people must have encountered this exception.        Thanks  Ved    Do you Yahoo!?Get on board. You're invited to try the new Yahoo! Mail Beta. 
		Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min or less.

Trinidad source code

2006-06-26 Thread Jeantine Mankelow

Hi,

How do you know which svn revision the nightly build has been built from?

We have:
cksum adf-faces*
4089244130 694243 adf-faces-api-incubator-m1-SNAPSHOT.jar
1672540188 3156529 adf-faces-impl-incubator-m1-SNAPSHOT.jar

And need the corresponding source files so that we can debug/understand 
the library files using Eclipse.


I have already tried:
svn log --revision {2006-06-19}:{2006-06-24} 
https://svn.apache.org/repos/asf/incubator/adffaces/trunk/


to try and determine which svn revision number it is but I am getting 
confused because the timezone in New Zealand probably doesn't match the 
timezone of the date modified of the directories of the nightly build.


Alternatively would it be possible to publish the source with the binaries?

Thanks
Jeantine


Can Container Managed Security Be Used with MyFaces?

2006-06-26 Thread Mike Duffy
I tried the 1.1.4-SNAPSHOTs with container managed security and got the 
following error when
trying to forward to the non JSF login page. Is there a "FormAuthenticator" 
called on every page,
even the nonJSF pages? 

Thx.

Mike

java.lang.ClassNotFoundException: org.apache.jsp.view.common.login_jsp
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at 
org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:133)
at 
org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:65)
at 
org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:596)
at 
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:147)
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:315)
at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at
org.apache.catalina.authenticator.FormAuthenticator.forwardToLoginPage(FormAuthenticator.java:315)
at
org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:243)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
23:25:54,478 WARN  [FormAuthenticator] Unexpected error forwarding to login page
org.apache.jasper.JasperException: Unable to load class for JSP
at
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
at
org.apache.catalina.authenticator.FormAuthenticator.forwardToLoginPage(FormAuthenticator.java:315)
at
org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:243)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at 
org.apache.coyo

RE: Tomahawk1.1.3 ugrade exception...ExtensionsFilter not correctly configured. JSF mapping

2006-06-26 Thread Rick








Try putting the include inside of a
f:subview.

 









From: ved.gunjan
[mailto:[EMAIL PROTECTED] 
Sent: Monday, June 26, 2006 8:36
PM
To: users@myfaces.apache.org
Subject: Tomahawk1.1.3 ugrade
exception...ExtensionsFilter not correctly configured. JSF mapping



 

Hi Experts,
  I new to the world of JSF and im presently playing around with 
MyFaces Tomhawk implementation.
I tried the tree example using tomahawk.jar ,myfaces-api and 
myfaces-impl.
  I was able to get the tree working with these version of jars.
   
  But now when i upgraded to  the latest jars i.e 
myfaces-api 1.1.3
myfaces-imple1.1.3 and
tomahawk-1.1.3
   
  I'm using the  tag and has a  in side
it.
  Her's a snapshot of JSP.
   
  
  
  
  
   
  
  
  
   
  
  
  
   
  
  
   
   
  This works fine with old jars but with new tomahawk1.1.3 jars , i'm 
getting the following error...see the stack trace below:
   
  java.lang.IllegalStateException: ExtensionsFilter not correctly 
configured. JSF mapping missing. JSF pages not covered. Please see: 
http://myfaces.apache.org/tomahawk/extensionsFilter.html

org.apache.myfaces.renderkit.html.util.AddResourceFactory.throwExtensionsFilterMissing(AddResourceFactory.java:371)

org.apache.myfaces.renderkit.html.util.AddResourceFactory.checkEnvironment(AddResourceFactory.java:333)

org.apache.myfaces.renderkit.html.util.AddResourceFactory.getInstance(AddResourceFactory.java:288)

org.apache.myfaces.custom.tree2.HtmlTreeRenderer.encodeJavascript(HtmlTreeRenderer.java:611)

org.apache.myfaces.custom.tree2.HtmlTreeRenderer.encodeBegin(HtmlTreeRenderer.java:152)

javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:512)
  I googled for this also did the required changes.
here are the links i visited.
1) http://wiki.apache.org/myfaces/Upgrading_to_Tomahawk_1.1.3
  
2) http://www.mail-archive.com/users@myfaces.apache.org/msg23110.html
  
3) http://www.mail-archive.com/users@myfaces.apache.org/msg23094.html
   
   
  Here's my web.xml
  
http://java.sun.com/xml/ns/j2ee" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee

http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">

  javax.faces.STATE_SAVING_METHOD
  client

   
  org.apache.myfaces.ALLOW_JAVASCRIPT
  true

   
  org.apache.myfaces.DETECT_JAVASCRIPT
  false

   
  org.apache.myfaces.PRETTY_HTML
  true

   
  org.apache.myfaces.AUTO_SCROLL
  true
   
   
  javax.faces.CONFIG_FILES
  /WEB-INF/faces-config.xml

   
   
  
org.apache.myfaces.webapp.StartupServletContextListener

   

  MyFacesExtensionsFilter
    
org.apache.myfaces.webapp.filter.ExtensionsFilter
  
   maxFileSize
   20m
  

   

  MyFacesExtensionsFilter
  
  *.jsp

   

  MyFacesExtensionsFilter
  /faces/myFacesExtensionResource/*




  Faces Servlet
 
javax.faces.webapp.FacesServlet
  1

   
  Faces Servlet
  *.faces


   
  
Please help me out in fixing this exception.im sure lot of people 
must have encountered this exception.
   
   
  Thanks
  Ved

  







Do you Yahoo!?
Get on board. You're
invited to try the new Yahoo! Mail Beta.








Tomahawk1.1.3 ugrade exception...ExtensionsFilter not correctly configured. JSF mapping

2006-06-26 Thread ved.gunjan
Hi Experts,  I new to the world of JSF and im presently playing around with MyFaces Tomhawk implementation.I tried the tree example using tomahawk.jar ,myfaces-api and myfaces-impl.  I was able to get the tree working with these version of jars.     But now when i upgraded to  the latest jars i.e myfaces-api 1.1.3myfaces-imple1.1.3 andtomahawk-1.1.3     I'm using the  tag and has a  in side it.  Her's a snapshot of JSP.                                            This works fine with old jars but with new tomahawk1.1.3 jars , i'm getting the following error...see the stack trace below:     java.lang.IllegalStateException: ExtensionsFilter not correctly configured. JSF mapping missing. JSF pages not covered. Please see: http://myfaces.apache.org/tomahawk/extensionsFilter.html org.apache.myfaces.renderkit.html.util.AddResourceFactory.throwExtensionsFilterMissing(AddResourceFactory.java:371)
 org.apache.myfaces.renderkit.html.util.AddResourceFactory.checkEnvironment(AddResourceFactory.java:333) org.apache.myfaces.renderkit.html.util.AddResourceFactory.getInstance(AddResourceFactory.java:288) org.apache.myfaces.custom.tree2.HtmlTreeRenderer.encodeJavascript(HtmlTreeRenderer.java:611) org.apache.myfaces.custom.tree2.HtmlTreeRenderer.encodeBegin(HtmlTreeRenderer.java:152) javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:512)  I googled for this also did the required changes.here are the links i visited.1) http://wiki.apache.org/myfaces/Upgrading_to_Tomahawk_1.1.3  2) http://www.mail-archive.com/users@myfaces.apache.org/msg23110.html 
 3) http://www.mail-archive.com/users@myfaces.apache.org/msg23094.html        Here's my web.xml  http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee  http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">  
 javax.faces.STATE_SAVING_METHOD  client      org.apache.myfaces.ALLOW_JAVASCRIPT  true      org.apache.myfaces.DETECT_JAVASCRIPT  false      org.apache.myfaces.PRETTY_HTML  true      org.apache.myfaces.AUTO_SCROLL  true     
   javax.faces.CONFIG_FILES  /WEB-INF/faces-config.xml         org.apache.myfaces.webapp.StartupServletContextListener       MyFacesExtensionsFilter    org.apache.myfaces.webapp.filter.ExtensionsFilter     maxFileSize   20m         MyFacesExtensionsFilter    *.jsp       MyFacesExtensionsFilter  /faces/myFacesExtensionResource/*  Faces Servlet 
 javax.faces.webapp.FacesServlet  1      Faces Servlet  *.faces      Please help me out in fixing this exception.im sure lot of people must have encountered this exception.        Thanks  Ved 
		Do you Yahoo!? 
Get on board. You're invited to try the new Yahoo! Mail Beta.

Re: t:inputCalendar Renders Incorrectly

2006-06-26 Thread Mike Duffy
I found this in a Google search:

I believe you will need to include the Date.js, popcalendar_init.js, and
popcalendar.js (in that order) in the head of your jsp.  I was receiving
javascript errors as well because it needs those javascript files to set up
the javascript calendar.  Try that and let me know if it solves anything.

http://mail-archives.apache.org/mod_mbox/myfaces-users/200606.mbox/[EMAIL 
PROTECTED]

Does anyone have a working example using these files (Date.js, 
popcalendar_init.js, and
popcalendar.js)?

Also, setting styles for the t:inputCalendar has been impossible for me.  Found 
some sympathy in
another post:

No matter what I do, I can't get the popup calendar to use a different style or 
theme.

No matter what I put in popupTheme and even if I remove the attribute entirely, 
the popup renders
exactly the same... as if there were no styles at all on the table elements. It 
finds the images,
but none of the styles are set properly.

Help?

http://forum.java.sun.com/thread.jspa?threadID=730626&messageID=4205104

Any suggestions?

The Wiki only has a reference to the documentation page which is sparse and 
does not have a clear
link to an example (http://myfaces.apache.org/tomahawk/calendar.html).

The MyFaces example set has not been updated for the current release
(http://www.irian.at/myfaces/calendar.jsf).

Please help.

Mike



--- Mike Duffy <[EMAIL PROTECTED]> wrote:

> 
>weekRowClass="weekHeader"
>   currentDayCellClass="currentDayCell" 
> value="#{issueCreate.estimatedStartDate}" 
>   renderAsPopup="true"
>   popupTodayString="someString" popupWeekString="someOtherString"/>
> 
> I am using the latest and greatest of both Tomahawk and MyFaces.  
> t:inputCalendar used to work
> correctly.  Now, the icon image appears several lines below the text box and 
> the calendar
> renders
> as a hidden div not as a popup.
> 
> Any suggestions?
> 
> Thx.
> 
> Mike
> 
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: [OT] JSF and JVM performance

2006-06-26 Thread Jesse Sightler
Indeed, these results are much closer to what I would have expected.  And I also agree that you should try JRockit as it is often faster than Sun's (and quite stable as well).-- Jess
On 6/26/06, Jeff Bischoff <[EMAIL PROTECTED]> wrote:
Well in my initial tests, I did a smaller query first to warm things up.But it was really only a quick run of each, as I had other things to do.Unfortunately, this real-world tests may have led me to an erroroneous
conclusion. My further investigations today still did not have thecontrols and repetition for definitive results, but they are at least alittle better.What I did for each was start JBoss, run the test twice, log off and
wait 5 minutes, test twice... repeat...I did have a couple of poor runs at the beginning, but I now believethis to be an OS issue(memory paging?), rather than a VM issue (itoccured this time on the client VM).
Here's some of my runs:(results in seconds)Client VM   Server VM(Load)Run125  22Run217  15(Pause)Run343  18Run425  13
(Pause)Run518  13Run619  18Median  20  17Average 24.516.5The server definately takes longer to display the first JSP page (nottimed), but it doesn't show any disadvantage in the first search. Seems
my original conclusions were misleading, and the server VM may be a bitfaster. > Also have you tried running it on the Jrockit JVM? It consistently > outscores sunVMs on appserver profiles.
BEA JRockit? Hmm that would be interesting to compare, but I highlydoubt I could convince my boss to use a JVM other than Sun's! ;)As it stands, performance seems much more acceptable than thatoff-the-cuff test indicated.
Thanks for your responses,Jeff BischoffKenneth L Kurz & Assoc, Inc.Dhananjay Prasanna wrote:> 
>> *From:* Jesse Sightler [mailto:[EMAIL PROTECTED]]> *Sent:* Saturday, 24 June 2006 11:36 AM> *To:* MyFaces Discussion> *Subject:* Re: [OT] JSF and JVM performance
 How many times did you run your performance test?  Were you timing the> first run, or timing some runs after giving it some stress and then a> quick breather? :)>> 
>> On 6/23/06, *Jeff Bischoff* <[EMAIL PROTECTED]> [EMAIL PROTECTED]>> wrote:>> I have noticed that Myfaces seems to perform better while running on the
>   Hotspot Client (default) jvm, rather than the Hotspot Server jvm. Have> any of you noticed this too?>> I would be very interested in this test too, as Jess says more detailed> metrics would really help.
>> Also have you tried running it on the Jrockit JVM? It consistently> outscores sunVMs on appserver profiles.>>> Jeff Bischoff> Kenneth L Kurz & Assoc>>
>> This correspondence is for the named persons only.> It may contain confidential or privileged information or both.> No confidentiality or privilege is waived or lost by any mis transmission.
> If you receive this correspondence in error please delete it from your> system immediately and notify the sender.> You must not disclose, copy or relay on any part of this correspondence,> if you are not the intended recipient.
> Any opinions expressed in this message are those of the individual> sender except where the sender expressly,> and with the authority, states them to be the opinions of the Department> of Emergency Services, Queensland.
>


Re: Any myFaces presentations at ApacheCon US this year?

2006-06-26 Thread Sean Schofield

Matthias,

Are you planning on another presentation again this year?  Hopefully
someone will be there to represent MyFaces.  I'm hoping to attend but
I probably won't have time to prepare a presentation.

Sean

On 6/26/06, David Chandler <[EMAIL PROTECTED]> wrote:


Hello,

Just wondering if there is any interest in myFaces at ApacheCon US in Oct.
The Call for Papers
(http://www.us.apachecon.com/html/cfp-form.html) doesn't
seem to have a topic for it unless it's under the "ASF" umbrella?

I've done some work on Internet banking software to secure myFaces against
the oWASP Top Ten attacks (especially forced browsing prevention and
paramter tampering / information hiding in menu options). Is anyone
interested in meeting to discuss JSF security at ApacheConUS?



David Chandler
Java Web Developer


Re: [OT] IntelliJ windows / linux compatibility

2006-06-26 Thread Gilles DEMARTY

among other solution :

man dos2unix
in vi, the magic command : :%s/$/\r/

if you use version control, svn can force a particular line separator format.

don't find any clue on how to set it in intellij, tough
anyway, You can set it for new line in the coding style.
(Properties|Coding style|General). Look in the help (search for line
separator) for further info.

And you're right, it's definitely off topic.


2006/6/26, Sorin Silaghi <[EMAIL PROTECTED]>:

Hello all,

   This is offtopic, I hope you don't mind
 I'm using IntelliJ on linux and whenever I send something I
make to someone with windows they see all the files as one row (the usual
problem... ). Dose anybody know how to convert them for windows (add the CR
:)??? And has anybody had any other compatibility problems  ???

10x

--
Don't talk it, Walk it!


Re: How can I display radio buttons in 2 columns? (Solved and Documented)

2006-06-26 Thread Bruno Aranda

Thanks Paul!

Bruno

On 6/26/06, Paul Spencer <[EMAIL PROTECTED]> wrote:

Based on post to this thread and some trail & error, I have found a
solution and documented it in the wiki.
   http://wiki.apache.org/myfaces/Display_Radio_Buttons_In_Columns

Paul Spencer


Paul Spencer wrote:
> I thought about using a  inside , see
> below.  No error where produced and no output.
>
>  
> var="report" >
>  
>
>  
>
>  
>
> Should this work?
>
>
> Paul Spencer
>
>
> Paul Spencer wrote:
>> Volker,
>>
>> The examples are in panelstack.jsp and selectbox.jsp.   does
>> not appear to be work well with a dynamic list of selectItems, i.e.
>> the select items are from a backing bean and they are to be displayed
>> in 2 columns.
>>
>>
>> Paul Spencer
>>
>> Volker Weber wrote:
>>> Hi,
>>>
>>> see
>>>  http://myfaces.apache.org/tomahawk/tlddoc/t/radio.html
>>>
>>> there should be an example in simple.war
>>>
>>> regards,
>>>
>>>Volker
>>>
>>>
>>> 2006/6/14, Paul Spencer <[EMAIL PROTECTED]>:
 Fintan,
 Visually is it is the same concept, but how do I implement it with with
 radio buttons?

 I have seen references to the layout "spread", but I have not seen an
 example of it's use. So I am not sure if this is the solution.

 BTW the Newspaper Table has been deprecated.

 Paul Spencer


 Conway. Fintan (IT Solutions) wrote:
 > Hi Paul,
 >
 > Would the Newspaper Table component work?
 > http://myfaces.apache.org/tomahawk/newspaperTable.html
 >
 > Regards,
 >
 > Fintan
 >
 > -Original Message-
 > From: Paul Spencer [mailto:[EMAIL PROTECTED]
 > Sent: 13 June 2006 17:57
 > To: MyFaces Discussion
 > Subject: How can I display radio buttons in 2 columns?
 >
 >
 > I would like to display a long list of radio buttons in 3 columns?
 >
 > Paul Spencer
 >
 >
 > * ** *** ** * ** *** ** * ** *** ** *
 > This email and any files transmitted with it are confidential and
 > intended solely for the use of the individual or entity to whom they
 > are addressed.
 > Any views or opinions presented are solely those of the author,
 and do not necessarily  represent those of ESB.
 > If you have received this email in error please notify the sender.
 >
 > Although ESB scans e-mail and attachments for viruses, it does not
 guarantee
 > that either are virus-free and accepts no liability for any damage
 sustained
 > as a result of viruses.
 >
 > * ** *** ** * ** *** ** * ** *** ** *
 >
 >


>>>
>>
>>
>
>




Re: How can I display radio buttons in 2 columns? (Solved and Documented)

2006-06-26 Thread Paul Spencer
Based on post to this thread and some trail & error, I have found a 
solution and documented it in the wiki.

  http://wiki.apache.org/myfaces/Display_Radio_Buttons_In_Columns

Paul Spencer


Paul Spencer wrote:
I thought about using a  inside , see 
below.  No error where produced and no output.


 
   
 
   
 
   
 

Should this work?


Paul Spencer


Paul Spencer wrote:

Volker,

The examples are in panelstack.jsp and selectbox.jsp.   does 
not appear to be work well with a dynamic list of selectItems, i.e. 
the select items are from a backing bean and they are to be displayed 
in 2 columns.



Paul Spencer

Volker Weber wrote:

Hi,

see
 http://myfaces.apache.org/tomahawk/tlddoc/t/radio.html

there should be an example in simple.war

regards,

   Volker


2006/6/14, Paul Spencer <[EMAIL PROTECTED]>:

Fintan,
Visually is it is the same concept, but how do I implement it with with
radio buttons?

I have seen references to the layout "spread", but I have not seen an
example of it's use. So I am not sure if this is the solution.

BTW the Newspaper Table has been deprecated.

Paul Spencer


Conway. Fintan (IT Solutions) wrote:
> Hi Paul,
>
> Would the Newspaper Table component work?
> http://myfaces.apache.org/tomahawk/newspaperTable.html
>
> Regards,
>
> Fintan
>
> -Original Message-
> From: Paul Spencer [mailto:[EMAIL PROTECTED]
> Sent: 13 June 2006 17:57
> To: MyFaces Discussion
> Subject: How can I display radio buttons in 2 columns?
>
>
> I would like to display a long list of radio buttons in 3 columns?
>
> Paul Spencer
>
>
> * ** *** ** * ** *** ** * ** *** ** *
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed.
> Any views or opinions presented are solely those of the author, 
and do not necessarily  represent those of ESB.

> If you have received this email in error please notify the sender.
>
> Although ESB scans e-mail and attachments for viruses, it does not 
guarantee
> that either are virus-free and accepts no liability for any damage 
sustained

> as a result of viruses.
>
> * ** *** ** * ** *** ** * ** *** ** *
>
>














Any myFaces presentations at ApacheCon US this year?

2006-06-26 Thread David Chandler
Hello,
 
Just wondering if there is any interest in myFaces at ApacheCon US in Oct. The Call for Papers (http://www.us.apachecon.com/html/cfp-form.html) doesn't seem to have a topic for it unless it's under the "ASF" umbrella?

 
I've done some work on Internet banking software to secure myFaces against the oWASP Top Ten attacks (especially forced browsing prevention and paramter tampering / information hiding in menu options). Is anyone interested in meeting to discuss JSF security at ApacheConUS?

 

David Chandler
Java Web Developer


[OT] IntelliJ windows / linux compatibility

2006-06-26 Thread Sorin Silaghi
Hello all,   This is offtopic, I hope you don't mind             I'm using IntelliJ on linux and whenever I send something I make to someone with windows they see all the files as one row (the usual problem... ). Dose anybody know how to convert them for windows (add the CR :)??? And has anybody had any other compatibility problems  ???
10x-- Don't talk it, Walk it!


Re: Error page in JSF - facelets

2006-06-26 Thread Andrew Robinson

Actually the error page works fine for exceptions and such, just not
404. I think the problem is the filters I am using. I am using the
following filters:

AjaxAnywhere
Seam Exceptions
Seam Redirect
MyFaces Extensions

One of them must be calling the getOutputStream. If the JSF file
doesn't exist, the response is still open, which it should not be (the
get output stream should not be called until the render response
phase). One of these filters must not be checking the status code
before calling the get output stream method. It may be the extensions
filter, as I have seen this posted about it before (but people thought
it was fixed in 1.2, so maybe not?)

-Andrew

On 6/26/06, Rick <[EMAIL PROTECTED]> wrote:

No. I don't believe there is a way, but it likely depends on your app
server.

What I usually do (so I can share my facelet template with my error page),
is just forward from my jsp error page to my facelet error page.

Error.jsp



Where realError.faces is my Facelet page and "faces" is mapped to my Faces
Servlet.



-Original Message-
From: Andrew Robinson [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 24, 2006 3:19 PM
To: MyFaces Discussion; Facelets users
Subject: Error page in JSF - facelets

I am trying to get a JSF error page to work ( registered
in web.xml). I am using the following jars:

Facelets 1.0.14
MyFaces Core 1.1.3
Tomahawk 1.1.2

When I get a 404 error (or another error) I get the following error:

java.lang.IllegalStateException: getOutputStream() has already been
called for this response
at ...
at com.sun.facelets.FaceletViewHandler.renderFiew(FaceletViewHandler:381)

Config:


  404
  /displayError.jsf


The error is or is related to
http://issues.apache.org/jira/browse/TOMAHAWK-78

However, that page does not seem to help at all. Is there any way to
get a jsf/xhtml (not jsf/jsp) to serve as an error page?

-Andrew





Re: shared - impl or tomahawk [was: Re: Component like panelGrid with ul

2006-06-26 Thread John Ruffin

I want to create a horizontal list and have each surrounded by a commandLink. 
I thought I could do something like this:

---  Piece from java class
public SimpleNavItems(String displayValue, String goToText){
this.displayValue = displayValue;
this.goToText = goToText;
}

--- piece from backing bean - SearchForm
public List getNavItems() {
ArrayList l = new ArrayList();
l.add(new SimpleNavItems("Home", "toHomePage"));
l.add(new SimpleNavItems("Create new customer", 
"toCreateNewCustomer"));
l.add(new SimpleNavItems("Find existing customer", 
"toFindCustomer"));
return l;   
}

--- piece from .faces









The list shows like I want but the commandLink doesn't work inside a table. 
Is Matt's solution a workaround for this?  Tomahawk1.1.14.
--
View this message in context: 
http://www.nabble.com/Component-like-panelGrid-with-ul-and-li-t1668669.html#a5052296
Sent from the MyFaces - Users forum at Nabble.com.



Re: [OT] JSF and JVM performance

2006-06-26 Thread Jeff Bischoff
Well in my initial tests, I did a smaller query first to warm things up. 
But it was really only a quick run of each, as I had other things to do.


Unfortunately, this real-world tests may have led me to an erroroneous 
conclusion. My further investigations today still did not have the 
controls and repetition for definitive results, but they are at least a 
little better.


What I did for each was start JBoss, run the test twice, log off and 
wait 5 minutes, test twice... repeat...


I did have a couple of poor runs at the beginning, but I now believe 
this to be an OS issue(memory paging?), rather than a VM issue (it 
occured this time on the client VM).


Here's some of my runs:
(results in seconds)

Client VM   Server VM

(Load)
Run125  22
Run217  15
(Pause)
Run343  18
Run425  13
(Pause)
Run518  13
Run619  18

Median  20  17
Average 24.516.5

The server definately takes longer to display the first JSP page (not 
timed), but it doesn't show any disadvantage in the first search. Seems 
my original conclusions were misleading, and the server VM may be a bit 
faster.



> Also have you tried running it on the Jrockit JVM? It consistently
> outscores sunVMs on appserver profiles.

BEA JRockit? Hmm that would be interesting to compare, but I highly 
doubt I could convince my boss to use a JVM other than Sun's! ;)


As it stands, performance seems much more acceptable than that 
off-the-cuff test indicated.


Thanks for your responses,

Jeff Bischoff
Kenneth L Kurz & Assoc, Inc.

Dhananjay Prasanna wrote:
 

 




*From:* Jesse Sightler [mailto:[EMAIL PROTECTED]
*Sent:* Saturday, 24 June 2006 11:36 AM
*To:* MyFaces Discussion
*Subject:* Re: [OT] JSF and JVM performance

 

How many times did you run your performance test?  Were you timing the 
first run, or timing some runs after giving it some stress and then a 
quick breather? :)




On 6/23/06, *Jeff Bischoff* <[EMAIL PROTECTED] 
> wrote:


I have noticed that Myfaces seems to perform better while running on the
  Hotspot Client (default) jvm, rather than the Hotspot Server jvm. Have
any of you noticed this too?

I would be very interested in this test too, as Jess says more detailed 
metrics would really help.


Also have you tried running it on the Jrockit JVM? It consistently 
outscores sunVMs on appserver profiles.



Jeff Bischoff
Kenneth L Kurz & Assoc

 


This correspondence is for the named persons only.
It may contain confidential or privileged information or both.
No confidentiality or privilege is waived or lost by any mis transmission.
If you receive this correspondence in error please delete it from your 
system immediately and notify the sender.
You must not disclose, copy or relay on any part of this correspondence, 
if you are not the intended recipient.
Any opinions expressed in this message are those of the individual 
sender except where the sender expressly,
and with the authority, states them to be the opinions of the Department 
of Emergency Services, Queensland.







Re: creating datatable at runtime

2006-06-26 Thread Maria G

Hi Cagatay,
Thank you for your reply. 
The link you sent was useful. But he didn't say any steps about how to
create dynamic table also that component is still under developement. 

Thanks,
Maria

--
View this message in context: 
http://www.nabble.com/creating-datatable-at-runtime-t1849326.html#a5050249
Sent from the MyFaces - Users forum at Nabble.com.



RE: Updgrading from MyFaces/Tomahawk 1.1.1 to MyFaces/Tomahawk 1.1.3

2006-06-26 Thread Rick
Yes.

-Original Message-
From: Dennis Byrne [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 26, 2006 9:17 AM
To: MyFaces Discussion
Subject: Re: Updgrading from MyFaces/Tomahawk 1.1.1 to MyFaces/Tomahawk
1.1.3 

Hi Rick,

Can you please put this info in the wiki ?

http://wiki.apache.org/myfaces/Upgrading_to_Tomahawk_1%2e1%2e3

Dennis Byrne

>-Original Message-
>From: Rick Hightower [mailto:[EMAIL PROTECTED]
>Sent: Monday, June 26, 2006 12:03 PM
>To: ''MyFaces Discussion''
>Subject: Updgrading from MyFaces/Tomahawk 1.1.1 to MyFaces/Tomahawk 1.1.3 
>
>Recently while developing a project, an issue was found with Tomahawk's
Tree
>Table support. To rectify the issue, I downloaded the latest version of
>Tomahawk and MyFaces to see if the issue went away (it did not). Along the
>way, I ran into several road blocks to using Tomahawk 1.1.3. 
>
>These issues were not mentioned in the release notes.
>
>To get Tomahawk to work correctly, new jar files are needed. However, said
>jar files were not in the Maven ibilio repo so I changed the pom.xml to
>point to the new repo as follows:
>
>  
>
>
>
>  apache-repo
>
>  apache-repo
>
> 
>http://myfaces.zones.apache.org/dist/maven-repository
>
>
>
>
>
>  ibiblio
>
>  ibiblio
>
>  http://www.ibiblio.org/maven2
>
>
>
>  
>
>Here is the complete list of jar files that were needed:
>
>
>
>  org.apache.myfaces.core
>
>  myfaces-impl
>
>  1.1.3
>
>  compile
>
>  jar
>
>
>
>
>
>  org.apache.myfaces.core
>
>  myfaces-api
>
>  1.1.3
>
>  compile
>
>  jar
>
>
>
>
>
>  org.apache.myfaces.tomahawk
>
>  tomahawk
>
>  1.1.3
>
>  compile
>
>  jar
>
>
>
>In addition to the  needed a new jar, the support classes package structure
>changed.
>
>This necessitated two changes to web.xml as follows:
>
>The filter class name changed:
>
>
>
>extensionsFilter
>
> 
>org.apache.myfaces.webapp.filter.ExtensionsFilters>
>
>...
>
> 
>
>As did the Source code servlet class name as follows:
>
>  
>
>SourceCodeServlet
>
>
>
> 
>org.apache.myfaces.shared_tomahawk.util.servlet.SourceCodeServlet
>
>
>
>  
>
>This is all I could think of that I changed.
>
> 
>
>Off topic: 
>
>I was able to hack the tree renderer to add extra style classes to the tree
>so I could control the vertical alignment of the nodes.
>
> 
>
>http://www.jroller.com/page/RickHigh?entry=updgrading_from_myfaces_1_1
>
> 
>
>






Re: Updgrading from MyFaces/Tomahawk 1.1.1 to MyFaces/Tomahawk 1.1.3

2006-06-26 Thread Dennis Byrne
Hi Rick,

Can you please put this info in the wiki ?

http://wiki.apache.org/myfaces/Upgrading_to_Tomahawk_1%2e1%2e3

Dennis Byrne

>-Original Message-
>From: Rick Hightower [mailto:[EMAIL PROTECTED]
>Sent: Monday, June 26, 2006 12:03 PM
>To: ''MyFaces Discussion''
>Subject: Updgrading from MyFaces/Tomahawk 1.1.1 to MyFaces/Tomahawk 1.1.3 
>
>Recently while developing a project, an issue was found with Tomahawk's Tree
>Table support. To rectify the issue, I downloaded the latest version of
>Tomahawk and MyFaces to see if the issue went away (it did not). Along the
>way, I ran into several road blocks to using Tomahawk 1.1.3. 
>
>These issues were not mentioned in the release notes.
>
>To get Tomahawk to work correctly, new jar files are needed. However, said
>jar files were not in the Maven ibilio repo so I changed the pom.xml to
>point to the new repo as follows:
>
>  
>
>
>
>  apache-repo
>
>  apache-repo
>
> 
>http://myfaces.zones.apache.org/dist/maven-repository
>
>
>
>
>
>  ibiblio
>
>  ibiblio
>
>  http://www.ibiblio.org/maven2
>
>
>
>  
>
>Here is the complete list of jar files that were needed:
>
>
>
>  org.apache.myfaces.core
>
>  myfaces-impl
>
>  1.1.3
>
>  compile
>
>  jar
>
>
>
>
>
>  org.apache.myfaces.core
>
>  myfaces-api
>
>  1.1.3
>
>  compile
>
>  jar
>
>
>
>
>
>  org.apache.myfaces.tomahawk
>
>  tomahawk
>
>  1.1.3
>
>  compile
>
>  jar
>
>
>
>In addition to the  needed a new jar, the support classes package structure
>changed.
>
>This necessitated two changes to web.xml as follows:
>
>The filter class name changed:
>
>
>
>extensionsFilter
>
> 
>org.apache.myfaces.webapp.filter.ExtensionsFilters>
>
>...
>
> 
>
>As did the Source code servlet class name as follows:
>
>  
>
>SourceCodeServlet
>
>
>
> 
>org.apache.myfaces.shared_tomahawk.util.servlet.SourceCodeServlet
>
>
>
>  
>
>This is all I could think of that I changed.
>
> 
>
>Off topic: 
>
>I was able to hack the tree renderer to add extra style classes to the tree
>so I could control the vertical alignment of the nodes.
>
> 
>
>http://www.jroller.com/page/RickHigh?entry=updgrading_from_myfaces_1_1
>
> 
>
>




Re: creating datatable at runtime

2006-06-26 Thread Cagatay Civici
Hi,My friend's entry might be useful;http://www.jroller.com/page/hasant?entry=creating_dynamic_datatable_inside_of
Regards,CagatayOn 6/26/06, Maria G <[EMAIL PROTECTED]> wrote:
Hi Julian,Thank you for your reply.Is it possible to get some example from online? I don't have the book with
me now :(Thanks,Maria--View this message in context: http://www.nabble.com/creating-datatable-at-runtime-t1849326.html#a5049742
Sent from the MyFaces - Users forum at Nabble.com.


RE: creating datatable at runtime

2006-06-26 Thread Maria G

Hi Julian,
Thank you for your reply. 
Is it possible to get some example from online? I don't have the book with
me now :(

Thanks,
Maria
--
View this message in context: 
http://www.nabble.com/creating-datatable-at-runtime-t1849326.html#a5049742
Sent from the MyFaces - Users forum at Nabble.com.



RE: Tutorial on how to create a custom JSF components library

2006-06-26 Thread Rick
Thanks Bruno.

-Original Message-
From: Bruno Aranda [mailto:[EMAIL PROTECTED] 
Sent: Sunday, June 25, 2006 11:24 AM
To: MyFaces Discussion
Subject: Tutorial on how to create a custom JSF components library

Hi there,

I have just created a tutorial [1] on how to create your custom JSF
components library. It uses the (not released yet) MyFaces JSF
Components Archetype to generate the project structure and explains
how to implement a new component, by analysing the example component
that comes with the archetype.

Hope you find it useful!

Bruno

[1] http://brunoaranda.googlepages.com/jsfcomponentsarchetype2




RE: Error page in JSF - facelets

2006-06-26 Thread Rick
No. I don't believe there is a way, but it likely depends on your app
server. 

What I usually do (so I can share my facelet template with my error page),
is just forward from my jsp error page to my facelet error page.

Error.jsp



Where realError.faces is my Facelet page and "faces" is mapped to my Faces
Servlet.



-Original Message-
From: Andrew Robinson [mailto:[EMAIL PROTECTED] 
Sent: Saturday, June 24, 2006 3:19 PM
To: MyFaces Discussion; Facelets users
Subject: Error page in JSF - facelets

I am trying to get a JSF error page to work ( registered
in web.xml). I am using the following jars:

Facelets 1.0.14
MyFaces Core 1.1.3
Tomahawk 1.1.2

When I get a 404 error (or another error) I get the following error:

java.lang.IllegalStateException: getOutputStream() has already been
called for this response
at ...
at com.sun.facelets.FaceletViewHandler.renderFiew(FaceletViewHandler:381)

Config:


  404
  /displayError.jsf


The error is or is related to
http://issues.apache.org/jira/browse/TOMAHAWK-78

However, that page does not seem to help at all. Is there any way to
get a jsf/xhtml (not jsf/jsp) to serve as an error page?

-Andrew




RE: creating datatable at runtime

2006-06-26 Thread Julian Ray
Hi Maria,

The book "Core JavaServer Faces" has a whole chapter on using datatables
with lots of examples which you might want to take a look at.

-Original Message-
From: Maria G [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 26, 2006 10:37 AM
To: users@myfaces.apache.org
Subject: creating datatable at runtime


Hi All,
 
I have a requirement to create datatables at runtime. I will get the number
of table to be created at runtime and I have to create the table with the
columns that are fixed. 
 
Can anyone please tell me, how to do this? How to create a table at rum
time? It will more helpful, If I can find any example. 

Thank you.
 
Maria
--
View this message in context:
http://www.nabble.com/creating-datatable-at-runtime-t1849326.html#a5048137
Sent from the MyFaces - Users forum at Nabble.com.



creating datatable at runtime

2006-06-26 Thread Maria G

Hi All,
 
I have a requirement to create datatables at runtime. I will get the number
of table to be created at runtime and I have to create 
the table with the columns that are fixed. 
 
Can anyone please tell me, how to do this? How to create a table at rum
time? It will more helpful,
If I can find any example. 

Thank you.
 
Maria
--
View this message in context: 
http://www.nabble.com/creating-datatable-at-runtime-t1849326.html#a5048137
Sent from the MyFaces - Users forum at Nabble.com.



Duplicated menu-items in a combimnation of tiles and panelNavigation2

2006-06-26 Thread janw

Hello,

I'm new to JSF and have propably a typical beginner's problem.
I'm using tiles, analogously to the tiles example: a header area, a
navigation area on the left (panelNavigation2) and the actual content.
The content may contain a dataScroller. Clicking a navigation link of the
dataScroller (Next, Previous, no matter which) leads to the following
result:
The menu-items are tripled, i.e. each menu item appears three times! The
order is like this:
- Menu_Item_1
- Menu_Item_2
- Menu_Item_3
- Menu_Item_1
- Menu_Item_1
- Menu_Item_2
- Menu_Item_2
- Menu_Item_3
- Menu_Item_3

The template (template.jsp) and the tiles.xml are almost like those in the
example project from ExadelStudio.

If anyone has a deja-vu or an idea what the reason may be, any hints are
appreciated.
Please excuse if this is a too simple question, but I didn't know of any
other myfaces forum.

Best regards
Jan




The source code for the page that contains the dynamic menu and the page
that contains the dataTable:

--
menu_dynamic.jsp:
--
<%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk"; prefix="t"%>
<%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h"%>


  

  

  

  
  






--
order_overview.jsp:
--



  

  

  

  
  

  
  

  

  




  




  

  

  

  
  


  


--
View this message in context: 
http://www.nabble.com/Duplicated-menu-items-in-a-combimnation-of-tiles-and-panelNavigation2-t1849193.html#a5047742
Sent from the MyFaces - Users forum at Nabble.com.



NoSuchElementException in HtmlSelectOneMenu

2006-06-26 Thread Michael Heinen








I got the following exception in my log today:

 

java.util.NoSuchElementException

    at
java.util.AbstractList$Itr.next(Unknown Source)

    at
java.util.AbstractList.removeRange(Unknown Source)

    at
java.util.AbstractList.clear(Unknown Source)

    at
com.recommind.annotation.controller.SearchController.getPublicSearchesMenu(SearchController.java:897)

    ...

    

SearchController:

public UISelectOne
getPublicSearchesMenu() {

    if
(this.publicSearchesMenu==null){

    this.publicSearchesMenu
= new HtmlSelectOneMenu(); 

    }

     

        this.publicSearchesMenu.getChildren().clear();    //***LINE
897***

     

Has anybody an idea why this is thrown?

 

Michael








Re: InputDate Validation ?

2006-06-26 Thread Cagatay Civici
Hi,The client validation in myfaces is designed to run at onsubmit event of the form but I think stuff like these can be very handy for the onkeypress events. (maxlength, integer only)If there is a NumberConverter with integeronly set true, onkeypress can be decorated to call js events. This is similar to the topic I've discussed with Martin once, "the client side converters".
Cagatay,On 6/26/06, Mert Çalışkan <[EMAIL PROTECTED]> wrote:
I did a similiar thing for UIInput components before. With _javascript_ calls the user was only capable of inputting numeric characters. 
You can use a _javascript_ like that, but you should also check for the keyCode for "." hence the code only checks for 0-9 numeric inputs.
 
http://www.jroller.com/page/mert?entry=disabling_non_numeric_character_input

Cagatay will you add scripting stuff like that to the client-side validation of myfaces?
What's the plan?
 
Regards,
 
Mert
 
On 6/26/06, Cagatay Civici <[EMAIL PROTECTED]
> wrote:

Hi,This is because converter takes place before the validators.Maybe you could try some _javascript_ tricks to disable user from submitting invalid data? 
Cagatay

On 6/26/06, José Luis / Dpto Informatica <[EMAIL PROTECTED]
> wrote: 




Hi,
 
Is there any way to validate what the user inputs in the InputDate control ?
If a user input a character in the day field then I get the next error :
 

java.lang.NumberFormatException
: For input string: "A"    java.lang.NumberFormatException.forInputString
(NumberFormatException.java:48)    


java.lang.Integer.parseInt(Integer.java:447)


    java.lang.Integer.parseInt(Integer.java:497)    org.apache.myfaces.custom.date.HtmlInputDate$UserData.parse
(HtmlInputDate.java:208)    org.apache.myfaces.custom.date.HtmlDateRenderer.getConvertedValue
(HtmlDateRenderer.java:277)    javax.faces.component.UIInput.getConvertedValue
(UIInput.java:289)    javax.faces.component.UIInput.validate(UIInput.java
:265)    javax.faces.component.UIInput.processValidators(UIInput.java:144)


    javax.faces.component.UIForm.processValidators(UIForm.java:68)

    javax.faces.component.UIComponentBase.processValidators


(UIComponentBase.java:417)    javax.faces.component.UIViewRoot.processValidators
(UIViewRoot.java:142)    org.apache.myfaces.lifecycle.LifecycleImpl.processValidations
(LifecycleImpl.java:240)    
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76)
    

javax.faces.webapp.FacesServlet.service(FacesServlet.java:106)


    org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)


    org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)

 
I've tried writing a validator method in mi backing bean but before I could read the new value the error has already been 

tigered.
 
Thank you very much in advance.
 
 




AW: Output Html-Text in Facelet

2006-06-26 Thread Chen, Wei
Thanks for the reply. But is there any other way not using the dataList but 
somewhat like a jsp-tag to do that? I mean if there was a tag which can print 
out the text in html-format as follow? 

name-1   val-1
name-2   val-2
...
name-n   val-n

The reason is: I have to prepare the output text with html-tags in run-time and 
print it out in html format.



-Ursprüngliche Nachricht-
Von: Gilles DEMARTY [mailto:[EMAIL PROTECTED] 
Gesendet: Montag, 26. Juni 2006 14:01
An: MyFaces Discussion
Betreff: Re: Output Html-Text in Facelet

You can use the t:panelgrid to rendre that kind of display if n is constant.
otherwise, you can use the t:dataList if n vary.




2006/6/26, Chen, Wei <[EMAIL PROTECTED]>:
>
>
>
> Hi all,
>
> asummed I have the following html-text/code as a string:
>
> ...
> 
> name-1val-1
> name-2val-2
> ...
> name-nval-n
> 
>
> What a tag should I use to print it out? (surely without the 
> html-tags)
>
> Regards




Re: [tobago] sheet

2006-06-26 Thread Philippe Hennes
hi alexandre,

have you set height and width attributes for the page?
e.g.: 
  

at the moment the sheet is not rendered correctly when there are no
values set from the outside elements.

regards
phil

Alexandre Jaquet wrote:
> Hi,
> 
> Does anyone could explain me how columns attribute works, I'm trying to
> create two columns with 50px.:
> *columns="50px;50px" *but nothing appends
> 
> Regards
> 

-- 
Philippe Hennes - Web Developer - Atanion GmbH
Software Development - Bismarckstrasse 13 - 26122 Oldenburg - Germany
phone +49 441 4082321 - mobile +49 173 2432664 - fax +49 441 4082333
mailto:[EMAIL PROTECTED] - http://www.atanion.com




Re: [tobago] sheet

2006-06-26 Thread Udo Schnurpfeil

sounds strange, you may try columns="*;*"

Regards

Udo

Alexandre Jaquet schrieb:

Hi,

Does anyone could explain me how columns attribute works, I'm trying to 
create two columns with 50px.:

*columns="50px;50px" *but nothing appends

Regards



Re: InputDate Validation ?

2006-06-26 Thread Cagatay Civici
Hi,

The client validation in myfaces is designed to run at onsubmit event
of the form but I think stuff like these can be very handy for the
onkeypress events. (maxlength, integer only)

If there is a NumberConverter with integeronly set true, onkeypress can
be decorated to call js events. This is similar to the topic I've
discussed with Martin once, "the client side converters".

Cagatay,On 6/26/06, Mert Çalışkan <[EMAIL PROTECTED]> wrote:
I did a similiar thing for UIInput components before. With _javascript_ calls the user was only capable of inputting numeric characters. 
You can use a _javascript_ like that, but you should also check for the keyCode for "." hence the code only checks for 0-9 numeric inputs.
 
http://www.jroller.com/page/mert?entry=disabling_non_numeric_character_input

Cagatay will you add scripting stuff like that to the client-side validation of myfaces?
What's the plan?
 
Regards,
 
Mert
 
On 6/26/06, Cagatay Civici <[EMAIL PROTECTED]
> wrote:

Hi,This is because converter takes place before the validators.Maybe you could try some _javascript_ tricks to disable user from submitting invalid data? 
Cagatay

On 6/26/06, José Luis / Dpto Informatica <[EMAIL PROTECTED]
> wrote: 




Hi,
 
Is there any way to validate what the user inputs in the InputDate control ?
If a user input a character in the day field then I get the next error :
 

java.lang.NumberFormatException
: For input string: "A"    java.lang.NumberFormatException.forInputString
(NumberFormatException.java:48)    


java.lang.Integer.parseInt(Integer.java:447)


    java.lang.Integer.parseInt(Integer.java:497)    org.apache.myfaces.custom.date.HtmlInputDate$UserData.parse
(HtmlInputDate.java:208)    org.apache.myfaces.custom.date.HtmlDateRenderer.getConvertedValue
(HtmlDateRenderer.java:277)    javax.faces.component.UIInput.getConvertedValue
(UIInput.java:289)    javax.faces.component.UIInput.validate(UIInput.java
:265)    javax.faces.component.UIInput.processValidators(UIInput.java:144)


    javax.faces.component.UIForm.processValidators(UIForm.java:68)

    javax.faces.component.UIComponentBase.processValidators


(UIComponentBase.java:417)    javax.faces.component.UIViewRoot.processValidators
(UIViewRoot.java:142)    org.apache.myfaces.lifecycle.LifecycleImpl.processValidations
(LifecycleImpl.java:240)    
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76)
    

javax.faces.webapp.FacesServlet.service(FacesServlet.java:106)


    org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)


    org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)

 
I've tried writing a validator method in mi backing bean but before I could read the new value the error has already been 

tigered.
 
Thank you very much in advance.
 
 




Re: Output Html-Text in Facelet

2006-06-26 Thread Gilles DEMARTY

You can use the t:panelgrid to rendre that kind of display if n is constant.
otherwise, you can use the t:dataList if n vary.




2006/6/26, Chen, Wei <[EMAIL PROTECTED]>:




Hi all,

asummed I have the following html-text/code as a string:

...

name-1val-1
name-2val-2
...
name-nval-n


What a tag should I use to print it out? (surely without the html-tags)

Regards


Output Html-Text in Facelet

2006-06-26 Thread Chen, Wei
Title: Output Html-Text in Facelet






Hi all,


asummed I have the following html-text/code as a string:


...



name-1val-1

name-2val-2

...

name-nval-n




What a tag should I use to print it out? (surely without the html-tags)


Regards





Re: InputDate Validation ?

2006-06-26 Thread Mert Çalışkan
I did a similiar thing for UIInput components before. With _javascript_ calls the user was only capable of inputting numeric characters. 
You can use a _javascript_ like that, but you should also check for the keyCode for "." hence the code only checks for 0-9 numeric inputs.
 
http://www.jroller.com/page/mert?entry=disabling_non_numeric_character_input
Cagatay will you add scripting stuff like that to the client-side validation of myfaces?
What's the plan?
 
Regards,
 
Mert
 
On 6/26/06, Cagatay Civici <[EMAIL PROTECTED]> wrote:

Hi,This is because converter takes place before the validators.Maybe you could try some _javascript_ tricks to disable user from submitting invalid data? 
Cagatay

On 6/26/06, José Luis / Dpto Informatica <[EMAIL PROTECTED]
> wrote: 




Hi,
 
Is there any way to validate what the user inputs in the InputDate control ?
If a user input a character in the day field then I get the next error :
 
java.lang.NumberFormatException
: For input string: "A"    java.lang.NumberFormatException.forInputString

(NumberFormatException.java:48)    

java.lang.Integer.parseInt(Integer.java:447)

    java.lang.Integer.parseInt(Integer.java:497)    org.apache.myfaces.custom.date.HtmlInputDate$UserData.parse

(HtmlInputDate.java:208)    org.apache.myfaces.custom.date.HtmlDateRenderer.getConvertedValue

(HtmlDateRenderer.java:277)    javax.faces.component.UIInput.getConvertedValue

(UIInput.java:289)    javax.faces.component.UIInput.validate(UIInput.java:265)
    javax.faces.component.UIInput.processValidators(UIInput.java:144)

    javax.faces.component.UIForm.processValidators(UIForm.java:68)
    javax.faces.component.UIComponentBase.processValidators

(UIComponentBase.java:417)    javax.faces.component.UIViewRoot.processValidators

(UIViewRoot.java:142)    org.apache.myfaces.lifecycle.LifecycleImpl.processValidations

(LifecycleImpl.java:240)    org.apache.myfaces.lifecycle.LifecycleImpl.execute

(LifecycleImpl.java:76)    

javax.faces.webapp.FacesServlet.service(FacesServlet.java:106)

    org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)

    org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)

 
I've tried writing a validator method in mi backing bean but before I could read the new value the error has already been 
tigered.
 
Thank you very much in advance.
 
 


InputDate Validation ?

2006-06-26 Thread José Luis / Dpto Informatica








Hi,

 

Is there any way to validate
what the user inputs in the InputDate control ?

If a user input a character
in the day field then I get the next error :

 


java.lang.NumberFormatException: For input string: "A"    java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)    java.lang.Integer.parseInt(Integer.java:447)    java.lang.Integer.parseInt(Integer.java:497)    org.apache.myfaces.custom.date.HtmlInputDate$UserData.parse(HtmlInputDate.java:208)    org.apache.myfaces.custom.date.HtmlDateRenderer.getConvertedValue(HtmlDateRenderer.java:277)    javax.faces.component.UIInput.getConvertedValue(UIInput.java:289)    javax.faces.component.UIInput.validate(UIInput.java:265)    javax.faces.component.UIInput.processValidators(UIInput.java:144)    javax.faces.component.UIForm.processValidators(UIForm.java:68)    javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:417)    javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:142)    org.apache.myfaces.lifecycle.LifecycleImpl.processValidations(LifecycleImpl.java:240)    org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76)    javax.faces.webapp.FacesServlet.service(FacesServlet.java:106)    org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)    org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)



 

I’ve tried writing a validator method in mi backing bean but before I could read
the new value the error has already been tigered.

 

Thank you very much in
advance.

 








Re: [tobago] theme is not loaded

2006-06-26 Thread Alexandre Jaquet

Hi Bernd,

This is exactly what I've done, my tobago config file is the following :


 
   richmond
   scarborough
   richmond
 

 tobago-resource
 org/apache/myfaces/tobago/renderkit
 true


but I'm still having trouble.

Bernd Bohmann wrote:

Hello Alexandre,

you have 2 options for configuring themes, see:

http://myfaces.apache.org/tobago/themes.html

Regards

Bernd

Alexandre Jaquet schrieb:

I made a simple test page

<%@ taglib uri="http://myfaces.apache.org/tobago/component"; 
prefix="tc" %>
<%@ taglib uri="http://myfaces.apache.org/tobago/extension"; 
prefix="tx" %>

<%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f" %>
<%@ taglib tagdir="/WEB-INF/tags/layout" prefix="layout" %>


 
   
   
 
   
 
 align="center" >

   
 
   
   
 



but the styles are not loaded, any idea how to fix it ?

Regards







schedule documentation?

2006-06-26 Thread ldr

Is there any documentation for the tomahawk schedule component? especially
how to program the model. The examples uses the SimpleScheduleModel, but how
do I use the interface ScheduleModel and is that preferred. If anyone has
some example code, it would be much appreciated.


thx. in advance, chris
--
View this message in context: 
http://www.nabble.com/schedule-documentation--t1848254.html#a5045057
Sent from the MyFaces - Users forum at Nabble.com.



Re: InputDate Validation ?

2006-06-26 Thread Cagatay Civici
Hi,This is because converter takes place before the validators.Maybe you could try some _javascript_ tricks to disable user from submitting invalid data?CagatayOn 6/26/06, 
José Luis / Dpto Informatica <[EMAIL PROTECTED]> wrote:

















Hi,

 

Is there any way to validate
what the user inputs in the InputDate control ?

If a user input a character
in the day field then I get the next error :

 


java.lang.NumberFormatException
: For input string: "A"    java.lang.NumberFormatException.forInputString
(NumberFormatException.java:48)    
java.lang.Integer.parseInt(Integer.java:447)
    java.lang.Integer.parseInt(Integer.java:497)    org.apache.myfaces.custom.date.HtmlInputDate$UserData.parse
(HtmlInputDate.java:208)    org.apache.myfaces.custom.date.HtmlDateRenderer.getConvertedValue
(HtmlDateRenderer.java:277)    javax.faces.component.UIInput.getConvertedValue
(UIInput.java:289)    javax.faces.component.UIInput.validate(UIInput.java:265)
    javax.faces.component.UIInput.processValidators(UIInput.java:144)
    javax.faces.component.UIForm.processValidators(UIForm.java:68)
    javax.faces.component.UIComponentBase.processValidators
(UIComponentBase.java:417)    javax.faces.component.UIViewRoot.processValidators
(UIViewRoot.java:142)    org.apache.myfaces.lifecycle.LifecycleImpl.processValidations
(LifecycleImpl.java:240)    org.apache.myfaces.lifecycle.LifecycleImpl.execute
(LifecycleImpl.java:76)    
javax.faces.webapp.FacesServlet.service(FacesServlet.java:106)
    org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)
    org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)



 

I've tried writing a validator method in mi backing bean but before I could read
the new value the error has already been tigered.

 

Thank you very much in advance.

 

 









InputDate Validation ?

2006-06-26 Thread José Luis / Dpto Informatica








Hi,

 

Is there any way to validate
what the user inputs in the InputDate control ?

If a user input a character
in the day field then I get the next error :

 


java.lang.NumberFormatException: For input string: "A"    java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)    java.lang.Integer.parseInt(Integer.java:447)    java.lang.Integer.parseInt(Integer.java:497)    org.apache.myfaces.custom.date.HtmlInputDate$UserData.parse(HtmlInputDate.java:208)    org.apache.myfaces.custom.date.HtmlDateRenderer.getConvertedValue(HtmlDateRenderer.java:277)    javax.faces.component.UIInput.getConvertedValue(UIInput.java:289)    javax.faces.component.UIInput.validate(UIInput.java:265)    javax.faces.component.UIInput.processValidators(UIInput.java:144)    javax.faces.component.UIForm.processValidators(UIForm.java:68)    javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:417)    javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:142)    org.apache.myfaces.lifecycle.LifecycleImpl.processValidations(LifecycleImpl.java:240)    org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76)    javax.faces.webapp.FacesServlet.service(FacesServlet.java:106)    org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122)    org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:362)



 

I’ve tried writing a validator method in mi backing bean but before I could read
the new value the error has already been tigered.

 

Thank you very much in advance.

 

 








[tobago] sheet

2006-06-26 Thread Alexandre Jaquet

Hi,

Does anyone could explain me how columns attribute works, I'm trying to 
create two columns with 50px.:

*columns="50px;50px" *but nothing appends

Regards


A question about faclet and jsp-tag

2006-06-26 Thread Chen, Wei
Title: A question about faclet and jsp-tag






Hi all,


Formerly I use self-created jsp-tag to print out the html-code in run-time. My jsp-tag looks as follow:


public class myHtmlOutputTextTag extends BodyTagSupport {

...

    public int doStartTag() {



        // Print the Produktinhalte onto the JSP

        try {

            JspWriter out = pageContext.getOut();


//          out.println(output.toString());

            out.println("this is produktinhalte");

        } catch (Exception e) {

            System.out.println(e);

        }


        return SKIP_BODY;

    }


And I use this tag in the jsf-file as follow:

...

<%@ taglib uri="/WEB-INF/mytag.tld" prefix="mytag" %>

...

...

    

...



Now I change to use facelet. It seems facelet dosen't compatible to jsp. How can I handle it? That means how can I create a tag like jsp-tag I created before?

Regards





Re: [tobago] theme is not loaded

2006-06-26 Thread Bernd Bohmann

Hello Alexandre,

you have 2 options for configuring themes, see:

http://myfaces.apache.org/tobago/themes.html

Regards

Bernd

Alexandre Jaquet schrieb:

I made a simple test page

<%@ taglib uri="http://myfaces.apache.org/tobago/component"; prefix="tc" %>
<%@ taglib uri="http://myfaces.apache.org/tobago/extension"; prefix="tx" %>
<%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f" %>
<%@ taglib tagdir="/WEB-INF/tags/layout" prefix="layout" %>


 
   
   
 
   
 
 align="center" >

   
 
   
   
 



but the styles are not loaded, any idea how to fix it ?

Regards



--
Dipl.-Ing. Bernd Bohmann - Atanion GmbH - Software Development
Bismarckstr. 13, 26122 Oldenburg, http://www.atanion.com
phone: +49 441 4082312, mobile: +49 173 8839471, fax: +49 441 4082333


t:inputCalendar Renders Incorrectly

2006-06-26 Thread Mike Duffy



I am using the latest and greatest of both Tomahawk and MyFaces.  
t:inputCalendar used to work
correctly.  Now, the icon image appears several lines below the text box and 
the calendar renders
as a hidden div not as a popup.

Any suggestions?

Thx.

Mike

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: Tree checkbox

2006-06-26 Thread ould sid'ahmed

Matthias Wessendorf a écrit :
http://myfaces.apache.org/tomahawk/apidocs/org/apache/myfaces/custom/tree2/TreeNodeChecked.html 



new TreeNodeChecked(java.lang.String type, java.lang.String
description, boolean checked, boolean leaf);

or

setChecked(boolean checked) ;



On 6/23/06, ould sid'ahmed <[EMAIL PROTECTED]> wrote:

  Hello, I wanted to create a tree with check box, but I am not able to
fill it with values. please help me
Think's





Think you for your response,
but when I want to recover the value of checkbox, it returns me false
think's