Combining in-place-editing via AJAX with JSF's binding

2007-04-05 Thread Jörn Zaefferer
Hi folks, I'm building an application that basically consists of a single page that displays a few elements, of which most are editable in place. Some JS converts each text element into an input field once its clicked and submits the changed value in the background. The user can also add new

Re: Schedule Component - Recurring Entries

2007-04-05 Thread Jurgen Lust
I would put the recurrence logic in the implementation of ScheduleModel, where the data are retrieved from a database or other source. The ScheduleModel then functions as an adapter between your rich domain model and the simple ScheduleEntries. The ScheduleEntries contain just the amount of

Re: [Tobago] transition=false don't work anymore in 1.0.11

2007-04-05 Thread Bernd Bohmann
Hello Helmut, should work again. Regards Bernd H. Swaczinna wrote: Hi, stetting transition=false has no effect in snapshot 1.0.11 (02.04.07). You can see this in the demo. Regards Helmut

Re: Emails

2007-04-05 Thread Matthias Wessendorf
Hey Ben, you might check Trinidad's outputFormatted: http://incubator.apache.org/adffaces/trinidad-api/tagdoc/tr_outputFormatted.html -M On 4/5/07, Benjamin Bratkus [EMAIL PROTECTED] wrote: hello users, actually i try to create an application which the user allows to display emails, too. so

Re: Combining in-place-editing via AJAX with JSF's binding

2007-04-05 Thread David Delbecq
I would suggest ajax4jsf. As far as i know, it provide custom button link that submit in ajax, retrieve the response and redraw parts of the form on client side. This seems to do what you want, except for one thing. According to docs, the current release does not support portlets environments.

Re: Validation/rendering strategy

2007-04-05 Thread Julien Martin
Thank Mike. That's exactly what I needed!!! J. 2007/4/4, Mike Kienenberger [EMAIL PROTECTED]: Does this do what you're asking? It's a little vague what you want. h:outputText id=age-label rendered=#{null == MyBean.age} value=Fill in your age/ On 4/4/07, Julien Martin [EMAIL PROTECTED]

RE: How to get value from managed bean by JavaScript

2007-04-05 Thread Strittmatter, Stephan
Hi all, thanks for your response. I think, Matthias proposal is going in my directions. I want to update some values by ajax. I will investigate in this. As I have no Shale environment, I think Mabon could be the solution. Currenty the pages of java.net are offline, but I will check this later.

Re: Schedule Component - Recurring Entries

2007-04-05 Thread Michael Brindamour
Thanks Jurgen, That's where I was headed originally, but I found that the ScheduleModel wasn't doing what I needed it to... the loadEntries method takes a range of dates and draws all entries that fall within that range. It could calculate whether a recurring entry should happen during this

Re: tomahawk-sandbox-1.1.6-SNAPSHOT-- DOJO error...Thanks Zdenek

2007-04-05 Thread Gerald Müllan
Is any of the methods called during the ajax-request? cheers, Gerald On 4/5/07, Gerald Müllan [EMAIL PROTECTED] wrote: Hi, please ask such kind of questions on the user list. cheers, Gerald On 4/5/07, Prashant Gaikwad [EMAIL PROTECTED] wrote: Hi Zdenek, Thanks for the

Re: tomahawk-sandbox-1.1.6-SNAPSHOT-- DOJO error...Thanks Zdenek

2007-04-05 Thread Gerald Müllan
Hi, please ask such kind of questions on the user list. cheers, Gerald On 4/5/07, Prashant Gaikwad [EMAIL PROTECTED] wrote: Hi Zdenek, Thanks for the response. DOJO error is gone. But another problem is my t:dataTable in the JSP is not refreshing with the latest updates in

Re: How to get value from managed bean by JavaScript

2007-04-05 Thread Matthias Wessendorf
Stephan, a co-worker has bloged on Shale (also on the remoting): http://thepeninsulasedge.com/blog/2006/11/21/configuring-shale-remoting/ -M On 4/5/07, Matthias Wessendorf [EMAIL PROTECTED] wrote: Shale remote is lightweight. works also fine to combine some *json* style data with Yahoo UI

Re: How to get value from managed bean by JavaScript

2007-04-05 Thread Matthias Wessendorf
yes On 4/5/07, Strittmatter, Stephan [EMAIL PROTECTED] wrote: Thanks for your useful hints, Matthias. can I use shale-remoting without the rest of shale also? I am in Protlet-Environment and do not want to introduce to much new libraries there. -Original Message- From: [EMAIL

Emails

2007-04-05 Thread Benjamin Bratkus
hello users, actually i try to create an application which the user allows to display emails, too. so my problem is the display of html mails special if they contain javascript or something else. so i want to ask you, if you ever tried to display emails (txt or html) with jsf and what

RE: How to get value from managed bean by JavaScript

2007-04-05 Thread Strittmatter, Stephan
Thanks for your useful hints, Matthias. can I use shale-remoting without the rest of shale also? I am in Protlet-Environment and do not want to introduce to much new libraries there. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthias Wessendorf

Re: How to get value from managed bean by JavaScript

2007-04-05 Thread Matthias Wessendorf
Shale remote is lightweight. works also fine to combine some *json* style data with Yahoo UI :) On 4/5/07, Strittmatter, Stephan [EMAIL PROTECTED] wrote: Hi all, thanks for your response. I think, Matthias proposal is going in my directions. I want to update some values by ajax. I will

Re: Combining in-place-editing via AJAX with JSF's binding

2007-04-05 Thread Matthias Wessendorf
don't rush. sometimes it takes a while. jQuery isn't that wide adapted ;) On 4/5/07, Jörn Zaefferer [EMAIL PROTECTED] wrote: Hi folks, I'm building an application that basically consists of a single page that displays a few elements, of which most are editable in place. Some JS converts each

Re: tomahawk-sandbox-1.1.6-SNAPSHOT-- DOJO error...Thanks Zdenek

2007-04-05 Thread Alexey Kakunin
Hm, MyFaces Tomahawk-1.1.6-SNAPSHOT is already available. What about Tomahawk-1.1.5 stable? Does anybody has any info? 2007/4/5, Gerald Müllan [EMAIL PROTECTED]: Is any of the methods called during the ajax-request? cheers, Gerald On 4/5/07, Gerald Müllan [EMAIL PROTECTED] wrote: Hi,

RE: tomahawk-sandbox-1.1.6-SNAPSHOT-- DOJO error...Thanks Zdenek

2007-04-05 Thread Prashant Gaikwad
Good question !!! From: Alexey Kakunin [mailto:[EMAIL PROTECTED] Sent: Thursday, April 05, 2007 5:33 PM To: MyFaces Discussion Subject: Re: tomahawk-sandbox-1.1.6-SNAPSHOT-- DOJO error...Thanks Zdenek Hm, MyFaces Tomahawk-1.1.6-SNAPSHOT is already

Re: [Tobago] Layout problems

2007-04-05 Thread Clemens Sietas
Hello, I found the problem by myself. In the Overview.tag source file the tc:cell needed tc:panel around its declaration. After adding the tc:panel component tags the navigator bar always remains at the top just underneath the menu bar. Regards Clemens f:view

Re: Standardcompliance of rendered markup

2007-04-05 Thread Rudi Steiner
Hi Jeff, testing again the current version bevor taliking about bugs is a great idea ;) The problem for beginners like me is, that on the myFaces website is described, that the fastest way to get a project up and running is to take one of the example-apps (in my case the tiles-app) and take

Re: tomahawk-sandbox-1.1.6-SNAPSHOT-- DOJO error...Thanks Zdenek

2007-04-05 Thread Gerald Müllan
Well, the new release is coming out soon. cheers, Gerald On 4/5/07, Prashant Gaikwad [EMAIL PROTECTED] wrote: Good question !!! From: Alexey Kakunin [mailto:[EMAIL PROTECTED] Sent: Thursday, April 05, 2007 5:33 PM To: MyFaces Discussion Subject:

Re: HTML not rendred for t:dataTable within s:pprPanelGroup

2007-04-05 Thread Gerald Müllan
Which tags are not rendered out in particular? If you are using resource bundles you have to take the ones from sandbox which are available in every phase of the lifecycle. On 4/5/07, Prashant Gaikwad [EMAIL PROTECTED] wrote: Hello All, I am facing problem is my

templating best practices

2007-04-05 Thread Mike Kienenberger
Unless you have a lot of legacy tiles pages to convert, you would be better off choosing a JSF-specific templating solution. The two most popular are facelets (which also provides many JSF 1.2 behaviors, but does not allow the use of jsp tags) and shale/clay (which does allow the use of jsp

Re: tomahawk-sandbox-1.1.6-SNAPSHOT-- DOJO error...Thanks Zdenek

2007-04-05 Thread Mike Kienenberger
http://people.apache.org/builds/myfaces/tomahawk-1.1.5/ I think there will probably be one more release, but it will be to correct some licensing information, not a code change. On 4/5/07, Alexey Kakunin [EMAIL PROTECTED] wrote: Hm, MyFaces Tomahawk-1.1.6-SNAPSHOT is already available. What

New to MyFaces

2007-04-05 Thread Viraj Joshi
Hello, I am new to MyFaces. Can you please tell me what the pre requisites for learning MyFaces are? Is it essential to know JSF for learning MyFaces? Can anyone without the prior knowledge of JSF learn MyFaces? It would be helpful if you can solve these queries. Regards, Viraj

Seam and Tomahawk Scheduler

2007-04-05 Thread Fabio Duo
Hello, I am trying to use the Tomahawk Scheduler Component together with seam. But I get some very strange behavior. I've tried the Binding Method and only filling the Model. I always used the example Paged and Classes. With the Binding Method I get a Error Message: java.lang.ClassCastException:

RE: tomahawk-sandbox-1.1.6-SNAPSHOT-- DOJO error...Thanks Zdenek

2007-04-05 Thread Prashant Gaikwad
Sorry about that. Didn't know correct forum. -Original Message- From: Gerald Müllan [mailto:[EMAIL PROTECTED] Sent: Thursday, April 05, 2007 3:56 PM To: MyFaces Development Cc: MyFaces Discussion Subject: Re: tomahawk-sandbox-1.1.6-SNAPSHOT-- DOJO error...Thanks Zdenek Hi, please ask

Re: New to MyFaces

2007-04-05 Thread Mike Kienenberger
Hi Viraj :-) JSF is a specification. MyFaces Core is one implementation of that specification. So in this sense, MyFaces is JSF. Myfaces Tomahawk, Tobago, and Trinidad are all component sets for using with JSF. Or to put it another way, learning MyFaces is like learning the rules to chess.

RE: tomahawk-sandbox-1.1.6-SNAPSHOT-- DOJO error...Thanks Zdenek

2007-04-05 Thread Strittmatter, Stephan
jippeee :-) Happy Easter! -Original Message- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: Thursday, April 05, 2007 3:20 PM To: MyFaces Discussion Subject: Re: tomahawk-sandbox-1.1.6-SNAPSHOT-- DOJO error...Thanks Zdenek

[Tobago] Problem with new demo

2007-04-05 Thread yazid
Hi all; I've installed the new demo with tobago 1.0.10 and myFace 1.1.5. When I requested the application from ie (french zone); I got this message in tomcat console: GRAVE: Path not found, and no fallback. Using empty string. * resourceDirs = '[tobago-resource,

Re: New to MyFaces

2007-04-05 Thread Matthias Wessendorf
Nice phrase, Mike :) Viraj, here is a template project for MyFaces and Trindad: http://code.google.com/p/facesgoodies/ A similar sample will be published after ApacheCon EU. -Matthias On 4/5/07, Mike Kienenberger [EMAIL PROTECTED] wrote: Hi Viraj :-) JSF is a specification. MyFaces Core

[OT] Canvasing for a MyFaces/JSF Speaker

2007-04-05 Thread Peter . Pilgrim
Hi I am canvasing for a speaker for later in the year (Summer, Autumn) who can give a talk to the JAVAWUG UK in London about JavaServer Faces and/or My Faces software development. Please contact me offline peter dot pilgrim at gmail dot com, if interested http://jroller.com/page/javawug

AW: AW: JSF and Tiles

2007-04-05 Thread Peter Dahm
Matthias, it says that there is an object necessary in this line. trtd class=mypagespan class=mypagea href=# onclick=clear_linkDummyForm();document.forms['linkDummyForm'].elements['lin kDummyForm:_link_hidden_'].value='sss:_idJsp1:_idJsp2';if(document.forms['li nkDummyForm'].onsubmit){var

Re: Standardcompliance of rendered markup

2007-04-05 Thread Jeff Bischoff
Hi Rudi, comments inline. [2] http://people.apache.org/builds/myfaces/nightly/ [3] https://issues.apache.org/jira/browse/MYFACES-1414 Rudi Steiner wrote: Hi Jeff, testing again the current version bevor taliking about bugs is a great idea ;) The problem for beginners like me is, that on

Re: datatable and Ajax4jsf

2007-04-05 Thread kristien
Please.. help me to solve this. Any help is truely appreciated. Thanks and regards kristien kristien wrote: Hi Friends, I am new to JSF and facing few problems in solving this. My question is I have a dataTable with columns ProdCode,ProposedPrice and ProposedGrossMargin.In which

[OT] Chess Strategies (was Re: New to MyFaces)

2007-04-05 Thread Jeff Bischoff
Mike accidentally started a chess thread. Sweet! Personally, I like playing the queen's gambit and the slav. Hmm... I wonder which Tomahawk components those equate to? ;) Mike Kienenberger wrote: Or to put it another way, learning MyFaces is like learning the rules to chess. Learning to use

Re: datatable and Ajax4jsf

2007-04-05 Thread Andrew Robinson
You need to put this on the A4J news group Without using their force rendering, you have to update the entire dataTable as JSF 1.1 does not support AJAX of a component inside of a component that iterates through its children (like the dataTable). I think there are some examples somewhere (WIKI?)

Re: datatable and Ajax4jsf

2007-04-05 Thread kristien
Thanks for your reply Please can you post the link of WIKI. Please if any body did this before,help me to solve this. thanks and regards Kristien Andrew Robinson-5 wrote: You need to put this on the A4J news group Without using their force rendering, you have to update the entire

Re: datatable and Ajax4jsf

2007-04-05 Thread Jeff Bischoff
I don't think there is an entry on our Wiki for this. If there is, it should be added to the dataTable section of the main wiki page. I advise you do as Andrew suggested and visit the a4j site. kristien wrote: Thanks for your reply Please can you post the link of WIKI. Please if any body did

[Tobago] Blocked UI while Exporting to Excel

2007-04-05 Thread Vinay Konanki
Hi All, I got success in generating excel sheet, Thanks for your help, but today i found a problem with in exporting the excel. Problem was: When i'm trying to export the results to excel as there are more than 700 elements to generate, it taking around 5-6 seconds to show window which contains

Re: datatable and Ajax4jsf

2007-04-05 Thread Andrew Robinson
I put a ? mark after WIKI, as I wasn't sure if there is even such WIKI page for A4J that talks about forced rendering. With some quick google searches, this is the best I came up with: http://livedemo.exadel.com/a4j-repeat-rerender/ On 4/5/07, Jeff Bischoff [EMAIL PROTECTED] wrote: I don't

RE: [OT] Canvasing for a MyFaces/JSF Speaker

2007-04-05 Thread Jesse Alexander \(KSFD 121\)
Hi Maybe Ed could do it on his way to Vienna (JSFDays 07) ;) regards Alexander -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April 05, 2007 4:08 PM To: users@myfaces.apache.org Subject: [OT] Canvasing for a MyFaces/JSF Speaker Hi I am canvasing

Re: [OT] Chess Strategies (was Re: New to MyFaces)

2007-04-05 Thread David Delbecq
Personnaly, i discovered the Bird opening, and since like it very much. It's not very well known by other people and it provide me with ability to make blacks spend a few minutes thinking about their 1st move :D It can also be converted to a reverted Dutch where white have one move in advance

problem with tomahawk menu.

2007-04-05 Thread Jatin
Hi, I am trying to use tomahawk menu. The menu gets loaded normally, but there is a Red 'X' icon at the begenning and end of the each menuItem. The red 'X' is probably a missing image. The thing to wonder here is that I am not using the icon attribute of the t:navigationMenuItem. Then why the

RE: New to MyFaces

2007-04-05 Thread Iordanov, Borislav \(GIC\)
Viraj, I would highly recommended that you avoid using JSF/MyFaces, unless your organization demands it, and save yourself countless hours of frustration with an overly hyped up technology based poorly implemented and incomplete ideas. Regards, Bolerio

RE: New to MyFaces

2007-04-05 Thread Balaji Saranathan
Hi Bolerio, Do you have any statistics with the problems you faced in your implementation with JSF/MyFaces. Am currently working on the pros and cons of JSF and implementations available, it would help to get some real time user feedback. Thanks Balaji -Original Message- From:

inputHtml rich text editor

2007-04-05 Thread kal stevens
I am trying to get the inputHtml tag to work. Right now it is just a text editor, but does not have any rich text formatting, it appears to have no javascript capabiliites, and it does not submit the text to my bean. Tree2 works fine(client side), inputDate works fine, and file uploading works

RE: New to MyFaces

2007-04-05 Thread Iordanov, Borislav \(GIC\)
I'm not sure what statistics you are looking for. I haven't done an industry analysis. But in general, JSF is heavyweight machinery without any substantial benefit. Simple things are complicated and complicated things impossible. It was obviously designed by (probably smart, Java knowledgeable)

Re: New to MyFaces

2007-04-05 Thread Scott O'Bryan
Facelets are cool. :) Iordanov, Borislav (GIC) wrote: I’m not sure what “statistics” you are looking for. I haven’t done an industry analysis. But in general, JSF is heavyweight machinery without any substantial benefit. Simple things are complicated and complicated things impossible. It

Re: New to MyFaces

2007-04-05 Thread Gary VanMatre
From: Scott O'Bryan [EMAIL PROTECTED] Facelets are cool. :) Ba Humbug. Shale Clay is for Java developers :-) Iordanov, Borislav (GIC) wrote: I’m not sure what “statistics” you are looking for. I haven’t done an industry analysis. But in general, JSF is heavyweight machinery

dynamic list of hyperlinks

2007-04-05 Thread Alec Swan
Hi, I am using the lates MyFaces, Facelets and Tomahawk releases. I need to display a list of hyperlinks, which will work similar to a menu. When a user clicks on a link the page refreshes with the information related to the clicked link. For example, suppose I have a list of products supplied

Re: dynamic list of hyperlinks

2007-04-05 Thread Mike Kienenberger
t:dataList can list whatever you like. Why do you think it can only list text entries? t:dataList in basic form is simply an iterator -- you can render whatever you like on each iteration. Actual code from one of my older projects: t:dataList rendered=#{0 !=

Re: dynamic list of hyperlinks

2007-04-05 Thread Alec Swan
I thought that t:dataList can only list text entries because that was all examples/dataList.jsp was showing. Thank you for the code snippet. On 4/5/07, Mike Kienenberger [EMAIL PROTECTED] wrote: t:dataList can list whatever you like. Why do you think it can only list text entries?

RE: HTML not rendred for t:dataTable within s:pprPanelGroup

2007-04-05 Thread Prashant Gaikwad
Hi Gerald, I am facing problem is my t:dataTable in the JSP which is not refreshing with the latest updates in corresponding database. I wont to periodically refresh t:dataTable using AJAX s:pprPanelGroup Below is the snippet. Please suggest how the view would be partially