Re: A beginner question

2006-05-10 Thread Mirek B.
Hello Chrisi, what you need is to use h:commandLink instead of simple link on page2, write a navigation case from page1 to page2 and then either: a) Write an action method for the backing bean of page2, which sets the controller.name property, or b) Use the Tomahawk t:updateActionListener

Re: A beginner question

2006-05-10 Thread Mirek B.
WEB-INF is protected from outside access as it's used to store configuration files. You need to place your jsp files somewhere else, the root directory should work just fine. Also, you need just one rule to go from page2 to page1, like navigation-rule from-view-id/page2.jspfrom-view-id

Re: There is a string com.sun.faces.saveStateFieldMarker on my screen, even though my managed bean implements Serializable?

2006-05-10 Thread Matthias Wessendorf
Gary: Thank you, I'm running Sun Java System Application Server 8.2 and I'll check the classpath for the domain in the morning. That one is using RI inside. Means, your application doesn't need JSF runtime (since its inside the server already) If using Tomcat (standalone) you *need* a JSF

[m2] Problems when getting artifacts using an internal repo (proxy problem?)

2006-05-10 Thread Bruno Aranda
Hi, I am trying to create a pom for an existing project and I have setup an internal repository for all those jars that I need which are not present in ibiblio. In the institution where I work, there is a proxy. When I include the repository section in my pom: ... repositories

RE: MyFaces support for Facelets

2006-05-10 Thread Jesse Alexander \(KSFD 121\)
I vote for option 2. Option 3 might make sense if the compatibility-option is important. The pointer to the download-packages can be held in myfaces-doc/-wiki, together with a matrix for the compatible versions... regards Alexander -Original Message- From: Andrew Robinson

Re: [m2] Problems when getting artifacts using an internal repo (proxy problem?)

2006-05-10 Thread Bruno Aranda
Mmm, I see what is happening, When it goes to search a dependency already present in the internal repository no problem, but when it tries to search a dependency not present in the repo (such as commons-logging, for instance), it gets a Missing page html. How can avoid that? Because if it gets

resizeable columns - Ecruiser?

2006-05-10 Thread Michael Heinen
Hi, I am looking for a solution that allows resizeable columns in a datatable. I found in another thread in this list a very promising and powerful component: Ecruiser from Simplica http://marc.theaimsgroup.com/?l=myfaces-userm=114597062423871w=2

Re: A beginner question

2006-05-10 Thread Chrisi
Hello Mirek, thanks for clarification! I tried to use the h:commandLink and run into a second question. ;) page2 is a jsp-file that is stored inside the WEB-INF directory. When clicking on the generated link of the commandLink-component I get the follwing 404-error:

which method will be invoked in the render application phase.

2006-05-10 Thread Arash Bijanzadeh
How coud I figure out which method would be invoked in the INVOKE_APPLICATION phase in a PhaseListener?-- from debian manifesto:Debian Linux is a brand-new kind of Linux distribution. Rather than being developed by one isolated individua l or group, as other distributions of Linux have been

Data Table Scroller -- not invoking converter

2006-05-10 Thread Julian Ray
Is there any reason why a converter would not get called when the data scroller moves between pages? I have a converter which capitalizes and changes the case of strings (I submitted it to sandbox) and it invoked on the first page loaded but when we move to another page, the converter is

t:inputDate off by one day!

2006-05-10 Thread Cosma Colanicchia
Hi,I'm using the t:inputDate component, but it is rendered always a day-after the actual value of bound property. I use the component this way:t:inputDate id=birthDate value=#{peopleAction.person.birthDate } required=true type=date popupCalendar=true/the bound variable is of type java.util.date.

Re: t:inputDate off by one day!

2006-05-10 Thread Volker Weber
Hi, see http://issues.apache.org/jira/browse/MYFACES-506 and this thread http://www.mail-archive.com/users@myfaces.apache.org/msg09779.html Hope this helps. Regards, Volker Cosma Colanicchia wrote: Hi, I'm using the t:inputDate component, but it is rendered always a day-after the

Re: t:inputDate off by one day!

2006-05-10 Thread Cosma Colanicchia
Thank you Volker,I've read the discussion and the JIRA issue, but I'm still not sure about a solution. I'm using a recent snapshot of myfaces-impl-1.1.4 and a snapshot of tomahawk-1.1.2, so it should be already addressed in my lib version ([#MYFACES-506] is marked as fixed in 1.1.1), isn't it?Do

selectManyListbox custom converter toString() problem

2006-05-10 Thread giannidoe
I'm having some trouble using a selectManyListbox with a custom converter. My select items are composed of an object value and string label as follows: LookupItem item = ... // simple lookup - integer values and a description label. String label = item.getLabel(locale); SelectItem

RE: resizeable columns - Ecruiser?

2006-05-10 Thread Fang, Wes/Sloan-Kettering Institute
Yeahialsofound this recently,Ithinkthesecomponentsaregoingtocatchonwithpopularityastheymimicdesktopappfunctionality.Itriedbuildingthedemolocallywhichworkedfine,butwhenIranthepage,thefollowingexceptionwas printed in the browser: 500 Internal Server Errorjavax.servlet.jsp.JspException:

RE: resizeable columns - Ecruiser?

2006-05-10 Thread Frank Russo
I've downloaded it. I started using the drag and drop rows feature of their dataTable, but I got sidetracked. I'll be getting to it soon. Probably next week. There were errors. I emailed their support, but they take a day to respond. I haven't paid for it, yet, so maybe that's why.

Positioning of the schedule component

2006-05-10 Thread Ian Johnson
Hello, long time listener first time caller. I am trying to use the schedule component from the Sandbox1.1.3 snapshot and it works fine. The only problem I am having is that I am trying to render the schedule within a scrolling div. Because the way the component is rendered on IE the table

Re: Positioning of the schedule component

2006-05-10 Thread Andrew Robinson
have you tried an important CSS style? try: .someClass { position: static !important; } The thing that may cause issues is that 'static' is an IE position, not a w3c position. The w3c equivalent is normal, but of course Microsoft doesn't care about us developers. Okay, without the soap box,

RE: Positioning of the schedule component

2006-05-10 Thread Ian Johnson
Thanks a lot, I had no idea about the !important thing, that's neat. Here's the thing. It only worked after I override the class for the div that wraps around the whole table as well as the month class. So before the schedule component I have this, style

message-bundle: Do I need to define my .properties file in the faces-config.xml AND the jsp file both?

2006-05-10 Thread Todd Patrick
Concerning a .properties file, do I need to define the .properties file in my faces-config.xml: application locale-config default-localeen_US/default-locale /locale-config message-bundlecom.dtn.petro2.petro_admin.tbrowser/message-bundle/application *AND*in the .jsp page: f:loadBundle

populating request scope managed bean

2006-05-10 Thread Kevin Galligan
I'm have a really hard time doing something that, in my mind, should be very simple. Populating a managed bean with scope 'request'. Essentially, I have a dataTable, which is bound to a UIData variable in the backing bean, and a commandLink which pulls the selected object and pushes it into the

Re: MyFaces support for Facelets

2006-05-10 Thread Mike Kienenberger
On 5/10/06, Adam Winer [EMAIL PROTECTED] wrote: I think we'll want to make it a separate jar and project because facelets depends on JSF 1.2 RI and the Glassfish EL jars. And maybe JSP 2.1 as well. Those don't need to be dependencies for standard tomahawk use. FYI, it doesn't depend on

tomahawk sandbox 1.1.2 from svn

2006-05-10 Thread Roman Nikiforov
Hi, unforunatey there is no sandbox in new MyFaces/Tomahawk release. I tried to make it myself from svn, but maven don't want it. My steps: 1. svn co https://svn.apache.org/repos/asf/myfaces/tomahawk/branches/1_1_2 2. cd 1_1_2/ 3. mvn I'm getting the following error message [INFO] Trace

Re: tomahawk sandbox 1.1.2 from svn

2006-05-10 Thread Matthias Wessendorf
Well, the tomahawk 112 release contains the core. Building sandbox from scratch will fail currently, since http://svn.apache.org/ is down. -Matthias On 5/10/06, Roman Nikiforov [EMAIL PROTECTED] wrote: Hi, unforunatey there is no sandbox in new MyFaces/Tomahawk release. I tried to make it

ExtensionsFilter now mandatory?

2006-05-10 Thread Jonathan Harley
Hi, I've been trying out MyFaces 1.1.3 after previously using 1.1.1. Everything went fine except that all my h:commandLinks stopped working, because they were generating onClick javascript which called clear_linkDummyForm, but the javascript method itself was not being generated. After a bit

Re: populating request scope managed bean

2006-05-10 Thread Kevin Galligan
Sorry for the self-followup. I'm pulling my hair out.Basically, I've modified my code to following this... http://www.groundside.com/blog/content/DuncanMills/J2EE+Development/2005/04/06/Drilldown_Edit_with_JSF.html?page=commentsStill doesn't work. Then I created a set of test objects and screens

Re: t:inputDate off by one day!

2006-05-10 Thread Volker Weber
Hi Cosma, Cosma Colanicchia wrote: Thank you Volker, I've read the discussion and the JIRA issue, but I'm still not sure about a solution. I'm using a recent snapshot of myfaces-impl-1.1.4 and a snapshot of tomahawk-1.1.2, so it should be already addressed in my lib version

Re: tomahawk-sandbox release date?

2006-05-10 Thread Matthias Wessendorf
never, some components from sandbox might be pushed to the tomahawk-core stuff. Sandbox is just some *experimental* stuff... On 5/9/06, Rogerio Pereira [EMAIL PROTECTED] wrote: Hi guys, When tomahawk-sandbox will be released? -- Yours truly (Atenciosamente), Rogério -- Matthias

Re: tomahawk-sandbox release date?

2006-05-10 Thread Rogerio Pereira
some components from sandbox might be pushed to the tomahawk-core stuff.Sandbox is just some *experimental* stuff... Well, this means sandbox will never be avaliable for download and developers will always build the jar from SVN?I'm thinking in work on focus component promotion to tomahawk. --

Re: tomahawk-sandbox release date?

2006-05-10 Thread Matthias Wessendorf
ah, now I see what you are meaning. A missing nbuild is already an entry in your JIRA -Matthias On 5/10/06, Rogerio Pereira [EMAIL PROTECTED] wrote: some components from sandbox might be pushed to the tomahawk-core stuff. Sandbox is just some *experimental* stuff... Well, this means

Re: tomahawk-sandbox release date?

2006-05-10 Thread Rogerio Pereira
A missing nbuild is already an entry in your JIRA That url will be the only location where i can found jars? If yes, no problem, but we must put the link at myfaces website or wiki.-- Yours truly (Atenciosamente),Rogério

t:saveState not working on redirect

2006-05-10 Thread Julian Ray
I have 3 pages which share saveState objects (all Integers). The pages work fine until I add redirect/ to the navigation at which point saveState does not work across pages (although it seems to work for other pages which post-back to themselves. Is this a bug or valid behaviour? Thanks

Re: t:saveState not working on redirect

2006-05-10 Thread Dennis Byrne
When an HTTP server sends a redirect response to the client, the client then performs a second request. This drops all of the form values, so there is no state for JSF (or ASP.net for that matter) to restore on the second response. Dennis Byrne -Original Message- From: Julian Ray

Re: t:saveState not working on redirect

2006-05-10 Thread Mike Kienenberger
On 5/10/06, Julian Ray [EMAIL PROTECTED] wrote: I have 3 pages which share saveState objects (all Integers). The pages work fine until I add redirect/ to the navigation at which point saveState does not work across pages (although it seems to work for other pages which post-back to themselves.

Re: populating request scope managed bean

2006-05-10 Thread Mike Kienenberger
See http://wiki.apache.org/myfaces/ExecutingMethodsFromLinkButtonParameters Under Working with tables in the wiki On 5/10/06, Kevin Galligan [EMAIL PROTECTED] wrote: Sorry for the self-followup. I'm pulling my hair out. Basically, I've modified my code to following this...

Re: MyFaces support for Facelets

2006-05-10 Thread Michael Youngstrom
Option 1 and Option 2 are both good. The important thing is to keep facelets in sync with tomahawk. Either way with facelets taglib in the source tree developers will be able to do a better job of keeping them in sync. Mike

Re: populating request scope managed bean

2006-05-10 Thread Kevin Galligan
I see how those work, but none of them is really doing what I want to do. You know? Is it not possible to manually populate a request scope bean?On 5/10/06, Mike Kienenberger [EMAIL PROTECTED] wrote: Seehttp://wiki.apache.org/myfaces/ExecutingMethodsFromLinkButtonParametersUnderWorking with

Re: populating request scope managed bean

2006-05-10 Thread Mike Kienenberger
On 5/10/06, Kevin Galligan [EMAIL PROTECTED] wrote: I see how those work, but none of them is really doing what I want to do. You know? Is it not possible to manually populate a request scope bean? Guess I'm not following what you're asking. For what it's worth, I manually populate

Question for tiles.xml connection refused IO error

2006-05-10 Thread yasushi
Hi, experts I am using myfaces(v1.1.1)+tiles, but just started seeing the error reading tiles.xml as follows. I was using defualt DTD setting in my tiles.xml to access an exteranl link located in jakarta, but it seems that it is not working. So, could someone advise me how to use system dtd ? I

Re: populating request scope managed bean

2006-05-10 Thread Kevin Galligan
Basically I can't get the following to work...faces-config snippet...managed-bean managed-bean-nametestObject/managed-bean-name managed-bean-classkg.web.jsf.test.TestObject /managed-bean-class managed-bean-scoperequest/managed-bean-scope /managed-beanI have a datatTable with a list of these as

Re: populating request scope managed bean

2006-05-10 Thread Mike Kienenberger
On 5/10/06, Kevin Galligan [EMAIL PROTECTED] wrote: I'm frustrated because I'm not doing a redirect, but it still just won't work. So, how would I set a top level managed bean with a value at the request scope without putting it into the session? It is possible to do this programmically (I

[newbie]: click on commandButton does nothing. Why?

2006-05-10 Thread Matthias Klein
I am sure this is a super simple newbie problem, but would you mind helping me? Thanks so much! I wanted to start playing with MyFaces and JSF by building a tiny application: index.jsp simply forwards to menu.faces (which is the file menu.jsp) In menu.jsp there is one little button leading to

RE: [newbie]: click on commandButton does nothing. Why?

2006-05-10 Thread James Reynolds
Enclose your buttons in an h:form tag. -Original Message- From: Matthias Klein [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 10, 2006 3:11 PM To: users@myfaces.apache.org Subject: [newbie]: click on commandButton does nothing. Why? I am sure this is a super simple newbie problem, but

helper text (like 'Search' on Wiki search input) for inputText

2006-05-10 Thread Mike Kienenberger
I've been asked to add a helper text effect like what we see on the MyFaces wiki: http://wiki.apache.org/myfaces/ See how it's got the word Search in the search box which disappears as soon as you type something in? That's what I need. Sadly, MoinMoin is GNU GPL licensed, so I don't dare

Re: Positioning of the schedule component

2006-05-10 Thread Jurgen Lust
This is where you can tell I'm not an IE user :)Perhaps some clarification about the decisions made while developing the schedule component.I didn't know about this problem in IE. I just followed the css specs on this. 'position: relative' means that the position of this box is relative to the

Re: helper text (like 'Search' on Wiki search input) for inputText

2006-05-10 Thread Jurgen Lust
Seems to me like it's a simple onFocus, onBlur kind of trick. We have a search box component at Ghent university that changes the background color of the inputText that way:These lines in the renderer are all it takes: writer.writeAttribute( onfocus, this.style.background='';, null );

Re: helper text (like 'Search' on Wiki search input) for inputText

2006-05-10 Thread Bruno Aranda
Do you mean something like the t:inputTextHelp, already in tomahawk [1]? I have just seen that it is not documented in the tomahawk pages Cheers, Bruno [1] http://www.irian.at/myfaces/inputTextHelp.jsf On 5/10/06, Mike Kienenberger [EMAIL PROTECTED] wrote: I've been asked to add a helper

Re: message-bundle: Do I need to define my .properties file in the faces-config.xml AND the jsp file both?

2006-05-10 Thread Bruno Aranda
You should only need the loadBundle component: f:loadBundle basename=com.dtn.petro2.petro_admin.mymessages var=tb/ And it would get the localized properties from /com/dtn/petro2/petro_admin/mymessages.properties in the classpath. Regards, Bruno On 5/10/06, Todd Patrick [EMAIL PROTECTED]

Re: helper text (like 'Search' on Wiki search input) for inputText

2006-05-10 Thread Michael Harry Scepaniak
To actually effect the text in the field, you need to do some DOM manipulation, as so: function setFieldValue(fieldId, text) { var inputField = document.getElementById(fieldId); if (inputField != null) { inputField.value = text; } }; Then you assign the handler to

RE: Positioning of the schedule component

2006-05-10 Thread Ian Johnson
It's a really awesome component, you did a fine job. The only other problem I fount in IE is that, in the individual day boxes, if there is vertical scrolling it means that there will be horizontal scrolling. I have isolated the reason to the width of the table following the div that has

Re: MyFaces support for Facelets

2006-05-10 Thread Adam Winer
On 5/10/06, Mike Kienenberger [EMAIL PROTECTED] wrote: On 5/10/06, Adam Winer [EMAIL PROTECTED] wrote: I think we'll want to make it a separate jar and project because facelets depends on JSF 1.2 RI and the Glassfish EL jars. And maybe JSP 2.1 as well. Those don't need to be

Re: helper text (like 'Search' on Wiki search input) for inputText

2006-05-10 Thread Mike Kienenberger
On 5/10/06, Bruno Aranda [EMAIL PROTECTED] wrote: Do you mean something like the t:inputTextHelp, already in tomahawk [1]? I have just seen that it is not documented in the tomahawk pages [1] http://www.irian.at/myfaces/inputTextHelp.jsf Yeah, that looks good, although I'd rather see

Suggestions for implementing a split Pane

2006-05-10 Thread John
The application is using Tobago. Any suggestions for including splitPane functionality in the presentation? Thanks, John

[newbie] - simple custom tag problems

2006-05-10 Thread JSFSter Smith
Firstly, kudos to the MyFaces team for the recent releases of myfaces 1.1.3 and tomahawk 1.1.2! I am just a few weeks old with JSF and am using it for a current project. So far its been great but I am still getting to know the deatils. I attempted to create a simple custom JSP tag and was able