[Tobag] and Mac OS 9 problem

2008-06-10 Thread Michał 'Gandalf' Stawicki
Hi, Tobago doesn't seem to work neither on netscape, nor on IE on Mac OS 9. The problem is javascript... There is also no release of firefox for this system. Mozilla recommends iCab, but there are still some JS errors that render my application unusable. Did someone manage to get Tobago running

[Tobago] ui:repeat and tc:gridLayout

2008-02-29 Thread Michał 'Gandalf' Stawicki
Hello, I have a problem with ui:repeat. If I place it like this: tc:panel ui:repeat / /tc:panel it works OK, but the layout gets broken (unless in parent I fix enough space, like 300px). If I use it like this: tc:panel f:facet name=layout tc:gridLayout ... / /f:facet ui:repeat /

Re: [Tobago] tx:date and onchange

2007-12-17 Thread Michał 'Gandalf' Stawicki
' or something else. Regards Bernd Michał 'Gandalf' Stawicki schrieb: hello, I wish to launch some action upon selecting date from datapicker. I have already tried setting onchange attribute, facet onchange and adding onchange event to date's input field. All of this have failed. Does

[Tobago] tx:date and onchange

2007-12-14 Thread Michał 'Gandalf' Stawicki
hello, I wish to launch some action upon selecting date from datapicker. I have already tried setting onchange attribute, facet onchange and adding onchange event to date's input field. All of this have failed. Does anyone know how to achieve this? regards, michael

Re: JSF and recursion

2007-10-12 Thread Michał 'Gandalf' Stawicki
-Original Message- From: Michał 'Gandalf' Stawicki [mailto:[EMAIL PROTECTED] Sent: Thursday, October 11, 2007 11:11 AM To: MyFaces Discussion Subject: JSF and recursion How are you guys handling recursion on JSF pages? I have a use case, where I have a panel with some data, and one

JSF and recursion

2007-10-11 Thread Michał 'Gandalf' Stawicki
How are you guys handling recursion on JSF pages? I have a use case, where I have a panel with some data, and one of it's elements is 'itself', and so on. Is there any good-practice how to render this on page? regards, michał

[Tobago] TabGroup transition possible?

2007-09-26 Thread Michał 'Gandalf' Stawicki
hi, is it possible to get a transition effect upon switching tabs in tabgroup? I'm using server-side switching. regards, michal

Re: Display a page in between the normal navigation

2007-09-09 Thread Michał 'Gandalf' Stawicki
I think you could use PhaseListener and some bean to store state info you need. On 08/09/2007, venu59 [EMAIL PROTECTED] wrote: Hi, I have two pages - page1.jsp and page2.jsp. I have configured the navigation rule in my faces-config in such a way that success outcome from doMyAction()

Re: EL in component attribute

2007-08-19 Thread Michał 'Gandalf' Stawicki
Disregard this, just copied code from other component. On 19/08/07, Michał 'Gandalf' Stawicki [EMAIL PROTECTED] wrote: I have modified the s:pickList component so one could set the add / remove button text. It works fine. Now, I would like to be able to put some EL in the attributes. What

Re: Remove Entry from schedule Tomahawk

2007-08-18 Thread Michał 'Gandalf' Stawicki
for all you are doing! Michał 'Gandalf' Stawicki wrote: Right, it was fubar'ed, SimpleScheduleModel wasn't meant for extending :) This works - you use like you tried at the beginning - create entry, set id and you can remove it. BTW: I think your bean should be session, not request

Re: Remove Entry from schedule Tomahawk

2007-08-18 Thread Michał 'Gandalf' Stawicki
); sss.addEntry(entry); sss.refresh(); blank page... Any sujection? Tks for all you are doing! Michał 'Gandalf' Stawicki wrote: Right, it was fubar'ed, SimpleScheduleModel wasn't meant for extending :) This works - you use like you tried at the beginning

Re: Remove Entry from schedule Tomahawk

2007-08-18 Thread Michał 'Gandalf' Stawicki
page!! i dont know what could be rong here!! Michał 'Gandalf' Stawicki wrote: http://www.mail-archive.com/users@myfaces.apache.org/msg41756.html You copied whole class from this post and it still doesn't work? Worked for me. On 18/08/07, ignicolist [EMAIL PROTECTED] wrote

EL in component attribute

2007-08-18 Thread Michał 'Gandalf' Stawicki
I have modified the s:pickList component so one could set the add / remove button text. It works fine. Now, I would like to be able to put some EL in the attributes. What is the proper approach for this? Could anyone point some clean example? regards, michał -- Michał Stawicki [EMAIL

Re: t:pprPanelGroup

2007-08-17 Thread Michał 'Gandalf' Stawicki
. Once that is solved we will address the issue you have. I hope we will be able to do so before the next release. best wishes Ernst On 8/14/07, Michał 'Gandalf' Stawicki [EMAIL PROTECTED] wrote: As a workaround I always render button2, but set it's inline style to 'display: block

Re: Remove Entry from schedule Tomahawk

2007-08-17 Thread Michał 'Gandalf' Stawicki
I believe you have to pass exact reference to object that was added to schedule, not some other object containing same data, example: ScheduleEntry foo = new MyScheduleEntry(bar); ScheduleEntry foo2 = new MyScheduleEntry(bar); model.addEntry(foo); model.removeEntry(foo2); // wrong

Re: Remove Entry from schedule Tomahawk

2007-08-17 Thread Michał 'Gandalf' Stawicki
)) { entry = e; break; } } if(entry != null) { entries.remove(entry); return true; } return false; } On 17/08/07, Michał 'Gandalf' Stawicki [EMAIL PROTECTED] wrote: I believe you have to pass exact reference to object that was added to schedule, not some other object containing same data, example

Re: Remove Entry from schedule Tomahawk

2007-08-17 Thread Michał 'Gandalf' Stawicki
I wrote the code in 'on the fly' just to give you idea how should it look, I didn't try it On 17/08/07, Michał 'Gandalf' Stawicki [EMAIL PROTECTED] wrote: Simply casting it should be fine: for(ScheduleEntry e : (TreeSetScheduleEntry)entries) On 17/08/07, ignicolist [EMAIL PROTECTED] wrote

Re: Remove Entry from schedule Tomahawk

2007-08-17 Thread Michał 'Gandalf' Stawicki
to ScheduleEntry Any idea? Michał 'Gandalf' Stawicki wrote: From SimpleScheduleModel.java /** * Remove an entry from the model. * * @param entry *the entry to remove */ public void removeEntry(ScheduleEntry entry

Re: Remove Entry from schedule Tomahawk

2007-08-17 Thread Michał 'Gandalf' Stawicki
to create that class in the component Schedule or in my aplication? Because i create the class in my aplication and don´t work. Dam this is so complicated... Michał 'Gandalf' Stawicki wrote: I wrote the code in 'on the fly' just to give you idea how should it look, I didn't try

Re: Remove Entry from schedule Tomahawk

2007-08-17 Thread Michał 'Gandalf' Stawicki
why the blank page? if i put thouse two code lines in comments dont have the blank page, so the problem is the class! :-(( Michał 'Gandalf' Stawicki wrote: Try this, remember to set valid package: #SET ME package #SET ME import java.util.TreeSet; import

Re: t:pprPanelGroup

2007-08-14 Thread Michał 'Gandalf' Stawicki
As a workaround I always render button2, but set it's inline style to 'display: block' or 'display: none'. On 14/08/07, Michał 'Gandalf' Stawicki [EMAIL PROTECTED] wrote: I have a button1 and button2 inside pprPanelGroup. button1 is always visible and visibility of button2 is toggled by button1

Re: SelectManyCheckBox

2007-08-13 Thread Michał 'Gandalf' Stawicki
And the code for #{listManager.propertyTypeList} ?

t:pprPanelGroup

2007-08-13 Thread Michał 'Gandalf' Stawicki
I have a button1 and button2 inside pprPanelGroup. button1 is always visible and visibility of button2 is toggled by button1. I want button2 to be also capable of doing partial rendering. After pressing button1 the button2 gets rendered, but the scripts for PPR don;'t get called for it, thus

Re: JSF unrendered comments

2007-08-09 Thread Michał 'Gandalf' Stawicki
And why can't you use %-- --% ? On 09/08/07, Cormier, Matthieu [EMAIL PROTECTED] wrote: Hello all, In JSP comments could be written with %-- --% and they would not be rendered to the browser. I cannot find anything equivalent for JSF. Is there? The only solution I can think of

Re: HTML embedded on a f:view

2007-08-09 Thread Michał 'Gandalf' Stawicki
Maybe someting like: h:commandLink onclick=...;return true h:graphicImage ... / /h:commandLink ? On 09/08/07, Mike Kienenberger [EMAIL PROTECTED] wrote: If you're using JSF 1.1 and JSP, then you'd need to use f:verbatim, probably with a CDATA. If you're using either facelets or JSF 1.2,

Re: tc:in required sign and JS value update

2007-08-08 Thread Michał 'Gandalf' Stawicki
Helmut - Original Message - From: Michał 'Gandalf' Stawicki [EMAIL PROTECTED] To: MyFaces Discussion users@myfaces.apache.org Sent: Wednesday, August 08, 2007 1:53 PM Subject: tc:in required sign and JS value update This might sound lame, but if I have an empty required field

Re: JSF Authentication

2007-08-08 Thread Michał 'Gandalf' Stawicki
Write a bean to store login info and use PhaseListener to check if user is logged in if he wants to access pages that need hi to be logged in, and redirect to login page if he is not. there were some good articles describing this approach. unfortunately I can't share my code. On 08/08/07,

Re: Changing the NAMING_SEPARATOR to avoid CSS problems.

2007-08-07 Thread Michał 'Gandalf' Stawicki
use can escape : in CSS: #overview\:element On 07/08/07, Simon Lessard [EMAIL PROTECTED] wrote: The main one is probably the risk to cause a name clash with user defined ids. On 8/7/07, Bryan Basham [EMAIL PROTECTED] wrote: Hello, There is a well-known problem with JSF's choice of

Re: Using c:forEach in MyFaces 1.2

2007-08-06 Thread Michał 'Gandalf' Stawicki
In JSF1.1 you had to resolve variable Bean1 before actually using it in c:forEach. Don't know how does it work in 1.2 Maybe that's the problem On 07/08/07, java questions [EMAIL PROTECTED] wrote: Hi, I'm trying to use the c:forEach tag in a JSF page: %@ taglib uri=

Re: Schedule tomahawk

2007-08-02 Thread Michał 'Gandalf' Stawicki
- fetch data from DB - create ScheduleEntry - add it to Schedule. eg: ListSomeClass result = session.createQuery(from Schedule).list(); for(SomeClass sc : result) { ScheduleEntry e = new DefaultScheduleEntry(); e.setStartTime(sc.getStartTime()); e.setEndTime(...);

Re: Schedule tomahawk

2007-08-02 Thread Michał 'Gandalf' Stawicki
SomeClass is your Entity-bean class returned by hibernate or whatever you're using. On 02/08/07, ignicolist [EMAIL PROTECTED] wrote: Tks, but what is supose to put in SomeClass ? Sorry for dumb question! but i am new to this! Tks for all help. Michał 'Gandalf' Stawicki wrote

Re: tc:in and autocomplete=off

2007-07-27 Thread Michał 'Gandalf' Stawicki
Thanks On 27/07/07, Volker Weber [EMAIL PROTECTED] wrote: Hi Michał, if you add the suggestMethod attribute you get autocomplete=off as sideeffect. You can just return an empty list to aviod the selections. Regards, Volker 2007/7/27, Michał 'Gandalf' Stawicki [EMAIL PROTECTED

tc:in and autocomplete=off

2007-07-27 Thread Michał 'Gandalf' Stawicki
Is there a way to set autocomplete=off attribute for input field generated by tc:in ? regards, michał stawicki -- Michał Stawicki [EMAIL PROTECTED] http://stawicki.jasliska.pl

Re: Instantiate a backing bean from other

2007-07-26 Thread Michał 'Gandalf' Stawicki
Use spring, forget about faces managed-beans ;) On 26/07/07, Simon Lessard [EMAIL PROTECTED] wrote: Hello, It depends on the use case: 1. If the bean needing the information for the other is request scoped, the info is always needed and is unlikely to change over the request lifecycle, using

Re: t:schedule patch

2007-07-25 Thread Michał 'Gandalf' Stawicki
, Gus Michał 'Gandalf' Stawicki wrote: I have uploaded a patch that enables control of splitting in week view as well On 19/07/07, Michał 'Gandalf' Stawicki [EMAIL PROTECTED] wrote: I have modified the schedule, so now it can display weekends not compressed in the month view: https

Re: t:schedule patch

2007-07-24 Thread Michał 'Gandalf' Stawicki
I have uploaded a patch that enables control of splitting in week view as well On 19/07/07, Michał 'Gandalf' Stawicki [EMAIL PROTECTED] wrote: I have modified the schedule, so now it can display weekends not compressed in the month view: https://issues.apache.org/jira/browse/TOMAHAWK-577

Re: [tree2] expand folder by clickling on folder name

2007-07-23 Thread Michał 'Gandalf' Stawicki
. Is there a way to do this using javascript, without having to contact the server. Since +/- seems not to contact the server, but open it using javascript. Michał 'Gandalf' Stawicki wrote: f:facet name=objectProperties t:commandLink

t:schedule patch

2007-07-19 Thread Michał 'Gandalf' Stawicki
I have modified the schedule, so now it can display weekends not compressed in the month view: https://issues.apache.org/jira/browse/TOMAHAWK-577 if anyone would like to test it, let me know if everything works fine regards, -- Michał Stawicki [EMAIL PROTECTED] http://stawicki.jasliska.pl

Re: [Trinidad] trinidad libraries in Netbeans

2007-07-19 Thread Michał 'Gandalf' Stawicki
I think that you can't add components to DD in NetBeans. On 19/07/07, Darren McEntee [EMAIL PROTECTED] wrote: Hi, Has anyone tried to use the Trinidad libraries in Netbeans or Sun Studio Creator? We have Netbeans 5.5 with the visual web pack installed. We're creating a JSF web

Re: [tree2] expand folder by clickling on folder name

2007-07-19 Thread Michał 'Gandalf' Stawicki
f:facet name=objectProperties t:commandLink styleClass=properties actionListener=#{t.setNodeSelected}

aliasBean and binding=

2007-07-18 Thread Michał 'Gandalf' Stawicki
Hi all, is it possible to put some component with binding= inside subview, and then use it with aliasBean? Ex: repeat.jsp f:subview id=foo t:tree2 ... binding=#{alias.treeBind} /tree2 /f:subview otherPage.jsp ... t:aliasBean alias=#{alias} value=#{someBean} jsp:include page=repeat.jsp /

Re: PPR - Update an inputText dont work

2007-07-16 Thread Michał 'Gandalf' Stawicki
In my case, I just put fields in form named objectDetForm and when I need to reset them: private void resetFields() { UIComponent c = FacesContext.getCurrentInstance().getViewRoot().findComponent(objectDetForm); if(c != null c.getParent() != null)

pprPanelGroup breaks UTF-8

2007-07-16 Thread Michał 'Gandalf' Stawicki
Usage of pprPanelGroup breaks encoding of submitted data, ex. from inputText regards, -- Michał Stawicki [EMAIL PROTECTED] http://stawicki.jasliska.pl

pprPanelGroup and validation problem

2007-07-14 Thread Michał 'Gandalf' Stawicki
Here is example code: h:panelGrid columns=3 t:outputLabel value=#{m.country} for=country/ t:inputText id=country

pprPanelGroup id(event) not working

2007-07-14 Thread Michał 'Gandalf' Stawicki
I have found example: http://example.irian.at/example-sandbox-20070714/pprPanelGroupOnChange.jsf.source I'm using latest libs, but I can't get it to work: partialTriggers=myInputTextId(onkeyup) Is it implemented yet? regards, -- Michał Stawicki [EMAIL PROTECTED] http://stawicki.jasliska.pl

pprPanelGroup - commandLink vs. commandButton

2007-07-14 Thread Michał 'Gandalf' Stawicki
This works as expected: clicking commandLink couses partial refresh s:pprPanelGroup id=treePpr partialTriggerPattern=.*zapisz /s:pprPanelGroup s:pprPanelGroup id=objPropsPpr partialTriggerPattern=.*zapisz t:commandLink id=zapisz

Re: pprPanelGroup - commandLink vs. commandButton

2007-07-14 Thread Michał 'Gandalf' Stawicki
Wrong again :( It works like this: when I first open the page, and press the button, the page is submitted. Then, after submitting page using this button, PPR works fine. On 14/07/07, Michał 'Gandalf' Stawicki [EMAIL PROTECTED] wrote: This works as expected: clicking commandLink couses

Re: pprPanelGroup id(event) not working

2007-07-14 Thread Michał 'Gandalf' Stawicki
'Gandalf' Stawicki [EMAIL PROTECTED] wrote: I have found example: http://example.irian.at/example-sandbox-20070714/pprPanelGroupOnChange.jsf.source I'm using latest libs, but I can't get it to work: partialTriggers=myInputTextId(onkeyup) Is it implemented yet? regards, -- Michał Stawicki

tree2 expand once again

2007-07-13 Thread Michał 'Gandalf' Stawicki
I would like to be able to expand a node upon clicking on commandLink in the node. The tree is bound to HtmlTree in backing bean, and the commandLink have actionListener that does: String [] path = treeBinding.getPathInformation(selectedNode.getIdentifier());

t:message inside pprPanelGroup

2007-07-12 Thread Michał 'Gandalf' Stawicki
If I put a t:message inside s:pprPanelGroup and it get's displayed as partial rendering, then messages' atttributes are all ignored, and defaults are used. If it is displayed after full page submit everything works fine. Is there any solution for this behaviour? regards, -- Michał Stawicki

Re: t:message inside pprPanelGroup

2007-07-12 Thread Michał 'Gandalf' Stawicki
=false showDetail=true forceSpan=true replaceIdWithLabel=true/ /s:pprPanelGroup On 12/07/07, Michał 'Gandalf' Stawicki [EMAIL PROTECTED] wrote: If I put a t:message inside s:pprPanelGroup

Re: t:message inside pprPanelGroup

2007-07-12 Thread Michał 'Gandalf' Stawicki
Tanks, it helped On 12/07/07, Gerald Müllan [EMAIL PROTECTED] wrote: Hi, i think this is the case because the {0}, {1} values are in request scope only. Try to store the values somewhere, e.g. t:saveState with model value bindings. cheers, Gerald On 7/12/07, Michał 'Gandalf' Stawicki [EMAIL

modaldialog, tree2

2007-06-18 Thread Michał 'Gandalf' Stawicki
Hi, is there a way to embed tree2 (with server-side toggling) inside modaldialog, so that when i expand / collapse tree2 the modaldialog stays visible between submits? regards, michal

Re: [Tobago] Blocked UI while Exporting to Excel

2007-04-09 Thread Michał 'Gandalf' Stawicki
if any thing wrong with my code. Thanks for your time. Thanks, Vinay On 4/8/07, Michał 'Gandalf' Stawicki [EMAIL PROTECTED] wrote: OK, That function afterLoad - I meant pageIsComplete :) here's how i have done it: On the page I have following code: tc:panel width=0 height=0

Re: [Tobago] Blocked UI while Exporting to Excel

2007-04-08 Thread Michał 'Gandalf' Stawicki
Script and how we will call. Please provide me Sample Code Snippet, that will be greatly helpful for me. Awaiting your reply. Thanks, Vinay On 4/6/07, Michał 'Gandalf' Stawicki [EMAIL PROTECTED] wrote: You can do as follows: use a button with transition - pressing the button would generate

[Tobago] tc:message / tc:messages

2007-04-07 Thread Michał 'Gandalf' Stawicki
Hello, how do I wrap too long line? Could tc:message have escape=false like tc:out so I could insert br / into displayed messages? regards, michał -- [EMAIL PROTECTED] http://stawicki.jasliska.pl GG: 369 JID: [EMAIL PROTECTED]

Re: [Tobago] Blocked UI while Exporting to Excel

2007-04-06 Thread Michał 'Gandalf' Stawicki
You can do as follows: use a button with transition - pressing the button would generate your excel stuff and couse some invisible element to render on the page (with a specific ID) to the page, add a java script using Tobago.afterLoad (perhaps it was called some different way, check...) that

[Tobago] tc:tab not resizing (again)

2007-04-03 Thread Michał 'Gandalf' Stawicki
Hi, I have posted about this before, but seems it went unnoticed: If tc:tabGroup get's resized, the tc:tab's within it don't - their size remains unchanged. Is there any hack to force tc:tab to resize? regards, michael -- [EMAIL PROTECTED] http://stawicki.jasliska.pl GG: 369 JID:

[Tobago] tc:button and tc:popup, prevent opening

2007-03-30 Thread Michał 'Gandalf' Stawicki
Hi, I thought that if I return null from button's action method, this would be equal to validation faild, and would prevent the popup from opening. Unfortunately, it doesn't work this way. Is the only way to achieve this behavior to use the rendered attribute od popup? regards, michael --

Re: escaping in EL?

2007-03-30 Thread Michał 'Gandalf' Stawicki
Perhaps escape quotes? \' ? michał On 30/03/07, Michael Heinen [EMAIL PROTECTED] wrote: A simpler sample: attribute=#{ MyBean.checkA ? 'alert('aaa');':'alert ('bbb');'} results in org.apache.commons.el.parser.ParseException: Encountered ? \'alert (\' aaa at line 1, column 52. Michael

Re: [Tobago] tc:button and tc:popup, prevent opening

2007-03-30 Thread Michał 'Gandalf' Stawicki
Thanks for clarification

Re: [Tobago] using value from tc:link on server

2007-03-27 Thread Michał 'Gandalf' Stawicki
I don't know if it should work, but you could try this: define a request scope bean using spring, where you will store the ID. Using Spring, inject this bean into bean where you need to use the ID. Now, in the tc:link's listener, get yours link object from event, read ID from it, and store it in

[Tobago] improvement to gridLayout

2007-03-27 Thread Michał 'Gandalf' Stawicki
Hi, perhaps it would be good idea to add new token to gridLayout, ex. 20px* which would mean: take remaining space, but at least 20px. Now if you use * and there is no space left, the element will simply not get rendered. regards, michael -- [EMAIL PROTECTED] http://stawicki.jasliska.pl

[Tobago] Popup inside tc:sheet

2007-03-26 Thread Michał 'Gandalf' Stawicki
Hello, I have following code inside tc:column of tc:sheet tc:button label=Powód rendered=#{adminManagedBean.ordersManagementController.selectedOrderHelper.complaint} f:facet name=popup tc:popup

Re: [Tobago] Popup inside tc:sheet

2007-03-26 Thread Michał 'Gandalf' Stawicki
= fileHelper.getComplaintReason(); orgFileName = fileHelper.getFileRaw.getOrgFileName(); } Regards, Volker 2007/3/26, Michał 'Gandalf' Stawicki [EMAIL PROTECTED]: Hello, I have following code inside tc:column of tc:sheet tc:button label=Powód rendered

Re: [ Tobago ] Regarding Object Ref in Server Side

2007-03-26 Thread Michał 'Gandalf' Stawicki
Fear not, try event.getComponent(). Also check if the event comes directly from object you think it's comming, and not from it's children, ex: UIComponent o = event.getComponent(); while(!(o instanceof UIData)) o = o.getParent(); UIData data =

[Tobago] tc:column min-width

2007-03-24 Thread Michał 'Gandalf' Stawicki
Hi, how can I simulate min-width for tc:column? For other elements I can do: tc:panel f:facet name=layout tc:gridLayout columns=100px;* / /f:facet tc:cell spanX=2 /tc:cell /tc:panel This way even if window is too small, I will get at lest 100px width, otherwise I will get all available

[Tobago] tx and c:forech BUG

2007-03-21 Thread Michał 'Gandalf' Stawicki
Hi, I have just noticed a thing. If you try to put tx tags inside forEach, you can get randomly appearing duplicate errors. What's very 'funny' is that they don't appear every time you view page, and that any element on the page can become 'duplicated', ex. some gridLayout not connected with

[Tobago] probably tc:popup bug

2007-03-20 Thread Michał 'Gandalf' Stawicki
Hi, I have a tc:popup, inside I have some stuff set in gridLayout. If I don't specify the height attribute, than the height is calculated correctly, but popup isn't rendered in center of page (tested with 800x600). If I explicitly specify height, than popup is rendered at correct location.

[Tobago] tc:sheet color rows depending on value from current var

2007-03-20 Thread Michał 'Gandalf' Stawicki
Hi, I would like to apply some color to rows background, depending on value from var. Ex: I have ListClients clients; clients contains Boolean special; now I have tc:sheet value=#{clients} var=client if client has special == true I would like to color his row red. Any hint how I could

[Tobago] regarding tc:tab action attribute

2007-03-19 Thread Michał 'Gandalf' Stawicki
Hello, would it be difficult to add action attribute to tc:tab and ability for tc:tab to perform some action before actually showing up? regards, michael -- [EMAIL PROTECTED] http://stawicki.jasliska.pl GG: 369 JID: [EMAIL PROTECTED]

Re: [Tobago] tc:sheet and c:forEach

2007-03-19 Thread Michał 'Gandalf' Stawicki
Thanks Volker, your the best! -- [EMAIL PROTECTED] http://stawicki.jasliska.pl GG: 369 JID: [EMAIL PROTECTED]

[Tobago] tc:sheet and c:forEach

2007-03-18 Thread Michał 'Gandalf' Stawicki
Hello, is there a way to put c:forEach inside tc:sheet and iterate over var attribute of tc:sheet? I have tried doing similar code as in forEach example, but with no success regards, michael -- [EMAIL PROTECTED] http://stawicki.jasliska.pl GG: 369 JID: [EMAIL PROTECTED]

Re: [Tobago] tc:sheet and c:forEach

2007-03-18 Thread Michał 'Gandalf' Stawicki
. The lifetime of the sheets var attribute is out of the c:foreach. What did you want to archive? Can you give an example? Regards, Volker 2007/3/18, Michał 'Gandalf' Stawicki [EMAIL PROTECTED]: Hello, is there a way to put c:forEach inside tc:sheet and iterate over var attribute of tc:sheet? I

[Tobago] TobagoMultipartFormdataFilter max size

2007-03-17 Thread Michał 'Gandalf' Stawicki
Hello, When I try to upload too large file, I simply get an exception. Am I missing something? I would like to stay on the same page / get some validation error. On my JSP I have: tc:file value=#{clientManagedBean.newOrderControler.attachmentsController.fileItem} tip=Wprowadź nazwe pliku

Re: [Tobago] TobagoMultipartFormdataFilter max size

2007-03-17 Thread Michał 'Gandalf' Stawicki
. Regards Bernd Michał 'Gandalf' Stawicki wrote: Hello, When I try to upload too large file, I simply get an exception. Am I missing something? I would like to stay on the same page / get some validation error. On my JSP I have: tc:file value

Re: [Tobago] TobagoMultipartFormdataFilter max size

2007-03-17 Thread Michał 'Gandalf' Stawicki
validation after the file is downloaded. Regards Bernd Michał 'Gandalf' Stawicki wrote: Hello, When I try to upload too large file, I simply get an exception. Am I missing something? I would like to stay on the same page / get some validation error. On my JSP I have: tc:file value

Re: [Tobago] TobagoMultipartFormdataFilter max size

2007-03-17 Thread Michał 'Gandalf' Stawicki
, is a tc:messages tag on your page or popup? Regards Bernd Michał 'Gandalf' Stawicki wrote: Hello Bernd, I was using filter, now I have switched to tobago-fileupload.jar as you suggested. Now in my logs I'm getting: javax.faces.FacesException: org.apache.commons.fileupload.FileUploadBase

Re: [Tobago] TobagoMultipartFormdataFilter max size

2007-03-17 Thread Michał 'Gandalf' Stawicki
to -1, this may help. tobago uses commons-fileupload and the max size is the maximum allowed size of the request. if a request exeeds this threshold the complete processing is interupted by this library. -1 sets this to unlimited. Regards, Volker 2007/3/17, Michał 'Gandalf' Stawicki [EMAIL

[Tobago] tx:in force update when in separate form

2007-03-13 Thread Michał 'Gandalf' Stawicki
Hi all, I have two forms (I DO need two separate forms ;). In one of these forms I have a button, in the second I have 2 tx:in's - one has readonly=true. Now, when I press the button, contents of both inputs should be updated (they are being set by backing bean method). Unfortunately only the

Re: File upload?

2007-03-13 Thread Michał 'Gandalf' Stawicki
On 12/03/07, Bjørn T Johansen [EMAIL PROTECTED] wrote: Where can I configure where the files are saved? And can I have two file upload on the same page? Take a look at: http://www.mail-archive.com/users@myfaces.apache.org/msg32055.html regards michael -- [EMAIL PROTECTED]

shorter expressions

2007-03-12 Thread Michał 'Gandalf' Stawicki
Hi, I have a page on which very often I have to use expressions like: #{adminManagedBean.ordersController.currentOrder.SOMETHING} Is there a way to make it shorter, so that I declare at the beggining of the page some value and then use #{value.SOMETHING} instead? regards, michael -- [EMAIL

Re: shorter expressions

2007-03-12 Thread Michał 'Gandalf' Stawicki
Thanks Volker, on more question: is there a way to make NetBeans auto-complete work with the alias name? regards, michael On 12/03/07, Volker Weber [EMAIL PROTECTED] wrote: Hi, http://myfaces.apache.org/tomahawk/aliasBean.html regards Volker 2007/3/12, Michał 'Gandalf' Stawicki [EMAIL

[Tobago] tc:sheet and tc:selectManyListbox

2007-03-07 Thread Michał 'Gandalf' Stawicki
Hello, how do I get selectManyListbox rendered properly inside tc:sheet? I get listbox rendered as only one row, despite what layout I set regards, michael -- [EMAIL PROTECTED] http://stawicki.jasliska.pl GG: 369 JID: [EMAIL PROTECTED]

Re: [Tobago] tc:sheet and tc:selectManyListbox

2007-03-07 Thread Michał 'Gandalf' Stawicki
Ok, so I used the height attribute of tc:selectManyListbox. But it is marked as deprecated, so what is the correct approach? On 07/03/07, Michał 'Gandalf' Stawicki [EMAIL PROTECTED] wrote: Hello, how do I get selectManyListbox rendered properly inside tc:sheet? I get listbox rendered as only

[Tobago] Validation problem

2007-03-06 Thread Michał 'Gandalf' Stawicki
hello, I have a some tx:in controls, tc:selecOneChoice and two buttons - save and display. Now, if I press save I need to save entered data, but first validate it. If i press display, I need to display some data in tx:in's according to selection, but ommit validation. Is there any way to

[Tobago] tc:form usage

2007-03-06 Thread Michał 'Gandalf' Stawicki
hello, I have a structure like: tc:form ... some fields ... tc:button ... ... /tc:form tc:form ... some tx:in fields and buttons ... /tc:form I would like to update fields in the second form after clicking button in the first form, is there a way? regards, michael -- [EMAIL PROTECTED]

Re: [Tobago] Validation problem

2007-03-06 Thread Michał 'Gandalf' Stawicki
, tc:page is a form. You don't need to define a tc:form. tc:form is for partial validation and partial model update. Please look at the forms example in the demo. Regards Bernd Michał 'Gandalf' Stawicki wrote: hello, I have a some tx:in controls, tc:selecOneChoice and two buttons - save

Re: [Tobago] for loop or each

2007-03-05 Thread Michał 'Gandalf' Stawicki
Hi, take a look here: http://svn.apache.org/viewvc/myfaces/tobago/trunk/example/foreach/src/main/ regards, michael On 05/03/07, Wong, Emmanuel (Sam) [EMAIL PROTECTED] wrote: Hi: Is there a for loop or for each examples in Tobago or my faces? I have for records of information to

Exceptions?

2007-03-01 Thread Michał 'Gandalf' Stawicki
Hi, is there a way to intercept any uncaught exceptions and display a proper page, with some navigation rule or by any other means? regards, michael -- [EMAIL PROTECTED] http://stawicki.jasliska.pl GG: 369 JID: [EMAIL PROTECTED]

Re: [Tobago] tc:tab won't resize

2007-02-26 Thread Michał 'Gandalf' Stawicki
of the page? Udo Michał 'Gandalf' Stawicki schrieb: Hi, I have a tc:page that always sets its' size to maximum. So, if a user resizes his window, after next submit the size of tc:page will change. Now, I have a tc:tabGroup, which resizes correctly. The problem is, that tc:tab won't. When I first

Re: [Tobago] nesting tc:sheet

2007-02-26 Thread Michał 'Gandalf' Stawicki
regards, michael On 14/02/07, Michał 'Gandalf' Stawicki [EMAIL PROTECTED] wrote: Hi, did anyone tried nesting tc:sheet inside another tc:sheet's column? I don't get any errors, but the inner tc:sheet just isn't rendered regards, michael -- [EMAIL PROTECTED] http://stawicki.jasliska.pl GG: 369

Re: Re: [Tobago] nesting tc:sheet

2007-02-26 Thread Michał 'Gandalf' Stawicki
of ?:selectItem. Regards Udo Michał 'Gandalf' Stawicki schrieb: Hi, no answers to this one... Is there any way in Tobago to do double-iteration (so I iterate over some List, and than I iterate over some elements than I get from the first list)? I can't use forEach as I need to use

[Tobago] tc:tab won't resize

2007-02-23 Thread Michał 'Gandalf' Stawicki
Hi, I have a tc:page that always sets its' size to maximum. So, if a user resizes his window, after next submit the size of tc:page will change. Now, I have a tc:tabGroup, which resizes correctly. The problem is, that tc:tab won't. When I first open a tab, it calculates the size correctly, but

Re: Re: [Tobago] foreach and SelectOneChoice

2007-02-23 Thread Michał 'Gandalf' Stawicki
I had the same problem - I did think that I could nest sheet inside sheet, but it didn't work, nor did foreach and f:selectitems. I ended up hard-coding elements inside special class ;/ As Helmut says, it's problem with the value attribute regards, michael On 23/02/07, H. Swaczinna [EMAIL

Re: [Solved] GraphicImage Question

2007-02-22 Thread Michał 'Gandalf' Stawicki
Perhaps: graphicImage value=C:\\images\\uniqueId ? michael On 22/02/07, m1380103 [EMAIL PROTECTED] wrote: Thanks for the quick reply, I have spent some time looking over the JSF examples, including the sandboxes graphicDynamicImage. My problem really lies in displaying an image from

Re: [Tobago] global settings possible?

2007-02-21 Thread Michał 'Gandalf' Stawicki
Hello Udo, * Write your own tag. Like InExtensionTag in Tobago. Are there any examples of how it should be done, or should I look at Tobago's sources? I did some search, but couldn't find anything usefull. Thanks, michael -- [EMAIL PROTECTED] http://stawicki.jasliska.pl GG: 369 JID:

f:validateDoubleRange

2007-02-21 Thread Michał 'Gandalf' Stawicki
Hello, is there a way to make f:validateDoubleRange validate ',' (comma) instead of '.' (dot) as decimal separator? I have already set f:view locale and did FacesContext fc = FacesContext.getCurrentInstance(); fc.getViewRoot().setLocale(new Locale(pl, PL)); am I missing

Re: f:validateDoubleRange

2007-02-21 Thread Michał 'Gandalf' Stawicki
On 2/21/07, Michał 'Gandalf' Stawicki [EMAIL PROTECTED] wrote: Hello, is there a way to make f:validateDoubleRange validate ',' (comma) instead of '.' (dot) as decimal separator? I have already set f:view locale and did FacesContext fc = FacesContext.getCurrentInstance

Re: f:validateDoubleRange

2007-02-21 Thread Michał 'Gandalf' Stawicki
minIntegerDigits=1 pattern=###.0# destType=java.lang.Double / http://example.irian.at/example-sandbox-20070221/typedNumberConvert.jsf http://example.irian.at/example-sandbox-20070221/typedNumberConvert.jsp.source On 2/21/07, Michał 'Gandalf' Stawicki [EMAIL PROTECTED] wrote: Thanks for idea, I've came

  1   2   >