SCHEDULE custom entry problem with div tag

2006-08-11 Thread Adrien FOURES




Hi,

I try to create my own method renderContent. I have a
problem in putting a div tag in the entry of schedule. 
For selected entry it works normaly, but for unselected entry, it
doesn't work.
After source code, i finded that the schedule render an anchor tag for
unselected entry in ScheduleDetailedDayRenderer:writeEntries
when readonly is false.
But in this case my div tag is rendered outside of this anchor tag, so
the schedule does not be shown correctly.
I don't know whether it is a bug of tomahawk's schedule or if jsf
ResponseWriter close anchor tag automatically. 

I tried replace the div tag with table tag, but i have the same
problem. But it works with span tag.


ResponseWriter writer

code:
 public void renderContent( ... ) throws IOException
 {
   writer.startElement(HTML.DIV_ELEM,
null);

   writer.endElement(HTML.DIV_ELEM);
 }

What i want :
td
a
div
...
/div
/a
/td

What i got:
td
a
/a
div
...
/div
/td

Thanks a lot for your repply.

Adrien 




Problem beetween the detailStamp's facet and the popup's facet

2006-07-28 Thread Adrien FOURES




Hello!

I wanted to use datatable with master detail and popup components, but
i have problem : the popup doesn't work, i can see anything.
It is working well if i delete detailstamp facet. Is it a bug, with
facet popup in facet detailstamp ??


   t:dataTable value="#{DATA1.data}" var="ordo"
preserveDataModel="false"
varDetailToggler="detailToggler"
renderedIfEmpty="false" width="100%" border="0"
columnClasses=",,width100"

t:column style="padding-top:10px;"
 t:selectBooleanCheckbox value="#{ordo.selected}"
  rendered="#{ordo.renderCheck}"
 
/
/t:column

f:facet
name="detailStamp"
 t:dataTable id="dataM"
styleClass="standardTable_presc"
  headerClass="standardTable_SortHeader_presc"
 
rowClasses="standardTable_Row2_presc,standardTable_Row1_presc"
  value="#{ordo.dataM}"
  preserveDataModel="false"
renderedIfEmpty="false" var="presc"
  
  t:column
   f:facet name="header"
t:outputText value="I" /
   /f:facet
  t:popup
  closePopupOnExitingElement="true"
  closePopupOnExitingPopup="true"
  displayAtDistanceX="5"
  displayAtDistanceY="5" 
  t:graphicImage
value="../../image/msg_warning_petit3.gif"/
 
f:facet name="popup"
  h:panelGrid width =
"400" columns="1" 
h:outputText
value="#{presc.Description}" styleClass="corps2" /
  /h:panelGrid
 
/f:facet
  /t:popup
   /t:column 
 /t:dataTable
/f:facet

   /t:dataTable


Thanks,





AJAX4JSF + DataTable DetailStamp Facet

2006-07-19 Thread Adrien FOURES

Hello,

Is it possible to use AJAX4JSF with DataTable DetailStamp's Facet. I 
don't want to reload all the page when a detail is opened.


Thanks

Adrien


DataTable detailStamp facet

2006-07-18 Thread Adrien FOURES

Hello!

I use the detailStamp's facet, and i want to know if it is possible to 
control on server side which detail to open on loading the page.


Thanks a lot for your answer.

Adrien


Master-detail datatable

2006-06-29 Thread Adrien FOURES

Hi,

I want to know how can I show the detail of some lines at begining with 
master-detail datatable?


Thanks

Adrien



Re: tree2 expand/collapse

2006-05-24 Thread Adrien FOURES

Hi Chris,
I have the same problem, and i found a solution to pass over. i delete 
my myfaces tree : name tree1, in the jsf tree component, and its works 
now fine.


   // delete component tree1 directly in the jsf tree 
component
   
if(FacesContext.getCurrentInstance().getViewRoot().findComponent(tree1) 
!= null){
   List listTmp = 
FacesContext.getCurrentInstance().getViewRoot().findComponent(tree1).getParent().getChildren();
   if(listTmp!=null)   
   
listTmp.remove(FacesContext.getCurrentInstance().getViewRoot().findComponent(tree1));

   }
  
   treeData1 = . // load data

   treeModel1 = new TreeModelBase(treeData1); // load model
   treeHtml1 = new HtmlTree(); // create new instance for 
binding



   t:tree2 id=tree1
   value=#{TreeBean.treeModel1}
   binding=#{TreeBean.treeHtml1}
   var=node
   varNodeToggler=t
   clientSideToggle=true
   preserveToggle=false

   /tree2


Adrien



Sean Schofield wrote:


I think this is the issue:

http://issues.apache.org/jira/browse/TOMAHAWK-437

Its on my list of tree2 issues to address.  Right now we're sorting
through some big picture tomahawk and core issues.

Sean


On 5/23/06, Chris Hane [EMAIL PROTECTED] wrote:


This isn't going to help too much; but I started to run into the same
things when I was using tree2 and client side expand/collapse.

What I tracked it down to was the expand/collapse state is stored in a
cookie that is relevant for a the tree2 component on a specific screen.
For me that meant when I had to the same screen open in two windows
(different records though), they shared the expand/collapse state.
This causes weird looking behavior (e.g., expand three node in one
screen, go to the second screen and expand a node and three are expanded
(the same three from the first screen)).

At the time I wasn't setup to explore the tomahawk code so I found a
work around for my specific case (I expand all nodes all the time and
don't let the user collapse). I opened a JIRA on this issue - the
archives have the specific #.

Having said that, I'm not an expert with tomahawk - actually just
starting so I might be doing something wrong...

Chris

Christopher J. Bowerman wrote:

 Hi,

 I'm using a tree2 component. My problem seems to have to do with tree
 state. The tree works fine the first time I render it, but I have a
 home button that starts the user input over again and builds a new
 tree. When the new tree is rendered the nodes that were expanded in
 the earlier tree are expanded in this one as well. I'd like the tree
 to be fully collapsed whenever I've built a new tree. Can anybody
 actually tell me how I can do this? I've seen other mention of it on
 previous posts, but they were almost a year ago and no mention how to
 actually go about it. Any help would be greatly appreciated.

 Thanks.

 ==

 Christopher J. Bowerman

 Internet Applications Developer

 SAIC-Frederick

 phone: 301.846.5275

 email: [EMAIL PROTECTED]
 mailto:[EMAIL PROTECTED]

 



 No virus found in this incoming message.
 Checked by AVG Free Edition.
 Version: 7.1.392 / Virus Database: 268.7.0/345 - Release Date: 
5/22/2006




--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.392 / Virus Database: 268.7.0/345 - Release Date: 5/22/2006







Tomahawk's example 1.1.2

2006-05-16 Thread Adrien FOURES

Hello!

When tomahawk's example 1.1.2 is available?

Thanks a lot for your help

Adrien



Re: Tomahawk 1.1.2

2006-05-04 Thread Adrien FOURES

It's a very good news, thanks a lot for the myfaces team's job

Sean Schofield wrote:


We are targeting next Monday for the official release.

Sean

On 5/3/06, pmuir [EMAIL PROTECTED] wrote:



I don't think 1.1.2 has been released yet.  I've used the svn source 
to build

a copy or you can download the latest (binary) snapshot (1.1.3) here:

http://cvs.apache.org/builds/myfaces/nightly/

HTH
--
View this message in context: 
http://www.nabble.com/Sandbox-form-component-bug-t1539106.html#a4206616

Sent from the MyFaces - Users forum at Nabble.com.







Tomahawk 1.1.2

2006-05-03 Thread Adrien FOURES


Hello,

I wanted to know when the 1.1.2 tomahawk can be download, beacause i use 
tree2 component and the 1.1.2 resolve a lot of questions :-)


Thanks a lot for your help

Adrien


Tree2 ToggleExpandedEvent

2006-04-05 Thread Adrien FOURES

Hello
I use tree2 , and i want to kown how use toggleExpandedEvent? can i 
catch the node expanded with this event?
I build tree2 with database, and to an good optimisation, i need to 
build child node when is expanded.


Thanks,


When myFaces1.1.2 stable release available ?

2006-03-03 Thread Adrien FOURES

Hello!

I want to know when i can download the 1.1.2 myfaces version?
I don't understand why a 1.1.3 snapshot version of myfaces is available, 
whereas the 1.1.2 stable release is not available? it is a over branch 
of project?


Thanks

Adrien


myfaces 1.1.2 SNAPSHOT HtmlOutputTextTag Exception

2006-02-22 Thread Adrien FOURES

Hello !

When i load the first page of my application, I have sometimes this 
exception, since myfaces 1.0.8 and jsf 1.1.0_1.
But now i use myFaces 1.1.2 without jsf jar, and i still have this 
Exception.

Can somebody tell me why? and what i have to do to stop it.

I use a filter for authentification : 
dosmed.security.LoginFilter.doFilter(LoginFilter.java:66)



javax.servlet.ServletException: 
org.apache.myfaces.taglib.html.HtmlOutputTextTag

   at javax.faces.webapp.FacesServlet.service(FacesServlet.java:123)
   at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
   at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
   at 
org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:129)
   at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
   at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)

   at dosmed.security.LoginFilter.doFilter(LoginFilter.java:66)
   at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
   at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
   at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
   at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
   at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
   at 
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
   at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
   at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
   at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
   at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
   at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
   at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
   at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
   at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
   at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
   at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)

   at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
   at 
org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
   at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
   at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
   at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
   at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)

   at java.lang.Thread.run(Thread.java:534)



Thanks.




Re: How to install myfaces 1.1.2

2006-01-26 Thread Adrien FOURES

Thanks a lot for your repply

Bruno Aranda wrote:


You have to put all the myfaces*.ar and tomahawk*.jar. You don't need
to change nothing in the configuration file.

myfaces-api-1.1.2-SNAPSHOT.jar
myfaces-impl-1.1.2-SNAPSHOT.jar
myfaces-commons-1.1.2-SNAPSHOT.jar
tomahawk-1.1.2-SNAPSHOT.jar

Jars are available in the nightly build section [1], where you can
also obtain the examples. The examples are prepared to be deployed, in
war format.

Regards,

Bruno

[1] http://cvs.apache.org/builds/myfaces/nightly/


 



TREE BUG 103 IDEA TO FIXED

2006-01-26 Thread Adrien FOURES




Hello i have strated to build my application with the myfaces tree
component since the 2004, before the tree2 was build, and i have not
enough time to change.
But i find bug in the tree component, Oliver Rossmueller have add this
bug in jira list with 103 codename.
I have download source code, and i thinks i have found something which
maybe not solve problem, but will maybe stop the exception.
Please Please Please, Can you bring this modification in the nextnightly
version

Thanks,


HtmlTreeNode  translatePath  line 528
 protected static TreePath translatePath(int[] path, TreeModel model)
 {
 Object[] translated = new Object[path.length + 1];
 Object parent = model.getRoot();

 translated[0] = parent;

 for (int i = 0; i  path.length; i++)
 {
/***ADD/
if( (TreeNode)parent.getChildCount()=index ){
/***ADD/

 int index = path[i];
 translated[i + 1] = model.getChild(parent, index);
 parent = translated[i + 1];

/***ADD/
}
/***ADD/

 }
 return new TreePath(translated);
 }




Exception

java.lang.IndexOutOfBoundsException: Index: 1, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:507)
at java.util.ArrayList.get(ArrayList.java:324)
at
org.apache.myfaces.custom.tree.DefaultMutableTreeNode.getChildAt(DefaultMutableTreeNode.java:154)
at
org.apache.myfaces.custom.tree.model.DefaultTreeModel.getChild(DefaultTreeModel.java:81)
at
org.apache.myfaces.custom.tree.HtmlTreeNode.translatePath(HtmlTreeNode.java:537)
at
org.apache.myfaces.custom.tree.HtmlTree.selectionChanged(HtmlTree.java:586)
at
org.apache.myfaces.custom.tree.HtmlTreeNode.setSelected(HtmlTreeNode.java:412)
at
org.apache.myfaces.custom.tree.HtmlTreeNode.setExpanded(HtmlTreeNode.java:331)
at
org.apache.myfaces.custom.tree.HtmlTree.collapsePath(HtmlTree.java:536)
at
org.apache.myfaces.custom.tree.HtmlTree.treeStructureChanged(HtmlTree.java:817)
at
org.apache.myfaces.custom.tree.HtmlTree$Event.process(HtmlTree.java:1044)
at
org.apache.myfaces.custom.tree.HtmlTree.processModelEvents(HtmlTree.java:879)
at
org.apache.myfaces.custom.tree.HtmlTree.encodeBegin(HtmlTree.java:721)
at
javax.faces.webapp.UIComponentTag.encodeBegin(UIComponentTag.java:591)
at
javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:543)
at
org.apache.jsp.page.private_.tree1_jsp._jspx_meth_x_tree_0(tree1_jsp.java:430)
at
org.apache.jsp.page.private_.tree1_jsp._jspx_meth_f_view_0(tree1_jsp.java:181)
at
org.apache.jsp.page.private_.tree1_jsp._jspService(tree1_jsp.java:138)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
at
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
at
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
at
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
at
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
at
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at dosmed.security.LoginFilter.doFilter(LoginFilter.java:60)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at
org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at

How to install myfaces 1.1.2

2006-01-25 Thread Adrien FOURES

Hello

I use 1.1.1 version, and i would like to test the 1.1.2, which jar i 
have to put all myfaces*.jar, with tomahawk*.jar or just myfaces*.jar

Have i to change anything in configuration file?

Thanks


Re: Link

2006-01-24 Thread Adrien FOURES
Hello Kasper , i have exactly the same problem, I am very interested if 
you find any solution.


Adrien

Kasper Hansen wrote:

Changing the javax.faces.STATE_SAVING_METHOD is not working for me -- I get 
an Exception. Will it work if the bean is Serializable?


FATAL [StateUtils] Cannot encode Object with Base64
java.io.NotSerializableException


 



Re: Link

2006-01-24 Thread Adrien FOURES
It's true with DataModel i have no problem to build page with 
t:datatable, but with vector of my own objet (integer, string, and own 
object attribut) t:datatable give me not serializable exeception, if i 
put client state saving and not with server.



Dennis Byrne wrote:


In order to save the state on the client, the state must be Serializable .  
Most often this is a DataModel ( the value attribute of a dataTable ) .  Which 
object is not serializable?

Dennis Byrne

 


-Original Message-
From: Kasper Hansen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 24, 2006 03:00 AM
To: users@myfaces.apache.org
Subject: Re: Link

Changing the javax.faces.STATE_SAVING_METHOD is not working for me -- I get 
an Exception. Will it work if the bean is Serializable?


FATAL [StateUtils] Cannot encode Object with Base64
java.io.NotSerializableException

   






 



Re: Link

2006-01-24 Thread Adrien FOURES

Thanks a lot for your help, it's a very old bug, and jsf 1.2 is very late



Martin Marinschek wrote:


It is not only fixed in JSF 1.2, but also in the current MyFaces
Nightly version.

regards,

Martin

On 1/24/06, Adrien FOURES [EMAIL PROTECTED] wrote:
 


Hello Kasper , i have exactly the same problem, I am very interested if
you find any solution.

Adrien

Kasper Hansen wrote:

   


Changing the javax.faces.STATE_SAVING_METHOD is not working for me -- I get
an Exception. Will it work if the bean is Serializable?

FATAL [StateUtils] Cannot encode Object with Base64
java.io.NotSerializableException




 




--

http://www.irian.at

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

Professional Support for Apache MyFaces


 



Re: Problem in displaying dates(Locale)

2006-01-20 Thread Adrien FOURES
Look MYFACES-656 http://issues.apache.org/jira/browse/MYFACES-656 in 
myfaces' bug database (jira)





Nikita Shah wrote:


Hi

Am having a problem in displaying the date of curent locale in jsf 
tags. I think by default the locale EN_US is taken. But i want it to 
be currentLocale.
Please guide me if I am wrong. And also please help me i n getting the 
current date according to the locale.

The following is jsp page where i want to display the date in table.

t:dataTable id=targetActualTable border=1
nbs p;   styleClass=sortable
headerClass=targetActualTable_Header
   ;  rowClasses=targetActualTable_Row1
  nbsp;  columnClasses=targetActualTable_Column
var=target
 n bsp;  value=#{data.ta}
cellpadding=0
  ;   cellspacing=0
align=center  
t:column

f:facet name=header
h:outputText value=Date /
  ;   /f:facet
h:outputText value=#{target.date} 
f:convertD ateTime type=date pattern=MM/dd/  /
/h:outputText
/t:column
/t:dataTable gt;

Would appreciate any help.

TIA
Nikita


Yahoo! Autos 
http://us.rd.yahoo.com/evt=38381/%20ylc=X3oDMTEzcGlrdGY5BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDMWF1dG9z/*http://autos.yahoo.com/index.html%20. 
Looking for a sweet ride? Get pricing, reviews,  more on new and used 
c ars.




No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.1.375 / Virus Database: 267.14.21/235 - Release Date: 19/01/2006

 



Bad config web.xml no getscrolling() function in html page

2006-01-13 Thread Adrien FOURES

Hello

I have try to pass to myFaces 1.0.8 to 1.1.1 and with ADF faces ea19, 
component works but i have got a problem.
In final html page in navigator i have javascript error, because render 
component call javascript function, that is no insert in page, like 
getscrolling().


I build my configuration with your web site help and with simple 
application, but i don't see where i have wrong, some boby can tell me 
what is it wrong with my config , is it the listener in tld that is no 
call ??



thanks,

Adrien


Re: Submitting a form automatically (without user clicking a button)

2005-06-17 Thread Adrien FOURES

Hello Randahl,

If i have understand your question, try this:

body onload=test()
[...]
script language=Javascript
function test(){
   document.getElementById('mySecretAndHiddenForm:sendProperties').click();
}
/scipt
/body

or

body
[...]
script language=Javascript
test();
function test(){
   document.getElementById('mySecretAndHiddenForm:sendProperties').click();
}
/script
/body


Adrien



Randahl Fink Isaksen wrote:

I have a page which detects some browser properties (browser window 
width, etc.) and I would like to submit these capabilities 
automatically using a javascript like


document.forms['mySecretAndHiddenForm'].submit();

However this does not seem to work. In other words: Automatically 
invoking submit from javascript does not seem to yeild the same 
results as making the user click a form button manually - probably 
because the action of the form is never set.


Is there a standard way to submit hidden form fields using javascript? 
Now I guess I could manually set the action of the form to something like

#{evaluationBean.evaluate}
using javascript and then call submit afterwards, but it does not feel 
right to hard-code this into my javascript - I sence there has got to 
be a better, cleaner way.


Any suggestions would be highly appreciated.

Randahl


Here follows my forms JSF code:
   h:form id=mySecretAndHiddenForm
   h:inputText id=windowInnerWidth 
value=#{evaluationBean.windowInnerWidth}/
   h:inputText id=windowInnerHeight 
value=#{evaluationBean.windowInnerHeight}/

[...]
   h:commandButton
   id=sendProperties
   type=SUBMIT
   action=#{evaluationBean.evaluate}
   /
   /h:form






Mail archive spam problem

2005-04-13 Thread Adrien FOURES
Hello!
I subscribed to the mailling list in october 2004, since january 2005 i 
have recevide a lot of spam. And finally i try in google my e mail 
adress . and google found it three time uncrypted

mail-archives.eu.apache.org/mod_mbox/incubator-myfaces-user/ 
200501.mbox/[EMAIL PROTECTED]
mail-archives.eu.apache.org/mod_mbox/incubator-myfaces-user/ 
200501.mbox/[EMAIL PROTECTED]
incubator.apache.org/mail/myfaces-user/200503

Please can you delete this mail, or encrypted my e mail adress.
Thank a lot for your repply,
Adrien


Re: MyFaces and Filters not working ?

2005-03-21 Thread Adrien FOURES
Hermod,
I use MyFaces 1.0.8 with JSF 1.0.1_1, and Tomcat 5.0.28, i have develop 
an filter for the authentification too, and it's working very well

- build class wich implement javax.servlet.Filter,
- put all your code in the doFilter function,
- add in your web.xml
filter
 filter-nameNameFilter/filter-name
 filter-classpackage.class/filter-class
/filter
filter-mapping
 filter-nameNameFilter/filter-name
 url-pattern/page/private/*/url-pattern
/filter-mapping
Adrien
[EMAIL PROTECTED] wrote:
Hi
I am starting get to the stage of my migration from Struts to MyFaces
where I was going to add the security stuff. In my struts application I
am using SecurityFilter from S.F, and It works flawlessly. I configured
the MyFaces Blank application first to use the standard BASIC
authentication using a JDBCRealm in Tomcat5. That worked ok, popping up
a logon dialog to authenticate. Then I configured it to use
SecurityFilter, and I am seeing somthing strange. The init method of the
filter is being called Ok and it does its stuff. But the onFilter method
is NEVER called. I sa somebody else seing the same behaviour in the
ExtensionFilter, althogh in a different scenario. Is this a known issue
?
Hermod
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR Group
cannot accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the virus programs used
in the DnB NOR Group.
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 



How use a same data object in two differents applications

2005-03-16 Thread Adrien FOURES
Hello !
I use tomcat 5.0.28, myfaces1.0.8, and i develop on eclispe 3.0.0.
I want know if it's possible to use a same data object in two applications?
Is an scope exist, upper than application (in tomcat, jsf or myfaces)?
My problem is: i have two application, one for user, and one for 
administrator, and i want to look in the adminstrator application, all 
user log in the user application.
All the code is doing and working well, but i need just to communicate a 
data object between the two application.

Thanks a lot for your repply,
Adrien


Re: x:Tree 1.0.8 compatibility with new Tree2

2005-03-03 Thread Adrien FOURES
Olivier,
Thanks you for your repply,
I have found the last month an bug in the old tree, and you say me I'll 
create an entry in the bugtracker so the issue will not be lost. So i 
am waiting for the 1.0.9 but if you put the tree2 instaid of the 
current, i will have some problem :-) if the bug is repaired.

Sean say that it's possible to get the new tree2, but where?
Thanks a lot for your help
Adrien,
Oliver Rossmueller wrote:
From my POV there are some issues we have to discuss before tree2 will 
be a replacement for the current tree component (see follow-up post on 
the dev list).

Adrian, as I have lots of code based on the current tree component, 
too, we will either find a way for current users to switch to a new 
tree component with the need for only slight modifications to their 
existing code base or we will continue to support the current tree 
implementation in addition to tree2. But be asured, as there are only 
a few things I hate more than a framework changing under my feet 
half-way on the road to project deadline, we won't throw away the 
current tree and tell you to use our new and better but completely 
different tree component instead.

Oliver
Sean Schofield wrote:
Adrien,
That's a tricky question.  The plan has been to replace tree with the
new one.  It was assumed that the new tree would have the same
*functionality* as the old and I believe it does have the same
functionality and more.  One area that still needs to be addressed is
the treetable.  Once that is addressed we can get rid of the old tree.
This would require some changes on your part.  Basically this involves
minor tweaks to the JSP and probably a couple of changes to your
backing bean or whatever that sets up your tree data.  I don't think
this is a big deal but I'm not the one changing my code ;-)  One of
the improvements to the tree component is the configuration itself. 
So this kind of improvement cannot really be backwards compatible.

You should really check out the new tree.  IMO it is *much* better
than the old one.  Its a lot easier to configure and provides
javascript collapse/expansion.  My guess is that most users will find
the new features worth the small amount of aggravation to switch.
There is always the option of keeping the old tree around but I don't
think that is a good long term plan.  I'd like to see the new tree
replace the old in the next version.  If we can address the treetable
issues then I think that makes sense.
I'd be interested to hear what you and others think about this. 
Please take a moment to look at the new tree (if you haven't already)
before reaching your conclusion.

sean
On Wed, 02 Mar 2005 16:58:11 +0100, Adrien FOURES [EMAIL PROTECTED] 
wrote:
 

Hello
I use the x:tree since the 1.0.7 version.
I want to know, if all my source code which use the x:tree component in
my current version 1.0.8, will be work with the new tree2.
And if is not working, is the old version will be maintained and 
install
in the 1.0.9?

Thanks,
Adrien
  




x:Tree 1.0.8 compatibility with new Tree2

2005-03-02 Thread Adrien FOURES
Hello
I use the x:tree since the 1.0.7 version.
I want to know, if all my source code which use the x:tree component in 
my current version 1.0.8, will be work with the new tree2.
And if is not working, is the old version will be maintained and install 
in the 1.0.9?

Thanks,
Adrien


Re: Problem config myfaces tomcat5

2005-03-01 Thread Adrien FOURES
Ok thanks, but now a have ~50 jar efs_X.jar build when i start 
eclipse in my temp folder, do you the reason.
I use eclipse 3.0.0 with exadel studio for jsf 1.0.6

Thanks a lot for your repply
Adrien
Martin Marinschek wrote:
Yes, this was a bug that should be fixed - you should have only
exactly one myfacesxxx.jar file in your temp-folder.
If not, delete all the old files, check out the latest sources and try again!
regards,
Martin
On Mon, 28 Feb 2005 13:41:15 -0600, Nail, Evan Burke
[EMAIL PROTECTED] wrote:
 

I don't remember exactly, but I could swear someone posted that it was a 
myfaces bug and has been fixed in a nightly build. I searched the archives and 
could only find the thread listed below which doesn't point to a resolution.
http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]msgId=2086529
The thread where someone identified the fixed build may have been before the 
list cut-over..but I'm not sure.
bn
-Original Message-
From: Adrien FOURES [mailto:[EMAIL PROTECTED]
Sent: Monday, February 28, 2005 12:42 PM
To: MyFaces Discussion
Subject: Re: Problem config myfaces tomcat5
It is eclipse who build efs_X.jar in my temp folder, any body see
it, what is the solution?
Thanks
Adrien
Adrien FOURES wrote:
   

I use tomcat 5.0.28, and eclipse to develop,  who build jar (which
contain myfaces class, and my faces tld .. ) in my temp folder
Thanks
Adrien
 

   

**
This e-mail is the property of Enron Corp. and/or its relevant affiliate and may contain confidential and privileged material for the sole use of the intended recipient (s). Any review, use, distribution or disclosure by others is strictly prohibited.
   

If you are not the intended recipient (or authorized to receive for the recipient), please contact the sender or reply to Enron Corp. at [EMAIL PROTECTED] and delete all copies of the message. This e-mail (and any attachments her
eto) are not intended to be an offer (or an acceptance) and do not create or evidence a binding and enforceable contract between Enron Corp. (or any of its affiliates) and the intended recipient or any other party, and may not be relied on by anyone as 
the basis of a contract by estoppel or otherwise. Thank you.
 

**
   

 



Problem config myfaces tomcat5

2005-02-28 Thread Adrien FOURES
Hello !
I use myfaces 1.0.8, and i don't understand why a jar is building in my 
temp folder
for example  = myfaces12903.jar,  format = myfacesX.jar,  when i 
strat tomcat?
I have a lot of warning in tomcat's log on start up too i don't is is 
the same problem ?

Example:
[...]
WARNING: [ComponentRule]{faces-config/component} 
Merge(org.apache.myfaces.HtmlPanelTabbedPane)
25 02 2005 19:01:00 com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} 
Merge(org.apache.myfaces.HtmlRadio)
25 02 2005 19:01:00 com.sun.faces.config.rules.ComponentRule end
[...]

Any body have see this problem, can somebody help me.
Thanks a lot for your repply,
Adrien


Re: Problem config myfaces tomcat5

2005-02-28 Thread Adrien FOURES
I use tomcat 5.0.28, and eclipse to develop,  who build jar (which 
contain myfaces class, and my faces tld .. ) in my temp folder

Thanks
Adrien
 



Re: tree reload problem

2005-02-11 Thread Adrien FOURES
Steffen,
I have in interface commandButton with an actionlistener who exectute this:
public void resetTree2(ActionEvent event) {
 try{
  UIComponent UIPater = event.getComponent().getParent().getParent();
  UIComponent UITree2 = UIPater.findComponent(tree2);
  UIPater.getChildren().remove(UITree2);
   }...
}
So jsf automaticly rebuild her tree model, and take the update. it's not 
an beautiful solution but it's work !!
Becareful, there are the myfaces tree component(with his strucutre and 
model), and the jsf component tree ( interface form's represantion )
Here i speak about the jsf component tree. Update this code, it's just 
an example, you have to find in jsf tree where is the myfaces component 
and then remove it.

Adrien,
Steffen Hankiewicz wrote:
Hello all again. Dear Adrien,
Thanks  a  lot  for  your response. I'm at home now, so that I can not
test your solution until tomorrow. But how do you exactly destroy your
tree?
And  if  you  really  destroy  it  to build it new: isn't your current
visualized   structure  (the  expanded  and  collapsed  nodes)  also
destroyed,  so that all the expanded nodes are collapsed again? How do
you restore the view exactly as it was before the update of the tree?
Thanks again for your help,
Steffen
 



Re: tree reload problem

2005-02-10 Thread Adrien FOURES
Steffen,
I have the same problem, to solve it i destroy  the tree component in 
the jsf model, when you update the tree structure.

Adrien
Steffen Hankiewicz wrote:
Hi all,
I have a little problem with my treeview. I'd like to give the user the
possibility to change the order of the tree items. Now the user for
example clicks a button to move the current node up to another parent
(the parent of his parent). Until now all works fine. The node gets
indeed another parent. But in my form the tree never gets updated. I
tried all I can. But the tree never gets reloaded. The node stays
visually under its former parent.
Can you give me any advise, how to solve this problem?
Thanks a lot,
Steffen
Here is my code so far:

   /**
* move node up
*/
   public String NodeUp() {
   myLogger.debug(Metadaten() - NodeUp() Start);
   // get the parents
   DefaultMutableTreeNode oldFather = (DefaultMutableTreeNode) 
myNode.getParent();
   DefaultMutableTreeNode newFather = (DefaultMutableTreeNode) 
myNode.getParent().getParent();
   myLogger.info(old father:  + oldFather);
   myLogger.info(new father:  + newFather);
   // set the new parent
   myNode.setParent((DefaultMutableTreeNode) newFather);
   myLogger.info(new father after:  + 
myNode.getParent().toString());
   // all these commands don't update the tree
   // myTree.nodeStructureChanged(newFather);
   // myTree.nodeStructureChanged(oldFather);
   // myTree.nodeStructureChanged((DefaultMutableTreeNode) 
myTree.getRoot());
   myLogger.debug(Metadaten() - NodeUp() End);
   // show the same page again
   return null;
   }


 



Re: hi

2005-02-04 Thread Adrien FOURES
Use javascript and the function window.open();
the firts page contain the function which open the popup with your page.
Adrien
Sunil Tiwari wrote:
Hi All,
i want to ask you a question thats out of my-faces context.
Its regarding JSF on websphere.
How to open a jsf page in a pop up window?
for example, i have a link on a page which should call another jsf 
page in a
new window.

when i try using the context path of the target jsf page in a java
script..it gives error..
probably because its out of jsf context.
then i tried using request.getRequestURI() and it opens the same jsf 
page in
new window..
How to open different jsf page

anyone who has come across this problem?
any suggestions?
thanks and regards,
sunil



Re: x:tree Look change in tree after update

2005-02-01 Thread Adrien FOURES
I am very interested in your work if you modify x:tree. I update tree 
just for me, with adding tag in x:tree declaration, because in would to 
catch action when user open a node, so i have to understand how it work, 
and now it's working, so if you have question maeby i can help you? good 
luck

Adrien
Sean Schofield wrote:
Adrien,
I can't help you with this question (yet) because I am still
researching how tree works now.  I am going to be working on a
significant changes to tree very soon though and this is something
that I've been wondering about myself.  (BTW, you can see recent
thread about some of the improvements being considered - we'd love to
get feedback from a current tree user.)
Anyways, I don't really understand why these interface methods (such
as nodesWereRemoved) are even needed.  Why should the model notify the
tree that it has changed?  Its not like you can push the updated
tree to the user.  You still have to wait for the user to request the
page again, so why not make the model ignorant of the tree and just
re-render the tree according to whatever the model is at the time?
I'm very interested in knowing why this functionality is needed
because I'd like to simplify things by removing it in the new version.
sean
On Mon, 31 Jan 2005 18:16:00 +0100, Adrien FOURES [EMAIL PROTECTED] wrote:
 

Hello
I used the 1.0.8 x:tree version, and i wanted to know what i have to do,
to look change in tree after inserted or removed a node in structure.
Which function use and how use it? nodesWereRemoved (i have got an
exception), nodesWereInserted (i have got an exception),
nodeStructureChanged (i have got interface bug - all my tree node are
collapsed) .
Thanks a lot for your reply
Adrien
   

 



x:tree Look change in tree after update

2005-01-31 Thread Adrien FOURES
Hello
I used the 1.0.8 x:tree version, and i wanted to know what i have to do, 
to look change in tree after inserted or removed a node in structure.

Which function use and how use it? nodesWereRemoved (i have got an 
exception), nodesWereInserted (i have got an exception), 
nodeStructureChanged (i have got interface bug - all my tree node are 
collapsed) .

Thanks a lot for your reply
Adrien


x:Tree is it possible to rebuild tree and restore node open

2005-01-13 Thread Adrien FOURES
Hello,

I use x:tree in the 1.0.7 myfaces implementation.
I want to know, if is it possible to remove a node ( so with his child ),
rebuild it, insert it into the tree, refresh the model (structured changed)
, and ... re-open all node of tree which are open after update.

Because, my tree is building with database source. I would like to use the
same function to build or to refresh it. But how i can refresh it, and
restore all the node open in the same time?

Thanks a lot for your repply.



Re: x:tree-Problems

2005-01-03 Thread Adrien FOURES
you must use the tag x:iconProvider type=A class which implement
iconProvider interface
in A put the method String getIconUrl(Object o, int i, boolean b)
the string return is the path of your image.



- Original Message - 
From: [EMAIL PROTECTED]
To: MyFaces Discussion myfaces-user@incubator.apache.org
Sent: Tuesday, December 28, 2004 7:48 PM
Subject: Re: x:tree-Problems


Hi there,

finally I've solved the problem myself. But now I've recognized that the
iconChild-tag is gone in the newest version of myfaces (in the tld and
also
in the Tree-TagHandler-Class). Why that? And where can I now define the path
of my folder.png file? All other icons are working...

Greetings,
Hendrik



Re: JavaDoc and Taglib Doc

2005-01-03 Thread Adrien FOURES
Thanks a lot


- Original Message - 
From: Matthias Wessendorf [EMAIL PROTECTED]
To: myfaces-dev@incubator.apache.org; 'MyFaces Discussion'
myfaces-user@incubator.apache.org
Sent: Friday, December 24, 2004 2:18 PM
Subject: JavaDoc and Taglib Doc


Hi all,

I published JavaDoc and Taglib Doc
during preparing the release of MyFaces 1.0.8beta

Go to:
http://incubator.apache.org/myfaces/docs/faq.html

there are links:
-JavaDoc
-TLDDoc

HTH,
Matthias

Btw. merry xmas for all of guys;

Best regards
Mit freundlichen Grüßen
--
Matthias Weßendorf
Aechterhoek 18
DE-48282 Emsdetten
Germany
Email: matzew AT apache DOT org
URL: http://www.wessendorf.net