[TRINIDAD] Eclipse/Ganymede has visual page editing support for Trinidad

2008-07-15 Thread Danny Robinson
All, I searched back on the forums and there seems to be no mention of this, but yesterday I came across an optional plug-in that brings visual editing, component palette and property editing for Trinidad components to the standard Web Page Editor in Eclipse 3.4 Ganymede release for JavaEE

Re: [Trinidad] Is it possible to PPR the tr:document?

2008-02-25 Thread Danny Robinson
Andrew, Any chance you could share a how-to on this - or at least some tips. It's something we've seen in past projects also. Thanks, Danny On Sun, Feb 24, 2008 at 11:13 PM, Andrew Robinson [EMAIL PROTECTED] wrote: Ignore this thread Sorry, as long as the UIView root is not re-used the

Loading View(.xhtml) from Classpath

2008-02-20 Thread Danny Robinson
Does anyone know if it is possible to load .xhtml files from a jar using Facelets? If not, what would be required to do this, including ensuring that facelets templating still works OK? I know this belongs on the Facelets list - but the facelets site is running sooo slow for me today. D.

Re: Antwort: AW: Antwort: [Trinidad] Panel Popup not working correctly in tr:table?

2007-12-06 Thread Danny Robinson
This is already possible in the latest release - but you need to configure lightweight dialogs by setting the web.xml param. org.apache.myfaces.trinidad.ENABLE_LIGHTWEIGHT_DIALOGS=true On Dec 6, 2007 9:36 AM, Döring Markus [EMAIL PROTECTED] wrote: Thanks a lot, that helps. I've read that

Re: [Announce] Release of Apache MyFaces Trinidad 1.0.3

2007-10-01 Thread Danny Robinson
If you used daily builds of 1.0.3 prior to the release, then you have to clear your browser cache. For others who are moving from earlier releases 1.0.1/1.0.2, then they won't have a problem as the .js filename changes with each release. On 10/1/07, Stephen Friedrich [EMAIL PROTECTED] wrote: I

[TRINIDAD] Building a dynamic tr:panelTabbed

2007-09-26 Thread Danny Robinson
Posting on behalf of a collegue: I need an example of how to build a PanelTabbed component with a dynamic number of ShowDetailItem(s) using the API's. Any examples you may have on how to do this in a managed bean would be greatly appreciated. His attempts to do this using iteration style tags

Re: [Trinidad] panelPopup: how to avoid full page refreshing

2007-09-25 Thread Danny Robinson
Renzo, Do you have a small test-case you can post, you certainly should be able to use PPR inside a model panelPopup. Although it may be a better option to use lightweight dialogs for what you're suggesting. Danny On 9/25/07, Renzo Tomaselli [EMAIL PROTECTED] wrote: Hi, I'm using

Re: Is Trinidad-PPR using iframe or XMLHttpRequest ?

2007-09-25 Thread Danny Robinson
XMLHttpRequest since 1.0.2, iframe prior to that. On 9/25/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi! Just a short question: Does the Trinidad-PPR-Feature use iframe or XMLHttpRequest? Thanks, Hij -- Chordiant Software Inc. www.chordiant.com

Re: [Trinidad] autosubmit of row selection

2007-09-20 Thread Danny Robinson
Paul, This was fixed a while ago, although not certain which build you are using. https://issues.apache.org/jira/browse/TRINIDAD-376 https://issues.apache.org/jira/browse/TRINIDAD-364 Regards, Danny On 9/20/07, Paul Mander [EMAIL PROTECTED] wrote: I require to perform an action when the

Re: [Trinidad] panelPopup in 1.0.3 SNAPSHOT

2007-09-12 Thread Danny Robinson
I noticed the style attributes were not being output as they should a few days ago. I've put a fix together, just wanted to test a few other bits. Certainly triggerStyle was totally unecessary. I'll make the necessary tweaks as per Adam's suggestions. The original reason for 3 divs was to keep

Re: [Trinidad] IE rendering issues.

2007-09-11 Thread Danny Robinson
Darren That's a known reported (sorry I don't have the issue number to hand) issue that we hope to fix very soon. Check the archives for possible workarounds. Danny On 9/11/07, Darren McEntee [EMAIL PROTECTED] wrote: Hi, I have some issues with rendering input fields in IE when they have

Re: [Trinidad] modal panel popup demo non closing

2007-09-10 Thread Danny Robinson
Renzo, This seems to be fixed in the latest trunk. Would you be able to upgrade and verify also? Thanks, Danny On 9/10/07, Renzo Tomaselli [EMAIL PROTECTED] wrote: Hi, I was trying the panelPopup demo from http://www.irian.at/trinidad-demo/faces/components/panelPopup.jspx, as linked from

Re: [Trinidad] Question regarding client-side validation and tr:form defaultCommand

2007-09-06 Thread Danny Robinson
Vadim, This is definately an oversight. We'll need to add some calls to the c/s validation into this method. Looking at the javascript I don't think this even happens for the older ALERT based validation, let alone the newer INLINE version. Can you raise an JIRA bug and we'll get this fixed

Re: [Trinidad] Warning: Illegal HTML... should be reported?

2007-09-06 Thread Danny Robinson
If you can supply the source page snippet and the rendered output we should be able to figure out if there's a problem to report. Thx, Danny On 9/6/07, Vadim Dmitriev [EMAIL PROTECTED] wrote: Hi. I was making up yet another page when noticed that when i open it in the browser about 10-15

Re: trinidad outputFormat and f:param support

2007-09-04 Thread Danny Robinson
Should we look at providing this variable replacement functionality into outputText. Although I'm against just parsing the text by default, as this would just add unnecessary parsing in 99% of the cases. Should we instead look at an extra attribute that forces parsing of the string for variable

Re: [TRINIDAD] Proposal - fieldset/legend component

2007-09-04 Thread Danny Robinson
as well. ~ Simon On 8/30/07, Danny Robinson [EMAIL PROTECTED] wrote: I knocked together this component to see what it would look like and what skin selectors would be required. Here's some tag examples and an attached screenshot. FWIW while Simon's name suggestion was better, I'm

Re: [TRINIDAD] Proposal - fieldset/legend component

2007-09-04 Thread Danny Robinson
the Layout suffix is fine with me. I like the attribute shortcut for the legend as well. ~ Simon On 8/30/07, Danny Robinson [EMAIL PROTECTED] wrote: I knocked together this component to see what it would look like and what skin selectors would be required. Here's some tag

Re: [Trinidad] force reload and add message for partial update request and view has expired?

2007-09-04 Thread Danny Robinson
Andrew, Can you provide an example of what you've done in your custom VH? Thanks, Danny On 9/4/07, Andrew Robinson [EMAIL PROTECTED] wrote: Okay thanks, I already have my own custom view handler, so I should be able to handle the problem in it. I haven't switched to 1.2 yet as I don't yet

Re: [Trinidad] tr:messages renderer?

2007-09-04 Thread Danny Robinson
org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.MessageBoxRenderer skin docs are up-to-date for this component http://myfaces.apache.org/trinidad/skin-selectors.html On 9/4/07, Andrew Robinson [EMAIL PROTECTED] wrote: Sorry to be obtuse, but I am having difficulty finding the code

Re: [Trinidad] Client-side validation of conditionally disabled inputText

2007-08-30 Thread Danny Robinson
Which version of Trinidad? On 8/30/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi! I have some problem with client-side validation (CSV) of conditionally disabled field marked as required. Let's say that there is some inputText: tr:inputText disabled=#{bean.disabled} required=true /

Re: [TRINIDAD] Proposal - fieldset/legend component

2007-08-30 Thread Danny Robinson
of tr:panelFieldSetLayout with a legend facet. Regards, ~ Simon On 8/29/07, Danny Robinson [EMAIL PROTECTED] wrote: Would there be interest in a skinnable/ajaxified component that rendered output using html fieldset/legend. We'd like to include this in our applications and I'm keen to keep

[TRINIDAD] Proposal - fieldset/legend component

2007-08-29 Thread Danny Robinson
Would there be interest in a skinnable/ajaxified component that rendered output using html fieldset/legend. We'd like to include this in our applications and I'm keen to keep our users away from introducing other component libraries just for the odd extra component. I'm struggling to think of a

Re: trinidad outputFormat and f:param support

2007-08-29 Thread Danny Robinson
Paul, I'm confused as to what that would give you over using something like: tr:outputFormatted value=Hello #{propsFile.world} Can you provide a more complex example. Danny On 8/29/07, Paul Mander [EMAIL PROTECTED] wrote: I'm having trouble getting variable substitution to work with any of

[TRINIDAD] - IMPORTANT - Custom Skin Developers

2007-08-28 Thread Danny Robinson
In the hope of pre-empting some emails, be aware that the trunk has switched to now use the following config setting for disabling skin compression. org.apache.myfaces.trinidadinternal.DISABLE_CONTENT_COMPRESSION became org.apache.myfaces.trinidad.DISABLE_CONTENT_COMPRESSION The docs and release

Re: [Trinidad] Looking for client-side partial page validation

2007-08-28 Thread Danny Robinson
I think your issue is mixing components outside of the subform. Instead, just use multiple subforms. Try something like this, which works fine for me. : tr:document tr:messages/ tr:form tr:subform tr:inputText required=true label=Sub 1:/ tr:commandButton

Re: [Trinidad] iframe popup skinning

2007-08-22 Thread Danny Robinson
Found it. It's because the client-side style map isn't initialized by inputDate, but it is by using a dialog, so once you open a dialog, then inputDate works. The fix needs some thought as inputDate launches the popup via _ldp() and not via the dialog framework and hence doesn't have a place

Re: [Trinidad] Skinnning dev guide now available!

2007-08-22 Thread Danny Robinson
Looks great Jeanne, much needed. Next step if for us to get the skin selectors reference page back up-to-date and linked into the docs. On 8/22/07, Matt Cooper [EMAIL PROTECTED] wrote: Hi Jeanne, This looks great! Do you think we need to call out that *-tr-inhibit* will only perform

Re: [Trinidad] Programmatically get a style from the skin

2007-08-21 Thread Danny Robinson
The Trinidad renderers usually just call: renderStyleClass(context, arc, styleClass); If you want to do this from a non-Trinidad component, then you could call RenderingContext arc = RenderingContext.getCurrentInstance(); String style = arc.getStyleClass(styleClass); where styleClass would

Re: [Trinidad] customizing converter messages

2007-08-21 Thread Danny Robinson
Use tr:convertNumber maxFractionDigits=2 minFractionDigits=2 type=number messageDetailConvertNumber=My custom message / as an example, but there are 3 other messageDetail... attributes for different conversion types supported by tr:convertNumber. On 8/21/07, Darren McEntee [EMAIL PROTECTED]

Re: Action not working in jspx page

2007-08-13 Thread Danny Robinson
Try removing the html and body tags from your code, they are auto generated through the use of tr:document. Danny On 8/13/07, Bandaru [EMAIL PROTECTED] wrote: Hi, I'm configuring Trinidad in Jdeveloper 10g, evering is getting fine but the actions in the page are not working

Re: [Trinidad] executing js during PPR

2007-08-09 Thread Danny Robinson
of semantics, but I would expect the same rendering behavior as for full page rendering. I mean js should execute during PPR if part of a target. Why an included script shouldn't get executed at all in IE ? Is this part of Ajax specs (if any) to update dom but not to run js ? -- Renzo Danny

Re: [Trinidad] executing js during PPR

2007-08-09 Thread Danny Robinson
dynamically load any JS libraries that are rendered out - script src=/ will turn into a subsequent AJAX request for that script library, and its execution, unless the library is already loaded on the browser. -- Adam On 8/9/07, Danny Robinson [EMAIL PROTECTED] [EMAIL PROTECTED] wrote

Re: [Trinidad] popupPanel -- onmouseover, onmouseout, timed close support

2007-08-09 Thread Danny Robinson
I've already implemented the hover functionality, but I'm waiting on 1.0.2release before committing it into 1.0.3. I hadn't thought of your second point, but that would be really great feature. I'll give this some thought and see what we can come up with. On the skinning front for the 'X', you

Re: [Trinidad] PPR from table cells failure

2007-08-08 Thread Danny Robinson
Sandeep, That's one way, but a bit overly complex. Here's the easy way: tr:table idaTable ... tr:column tr:commandLink id=suggester partialSubmit=true... ... /tr:table tr:selectOneListbox id=suggestion partialTriggers=aTable:suggester Regards, Danny On 8/8/07, sandeep

Re: [Trinidad] PPR from table cells failure

2007-08-08 Thread Danny Robinson
need to have command links for all. How do I determine the id for all of them? Thanks. ~Sandeep From: Danny Robinson [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 08, 2007 6:14 PM To: MyFaces Discussion Subject: Re: [Trinidad] PPR from table

Re: Integrate Trinidad and Tiles

2007-08-08 Thread Danny Robinson
Honestly? Use facelets instead, it's much more Faces friendly and has a few little extras also, like turning page snippets into components. On 8/8/07, pdt_p [EMAIL PROTECTED] wrote: Hi I just wonder how to integrate Trinidad with Tiles? I try to search in this forum and in the net but

Re: Trinidad Migration to 1.0.1

2007-08-07 Thread Danny Robinson
Could one of the guys who found this problem create a JIRA issue so we don't loose track. On 8/6/07, Danny Robinson [EMAIL PROTECTED] wrote: Good question. Did a quick test and it's the style, but it's not that easy looking at the code!!! The MessageRenderer isn't the simplest piece of code

Re: [Trinidad] selectOneChoice - changing other component properties

2007-08-07 Thread Danny Robinson
tr:inputXyz partialTriggers=checker disabled=#{ aBean.someBooleanThatWasUpdatedByYourChoice}.../ On 8/7/07, Darren McEntee [EMAIL PROTECTED] wrote: Thanks Matthias, Just wondering how the other components properties are accessed/changed in the bean, presumable by their ID? Is there

Re: Trinidad Migration to 1.0.1

2007-08-07 Thread Danny Robinson
with something like: .OraInlineInfoText { -tr-inhibit: display; } -- Adam On 8/6/07, Danny Robinson [EMAIL PROTECTED] wrote: Good question. Did a quick test and it's the style, but it's not that easy looking at the code!!! The MessageRenderer isn't the simplest piece of code

Re: Trinidad Migration to 1.0.1

2007-08-06 Thread Danny Robinson
I can see it also. Not tracked this down in the renderer, but just saved the output html and played with it. Would seem to be related to the outer SPAN inside the DIV that renders under each input field. DIV class=af_panelFormLayout_message-cell style=DISPLAY: none!--Start:

Re: Trinidad Migration to 1.0.1

2007-08-06 Thread Danny Robinson
: Is it the span, or the OraInlineInfoText style that's to blame? -- Adam On 8/6/07, Danny Robinson [EMAIL PROTECTED] wrote: I can see it also. Not tracked this down in the renderer, but just saved the output html and played with it. Would seem to be related to the outer SPAN inside the DIV

Re: Client validation configuration

2007-07-27 Thread Danny Robinson
Which version of Trinidad are you using, as client-validation=INLINE was only available in 1.0.1 onwards. On 7/27/07, Balaji Phani Krishna Annangi [EMAIL PROTECTED] wrote: Hi Everyone, I am trying to configure the client side validation [inline/disabled/alert] of UI components. But no

[Trinidad] Dialogs - Launch Close Hooks

2007-07-27 Thread Danny Robinson
Guys, We have a requirement in an application where we need to detect when a modal lightweight dialog is launched and when it is closed. We basically need to execute some javascript before and after the dialog to cause other areas of our application. I could see adding some javascript to the

Re: [Trinidad] Dialogs - Launch Close Hooks

2007-07-27 Thread Danny Robinson
PROTECTED] wrote: Out of curiosity, what is it you're trying to do when launching and closing? (If it's a UI effect, it might be generically useful.) -- Adam On 7/27/07, Danny Robinson [EMAIL PROTECTED] wrote: Guys, We have a requirement in an application where we need to detect when

Re: tab index in trinidad component

2007-07-12 Thread Danny Robinson
Vergil, Unfortunately we don't have this attribute currently, so there's no easy way to control tab ordering. However, this issue keeps coming back around every few months, so I've created a new issue to add this attribute. https://issues.apache.org/jira/browse/TRINIDAD-100 Danny On 7/12/07,

Re: [Trinidad] tr:inputText / Submit PPR On Enter

2007-07-12 Thread Danny Robinson
Until then, you could call your own function in onkeyup that checked for Enter key being hit, and caused a hidden commandButton (one per inputText that needed this feature) to be pressed which would perform the PPR. You'd likely not be able to easily use defaultCommand with this solution though.

Re: [Trinidad] tr:inputText required=true silently blocks submission

2007-07-11 Thread Danny Robinson
/10/07, Danny Robinson [EMAIL PROTECTED] wrote: I'm currently moving the tr:messages code from the old 'laf' package into org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.MessageBoxRenderer (extends XhtmlRenderer) unless someone tells me otherwise. Sounds great! Once working, we can

Re: [Trinidad] tr:inputText required=true silently blocks submission

2007-07-10 Thread Danny Robinson
I'm currently moving the tr:messages code from the old 'laf' package into org.apache.myfaces.trinidadinternal.renderkit.core.xhtml.MessageBoxRenderer(extends XhtmlRenderer) unless someone tells me otherwise. Once working, we can factor this into the inline validation so messages are also posted

Re: [Trinidad] Skinning from a war file

2007-06-27 Thread Danny Robinson
Did you try an absolute path to your css file (e.g. /resources or /WEB-INF/./resources). Danny On 6/27/07, Francisco Passos [EMAIL PROTECTED] wrote: I'm using a skin perfectly when the application is expanded. However when I generate a war file the skin isn't used for rendering... here's

Re: Partial Page Rendering issue with Trinidad

2007-06-22 Thread Danny Robinson
Mladen, Are you able to see PPR working correctly in the trinidad-demo? There's an example under the features section. Danny On 6/22/07, Mladen Nisevic [EMAIL PROTECTED] wrote: Thanks for such a quick reply. I am using trinidad-impl-1.0.0-incubating as I thought that was the latest stable

Re: Partial Page Rendering issue with Trinidad

2007-06-22 Thread Danny Robinson
Just updated Matthias' old build steps http://wiki.apache.org/myfaces/Building_Trinidad_With_Maven On 6/22/07, Safurudin Mahic [EMAIL PROTECTED] wrote: The trunk is located at https://svn.apache.org/repos/asf/myfaces/trinidad/trunk If you are using windows, you could use the excellent

Re: [Trinidad] m1-incubating - 1.0.1 SNAPSHOT changes

2007-05-24 Thread Danny Robinson
_validateAlert is not defined Clear your browser cache. On 5/24/07, Luka Surija [EMAIL PROTECTED] wrote: I've just tryed to switch from trinidad-xxx-incubator-m1-SNAPSHOT.jar to trinidad-xxx-1.0.1-SNAPSHOT.jar but my web app doesn't working any more (clicking on links nothing happends). I

Re: [Trinidad] _validateAlert is not defined

2007-05-24 Thread Danny Robinson
} /tr:inputText tr:commandButton action=logging text=Logging / /tr:form /tr:document /ui:composition / jsp:root -- *Von:* Danny Robinson [mailto:[EMAIL PROTECTED] *Gesendet:* Mittwoch, 23. Mai 2007 23:23 *An:* MyFaces Discussion *Betreff:* Re: [Trinidad] _validateAlert

Re: [Trinidad] _validateAlert is not defined

2007-05-23 Thread Danny Robinson
Michael, This method was modified a few days ago, so it sounds like your browser cache needs to re-read the javascript. Did you clear it? Danny On 5/23/07, Michael Trompertz [EMAIL PROTECTED] wrote: Hello After switching from trinidad-1.0.1-incubating-SNAPSHOT to trinidad-1.0.1-SNAPSHOT I

Re: [Trinidad] How to add a custom JavaScript resource script

2007-05-23 Thread Danny Robinson
, Will -Original Message- *From:* Danny Robinson [mailto:[EMAIL PROTECTED] *Sent:* Wednesday, May 23, 2007 10:12 AM *To:* MyFaces Discussion *Subject:* Re: [Trinidad] How to add a custom JavaScript resource script The simplest route I found was the following: Copy your YourScript.js to META-INF/adf

Re: [Trinidad] _validateAlert is not defined

2007-05-23 Thread Danny Robinson
did not have any idea. At least the DoSubmit variable is set to false. All my required fields has values. It seems that it has something to with the required=true attribute. Michael -- *Von:* Danny Robinson [mailto:[EMAIL PROTECTED] *Gesendet:* Mittwoch, 23. Mai 2007