Re: t:commandLink for navigation but browser url not changed

2006-10-03 Thread Aneesha Govil
On 10/3/06, Andrew Robinson <[EMAIL PROTECTED]> wrote: In summary:URL != View IDThere are many WIKI entries and posts discussing this and differentways of handling this based on your needs.-AndrewCan you give me some links to those resources? I can't find any, I suppose you mean the myfaces wiki. T

Re: Tomahawk and trinidad

2006-10-03 Thread Martin Marinschek
If you want to use both Trinidad and Tomahawk, you should use a current nightly build - we've committed a lot of bug-fixes for compatibility of the two frameworks. regards, Martin On 10/3/06, Chaitanya Kadaru <[EMAIL PROTECTED]> wrote: Hi I am trying to use both trinidad and tomahawk in the s

Access Request Scope Bean in Servlet Filter

2006-10-03 Thread fischman_98
Is there anyway to access a ManagedBean that is set in the faces config file to request scope in a ServletFiler? What I want to do is confirm that the bean exists before letting the view display. Thanks. -- View this message in context: http://www.nabble.com/Access-Request-Scope-Bean-in-Serv

RE: findComponent mistery

2006-10-03 Thread Iordanov, Borislav \(GIC\)
Actually, sorry, a form is NamingContainer, but then the lookup seems weird, why it’s returning null?     From: Iordanov, Borislav (GIC) [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 7:42 PM To: MyFaces Discussion Subject: findComponent mistery   Hi,   Given:

findComponent mistery

2006-10-03 Thread Iordanov, Borislav \(GIC\)
Hi,   Given:         I try the following in my action:   FacesContext ctx = FacesContext.getCurrentInstance();   ctx.getViewRoot().findComponent(“in”)   this return null because HtmlForm is NOT a namingcontainer according to MyFaces/JSF. Is that normal? Seems like a form,

Re: forEach accesses 'items' collection multiple times

2006-10-03 Thread Jeff Bischoff
Kevin, There are lots of issues in JSF 1.1 with collection tags like c:forEach. To avoid running into these, I use forEach sparingly in my app. When I do use it, I also use c:out rather than h:outputText. See [1] for some info. [1] http://java.sun.com/developer/technicalArticles/J2EE/jsp_21/

forEach accesses 'items' collection multiple times

2006-10-03 Thread Kevin Galligan
I'm using the 'forEach' tag in a page. When I ran a debugger against my code, it looks like the forEach is grabbing the collection in the 'items' attribute each time it runs through the loop. I'd think it would only do this once. Here's the code...

Tomahawk and trinidad

2006-10-03 Thread Chaitanya Kadaru
Hi I am trying to use both trinidad and tomahawk in the same project. Can you please pass me the code snippet for the filters in the web.xml or a link to a sample where they used both. Somehow when I try I don't seem to get the faces components rendered. Thanks Chaitanya Kadaru

Re: commandLink

2006-10-03 Thread udokrass
Hi, that's not the problem. Facelets arent the problem, too. I tried it with a simple jsp-webapp and a simple commandLink. I dont know why my commandLink will not work! Any ideas? Thanx in advance Udo Moin Udo, The commandLink syntax looks good to me, but the HtmlCommandLink alwalys uses Ja

Re: t:commandLink for navigation but browser url not changed

2006-10-03 Thread Harry Co
Great!!! You're totally right Andrew!!! I've forgotten the redirect option. Everything is working fine!! Silly of me!!! ;-) Thanks so much and thanks again for the quick and straight answer.   Harry.  2006/10/3, Andrew Robinson <[EMAIL PROTECTED]>: Sounds like everything is working fine.The browser

Re: t:commandLink for navigation but browser url not changed

2006-10-03 Thread Andrew Robinson
Sounds like everything is working fine. The browser retains the URL of the page it posted to (the action of the HTML FORM element). JSF doesn't load the next view until AFTER your action has been executed and the navigation rules are processed. 1) page is rendered 2) user submits the form to the

Re: SV: Hierarchial Column Labels

2006-10-03 Thread Marco_Coder
Here is a solution, hard coded. One would just have to set up a backing bean to create the header via the model at hand. I'm not sure why I hadn't tried this earlier, I was look for wdgets vs generating the HTML myself.

Re: How To Workaround dynamic ID for datatable's etc...

2006-10-03 Thread Andrew Robinson
What do IDs have to do with cross site scripting attacks? Cross site scripting attacks refers to people injecting HTML/SCRIPT content into your pages to introduce content that looks like it is from your page but is from another site. I don't see how the IDs of UIComponent is related at all. As fo

t:commandLink for navigation but browser url not changed

2006-10-03 Thread Harry Co
Hi all,   I facing some odd behaviour using t:commandLink.   On my my page, I have a t:commandLink leading to a second page via navigation rule configuration   When I click the link, the proper view is displayed but the url displayed by the browser doe not change (ex: when clicked from the home pag

Re: SV: Hierarchial Column Labels

2006-10-03 Thread Marco_Coder
Hi Morten, I hope you share your answer, I've played with the widget and I'm unable to 'add' a row to the header. I now know how to embedded columns and datatables with in columns, but I've yet to figure out how to add a row to the header it self. Thanks, MC Morten Mortensen wrote: > > > I

Re: optgroup in jsf?

2006-10-03 Thread Sławek Sobótka
> Hope this helps, yes, works great thank for help Sprawdź czy grozi Ci jesienna depresja... http://klik.wp.pl/?adr=http%3A%2F%2Fhoroskop.wp.pl%2Fhjesienny.html&sid=891

commandLink commandButton differences in file download behaviour problem

2006-10-03 Thread CarlHowarth
Hello there, Hopefully someone can help - I have looked through the existing queries and can't just find what I'm after. I have a main record with asociated files - the files are uploaded through my web app and are downloaded from the same page that lists the files in a dataTable. I have a seri

Re: optgroup in jsf?

2006-10-03 Thread Gert Vanthienen
L.S., If you use to provide the items for the combo box, you can use your backing bean method to provide this behavior. You can return a list of SelectItemGroups, each containing the SelectItems that represent the actual options. The HTML rendered will include the you're looking for. An e

optgroup in jsf?

2006-10-03 Thread Sławek Sobótka
is there any way to render html optgroup tag in jsf? maybe somme special selectitem? i guess that not everybody knows what is optgroup (i have learned it just few days ago;))) so if you have combo box, you can group its items like this: group 1 item 1 1 item 1 2 group 2 item 2 1 item 2

optgroup in jsf?

2006-10-03 Thread Sławek Sobótka
is there any way to render html optgroup tag in jsf? maybe somme special selectitem? i guess that not everybody knows what is optgroup (i have learned it just few days ago;))) so if you have combo box, you can group its items like this: group 1 item 1 1 item 1 2 group 2 item 2 1 item 2