Again: Problems with the images in JSCookMenu
Hi again! I got no response for my last posting (see http://www.mail-archive.com/users@myfaces.apache.org/msg05893.html). Is the problem with the wrong urls to the images in jscookmenu a general problem or did I something wrong? It would be great to get some respone on it. -- Boris Klug, Debeka
RE: having problem with inputSecret tag
Thanx Srikanth for your reply. "Srikanth Madarapu" <[EMAIL PROTECTED] To: "MyFaces Discussion" stems.com> cc: Subject: RE: having problem with inputSecret tag 07/19/2005 06:56 PM Please respond to "MyFaces Discussion" I have seen similar behavior on most of the registration pages, I think that is the desired behavior of the password field. -Original Message- From: Rashmi Kumari [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 19, 2005 9:22 AM To: MyFaces Discussion Subject: having problem with inputSecret tag Hi, I have a user form having password field(using tag) and a list box(using ). whenever I change value of the list box, password entered in the text field disappears and user has to renter the password. Similarly if I retrieve user's data from the database, all the values are shown except password field which is blank. Is this an usual behavior of tag. Thanx for any help . Regards, Rashmi
The writer is closed when using a subview
Hi I am getting a weird error about the writer being closed. This started happening when I added a subview to an already working page. If I enclose the contents instead of using the subview it doesn't give me that error. I was trying to use a subview to pass the 64k size limitation for a method in Java, since my jspservice method is starting to become a little huge. I am doing: width="90%"> And the result is: javax.faces.FacesException: The Writer is closed at org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:411) at org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:280) at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:300) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:110) at com.evermind._hb.doFilter(.:59) at org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:112) at com.evermind._cub._pod(.:387) at com.evermind._cub._bmc(.:177) at com.evermind._ax._ltc(.:666) at com.evermind._ax._uab(.:191) at com.evermind._bf.run(.:62) Any ideas? -Ricardo Ramírez
RE: Replacing javascript without restart Tomcat
Doug, _javascript_ files would be static files and subject to your browser's CACHE settings. Do you mean how would you drop in new JSP files which Tomcat would compile into Java to execute? (Struts taglibs, scriptlets, etc.) Regards, David -Original Message-From: Doug Ly [mailto:[EMAIL PROTECTED]Sent: Tuesday, July 19, 2005 6:38 PMTo: users@myfaces.apache.orgSubject: Replacing _javascript_ without restart Tomcat Hi, Is there a way to replace _javascript_ files without restarting Tomcat servlet? Thanks --Doug The information contained in this email may be confidential and/or legally privileged. It has been sent for the sole use of the intended recipient(s). If the reader of this message is not an intended recipient, you are hereby notified that any unauthorized review, use, disclosure, dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you have received this communication in error, please contact the sender by reply email and destroy all copies of the original message. Thank you
x:inputCalendar disable property is not working
Hi I am using standard MyFaces 1.0.9m9. weblogic.servlet.jsp.JspException: (line 10): for tag 'inputCalendar' handler type 'org.apache.myfaces.custom.calendar.HtmlInputCalendarTag' has no property 'disabled' Thanks & Regards, Varadaraja Polanki ** Please be aware that, notwithstanding the fact that the person sending this communication has an address in Bear Stearns' e-mail system, this person is not an employee, agent or representative of Bear Stearns. Accordingly, this person has no power or authority to represent, make any recommendation, solicitation, offer or statements or disclose information on behalf of or in any way bind Bear Stearns or any of its affiliates. **
Replacing javascript without restart Tomcat
Hi, Is there a way to replace _javascript_ files without restarting Tomcat servlet? Thanks --Doug The information contained in this email may be confidential and/or legally privileged. It has been sent for the sole use of the intended recipient(s). If the reader of this message is not an intended recipient, you are hereby notified that any unauthorized review, use, disclosure, dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you have received this communication in error, please contact the sender by reply email and destroy all copies of the original message. Thank you
Re: Welcome James!
Yes James is a very active contributor on the Struts project which is why we are thrilled to have him join the team. sean On 7/19/05, David G. Friedman <[EMAIL PROTECTED]> wrote: > Is this the same Mr. Mitchell from Struts? Have > you also been 'Shaled'? *grin* > > Welcome either way (W/w-out Shale). > > Regards, > David Friedman / [EMAIL PROTECTED] > > -Original Message- > From: Manfred Geiler [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 19, 2005 6:23 AM > To: dev@myfaces.apache.org; users@myfaces.apache.org > Subject: Welcome James! > > > Ladies and Gentlemen, > Please welcome our new MyFaces committer James Mitchell (jmitchell)! > James, glad to have you on board and looking forward to working together. > > Kind regards, > Manfred Geiler >
RE: Welcome James!
Is this the same Mr. Mitchell from Struts? Have you also been 'Shaled'? *grin* Welcome either way (W/w-out Shale). Regards, David Friedman / [EMAIL PROTECTED] -Original Message- From: Manfred Geiler [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 19, 2005 6:23 AM To: dev@myfaces.apache.org; users@myfaces.apache.org Subject: Welcome James! Ladies and Gentlemen, Please welcome our new MyFaces committer James Mitchell (jmitchell)! James, glad to have you on board and looking forward to working together. Kind regards, Manfred Geiler
Re: Replacing JSF EL with JavaScript
Aleksei, On 7/19/05, Aleksei Valikov <[EMAIL PROTECTED]> wrote: > Hi. > > >>What would be the easiest way to implement this with standard EL, > >>without JS? > > > > Let's assume... > > [skip] > > Thank you, your answer is the most complete of all I've seen in the > thread. I only miss one fragment: Glad to help. :-) > > > When the commandLink is clicked for a particular row in the table, the > > current row is established in the table data model prior to action > > event delivery. > > Is it possible to set the current row and invoke an action with one command? If you take a quick look at the Javadoc for DataModel at http://java.sun.com/j2ee/javaserverfaces/1.1_01/docs/api/javax/faces/model/DataModel.html you'll see there are setRowIndex(int) and Object getRowData() methods. During event delivery, the component will automatically establish the right row index on the DataModel before your "loadDocument" action method binding is called, so you don't need to worry about it. :-) Then, inside loadDocument, you can call model.getRowData() to pull out the current row's data object. The problem with using an EL expression to observe the current row data (rather than model.getRowData()) is that you now have a reverse dependency because the loadDocument code and JSP document would have to rendezvous on the name of table var. For example: would need to be consistent with public void loadDocument(ActionEvent event) { FacesContext context = FacesContext.getCurrentInstance(); Application application = context.getAppliction(); ValueBinding vb = application.createValueBinding("row"); Object rowData = vb.getValue(context); } whereas the managed-property approach establishes a model-to-model dependency from the "logicBean" managed bean, to the "modelBean" managed bean. The dependency is captured in faces-config.xml metadata, rather than Java code. This allows the table var attribute in the JSP view layer to be modified independently, without impacting the correctness of the managed bean code. Kind Regards, John Fallows.
Re: Replacing JSF EL with JavaScript
On 7/19/05, Aleksei Valikov <[EMAIL PROTECTED]> wrote: > Hi. > > >>What would be the easiest way to implement this with standard EL, > >>without JS? > > > > Let's assume... > > [skip] > > Thank you, your answer is the most complete of all I've seen in the > thread. I only miss one fragment: > > > When the commandLink is clicked for a particular row in the table, the > > current row is established in the table data model prior to action > > event delivery. > > Is it possible to set the current row and invoke an action with one command? For the standard Data Table component, it works like this: The current row is established by using the "var" attribute on the component, to specify the name of a request scoped attribute that will represent the content of that row (precise implementation is up to the DataModel being used). Before your commandLink's action method is called, this request scoped attribute will have already been set by the component -- all you need to do is use the information in that request scoped attribute to identify the current row. As a concrete example, if you are using ResultSetDataModel, the request scoped attribute being exposed will be a Map of all the column values, keyed by column name. Thus, as long as you include the appropriate primary key columns in the query that the RSDM wraps, you can easily get back to the right data (whether or not you actually displayed those primary keys in the Data Table component). > > Bye. > /lexi Craig
Re: Replacing JSF EL with JavaScript
Hi. What would be the easiest way to implement this with standard EL, without JS? Let's assume... [skip] Thank you, your answer is the most complete of all I've seen in the thread. I only miss one fragment: When the commandLink is clicked for a particular row in the table, the current row is established in the table data model prior to action event delivery. Is it possible to set the current row and invoke an action with one command? Bye. /lexi
Re: Welcome James!
Congratulations, James. :-) On 7/19/05, Manfred Geiler <[EMAIL PROTECTED]> wrote: > Ladies and Gentlemen, > Please welcome our new MyFaces committer James Mitchell (jmitchell)! > James, glad to have you on board and looking forward to working together. > > Kind regards, > Manfred Geiler >
Re: Replacing JSF EL with JavaScript
Aleksei, On 7/19/05, Aleksei Valikov <[EMAIL PROTECTED]> wrote: > Hi. > > > Instead, IMHO, the expression language should encourage you to > > manipulate server side model data with model tier techniques ... it > > was designed to serve as a *binding* between the tiers, rather than as > > a general purpose computational technology. If we had wanted that, we > > would likely have adopted essentially the entire JavaScript language > > as the expression language mechanism in the first place (it was > > considered and rejected during the initial deliberations in the JSTL > > expert group, for the reasons outlined above). > > Well, probably I'm missing something. > Here's a simple example. I have a documentDao with the possibility to > load document and give back the document list. I want to display a > table, where rows correspond to the documents returned by the dao. In > every row, I'd like to have a "Load" button to load the corresponding > document. > With JS in EL it is as easy as #{[documentDao.load(document)]} as a > button action. > > What would be the easiest way to implement this with standard EL, > without JS? Let's assume (for completeness) that the backing bean exposing the table data model is different from the backing bean exposing the per-row loadDocument logic. Say the table data model is available via value binding #{modelBean.tableData}, at session scope, and the application logic to load the document is available via action method binding #{logicBean.loadDocument}, at request scope. A per-row commandLink's actionListener attribute is bound to #{logicBean.loadDocument}. In faces-config.xml managed bean section, a managed property, say "model", of the "logicBean" can be initialized with #{modelBean.tableData}. This will cause a setModel method on logicBean to be called when logicBean is instantiated, passing the table data model as a parameter. This allows it to be stored inside logicBean, even though logicBean has no prior knowledge of the table data. When the commandLink is clicked for a particular row in the table, the current row is established in the table data model prior to action event delivery. So, inside logicBean's loadDocument(ActionEvent) method, during action event delivery, the table data model can be observed, knowing that it is pointing to the right row, and the desired data model column values for that row can be used to correctly parameterize the behavior of loadDocument. Note that this strategy uses the currency in the data model to act as a common storage area where implicit context can be passed to the behavioral method binding. Therefore, it is not a general purpose mechanism for parameter passing, because it does not cover cases where the desired parameters are not represented in the data model. However, it does seem to cover your usecase, which is a common one. Kind Regards, John Fallows.
JSF/MyFaces/Spring/Hibernate/XML Schema project
Hi. Many thanks to MyFaces people! Your work allowed me VERY fast prototyping of a relatively complex web app. Few screenshots: http://www.livejournal.com/users/lexicore/55223.html Bye. /lexi
Re: Action for input components
I'm looking at needing something like this for pulldowns. It'd probably be nice if there were x:component versions of all of the inputs that supported on-value-change-submit-form actions automatically. On 7/19/05, Srikanth Madarapu <[EMAIL PROTECTED]> wrote: > Any responses ? > > -Original Message- > From: Srikanth Madarapu > Sent: Tuesday, July 19, 2005 11:45 AM > To: Apache My Faces (E-mail) > Subject: Action for input components > > > Hi > > I am thinking of adding an action attribute to the input text box, which > will be fired when user hits the enter key. Is it a good idea ? Specifically > when thinking the immediate attribute in view. The immediate attribute > behaves differently for actions and for fields. What happens if I define an > action for a input field and set immediate to true when the form is submitted > with another action on the form ? > > TIA. > > -Srikanth Madarapu > >
Re: Oracle ADF JSF
Hi. >> Jonas, is there a chance that some/any of the ADF components will be >> contributed to the MyFaces palette? That is the plan. We still need to work out some details with the MyFaces dev team before this work can start. I would say, great news. Looking forward! Bye. /lexi
Re: Oracle ADF JSF
Hi Aleksei, That is the plan. We still need to work out some details with the MyFaces dev team before this work can start. - Jonas Aleksei Valikov wrote: Hi. ADF Faces releases We release every 4-6 weeks a build of ADF Faces that is stable enough to be used internally for developing new releases of products like CollaborationSuite, eBusinessSuite (Project Fusion), Enterprise Manager, FilesOnline etc... This is the same release we externalize on OTN. We cannot follow a more "transparent" model to officially release products outside Oracle, this will of course change with our work contributing to the MyFaces project. Jonas, is there a chance that some/any of the ADF components will be contributed to the MyFaces palette? Bye. /lexi -- --- Jonas Jacobi Principal Product Manager - JSF & ADF Faces Oracle JDeveloper Oracle, Redwood Shores, CA Blog: http://www.orablogs.com/jjacobi Site: http://www.oracle.com/technology/tech/java/jsf.html
RE: Action for input components
Any responses ? -Original Message- From: Srikanth Madarapu Sent: Tuesday, July 19, 2005 11:45 AM To: Apache My Faces (E-mail) Subject: Action for input components Hi I am thinking of adding an action attribute to the input text box, which will be fired when user hits the enter key. Is it a good idea ? Specifically when thinking the immediate attribute in view. The immediate attribute behaves differently for actions and for fields. What happens if I define an action for a input field and set immediate to true when the form is submitted with another action on the form ? TIA. -Srikanth Madarapu
Re: Replacing JSF EL with JavaScript
On 7/19/05, Aleksei Valikov <[EMAIL PROTECTED]> wrote: > Hi. > > > Instead, IMHO, the expression language should encourage you to > > manipulate server side model data with model tier techniques ... it > > was designed to serve as a *binding* between the tiers, rather than as > > a general purpose computational technology. If we had wanted that, we > > would likely have adopted essentially the entire JavaScript language > > as the expression language mechanism in the first place (it was > > considered and rejected during the initial deliberations in the JSTL > > expert group, for the reasons outlined above). > > Well, probably I'm missing something. > Here's a simple example. I have a documentDao with the possibility to > load document and give back the document list. I want to display a > table, where rows correspond to the documents returned by the dao. In > every row, I'd like to have a "Load" button to load the corresponding > document. > With JS in EL it is as easy as #{[documentDao.load(document)]} as a > button action. > > What would be the easiest way to implement this with standard EL, > without JS? > I would have my application invoke some business logic that gathered together the data needed, and exposed it as a request attribute -- then, the EL expression is just a simple variable reference. I can see why you think this would be valuable. To me, though, this approach is mixing functional logic (telling the back end something about what data to retrieve, via the parameters to the methods) and presentation logic (defining how the rendering should occur). I've seen enough people screw this up with scriptlets ... it's a path I would prefer not to go down again :-). Craig
RE: inputCalendar onchange property is not working.
Yes, I am using myfaces 1.0.9 only. Still there is problem it seems. Thanks & Regards, Varadaraja Polanki -Original Message- From: Martin Marinschek [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 19, 2005 12:42 PM To: MyFaces Discussion Subject: Re: inputCalendar onchange property is not working. Well, inputCalendar does have this property in my sources. Are you working in head or MyFaces 1.0.9? I think we fixed a bug regarding this problem some time ago... regards, Martin On 7/19/05, Polanki, Varada (Exchange) <[EMAIL PROTECTED]> wrote: > Hi, >For x:inputCalendar I kept property as > onchange="this.form.submit()" > > But I got error message like below. It seems this property is not > defined. Whenever calendar value changes then I need to execute a > method. But it seems valueChangeListener will be executed only if form > submitted. > > > > weblogic.servlet.jsp.JspException: (line 31): for tag 'inputCalendar' > handler type 'org.apache.myfaces.custom.calendar.HtmlInputCalendarTag' > has no property 'onchange' > at > weblogic.servlet.jsp.StandardTagLib.jspException(Ljava.lang.String;)V(St > andardTagLib.java:1236) > at > weblogic.servlet.jsp.StandardTagLib.addAllSetters(Lweblogic.servlet.jsp. > MyTagInfo;Ljava.util.Properties;Ljava.lang.String;Lweblogic.utils.Unsync > StringBuffer;)V(StandardTagLib.java:1109) > at > weblogic.servlet.jsp.StandardTagLib.genericStartBegin(Ljava.lang.String; > Ljava.util.Properties;Z)Lweblogic.servlet.jsp.ArgHelper;(StandardTagLib. > java:821) > at > weblogic.servlet.jsp.StandardTagLib.processStartTag(Ljava.lang.String;Lj > ava.util.Properties;Lweblogic.servlet.jsp.JspContext;Z)Ljava.lang.String > ;(StandardTagLib.java:918) > at > weblogic.servlet.jsp.JspLexer.mOPEN_EXTENSION_TAG(Z)V(JspLexer.java:2510 > ) > > > > Thanks & Regards, > Varadaraja Polanki > > > > ** > Please be aware that, notwithstanding the fact that the person sending > this communication has an address in Bear Stearns' e-mail system, this > person is not an employee, agent or representative of Bear Stearns. > Accordingly, this person has no power or authority to represent, make > any recommendation, solicitation, offer or statements or disclose > information on behalf of or in any way bind Bear Stearns or any of its > affiliates. > ** > > ** Please be aware that, notwithstanding the fact that the person sending this communication has an address in Bear Stearns' e-mail system, this person is not an employee, agent or representative of Bear Stearns. Accordingly, this person has no power or authority to represent, make any recommendation, solicitation, offer or statements or disclose information on behalf of or in any way bind Bear Stearns or any of its affiliates. **
Re: Oracle ADF JSF
Jozef, Please try to restrain yourself when criticizing other people's work. Feel free to bash Oracle on your own personal time but try to refrain from that while posting in a community forum where the ADF team is known to hang out. You wouldn't want someone going on and on in front of your peers saying how your code sucked. Its fine to say that you don't like ADF and give a few of your reasons for not finding it acceptable. But lets leave it at that. The question was asked how much Oracle was going to charge and the question was answered. If you don't want to use ADF Faces then don't use it. sean On 7/19/05, Jonas Jacobi <[EMAIL PROTECTED]> wrote: > Hi Jozef, > > There is no need to be rude. First, skinning was not implemented in EA15, > which explains why that was not working. > A quick check in the release notes for EA15: > > Coming features Our main planned tasks for upcoming releases are: > > * Finishing the component set > * Look-and-feel support > * Rich client components > * Menu model > > Also, a quick ADF Faces search on google would have given you samples, > doc, and my email address, so you should have been able to get help with > your issues. As you can see we are also monitoring and trying to help on the > MyFaces list and other jsf related discussion lists, as well. > > ADF Faces releases > We release every 4-6 weeks a build of ADF Faces that is stable enough to be > used internally for developing new releases of products like > CollaborationSuite, eBusinessSuite (Project Fusion), Enterprise Manager, > FilesOnline etc... This is the same release we externalize on OTN. We cannot > follow a more "transparent" model to officially release products outside > Oracle, this will of course change with our work contributing to the MyFaces > project. > > Sincerely, > Jonas > > > Jozef Hribik wrote: > Hi Jonas, > > Ok, my flashback on EA-15: > The customer wanted to see some demo-screens of the proposed JSF solution. > The boss said, take a best-looking JSF-components and make the demo in 1 > day. ADF-Faces was the choice. We were able to code some simple data-list > with paging and search function, but nobody was able to grasp a datamodel > for tree in few hours. Ok, we abandoned tree in our demo. Finally we wanted > to skin the demo with customer's logo and colors. Big, big, big trouble. > Mission impossible. We had to say, sorry boss, Oracle gives us only these > khaki buttons and labels (in other words: shit-color). Guess what was the > color of boss's face - RED !!! > > Sorry Jonas, but in my opinion ADF-Faces should be versioned more > transparently. > Your EA-15 equals to 0.65 in open-source world. > > Jozef Hribik > > Jonas Jacobi wrote: > > > Hi All, > > Thanks Jesse! > > As mentioned earlier in this thread Oracle is a big company and, no secret, > moves slowly. > Jozef, I'm very sorry that you feel that way about ADF Faces. It would be > very interesting to know specific details about what is not working and what > issues you have been running into. The skinning feature has been completed > and is implemented in EA17, but as with any new features there are still > bugs preventing some components to render custom skins properly. This has > been addressed in subsequent releases, which I hope we can release at the > end of this month. > > For the data model I'm not sure I understand your complaint? I have had no > problems implementing support for our components, even the tree component. A > concrete sample or description of the problem would be appreciated. (We are > working on more samples and documentation for ADF Faces) > > For the pricing, yes it is expensive, but this is for the entire Oracle ADF > package IF you are NOT deploying on an Oracle AS. We already have two > developers (John Fallows and Adam Winer) getting acquainted with the MyFaces > source code to see what it brings and what we can contribute to the MyFaces > project. > > Jonas Jacobi > ADF Faces > > Jesse Alexander (KBSA 21) wrote: > > > -Original Message- > 2. Oracle will never extend MyFaces component palette; they just test their > components with MyFaces runtime. > -/Original Message- > Check the messages in this mailing lists history very carefully. > Particularily I mean the second message of Jonas Jacobi: -Original > Message- > Forgot to add the following comment: > > 3. Note that we are planning and working with the MyFaces development > team, to contribute our components to the MyFaces project. There are > still things that need to be solved, so for now the above statement > about pricing is what is officially available from Oracle regarding > Oracle ADF (and ADF Faces is part of the overall Oracle ADF bundle). > -/Original Message- I think that IS QUITE CONCRETE... > > > -Original Message- > 3. ADF Faces are still n
Re: Oracle ADF JSF
Hi. ADF Faces releases We release every 4-6 weeks a build of ADF Faces that is stable enough to be used internally for developing new releases of products like CollaborationSuite, eBusinessSuite (Project Fusion), Enterprise Manager, FilesOnline etc... This is the same release we externalize on OTN. We cannot follow a more "transparent" model to officially release products outside Oracle, this will of course change with our work contributing to the MyFaces project. Jonas, is there a chance that some/any of the ADF components will be contributed to the MyFaces palette? Bye. /lexi
Re: Replacing JSF EL with JavaScript
Hi. http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSPIntro7.html Look at the bottom. 1. This does not work in method bindings. 2. This is a call to static function. Implementing do(A a, B b) statically for every A.do(B b) is hardly to be called convenient. So far I have not seen a better solution to the practical problems I have than replacing/extending EL with a more powerful language like JavaScript. Ok, the approach might not be "academic" but it is, in my opinion, way better than map-hack or complex model extensions. If anyone's interested, I can share/contribute the sources, if not, I'll keep solution for myself as proprietary, since I feel very content and confident with it. Bye. /lexi
Re: Oracle ADF JSF
Hi Jozef, There is no need to be rude. First, skinning was not implemented in EA15, which explains why that was not working. A quick check in the release notes for EA15: Coming features Our main planned tasks for upcoming releases are: * Finishing the component set * Look-and-feel support * Rich client components * Menu model Also, a quick ADF Faces search on google would have given you samples, doc, and my email address, so you should have been able to get help with your issues. As you can see we are also monitoring and trying to help on the MyFaces list and other jsf related discussion lists, as well. ADF Faces releases We release every 4-6 weeks a build of ADF Faces that is stable enough to be used internally for developing new releases of products like CollaborationSuite, eBusinessSuite (Project Fusion), Enterprise Manager, FilesOnline etc... This is the same release we externalize on OTN. We cannot follow a more "transparent" model to officially release products outside Oracle, this will of course change with our work contributing to the MyFaces project. Sincerely, Jonas Jozef Hribik wrote: Hi Jonas, Ok, my flashback on EA-15: The customer wanted to see some demo-screens of the proposed JSF solution. The boss said, take a best-looking JSF-components and make the demo in 1 day. ADF-Faces was the choice. We were able to code some simple data-list with paging and search function, but nobody was able to grasp a datamodel for tree in few hours. Ok, we abandoned tree in our demo. Finally we wanted to skin the demo with customer's logo and colors. Big, big, big trouble. Mission impossible. We had to say, sorry boss, Oracle gives us only these khaki buttons and labels (in other words: shit-color). Guess what was the color of boss's face - RED !!! Sorry Jonas, but in my opinion ADF-Faces should be versioned more transparently. Your EA-15 equals to 0.65 in open-source world. Jozef Hribik Jonas Jacobi wrote: Hi All, Thanks Jesse! As mentioned earlier in this thread Oracle is a big company and, no secret, moves slowly. Jozef, I'm very sorry that you feel that way about ADF Faces. It would be very interesting to know specific details about what is not working and what issues you have been running into. The skinning feature has been completed and is implemented in EA17, but as with any new features there are still bugs preventing some components to render custom skins properly. This has been addressed in subsequent releases, which I hope we can release at the end of this month. For the data model I'm not sure I understand your complaint? I have had no problems implementing support for our components, even the tree component. A concrete sample or description of the problem would be appreciated. (We are working on more samples and documentation for ADF Faces) For the pricing, yes it is expensive, but this is for the entire Oracle ADF package IF you are NOT deploying on an Oracle AS. We already have two developers (John Fallows and Adam Winer) getting acquainted with the MyFaces source code to see what it brings and what we can contribute to the MyFaces project. Jonas Jacobi ADF Faces Jesse Alexander (KBSA 21) wrote: -Original Message- 2. Oracle will never extend MyFaces component palette; they just test their components with MyFaces runtime. -/Original Message- Check the messages in this mailing lists history very carefully. Particularily I mean the second message of Jonas Jacobi: -Original Message- Forgot to add the following comment: 3. Note that we are planning and working with the MyFaces development team, to contribute our components to the MyFaces project. There are still things that need to be solved, so for now the above statement about pricing is what is officially available from Oracle regarding Oracle ADF (and ADF Faces is part of the overall Oracle ADF bundle). -/Original Message- I think that IS QUITE CONCRETE... -Original Message- 3. ADF Faces are still not skinable with CSS. -/Original Message- They are still in EarlyAccess phase. Maybe you should tell them. Maybe it's on their plans already... -Original Message- 4. Datamodel behind ADF-Faces components is ugly and complicated; try to use some tree-like-components and you will see. -/Original Message- There are thoughts behind it. True it is more a buy-it-all situation. But maybe within some time and the help of Oracle's developers on this list, we might learn its advantages and how to use ADF-components without buying into the full modell. Every single component that we can use isolated helps JSF development. regards Alexander
Re: Replacing JSF EL with JavaScript
Hi. The JSF expression language does not accept parameters for functions, you are right. The new specification for the JSP and JSF common expression language might have a possibility to do that, though. There are workarounds for this: implement the map interface. Provide as a key the parameter you want to provide to the function. use it something like the following: "#{mapname['functionParameter']}". In the getter of your map, call the function with the key as the parameter, that's it. The map trick is well-known, but it's a VERY cumbersome workaround. I can't imagine a worse solution. Bye. /lexi
Re: Replacing JSF EL with JavaScript
The JSF expression language does not accept parameters for functions, you are right. The new specification for the JSP and JSF common expression language might have a possibility to do that, though. There are workarounds for this: implement the map interface. Provide as a key the parameter you want to provide to the function. use it something like the following: "#{mapname['functionParameter']}". In the getter of your map, call the function with the key as the parameter, that's it. regards, Martin On 7/19/05, Aleksei Valikov <[EMAIL PROTECTED]> wrote: > editor.
Re: Replacing JSF EL with JavaScript
http://java.sun.com/j2ee/1.4/docs/tutorial/doc/JSPIntro7.html Look at the bottom.
Re: inputCalendar onchange property is not working.
Well, inputCalendar does have this property in my sources. Are you working in head or MyFaces 1.0.9? I think we fixed a bug regarding this problem some time ago... regards, Martin On 7/19/05, Polanki, Varada (Exchange) <[EMAIL PROTECTED]> wrote: > Hi, >For x:inputCalendar I kept property as > onchange="this.form.submit()" > > But I got error message like below. It seems this property is not > defined. Whenever calendar value changes then I need to execute a > method. But it seems valueChangeListener will be executed only if form > submitted. > > > > weblogic.servlet.jsp.JspException: (line 31): for tag 'inputCalendar' > handler type 'org.apache.myfaces.custom.calendar.HtmlInputCalendarTag' > has no property 'onchange' > at > weblogic.servlet.jsp.StandardTagLib.jspException(Ljava.lang.String;)V(St > andardTagLib.java:1236) > at > weblogic.servlet.jsp.StandardTagLib.addAllSetters(Lweblogic.servlet.jsp. > MyTagInfo;Ljava.util.Properties;Ljava.lang.String;Lweblogic.utils.Unsync > StringBuffer;)V(StandardTagLib.java:1109) > at > weblogic.servlet.jsp.StandardTagLib.genericStartBegin(Ljava.lang.String; > Ljava.util.Properties;Z)Lweblogic.servlet.jsp.ArgHelper;(StandardTagLib. > java:821) > at > weblogic.servlet.jsp.StandardTagLib.processStartTag(Ljava.lang.String;Lj > ava.util.Properties;Lweblogic.servlet.jsp.JspContext;Z)Ljava.lang.String > ;(StandardTagLib.java:918) > at > weblogic.servlet.jsp.JspLexer.mOPEN_EXTENSION_TAG(Z)V(JspLexer.java:2510 > ) > > > > Thanks & Regards, > Varadaraja Polanki > > > > ** > Please be aware that, notwithstanding the fact that the person sending > this communication has an address in Bear Stearns' e-mail system, this > person is not an employee, agent or representative of Bear Stearns. > Accordingly, this person has no power or authority to represent, make > any recommendation, solicitation, offer or statements or disclose > information on behalf of or in any way bind Bear Stearns or any of its > affiliates. > ** > >
Re: Replacing JSF EL with JavaScript
Hi. Are you under the impression that EL functions cannot accept parameters? I am. At least when uspecified as method bindings. There are exceptions like action listeners which receive events as arguments, but I have found no way to implement something like: ... Action action="#{editor.load(document.id)}"/> Works now for me as #{[editor.load(document.id)]} with JavaScript. Bye. /lexi
Re: Replacing JSF EL with JavaScript
You wanna say, that an EL-function call can accept a parameter? How that? Give me an example pls. Rgds Alex Dennis Byrne wrote: Are you under the impression that EL functions cannot accept parameters?
inputCalendar onchange property is not working.
Hi, For x:inputCalendar I kept property as onchange="this.form.submit()" But I got error message like below. It seems this property is not defined. Whenever calendar value changes then I need to execute a method. But it seems valueChangeListener will be executed only if form submitted. weblogic.servlet.jsp.JspException: (line 31): for tag 'inputCalendar' handler type 'org.apache.myfaces.custom.calendar.HtmlInputCalendarTag' has no property 'onchange' at weblogic.servlet.jsp.StandardTagLib.jspException(Ljava.lang.String;)V(St andardTagLib.java:1236) at weblogic.servlet.jsp.StandardTagLib.addAllSetters(Lweblogic.servlet.jsp. MyTagInfo;Ljava.util.Properties;Ljava.lang.String;Lweblogic.utils.Unsync StringBuffer;)V(StandardTagLib.java:1109) at weblogic.servlet.jsp.StandardTagLib.genericStartBegin(Ljava.lang.String; Ljava.util.Properties;Z)Lweblogic.servlet.jsp.ArgHelper;(StandardTagLib. java:821) at weblogic.servlet.jsp.StandardTagLib.processStartTag(Ljava.lang.String;Lj ava.util.Properties;Lweblogic.servlet.jsp.JspContext;Z)Ljava.lang.String ;(StandardTagLib.java:918) at weblogic.servlet.jsp.JspLexer.mOPEN_EXTENSION_TAG(Z)V(JspLexer.java:2510 ) Thanks & Regards, Varadaraja Polanki ** Please be aware that, notwithstanding the fact that the person sending this communication has an address in Bear Stearns' e-mail system, this person is not an employee, agent or representative of Bear Stearns. Accordingly, this person has no power or authority to represent, make any recommendation, solicitation, offer or statements or disclose information on behalf of or in any way bind Bear Stearns or any of its affiliates. **
Re: Replacing JSF EL with JavaScript
Are you under the impression that EL functions cannot accept parameters? Original message >Date: Tue, 19 Jul 2005 18:23:29 +0200 >From: Aleksei Valikov <[EMAIL PROTECTED]> >Subject: Re: Replacing JSF EL with JavaScript >To: MyFaces Discussion > >Hi. > >> Can this be satisfied w/ a static method call. If so, try >> mapping one to a EL function. > >Of course not. The action must be executed within a certain context (for >instance, with a Spring-configured DAO), with a certain parameter (for >instance, current row object). No way this could be implemented statically. > >Bye. >/lexi Dennis Byrne
Re: Replacing JSF EL with JavaScript
Hi. Can this be satisfied w/ a static method call. If so, try mapping one to a EL function. Of course not. The action must be executed within a certain context (for instance, with a Spring-configured DAO), with a certain parameter (for instance, current row object). No way this could be implemented statically. Bye. /lexi
Re: Replacing JSF EL with JavaScript
Can this be satisfied w/ a static method call. If so, try mapping one to a EL function. Original message >Date: Tue, 19 Jul 2005 09:49:05 +0200 >From: Aleksei Valikov <[EMAIL PROTECTED]> >Subject: Re: Replacing JSF EL with JavaScript >To: MyFaces Discussion > >Hi. > >> Instead, IMHO, the expression language should encourage you to >> manipulate server side model data with model tier techniques ... it >> was designed to serve as a *binding* between the tiers, rather than as >> a general purpose computational technology. If we had wanted that, we >> would likely have adopted essentially the entire JavaScript language >> as the expression language mechanism in the first place (it was >> considered and rejected during the initial deliberations in the JSTL >> expert group, for the reasons outlined above). > >Well, probably I'm missing something. >Here's a simple example. I have a documentDao with the possibility to >load document and give back the document list. I want to display a >table, where rows correspond to the documents returned by the dao. In >every row, I'd like to have a "Load" button to load the corresponding >document. >With JS in EL it is as easy as #{[documentDao.load (document)]} as a >button action. > >What would be the easiest way to implement this with standard EL, >without JS? > >Bye. >/lexi Dennis Byrne
Action for input components
Hi I am thinking of adding an action attribute to the input text box, which will be fired when user hits the enter key. Is it a good idea ? Specifically when thinking the immediate attribute in view. The immediate attribute behaves differently for actions and for fields. What happens if I define an action for a input field and set immediate to true when the form is submitted with another action on the form ? TIA. -Srikanth Madarapu
Re: delete a message from FacesContext messages list
Yes, it works! I forgot about immediate :( .. Thank you, Alin. I don't know if I understand you correctly. But, could be useful to you to use the 'immediate' attribute in your button? Bruno 2005/7/19, Alin Dosoniu <[EMAIL PROTECTED]>: Hello, Is there a possibility to access the list of messages from FacesContext and to remove an item from it? I had a look at the sources and did not see one. I have a page with an inputText control and it has a validator. The scenario that I wish to implement is like this: - user goes on the page, introduce a value in inputText control and press Ok. - on the server the validator method checks the value and it is not ok, so return the user the same page with the error message displayed. Until now, everything is ok. - I want to offer the user the possibility to remain on the same page but to not display the message. Suppose there is a button on the same page that goes the user to the same page but with another state of the page (before it was New, now it is Search). For this, I will need a method to remove the error messages added by validator(s). I tried to call FacesContext.release() (which sets the _messages on null), but run in a NullPointerException in LifecycleImpl.render method. Is there another way to achieve the same behaviour? Thanks in advance, Alin.
Re: delete a message from FacesContext messages list
I don't know if I understand you correctly. But, could be useful to you to use the 'immediate' attribute in your button? Bruno 2005/7/19, Alin Dosoniu <[EMAIL PROTECTED]>: > > Hello, > > Is there a possibility to access the list of messages from FacesContext and > to remove an item from it? I had a look at the sources and did not see one. > > I have a page with an inputText control and it has a validator. The scenario > that I wish to implement is like this: > - user goes on the page, introduce a value in inputText control and press > Ok. > - on the server the validator method checks the value and it is not ok, so > return the user the same page with the error message displayed. Until now, > everything is ok. > - I want to offer the user the possibility to remain on the same page but to > not display the message. Suppose there is a button on the same page that > goes the user to the same page but with another state of the page (before it > was New, now it is Search). For this, I will need a method to remove the > error messages added by validator(s). > > I tried to call FacesContext.release() (which sets the _messages on null), > but run in a NullPointerException in LifecycleImpl.render method. > > Is there another way to achieve the same behaviour? > > Thanks in advance, > Alin.
delete a message from FacesContext messages list
Hello, Is there a possibility to access the list of messages from FacesContext and to remove an item from it? I had a look at the sources and did not see one. I have a page with an inputText control and it has a validator. The scenario that I wish to implement is like this: - user goes on the page, introduce a value in inputText control and press Ok. - on the server the validator method checks the value and it is not ok, so return the user the same page with the error message displayed. Until now, everything is ok. - I want to offer the user the possibility to remain on the same page but to not display the message. Suppose there is a button on the same page that goes the user to the same page but with another state of the page (before it was New, now it is Search). For this, I will need a method to remove the error messages added by validator(s). I tried to call FacesContext.release() (which sets the _messages on null), but run in a NullPointerException in LifecycleImpl.render method. Is there another way to achieve the same behaviour? Thanks in advance, Alin.
Re: Oracle ADF JSF
Hi Jonas, Ok, my flashback on EA-15: The customer wanted to see some demo-screens of the proposed JSF solution. The boss said, take a best-looking JSF-components and make the demo in 1 day. ADF-Faces was the choice. We were able to code some simple data-list with paging and search function, but nobody was able to grasp a datamodel for tree in few hours. Ok, we abandoned tree in our demo. Finally we wanted to skin the demo with customer's logo and colors. Big, big, big trouble. Mission impossible. We had to say, sorry boss, Oracle gives us only these khaki buttons and labels (in other words: shit-color). Guess what was the color of boss's face - RED !!! Sorry Jonas, but in my opinion ADF-Faces should be versioned more transparently. Your EA-15 equals to 0.65 in open-source world. Jozef Hribik Jonas Jacobi wrote: Hi All, Thanks Jesse! As mentioned earlier in this thread Oracle is a big company and, no secret, moves slowly. Jozef, I'm very sorry that you feel that way about ADF Faces. It would be very interesting to know specific details about what is not working and what issues you have been running into. The skinning feature has been completed and is implemented in EA17, but as with any new features there are still bugs preventing some components to render custom skins properly. This has been addressed in subsequent releases, which I hope we can release at the end of this month. For the data model I'm not sure I understand your complaint? I have had no problems implementing support for our components, even the tree component. A concrete sample or description of the problem would be appreciated. (We are working on more samples and documentation for ADF Faces) For the pricing, yes it is expensive, but this is for the entire Oracle ADF package IF you are NOT deploying on an Oracle AS. We already have two developers (John Fallows and Adam Winer) getting acquainted with the MyFaces source code to see what it brings and what we can contribute to the MyFaces project. Jonas Jacobi ADF Faces Jesse Alexander (KBSA 21) wrote: -Original Message- 2. Oracle will never extend MyFaces component palette; they just test their components with MyFaces runtime. -/Original Message- Check the messages in this mailing lists history very carefully. Particularily I mean the second message of Jonas Jacobi: -Original Message- Forgot to add the following comment: 3. Note that we are planning and working with the MyFaces development team, to contribute our components to the MyFaces project. There are still things that need to be solved, so for now the above statement about pricing is what is officially available from Oracle regarding Oracle ADF (and ADF Faces is part of the overall Oracle ADF bundle). -/Original Message- I think that IS QUITE CONCRETE... -Original Message- 3. ADF Faces are still not skinable with CSS. -/Original Message- They are still in EarlyAccess phase. Maybe you should tell them. Maybe it's on their plans already... -Original Message- 4. Datamodel behind ADF-Faces components is ugly and complicated; try to use some tree-like-components and you will see. -/Original Message- There are thoughts behind it. True it is more a buy-it-all situation. But maybe within some time and the help of Oracle's developers on this list, we might learn its advantages and how to use ADF-components without buying into the full modell. Every single component that we can use isolated helps JSF development. regards Alexander -- --- *Jonas Jacobi *Principal Product Manager - JSF & ADF Faces Oracle JDeveloper Oracle, Redwood Shores, CA *Blog*: http://www.orablogs.com/jjacobi *Site*: http://www.oracle.com/technology/tech/java/jsf.html __ Informacia od NOD32 1.1172 (20050718) __ Tato sprava bola preverena antivirusovym systemom NOD32. http://www.eset.sk __ Informacia od NOD32 1.1172 (20050718) __ Tato sprava bola preverena antivirusovym systemom NOD32. http://www.eset.sk
Re: Oracle ADF JSF
Hi All, Thanks Jesse! As mentioned earlier in this thread Oracle is a big company and, no secret, moves slowly. Jozef, I'm very sorry that you feel that way about ADF Faces. It would be very interesting to know specific details about what is not working and what issues you have been running into. The skinning feature has been completed and is implemented in EA17, but as with any new features there are still bugs preventing some components to render custom skins properly. This has been addressed in subsequent releases, which I hope we can release at the end of this month. For the data model I'm not sure I understand your complaint? I have had no problems implementing support for our components, even the tree component. A concrete sample or description of the problem would be appreciated. (We are working on more samples and documentation for ADF Faces) For the pricing, yes it is expensive, but this is for the entire Oracle ADF package IF you are NOT deploying on an Oracle AS. We already have two developers (John Fallows and Adam Winer) getting acquainted with the MyFaces source code to see what it brings and what we can contribute to the MyFaces project. Jonas Jacobi ADF Faces Jesse Alexander (KBSA 21) wrote: -Original Message- 2. Oracle will never extend MyFaces component palette; they just test their components with MyFaces runtime. -/Original Message- Check the messages in this mailing lists history very carefully. Particularily I mean the second message of Jonas Jacobi: -Original Message- Forgot to add the following comment: 3. Note that we are planning and working with the MyFaces development team, to contribute our components to the MyFaces project. There are still things that need to be solved, so for now the above statement about pricing is what is officially available from Oracle regarding Oracle ADF (and ADF Faces is part of the overall Oracle ADF bundle). -/Original Message- I think that IS QUITE CONCRETE... -Original Message- 3. ADF Faces are still not skinable with CSS. -/Original Message- They are still in EarlyAccess phase. Maybe you should tell them. Maybe it's on their plans already... -Original Message- 4. Datamodel behind ADF-Faces components is ugly and complicated; try to use some tree-like-components and you will see. -/Original Message- There are thoughts behind it. True it is more a buy-it-all situation. But maybe within some time and the help of Oracle's developers on this list, we might learn its advantages and how to use ADF-components without buying into the full modell. Every single component that we can use isolated helps JSF development. regards Alexander -- --- Jonas Jacobi Principal Product Manager - JSF & ADF Faces Oracle JDeveloper Oracle, Redwood Shores, CA Blog: http://www.orablogs.com/jjacobi Site: http://www.oracle.com/technology/tech/java/jsf.html
[TEST] Testing 1 2 3 4
Testing 1 2 3 4 -- Peter P == Please access the attached hyperlink for an important electronic communications disclaimer: http://www.csfb.com/legal_terms/disclaimer_external_email.shtml ==
[ANN] BOF XI Struts JSF London / 7:00PM / Kettners
JUST A REMINDER The Eleventh Struts/JSF London Networking BOF is taking place on Tuesday 19 July 2005 at 19:00 or afterwards at Kettners Restaurant in SOHO, West End, London. 29 Romilly Street, London, W1D 5HP Telephone: 0871 223 8103 Nearest Tube: Leicester Square [3 minutes] (or Picadilly Circus [5 minutes], Tottenham Court Road [7 min] or Charing Cross [15 min ] ) > http://www.london-eating.co.uk/2025.htm > http://www.multimap.com/map/browse.cgi?client=public&pc=W1D%205HP&cat=res > http://travel.guardian.co.uk/restaurants/story/0,13739,1007545,00.html > http://www.pizzaexpress.com/kettners/rest.htm Kettner looks swanking, but it's really just smoke and mirrors. So dont worry. > > To join up or confirm attendence send me an email off mailing > list. If you want to bring a friend as well, then that fine. Just > turn up > at the scheduled time. Thanks in advance/. > > PS: BOF == Birds of a feather Some themes Free summer discussion on the forthcoming Struts 1.3 release and what is the next path to innovation with JSF. Should enterprises develop with JSF instead of Struts on new projects? On-going discussion with the Meetup replacement site? Plus any other business, members own experiences e.g. how to develop a project for the first-time with Spring and another IoC container? -- Peter Pilgrim :: J2EE Software Development Operations/IT - Credit Suisse First Boston, Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom Tel: +44-(0)207-883-4497 == Please access the attached hyperlink for an important electronic communications disclaimer: http://www.csfb.com/legal_terms/disclaimer_external_email.shtml ==
RE: having problem with inputSecret tag
I have seen similar behavior on most of the registration pages, I think that is the desired behavior of the password field. -Original Message- From: Rashmi Kumari [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 19, 2005 9:22 AM To: MyFaces Discussion Subject: having problem with inputSecret tag Hi, I have a user form having password field(using tag) and a list box(using ). whenever I change value of the list box, password entered in the text field disappears and user has to renter the password. Similarly if I retrieve user's data from the database, all the values are shown except password field which is blank. Is this an usual behavior of tag. Thanx for any help . Regards, Rashmi
having problem with inputSecret tag
Hi, I have a user form having password field(using tag) and a list box(using ). whenever I change value of the list box, password entered in the text field disappears and user has to renter the password. Similarly if I retrieve user's data from the database, all the values are shown except password field which is blank. Is this an usual behavior of tag. Thanx for any help . Regards, Rashmi
RE: CommandButton and selectOneRadio
I don't see a command button in this code ! -Original Message- From: Balaji Saranathan [mailto:[EMAIL PROTECTED] Sent: Friday, July 15, 2005 5:07 PM To: 'MyFaces Discussion' Subject: RE: CommandButton and selectOneRadio This is the form code. -Original Message- From: Bruno Aranda [mailto:[EMAIL PROTECTED] Sent: Friday, July 15, 2005 5:00 PM To: MyFaces Discussion; [EMAIL PROTECTED] Subject: Re: CommandButton and selectOneRadio Strange... as it should work. Could you post some code in order to help you better? Regards, Bruno 2005/7/15, Balaji Saranathan <[EMAIL PROTECTED]>: > > > > Hi, > > I have a form having two radioButtons and a Text Area. The contents of > the Text Area depends on the radio Button selected. > > However, whenever I add a command button to this form, radio buttons > do not work. Has anyone faced such issues? > > Thanks > Bala > > > Confidentiality Notice > > The information contained in this electronic message and any > attachments to this message are intended for the exclusive use of the > addressee(s) and may contain confidential or privileged information. > If you are not the intended recipient, please notify the sender at > Wipro or [EMAIL PROTECTED] immediately > and destroy all copies of this message and any attachments. > Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or [EMAIL PROTECTED] immediately and destroy all copies of this message and any attachments.
Re: HtmlDateRenderer method visiblity
Csaba, why don't you modify the current HtmlDateRenderer and enable it to use the current locale? It would be a nice feature to have in myfaces... Regards, Bruno 2005/7/19, Sebestyén Csaba <[EMAIL PROTECTED]>: > > > > Hi! > > > > I try to extend the inputDalendar to set the order of day, month and year > fields by the current locale. I extended the > org.apache.myfaces.custom.date.HtmlDateRenderer class, > rewrote the encodeEnd() method, but the base rendering methods > (encodeInput[Day|Month|Year...]) are private, so I can't > use them. > > Can you change the visiblity of these methods to protected? > > > > (Of course, I can change it in the source on my own. But I want to be > up-to-date, and use the latest version of MyFaces components.) > > > > TYIA, > > > > Csaba > >
HtmlDateRenderer method visiblity
Hi! I try to extend the inputDalendar to set the order of day, month and year fields by the current locale. I extended the org.apache.myfaces.custom.date.HtmlDateRenderer class, rewrote the encodeEnd() method, but the base rendering methods (encodeInput[Day|Month|Year...]) are private, so I can’t use them. Can you change the visiblity of these methods to protected? (Of course, I can change it in the source on my own. But I want to be up-to-date, and use the latest version of MyFaces components.) TYIA, Csaba
RE: Datamodel refresh
Title: Nachricht Excellent ! Thx. Max. De : Broekelmann, Mathias [mailto:[EMAIL PROTECTED] Envoyé : mardi 19 juillet 2005 12:28 À : MyFaces Discussion Objet : RE: Datamodel refresh The implementation of the datatable in 1.0.9 contains some bugs which we are going to resolve for the next release. The datatable implementation is refactored in the current svn repository. I´ve just fixed some issues on the new implementation and commited it to the repository. If you are able to checkout and build from the repos. please do so or wait for the nightly build and try it out. Mathias -Original Message- From: Maxence Dewil [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 19, 2005 11:30 AM To: users@myfaces.apache.org Subject: Datamodel refresh Hello all, I’am quite new to Myfaces, so be indulgent if my question looks stupid ;-). I have a JSF page with a simple session-scope backing bean which holds an ArrayList of objects to show in a table. The user can add/remove items to that list. There is also a selectOneMenu that refresh the model when the selection changes. Here is the strange behaviour: some of the values contained in the first list come back in the refreshed list after some add/remove operations. My question: does the myfaces framework hold a reference to the first list somewhere? Am I missing something (The behaviour is not the same with the 1.0.9 version and the nightly builds…)? Thank you. Maxence Dewil
Re: Welcome James!
fine to have you on board James! Greetings from ApacheCon (Portlet Session ;)) On 7/19/05, Broekelmann, Mathias <[EMAIL PROTECTED]> wrote: > Congratulations. > > > -Original Message- > > From: Manfred Geiler [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, July 19, 2005 12:23 PM > > To: dev@myfaces.apache.org; users@myfaces.apache.org > > Subject: Welcome James! > > > > > > Ladies and Gentlemen, > > Please welcome our new MyFaces committer James Mitchell (jmitchell)! > > James, glad to have you on board and looking forward to > > working together. > > > > Kind regards, > > Manfred Geiler > > > -- Matthias Wessendorf
RE: Welcome James!
Congratulations. > -Original Message- > From: Manfred Geiler [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 19, 2005 12:23 PM > To: dev@myfaces.apache.org; users@myfaces.apache.org > Subject: Welcome James! > > > Ladies and Gentlemen, > Please welcome our new MyFaces committer James Mitchell (jmitchell)! > James, glad to have you on board and looking forward to > working together. > > Kind regards, > Manfred Geiler >
RE: Datamodel refresh
Title: Nachricht The implementation of the datatable in 1.0.9 contains some bugs which we are going to resolve for the next release. The datatable implementation is refactored in the current svn repository. I´ve just fixed some issues on the new implementation and commited it to the repository. If you are able to checkout and build from the repos. please do so or wait for the nightly build and try it out. Mathias -Original Message-From: Maxence Dewil [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 19, 2005 11:30 AMTo: users@myfaces.apache.orgSubject: Datamodel refresh Hello all, I’am quite new to Myfaces, so be indulgent if my question looks stupid ;-). I have a JSF page with a simple session-scope backing bean which holds an ArrayList of objects to show in a table. The user can add/remove items to that list. There is also a selectOneMenu that refresh the model when the selection changes. Here is the strange behaviour: some of the values contained in the first list come back in the refreshed list after some add/remove operations. My question: does the myfaces framework hold a reference to the first list somewhere? Am I missing something (The behaviour is not the same with the 1.0.9 version and the nightly builds…)? Thank you. Maxence Dewil
Welcome James!
Ladies and Gentlemen, Please welcome our new MyFaces committer James Mitchell (jmitchell)! James, glad to have you on board and looking forward to working together. Kind regards, Manfred Geiler
ajax request
Hi! I have to make ajax request which affect to many components in the page. For example,lets consider mail web application. It has list of messages (data table) and tree of folders(tree). When user clicks on message which is unread after ajax request we should 1) change style of the corresponding message in data table and image near it 2) decrease amount of unread messages near correspond folder name in tree I have only one solution now - change corresponding dom elements in java script after successful ajax response. But in this case I have two places where I specify how display unread message - in element of the table and in the script. I want avoid this duplication because seem such ajax request will be more enough. So it's desirable to specify displaying only in tag But I haven't any idea how to do this ;( Hope I was clear enough ;)
Re: Replacing JSF EL with JavaScript
Aleksei Valikov wrote: I don't think that simple EL helps the simplicity of application. I agree with you, I stumbled upon several cases in my last few apps where I cursed the EL for what it was, and spent hours to program workarounds for simple things like you mentioned. I think the force the user to do it exactly one way approach of the EL breaks the general design of JSF which is more like a huge toolset which does not enforce too much at all.
Re: Replacing JSF EL with JavaScript
Hi. Well, probably I'm missing something. Here's a simple example. I have a documentDao with the possibility to load document and give back the document list. I want to display a table, where rows correspond to the documents returned by the dao. In every row, I'd like to have a "Load" button to load the corresponding document. With JS in EL it is as easy as #{[documentDao.load(document)]} as a button action. What would be the easiest way to implement this with standard EL, without JS? Guess you brought up the classical example of having to fight with the table element, due to el limitations, I worked around that by setting command links and passing parameters down to that, but it is not as compact as having a direct method call. Right. My idea was to extend data model so that row objects have non-parameterized processAction() methods that will be triggered by the command, quasi #{myRowObject.load}. But in any case, with non-parameterizable method binding you result with a much greater coupling of services, for instance, row objects must be aware of DAOs and so on. I think, this is MUCH worse than "mixing" the controller and presentation logic. Anyway, isn't it already "mixed", when we have #{myObject.myAction}? When we have the possibility to specify action listeners in tags? How much implementing java.util.Map in object to allow #{root.myObject[whatever]} is better than simply calling #{root.getMyObject('whatever')}? And so on. I don't think that simple EL helps the simplicity of application. Bye. /lexi
Datamodel refresh
Hello all, I’am quite new to Myfaces, so be indulgent if my question looks stupid ;-). I have a JSF page with a simple session-scope backing bean which holds an ArrayList of objects to show in a table. The user can add/remove items to that list. There is also a selectOneMenu that refresh the model when the selection changes. Here is the strange behaviour: some of the values contained in the first list come back in the refreshed list after some add/remove operations. My question: does the myfaces framework hold a reference to the first list somewhere? Am I missing something (The behaviour is not the same with the 1.0.9 version and the nightly builds…)? Thank you. Maxence Dewil
RE: Oracle ADF JSF
-Original Message- 2. Oracle will never extend MyFaces component palette; they just test their components with MyFaces runtime. -/Original Message- Check the messages in this mailing lists history very carefully. Particularily I mean the second message of Jonas Jacobi: -Original Message- Forgot to add the following comment: 3. Note that we are planning and working with the MyFaces development team, to contribute our components to the MyFaces project. There are still things that need to be solved, so for now the above statement about pricing is what is officially available from Oracle regarding Oracle ADF (and ADF Faces is part of the overall Oracle ADF bundle). -/Original Message- I think that IS QUITE CONCRETE... -Original Message- 3. ADF Faces are still not skinable with CSS. -/Original Message- They are still in EarlyAccess phase. Maybe you should tell them. Maybe it's on their plans already... -Original Message- 4. Datamodel behind ADF-Faces components is ugly and complicated; try to use some tree-like-components and you will see. -/Original Message- There are thoughts behind it. True it is more a buy-it-all situation. But maybe within some time and the help of Oracle's developers on this list, we might learn its advantages and how to use ADF-components without buying into the full modell. Every single component that we can use isolated helps JSF development. regards Alexander
Re: Oracle ADF JSF
Yes, I am a big critic to Oracle ADF Faces. I have waste my time with EA-10, EA-13 and EA-15. My posts are WARNINGs to all people new to ADF-Faces. Werner Punz wrote: Jozef Hribik wrote: Hi Aleksei, Wake up, stop dreaming and open your eyes. 1. Everything from Oracle is priced like "5k per CPU"; they have pulled our legs in last 10 months. Oracle is expensive, yes but they have their market and make no secret about it. There are many szenarios, where I would rather go with Oracle than anything else. Besides that they have done a lot recently, without them we still would have no full J2EE IDE which is free to use. 2. Oracle will never extend MyFaces component palette; they just test their components with MyFaces runtime. 3. ADF Faces are still not skinable with CSS. 4. Datamodel behind ADF-Faces components is ugly and complicated; try to use some tree-like-components and you will see. We do not know yet what the future will bring, if Oracle will donate some components everyone will be happy, if not, the world will not go under. It is good to have another set of eyes to check the code, and if Oracle wont donate anything, even having them check the code against ADF Faces is important enough to be happy to have them on board. So cool down a little bit :-), having Oracle on board is a benefit for all of us. Werner __ Informacia od NOD32 1.1172 (20050718) __ Tato sprava bola preverena antivirusovym systemom NOD32. http://www.eset.sk __ Informacia od NOD32 1.1172 (20050718) __ Tato sprava bola preverena antivirusovym systemom NOD32. http://www.eset.sk
Re: Oracle ADF JSF
Jozef Hribik wrote: Hi Aleksei, Wake up, stop dreaming and open your eyes. 1. Everything from Oracle is priced like "5k per CPU"; they have pulled our legs in last 10 months. Oracle is expensive, yes but they have their market and make no secret about it. There are many szenarios, where I would rather go with Oracle than anything else. Besides that they have done a lot recently, without them we still would have no full J2EE IDE which is free to use. 2. Oracle will never extend MyFaces component palette; they just test their components with MyFaces runtime. 3. ADF Faces are still not skinable with CSS. 4. Datamodel behind ADF-Faces components is ugly and complicated; try to use some tree-like-components and you will see. We do not know yet what the future will bring, if Oracle will donate some components everyone will be happy, if not, the world will not go under. It is good to have another set of eyes to check the code, and if Oracle wont donate anything, even having them check the code against ADF Faces is important enough to be happy to have them on board. So cool down a little bit :-), having Oracle on board is a benefit for all of us. Werner
Re: Replacing JSF EL with JavaScript
Aleksei Valikov wrote: Hi. Instead, IMHO, the expression language should encourage you to manipulate server side model data with model tier techniques ... it was designed to serve as a *binding* between the tiers, rather than as a general purpose computational technology. If we had wanted that, we would likely have adopted essentially the entire JavaScript language as the expression language mechanism in the first place (it was considered and rejected during the initial deliberations in the JSTL expert group, for the reasons outlined above). Well, probably I'm missing something. Here's a simple example. I have a documentDao with the possibility to load document and give back the document list. I want to display a table, where rows correspond to the documents returned by the dao. In every row, I'd like to have a "Load" button to load the corresponding document. With JS in EL it is as easy as #{[documentDao.load(document)]} as a button action. What would be the easiest way to implement this with standard EL, without JS? Guess you brought up the classical example of having to fight with the table element, due to el limitations, I worked around that by setting command links and passing parameters down to that, but it is not as compact as having a direct method call. I also would have preferred to have a less rigid, less academic approach regarding el and mvc, and having more flexibility. In the end you will end up with lots of shoehorn constructs that way in a real world application.
Re: Replacing JSF EL with JavaScript
Hi. Instead, IMHO, the expression language should encourage you to manipulate server side model data with model tier techniques ... it was designed to serve as a *binding* between the tiers, rather than as a general purpose computational technology. If we had wanted that, we would likely have adopted essentially the entire JavaScript language as the expression language mechanism in the first place (it was considered and rejected during the initial deliberations in the JSTL expert group, for the reasons outlined above). Well, probably I'm missing something. Here's a simple example. I have a documentDao with the possibility to load document and give back the document list. I want to display a table, where rows correspond to the documents returned by the dao. In every row, I'd like to have a "Load" button to load the corresponding document. With JS in EL it is as easy as #{[documentDao.load(document)]} as a button action. What would be the easiest way to implement this with standard EL, without JS? Bye. /lexi
Best Practice redirecting?
Hi folks, I searched around for a few minutes now, regarding "redirection after successfull form submit" for example, and I found a few ways to do it. What I am wondering was, which way I should use in which situation and which ways is the "best practice" way. Perhaps this is a easy question for you all, but it was thinking of which pros and cons are connected to a specific solution. I collected the to version I found and used till now. Perhaps you can comment on it, add some other versions, and after that we could collect our stuff and add it to the wiki. Here are my versions: - First way through the action-tag to the faces navigation: * popupsuccess /close.jspx Andy my second idea was through the external way: FacesContext fc =FacesContext.getCurrentInstance(); fc.getExternalContext().redirect(url); fc.responseComplete(); return; Any other sugestions out there? Hope this post is not annoying you. Kindly regards Johannes Trying to provide a bit more documentation for myfaces, to get a very nice project more famous! _ Mit der Gruppen-SMS von WEB.DE FreeMail können Sie eine SMS an alle Freunde gleichzeitig schicken: http://freemail.web.de/features/?mc=021179
Re: Oracle ADF JSF
Well, let's see what the future brings. In the meantime, let's keep enjoying that there is a thing like Open Source! regards, Martin On 7/19/05, Jozef Hribik <[EMAIL PROTECTED]> wrote: > Hi Aleksei, > > Wake up, stop dreaming and open your eyes. > 1. Everything from Oracle is priced like "5k per CPU"; they have pulled > our legs in last 10 months. > 2. Oracle will never extend MyFaces component palette; they just test > their components with MyFaces runtime. > 3. ADF Faces are still not skinable with CSS. > 4. Datamodel behind ADF-Faces components is ugly and complicated; try to > use some tree-like-components and you will see. > > Bye > Jozef > > Aleksei Valikov wrote: > > > Hi. > > > >> Forgot to add the following comment: > >> > >> 3. Note that we are planning and working with the MyFaces development > >> team, to contribute our components to the MyFaces project. There are > >> still things that need to be solved, so for now the above statement > >> about pricing is what is officially available from Oracle regarding > >> Oracle ADF (and ADF Faces is part of the overall Oracle ADF bundle). > > > > > > So there basically is a chance that Oracle extends MyFaces component > > palette? Well, that would be great! From what's available on OTN, you > > seem to have the most advanced JSF component library. > > > > Bye. > > /lexi > > > > > > __ Informacia od NOD32 1.1171 (20050718) __ > > > > Tato sprava bola preverena antivirusovym systemom NOD32. > > http://www.eset.sk > > > > > > > > __ Informacia od NOD32 1.1171 (20050718) __ > > > > Tato sprava bola preverena antivirusovym systemom NOD32. > > http://www.eset.sk > > > > > > > >
Re: Oracle ADF JSF
Hi Aleksei, Wake up, stop dreaming and open your eyes. 1. Everything from Oracle is priced like "5k per CPU"; they have pulled our legs in last 10 months. 2. Oracle will never extend MyFaces component palette; they just test their components with MyFaces runtime. 3. ADF Faces are still not skinable with CSS. 4. Datamodel behind ADF-Faces components is ugly and complicated; try to use some tree-like-components and you will see. Bye Jozef Aleksei Valikov wrote: Hi. Forgot to add the following comment: 3. Note that we are planning and working with the MyFaces development team, to contribute our components to the MyFaces project. There are still things that need to be solved, so for now the above statement about pricing is what is officially available from Oracle regarding Oracle ADF (and ADF Faces is part of the overall Oracle ADF bundle). So there basically is a chance that Oracle extends MyFaces component palette? Well, that would be great! From what's available on OTN, you seem to have the most advanced JSF component library. Bye. /lexi __ Informacia od NOD32 1.1171 (20050718) __ Tato sprava bola preverena antivirusovym systemom NOD32. http://www.eset.sk __ Informacia od NOD32 1.1171 (20050718) __ Tato sprava bola preverena antivirusovym systemom NOD32. http://www.eset.sk