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
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
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
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
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
Dave Newton wrote:
--- joey <[EMAIL PROTECTED]> wrote:
struts set action object in valuestack,so you can't
refere to it in your tag.
Values exposed to OGNL from an Action are also
available through JSP EL due to the
StrutsRequestWrapper. getAttribute calls are elegated
to the OGNL stac
[EMAIL PROTECTED] wrote:
joey wrote:
add request.setAttribute("invoices",accountBean.getInvoices()) in your
action execute method.
How do I do this is struts 2. I couldn't find any way to get my hand on
the Request object.
On 4/7/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I though
joey wrote:
add request.setAttribute("invoices",accountBean.getInvoices()) in your
action execute method.
On 4/7/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
I thought that was set automatically by struts through the getters !
OK, let me include more details, may be someone will underst
This is one of the problem using connection pooling.
This page explains it and offers a solution:
http://tomcat.apache.org/tomcat-5.0-doc/jndi-datasource-examples-howto.html
I hope it helps.
Balazs Michnay wrote:
Dear Struts users,
Finally I managed to get DB-handling working, but I'm expe
OK, let me include more details, may be someone will understand what I
am talking about.
I have a list that belongs to a Bean that's wet in an action class.
public AccountBean getAccountBean() {
return accountBean;
}
AccountBean has an ArrayList calles invoices.
now im my jsp, I need to d
I have a bean that is set in an action class. I can access it using
struts tag, but what do I do if I need to access it from somewhere else ?
for example, if I need to access it from a list iterator.
Thanks.
-
To unsubscribe
I found it. Never mind.
And thank you a lot for your help.
[EMAIL PROTECTED] wrote:
Hartrich, James CTR USTRANSCOM J6 wrote:
So you are going from the jsp to the action, correct?
That being the case, you are doing this correctly so far. Make certain
to have an encapsulated property for account
Hartrich, James CTR USTRANSCOM J6 wrote:
So you are going from the jsp to the action, correct?
That being the case, you are doing this correctly so far. Make certain
to have an encapsulated property for accountBean in your accountManager
action. On submit the accountBean object will be constructe
how do I populate a bean values from a jsp page ?
here's what I need to do:
this page
http://struts.apache.org/2.0.6/docs/how-do-i-populate-a-form-bean-and-get-the-value-using-the-taglib.html
how to read the values from the bean but not how to populate them. Or
may be I am not gettin
If you are using tomcat plug-in www.sysdeo.com/*eclipse*/*tomcat**plugin ,
*you will have the option to deply the application to a war file.
just right click on the project in the Navigation View, ---> tomcat --->
Export to war file sets in project properties.
Wesley Wannemacher wrote:
Hel
Ted Husted wrote:
It sounds like that you might want to use the ModelDriven approach,
How many approach there is ? Where can I read about them ?
where the AccountManager is the model object.
If I move the business logic to the action class then this becomes MVC1.
From my understanding the
Hello every one:
I am trying to write a little application to familiarize myself with
struts 2. I am trying to design the application using mvc2. the
application is nothing but a small utility for invoices. It store,
retrieves and update invoices. Each invoice belongs to an Account in the
DB.
Ted Husted wrote:
On 4/2/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
The first thing I would do is fixing the broken links. For example if
you go to the page:
http://struts.apache.org/2.0.6/docs/basic-validation.html
The problem with links like these is that the path is pointing to the
"j
Ted Husted wrote:
I'd say that someone who is learning the framework is in the best
position to know what other newbies need to know.
What specific changes could we (meaning you) make to the documentation
so that someone else wouldn't have the same problem.
On 4/1/07, [EMAIL PROTECTED] <[EMAIL
Dave Newton wrote:
--- [EMAIL PROTECTED] wrote:
Thank you Dave:
It's working fine now.
Cool...
Always feel free to post with documentation
observations or make a comment directly on the Wiki
page in question; there's a growing body of
documentation editors churning away :)
d.
__
Dave Newton wrote:
--- [EMAIL PROTECTED] wrote:
Now I getting totally different error:
HTTP Status 500 -
*type* Exception report
*message*
*description* _The server encountered an internal
error () that
pre
[EMAIL PROTECTED] wrote:
Ted Husted wrote:
On 4/1/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
For example what is the name space here in struts applications ?
* http://struts.apache.org/2.x/docs/namespace-configuration.html
The namespace should not affect validation.
but nothing is ha
Ted Husted wrote:
On 4/1/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
For example what is the name space here in struts applications ?
* http://struts.apache.org/2.x/docs/namespace-configuration.html
The namespace should not affect validation.
but nothing is happening and no validation
Hello everyone:
I am totally new to struts. I decided to go with struts 2. But the
documentation is not complete, and I believe alot of you may agree with me.
The example on this page
http://struts.apache.org/2.0.6/docs/validating-input.html says that the
validation file follows the name con
That's exactly what I was talking about. I can not follow the tutorial
or the example if there's a page missing or a piece of code that is missing.
Dave Newton wrote:
--- Laurie Harper <[EMAIL PROTECTED]> wrote:
[...] all worked fine.
An error occurred:
http://svn.apache.org/repos/
Do you have any idea about who maintains the documentation. I am new to
struts, and started with Struts 2.
The examples pages on the validation section are all broken. Whom should
I contact for this?
Ted Husted wrote:
On 3/29/07, Cecilia Castillo <[EMAIL PROTECTED]> wrote:
I do have some is
Hello every one:
I am looking for a way to pass a resultSet or cachedRowSet to a jsp
page, and display the results in a dataGrid.
The behavior I am looking for is similar to the one offered by Struts
Layout http://struts.application-servers.com/intro/layout.html.
Unforetunatly Struts-Layout doe
hello every one:
I am new to struts but I have a collection of examples and tutorials (I
believe for struts 1). I have been reading through these tutorial and
now that I am about to start some thing, I found that struts 2.0 is
totally different. For example, there's no struts-html.tld in struts
28 matches
Mail list logo