t:saveState how-to?

2006-04-27 Thread John Ruffin
I want users to flow through say 2 screens then I want to save their submitted data. I use t:saveState to keep the data around. I added: to the first form and in the second form. Both beans implement Serializable. is outside . javax.faces.STATE_SAVING_METHOD is set to client. This works o

myFaces - Tobago - Jbuilder 2006 - arghhhh

2006-04-27 Thread John
There just seems to always be problems. Things work, then they don't.   Alot of it seems to be libraries. JBuilder insists on bringing in JSF and JSTL 1.1 Tobabo wants jstl and jstl 1.0   I'm totally confused as to how to know exactly which libraries for myFaces and Tobago & jsf & jstl wh

Re: Using EL in id attribute of selectBooleanCheckbox tag

2006-04-27 Thread Mike Kienenberger
On 4/27/06, Dennis Byrne <[EMAIL PROTECTED]> wrote: > UIComponent.setId() takes a String and UIComponentBase.isIdValid is sure to > throw an exception . Do you mean instantiating a ValueBinding in order to > get the actual String ? No, I mean you can use component.setId(product.getUuid()); Ho

Re: Using EL in id attribute of selectBooleanCheckbox tag

2006-04-27 Thread Dennis Byrne
UIComponent.setId() takes a String and UIComponentBase.isIdValid is sure to throw an exception . Do you mean instantiating a ValueBinding in order to get the actual String ? Dennis Byrne >-Original Message- >From: Mike Kienenberger [mailto:[EMAIL PROTECTED] >Sent: Thursday, April 27, 2

Re: Using EL in id attribute of selectBooleanCheckbox tag

2006-04-27 Thread Mike Kienenberger
On 4/27/06, metadata_madness <[EMAIL PROTECTED]> wrote: > I have a datatable that has a column with a checkbox (selectBooleanCheckbox) > in it. I would like to assign a variable value to the id attribute of the > selectBooleanCheckbox us EL, but I get a parsing error at runtime. Here is > my code:

Re: Using EL in id attribute of selectBooleanCheckbox tag

2006-04-27 Thread metadata_madness
I was afraid of that. Thanks for the reply Dennis. -- View this message in context: http://www.nabble.com/Using-EL-in-id-attribute-of-selectBooleanCheckbox-tag-t1521234.html#a4131066 Sent from the MyFaces - Users forum at Nabble.com.

Re: Using EL in id attribute of selectBooleanCheckbox tag

2006-04-27 Thread Dennis Byrne
You cannot use EL expressions for @id in JSF. Dennis Byrne >-Original Message- >From: metadata_madness [mailto:[EMAIL PROTECTED] >Sent: Thursday, April 27, 2006 06:35 PM >To: users@myfaces.apache.org >Subject: Using EL in id attribute of selectBooleanCheckbox tag > > >I have a datatable t

Using EL in id attribute of selectBooleanCheckbox tag

2006-04-27 Thread metadata_madness
I have a datatable that has a column with a checkbox (selectBooleanCheckbox) in it. I would like to assign a variable value to the id attribute of the selectBooleanCheckbox us EL, but I get a parsing error at runtime. Here is my code: The "#" seems to cause problems. Is there any way to us

RE: error while resolving artifact xslt-plugin

2006-04-27 Thread Marcio E Miranda
I got the same error:   **   [INFO] - --- [INFO] Building Impl [INFO]    task-segment: [install] [INFO] ---

headerstyleClass

2006-04-27 Thread Dave
  org.apache.jasper.JasperException:Unable to find setter method for attribute: headerstyleClass   The attribute is defined in tld.  Is this a bug?   I am using 1/16/06 nightly build.     Get amazing travel prices for air and hotel in one click on Yahoo! FareChase

RE: General Converter Question

2006-04-27 Thread Frank Russo
Nope. I tried this as well, with the same problem: /WEB-INF/sandbox.taglib.xml I'm going to post to the facelets list... Frank Russo Senior Developer FX Alliance, LLC -Original Message- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: Thursday, April 27, 2006 4:31 PM

RE: Newbie question - does the use of Tiles affect our use of the verbatim tag?

2006-04-27 Thread Sloan, Noah M
Hans Bergsten wrote an article [1] explaining why this happens. It's why I use Facelets. I had similar irritations until we switched. [1] http://www.onjava.com/pub/a/onjava/2004/06/09/jsf.html From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thu 27-Apr-

Re: Newbie question - does the use of Tiles affect our use of the verbatim tag?

2006-04-27 Thread Mike Kienenberger
On 4/27/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I am currently a team lead on a project using faces (our 2nd app) and one of > the developpers > raised an issue which I hope someone from the forums may help clarify. > > He claims that jsp pages containing both static and dynamic content

Newbie question - does the use of Tiles affect our use of the verbatim tag?

2006-04-27 Thread Cote.Mark
I am currently a team lead on a project using faces (our 2nd app) and one of the developpers raised an issue which I hope someone from the forums may help clarify.   He claims that jsp pages containing both static and dynamic content do not need to use the verbatim tag if tiles is not in t

Re: General Converter Question

2006-04-27 Thread Mike Kienenberger
On 4/27/06, Frank Russo <[EMAIL PROTECTED]> wrote: > I've tried other sandbox components in the past, but have had similar > problems. Possibly a newline issue in the facelets.LIBRARIES list? Here's what I have: web.xml: == facelets.LIBRARIES /WEB-INF/je

RE: General Converter Question

2006-04-27 Thread Frank Russo
I've tried other sandbox components in the past, but have had similar problems. Here is my info: Web.xml entry: facelets.LIBRARIES /WEB-INF/tomahawk.taglib.xml; /WEB-INF/sandbox.taglib.xml;

Re: General Converter Question

2006-04-27 Thread Mike Kienenberger
Only thing I can think of is a missing or incorrect xmlns entry at the top of the page (or wherever you're specifying them). Is this the first sandbox component you're using? Other than that, your best bet is to post your web.xml facelets library init param, your page code, and your sandbox.tagl

RE: General Converter Question

2006-04-27 Thread Frank Russo
It's definitely not finding the converter. It renders as: I've added the tag to the page. I've included the sandbox.taglib.xml file to my web.xml. Both the taglib and the sandbox jar are included in my webapp. Is there something I'm missing? Frank Russo Senior Developer FX Alliance, LL

Re: Datascroller problem & Myfaces/Tomahwak verion compatibility

2006-04-27 Thread Ajit.T
your guess did hit the nailhead Mike. saveState did save my state ;-) Thanks ! Ajit -- View this message in context: http://www.nabble.com/Datascroller-problem-Myfaces-Tomahwak-verion-compatibility-t1513744.html#a4127989 Sent from the MyFaces - Users forum at Nabble.com.

RE: Help me understand component lifecycle please.

2006-04-27 Thread Neuman, Ben J., A&M IRM
Mike, In my case, I would like to bind the tabbedPanel and 'unrender' certain child tab panes. When setComponent() is initially called, children do not exist (NullPointerException). So, I'd have to bind each child tab using this method, which brings us full circle back to the beginning of the discu

Re: Help me understand component lifecycle please.

2006-04-27 Thread Mike Kienenberger
On 4/27/06, Neuman, Ben J., A&M IRM <[EMAIL PROTECTED]> wrote: > I see. Let me give something like this a try. But first, one question: when > in the lifecycle would setMyComponent() get called? I'm not an expert on this, but I believe setBinding called during renderResponse right after the compon

RE: Help me understand component lifecycle please.

2006-04-27 Thread Neuman, Ben J., A&M IRM
Thanks Everyone. My needs are relatively simple: prohibit the rendering of specific tabs when business logic calls for it. It seems the best answer right now is to implement a 'rendered' property for each tab on a backing bean. I just would have liked to use a more extensible approach. -Orig

Re: General Converter Question

2006-04-27 Thread Mike Kienenberger
On 4/27/06, Frank Russo <[EMAIL PROTECTED]> wrote: > Actually, I thought it was working, but it was getting a null, but the > checkbox rendered unchecked. When I set a value, I get the exception > below. It seems to not be finding the converter, as it's never called. > > I've added the sandbox.tagl

RE: Help me understand component lifecycle please.

2006-04-27 Thread Rhys Parry
>> This seems a lot easier than dealing with phase listeners. Why? Again I am forced to write this everywhere I need to use it. Lots 'o' boilerplate instead of just looking at the component name and doing my lookup regardless of the page etc. I see the phase listener as a very good solution. .

RE: Help me understand component lifecycle please.

2006-04-27 Thread Neuman, Ben J., A&M IRM
I see. Let me give something like this a try. But first, one question: when in the lifecycle would setMyComponent() get called? -Original Message- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: Thursday, April 27, 2006 2:57 PM To: MyFaces Discussion Subject: Re: Help me understan

Re: Help me understand component lifecycle please.

2006-04-27 Thread Mike Kienenberger
On 4/27/06, Neuman, Ben J., A&M IRM <[EMAIL PROTECTED]> wrote: > Rhys, I think you hit the nail on the head. You can't get the component > during the initial render response phase. The workarounds seem like an awful > lot of work for my needs. Maybe I'm being naive, but I don't see the problem.

Re: Help me understand component lifecycle please.

2006-04-27 Thread Matthias Wessendorf
no worries, was just a simple question ;-) but thanks for your efforts! -Matthias On 4/27/06, Rhys Parry <[EMAIL PROTECTED]> wrote: > I am an ass. > > I would love to. I cannot share the version I developed for the company > without asking the big guy, however, if he says no I will write my ow

RE: Help me understand component lifecycle please.

2006-04-27 Thread Rhys Parry
I am an ass. I would love to. I cannot share the version I developed for the company without asking the big guy, however, if he says no I will write my own and share. Give me a few days ( weekend ) and I will post something before monday. Rhys -Original Message- From: [EMAIL PROTE

Re: Help me understand component lifecycle please.

2006-04-27 Thread Matthias Wessendorf
why not sharing in public? On 4/27/06, Rhys Parry <[EMAIL PROTECTED]> wrote: > Ben, > > If you wouold like to take this off-line I can share my knowledge on the > subject. In the end I created a bunch of aspects ( compile time aspectJ > (although runtime would be preferable)) that should not be

RE: General Converter Question

2006-04-27 Thread Frank Russo
Actually, I thought it was working, but it was getting a null, but the checkbox rendered unchecked. When I set a value, I get the exception below. It seems to not be finding the converter, as it's never called. I've added the sandbox.taglib.xml file to my web-inf directory. I've added the referen

Re: f:param and commandButton

2006-04-27 Thread Murat Hazer
You can use t:saveState tag to access the variable from the second page. I think...regards...On 4/27/06, Uri Kalish < [EMAIL PROTECTED]> wrote: This is not good for me. I navigate to another page and need this value on the second bean (not the first bean connected to the page sending

RE: Help me understand component lifecycle please.

2006-04-27 Thread Rhys Parry
Ben, If you wouold like to take this off-line I can share my knowledge on the subject. In the end I created a bunch of aspects ( compile time aspectJ (although runtime would be preferable)) that should not be a problem to use. If you would like email me at [EMAIL PROTECTED] Rhys Parry

RE: Help me understand component lifecycle please.

2006-04-27 Thread Neuman, Ben J., A&M IRM
Rhys, I think you hit the nail on the head. You can't get the component during the initial render response phase. The workarounds seem like an awful lot of work for my needs. -Original Message- From: Rhys Parry [mailto:[EMAIL PROTECTED] Sent: Thursday, April 27, 2006 2:40 PM To: MyFaces D

RE: Help me understand component lifecycle please.

2006-04-27 Thread Rhys Parry
All, I know I am joining this discussion late, however, I just went through the painful process of writing my own component library because I could not get the components during the render response phase. My idea was that I should be able to get the component id and based on that do some addit

Re: Help me understand component lilfecycle please.

2006-04-27 Thread Mike Kienenberger
On 4/27/06, Neuman, Ben J., A&M IRM <[EMAIL PROTECTED]> wrote: > Not sure I understand. Are you referring to the binding of a component's > attribute to a backing bean? Or the binding of the component itself to a > backing bean? The binding of the component itself to a backing bean using the "bind

Re: Help me understand component lilfecycle please.

2006-04-27 Thread Rafael Nami
Something like this in your backingBean:  private UIPanel panel; //gets and sets   This is usually something that you can do to dynamically create components. I've never done such thing, but Bruno Aranda posted something about this a while ago in the mailinglist.Best Regards   Rafael Mauricio Nami

RE: Help me understand component lilfecycle please.

2006-04-27 Thread Neuman, Ben J., A&M IRM
Not sure I understand. Are you referring to the binding of a component's attribute to a backing bean? Or the binding of the component itself to a backing bean? -Original Message- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: Thursday, April 27, 2006 12:24 PM To: MyFaces Discussio

Re: General Converter Question

2006-04-27 Thread Matthias Wessendorf
Did you looked at [1] :-) -Matthias [1] http://wiki.java.net/bin/view/Projects/FaceletsTaglibsMyfacesSandbox On 4/27/06, Frank Russo <[EMAIL PROTECTED]> wrote: > It works like a charm with the following in the facelets taglib: > > > convertBoolean > > > org.apache.myfaces.

RE: General Converter Question

2006-04-27 Thread Frank Russo
It works like a charm with the following in the facelets taglib: convertBoolean org.apache.myfaces.custom.convertboolean.BooleanConverter< /converter-id> Frank Russo Senior Developer FX Alliance, LLC -Original Message- From: Frank Russo Sent: Thur

Re: DojoInserter component

2006-04-27 Thread Matthias Wessendorf
looks like Werner's server is down for now. stay tuned! ;-) On 4/27/06, Frank Russo <[EMAIL PROTECTED]> wrote: > I didn't think so, but I'll check... > > > Frank Russo > Senior Developer > FX Alliance, LLC > > > -Original Message- > From: Andrew Robinson [mailto:[EMAIL PROTECTED] > Sent:

RE: DojoInserter component

2006-04-27 Thread Frank Russo
I didn't think so, but I'll check... Frank Russo Senior Developer FX Alliance, LLC -Original Message- From: Andrew Robinson [mailto:[EMAIL PROTECTED] Sent: Thursday, April 27, 2006 1:23 PM To: MyFaces Discussion Subject: Re: DojoInserter component Are you like me and have your corpor

RE: General Converter Question

2006-04-27 Thread Frank Russo
Can I apply the below to the facelet taglib as is? I'm trying it now, so hopefully... Frank Russo Senior Developer FX Alliance, LLC -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthias Wessendorf Sent: Thursday, April 27, 2006 1:17 PM To: MyFaces D

Re: DojoInserter component

2006-04-27 Thread Andrew Robinson
Are you like me and have your corporate firewall blocking non-standard outbound ports? (for me 8080 is blocked) On 4/27/06, Frank Russo <[EMAIL PROTECTED]> wrote: > I can't hit any of these. I even pinged it, but get request timed out... > > > > Frank Russo > Senior Developer > FX Alliance, LLC >

Re: General Converter Question

2006-04-27 Thread Mike Kienenberger
On 4/27/06, Frank Russo <[EMAIL PROTECTED]> wrote: > That's it exactly. Is it as simple as putting trueValue="Y" falseValue="N"/> in my page? Well, that and defining your facelet taglib. :-)

Re: General Converter Question

2006-04-27 Thread Matthias Wessendorf
taken from TLD file convertBoolean org.apache.myfaces.custom.convertboolean.ConvertBooleanTag Boolean Converter Converts a boolean to custom format (yes/no), (1/0), etc. trueValu

RE: General Converter Question

2006-04-27 Thread Frank Russo
That's it exactly. Is it as simple as putting in my page? Frank Russo Senior Developer FX Alliance, LLC -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthias Wessendorf Sent: Thursday, April 27, 2006 12:54 PM To: MyFaces Discussion Subject: Re: Gener

Re: General Converter Question

2006-04-27 Thread Mike Kienenberger
On 4/27/06, Julian Ray <[EMAIL PROTECTED]> wrote: > If you use something like the BooleanUtils class from commons-lang, much of > the technical aspects of conversion from strings to boolean values is done > for you. All you need is a simple converter wrapper and a taglib. > > As this is such a comm

Re: General Converter Question

2006-04-27 Thread Dennis Byrne
If you look at the source there is already a boolean converter, but it does the *opposite* of what you need. It was in sandbox the last time I saw it but it may have moved to tomahawk. Should be quick to implement though. Dennis Byrne >-Original Message- >From: Frank Russo [mailto:[EM

Re: General Converter Question

2006-04-27 Thread Matthias Wessendorf
Frank- perhaps [1] is useful to you -Matthias [1] http://myfaces.apache.org/sandbox/apidocs/org/apache/myfaces/custom/convertboolean/BooleanConverter.html On 4/27/06, Mike Kienenberger <[EMAIL PROTECTED]> wrote: > Yes, this should work. I have the same issue, but I generally deal > with it b

RE: General Converter Question

2006-04-27 Thread Julian Ray
If you use something like the BooleanUtils class from commons-lang, much of the technical aspects of conversion from strings to boolean values is done for you. All you need is a simple converter wrapper and a taglib. As this is such a common requirement I'm surprised that no one has pushed one i

Re: Datascroller problem & Myfaces/Tomahwak verion compatibility

2006-04-27 Thread Mike Kienenberger
On 4/27/06, Ajit.T <[EMAIL PROTECTED]> wrote: > Have ensured by printing the value of the el expression of rows attribute > using and I get it as 10 which I set it programmatically. > > What should I drill down now? Here's a guess #{nsearchBean.dataModel.rows} is in a request-scoped bean. So wh

Re: Datascroller problem & Myfaces/Tomahwak verion compatibility

2006-04-27 Thread Ajit.T
Have ensured by printing the value of the el expression of rows attribute using and I get it as 10 which I set it programmatically. What should I drill down now? -- View this message in context: http://www.nabble.com/Datascroller-problem-Myfaces-Tomahwak-verion-compatibility-t1513744.html#a412

Re: General Converter Question

2006-04-27 Thread Mike Kienenberger
Yes, this should work. I have the same issue, but I generally deal with it by converting the String type to a boolean type at the database layer level. But there's no reason you can't create a converter. You'll need to manually assign it each place it is used, but that's probably what you want

Re: Cant't run MyFaces + Sandbox together

2006-04-27 Thread Mike Kienenberger
On 4/27/06, Fabio Rosellini <[EMAIL PROTECTED]> wrote: > In our project we are trying to use: > myfaces-api.jar > myfaces-impl.jar > tomahawk.jar > tomahawk-sandbox-1.1.2-SNAPSHOT.jar > and jenia4faces jars > We would like to use GraphicDynamicImage and Picklist

General Converter Question

2006-04-27 Thread Frank Russo
Is it possible to bind a h:selectBooleanCheckbox component to a String field? The string field is coming out of the db as a Y or N value. This is existing code used in a lot of places, and I can't change it. It should have been stored in the object as a boolean or Boolean, but I can't change

Cant't run MyFaces + Sandbox together

2006-04-27 Thread Fabio Rosellini
Title: Cant't run MyFaces + Sandbox together   In our project we are trying to use:     myfaces-api.jar     myfaces-impl.jar     tomahawk.jar     tomahawk-sandbox-1.1.2-SNAPSHOT.jar  and jenia4faces jars  We would like to use GraphicDynamicImage and Picklist Sandbox's co

Re: Help me understand component lilfecycle please.

2006-04-27 Thread Mike Kienenberger
On 4/27/06, Neuman, Ben J., A&M IRM <[EMAIL PROTECTED]> wrote: > Got it. It makes sense to me to "disregard" unrendered components during > phase-processing code. I guess I have issues with the inability to modify > components before the initial rendering. Still feel this is a spec weakness. Well,

RE: Help me understand component lilfecycle please.

2006-04-27 Thread Neuman, Ben J., A&M IRM
Got it. It makes sense to me to "disregard" unrendered components during phase-processing code. I guess I have issues with the inability to modify components before the initial rendering. Still feel this is a spec weakness. Thanks! Ben -Original Message- From: Mike Kienenberger [mailto:[E

Re: Datascroller problem & Myfaces/Tomahwak verion compatibility

2006-04-27 Thread Mike Kienenberger
On 4/27/06, Ajit.T <[EMAIL PROTECTED]> wrote: > This is stack Trace , which points towards the Tomahawk1.1.1 bug in > HtmlDataScroller i guess > > ApplicationDispatcher[/Project1] Servlet.service() for servlet jsp threw > exception > java.lang.ArithmeticException: / by zero > at > org.apach

Re: attributes for dataTable's styleClass? - question withdrawn

2006-04-27 Thread Jeff Bischoff
sorry, I figured out the example. Guess I was hung up on "styleClass" and forgot about the other class settings in dataTable!

Know who called my managed bean

2006-04-27 Thread Uri Kalish
The navigation rules are: bean1 à bean2 bean2 à bean2 (on error)   I want to differentiate between these two cases on the constructor of bean2.     __ This email has been scanned by the MessageLabs Email Securi

Re: Datascroller problem & Myfaces/Tomahwak verion compatibility

2006-04-27 Thread Ajit.T
Thanks for the reply Mike. This is stack Trace , which points towards the Tomahawk1.1.1 bug in HtmlDataScroller i guess ApplicationDispatcher[/Project1] Servlet.service() for servlet jsp threw exception java.lang.ArithmeticException: / by zero at org.apache.myfaces.custom.datascroller.Htm

RE: DojoInserter component

2006-04-27 Thread Frank Russo
I can't hit any of these. I even pinged it, but get request timed out... Frank Russo Senior Developer FX Alliance, LLC -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthias Wessendorf Sent: Wednesday, April 26, 2006 9:40 AM To: MyFaces Discussion Su

Re: Help me understand component lilfecycle please.

2006-04-27 Thread Mike Kienenberger
The reason it affects whether the component exists (in application, although not in memory) is that each piece of phase-processing code starts with the line: if (!rendered) return; So no phases are executed on non-rendered components. It's as if they don't exist. On 4/27/06, Neuman, Ben J., A

RE: Backing Bean initialization with Managed Property fails

2006-04-27 Thread Michael Heinen
I found the solution just a moment ago.   I have just to add the classes of the keys and values.       java.lang.String     java.lang.Object         submissionDate     #{Range}     From: Michael

RE: Help me understand component lilfecycle please.

2006-04-27 Thread Neuman, Ben J., A&M IRM
Mike, Thanks for your help. At the moment, however, I do not completely understand how the 'rendered' property affects a component's "existence". >From the spec: public boolean isRendered() Return true if this component (and its children) should be rendered during the Render Response phase of th

RE: f:param and commandButton

2006-04-27 Thread Uri Kalish
This is not good for me. I navigate to another page and need this value on the second bean (not the first bean connected to the page sending the parameter). The parameter is accessible to the second bean also.   From: Murat Hazer [mailto:[EMAIL PROTECTED] Sent: Thursday, April

Re: Help me understand component lilfecycle please.

2006-04-27 Thread Mike Kienenberger
On 4/27/06, Neuman, Ben J., A&M IRM <[EMAIL PROTECTED]> wrote: > Ok. If my phaseId = RENDER_RESPONSE, beforePhase() is too soon to modify the > component and afterPhase() is too late? That would seem like a weakness in > the spec to me. If there wasn't a rendered tag, sure, this probably would be

Re: Tomahawk popup over HTTPS

2006-04-27 Thread Andrew Robinson
I don't think that the popup asks the server for anything. The HTML comes from javascript and the document.write method (which I opened a JIRA issue on). IE may not be liking the document.write being used in a secure page after the page has been finished loading. I cannot say for sure at all, but i

RE: Help me understand component lilfecycle please.

2006-04-27 Thread Neuman, Ben J., A&M IRM
Ok. If my phaseId = RENDER_RESPONSE, beforePhase() is too soon to modify the component and afterPhase() is too late? That would seem like a weakness in the spec to me. -Original Message- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: Thursday, April 27, 2006 10:26 AM To: MyFaces D

Backing Bean initialization with Managed Property fails

2006-04-27 Thread Michael Heinen
Hi all,   I don't get a map entry of my managed bean initialized with an object value. Instead it contains only a String with the class name.   Snippets:   First I have a bean called Range. Range     xxx.search.Range     session           

Re: Datascroller problem & Myfaces/Tomahwak verion compatibility

2006-04-27 Thread Mike Kienenberger
On 4/26/06, Ajit Tripathi <[EMAIL PROTECTED]> wrote: > I tried with updating the myfaces .jar to 1.1.2 and using the snapshot > builds of tomahawk 1.1.2 as well as 1.1.3 . In either cases I keep > getting a > java.lang.NoSuchMethodError: > org.apache.myfaces.renderkit.html.util.DummyFormUtils.find

Re: Help me understand component lilfecycle please.

2006-04-27 Thread Mike Kienenberger
On 4/26/06, Neuman, Ben J., A&M IRM <[EMAIL PROTECTED]> wrote: > My UIComponent is 'bound' to a property on a managed bean, which is also a > PhaseListener. In any (all) phases, I call myUIComponent.setRendered(false). > When the appropriate view is first requested (via commandLink), the > componen

Re: attributes for dataTable's styleClass?

2006-04-27 Thread Jeff Bischoff
Also, this example shows class attributes being generated such as where the heck was that defined? When I look at my own output for t:dataTable, I get Why is tomahawk outputting this? I don't see standardTable_Column defined anywhere. I want to be able to use my own CSS class for the cells

RE: Component state management inside portlets

2006-04-27 Thread Stan Silvert
ExtensionFilter doesn’t directly do anything with state management, but it is required to setup some things for some Tomahawk components (which I really don’t know that much about).  So, I’d say try this in a stand-alone web app without ExensionFilter and see what happens.   Some Tomahawk

RE: f:param and commandButton

2006-04-27 Thread Rhys Parry
All, I have suggested this before in this mailing list and am feeling somewhat like a salesman. . .its just that it works. You can send params from anywhere within a form with the j4j:param tag. http://www.jsftutorials.net/param.html Hope this helps, Rhys -Original Message- From: [E

Re: f:param and commandButton

2006-04-27 Thread Matthias Wessendorf
+1 on t:updateActionListener since params is an *ugly* way... On 4/27/06, Murat Hazer <[EMAIL PROTECTED]> wrote: > > You can use t:updateActionListener with command button, also you can read > http://wiki.apache.org/myfaces/ExecutingMethodsFromLinkButtonParameters for > additional info. > > > r

Re: attributes for dataTable's styleClass?

2006-04-27 Thread Jeff Bischoff
On this site, they have an example DataTable that has styleClass set. However, after downloading the source and looking at the CSS, there is nothing in there that matches this styleClass name "list-background". This is very confusing... Does anyone know of a better example? (Or am I missing so

Re: f:param and commandButton

2006-04-27 Thread Murat Hazer
You can use t:updateActionListener with command button, also you can read http://wiki.apache.org/myfaces/ExecutingMethodsFromLinkButtonParameters for additional info.regardsOn 4/27/06, Uri Kalish <[EMAIL PROTECTED]> wrote: When I send a parameter from a commandButton I get a string co

Re: f:param and commandButton

2006-04-27 Thread Martin Marinschek
Hi Uri,commandButtons can't send parameters.regards,MartinOn 4/27/06, Uri Kalish <[EMAIL PROTECTED] > wrote: When I send a parameter from a commandButton I get a string containing the word "null" from the parameters map. If I use a commandLink instead - it works. Any ideas?    

RE: Component state management inside portlets

2006-04-27 Thread Marcio E Miranda
The strange thing is that it works in a web application.   Who is responsible for saving the state of a component? I’m tracing the flow from the Lifecycle and realized that it goes like Lifecycle.render()->ViewHandler.render()->externalContext.dispatch()->PortletRequestDispatcher.include(

f:param and commandButton

2006-04-27 Thread Uri Kalish
When I send a parameter from a commandButton I get a string containing the word “null” from the parameters map. If I use a commandLink instead - it works. Any ideas?     id="addNewLoadTestReservationButton"   action="">   value="#{msgs.addNewLoadTestReservationButton}"    

Re: error while resolving artifact xslt-plugin

2006-04-27 Thread Rogerio Pereira
I donwloaded the plugin and installed by hand here and the problem has gone.

Re: error while resolving artifact xslt-plugin

2006-04-27 Thread Rogerio Pereira
On 4/26/06, Sean Schofield <[EMAIL PROTECTED]> wrote: The xslt ref is SNAPSHOT though and that was only on the antanionserver.  So that remains a problem AFAIK.I put the atanion repo in my settings.xml but i got an "Repository 'atanion' will be blacklisted" message.

request parameters from controller servlet

2006-04-27 Thread Roman Nikiforov
Hi, I'm trying to extend some not JSF application with JSF. Appliation uses controller servlet and I need to get parameter that this controller set. If I propery understand, I have 2 Request objects, one for controller servlet and one for Faces servlet. But I have no idea how I can get Control

Re: MyFaces crashes when rendering tag as portlet

2006-04-27 Thread Werner Punz
This looks more like a mimetype problem, jasper triggers on your xml file while it should not. (jasper is the internal jsp compiler of tomcat) gruenewa schrieb: > Hello, > > I have written several portlet applications using apache myfaces. Now I > think i have discovered a bug. My application r

Re: TabbedPane selectedIndex not working.

2006-04-27 Thread Hans Sowa
HiIn which way do you you use the tabbedPane because there is the possibilty to use client side or server side, this means the tabchange is driven by client side or server side. You can switch this with an attribute (I don't know which one). If you don't use the attribute then you use the client si

Re: Tomahawk popup over HTTPS

2006-04-27 Thread JeanClaude . Pace
To be honest I wouldn't like to introduce an extra library for such simple functionality. I considered doing away with the tooltip component but using the title attribute or the alt attribute. Unfortunately Firefox doesn't display the alt text and it truncates the title text. So the popup doesn't

MyFaces crashes when rendering tag as portlet

2006-04-27 Thread gruenewa
Hello, I have written several portlet applications using apache myfaces. Now I think i have discovered a bug. My application renderes a link using the outputLink tag. It works fine if the application runs as standalone web application. It crashes when it runs as a portlet inside JBoss Portal. The

Re: [tobago] Re: Cut off Boxes and Tables

2006-04-27 Thread Nils Drews
I used scarborough and attached all available themes in the lib folder. But after changing it to charlotteville it worked and i couldn' reproduce the error even if i switched back to scarborough ... strange ... another question is, why the buttons semm to work with mozilla and are doing a relaod,

Re: Tomahawk popup over HTTPS

2006-04-27 Thread Gilles DEMARTY
> In shorter terms, is there any reason why the Tomahawk Popup would cause data > to be passed over HTTP when it is used on a site which is served over HTTPS? > Is there any workaround/solution? > Hi Jean, Got the same issue here. No workaround found until now. Maybe it's worth a JIRA ticket.

force the datascroller to specified page

2006-04-27 Thread taylan saldiray
hello everyone i have a datatable and datascroller when they are rendered initially i need that the scroller shows not the first page instead it shows for example the 3.page and of course the paginator should be showing the 3.page i have done with the paginator (it is on the right page) but the

Re: Tomahawk popup over HTTPS

2006-04-27 Thread JeanClaude . Pace
In shorter terms, is there any reason why the Tomahawk Popup would cause data to be passed over HTTP when it is used on a site which is served over HTTPS? Is there any workaround/solution? Thanks Jean [EMAIL PROTECTED] 25/04/2006 16:04 Please respond to "MyFaces Discussion" To