Re: [Tobago] Problem using JSP tags with attributes

2010-03-22 Thread Alf Felis
Hi Udo, thank you for your hint. Now I have made some java classes to provide the templates. It seems to work for me. Many thanks for all the help :) Regards, Alf Udo Schnurpfeil schrieb: Okay, I think I understand what you need. In Tobago the tx:-library was similar. Take some

[Tobago] Problem using JSP tags with attributes

2010-03-18 Thread Alf Felis
Hi all, I have a problem using jsp tags with attributes in tobago. Tobago version: 1.0.24-SNAPSHOT Myfaces version: 1.1.6 Tomcat version: 6.0.18 I'm using a tag with the attribute %@ attribute name=dataBean %. If I try to access this attribute inside the tag I get a ParseException. Access

Re: [Tobago] Problem using JSP tags with attributes

2010-03-18 Thread Udo Schnurpfeil
dataBean is in some context, it depends on your application, what is the best way to put in in the context. Regards, Udo Am 18.03.10 09:26, schrieb Alf Felis: Hi all, I have a problem using jsp tags with attributes in tobago. Tobago version: 1.0.24-SNAPSHOT Myfaces version: 1.1.6 Tomcat

Re: [Tobago] Problem using JSP tags with attributes

2010-03-18 Thread Alf Felis
the attribute... but I don't know whats wrong :( Or is it impossible to use such JSP attributes within Tobago? Regards, Alf - original Nachricht Betreff: [Tobago] Problem using JSP tags with attributes Gesendet: Do, 18. Mrz 2010 Von: Alf Felisalf.fe...@gmx.de Hi all, I have

Re: [Tobago] Problem using JSP tags with attributes

2010-03-18 Thread Alf Felis
Hi Udo, sorry... I didn't get your mail :( I will try your solution :) Many thanks!!! Regards, Alf -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01

Re: [Tobago] Problem using JSP tags with attributes

2010-03-18 Thread Alf Felis
Hi Udo, this doesn't work :( If I use #{dataBean.errors} the given bean (passed by attribute!) won't be found. For example: javax.faces.el.PropertyNotFoundException: Base is null: dataBean My beans are initialized with Spring, but I tried to define them in facesContext, too. Both doesn't

Re: [Tobago] Problem using JSP tags with attributes

2010-03-18 Thread Alf Felis
I will try to discribe what I am going to do... For example I will create a sheet (panel, box, etc.) which I can use in different pages. The sheet content should be filled from different beans. Some pages should contain the sheet twice with two different beans containing the data to be

Re: [Tobago] Problem using JSP tags with attributes

2010-03-18 Thread fernando
Alf, I did that using a few techniques. First, using both actionListener and action methods. When something happens, like a click or else, the actionlistener do all the persist work, while the action is just to adjust a layout bean with the specific need of the transition. Another technique

Re: [Tobago] Problem using JSP tags with attributes

2010-03-18 Thread Udo Schnurpfeil
Okay, I think I understand what you need. In Tobago the tx:-library was similar. Take some components and combine it to a new one. But because of the disadvantages of Tag-Files we coded it with Java-Code :-( Did you tried running your app with Tomcat 5.5? There are different solutions. The