Re: Is Tobago stable?

2005-11-08 Thread Bernd Bohmann
Hi Jürgen, can you send the complete stacktrace? Can you send a listing of the content in your war? Which version are you using? Regards Bernd Bohmann Jürgen Melzer schrieb: Hi, I will try Tobagoa because it seems to be very interesting. But when I put the needed jars in the classpath an

Is Tobago stable?

2005-11-08 Thread Jürgen Melzer
Hi, I will try Tobagoa because it seems to be very interesting. But when I put the needed jars in the classpath and write a simple tobago-config.xml: org.apache.myfaces.tobago.context.SpeysideTheme tobago-resource tobago I get the following exception java.lang.NullPointerException

RE: 2 dataTables in same page cause havoc

2005-11-08 Thread Yee CN
Below are the tables. The symptom seems to be that the second table is displaying the first row on all the rows.    

Division RolesH3> Bug: 2 dataTables in same page cause havoc

Hi,   I think I found a bug in t:dataTable and t:newspaperTable. I have a page with two tables. The second one is always wrong. I experimented by swapping the tables. The first table is always OK but the second is always wrong. It applies to both t:dataTable and t:newspaperTable.   Is

convertNumber does not take value binding

The properties of   can not be binding to back bean method,  but they only take constant values. not very flexible. For example, in case more than one currencyCode is supported. Yahoo! FareChase - Search multiple travel sites in one click.

Re: SVN co error

I used https to access SVN even before I was a committer. For some reason I could check out using https but not http. (Bad network monkeys!) My point is that https works even if you are not a committer and it might even be a way to get around your firewall. sean On 11/8/05, Simon Kitching <[EM

ApplicationImpl Configuration Problem

I have a custom ApplicationFactory that wraps the original ApplicationFactory so that it can produce a custom Application that wraps the original Application.  It is configured via faces-config.xml:     custom.MyApplicationFactory As a result, the FacesConfigurator class is not able to properly

Handling multiple concurrent submits

Hi, I've noticed that if I click multiple times on a component that does a submit then quite often I get an exception generated in the server. The most obvious case for me is a table with a sortable header; if I pretend to be impatient and click several times on the sort header then usually

Re: convertNumber returned type?

Mike, Thanks for pointing that out, using java.lang.Number works as expected. Mike Kienenberger wrote: It's supposed to work as you'e described. As Dave says below, use "java.lang.Number" as your data type, and it'll work for both a Long and a Double. You can then use Number.doubleValue()

Re: SVN co error

Dave wrote: I can not ping the svn.apache.org. (blocked) I can browse the http address. Does this mean the command svn co http:// should be OK? Yep. SVN clients just uses standard http to talk to the server (it's one of the nicest things about svn). So if you can browse the site with

Re: SVN co error

Yes, although I can think of a reason why it would still fail: It looks like you're using svn on a unix-based system. Are you sure the version you're using has support for accessing repositories on a URL ? I seem to remember compiler-time options for this.. On 11/8/05, Dave <[EMAIL PROTECTED]> wrot

Re: Back button support and clicking a cancel button on a form

Does this belong to web flow thing? Travis Reeder <[EMAIL PROTECTED]> wrote: inline: On 11/8/05, Simon Kitching <[EMAIL PROTECTED]> wrote: Travis Reeder wrote:> I'm wondering if anyone has a generic way of putting a cancel button on> forms to just go back a page?>A couple of ideas come to mind.* Yo

Re: SVN co error

I can not ping the svn.apache.org. (blocked) I can browse the http address. Does this mean the command     svn co http:// should be OK?    thanks. Simon Kitching <[EMAIL PROTECTED]> wrote: Grant Smith wrote:> Can you ping svn.apache.org ? If not, you have a > local connectivity issue.Or try en

Re: Back button support and clicking a cancel button on a form

inline:On 11/8/05, Simon Kitching <[EMAIL PROTECTED]> wrote: Travis Reeder wrote:> I'm wondering if anyone has a generic way of putting a cancel button on> forms to just go back a page?>A couple of ideas come to mind.* You could use _javascript_ and object document.history to effectively   "press

Re: SVN co error

Grant Smith wrote: Can you ping svn.apache.org ? If not, you have a local connectivity issue. Or try entering http://svn.apache.org/repos/asf/myfaces into your web browser. You should see a directory listing. Maybe you're behind a corporate firewall that blocks that ho

Re: SVN co error

Can you ping svn.apache.org ? If not, you have a local connectivity issue.On 11/8/05, Dave < [EMAIL PROTECTED]> wrote:I tried using the http. But I got the same error message. Simon Kitching <[EMAIL PROTECTED]> wrote: Dave wrote:> I am trying to follow the instruction and build a debug version :>

Re: Back button support and clicking a cancel button on a form

I've thought about it (does that count ?). I was thinking of using a NavigationHandler for this as it's a rather common problem / pattern. You'd have to store the view-id of the previous page in some session-scoped bean, then return that from the NavigationHandler if your cancel button returns "can

Re: SVN co error

I tried using the http. But I got the same error message.Simon Kitching <[EMAIL PROTECTED]> wrote: Dave wrote:> I am trying to follow the instruction and build a debug version :> > > > svn co https://svn.apache.org/repos/asf/myfaces/current > myfaces-current> cd myfaces-current/build> ant download-

Re: Back button support and clicking a cancel button on a form

Travis Reeder wrote: I'm wondering if anyone has a generic way of putting a cancel button on forms to just go back a page? A couple of ideas come to mind. * You could use javascript and object document.history to effectively "press the back button". * You could define a custom navigation

Re: Non-MyFaces classes using AddResource

Joseph P Wroblewski wrote: I am modifying the HtmlInputCalendar component in Tomahawk. To do this, I created a new class that is a cut-and-paste of HtmlInputCalendar with the specific changes I needed. Also modified the HtmlInputCalendarRenderer and HtmlInputCalendarTag classes in a similar way

Back button support and clicking a cancel button on a form

I'm wondering if anyone has a generic way of putting a cancel button on forms to just go back a page? Travis

TabbedPanel state

I am trying to save the state of my tabbed panel, but for some reason my tabChageListener is not catching the tab change event.  My ProjectPanelListener implements TabChangeListener and I looked for a place in my faces-config to register my listener to no avail.  Can someone tell me where I went w

Modifying HtmlInputCalendar component - trying to mimic how myfaces packages resources with components

I am modifying the HtmlInputCalendar component in Tomahawk. To do this, I created a new class that is a cut-and-paste of HtmlInputCalendar with the specific changes I needed. Also modified the HtmlInputCalendarRenderer and HtmlInputCalendarTag classes in a similar way. This part works fine. Si

output text

I find myself doing this a lot: I can use when I have simple strings for the parameters but not for examples like above. Is there an easier way to output this kind of text? Thanks, Kevin.

Re: SVN co error

Dave wrote: I am trying to follow the instruction and build a debug version : svn co https://svn.apache.org/repos/asf/myfaces/current myfaces-current cd myfaces-current/build ant download-dependencies dist-all > svn co https://svn.apache.org/repos/asf/myfaces/c

Re: SVN co error

In addition, I have already downloaded source code from the source distribution area. There is no build.xml. how to build it? Thanks.Dave <[EMAIL PROTECTED]> wrote: I am trying to follow the instruction and build a debug version :       svn co https://svn.apache.org/repos/asf/myfaces/current m

SVN co error

I am trying to follow the instruction and build a debug version :       svn co https://svn.apache.org/repos/asf/myfaces/current myfaces-current    cd myfaces-current/build    ant download-dependencies dist-all   > svn co https://svn.apache.org/repos/asf/myfaces/current myfaces-current s

AW: MyFaces 1.1.1 - problem with dataTable and selectOne menu contained in a panelTab

Hi Mathias! Thanks for your message. The problem I described is still present. Even if I omit the valueChangeListener methods in the selectOneMenus, the action method of the commandLinks in the dataTable isn't invoked while having the selectOneMenus implemented above the dataTable. The invocat

Re: Datasheet with different number of columns per row

Well, there has to be some kind of ordering for the data to be displayed. It's just a matter of making your column model represent that ordering, and allowing your row to interpret that ordering. Remember that a column represents a "class" of data, not an "instance" of data, so you can't have a

Re: datascroller problems

it would be helpful to make these changes optional through attributes if possible. 2005/11/8, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > Mathias Brökelmann <[EMAIL PROTECTED]> wrote on 11/08/2005 > 03:50:48 PM: > > > I think this functionality would be really nice to have in > > t:datascroller.

Re: datascroller problems

Mathias Brökelmann <[EMAIL PROTECTED]> wrote on 11/08/2005 03:50:48 PM: > I think this functionality would be really nice to have in > t:datascroller. Care for making a patch? > > 2005/11/8, Erik Jan de Wit <[EMAIL PROTECTED]>: > > > > > > Hi, > > > >  When I use the datascroller there are next

Re: Datasheet with different number of columns per row

Put it another way... It would be nice to be able to put a data model for the tag for each row, but as only it can be set once, how can I define an id reference to any of the child objects?2005/11/8, Enrique Medina <[EMAIL PROTECTED]>: The problem here is that my collection is a set, but as I can

Re: Datasheet with different number of columns per row

The problem here is that my collection is a set, but as I can only specify once in the value of the tag the data model, I can't see how can I get the exact identifier of the child object being modified. I mean, I only have one data model to populate the , but elements in each child collection of

Re: datascroller problems

I think this functionality would be really nice to have in t:datascroller. Care for making a patch? 2005/11/8, Erik Jan de Wit <[EMAIL PROTECTED]>: > > > Hi, > > When I use the datascroller there are next and previous links even when = > there is no more data e.g. when I'm on the first page ther

Re: Datasheet with different number of columns per row

There's no right answer; there are many solutions. It just has to be something that you can use to look up the column value for the row object. >From what you've said before, one possibility is to use a column data model that contains the Integers 0 to 7 (or MaxPrivs-1). Then you can use Object

Re: Changing the default LifeCycle

Thanks for info all around, the is what I was looking for. The reason I need to change the lifecycle class is because I'm using MyFaces in MyFramework and have a different process for creating viewIDs. When the lifecycle class looks to restore a view it calls the deriveViewID() however the initia

Re: MyFaces 1.1.1 - problem with dataTable and selectOne menu contained in a panelTab

I haven´t found the time to take a closer look into your code. So I hope that this problem is not time critical. Maybe someone other in this list is able to help you in a shorter time. I hope that I find the time by the end of the week. 2005/11/6, Matthias Kahlau <[EMAIL PROTECTED]>: > Ok. I thoug

Re: Datasheet with different number of columns per row

I understand, but there is still something I cannot see... You use a data model as value to the tag, and then that data model is used to identify the column selected. So my question is: what kind of data model should I use so later any of my child objects can be identified? 2005/11/8, Mike Kienen

Re: Changing the default LifeCycle

@Duncan: altered myfaces.jar Well, that's exactly why you use instead of trying to change LifecycleFactory.DEFAULT_LIFECYCLE in the source. Implement your own subclass of LifecycleFactory (or LifeCycleFacoryImpl) that does what you need, and you won't have to modify myfaces.jar. @David: "what

Re: Changing the default LifeCycle

Duncan Krebs wrote: You got me looking in the right direction. In the constructor of LifeCycleFacoryImpl() I see the following line of code. addLifecycle(LifecycleFactory.DEFAULT_LIFECYCLE, new LifecycleImpl()); To change the LifeCycle implementation I could easily change this line but then I

RE: Changing the default LifeCycle

Mike, Out of curiousity, what would you do with a new lifecycle Factory? (e.g. ) Regards, David -Original Message- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 08, 2005 2:46 PM To: MyFaces Discussion Subject: Re: Changing the default LifeCycle I looked at t

Re: jscookmenu and custom themes in 1.1.1

Eduardo Leite wrote: I tried switching to a nightly build, but I started having problems with the extensions filter that's in the nightly build. While parsing the html buffer, the parser comes to a point that ir enters in an infinite loop. I saw that there is a Jira issue that is related to t

Re: Changing the default LifeCycle

You got me looking in the right direction. In the constructor of LifeCycleFacoryImpl() I see the following line of code. addLifecycle(LifecycleFactory.DEFAULT_LIFECYCLE, new LifecycleImpl()); To change the LifeCycle implementation I could easily change this line but then I get tied to having to

Re: HTML And JSF Component Mixing

f:verbatim tags just treat their content as text. So yes they can contain incomplete HTML elements. Remember, the input isn't XML. It isn't even HTML, it's JSP which is a weird syntax where all sorts of things are possible. Well, there's the xml variant of JSP which is nicer I hear, but I presu

Re: HTML And JSF Component Mixing

On 11/8/05, Sloan, Noah M <[EMAIL PROTECTED]> wrote: Can f:verbatim tags contain incomplete HTML elements?  Yes.    That's not valid XML. Correct. Exactly why is such a hot topic. Hopefully JSF 1.2 resolves this.   But if they can't, what good are they for his problem? He's trying to put componen

Re: Changing the default LifeCycle

I looked at this a week or two ago. I think it was lifecycle-factory. On 11/9/05, Duncan Krebs <[EMAIL PROTECTED]> wrote: > > Hi, > I figured out how to change the viewHandler in my faces config using the > myviewhandler element, does > anyone know what element I'd use to set my own LifeCycle cl

Changing the default LifeCycle

Hi, I figured out how to change the viewHandler in my faces config using the myviewhandler element, does anyone know what element I'd use to set my own LifeCycle class? Thanks  

Re: IllegalStateException: No Factories configured for this Application

Hi     I am getting the same exact error, but doesn't seems to cause any problems in viewing my jsps. Please post the reason if you find one.   Thanks Srikanth  On 11/8/05, Rene Guenther <[EMAIL PROTECTED]> wrote: Hello,I am trying to deploy the MyFaces examples on SAP Netweaver Web ApplicationServ

Re: Using MyFaces as Portlet within Liferay - wrong Locale is used

Liferay use LanguageUtil.get() to set the language. Myfaces doesn't use that for sure. --- "Strittmatter, Stephan" <[EMAIL PROTECTED]> wrote: > Hello together, > > I try to implement a portlet for Lifray based on > MyFaces. It has to > support different languages, which is working fine > in the

RE: HTML And JSF Component Mixing

Can f:verbatim tags contain incomplete HTML elements? That's not valid XML. But if they can't, what good are they for his problem? He's trying to put components inside a table. From: Grant Smith [mailto:[EMAIL PROTECTED] Sent: Tue 08-Nov-05 10:14 AM To: MyFa

Re: MYFACES-569 - anyone have a work around (onload/calendar)

remove onload, try to put

IllegalStateException: No Factories configured for this Application

Hello, I am trying to deploy the MyFaces examples on SAP Netweaver Web Application Server (SAP WebAS). It ended with a java.lang.IllegalStateException. I tried org.apache.myfaces.webapp.StartupServletContextListener between filter-mapping and servlet tag as recommended in http://wiki.apache.

Re: Error at startup

Please show me your WEB-INF/web.xml too... On 11/8/05, sri <[EMAIL PROTECTED]> wrote: I dont have the faces-config.xml in the META-INF. The path you are seeing in the log is a different config file which exists in the myfaces.jar file.   Srikanth     On 11/8/05, [EMAIL PROTECTED] < [EMAIL PROTECTED

Re: Error at startup

After I changed the reference of the dtd to the following it worked fine. It was working fine before with SYSTEM reference.   http://java.sun.com/dtd/web-facesconfig_1_1.dtd ">   Thanks Srikanth  On 11/8/05, sri <[EMAIL PROTECTED]> wrote:    ApplicationResources   backingBean  test.BackingBea

Re: Error at startup

I dont have the faces-config.xml in the META-INF. The path you are seeing in the log is a different config file which exists in the myfaces.jar file.   Srikanth     On 11/8/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: sri < [EMAIL PROTECTED]> wrote on 11/08/2005 12:04:25 PM:> Nov 8, 2005 11:18

Re: Error at startup

sri <[EMAIL PROTECTED]> wrote on 11/08/2005 12:04:25 PM: > Nov 8, 2005 11:18:47 AM org.apache.myfaces.config.FacesConfigurator > feedClassloaderConfigurations > INFO: Reading config jndi:C:\oc4j904Test\oc4j9.0.4. > 1\j2ee\home\applications\TestApp\web\WEB-INF\lib\myfaces.jar/META- > INF/faces-co

Re: Error at startup

   ApplicationResources   backingBean  test.BackingBean   session          testView    /testView.jsp             On 11/8/05, Grant Smith <[EMAIL PROTECTED]> wrote: *content* sorry for the typo On 11/8/05, Grant Smith <[EMAIL PROTECTED] > wrote: Sorry.. I had a

Re: Error at startup

With further investigation I found this in the application.log  I hope this helps you in finding the problem. I am using the nightly build (20051030) of myfaces.   java.lang.IllegalStateException: No Factories configured for this Application. This happens if the faces-initialization does not wo

Re: Error at startup

*content* sorry for the typoOn 11/8/05, Grant Smith <[EMAIL PROTECTED]> wrote: Sorry.. I had a kneejerk reaction when I saw ZipException. Looking more closely at the error, it looks like perhaps your config file cannot be found. Could you show the contenent of your /WEB-INF/faces-config.xml On 11/

Re: Error at startup

Sorry.. I had a kneejerk reaction when I saw ZipException. Looking more closely at the error, it looks like perhaps your config file cannot be found. Could you show the contenent of your /WEB-INF/faces-config.xml On 11/8/05, sri <[EMAIL PROTECTED]> wrote: Hi     Thanks for the reply.     My applic

Re: Error at startup

Hi     Thanks for the reply.     My application is not in a war file. It is deployed in exploded formated. My app server and web server are being deployed on the same machine and same server instance.   Srikanth  On 11/8/05, Grant Smith <[EMAIL PROTECTED]> wrote: It looks like your deployed .war fi

Re: Error at startup

It looks like your deployed .war file was copied (perhaps over a slow link) to your app server. Sometimes the app server starts to deploy the .war before the copy has completed. I would recommend first copying the .war to a different directory on your app server, then moving it locally. If you are

Error at startup

Hi   I am getting the following error, can somebody tell why would this occur.  The error is being thrown while the server is being started. The myfaces.jar file is fine and works ok with other application. Nov 8, 2005 11:18:47 AM org.apache.myfaces.config.FacesConfigurator feedStandardConfigINFO:

RE: jscookmenu and custom themes in 1.1.1

I tried switching to a nightly build, but I started having problems with the extensions filter that's in the nightly build.   While parsing the html buffer, the parser comes to a point that ir enters in an infinite loop. I saw that there is a Jira issue that is related to the new Html parser

Re: HTML And JSF Component Mixing

You're enclosing your JSF components in the tags. Try to have multiple tags sothat this does not occur.On 11/8/05, robinhoo <[EMAIL PROTECTED]> wrote: I'm using jsf components inside html table and i want commandbutton to make action when it was clicked and this didn't happen her is my code   

Re: panelTabbedPane tab style

Thanks Martin... acceptable answer. At least now I can stop looking. Thanks again, BobbyOn 11/7/05, Martin Marinschek <[EMAIL PROTECTED]> wrote: Well, that is a style that was left out when the component was createdoriginally, sorry...What you can do is write up a small patch for the inclusion of

RE: convertNumber returned type?

Title: RE: convertNumber returned type? I don´t know if is the same behavior, but I´m having problems with conversions in 1.1.1 Take a look in that JIRA http://issues.apache.org/jira/browse/MYFACES-796 Rogerio -Original Message- From: Mike Kienenberger [mailto:[EMAIL PROTECTED

Re: Datasheet with different number of columns per row

In my example, the columns were independent of the rows. In your case, you'll have to first compute the maximum size. Using my code, I'd do it something like this: == private columnList = null; public List getColumnList() { if (null == columnList) { List rowList = g

RE: Datasheet with different number of columns per row

You could try using a sub-table within the table, we've done this to show the attachments associated with a note, since each note can have n attachments, but the users still want to see how many on the list of notes, something like:       Subject    Attachments  

Re: convertNumber returned type?

It's supposed to work as you'e described. As Dave says below, use "java.lang.Number" as your data type, and it'll work for both a Long and a Double. You can then use Number.doubleValue() no matter which underlying type was returned. http://java.sun.com/j2ee/javaserverfaces/1.1/docs/api/javax/fa

Re: Datasheet with different number of columns per row

Any comments about my last email regarding this issue? I'm still busy with it... Thanks.2005/11/7, Enrique Medina <[EMAIL PROTECTED]>: But what should I use in my example as "value" in the tag? I mean, how can I ensure that for each row each of the child objects will be called? How does JSF knows

HTML And JSF Component Mixing

I'm using jsf components inside html table and i want commandbutton to make action when it was clicked and this didn't happen her is my code                    Name contains     Status     Actions     

Re: convertNumber returned type?

I tried with my-faces-1.1.1 and the daily build from 11/07 and both of them don't work. They return Double or Long depending on the entered number. If the backing bean object (amountWithVat) is of type Double: Enter 4,784 or 598 => 17188 [TP-Processor7] ERROR org.apache.catalina.core.Containe

New bug in nightly build - t:inputCalendar + javscript(tabList) = page hang.

  Hello all,   I started with the bug of t:calendar and onload not working in release 1.1.1 I then moved on to the nightly release 20051107.   New bug…   If I have a page with and   language="_javascript_1.3"> function messWithMyHead() {   for (var i=0; i i++ ) {  

RE: Problem with Date Conversion with 1.1.1 release - release bug??

Title: RE: Problem with Date Conversion with 1.1.1 release - release bug?? Issue created at http://issues.apache.org/jira/browse/MYFACES-796 Looking the source, I see the problem in class org.apache.myfaces.el.ValueBindingImpl , before 1.1.1, in the setValue(FacesContext facesContext, Object

RE: MYFACES-569 - anyone have a work around (onload/calendar)

I can see that the bug was fixed back on the 15th of Sep. http://issues.apache.org/jira/browse/MYFACES-569?page=all   So I’ve tried the latest nightly build, but that just seems to hang whilst waiting for the page to be displayed. (also tried 7th, 6th & 5th). No log messages displayed.

datascroller problems

Title: datascroller problems Hi, When I use the datascroller there are next and previous links even when = there is no more data e.g. when I'm on the first page there is still a = previous link. Is this a bug? I've fixed this by creating my own = HtmlDataScrollerRenderer is this the proper w

BUG: MYFACES-569 - anyone have a work around (onload/calendar)

  Hello all,   I’ve got a page with a tabbed pane (made using _javascript_), to setup this pane I make a call in the onload method of body. e.g. onload='setupPanes("container1", "tab1");'>   Calling onload though, causes t:inputCalendar to stop working.   See bug 569 http://myfa

Using MyFaces as Portlet within Liferay - wrong Locale is used

Hello together, I try to implement a portlet for Lifray based on MyFaces. It has to support different languages, which is working fine in the standalone webapp-version. But changing the web-app to a portlet changing the language does not work any more. the portlet does not get the language changed

Re: Calendar problems??

Mike Kienenberger wrote: Hello! As You remember the problem was with duplicate ids. And this seemed to be resolved now, but in some cases (can't understand when and why) I still get error about duplicate ids with calendar. You said "mostly solved." What issues still remain? I've been