Re: Serialization issue with app scoped beans referenced by session scoped beans

2008-02-06 Thread Kent Tong
Simon Kitching-4 wrote: > > Of course this does only apply to the fairly rare case of injecting an > app-scope reference into a session-scoped bean. I cannot see any similar > problems when injecting session-scope into session-scope, or anything > into a request-scoped bean. > Thanks for the c

Re: [Trinidad] Lightweight dialogs broken in 1.0.4?

2008-02-06 Thread Matthias Wessendorf
Hello Rafa, On Feb 5, 2008 2:34 PM, Rafa Pérez <[EMAIL PROTECTED]> wrote: > Hi all, > > I have set trinidad 1.0.4 to show lightweight dialogs. I am facing some > problems related to them when setting partialSubmit="true" on the > commandButton or commandLink. This issues seem similar to TRINIDAD-8

Re: [Trinidad] Tags aren't getting rendered (but I can see them when I go to view-source)

2008-02-06 Thread Matthias Wessendorf
Hi Richard On Feb 7, 2008 6:15 AM, Richard Yee <[EMAIL PROTECTED]> wrote: > Hi, > I am using Trinidad 1.0.5 and MyFaces 1.1.5 with JDeveloper 10.1.3.1. > My application works fine in the embedded server but when I deploy the ear > file to the oc4j external container, my pages end up blank - The br

Re: Where to find all the param-names such as "org.apache.myfaces.ALLOW_JAVASCRIPT"?

2008-02-06 Thread Matthias Wessendorf
> I can find some more param-names inthe example code. But I think there > should be a document for this, right? yes, that would be good. But never happened. Wanna start a wiki ? > > > * > > > Hi, > > best place to have a look at is the web.xml provided by the example > appli

Re: License Question: web-facesconfig.dtd for MyFaces Impl 1.2 Jar

2008-02-06 Thread Matthias Wessendorf
Hey, > However, these files have been licensed to the ASF using an > ASL-license by Sun, kudos to one of the Apache Committers who also > works at Sun (as far as I remember - can anybody throw in a mail?). So > the notice.txt file needs to be adapted, @Leonardo, can you please > check: perhaps th

Re: Serialization issue with app scoped beans referenced by session scoped beans

2008-02-06 Thread Martin Marinschek
Hi Simon, Spring's might help - if it is serializable, and retrieves the beanFactory on deserialization. However, it doesn't do it right now; I think - but we discussed with Jürgen once, and maybe it will be supported in the future. I doubt the JSF managed-bean facility is sophisticated enough s

Re: Serialization issue with app scoped beans referenced by session scoped beans

2008-02-06 Thread simon
On Wed, 2008-02-06 at 19:20 -0800, Kent Tong wrote: > > > Simon Kitching-4 wrote: > > > > And java's serialization has *always* discarded transient objects on > > serialization and marked them as null on deserialization. That's > > perfectly normal. There are a number of options here for you, i

Re: Where to find all the param-names such as "org.apache.myfaces.ALLOW_JAVASCRIPT"?

2008-02-06 Thread Thomas Chang
Hi, I can find some more param-names inthe example code. But I think there should be a document for this, right? * Hi, best place to have a look at is the web.xml provided by the example application. See file "tomahawk-examples-1.1.6-bin.zip" http://myface

Re: License Question: web-facesconfig.dtd for MyFaces Impl 1.2 Jar

2008-02-06 Thread Martin Marinschek
They should be included - I see: web-facesconfig_1_0.dtd web-facesconfig_1_1.dtd and web-facesconfig_1_2.xsd in the source under impl/src/main/resources However, these files have been licensed to the ASF using an ASL-license by Sun, kudos to one of the Apache Committers who also works at Sun (as

Re: inputHtml

2008-02-06 Thread Martin Marinschek
P.S.: it als helps if you send me a mail with the link to the issue. regards, Martin On Feb 7, 2008 7:57 AM, Martin Marinschek <[EMAIL PROTECTED]> wrote: > Hi Ken, > > as far as I can tell, you have been reporting a bug for Tomahawk - so > it should have a TOMAHAWK- issue key. I deleted the issu

Re: inputHtml

2008-02-06 Thread Martin Marinschek
Hi Ken, as far as I can tell, you have been reporting a bug for Tomahawk - so it should have a TOMAHAWK- issue key. I deleted the issue - please use the tomahawk issue tracker. regards, Martin On Feb 7, 2008 1:54 AM, Ken McArthur <[EMAIL PROTECTED]> wrote: > Martin, > > Issue key = myfaces-1813

Re: [Trinidad] Tags aren't getting rendered (but I can see them when I go to view-source)

2008-02-06 Thread Martin Marinschek
The Faces-Servlet might not be triggered properly, and you might end up viewing the pages directly. In facelets, the tag-libs might not be found. regards, Martin On Feb 7, 2008 6:15 AM, Richard Yee <[EMAIL PROTECTED]> wrote: > Hi, > I am using Trinidad 1.0.5 and MyFaces 1.1.5 with JDeveloper 10.

[Trinidad] Tags aren't getting rendered (but I can see them when I go to view-source)

2008-02-06 Thread Richard Yee
Hi, I am using Trinidad 1.0.5 and MyFaces 1.1.5 with JDeveloper 10.1.3.1. My application works fine in the embedded server but when I deploy the ear file to the oc4j external container, my pages end up blank - The browser window is empty and if I view the source, I can see all of the tags. I have

Re: RadioButtons Problem!!!

2008-02-06 Thread Akhil K
Hello, I have seen the example in the link which you had given. Thanks for that. But i actually wanted to retrieve the radio button index from the table so that i can retrieve the row data using that particular index. Thanks in advance, Akhil -- View this message in context: http://www.nabble.c

Re: [Tomahawk] non-unique IDs in

2008-02-06 Thread Andrew Robinson
I don't use JSTL, IMO JSTL and JSF should never be used together unless there is an extremely good reason to do so. -Andrew On Feb 6, 2008 2:51 PM, Łukasz Budnik <[EMAIL PROTECTED]> wrote: > Hi Andrew, > > There is no t2c string in my source codes. > > Tell me, what JSTL do You use? I'm using de

Re: Serialization issue with app scoped beans referenced by session scoped beans

2008-02-06 Thread Kent Tong
Simon Kitching-4 wrote: > > And java's serialization has *always* discarded transient objects on > serialization and marked them as null on deserialization. That's > perfectly normal. There are a number of options here for you, including > transient Bean2 appBean = new Bean2(); > or accessing

Re: inputHtml

2008-02-06 Thread Ken McArthur
Martin, Issue key = myfaces-1813 Thanks again and have a great day, Ken On Feb 6, 2008 5:21 PM, Martin Marinschek <[EMAIL PROTECTED]> wrote: > http://myfaces.apache.org/issue-tracking.html > > regards, > > Martin > > On Feb 7, 2008 1:08 AM, Ken McArthur <[EMAIL PROTECTED]> wrote: > > Martin, >

Re: inputHtml

2008-02-06 Thread Martin Marinschek
http://myfaces.apache.org/issue-tracking.html regards, Martin On Feb 7, 2008 1:08 AM, Ken McArthur <[EMAIL PROTECTED]> wrote: > Martin, > > That's very cool you found the problem. I could not find myfaces project on > jira.codehaus.org. Where do I need to go to open an issue? > > Thanks, > Ke

Re: inputHtml

2008-02-06 Thread Ken McArthur
Martin, That's very cool you found the problem. I could not find myfaces project on jira.codehaus.org. Where do I need to go to open an issue? Thanks, Ken On Feb 6, 2008 1:14 PM, Martin Marinschek <[EMAIL PROTECTED]> wrote: > I have a fix for this problem - please open an issue, I will comm

Re: RadioButtons Problem!!!

2008-02-06 Thread david delbecq
Akhil K a écrit : I have added radio buttons to every row in the data table using the following code: Can someone tell me how to use these radio buttons. I actually want to get a select row and after c

Re: Portlet Environment and Orchestra

2008-02-06 Thread Scott O'Bryan
You could. But then that wouldn't necessarily play nicely with JSR-301 unless you wanted to make your own custom portlet from scratch. :) So in either case, I totally agree that filters cannot be relied upon for JSF. Scott Bernhard Huemer wrote: Hello, Many portals - at least those I kn

Re: Portlet Environment and Orchestra

2008-02-06 Thread Bernhard Huemer
Hello, Many portals - at least those I know - dispatch calls to portlets by retrieving a RequestDispatcher and then they just call "include()". However, I've already heard quite a few times that Servlet Filters don't work in Liferay regardless of the dispatcher methods being configured (i.e.

Re: [Tomahawk] non-unique IDs in

2008-02-06 Thread Łukasz Budnik
Hi Andrew, There is no t2c string in my source codes. Tell me, what JSTL do You use? I'm using default JSTL shipped with Netbeans 6.0. Maybe JSTL is causing this error? best regards Łukasz On 06/02/2008, Andrew Robinson <[EMAIL PROTECTED]> wrote: > As far as I can see, t2c appears nowhere in t

Re: [Trinidad] Lightweight dialogs broken in 1.0.4?

2008-02-06 Thread Gerhard Petracek
hello rafa, please provide a link to a sample application, if the problem also occurs with version 1.0.5. (please add all dependencies to the pom.xml of your sample application.) regards, gerhard 2008/2/5, Rafa Pérez <[EMAIL PROTECTED]>: > > Iceweasel(Firefox) 2.0.0.5 on Debian Linux. Same iss

"Resources framework is not initialised, check web.xml for Filter configuration" with MyFaces 1.2.2 on Tomcat 6

2008-02-06 Thread Karr, David
I did google around for this, but I can't find a clear solution to this. I was previously playing with an app using MyFaces 1.1.5 and got to a certain level of success. I'm now trying to build an app for Tomcat 6, using MyFaces 1.2.2. I added all the elements that I think are required, and that

Re: Portlet Environment and Orchestra

2008-02-06 Thread Mario Ivankovits
Hi! The short answer to your question is no, the bridge won't help you here. Portlet 1.0 didn't define support for filters or wrapping request/response objects. Hence initialization done in filters in the servlet environment should be rewritten/migrated to FacesContextFactory. Yep, I'll try

Re: Portlet Environment and Orchestra

2008-02-06 Thread Scott O'Bryan
Mike is right.. And this is, essentially, what the Configurator framework does. It handles all the details for you, you just need to add a service file and extend/override the configurator class. Like I say, I'll make this my top priority after bridge code is reorganized. In the mean time,

Re: submitOnEvent callback

2008-02-06 Thread Martin Marinschek
Bug is resolved - please try with the nightly snapshot. In any case, rendered should have worked before. regards, Martin On Feb 2, 2008 2:29 AM, Dave <[EMAIL PROTECTED]> wrote: > Hi Martin, > I have filed a bug in MyFaces jira. > > http://issues.apache.org/jira/browse/TOMAHAWK-1187 > > I also s

Re: inputHtml

2008-02-06 Thread Martin Marinschek
I have a fix for this problem - please open an issue, I will commit it. regards, Martin On Feb 5, 2008 4:54 AM, Ken McArthur <[EMAIL PROTECTED]> wrote: > Attempting to upgrade from myfaces 1.1.5 to 1.2.2 and all works great > except for inputHtml. > > Using myfaces 1.2.2, tomahawk 1.1.6, facele

Re: Custom DataScroller (t:dataScroller)

2008-02-06 Thread Martin Marinschek
Hi Tathagat, I am very sorry, but I do not understand where you are heading. Why should the second scroller have all data then? I really don't get your explanation. regards, Martin On Feb 1, 2008 4:18 PM, Tathagat <[EMAIL PROTECTED]> wrote: > Hi All. > Current data scroller gives a paginator i

Re: MyFaces 1.1.5 Strange validation behaviour

2008-02-06 Thread Martin Marinschek
Hi Adam, do you use component-binding with a session-scoped bean? regards, Martin On Feb 5, 2008 8:04 PM, Adam Perlik <[EMAIL PROTECTED]> wrote: > Hi, > > I have a jsp page with text input on it and a long range validator (0 > to 99) connected with that field. > Now I run the following sce

Re: [Tomahawk] non-unique IDs in

2008-02-06 Thread Andrew Robinson
As far as I can see, t2c appears nowhere in the myfaces or tomahawk code. It seems like it is coming from your code. What are the results on a grep for t2c in all of your source code? On Feb 6, 2008 9:22 AM, Łukasz Budnik <[EMAIL PROTECTED]> wrote: > Hi Andrew, > > I'm using: > > myfaces-api-1.2

Re: Portlet Environment and Orchestra

2008-02-06 Thread Michael Freedman
Attached is the current draft of chapter 8 on the JSR 301 spec (portlet bridge).  It describes things developers of Faces extensions should be aware of to cohabitate with a bridge/run in a portlet environment. The short answer to your question is no, the bridge won't help you here.  Portlet 1.

Re: [Trinidad] commandButton action method not called

2008-02-06 Thread Matthias Wessendorf
should work can you upload a demo project to jira? -M On Feb 6, 2008 5:12 PM, Andrew Robinson <[EMAIL PROTECTED]> wrote: > Have you tried tr:form instead of h:form? Not sure if it will fix it, but > worth trying. > > > > On Feb 6, 2008 1:08 AM, Paul van Rossem <[EMAIL PROTECTED]> wrote: > > > I

Re: [Tomahawk] non-unique IDs in

2008-02-06 Thread Łukasz Budnik
Hi Andrew, I'm using: myfaces-api-1.2.2 and myfaces-impl-1.2.2 with: myfaces-shared-tomahawk-3.0.1 tomahawk-1.1.7-SNAPSHOT best regards Łukasz On 06/02/2008, Andrew Robinson <[EMAIL PROTECTED]> wrote: > That doesn't make much sense to me as generated IDs are in the form of > "_id##", so t2c i

Re: [Trinidad] commandButton action method not called

2008-02-06 Thread Andrew Robinson
Have you tried tr:form instead of h:form? Not sure if it will fix it, but worth trying. On Feb 6, 2008 1:08 AM, Paul van Rossem <[EMAIL PROTECTED]> wrote: > I tried the following simple jsf: > > > xmlns:jsp="http://java.sun.com/JSP/Page"; > xmlns:c="http://java.sun.com/jsp/jstl/core"; > xmln

Re: [Tomahawk] non-unique IDs in

2008-02-06 Thread Andrew Robinson
That doesn't make much sense to me as generated IDs are in the form of "_id##", so t2c is not possible unless you or some code explicitly sets it somewhere. What JSF impl version are you using. Also try grepping your code for t2c. -Andrew On Feb 5, 2008 4:38 PM, Łukasz Budnik <[EMAIL PROTECTED]>

AW: Orchestra: how to access the "real bean" behind the proxies?

2008-02-06 Thread Schnack, Malte
Hi, to finish this one up, here is a code snipped that does not really resolve the "real bean", but delivers the expected behaviour: --- // 0: get the bean (proxy) Object proxy = FrameworkAdapter.getCurrentInstance().getBean( beanName); // 1: un-proxy the Spring Scoped Object whi

Re: How can I have more than one bean in an orchestra conversation

2008-02-06 Thread Matthias Wessendorf
Hi On Feb 6, 2008 3:01 PM, Simon Kitching <[EMAIL PROTECTED]> wrote: > Hi Wolfgang, > > This page talks about conversation names: > http://myfaces.apache.org/orchestra/myfaces-orchestra-core/conversation.html > > However there isn't an actual code example on that page; I will try to find > time

Re: How can I have more than one bean in an orchestra conversation

2008-02-06 Thread Simon Kitching
Hi Wolfgang, This page talks about conversation names: http://myfaces.apache.org/orchestra/myfaces-orchestra-core/conversation.html However there isn't an actual code example on that page; I will try to find time to add one. An example of a conversation name is shown here: http://myfaces.apach

Re: MyFaces-Orchestra-ViewController : NullpointerException

2008-02-06 Thread Martin Marinschek
Hi Mario, just shooting into the dark: do you have a phase-listener registered before restore-view for Orchestra? This phase-listener will not be called in the portlet-case if only rendering is executed. regards, Martin On 2/6/08, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: > Hi Mario, > > >

Re: MyFaces-Orchestra-ViewController : NullpointerException

2008-02-06 Thread Matthias Wessendorf
Hi Mario, > Looks like I have to setup a protlet environment to debug things. > It would be so helpful if you could provide a simple webapp to not have > to setup all this by myself. Any chance? Else it might take some time as > next week are holidays here and I am not sure if I manage to get enou

Re: MyFaces-Orchestra-ViewController : NullpointerException

2008-02-06 Thread Mario Ivankovits
Hi! > currently I am using Orchestra in Portlet Environment and faced with > ViewController exception: > > java.lang.NullPointerException > at > org.apache.myfaces.orchestra.conversation.ConversationManager.getInstance(ConversationManager.java:90) > at > Seems like the same pro

Re: Portlet Environment and Orchestra

2008-02-06 Thread Rashmi
Hallo, can myfaces portlet bridge can be used in someway to overcome the porblem? Regards, Rashmi Scott O'Bryan wrote: > > Ok. I'll need to add a few utilities to the common utilities and add a > common configurator jar to the project. But it should be easy enough to > do in my co

Re: How can I have more than one bean in an orchestra conversation

2008-02-06 Thread Wolfgang Wagner
Thanks that worked. Eventually I woud have found that by myself if I had a description of the orchestra namespace. Is there one? Mario Ivankovits

MyFaces-Orchestra-ViewController : NullpointerException

2008-02-06 Thread Rashmi
Hello, currently I am using Orchestra in Portlet Environment and faced with ViewController exception: java.lang.NullPointerException at org.apache.myfaces.orchestra.conversation.ConversationManager.getInstance(ConversationManager.java:90) at org.apache.myfaces.orchestra.con

Re: [orchestra] Spring 2.5

2008-02-06 Thread Matthias Wessendorf
Hi, On Feb 6, 2008 9:08 AM, alberto <[EMAIL PROTECTED]> wrote: > > > Yes, some annotation for conversation would be nice. > > I think it would be nice also to see an attractive example application > (separated from others) where Orchestra is used in conjunction with here is a simple "demo" that s

Re: [orchestra] Spring 2.5

2008-02-06 Thread Mario Ivankovits
Hi! > I think it would be nice also to see an attractive example > application (separated from others) where Orchestra is used in > conjunction with Absolutely, you might not being able to imagine how much I'd appreaciate such a demo application. Any plan to volunteer? :-) > -minimal applicationCo

Re: [orchestra] Spring 2.5

2008-02-06 Thread alberto
Yes, some annotation for conversation would be nice. I think it would be nice also to see an attractive example application (separated from others) where Orchestra is used in conjunction with -Facelets -Spring 2.5, and where every bean is configured with annotations, conversation and session

Re: Where to find all the param-names such as "org.apache.myfaces.ALLOW_JAVASCRIPT"?

2008-02-06 Thread Gerald Müllan
Hi, best place to have a look at is the web.xml provided by the example application. See file "tomahawk-examples-1.1.6-bin.zip" http://myfaces.apache.org/download.html cheers, Gerald 2008/2/6 Thomas Chang <[EMAIL PROTECTED]>: > Hi all, > > In the web.xml we see often in the the param-name su

[Trinidad]Preselecting row in tr:table

2008-02-06 Thread anshuman roy
Hi, How can we preselect a given row in a tr:table while the initial page loads up? -- regards, Anshuman Roy

tree2 newly inserted child nodes not displayed

2008-02-06 Thread sudheerp
Hello Friends, I am new to myfaces tree2 component. I am trying to implement the an example given at http://www.jroller.com/plainoldweblog/entry/use_tomahawk_tree2_and_ajax4jsf I am not able to expand the child node in the given example or any nodes added to child is not displayed.

Re: Portlet Environment and Orchestra

2008-02-06 Thread Mario Ivankovits
Hi! >I have access to FacesContext. The ExternalContext in case of Portlet > Environment is - PortletExternalContextImpl and ofcourse in servlet > environment it is ServletExternalContextImpl. > So then, could you please try the following in your method: FrameworkAdapter.setCurrentInst

Re: Portlet Environment and Orchestra

2008-02-06 Thread Rashmi
Hello All, I have access to FacesContext. The ExternalContext in case of Portlet Environment is - PortletExternalContextImpl and ofcourse in servlet environment it is ServletExternalContextImpl. The doFilter(ServletRequest req, ServletResponse rsp,FilterChain filterChain) .. method

Re: Need Filter that caches resources - a more general Extensions Filter?

2008-02-06 Thread Daniel Niklas
Hi Scott, Scott O'Bryan wrote: > > Hey Daniel, you may wish to stay away from Filters if you are going to > contribute this to Trinidad. It'll break portlet compatibility. > You're right, this would be a Problem. > That said, what is the problem you are trying to solve here? Is it that >

Where to find all the param-names such as "org.apache.myfaces.ALLOW_JAVASCRIPT"?

2008-02-06 Thread Thomas Chang
Hi all, In the web.xml we see often in the the param-name such as " org.apache.myfaces.ALLOW_JAVASCRIPT" or "javax.faces.STATE_SAVING_METHOD". I wonder where can I find all of these param-names? Regards Thomas - Beginnen Sie den Tag mit

Re: How can I have more than one bean in an orchestra conversation

2008-02-06 Thread Mario Ivankovits
Hi! > I have tried to define a name for my conversation but did not succeed. All > I found in the documentation was the hint of some hidden id on page specs. > In your spring config add the orchestra xsd http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSc

focus not moved when autoSubmitting an inputText for partial page rendering

2008-02-06 Thread NikG
I have a page that uses partial page rendering to update a single field to a concatenation of the text entered in 3 other fields (a display name that is title, firstname and lastname concatenated). This all works great except that when the value of any of the 3 inputTexts are changed and the auto

Re: How can I have more than one bean in an orchestra conversation

2008-02-06 Thread Wolfgang Wagner
Thanks for the answer. I have tried to define a name for my conversation but did not succeed. All I found in the documentation was the hint of some hidden id on page specs. "Orchestra also provides the concept of a "conversation context", which holds a set of named conversations. A "separateConver

[Trinidad] commandButton action method not called

2008-02-06 Thread Paul van Rossem
I tried the following simple jsf: http://java.sun.com/JSP/Page"; xmlns:c="http://java.sun.com/jsp/jstl/core"; xmlns:f="http://java.sun.com/jsf/core"; xmlns:h="http://java.sun.com/jsf/html"; xmlns:tr="http://myfaces.apache.org/trinidad";> In the face

Re: Upgrading from myfaces 1.6 to 2.2?

2008-02-06 Thread Martin Marinschek
No idea - sorry. Did you check out the MyFaces-Tiles example web-app, and looked into the differences of your project to this setup? regards, Martin On Sat, Feb 2, 2008 at 5:28 PM, Bjørn T Johansen <[EMAIL PROTECTED]> wrote: > Some more digging... It seems that nothing inside the > tags is

Re: MyFaces and Tiles

2008-02-06 Thread Martin Marinschek
There is a sample app which shows the interaction - myfaces-tiles in the myfaces-source-tree. Did you check this out? regards, Martin On Sat, Feb 2, 2008 at 5:36 PM, Jonathan Fullam <[EMAIL PROTECTED]> wrote: > Hello, > > I've been unsuccessfully trying to integrate tiles 2.0.5 with MyFaces 1.2

Re: what is this thing?

2008-02-06 Thread Martin Marinschek
Hi Lukasz, you should try it with MyFaces 1.2.2 for JSP 2.1. regards, Martin On Mon, Feb 4, 2008 at 8:57 PM, Łukasz Budnik <[EMAIL PROTECTED]> wrote: > Hi All! > > What a strange error occurred to me when I tried to run a simple web > app (MyFaces version 1.1.5 - available at > http://myfaces.