Problem with JSCookMenu on a Tomcat redirected jsf page

2007-06-29 Thread Laurentiu Trica
Hi I have a JSF error page for my application and I set Tomcat to redirect the PAGE_NOT_FOUND error to this page. The JSF error page contains the JSCookMenu component, for which I added the ExtensionFilter into web.xml The problem is that when being redirected byTomcat to the error page, the

Error using Ajax4JSF with myFaces

2007-05-31 Thread Laurentiu Trica
Hi I am trying to use Ajax4JSF with myFaces and I get this error: 2007-05-30 18:14:53,406 | ERROR org.apache.catalina.core .ContainerBase.[Catalina].[localhost].[/].[Faces Servlet] - Servlet.service() for servlet Faces Servlet threw exception java.lang.NullPointerException at

PPR Panel and dojo.js

2007-05-30 Thread Laurentiu Trica
Hi I have some troubles using PPR Panel because the code becomes much bigger and the page loads with 2-3 seconds slower. Is dojo.js used by PPR Panel cached at browser level or not? Because if it is cached, the page shouldn't load so slow. Can anybody help? Do you have some suggestions? -- Best

Re: PPR Panel and dojo.js

2007-05-30 Thread Laurentiu Trica
Hi Werner Can you tell me where should this be put to be sure it is optimizing something? I put it on the first lines of my xhtml file. Is that ok? It still doesn't makes any difference. On 5/30/07, Werner Punz [EMAIL PROTECTED] wrote: Laurentiu Trica schrieb: Hi I have some troubles using

Re: PPR Panel and dojo.js

2007-05-30 Thread Laurentiu Trica
Werner have you used Ajax4JSF? Can it be faster than using PPR that uses dojo.js? I just need the PPR functionality and the client is complaining about the speed of the page when using PPR. On 5/30/07, Werner Punz [EMAIL PROTECTED] wrote: Laurentiu Trica schrieb: Hi Werner Can you tell me

Re: PPR Panel and dojo.js

2007-05-30 Thread Laurentiu Trica
you! On 5/30/07, Andrew Robinson [EMAIL PROTECTED] wrote: A4J is quite mature IMO at this point and with a lot of features. I would recommend it over using a sandbox technology. On 5/30/07, Laurentiu Trica [EMAIL PROTECTED] wrote: Werner have you used Ajax4JSF? Can it be faster than using PPR

Re: Problems using t:aliasBean

2007-03-07 Thread Laurentiu Trica
facelets component? regards, Martin On 3/5/07, Werner Punz [EMAIL PROTECTED] wrote: Laurentiu Trica schrieb: Hi Werner As far as I read, the ui:repeat iterates a list and puts a value at a time in the var. Should this work in my case? I just need to make an alias for a bean on my page

Re: Problems using t:aliasBean

2007-03-05 Thread Laurentiu Trica
, Werner Punz [EMAIL PROTECTED] wrote: Laurentiu Trica schrieb: Hi Werner Yes, you could use facelets for parameters. What I actually need is to use an alias bean on the same page. Is there a mistake I am doing? Sorry to push you towards facelets again ui:repeat might be your friend in your

Re: Problems using t:aliasBean

2007-02-28 Thread Laurentiu Trica
Hi Werner, I use Spring 2 and facelets too. How can I do the same functionality using facelets? On 2/28/07, Werner Punz [EMAIL PROTECTED] wrote: Laurentiu Trica schrieb: Hi Simon This could be the problem, I am using Spring VariableResolver. But I need to use it. Even if it's working

Re: Problems using t:aliasBean

2007-02-28 Thread Laurentiu Trica
Hi Werner Yes, you could use facelets for parameters. What I actually need is to use an alias bean on the same page. Is there a mistake I am doing? On 2/28/07, Werner Punz [EMAIL PROTECTED] wrote: Laurentiu Trica schrieb: Hi Werner, I use Spring 2 and facelets too. How can I do the same

Problems using t:aliasBean

2007-02-27 Thread Laurentiu Trica
Hi I have to use the aliasBean for my page and I get this error: Caused by: javax.faces.el.PropertyNotFoundException: /pages/test.xhtml @11,46 value=#{aliasB['text']}: Bean: java.lang.String, property: text at com.sun.facelets.el.LegacyValueBinding.getValue( LegacyValueBinding.java:58) at

Re: Problems using t:aliasBean

2007-02-27 Thread Laurentiu Trica
name where your test bean property is getting used). When you want to ensure reusability of a bean. t:aliasBean alias=#{aliasB} value=#{test} t:outputText value=#{aliasB.text} / /t:aliasBean Best Regards, Pallavi -- *From:* Laurentiu Trica [mailto:[EMAIL PROTECTED

Re: Problems using t:aliasBean

2007-02-27 Thread Laurentiu Trica
Yes, it is working... On 2/27/07, Volker Weber [EMAIL PROTECTED] wrote: Hi, is t:outputText value=#{test.text} / working? 2007/2/27, Laurentiu Trica [EMAIL PROTECTED]: Hi I have to use the aliasBean for my page and I get this error: Caused by: javax.faces.el.PropertyNotFoundException

Re: rendered and disabled attributes not setting bean properties

2007-02-27 Thread Laurentiu Trica
Hi You should keep in mind that a disabled inputText won't send any value back. You should use the disabledOnClientSide attribute instead. On 2/27/07, Volker Weber [EMAIL PROTECTED] wrote: Hi, i think the problem is the direct controll to the nuevoPaciente property by the

Re: Problems using t:aliasBean

2007-02-27 Thread Laurentiu Trica
at com.sun.facelets.el.LegacyValueBinding.getValue ( LegacyValueBinding.java:58) at javax.faces.component.UIOutput.getValue(UIOutput.java:80) at org.apache.myfaces.shared_tomahawk.renderkit.RendererUtils.getStringValue( RendererUtils.java:223) On 2/27/07, Laurentiu Trica [EMAIL PROTECTED] wrote: Yes, it is working... On 2/27/07, Volker

Re: [Solved] Unable to display Suggested Items using Sandbox component s:inputAjaxSuggest

2007-02-27 Thread Laurentiu Trica
Hi Bansi I don't know if what i say applies to Sandbox 1.1.3, I am working on 1.1.5. The public List getSuggestedWords(String keyword) should have 2 parameters: public List getSuggestedWords(String keyword, Integer maxItems) and you could specify the max number of items to be displayed from

Re: Problem using PPR together with a tabbedPanel client side

2007-02-22 Thread Laurentiu Trica
, and activates a regular form-post. How do you have specified the partialTriggers attribute (or partialTriggerPattern )? Maybe it also aims the hidden tab-button. cheers, Gerald On 2/21/07, Laurentiu Trica [EMAIL PROTECTED] wrote: Hi Ernst Sorry for not responding faster, but I had to switch

Re: Problem using PPR together with a tabbedPanel client side

2007-02-21 Thread Laurentiu Trica
you look into the generated HTML and tell what the onclick-Handlers of the Tab-buttons contain? regards Ernst On 2/12/07, Laurentiu Trica [EMAIL PROTECTED] wrote: Hi I use a tabbedPanel on the client side and a PPRPanelGroup to update a field. The problem I encountered is when I change

InputSuggestAjax bug

2007-02-14 Thread Laurentiu Trica
Hi guys I have an inputSuggestAjax on my page and if I have a preloaded value in it, like Tomahawk for example. I press the arrow to see some suggested values, it shows me a list with some values, but the problem is that it adds the characters from the tail of the first suggested item in the

Problem using PPR together with a tabbedPanel client side

2007-02-12 Thread Laurentiu Trica
Hi I use a tabbedPanel on the client side and a PPRPanelGroup to update a field. The problem I encountered is when I change a combobox that triggers the update of that field. It works fine. But then, when I want to change the tab, even if it is on client side, the page is refreshed (the new tab

Re: tableSuggest component issue

2007-02-12 Thread Laurentiu Trica
build which can be found at: http://example.irian.at/example-sandbox-20070212/tableSuggestAjax.jsf cheers, Gerald On 2/12/07, Laurentiu Trica [EMAIL PROTECTED] wrote: Hi TableSuggest component has a curious behaviour: is it a feature? When I have a suggested list and I don't want to select any

tableSuggest component issue

2007-02-12 Thread Laurentiu Trica
Hi TableSuggest component has a curious behaviour: is it a feature? When I have a suggested list and I don't want to select any of the item on the list, instead I leave blank, when i leave the component and go to other fields, the value is automatically changed to the previous value. Thank you

Re: Anyone used s:pprPanelGroup and s:tableSuggestAjax ?

2007-02-09 Thread Laurentiu Trica
better. (Trinidad has one, Ajax4JSF etc...) Laurentiu Trica schrieb: Hi I have to use s:pprPanelGroup and s:tableSuggestAjax together. But I receive an error like this: 2007-02-08 19:21:21,906 WARN org.apache.myfaces.renderkit .html.util.DefaultAddResource - Response has no head or body

Anyone used s:pprPanelGroup and s:tableSuggestAjax ?

2007-02-08 Thread Laurentiu Trica
Hi I have to use s:pprPanelGroup and s:tableSuggestAjax together. But I receive an error like this: 2007-02-08 19:21:21,906 WARN org.apache.myfaces.renderkit.html.util.DefaultAddResource - Response has no head or body tag: ?xml version=1.0? response component id=ofamMainForm:ppr1![CDATA[select

Re: Custom login in Liferay portal?

2006-12-15 Thread Laurentiu Trica
frustrating it is to post questions there and see them go unanswered/unaddressed, so I certainly can't blame you for trying here also. -Original Message- *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of *Laurentiu Trica *Sent:* Thursday, December 14, 2006 11:12 AM *To:* users

Custom login in Liferay portal?

2006-12-14 Thread Laurentiu Trica
Hi there Can somebody help me? I have to make a custom login on Liferay portal using JSF. Does anyone has any ideas? By custom login I mean logging against another database (not Liferay's one) and without LDAP server. Found something about a custom Authenticator. Where should I place that class?

Inter portlet communication

2006-11-10 Thread Laurentiu Trica
HiI am trying to transform a JSF application into 2 portlets.One for the menu, and the second for the main content.Can anybody help me out with this? How should I change the menu .jsf file and what should my portlet class look like? I succeded on putting them as portlets in Liferay, but couldn't

Creating portlets from an existing JSF web application

2006-10-31 Thread Laurentiu Trica
HiDoes anyone know a good place for such a documentation?Thanks a lot.-- Best regards,Laurentiu

Re: Creating portlets from an existing JSF web application

2006-10-31 Thread Laurentiu Trica
Thanks a lot.I still have an error. When I deploy my war I get this: 14:59:52,640 ERROR [STDERR] org.dom4j.DocumentException: Error on line 4 of document file:///C:/DOCUME~1/TRICAS~1/LOCALS~1/Temp/20061031145949062/WEB-INF/faces-config.xml : A ')' is required in the declaration of element type

Re: New component - interested?

2006-08-19 Thread Laurentiu Trica
/06, Martin Marinschek [EMAIL PROTECTED] wrote:When is the panel displayed? When you click on the image, or when you hover over it, or when you click on the link?regards,MartinOn 8/18/06, Laurentiu Trica [EMAIL PROTECTED] wrote: It is an idea. But I'm not sure if the merge wouldn't make

Re: New component - interested?

2006-08-18 Thread Laurentiu Trica
It is an idea.But I'm not sure if the merge wouldn't make the component difficult to use. I mean you should provide a lot of options for the component in order to work as expected.OptionsMenu is a contextual menu component, and popup component is used for displaying some popup messages. Or maybe

Re: Rules for new components (was Re: New component - interested?)

2006-08-08 Thread Laurentiu Trica
I think that it's a good thing to provide documentation and tests for a new component along with some examples.This gives the user more information and he will surely be happier seeing some working examples.The tests are probably what users should do with the component from the sandbox, but this