Re: problem with selectManyPicklist of Sandbox

2007-05-04 Thread is_maximum
Any Idea -- View this message in context: http://www.nabble.com/problem-with-selectManyPicklist-of-Sandbox-tf3674469.html#a10333843 Sent from the MyFaces - Users mailing list archive at Nabble.com.

Re: Perfomance Issues with JSF dropdown

2007-05-04 Thread Andrew Robinson
private final static String LARGE_STUFF_KEY = "largestuff"; @SuppressWarnings("unchecked") public List getLargeStuff() { Map reqMap = FacesContext.getDefaultInstance() .getExternalContext().getRequestMap(); List list = (List)reqMap.get(LARGE_STUFF_KEY); if (list == null) { // TODO: load

Re: Perfomance Issues with JSF dropdown

2007-05-04 Thread bansi
Thanks Andrew for quick response. As i am newbie to JSF i would appreciate code snippet on how to cache the data pre-request as you correctly guessed the data is constructed inside a get method . Here is my method in backing bean public List getManufacturerList(){ logger.info(" *** In g

Re: double click issue in Firefox...

2007-05-04 Thread Adrian Mitev
1. Shale project has the idea to separate the different modules in the different jar. So what you have to do is to download shale-core only and put it in the web-inf\lib directory. For more info about the component see the wiki [1] 2. The solution will work on facelets too. And there are no perfo

Re: Perfomance Issues with JSF dropdown

2007-05-04 Thread Andrew Robinson
UIComponents are free to call their value bindings as many times as they want, so you should make sure you cache that data pre-request if you are constructing data in a get method (like select items, maps, etc). In your case, it is being called twice because of the two phases it is needed. (1) Du

Re: myfaces and jsf 1.2

2007-05-04 Thread Rebecca . Peltz
Good news! Do you have a link to myfaces 1.2? I don't see it on the apache/myfaces website? Thanks Rebecca Peltz Java Developer 1015 3rd Ave 206-674-3400 x4120 "Bruno Aranda" <[EMAIL PROTECTED]> 05/04/2007 02:58 PM Please respond to "MyFaces Discussion" To "MyFaces Discussion" cc Su

Re: myfaces and jsf 1.2

2007-05-04 Thread Bruno Aranda
Very very soon :-) In my opinion, myfaces 1.2 is completely usable, though not officially compliant yet. There are no releases yet, but it is possible to check out the branch and give it a shot. Cheers, Bruno On 04/05/07, Matthias Wessendorf <[EMAIL PROTECTED]> wrote: Apache MyFaces hasn't p

Perfomance Issues with JSF dropdown

2007-05-04 Thread bansi
Here is the situation I have the following dropdown defined with ajax4jsf event onchange Code:

Re: [Trinidad] tr:table within tr:table

2007-05-04 Thread Brian Smith
Try wrapping your nested table inside of a detailStamp facet instead of a column Here is a demo http://www.irian.at/trinidad-demo/faces/components/table_nested.jspx He

Re: Resolving destination Url

2007-05-04 Thread Scott O'Bryan
That is hugely difficult. I think the best you can do is narrow it down to a view id omidh wrote: Hi, does anyone know if it is possible to receive the destination address/URL , after clicking a button, from the FacesContext or RenderRequest/Response in a Portlet... the Problem is.. I have t

Re: Access portal user information in JSF Portlet application

2007-05-04 Thread Scott O'Bryan
Actually, it's an attribute, you were right the first time... :) BTW- Is there any reason you can't use PortletRequest.getRemoteUser()? I think that's available in all PortletRequest's provided a user has been authenticated. I mean if you're casting, you may as well use the real method right

Re: Access portal user information in JSF Portlet application

2007-05-04 Thread Scott O'Bryan
I'm sortof split on this. Since it's an attribute, he should just use the EC, it's cheaper and more robust then the cast. If he needed something ELSE on the native object that the EC didn't provide, casting is the only option. That said, Kevin, are you sure you have a RenderRequest? Bridges

Re: Access portal user information in JSF Portlet application

2007-05-04 Thread Ryan Wynn
On 5/4/07, Ryan Wynn <[EMAIL PROTECTED]> wrote: On 5/4/07, Nebinger, David <[EMAIL PROTECTED]> wrote: > > First of all, it's easier to get the request map from the > > ExternalContext: > > > > Map requestMap = externalContext.getRequestMap(); > > For the http request parameters, sure you're corre

Re: Access portal user information in JSF Portlet application

2007-05-04 Thread Ryan Wynn
On 5/4/07, Nebinger, David <[EMAIL PROTECTED]> wrote: > First of all, it's easier to get the request map from the > ExternalContext: > > Map requestMap = externalContext.getRequestMap(); For the http request parameters, sure you're correct. But he's got a portlet and he's looking for a portlet

RE: Access portal user information in JSF Portlet application

2007-05-04 Thread Nebinger, David
> First of all, it's easier to get the request map from the > ExternalContext: > > Map requestMap = externalContext.getRequestMap(); For the http request parameters, sure you're correct. But he's got a portlet and he's looking for a portlet request parameter, so he's going about things the corr

Re: Navigation to and from an HTTPS URL - One Last Question

2007-05-04 Thread Andrew Robinson
private final static String SECURE_PREFIX = "secure:"; @Override public void handleNavigation(FacesContext context, String fromAction, String outcome) { // outcome in the format of "secure:viewid" if (outcome != null && outcome.startsWith(SECURE_PREFIX)) { String viewId = outc

[Trinidad] Problem with dynamic rendered in checkbox

2007-05-04 Thread Bruno Grossi
Hi, I detected a problem with checkbox/radios with dynamic rendered attribute, that I don't know if it's a JSF or Trinidad bug: If I have a checkbox with a rendered="${requestScope.someBooleanAttribute}", and a button that simple alter that attribute in request, to not render it again. If, a

Re: Navigation to and from an HTTPS URL - One Last Question

2007-05-04 Thread SOSELLA
Andrew, In your response, you wrote "build the full URL including 'https'". However, when you get the viewId in handleNavigation, it has the actual file name, e.g., "page.xhtml" (I am using facelets). However, I think (maybe I am wrong) that an actual URL has to be of the form "page.jsf" (if usi

Re: way too strict

2007-05-04 Thread Andrew Robinson
Common discussion thread. In 1.1.5, the behavior is the same as the specification pre 1.1.5, it was not JSF compatible. The specification says that the converted value submitted by the user must equals one of the un-converted values from a SelectItem. Before, MyFaces used to convert the SelectIte

Re: myfaces and jsf 1.2

2007-05-04 Thread Matthias Wessendorf
Apache MyFaces hasn't passed the TCK yet. We are not allowed to give you the concret number of failing tests, sorry I'd think it's there soon. Very soon -Matthias On 5/4/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: When will myfaces conform to jsf 1.2? Rebecca Peltz Java Developer

RE: Access portal user information in JSF Portlet application

2007-05-04 Thread Kito D. Mann
Hello Kevin, First of all, it's easier to get the request map from the ExternalContext: Map requestMap = externalContext.getRequestMap(); However, if you still can't find the key, it may be an issue with the Liferay portlet bridge. I would suggest asking about it in their forums to make sure the

myfaces and jsf 1.2

2007-05-04 Thread Rebecca . Peltz
When will myfaces conform to jsf 1.2? Rebecca Peltz Java Developer 1015 3rd Ave 206-674-3400 x4120

way too strict

2007-05-04 Thread Dfr
absolutely dont like any Backing bean property type except String. In demo application it even refuses to accept "Doors" option: http://www.irian.at/myfaces/selectbox.jsf

expanding nodes of Tomahawk tree2 during page loading

2007-05-04 Thread sed
Hi all, How can I extant all nodes of Tomahawk tree2 component during first loading of page? Here is example of expanding by click on link: http://www.irian.at/myfaces/tree2ExpandAll.jsf. But I need have all nodes expanded on the first time.

Re: DataTable with filtering option - presentation-wise

2007-05-04 Thread Shane Petroff
Gerald Müllan wrote: Which version of tomahawk are you using? Same results with 1.1.5 and 1.1.5-SNAPSHOT. Do I need something newer than the daily builds? -- Shane On 5/3/07, Shane Petroff <[EMAIL PROTECTED]> wrote: Gerald Müllan wrote: > > have you considered to use s:filterTable from san

"No Factories configured for this Application" with Tomcat 5.5.23

2007-05-04 Thread Fletcher, Michael \(Calgary\)
Hello I was having trouble getting with JSF because of this error described below. I tried using my code as well as the tomahawk-examples-1.1.5-bin.zip. I tried removing different WAR files as well as the correction described below. Eventually I just tried the examples using Tomcat 5.0.28 and e

RE: double click issue in Firefox...

2007-05-04 Thread Jorge Vásquez
Thanks Adrian, For option 1 I have the following doubt: 1. What exactly are my requirements in order to use the s:token component from shale, is there some documentation on this integration? I just want that component and nothing more from shale, is there like a reduced library and simpl

Re: [Trinidad] tr:forEach

2007-05-04 Thread Francisco Passos
Yes, I'm using facelets. That should be it. On 5/4/07, Döring Markus <[EMAIL PROTECTED]> wrote: Are you using facelets? If yes, is not supported with facelets. Try using one of (facelets) or (belongs to JSTL) -- *Von:* Francisco Passos [mailto:[EMAIL PROT

AW: [Trinidad] tr:forEach

2007-05-04 Thread Döring Markus
Are you using facelets? If yes, is not supported with facelets. Try using one of (facelets) or (belongs to JSTL) Von: Francisco Passos [mailto:[EMAIL PROTECTED] Gesendet: Freitag, 4. Mai 2007 13:51 An: users@myfaces.apache.org Betreff: [Trinidad] tr:forEa

AW: Access portal user information in JSF Portlet application

2007-05-04 Thread Pfau, Oliver
I have mapped the user info in portlet.xml toobut found the login name only under the key "liferay.user.id"try String name = (String) userInfo.get("liferay.user.id"); But it hurts JSR 168 -Ursprüngliche Nachricht- Von: Kevin Irmscher [mailto:[EMAIL PROTECTED] Gesendet: Freit

Access portal user information in JSF Portlet application

2007-05-04 Thread Kevin Irmscher
Hi, I have a JSF application in a Liferay Portal rendered as portlet using MyFacesGenericPortlet class. I want to access user information that is provided by the portal. In a normal portlet application they can be accessed using javax.portlet.RenderRequest.getAttribute(PortletRequest.USER_INFO);

[ApacheCon EU] Apache MyFaces day tutorial

2007-05-04 Thread Matthias Wessendorf
Hi, as you may know, Gerald and I were doing a one day training on JSF/Apache MyFaces The slides are available here: http://people.apache.org/~matzew/amsterdam.zip enjoy! -Matthias -- Matthias Wessendorf http://tinyurl.com/fmywh further stuff: blog: http://jroller.com/page/mwessendorf mail:

[Trinidad] tr:forEach

2007-05-04 Thread Francisco Passos
Hello once more. Whenever I try to use tr:forEach, I get this error: Tag Library supports namespace: http://myfaces.apache.org/trinidad, but no tag was defined for name: forEach What causes this?

[Trinidad] tr:table within tr:table

2007-05-04 Thread Francisco Passos
Hello there. I'm attempting to use a tr:table within another one and the second one doesn't show. I'm trying to present a list of values, where each value may have a list of different values. So I was aiming for something like Column 1 | Column 2 -|--- Value 1 | SubValue 1

Re: inputSuggestAjax - no backing-bean method called

2007-05-04 Thread Torsten Krah
I do not meant shale do issue a warning, but tomahawk itself - now the ajax call is interrupted silently because the renderer is of a wrong type. If i don't have taken a look to the code and debugged it line per line - if would not have found that. So it would be nice if tomahawk - not shale - wou

AW: Problem with duplicated client-ids

2007-05-04 Thread Sertic Mirko, Bedag
Hi Thanks for the hint! I am using session scoped backing beans, and a custom component that does a kind of dynamic include, so the contents of the page dynamically depending on ist state. The binding properties were not set to null for the components, so this is the explaination for the problem.

Reset datascroller

2007-05-04 Thread Angel Miralles Arevalo
Hi everyone, I have a little problem while trying to integrate filtering and paging a datatable. I'm paging from hibernate (working with large tables), when I filter only get results if they were display on the actual paging elements. Anybody can help me? Thanks a lot