Re: Loading View(.xhtml) from Classpath

2008-02-22 Thread Daniel Niklas
Hi Danny, it is possible, to load xhtml-files from a jar file. Out of the box, this is true for templates and custom tags. There is no build in support for this, when a page is directly requested from the browser. If you want to do that, you can extend the DefaultResourceResolver of facelets. Be

Re: [Trinidad] js issue while handling PPR inside a tr:panelPopup

2008-02-22 Thread Renzo Tomaselli
Yes, I followed the PPR response handling on FF/Firebug - but there all is ok. Then I investigated on IE 6/7 by means of placing alerts everywhere. There is no return from calling focus(), although no errors are reported - even on IE 7 with IE developer toolbar activated. -- Renzo Andrew Robi

Re: Loading View(.xhtml) from Classpath

2008-02-22 Thread Matthias Wessendorf
Hi Daniel, On Fri, Feb 22, 2008 at 9:27 AM, Daniel Niklas <[EMAIL PROTECTED]> wrote: > > Hi Danny, > > it is possible, to load xhtml-files from a jar file. Out of the box, this is > true for templates and custom tags. There is no build in support for this, > when a page is directly requested f

ValuechangeEvent is not happening inside datatable

2008-02-22 Thread Thomas, Tinu
Hi, I have one datatable. Inside it, there is checkbox with valuechangeEvent. But while submitting form, valuechaneEvent is not firing. Is it a bug? Thanks, Tinu

Re: [Tobago] Scrollable text insice tc:sheet

2008-02-22 Thread Zied Hamdi
Hi Volker, I have similar problems, but when you say 'at least' how can we do it? there's no notion of minSize preferredSize and maxSize in tobago, we can only specify a size in percent or in pixels (as far as I know). Regards, Zied 2008/2/19, Volker Weber <[EMAIL PROTECTED]>: > > Hi Yazid, > >

Re: new to myfaces / editable datatable

2008-02-22 Thread Rafa Pérez
You just have to convert your h:outputText to h:inputText. This way, you can modify the values of every row. HTH, - - Rafa On Fri, Feb 22, 2008 at 3:21 AM, jnl1 <[EMAIL PROTECTED]> wrote: > > hi all... > > i'm new to myFaces (inherited application). currently, there's a page > that's has sea

FileUpload throws NotSerializableException

2008-02-22 Thread Ulrich Abelmann
Hi, I am having a problem that I do not really understand. I am using todays Snapshopt of myfaces (core 1.1.6) and tomahawk (1.1.7) together with apache tiles (2.0.5). When I was using tiles with struts I had a file upload form with that worked fine. Now I get a java.io.NotSerializableExc

[Tomahawk][Schedule] How to add a color ?

2008-02-22 Thread Jex
Hi everybody , I have a problem with Tomahawk and his component Schedule , I would like to add a color when I click on a date , is it possible to do that? And how ? Thx -- View this message in context: http://www.nabble.com/-Tomahawk--Schedule--How-to-add-a-color---tp15633383p15633383.html Se

[Trinidad] the most suitable component for multiline output text

2008-02-22 Thread Renzo Tomaselli
Hi all, perhaps a trivial question: I need to output a multiline text field so that I have to choose the most suitable component. Now, tr:outputText does not do the job - in spite of feeding newline-separated text. Thus I use tr:table and this works fine of course. But in case of many lines I mu

Re: [Trinidad] the most suitable component for multiline output text

2008-02-22 Thread Matthias Wessendorf
Hi, On Fri, Feb 22, 2008 at 2:46 PM, Renzo Tomaselli <[EMAIL PROTECTED]> wrote: > Hi all, perhaps a trivial question: I need to output a multiline text > field so that I have to choose the most suitable component. > Now, tr:outputText does not do the job - in spite of feeding > newline-separate

JPA entities on selectmany and headers

2008-02-22 Thread mailing list
Hi, i'm new to jsf to bare with me :) i've created a navigotr.jsf that is just a myfaces panelnavigation2 when i add it's code to the page everyting works , when i use jsp:include it doesn't get rendered it only inclueds the html tags that are in the .navigator.jsf page and doesn't include any thi

selectManyCheckbox - false items should be selected

2008-02-22 Thread Michael Heinen
Hi, I have a selectManyCheckbox with a value binding to a List and spread layout. This List contains the ids that are selected. Now I want to swap the mode so that all checkboxes which are not in this list should be selected. What is the easiest way for this without changing the ids in the

maven-apt-plugin

2008-02-22 Thread Josh Suereth
Not sure if this is the right place to be sending this, but I was wondering why the following doesn't work: TestWar org.apache.maven.plugins maven-compiler-plugin 1.5

[Trinidad] Facelets users read this

2008-02-22 Thread Andrew Robinson
Trinidad 1.2.6 is not compatible with JSF 1.1 state saving managers. This is now fixed on the trunk (1.2.7-SNAPSHOT). Here is the issue: https://issues.apache.org/jira/browse/TRINIDAD-955 If you are using facelets with JSF 1.2 (Trinidad 1.0.x is unaffected), you will need to run on 1.2.5 or 1.2.7

Re: [Trinidad] client (all) view state issue

2008-02-22 Thread Andrew Robinson
Done on a new thread On Thu, Feb 21, 2008 at 11:00 PM, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: > Hi, > > On Thu, Feb 21, 2008 at 5:27 PM, Andrew Robinson > > <[EMAIL PROTECTED]> wrote: > > > > It is a bug, not intentional. We need to fix this ASAP as it looks > > like the change made tri

Re: [Trinidad] js issue while handling PPR inside a tr:panelPopup

2008-02-22 Thread Andrew Robinson
I am wondering if this ought to be called in a window setTimeout. Any way you can modify the code locally and attempt to see if that helps? On Fri, Feb 22, 2008 at 1:30 AM, Renzo Tomaselli <[EMAIL PROTECTED]> wrote: > > Yes, I followed the PPR response handling on FF/Firebug - but there all is >

Re: [Trinidad] client (all) view state issue

2008-02-22 Thread Matthias Wessendorf
saw it; thanks! perhaps worth to get out a new release ? -M On Fri, Feb 22, 2008 at 5:15 PM, Andrew Robinson <[EMAIL PROTECTED]> wrote: > Done on a new thread > > > > On Thu, Feb 21, 2008 at 11:00 PM, Matthias Wessendorf <[EMAIL PROTECTED]> > wrote: > > Hi, > > > > On Thu, Feb 21, 2008 at

Re: [Trinidad] tr:inputText value change events do not work with IE autocomplete on

2008-02-22 Thread Matthias Wessendorf
Hi, On Fri, Feb 22, 2008 at 5:22 PM, Andrew Robinson <[EMAIL PROTECTED]> wrote: > found out there is a documented problem that IE does not fire onchange > listeners with auto complete. Perhaps we should code around this in > Trinidad by using a combination of onblur and onfocus? on the project

Re: [Trinidad] tr:inputText value change events do not work with IE autocomplete on

2008-02-22 Thread Andrew Robinson
found out there is a documented problem that IE does not fire onchange listeners with auto complete. Perhaps we should code around this in Trinidad by using a combination of onblur and onfocus? -Andrew On Tue, Feb 19, 2008 at 8:01 AM, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: > Hi, > > > On

Re: [Trinidad] js issue while handling PPR inside a tr:panelPopup

2008-02-22 Thread Renzo Tomaselli
Andrew, yes - using setTimeout solves the problem. Just put:         if (_agent && _agent.isIE)             window.setTimeout("document.getElementById('" + refocusId + "').focus()", 1000);         else             activeNode.focus(); Btw I noticed a similar problem today in a different contex

with CollectionModel

2008-02-22 Thread Paul van Rossem
I have some questions about a with an org.apache.myfaces.trinidad.model.CollectionModel. If I attach a CollectionModel to a as defined in the tag specification, I see some things happening that I don't understand. Could anybody help me out? I use the following simple JSP file to create the

Re: [Trinidad] client (all) view state issue

2008-02-22 Thread Andrew Robinson
> perhaps worth to get out a new release ? my opinion is yes

Re: [Trinidad] js issue while handling PPR inside a tr:panelPopup

2008-02-22 Thread Andrew Robinson
Good. Do you want to file a bug and upload a patch? A timeout of 0 or 1 ms should be sufficient. -Andrew On Fri, Feb 22, 2008 at 9:51 AM, Renzo Tomaselli <[EMAIL PROTECTED]> wrote: > > Andrew, yes - using setTimeout solves the problem. Just put: > > if (_agent && _agent.isIE) >

Re: [Trinidad] tr:inputText value change events do not work with IE autocomplete on

2008-02-22 Thread Richard Yee
I found that it doesn't work on IE, Firefox, and the latest version of Safari too. -Richard On 2/22/08, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: > > Hi, > > On Fri, Feb 22, 2008 at 5:22 PM, Andrew Robinson > <[EMAIL PROTECTED]> wrote: > > found out there is a documented problem that IE do

How to intercept client side validation message

2008-02-22 Thread Henry Eduardo Iguaro
Hi again I need to capture the client-side validation message (of course at client side), i need to write the message in a custom javascript rendered message component, here's the code of my test page <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ tagl

Re: [Trinidad] js issue while handling PPR inside a tr:panelPopup

2008-02-22 Thread Renzo Tomaselli
Done - see https://issues.apache.org/jira/browse/TRINIDAD-967 -- Renzo Andrew Robinson wrote: Good. Do you want to file a bug and upload a patch? A timeout of 0 or 1 ms should be sufficient. -Andrew On Fri, Feb 22, 2008 at 9:51 AM, Renzo Tomaselli <[EMAIL PROTECTED]> wrote: A

Re: [Trinidad] tr:inputText value change events do not work with IE autocomplete on

2008-02-22 Thread Richard Yee
Do I need to file a Jira issue on this? -R On 2/22/08, Richard Yee <[EMAIL PROTECTED]> wrote: > > I found that it doesn't work on IE, Firefox, and the latest version of > Safari too. > > -Richard > > > > On 2/22/08, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > On Fri, Feb 22

Re: [Trinidad] Facelets users read this

2008-02-22 Thread Scott O'Bryan
Thanks for fixing this Andrew. I hate the fact that JSF 1.2 StateManagers and JSF 1.1 StateManagers have trouble co-existing. I wonder if we could have Facelets redo their StateManager to work with 1.2 as well. I imagine any JSF 1.2 state manager will run into the same issue we did... Scot

enter key form submission (newbie question)

2008-02-22 Thread jnl1
hi all... i'm trying to submit a form when a user hits enter. i'm new to myfaces, so i'm probably missing something simple. seems like this is done with javascript. below is my javascript which I found from this site. my problem is, how/where do i invoke the javascript ? currently, there's

[Trinidad] the most suitable component for multiline output text

2008-02-22 Thread Renzo Tomaselli
Hi all, perhaps a trivial question: I need to output a multiline text field so that I have to choose the most suitable component. Now, tr:outputText does not do the job - in spite of feeding newline-separated text. Thus I use tr:table and this works fine of course. But in case of many lines I mu

SERIALIZE_IN_SESSION with Sun Mojarra?

2008-02-22 Thread Simon Kitching
Hi, Myfaces Core property SERIALIZE_IN_SESSION is true by default, meaning that when using server-side state saving the http session contains a byte-array representation of the viewtree as serialized by JSF itself. In particular, this means that the StateHolder methods are used to serialize data i

Re: [Trinidad] tr:inputText value change events do not work with IE autocomplete on

2008-02-22 Thread Matthias Wessendorf
Hi. On Fri, Feb 22, 2008 at 9:13 PM, Richard Yee <[EMAIL PROTECTED]> wrote: > Do I need to file a Jira issue on this? I'll file one and will port our fix to Trinidad too -M > -R > > > > > On 2/22/08, Richard Yee <[EMAIL PROTECTED]> wrote: > > > > I found that it doesn't work on IE, Firefox, an

Re: [Trinidad] client (all) view state issue

2008-02-22 Thread Matthias Wessendorf
alright, let's try that next week ;-) On Fri, Feb 22, 2008 at 6:17 PM, Andrew Robinson <[EMAIL PROTECTED]> wrote: > > perhaps worth to get out a new release ? > > my opinion is yes > -- Matthias Wessendorf further stuff: blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.s

Re: [Trinidad] tr:inputText value change events do not work with IE autocomplete on

2008-02-22 Thread Matthias Wessendorf
On Fri, Feb 22, 2008 at 6:33 PM, Richard Yee <[EMAIL PROTECTED]> wrote: > I found that it doesn't work on IE, Firefox, and the latest version of > Safari too. yup, we had issues with all major browsers. this is a bad (very bad) browser bug, but the work around seems to be needed. -M > > -Richard

Re: enter key form submission (newbie question)

2008-02-22 Thread Gerhard Petracek
hello, are you using trinidad? (trinidad provides the possibility of default command components - see [1] - have a look at defaultCommand) --- if you would like to use your custom javascript implementation, you have to attach the keypress event. e.g.: function init() { if (document.addEvent

Re: [Trinidad] Facelets users read this

2008-02-22 Thread Andrew Robinson
I don't imagine we will see any more facelet releases until it becomes part of JSF 2.0. I think the 1.1.x line is pretty much dead. On Fri, Feb 22, 2008 at 1:55 PM, Scott O'Bryan <[EMAIL PROTECTED]> wrote: > Thanks for fixing this Andrew. I hate the fact that JSF 1.2 > StateManagers and JSF 1.1

Re: [Trinidad] client (all) view state issue

2008-02-22 Thread Scott O'Bryan
I broke it so the sooner I can put the embarrassment behind me the better. O:-) I still think Facelets needs a 1.2 state manager... Scott Matthias Wessendorf wrote: alright, let's try that next week ;-) On Fri, Feb 22, 2008 at 6:17 PM, Andrew Robinson <[EMAIL PROTECTED]> wrote: perha

Re: [Trinidad] Broken links in "left navigation bar" (on "Tag Documentation" pages)

2008-02-22 Thread Gerhard Petracek
hello carsten, i don't know what's the current state (i already notified matthias). in my opinion it's a good idea to file an issue. regards, gerhard 2008/2/20, Carsten Pieper <[EMAIL PROTECTED]>: > > > Hi, > > strange that nobody mentioned this before (at least I can't find any posts > here >

Re: enter key form submission (newbie question)

2008-02-22 Thread jnl1
hi i found submitOnEvent and it looks like a cleaner solution. I added the submitOnEvent call to one of the inputText fields but when I hit "enter", the form is not submitted. below is my page. can someone point me in the right direction. Just would like the search form to be submitt