Re: Accessing a Bean from a bean using EL with STRUTS 2 - I really need help

2007-04-07 Thread Mansour
Piero, Thank you. I think this is very close to what I need, if not, maybe I can just modify it a bit. Piero Sartini wrote: On Saturday 07 April 2007 22:15:18 [EMAIL PROTECTED] wrote: Now since it looks like I am running into compatibility issues, is there any alternative for this tag lib

Re: Accessing a Bean from a bean using EL with STRUTS 2 - I really need help

2007-04-07 Thread Piero Sartini
On Saturday 07 April 2007 22:15:18 [EMAIL PROTECTED] wrote: > Now since it looks like I am running into compatibility issues, is there > any alternative for this tag lib ? > I need some thing very similar that provides paging and to be as easy an > .net control components. > Does struts provides a

Re: Accessing a Bean from a bean using EL with STRUTS 2 - I really need help

2007-04-07 Thread Dave Newton
--- [EMAIL PROTECTED] wrote: > Dave Newton wrote: >> You could *try* just passing in >> "accountBean.invoices" (rather than >> "${accountBean.invoices}") and see if that works; I >> don't know if the taglib is expecting a "complete" >> EL expression. > I tried this and it didn't work. Yeah, did

Re: Accessing a Bean from a bean using EL with STRUTS 2 - I really need help

2007-04-07 Thread mansour77
Dave Newton wrote: --- [EMAIL PROTECTED] wrote: when I stepped into the code, I found obj is of type string So I assumed there's something wrong I am doing in passing the argument, or setting some variable ... or Here's where my problem IS. You still haven't said if

Re: Accessing a Bean from a bean using EL with STRUTS 2 - I really need help

2007-04-07 Thread Dave Newton
--- [EMAIL PROTECTED] wrote: > when I stepped into the code, I found obj is of type > string So I assumed there's something wrong I am > doing in passing the argument, or setting some > variable ... or Here's where my problem IS. You still haven't said if you'r running on a JSP 2.0 conta

Re: Accessing a Bean from a bean using EL with STRUTS 2 - I really need help

2007-04-07 Thread Laurie Harper
[EMAIL PROTECTED] wrote: All I am trying to do is to retrieve an account from A DB and using taglib (data grid) to display the associated invoice with this account. Should this be a two-days task. Maybe something wrong with me. here's my controller: package billing; import com.opensymphony

Re: Accessing a Bean from a bean using EL with STRUTS 2 - I really need help

2007-04-07 Thread mansour77
Sorry: Forgot about the tag lib : I am using datagrid lib from jakarta-taglibs-sandbox. Dave Newton wrote: --- [EMAIL PROTECTED] wrote: I don't know exactly why I am using this, but from what I understand to make the variable available for the page. Being a newbie, I decided to t

Re: Accessing a Bean from a bean using EL with STRUTS 2 - I really need help

2007-04-07 Thread Dave Newton
--- [EMAIL PROTECTED] wrote: > type="billing.AccountBean" > scope="request"/> is sufficient, but it's still not clear to me why you're using at all. > Now How can I set a bean called invoices to the > value of the bean "account.invoices" ? You have to say *what's a

Re: Accessing a Bean from a bean using EL with STRUTS 2 - I really need help

2007-04-07 Thread mansour77
Dave Newton wrote: --- [EMAIL PROTECTED] wrote: type="billing.AccountBean" scope="request"/> I don't know exactly why I am using this, but from what I understand to make the variable available for the page. Being a newbie, I decided to try every single bit

Re: Accessing a Bean from a bean using EL with STRUTS 2 - I really need help

2007-04-07 Thread mansour77
Laurie Harper wrote: [EMAIL PROTECTED] wrote: All I am trying to do is to retrieve an account from A DB and using taglib (data grid) to display the associated invoice with this account. Should this be a two-days task. Maybe something wrong with me. here's my controller: package billing; i

Accessing a Bean from a bean using EL with STRUTS 2 - I really need help

2007-04-07 Thread mansour77
All I am trying to do is to retrieve an account from A DB and using taglib (data grid) to display the associated invoice with this account. Should this be a two-days task. Maybe something wrong with me. here's my controller: package billing; import com.opensymphony.xwork2.ActionSupport; pub