tr:showDetail

2011-12-10 Thread Shane Petroff
Is there any way to make tr:showDetail components function under myfaces core 2.1 other than using: context-param param-nameorg.apache.myfaces.trinidadinternal.PPR_OVER_JSF_AJAX/param-name param-valueoff/param-value /context-param ? -- Shane

Re: PARTIAL_STATE_SAVING

2011-12-07 Thread Shane Petroff
) Shane On Wed, Dec 7, 2011 at 12:30 AM, Shane Petroff sh...@mayet.ca wrote: So, I bit the bullet and converted my app over to facelets. Now I'm having problems with binding on a particular page, so I decided to try turning partial state saving off with: context-param param

PARTIAL_STATE_SAVING

2011-12-06 Thread Shane Petroff
So, I bit the bullet and converted my app over to facelets. Now I'm having problems with binding on a particular page, so I decided to try turning partial state saving off with: context-param param-namejavax.faces.PARTIAL_STATE_SAVING/param-name param-valuefalse/param-value /context-param I

t:panelTabbed

2011-11-29 Thread Shane Petroff
Hello, I'm trying to upgrade an old JSF 1.1 app up to current standards. For the time being, I'd like to leave it as jsp based (upgrading pages to Facelets as changes come up). I've converted everything obvious, but Tomahawk tabs and menus are messed up. I'm currently using

Re: t:panelTabbed

2011-11-29 Thread Shane Petroff
On 11/29/2011 11:18 PM, Leonardo Uribe wrote: Replacehead andbody tags with h:head and h:body will solve the problem. OK, another dumb question: where are h:head and h:body defined? The other h tags 'live' in myfaces-bundle-2.1.4.jar!META-INF/myfaces_html.tld, but there are no tags for

Re: [Trinidad] new skin and new demo

2010-02-03 Thread Shane Petroff
Matthias Wessendorf wrote: cool, thanks! Definitely not cool... The performance at the irian site is terrible (it sucks at the best of times, but today it is atrocious). It makes both Trinidad and Irian look bad. If I didn't already know that Trinidad performance was fine, I'd be left

Re: How to set a component value to an EL Expression in Java?

2008-09-26 Thread Shane Petroff
Paul Spencer wrote: I need to dynamically add a child component inside a bean. I have access to the component via a binding and have successfully added the child component. What I have not been able to do is set the value of the child component to an EL Expresion so it is resolve by JSF 1.2.

Re: [Trinidad] CoreShowDetail

2008-09-09 Thread Shane Petroff
, but nothing looks obviously wrong. Shane Shane Petroff wrote: Frank Nimphius wrote: not sure what the panel is doing, but I suggest to add a component that can take a focus (e.g. a text field) for a test OK, one of the panels didn't have any focusable components in it, so I've

Re: [Trinidad] CoreShowDetail

2008-08-20 Thread Shane Petroff
. _pprStartBlocking didn't mean much to me. submitForm returns true. To the uninitiated, everything seems fine, but nothing ever gets refreshed. Do I need to add something as a partial target? -- Shane Frank Shane Petroff wrote: I can't seem to get a CoreShowDetail instance to work. I have an existing

[Trinidad] CoreShowDetail

2008-08-19 Thread Shane Petroff
I can't seem to get a CoreShowDetail instance to work. I have an existing/functional page, which is build primarily in Java code, and I wanted to add hide/show to a particular panel. It appears as though the CoreShowDetail class is easily used CoreShowDetail detail = (CoreShowDetail)

Re: [Trinidad] tr:selectManyListbox doesn't render on IE

2008-05-14 Thread Shane Petroff
-icon:folder-collapsed{... af|tree::node-icon:document{... Where the heck are these properties coming from, and why only on IE? Shane -- Kind regards, Mathias -Original Message- From: Shane Petroff [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 13, 2008 10:47 PM To: MyFaces Discussion

[Trinidad] tr:selectManyListbox doesn't render on IE

2008-05-13 Thread Shane Petroff
Hello, I have a relatively simple page which behaves fine under Firefox, but oddly under IE. In IE the tr:selectManyListbox is not rendered until after the first ajax request. But the ajax request has nothing to do with the tr:selectManyListbox. The page below is opened in a light weight

[Trinidad] Caret position

2008-04-23 Thread Shane Petroff
Hello, How can I get the current caret position from a tr:inputText component over to some server side code? I have an action which is used to open a dialog, and at that point I want to grab the current caret position for use in the dialog's return listener. Googling 'java Trinidad caret

[Trinidad] Scrollable TreeTable

2008-04-23 Thread Shane Petroff
Hello, It was relatively easy to use a tr:panelBorderLayout 'wrapper' to get a scrollable tr:treeTable, but the result is not particularly satisfying. This approach allows column headings to scroll out of view, which is something I'd rather avoid. Is it possible to have the component itself

DebugResponseWriter _logDuplicateId and HtmlPanelTab

2008-03-28 Thread Shane Petroff
Hello all, I have an annoying problem with Trinidad and 'duplicate' ids. It doesn't seem to affect functionality, but if released into production, it would end up generating boatloads of useless log entries. Alternatively, it seems rather self defeating to try and add custom log settings to

[Trinidad] Difference between these 2

2008-03-11 Thread Shane Petroff
Can anyone tell me what the functional difference between these two snippets is (besides the fact that the java code version doesn't work) tr:inputText label=test declarative value=#{helloWorldBacking.sessionText}

Re: [Trinidad] Difference between these 2

2008-03-11 Thread Shane Petroff
Abhijit Ghosh wrote: Please try setAction(MethodBinding) Thanks, talk about obvious... OK, then the real reason for this is to figure out the PPR side. The normal declarative version works fine, but the programmatic one does not. To get to this state, I used the maven create archetype

Re: [Trinidad] Rendering Context

2008-03-05 Thread Shane Petroff
Henry Eduardo Iguaro wrote: I also had this problem before, Ugh... IDE's can make things too easy. Apparently I hadn't done a real 'clean' since downloading the latest trinidad jars. I had both the 1.0.5 and 1.0.6 jars under my target dir. Given how easy it is to invoke an ant task from

[Trinidad] Rendering Context

2008-03-04 Thread Shane Petroff
Hello, I have what seems to be a configuration problem. It doesn't seem to affect much (although it isn't the only issue I have at the moment, so I'm not sure), but it is unnerving to see in the trace. Mar 4, 2008 4:52:58 PM org.apache.myfaces.trinidad.context.RenderingContext attach

Re: [Trinidad] PPR and inputDate problems

2008-02-11 Thread Shane Petroff
::finalMarkField (at first I didn't notice that I'd lost one level of naming containers so I had 3 colons). I've also tried Andrew's subform and am using 2 inputText components in case the inputDate is the issue. No dice on all accounts. Shane On Feb 11, 2008 8:30 AM, Shane Petroff [EMAIL PROTECTED

Re: [Trinidad] PPR and inputDate problems

2008-02-10 Thread Shane Petroff
partialTriggers=::finalMarkForm:finalMarkField (one less colon). On Feb 8, 2008 4:26 PM, Shane Petroff [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Andrew Robinson wrote: I think I know your problem. It is a phase issue I'll take your word for it, but I guess the only thing I

Re: [Trinidad] PPR and inputDate problems

2008-02-08 Thread Shane Petroff
Matthias Wessendorf wrote: On Feb 8, 2008 6:03 AM, Shane Petroff [EMAIL PROTECTED] wrote: Any ideas why the partialTriggers aren't working? are you using tr:document OR trh:html/head/body tags ? They ensure all required CSS (Skinning) and JS files are sent down to the client. I'd go

Re: [Trinidad] PPR and inputDate problems

2008-02-08 Thread Shane Petroff
f:convertDateTime pattern=dd-MMM- timeZone=#{configBundle.TimeZone}/ /tr:inputDate /h:column /h:dataTable /h:panelGrid /h:form /body /tr:document /f:view On Feb 8, 2008 10:31 AM, Shane Petroff [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Matthias Wessendorf

Re: [Trinidad] PPR and inputDate problems

2008-02-08 Thread Shane Petroff
Matthias Wessendorf wrote: ah, I just noticed, that finalMarkField is inside a table (naming container). haven't read your code carefully, sorry. can you *try* partialTriggers=:::finalMarkField ? No joy... cleared the browser cache first, then dumped tomcat's cache, did a full build and

Re: [Trinidad] PPR and inputDate problems

2008-02-08 Thread Shane Petroff
. Surely I'm not the first person to try to use PPR/ValueChange on an editable table am I? On Feb 8, 2008 1:14 PM, Shane Petroff [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Andrew Robinson wrote: What trinidad build are you using? Trinidad 1.0.5, MyFaces Core 1.1.5

Re: [Trinidad] Config

2008-02-07 Thread Shane Petroff
/configuration.html Shane -M On Feb 7, 2008 6:35 PM, Shane Petroff [EMAIL PROTECTED] wrote: Hi, I have an existing Tomahawk based application, to which I wanted to add some new features. I wanted to start out with some basic Trinidad PPR, so I copied the configuration details from one of the Trinidad

[Trinidad] Config

2008-02-07 Thread Shane Petroff
Hi, I have an existing Tomahawk based application, to which I wanted to add some new features. I wanted to start out with some basic Trinidad PPR, so I copied the configuration details from one of the Trinidad hello-world examples, but I must have messed something up. (Trinidad 1.0.5,

Re: [Trinidad] PPR and inputDate problems

2008-02-07 Thread Shane Petroff
, - - Rafa On Feb 7, 2008 10:04 PM, Shane Petroff [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi, My first experiment with Trinidad hasn't gone too well. I wanted to test out a very simple ppr case, but cannot get it to work. I want to 'tie' two controls together via value

Re: File download and out of memory

2007-12-10 Thread Shane Petroff
documentation on converting over) Shane Shane Petroff wrote: Hello, I'm having a problem with a link used to download a large file. I say large in quotation because by modern standards, the 5MB file I'm talking about is tiny; I need to be able to handle at least 20MB. The same code works

File download and out of memory

2007-12-04 Thread Shane Petroff
Hello, I'm having a problem with a link used to download a large file. I say large in quotation because by modern standards, the 5MB file I'm talking about is tiny; I need to be able to handle at least 20MB. The same code works for small files (25K), but dies on larger ones. Hopefully it is a

Re: [Trinidad] Internet Explorer 5.5 ?

2007-09-06 Thread Shane Petroff
Stephen Friedrich wrote: Now I have two choices: I either fulfill this requirement or I try and pick a fight. devils_advocate And apparently, since everyone in your organization is equally lazy, the guidelines will stay fixed forever. :) /devils_advocate Seriously, if the link Andrew

Re: [Trinidad] Internet Explorer 5.5 ?

2007-09-06 Thread Shane Petroff
Nebinger, David wrote: I think you folks are being way to hard on this guy. Thus far 'folks' can only refer to me, since Andrew's comments related to Trinidad compatibility. I'm fine with your assessment though! :) It's really just a 'hot button' of mine. 'you need to upgrade', but they

Re: Dynamic tabs in panelTabbedPane

2007-08-27 Thread Shane Petroff
I don't know if it is doable with the declarative syntax via jsp/facelets, but it would be easy to use a parent panel's binding, then build your tabs in java code. Shane geirgp wrote: Hi, Is it possible for the panelTabbedPane to iterate over a java.util.List and create one tab for each

Re: does anyone use Spell Checker for JSF?

2007-07-17 Thread Shane Petroff
Wong, Emmanuel (Sam) wrote: Does anyone use any Spell checker for the JSF? Yes I tried to do a search and nothing much about using JSF with the spell checker. That is because there is nothing in the problem which is germane to JSF. Hell, all you have to do is use Firefox 2.x

Re: [Tobago] spell checker for textarea input exmaples?

2007-07-16 Thread Shane Petroff
Wong, Emmanuel (Sam) wrote: Does anyone tell me where I could get spell checker for implementing Tobago textarea input field? Thanks. I'm assuming that you've Googled it already and are asking because there are so many choices... While I don't use Tobago, there are tons of paid

Re: [Trinidad] Authorisation Authentication? (JAAS?)

2007-07-10 Thread Shane Petroff
Frank Nimphius wrote: Usually authorization is enforced on the business service layer and surfaces in the UI. If e.g. a user has a permission, JAAS or container managed, to update an attribute then this could/should be exposed in the UI through expression language, referencing a method on

Re: HtmlRendererUtils - There should always be a submitted value

2007-06-25 Thread Shane Petroff
Shane Petroff wrote: I actually have 2 classes of problems I can't figure out. The first is the one outlined in this email's subject MyFaces will complain about no submitted values. ... With the new UI, every *second* click of the student commandLink works. During the submits where

Re: HtmlRendererUtils - There should always be a submitted value

2007-06-18 Thread Shane Petroff
Mike Kienenberger wrote: binding=#{reportCardBean.mainPanel} What scope is reportCardBean? If the original component is lost, and you bind it to a new component (probably completely auto-generated, giving the _id* values that we saw before), then this would explain why the submitted form

Re: HtmlRendererUtils - There should always be a submitted value

2007-06-11 Thread Shane Petroff
). For now, I'm working under the rather baseless assumption that the 2 problems are interrelated. Thanks for your efforts so far. Shane On 6/8/07, Shane Petroff [EMAIL PROTECTED] wrote: Mike Kienenberger wrote: So the question is why does _id30 get translated to contentPanel_1153 and _id33

Re: HtmlRendererUtils - There should always be a submitted value

2007-06-11 Thread Shane Petroff
of virtual beer! Shane On 6/11/07, Shane Petroff [EMAIL PROTECTED] wrote: Mike Kienenberger wrote: I'm confused. That's good, at least I have some company! :) Clearly, something has changed from the time it was sent to the browser (generated html) and the time it was received from the browser

Re: HtmlRendererUtils - There should always be a submitted value

2007-06-11 Thread Shane Petroff
Shane Petroff wrote: Mike Kienenberger wrote: A) First request -- generated html created B) modify form, hit submit. Form values created. C) second request - component tree restored, form values matched with component tree ids. Please double and triple-check that the form values created in B

Re: HtmlRendererUtils - There should always be a submitted value

2007-06-09 Thread Shane Petroff
Shane Petroff wrote: At the point where the warning is logged, component.getClientId(FacesContext) doesn't return a value contained in the request parameter map. I think the warning is a big red herring. I don't even have the capacity to change the ClientID, so the fact

Re: HtmlRendererUtils - There should always be a submitted value

2007-06-08 Thread Shane Petroff
before the apply request values phase. (S) Make sure the rendered and/or disabled properties of components do not change after rendering and before the apply request values. -Andrew On 6/5/07, Shane Petroff [EMAIL PROTECTED] wrote: Mike Kienenberger wrote: I've also had it happen if the page changes

Re: HtmlRendererUtils - There should always be a submitted value

2007-06-08 Thread Shane Petroff
On 6/8/07, Shane Petroff [EMAIL PROTECTED] wrote: Mike Kienenberger wrote: Set a breakpoint on the line generating the error. Your first step is to determine which component value is missing from your form submit. According to the warning message, I can see that there are several text area

Re: HtmlRendererUtils - There should always be a submitted value

2007-06-08 Thread Shane Petroff
of the component and this issue crops up regardless of whether or not the spell check function is actually invoked) I don't see anything in the html which suggests a problem, but I'm not altogether sure what to look for. Shane On 6/8/07, Shane Petroff [EMAIL PROTECTED] wrote: Thanks

Re: HtmlRendererUtils - There should always be a submitted value

2007-06-08 Thread Shane Petroff
options, but the key is to verify that there is no value being submitted for your component, which is what the error message is claming. On 6/8/07, Shane Petroff [EMAIL PROTECTED] wrote: Mike Kienenberger wrote: If there's no such element, then you need to figure out why the element wasn't

Re: HtmlRendererUtils - There should always be a submitted value

2007-06-08 Thread Shane Petroff
return a value contained in the request parameter map. While that's good for me to know, I'm guessing you guys already knew that :) What could cause the mismatch? Thanks in advance. Shane On 6/8/07, Shane Petroff [EMAIL PROTECTED] wrote: Thanks for the suggestions, In reviewing

Re: HtmlRendererUtils - There should always be a submitted value

2007-06-08 Thread Shane Petroff
looks like: mainForm (explicitly named) contentPanel (explicitly named) Tab_1 (generated id) Panel_1 (generated id) editableAnecdotalComment548806536 (explicitly named - the numbers at the end refer to a db id) Shane On 6/8/07, Shane Petroff [EMAIL

Re: HtmlRendererUtils - There should always be a submitted value

2007-06-05 Thread Shane Petroff
...) I've hand nuked caches several times and tried executing on a different machine (Tomcat running on the localhost in both cases). Shane Same idea -- the expected submitted page elements do not match the actual submitted page elements. On 6/5/07, Shane Petroff [EMAIL PROTECTED] wrote: I am

Re: broken navigation

2007-05-18 Thread Shane Petroff
functionality; I have to get some other stuff done. Longer term, I guess I will have to strip everything out of this app to create a small test case. Thanks for listening. -- Shane ... On 5/16/07, *Shane Petroff* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Sorin Silaghi wrote: Can you

broken navigation

2007-05-15 Thread Shane Petroff
Hello all, I have somehow broken my application and can't figure out what I've done to cause it. Every h:commandLink in my app is currently broken and not only do I not know why, but I've spent several days working in an area of the application which is accessible by navigating via a

Re: DataTable with filtering option - presentation-wise

2007-05-08 Thread Shane Petroff
Gerald Müllan wrote: No, if you are working with the daily builds you got at least the newest one. The null-reference is really strange since filteringTable itself seems to work and it already uses the dojo.widget namespace. The problem arises as soon as you embed the filterTable within an

Re: DataTable with filtering option - presentation-wise

2007-05-07 Thread Shane Petroff
versions? Thanks for your help. -- Shane cheers, Gerald On 5/4/07, Shane Petroff [EMAIL PROTECTED] wrote: 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

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

Re: DataTable with filtering option - presentation-wise

2007-05-03 Thread Shane Petroff
Gerald Müllan wrote: have you considered to use s:filterTable from sandbox? ... http://example.irian.at/example-sandbox-20070502/filterTable.jsf (derailing the thread slightly) Thanks for the reference, but I would love some help to get FilterTable working. I've copied/pasted the example

Re: Convert, skip validation and update model?

2007-04-10 Thread Shane Petroff
the time. Shane On 4/9/07, Shane Petroff [EMAIL PROTECTED] wrote: Marko Asplund wrote: The system i'm working on acts as an end-user front to a back-end reporting server. Is this a product, or something 'in house'? I've got a couple of similar systems, and hate them both. If you intend to sell

Re: Convert, skip validation and update model?

2007-04-09 Thread Shane Petroff
Marko Asplund wrote: The system i'm working on acts as an end-user front to a back-end reporting server. Is this a product, or something 'in house'? I've got a couple of similar systems, and hate them both. If you intend to sell it as a product, it may make more sense for me to buy rather

OT: Contractor

2007-03-29 Thread Shane Petroff
Apologies up front for the off topic post. Do any of you guys do any moonlighting? I need to write a small CRUD module but won't have any time to spend on it for some months. I was thinking that I could get the job knocked off, and get a handle on some best practices by farming it out to

jscookMenu

2007-02-26 Thread Shane Petroff
Hello, I'm having two seemingly very strange problems with the jscookMenu component. The first problem relates to navigation. I embedded a jscMenu inside a dataTable to act as something comparable to a right-click menu on a rich application. The menu works sort of the way one might expect,