2001 4:49 PM
To: [EMAIL PROTECTED]
Subject: Re: nesting bean:write inside of html:link
As a workaround, I wrote an 'eval' tag that captures its content to a
bean. You can bind the content to a scripting variable and use the
variable. It's ugly but it works.
So, you'd d
cc:
Subject: Re: nesting bean:write inside of
html:link
ike this is not allowed in JSP (another of its
>> weaknesses IMO).
>>
>> Tom Tibbetts wrote:
>>
>>> Hi All. Is it possible to nest a bean:write inside of html:link
>>> such as you have the following:
>>>
>>> " >link text
>>>
>>> When I do this I get an error that attribute somebean is not found,
>>> even though it does exist. Thanks Tom
>>>
>>
>>
>
>
I would then agree. It's kind of a pain to create special tags to handle
stuff like this
At 12:03 PM 8/27/01 -0700, you wrote:
>Sorry - nesting like this is not allowed in JSP (another of its weaknesses
>IMO).
>
>Tom Tibbetts wrote:
>
>>Hi All. Is it possible t
Sorry - nesting like this is not allowed in JSP (another of its
weaknesses IMO).
Tom Tibbetts wrote:
> Hi All. Is it possible to nest a bean:write inside of html:link such
> as you have the following:
>
> " >link text
>
> When I do this I get an error that attri
Hi All. Is it possible to nest a bean:write inside of html:link such as
you have the following:
" >link text
When I do this I get an error that attribute somebean is not found, even
though it does exist. Thanks Tom
Check this out:
the following works fine:
<%=journal.getIssnNum()%>
<%=journal.getJournalNameString()%>
It's not working
But, if I use
instead of:
<%=journal.getIssnNum()%>
I'm told: No getter
Revised version, still same problem...
Check this out:
the following works fine:
<%=journal.getIssnNum()%>
<%=journal.getJournalNameString()%>
It's not working
But, if I use
instead of:
<%=journ
I think I'm loosing my mind. help help help!!!
In my below jsp stuff, the bean:write code works, but
the parameter outputs "none", however the bean:write
outputs correctly.
Any suggestions would be REALLY appreciated.
I do have a bean identified as logonForm with a
You are closing twice.
-Original Message-
From: Pham Thanh Quan [mailto:[EMAIL PROTECTED]]
Sent: 02 July 2001 09:48
To: [EMAIL PROTECTED]
Subject: Re: Set html:option value with bean:write
Hi Mark,
I followed your instruction and use the following code but didn't su
- Original Message -
From: Geddes, Mark (ANTS) <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 02, 2001 3:05 PM
Subject: RE: Set html:option value with bean:write
>
> Assuming your form is already associated with 'merchantForm' FormBean, and
>
I meant
-Original Message-
From: Geddes, Mark (ANTS) [mailto:[EMAIL PROTECTED]]
Sent: 02 July 2001 09:05
To: '[EMAIL PROTECTED]'
Subject: RE: Set html:option value with bean:write
Assuming your form is already associated with 'merchantForm' FormBean, and
that
ml:option value with bean:write
Hi all,
i want to set the value of html:option to the corresponding currency.id as
in the following (broken) jsp segment
Please help !
Quan
***
This em
Hi all,
i want to set the value of html:option to the corresponding currency.id as
in the following (broken) jsp segment
Please help !
Quan
David,
Thanks for the info. I do have the setters. Too lazy to include them in
my actual mail.
cheers,
Amar..
-Original Message-
From: David Winterfeldt [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 06, 2001 2:18 PM
To: [EMAIL PROTECTED]
Subject: Re: bean:write Tag and
Struts uses reflection. So if the method is there, it
will find it. You will need a setter though for the
key method or it will generate errors.
Here is an excerpt from the PropertyUtils
documentation.
Utility methods for using Java Reflection APIs to
facilitate generic property getter and set
Hi my fellow Strutters,
got an interesting question for you all to ponder. I am using the tag
in my jsp
pages.
WILL THIS WORK ? Is struts smart enough to know that i am returning a
subclass and so can call its private variable using the getter method ? I
know that introspection is bein
Geoffrey,
Your code should be working, see my working code of an iterate in an iterate
both with bean:write functionality.
Regardes,
jef
-Original Message-
From: Geoffrey Van Nuffelen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 05 June, 2001 11:28
To: Struts-User (E-Mail)
Subject
There is a working example in registration.jsp of the struts-example webapp.
> -Original Message-
> From: Geoffrey Van Nuffelen [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 05, 2001 5:28 AM
> To: Struts-User (E-Mail)
> Subject: logic:iterate or bean:write ERROR !!!
Hi all,
I always have a problem with the iterate and write tag.
If I don't specify a "bean:write" tag into an "logic:iterate" tag, I don't
have any error... But If a specify a write tag I have an exception error :
The error :
---
javax.servlet.Serv
ed
> in our javascript, and it worked just fine, however that approach
> does not work in Orion. I was wondering if anyone had an explanation to this.
> Is it simply that the jsp compiles in a different order?
>
> For example this works in Weblogic:
>
> var abc = "<bea
on to this.
Is it simply that the jsp compiles in a different order?
For example this works in Weblogic:
var abc = "<bean:write name = "formbean" property="abcde">";
However in Orion we have had to work around this problem by defining javascript
vars and de
In order for the designer to be able to view a default row in a table
(that I'm generating using iterate and jsp:getProperty--or I could use
bean:write), I want to stick in a body value in there as a dummy value.
Then the designer can open up the jsp page in the browser without it
having
o create an object of your
Pagedata class and store it in request scope with the name 'pagedata' for
this to work.
Hope this helps.
--
Martin Cooper
- Original Message -
From: "hunkpapa" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 05, 200
hi i try to use the bean:write in my jsp-file:
I've made a class with the name Pagedata.class in the web-inf\class
dir.
If i try to run the JSP this message come:
...
Root cause:
javax.servlet.jsp.JspException: Cannot find bean Pagedata in scope
request
301 - 325 of 325 matches
Mail list logo