Re: [Tomahawk] Bug - Could not find class for name: tree2.HtmlTreeRenderer

2008-02-05 Thread Simon Kitching
"Łukasz Budnik" <[EMAIL PROTECTED]> schrieb: > Hi All, > I'm using Tomahawk 1.1.7-SNAPSHOT, I am trying to use > the component > but I get this strange error: ClassNotFoundException: > tree2.HtmlTreeRenderer > Looking at the API: http://myfaces.apache.org/tomahawk/tree2.html > -there is a cl

Re: Upgrading from myfaces 1.6 to 1.2.2?

2008-02-05 Thread Bjørn T Johansen
No one has any suggestions? BTJ On Sat, 2 Feb 2008 17:28:19 +0100 Bjørn T Johansen <[EMAIL PROTECTED]> wrote: > Some more digging... It seems that nothing inside the > tags is rendered...? > > > BTJ > > On Sat, 2 Feb 2008 17:13:22 +0100 > Bjørn T Johansen <[EMAIL PROTECTED]> wrote: > >

Re: Portlet Environment and Orchestra

2008-02-05 Thread Simon Kitching
Thanks Scott, that two-threads thing might indeed be a problem. And so might the filters. Is there some good documentation on the difference between portlets and "normal" jsf available? Markus, which version of Orchestra are you using? 1.0 or a snapshot? Regards, Simon Scott O'Bryan <[EMA

Re: Portlet Environment and Orchestra

2008-02-05 Thread Mario Ivankovits
Hi! > currently we're prototyping a portlet application (liferay 4.33) with > orchestra , JPA (Hibernate) and myFaces 1.1.5. Unhappily I have zero experience with portlets. If you could provide a simple webapp to test this thing it would greatly help, though, I know how much work it is to setup o

Re: Portlet Environment and Orchestra

2008-02-05 Thread Rashmi
Hallo Simon, we are using myfaces-orchestra-core-1.0.jar Regards, Rashmi Simon Kitching-4 wrote: > > Thanks Scott, that two-threads thing might indeed be a problem. > And so might the filters. > > Is there some good documentation on the difference between portlets and > "normal" js

Re: [tobago] Seam integration

2008-02-05 Thread Zied Hamdi
Hi Stojan, Can you send this working version to Bernd so everyone can benefit of it. (a blanc project would be a no head ake starting point for everyone). Regards, Zied 2008/2/4, Stojan Peshov <[EMAIL PROTECTED]>: > > Seam Example could not be deployed, antlr was missing... > I've added > >

Re: tag !

2008-02-05 Thread Matthias Wessendorf
yes, that's how JSF works. It does postbacks. when you are interested in performing some "tasks" on the submitted values, do this public String myAction() { // do the work return "tellMeWhereToGo"; } On Feb 5, 2008 11:34 AM, deathstar64 <[EMAIL PROTECTED]> wrote: > > Hello, > > I am

tag !

2008-02-05 Thread deathstar64
Hello, I am using the tag supplied by myfaces to produce an html form. But I want to give a specific action that the form should have when it is rendered. But myFaces gives an .."automatic" one when it renders the component. Any thoughts on that? Thanks, Antony -- View this message in context

Re: Portlet Environment and Orchestra

2008-02-05 Thread Rashmi
Hallo Mario, We tried using the latest snapshot of Orchestra. Unfortunately still facing the same exception as before. After having tried debugging the application, I see that it fails in class SpringConversationScope - protected Object getBean(String beanName, O

Re: [tobago] Seam integration

2008-02-05 Thread Stojan Peshov
I was actually talking about tobago seam example found here: http://svn.apache.org/repos/asf/myfaces/tobago/trunk/example/seam All I did was checkout the code and opened it with NetBeans as a Maven project (maven plugin for netbeans is required) At first build was not successful, but after changi

Re: tag !

2008-02-05 Thread Simon Kitching
deathstar64 <[EMAIL PROTECTED]> schrieb: > > Hello, > > I am using the tag supplied by myfaces to produce an html form. But > I want to give a specific action that the form should have when it is > rendered. But myFaces gives an .."automatic" one when it renders the > component. Any thought

Re: [tobago] Seam integration

2008-02-05 Thread Zied Hamdi
Hi Stojan, Sorry I didn't look at the svn lastly (at my first mail there wasn't any). So the project is in progress I guess (since there's no official post about it), it'll be a big event for the tobago community I think. Thanks for your posts. Regards, Zied 2008/2/5, Stojan Peshov <[EMAIL PROT

Re: ServletException: java.lang.IncompatibleClassChangeError

2008-02-05 Thread Simon Kitching
Tomcat 6.x comes with EL libraries already. Are you sure that these don't conflict with commons-el that you have added to your project? Also make sure you delete the "tomcat work directory". "Łukasz Budnik" <[EMAIL PROTECTED]> schrieb: > Hi All! I'm using Tomcat 6.0.14 with MyFaces 1.2.2,

ServletException: java.lang.IncompatibleClassChangeError

2008-02-05 Thread Łukasz Budnik
Hi All! I'm using Tomcat 6.0.14 with MyFaces 1.2.2, Tomahawk 1.1.7-SNAPSHOT and JSTL 1.2. I'm trying to run a simple application, but I keep getting weird exceptions. Apache Tomcat is a clear installation (downloaded and unzipped), there are no shared libraries, in CATALINA_HOME there are only l

Re: Portlet Environment and Orchestra

2008-02-05 Thread Simon Kitching
Hi Rashmi, Again, exact line numbers from the latest snapshot would be useful. In an email you sent to me directly you said that with the latest snapshot the exception was at line 83 of ConversationManager. But with the latest code, that line is in the middle of a javadoc comment, so perhaps yo

RE: form> tag !

2008-02-05 Thread mario.buonopane
I think that the answer is "No". You have to set the action on your button or event (onchange) Mario -Original Message- From: deathstar64 [mailto:[EMAIL PROTECTED] Sent: 5 febbraio 2008 11.35 To: users@myfaces.apache.org Subject: tag ! Hello, I am using the tag supplied by myfa

Re: Portlet Environment and Orchestra

2008-02-05 Thread Rashmi
I tried this as well..no luck regards, Rashmi Simon Kitching-4 wrote: > > BTW, you might try adding these elements to the OrchestraServletFilter > filter-mapping clause: > > REQUEST > FORWARD > INCLUDE > > Regards, > Simon > > Simon Kitching <[EMAIL PROTECTED]> schrie

radiobuttons are not sorted in trinidad for rowSelection="single"

2008-02-05 Thread nikhil raj
when i have rowSelection="single" it is displaying the radio buttons and when i select the button and if click on column header for sorting, the button still showing at the same field. how we can map these rowSelection="single" radio buttons and columns. OR

Re: Portlet Environment and Orchestra

2008-02-05 Thread Simon Kitching
BTW, you might try adding these elements to the OrchestraServletFilter filter-mapping clause: REQUEST FORWARD INCLUDE Regards, Simon Simon Kitching <[EMAIL PROTECTED]> schrieb: > Hi Rashmi, > > Again, exact line numbers from the latest snapshot would be useful. > > In a

Re: Portlet Environment and Orchestra

2008-02-05 Thread Rashmi
Hello Simon, I tried with the latest snapshot. The exception occurs in ConversationManager class: public static ConversationManager getInstance(boolean create) { ConversationManager conversationManager = (ConversationManager) FrameworkAdapter.getI

Re: Portlet Environment and Orchestra

2008-02-05 Thread Simon Kitching
Rashmi, I don't know where you are getting this code you show in the example below. It corresponds to no version of the Orchestra code that I know of. Method FrameworkAdapter.getInstance does not exist in either the 1.0 release or the current trunk. In both of these it is called FrameworkAdapt

[Trinidad] Lightweight dialogs broken in 1.0.4?

2008-02-05 Thread Rafa Pérez
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-875. Has any of you experienced this behaviour?? If I turn off lightweight dialogs,

Re: Portlet Environment and Orchestra

2008-02-05 Thread Rashmi
Hallo Simon, I downloaded the jar from the link you sent. I try working on steps (1) and (2) as suggested by you. Regards, Rashmi Simon Kitching-4 wrote: > > Rashmi, > > I don't know where you are getting this code you show in the example > below. It corresponds to no

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

2008-02-05 Thread Barb Cochrane
Hi, I have a licensing question re web-facesconfig.dtd file that is included with MyFaces Impl 1.2.jar. According to the source code, that file is licensed under what looks to be modified BSD license *with* one clause added as follows: "You acknowledge that this software is not designed,

Re: Portlet Environment and Orchestra

2008-02-05 Thread Scott O'Bryan
If there is a filter issue and you don't mind working with local portals only, you could also add the Portal's servlet to the filter mapping in your web.xml. That should allow filter work to be done in action requests. Sadly "real" filter support won't be happeneing until JSR-286 and even the

Re: [orchestra] Spring 2.5

2008-02-05 Thread Mario Ivankovits
Hi! > Are there any plans about migration over Spring 2.5 in Orchestra? Orchestra itself is compatible with Spring 2.5. We use this combination in our projects. > I'd like to see if Spring 2.5 can simplify orchestra configuration and > if we can now completely declare bean throught annotations. Wh

Re: Portlet Environment and Orchestra

2008-02-05 Thread Scott O'Bryan
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 copious amounts of free time. I'm currently in the middle of restructuring the bridge projects (which is almost done as well) so let me get

Re: Portlet Environment and Orchestra

2008-02-05 Thread Matthias Wessendorf
> Another option is I've been tinkering with separating the configurator > system similar to what Trinidad uses in order to put into an Apache > commons project. The code is complete (albeit untested) but the > configurators are a way to duplicate *most* filter logic in a JSF > environment without

[orchestra] Spring 2.5

2008-02-05 Thread alberto
Are there any plans about migration over Spring 2.5 in Orchestra? I'd like to see if Spring 2.5 can simplify orchestra configuration and if we can now completely declare bean throught annotations. And do you think it is possible to have proxy scoped bean using annotation? Alberto Gori

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

2008-02-05 Thread Daniel Niklas
Hi, Working on the caching feature, i found out the following: The TrinidadResourceServlet has already build in Cache-Control. It sets the expires header to "+ 1 year". This is good in case of requesting js-libraries, because theses generated files has the trinidad version as suffix in its fi

trinidad skining

2008-02-05 Thread Zigc Junk
I am trying to skin the navigationPane. Since I have two navigationPane (tabs) instances (one top menu and one secondary menu), I want to put a different skin on each of them. It seems to me that there is no way of doing that. I can only create one skin which will be applied to all navigationPane i

Re: trinidad skining

2008-02-05 Thread Scott O'Bryan
Zigc Junk wrote: I am trying to skin the navigationPane. Since I have two navigationPane (tabs) instances (one top menu and one secondary menu), I want to put a different skin on each of them. It seems to me that there is no way of doing that. I can only create one skin which will be applied t

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

2008-02-05 Thread Scott O'Bryan
Hey Daniel, you may wish to stay away from Filters if you are going to contribute this to Trinidad. It'll break portlet compatibility. That said, what is the problem you are trying to solve here? Is it that resources are not currently being cached in your environment by the browser, or that th

Re: trinidad skining

2008-02-05 Thread Zigc Junk
Can you be more specific? Assume that I have the following navigationPane, how can I create a skin that is ONLY applied to this navigationPane. Here is one piece of the skin I created af|navigationPane::tabs-inactive af|navigationPane::tabs-mid A { font-

Re: trinidad skining

2008-02-05 Thread Simon Lessard
Hello Bill, The following should work: .MyClass af|navigationPane::tabs-inactive af|navigationPane::tabs-mid A { font-weight: bold; } or af|navigationPane.MyClass::tabs-inactive af|navigationPane::tabs-mid A { font-weight: bold; } The best way to know on what element the style

Re: trinidad skining

2008-02-05 Thread Zigc Junk
Just tried both syntax and it does not seem to work. Below is the html code from Firebug. Note that I changed MyClass to t_topMenu. Do you know why? thanks Bill Bills On Tue, Feb 5, 2008 at 11:01 AM, Simon Lessard <[EMAIL PROTECTED]> wrote: > Hello Bill,

[acegi] What's the advantage using ACEGI?

2008-02-05 Thread Thomas Chang
Hi all, Recently I read a lot about using Acegi in JSF. But I can't see any advantage. First, there is little document. Second, using Acegi is not easy. It's quite complecated. Third, using Acegi you can just define user and the role. Seems no chance to define group, sub group etc. A

Re: trinidad skining

2008-02-05 Thread Simon Lessard
Hmmm, the first synthax should work just fine... can you check the generated CSS to see how the selector was reduced? On Feb 5, 2008 12:16 PM, Zigc Junk <[EMAIL PROTECTED]> wrote: > Just tried both syntax and it does not seem to work. Below is the html > code from Firebug. Note that I changed MyC

Re: [orchestra] Spring 2.5

2008-02-05 Thread Simon Kitching
Mario Ivankovits <[EMAIL PROTECTED]> schrieb: > Hi! > > Are there any plans about migration over Spring 2.5 in Orchestra? > Orchestra itself is compatible with Spring 2.5. We use this combination > in our projects. > > > I'd like to see if Spring 2.5 can simplify orchestra configuration and >

Re: trinidad skining

2008-02-05 Thread Scott O'Bryan
My way works if you are "embedding" one navigation pane in the other. The example I gave would be for the "second" navigation pane, the first would use the normal styling. Simons works if you don't mind adding a style class. Zigc Junk wrote: Tried again. Yes, the first syntax works. Thanks

Re: [Trinidad] Lightweight dialogs broken in 1.0.4?

2008-02-05 Thread Gerhard Petracek
hello rafa, the problem described by TRINIDAD-875 is an issue in view of opera. which browser are you using? regards, gerhard 2008/2/5, Rafa Pérez <[EMAIL PROTECTED]>: > > Hi all, > > I have set trinidad 1.0.4 to show lightweight dialogs. I am facing some > problems related to them when settin

Re: [orchestra] Spring 2.5

2008-02-05 Thread Matthias Wessendorf
> I presume you mean marking beans with something like > @Conversation(lifetime="access", name="myConversation") > or > @Scope(scope="conversation.access", name="myConversation") or @Conversation(scope="access", name="myConversation") > > Yes that would be cool. > > It's debatable whether the a

[Tomahawk] non-unique IDs in

2008-02-05 Thread Łukasz Budnik
Hi All, I'm running a example available at: http://www.irian.at/myfacesexamples/tree2.jsf And the result is: javax.servlet.ServletException: Component ID treeForm:clientTree:t2c has already been found in the view. See below for details. +id: j_id_jsp_287013395_0 type: [EMAIL PROTECTED] +id:

Re: trinidad skining

2008-02-05 Thread Zigc Junk
Tried again. Yes, the first syntax works. Thanks a lot Bill On Tue, Feb 5, 2008 at 11:20 AM, Simon Lessard <[EMAIL PROTECTED]> wrote: > Hmmm, the first synthax should work just fine... can you check the > generated CSS to see how the selector was reduced? > > > On Feb 5, 2008 12:16 PM, Zigc Jun

Re: trinidad skining

2008-02-05 Thread Zigc Junk
There is one minor issue. See below the Firebug style listing. In my listing, I have disabled the background image by -tr-inhibit: background-image; but it does not take effect. Is this a bug in trinidad or I did something wrong? thanks Bill .t_topMenu af|navigationPane::tabs-inactive af|navig

Re: trinidad skining

2008-02-05 Thread Simon Lessard
Nope, it works as designed, in your case you need to use "background-image: none;" rather than inhibit because it's an entirely different CSS rule while inhibit is for exact match rules coming from parent skin, not parent selector. Regards, ~ Simon On Feb 5, 2008 1:30 PM, Zigc Junk <[EMAIL PROT

Re: [Tomahawk] non-unique IDs in

2008-02-05 Thread Andrew Robinson
No this is right. Component IDs in "looping" components should always be the same. Client IDs change. Your example doesn't show t2c at all. Look for two components it your page that are under the tree and have t2c as their ID. Maybe you thought that two components could have the same ID in differe

Re: [Tomahawk] non-unique IDs in

2008-02-05 Thread Łukasz Budnik
Sorry, this is full stack trace, the id treeForm:clientTree:t2c is repeated 3 times (I have highlighted it): javax.servlet.ServletException: Component ID treeForm:clientTree:t2c has already been found in the view. See below for details. +id: j_id_jsp_287013395_0 type: [EMAIL PROTECTED] +id: t

MyFaces 1.1.5 Strange validation behaviour

2008-02-05 Thread Adam Perlik
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 scenario: 1. enter invalid value (-123) 2. submit by command button 3. Proper validator message is displayed and everything seems to work fine 4. I cancel the pag

Re: [tobago] Seam integration

2008-02-05 Thread Bernd Bohmann
Hello, the tobago-example-seam is only a simple blank web app for now. I would like to sort out all compatibility issues in tobago. Patches und suggestions for reasonable content in the tobago-example-seam module are wellcome. Regards Bernd Zied Hamdi schrieb: > Hi Stojan, > > Sorry I didn't

Re: [Tomahawk] non-unique IDs in

2008-02-05 Thread Andrew Robinson
Where is the view code? On Feb 5, 2008 12:08 PM, Łukasz Budnik <[EMAIL PROTECTED]> wrote: > Sorry, > > this is full stack trace, the id treeForm:clientTree:t2c is repeated 3 > times (I have highlighted it): > > javax.servlet.ServletException: Component ID treeForm:clientTree:t2c > has already bee

Re: [Trinidad] Lightweight dialogs broken in 1.0.4?

2008-02-05 Thread Rafa Pérez
Iceweasel(Firefox) 2.0.0.5 on Debian Linux. Same issue in Firefox and Internet Explorer 6 (and 7) on Windows XP. Using Jboss Seam 1.2.1, MyFaces 1.1.5, Trinidad 1.0.4 Regards, - - Rafa On Feb 5, 2008 6:54 PM, Gerhard Petracek <[EMAIL PROTECTED]> wrote: > hello rafa, > > the problem described b

Re: [Tomahawk] non-unique IDs in

2008-02-05 Thread Łukasz Budnik
Hi, My view code is simply copy & paste from: http://www.irian.at/myfacesexamples/tree2.jsp.source and looks like this:

Re: html table with fixed headers and scrollable rows?

2008-02-05 Thread CL
What eventually worked for me is something like this:

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

2008-02-05 Thread Wolfgang Wagner
In my application context i have defined multiple beans with scope="conversation.manual" When calling Conversation.getCurrentInstance().invalidate() in an action method of one of these beans only that bean gets destroyed. It seems as if there is one conversation object for each of my conversatio

Serialization issue with app scoped beans referenced by session scoped beans

2008-02-05 Thread Kent Tong
Hi, Suppose I have a session scoped bean class Bean1 that refers to an application scoped bean (Bean2) using a managed property: public class Bean1 implement Serializable { private transient Bean2 appBean; } The appBean field is marked as transient because as a global object, it is not serial

RadioButtons Problem!!!

2008-02-05 Thread Akhil K
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 clicking the edit bu

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

2008-02-05 Thread simon
On Tue, 2008-02-05 at 17:42 -0800, Kent Tong wrote: > Hi, > > Suppose I have a session scoped bean class Bean1 that refers > to an application scoped bean (Bean2) using a managed property: > > public class Bean1 implement Serializable { > private transient Bean2 appBean; > } > > The appBean f

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

2008-02-05 Thread simon
On Wed, 2008-02-06 at 00:54 +0100, Wolfgang Wagner wrote: > > In my application context i have defined multiple beans with > scope="conversation.manual" > When calling Conversation.getCurrentInstance().invalidate() in an action > method of one of these beans only that bean gets destroyed. > > It