Re: Validator parameters

2006-04-07 Thread jelmstrom
I want to avoid subclassing (thats the point of using properties) since I want to make the validator a standard component used in several projects, without allowing anyone to modify it. The job it doesis identical in every scenario, the only change is the set of rules that it should check

RE: Servlet Filter? I'm stuck

2006-04-07 Thread 101questionjsf
hi, I changed the filter pattern in web.xml from /user/* to /*.jsf, then it goes into infinite loop, keep calling login.jsf. I tried checking the uri with endWith login.jsf and login.jsp, then stop looping, but images and css files cannot come thru. Anyone has a filter to spare?

RE: Servlet Filter? I'm stuck

2006-04-07 Thread Quintin Kerby
Here's mine: context-param descriptionPages that are exempt from the authFilter./description param-namemil.dla.daps.web.FILTER_EXEMPTIONS/param-name param-value/logon.jsf,/registration.jsf,/passwordRecovery.jsf,/userIdRecovery.jsf/param-value /context-param filter descriptionFilters all

RE: Re: snaphot source code

2006-04-07 Thread Ramazan VARLIKLI
I download TortoiseSVN and check out http://svn.apache.org/repos/asf/myfaces/current/; It gives Error: PROPFIND of '/repos/asf/myfaces/current': 501 Not Implemented (http://svn.apache.org) What is the problem? -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Werner

RE: Servlet Filter? I'm stuck

2006-04-07 Thread 101questionjsf
hi, Thanks for your help. I have tried, but weird thing is that the css file and images files cannot be seen on the login page... The filter take out these css and images? -- View this message in context: http://www.nabble.com/RE%3A-Servlet-Filter--t8978.html#a3800292 Sent from the MyFaces

ajax phase listener

2006-04-07 Thread John Slave
In bpcatalog tutorial there is a special requirement: putting some xml in faces-config.xml to tell jsf servlet to use a special phase listener to manage request. Why is not this requirement present in myfaces ajax component (for example input suggest). How can i easily create an ajax custom

Re: ajax phase listener

2006-04-07 Thread Werner Punz
John Slave schrieb: In bpcatalog tutorial there is a special requirement: putting some xml in faces-config.xml to tell jsf servlet to use a special phase listener to manage request. Why is not this requirement present in myfaces ajax component (for example input suggest). Something has to

Re: ajax phase listener

2006-04-07 Thread Dudu
I preffer, use and recommend to use simple servlets to response the request ajax.Because PhaseListeners always will be invocated.On 4/7/06, Werner Punz [EMAIL PROTECTED] wrote:John Slave schrieb: In bpcatalog tutorial there is a special requirement: putting some xml in faces-config.xml to tell

Re: Servlet Filter? I'm stuck

2006-04-07 Thread Alexandre Poitras
/* filter every resources including css and images. By the way, /*.jsf couldn't not work since your were redirecting to a login.jsf page. This is why the infinite loop was always happening. Your login page shouldn't be a jsf page in this case. On 4/7/06, 101questionjsf [EMAIL PROTECTED] wrote:

TreeTable in DataTable

2006-04-07 Thread Jana Parvanova
Hi everybody! I have a problem and don't know how to deal with it at all. I have a datatable with a single column in which I've put a tree table: h:dataTable width=100% var=layerInfo value=#{mLayerListForm.layerList} h:column h:panelGrid styleClass=tableColored width=100%

Re: Re: snaphot source code

2006-04-07 Thread Mike Kienenberger
Try this url instead: https://svn.apache.org/repos/asf/myfaces/current It's what I use. Maybe the checkout isn't currently working with the http:// protocol. On 4/7/06, Ramazan VARLIKLI [EMAIL PROTECTED] wrote: I download TortoiseSVN and check out

Re: tag to truncate outputText?

2006-04-07 Thread Mike Kienenberger
On 4/6/06, Lindholm, Greg [EMAIL PROTECTED] wrote: Is there a way to truncate outputText and specify the size you want from a jsp page? Is this something that could be added to t:outputText ? On 4/6/06, Adam Winer [EMAIL PROTECTED] wrote: FWIW, the ADF af:outputText component has a

Improving AJAX support in MyFaces

2006-04-07 Thread Andrew Robinson
One method of implementing AJAX is to re-render the page and only send pieces down to the browser. This is the way AjaxAnywhere works. However, it is not easy to get this to work in MyFaces with HTML forms. The issue: AJAX needs a way to identify HTML to replace on AJAX response. This is usually

HtmlPanelNavigationMenu not found in previous view

2006-04-07 Thread _dani
Hello I have a little problem with the HtmlPanelNavigationMenu component (myfaces 1.1.1 final). The problem is that no actions are proceded when I click on the component. Instead I see in the log file following entry: ERROR org.apache.myfaces.custom.navmenu.htmlnavmenu.HtmlPanelNavigationMenu

inputdate popup problem

2006-04-07 Thread Lisaa
Hi., I added the following code t:inputDate value=#{date} type=date popupCalendar=true / inorder to use the input date functionality (with date in request scope). The drop down looks fine but when I click the button there is no popup. I saw in the js console (..not defined) errors. I'm

Re: inputdate popup problem

2006-04-07 Thread CD
Hi Lisaa, Have you ensured that the proper js files (date.js, popcalendar_init.js and popcalendar.js) have been included in your page? Regards, CD On 4/7/06, Lisaa [EMAIL PROTECTED] wrote: Hi.,I added the following codet:inputDate value=#{date} type=datepopupCalendar=true / inorder to use the

Re: inputdate popup problem

2006-04-07 Thread Joey Geiger
make sure the tomahawk extensions filter is active as well.

Myfaces inputajax suggest and ajaxPhaseListener

2006-04-07 Thread John Slave
Does myfaces require to put ajaxPhaseListener registration in faces-config.xml or does it work even without it? And if the second question is true how can do that? Thank you John Slave

MyFaces JSF Facelets

2006-04-07 Thread Yura Tkachenko \(meta.ua\)
Hi, I just want to realize impacts: can Facelets works with MyFace JSF. For example: I have mapping to *.faces all JSF pages (MyFaces, Tomahawk) Want to add mapping to Facelets page like *.jsf Are all my *.faces and *.jsf pages will work? I mean in my faces-config.xml

Re: inputdate popup problem

2006-04-07 Thread Lisaa
Thanks for your replies. I manually added (date.js and popcalendar.js) to the head of my page but no change.. same js error as quoted below.. loadPopupScript();jscalendarSetImageDirectory('/ald2/faces/myFacesExtensionResource/calendar.HtmlCalendarRenderer/11295181/DB/'); Tomahawk Extensions is

Re: Myfaces inputajax suggest and ajaxPhaseListener

2006-04-07 Thread Matthias Wessendorf
John, MyFaces doesn't require you to manually add a PhaseListener for runnin' that AJAX stuff. It's done by sandbox.jar itself http://svn.apache.org/viewcvs.cgi/*checkout*/myfaces/tomahawk/trunk/sandbox/core/src/main/resources-facesconfig/META-INF/faces-config.xml?rev=392232 Make it *easier* to

Re: MyFaces JSF Facelets

2006-04-07 Thread Andrew Robinson
MyFaces and Tomahawk are not mutually exclusive from Facelets. Facelets works just fine with MyFaces and Tomahawk components. Facelets will handle all of your JSF pages, it doesn't matter what your Faces servlet is mapped as. On the other hand, if you are asking if you can use JSF over JSP for

Re: MyFaces JSF Facelets

2006-04-07 Thread Mike Kienenberger
You're better off posting this question to the facelets mailing list. However, I think the answer is that you can do this: Map your facelet requests to *.xhtml. Map your jsp requests to *.jsp. However, you need to change to using prefix mapping /faces/* in order for all of this to work

Re: ajax phase listener

2006-04-07 Thread Craig McClanahan
On 4/7/06, John Slave [EMAIL PROTECTED] wrote: In bpcatalog tutorial there is a special requirement:putting some xml in faces-config.xml to tell jsf servlet to use aspecial phase listener to manage request.You should note that in the more recent versions of these components (and the way they are

Re: MyFaces JSF Facelets

2006-04-07 Thread Andrew Robinson
The problem with this approach is the view handler would be facelets for all requests, and it would not like .jsp files. The trick would be to have a different view handler based on the extension or view. I think this has already been discussed in the facelets user group, so check the archives.

Re: MyFaces JSF Facelets

2006-04-07 Thread Mike Kienenberger
On 4/7/06, Andrew Robinson [EMAIL PROTECTED] wrote: The problem with this approach is the view handler would be facelets for all requests, and it would not like .jsp files. The trick would be to have a different view handler based on the extension or view. I think this has already been

Re: MyFaces JSF Facelets

2006-04-07 Thread Mike Kienenberger
On 4/7/06, Jeremy Sager [EMAIL PROTECTED] wrote: I think you'd also run into terrible problems if/when you used ADF faces, because you have to declare the View Handler in an ADF specific way, and unless I'm wrong you can't distinguish between extension types when you do that. I can't say for

AW: Problem with PanelTabbedpane

2006-04-07 Thread Matthias Kahlau
I think an instance of your TabSupport class is created every time you change the tab (that's what I remember, I had a similiar implementation at the beginning). That would explain why your selectedTabIndex property value does not reflect your current index, but always the default value.

Re: [tobago] Unknown protocol 'file:/../tobago-theme.xml'

2006-04-07 Thread Stefan Hedtfeld
Hi, thanks for the quick repsonses and help! Now the ear file is deployable (and I think I ran into another problem or maybe I'm simply misinterpreting some docu ... but I will have to take a more careful look into this and start another thread if I cannot solve it myself). I'm also not too

RE: MyFaces JSF Facelets

2006-04-07 Thread Yura Tkachenko \(meta.ua\)
Really thanks for you. But I cann't use such context-param param-namejavax.faces.DEFAULT_SUFFIX/param-name param-value.jsp/param-value /context-param Because we have a relly big project which has old jsp files, many jsf pages based on JSP container and

Re: Myfaces inputajax suggest and ajaxPhaseListener

2006-04-07 Thread John Slave
Matthias Wessendorf ha scritto: John, MyFaces doesn't require you to manually add a PhaseListener for runnin' that AJAX stuff. It's done by sandbox.jar itself

Re: Myfaces inputajax suggest and ajaxPhaseListener

2006-04-07 Thread Matthias Wessendorf
Yeah i know. But how can do it? I want to replicate the behaviour with my custom components...how can it automatically register phase listener? I guess I don't get you

Velocity-based renderers

2006-04-07 Thread Alexandre Poitras
Hi, I have seen Matthias's blog entry on Velocity-based renderers. I have use it succesfully and made some improvements to it but I was wondering if anyone has already made significant work in this aspect. Thank you! -- Alexandre Poitras Québec, Canada

Re: Myfaces inputajax suggest and ajaxPhaseListener

2006-04-07 Thread Craig McClanahan
On 4/7/06, John Slave [EMAIL PROTECTED] wrote: Yeah i know. But how can do it? I want to replicate the behaviour withmy custom components...how can it automatically register phase listener?If you place a faces-config.xml file in the META-INF directory of a jar file that contains your custom

Re: MyFaces JSF Facelets

2006-04-07 Thread Adam Winer
You most definitely can use ADF Faces with Facelets and JSP delegation. You do have to register the Facelets view handler in that specific way, but that doesn't at all cause problems with the JSP delegation code. -- Adam On 4/7/06, Mike Kienenberger [EMAIL PROTECTED] wrote: On 4/7/06, Jeremy

Re: MyFaces JSF Facelets

2006-04-07 Thread Adam Winer
Yura, The JSP delegation code in Facelets requires that you use prefix mapping for Faces Servlet (/faces/*), not suffix mapping. So you'd need to first switch to prefix mapping, then you could start mixing in Facelets pages. -- Adam On 4/7/06, Yura Tkachenko (meta.ua) [EMAIL PROTECTED] wrote:

RE: MyFaces JSF Facelets

2006-04-07 Thread Jeremy Sager
Sorry :) Jeremy Sager Data Communications Product Manager Chesapeake System Solutions 410.356.6805 x120 [EMAIL PROTECTED] -Original Message- From: Adam Winer [mailto:[EMAIL PROTECTED] Sent: Friday, April 07, 2006 2:51 PM To: MyFaces Discussion Subject: Re: MyFaces JSF Facelets You

Re: Myfaces inputajax suggest and ajaxPhaseListener

2006-04-07 Thread Matthias Wessendorf
... automatically processed as the application starts up... ah, I guess thought it was clear. or I wasn't clear enough :-) the automatically processing is indeed a very nice feature, like it!

[OT] Storing files outside of the web context

2006-04-07 Thread James Reynolds
I have a jsf app that includes many .pdf files of contracts. I've just been putting them all in the war before deploying to the production server. There must be a better way to do this. Is it possible to store these files elsewhere on the web server, outside of the context, and still be able

RE: MyFaces JSF Facelets

2006-04-07 Thread Yura Tkachenko \(meta.ua\)
Thanks for your help, definitely I will try. -Original Message- From: Adam Winer [mailto:[EMAIL PROTECTED] Sent: Friday, April 07, 2006 9:53 PM To: MyFaces Discussion Subject: Re: MyFaces JSF Facelets Yura, The JSP delegation code in Facelets requires that you use prefix mapping for

Re: Render an Image

2006-04-07 Thread udokrass
Hi, i tried to implement a renderer with the PhaseListener. The sandbox tag doesn't work for me. I don't know why, but an image wouldn't be rendered. I think that is a problem with facelets and the sandbox tags. I implemented all properly what i've found in the wikis, but it doesn't work for

Re: inputdate popup problem

2006-04-07 Thread CD
Lisaa, Did you include the popcalendar_init.js (included *before* popcalendar.js) on the page? I had a similar problem previously with that being the case but that could have been unique to my situation. popcalendar_init.js sets up some functions/properties that are used by popcalendar.js. Do

Re: Render an Image

2006-04-07 Thread Mike Kienenberger
On 4/7/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: The sandbox tag doesn't work for me. I don't know why, but an image wouldn't be rendered. This often happens for me as well. That's the bug in the component -- if the page state gets too big, the image doesn't render. I think that is a

Re: inputdate popup problem

2006-04-07 Thread Rogerio Pereira
in my case i can't see the popup button-- Yours truly (Atenciosamente),Rogério

Re: Render an Image

2006-04-07 Thread Cagatay Civici
Hi Udo,I saw your comment to my blog entry and see this thread just now,Well, I have created an image using your hex code, a phaselistener and h:graphicImage. Hex to byte[] code is an example from java forums. Anyway, the output of your hex code is a picture of flowers right, seems it is working:)

RE: [OT] Storing files outside of the web context

2006-04-07 Thread James Reynolds
Thank you so much. You don't know how much this helps :) From: Quintin Kerby [mailto:[EMAIL PROTECTED] Sent: Friday, April 07, 2006 3:50 PM To: MyFaces Discussion Subject: Re: [OT] Storing files outside of the web context Absolutely. You could hard code a

RE: Render an Image

2006-04-07 Thread udokrass
Hi Cagatay Civici, THANK YOU VERY, VERY MUCH! It works very well! You are the best. Regards, Udo Jetzt Handykosten senken mit klarmobil - 14 Ct./Min.! Hier klicken http://www.klarmobil.de/index.html?pid=73025

Re: [OT] Storing files outside of the web context

2006-04-07 Thread Matthias Wessendorf
be carefully, when using getRealPath() snip This method returns null if the servlet container cannot translate the virtual path to a real path for any reason (such as when the content is being made available from a .war archive). /snip On 4/7/06, James Reynolds [EMAIL PROTECTED] wrote: Thank

Re: Render an Image

2006-04-07 Thread Matthias Wessendorf
It works very well! You are the best. buy him a ticket for the world championship, since he is interested in football (soccer) ;-) cheers, Matthias

RE: [OT] Storing files outside of the web context

2006-04-07 Thread James Reynolds
Thanks, I'll watch that. -Original Message- From: Matthias Wessendorf [mailto:[EMAIL PROTECTED] Sent: Friday, April 07, 2006 4:03 PM To: MyFaces Discussion Subject: Re: [OT] Storing files outside of the web context be carefully, when using getRealPath() snip This method returns null

Re: Render an Image

2006-04-07 Thread Cagatay Civici
Hi,Udo, I'm glad that it worked out,I would not say no to a world cup ticket :)Cagatay,On 4/8/06, Matthias Wessendorf [EMAIL PROTECTED] wrote: It works very well! You are the best. buy him a ticket for the world championship, since he is interested infootball (soccer) ;-)cheers,Matthias

Re: Myfaces inputajax suggest and ajaxPhaseListener

2006-04-07 Thread John Slave
Craig McClanahan ha scritto: On 4/7/06, *John Slave* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Yeah i know. But how can do it? I want to replicate the behaviour with my custom components...how can it automatically register phase listener? If you place a faces-config.xml

tree2 in MyFaces 1.1.1 and expanding

2006-04-07 Thread Andrew Robinson
I am stumped on tree2 and expanding. I've looked through the source and I can't figure out what is wrong. I have a backing bean tied to the user's session. That bean has a tree model that is TreeModelBase. The value of my tree2 component is tied to my backing bean's model instance. I have server

Re: Improving AJAX support in MyFaces

2006-04-07 Thread Andrew Robinson
I am making the HTML render something like: form id=myform ... span id=aazone.JsfFormState input type=hidden ... / input type=hidden ... / input type=hidden ... / script function clear_myform() { ... } /script /span /form This way AjaxAnywhere is able to replace the inner HTML of

Re: Improving AJAX support in MyFaces

2006-04-07 Thread Alexandre Poitras
ADF partial page rendering should do the trick in my opinion, well as soon as it is released. On 4/7/06, Andrew Robinson [EMAIL PROTECTED] wrote: I am making the HTML render something like: form id=myform ... span id=aazone.JsfFormState input type=hidden ... / input type=hidden ... /

Re: Improving AJAX support in MyFaces

2006-04-07 Thread Alexandre Poitras
Also, here's some useful links on incoming extensions to JSF : http://weblogs.java.net/blog/jhook/archive/2005/09/jsf_avatar_vs_m_1.html https://jsf-extensions.dev.java.net/#documentation On 4/7/06, Alexandre Poitras [EMAIL PROTECTED] wrote: ADF partial page rendering should do the trick in my

Re: Improving AJAX support in MyFaces

2006-04-07 Thread Andrew Robinson
This is all great and well and good (honestly), except for the fact that I am developing production code to do this right now. AjaxAnywhere, although with it's limitations, is enabling me to quickly get the AJAX support I need. Although not as nice as the Avatar idea, it functions. With just a

Problem with h:panelTab and h:commanLink

2006-04-07 Thread José de Jesus Vargas Ibañez
Hi: I've been searching in your mail archive for answers about my problem. I found some people reporting the same issue. But I didn't found any answer to their mails so I'd like to try making the question again. I'm ussing the h:panelTabbenPane. It looks great in my application so I decided

Re: Problem with h:panelTab and h:commanLink

2006-04-07 Thread Dennis Byrne
Do you mean t:panelTabbedPane, rather than h:panelTabbenPane ? The stack trace suggests you are using Sun's implementation. Try swapping this w/ the MyFaces equivalents and see if it makes a difference. Dennis Byrne -Original Message- From: José de Jesus Vargas Ibañez