<snip>
 tend to steer clear of using properties like ID, URL, HTML, etc...
</snip>

Ive adopted the convention of always treating them as though they are just
words rather than acronymns. ie:

getHtml() { return _html; }
getUrl()
getId()
etc...

If you can get whoevers doing the other layers to follow such a convention
it also helps remove confusion that can lead to you having to remeber
several different versions of the same thing:
UID
uID
uId
uID
Uid
uid...


-----Original Message-----
From: Robert Taylor [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 14 April 2004 00:35
To: Struts Users Mailing List
Subject: RE: Jasper error


Have you tried this?

<html-el:hidden property="ID" value="${teacher.ID}"/>

The other option is to populate your form in the action which is
called prior to displaying this page. If you do this, then you
can simply just use:

<html:hidden property="ID"/>


If you are still having problems, you might consider changing
your property "ID" to "id". The JavaBean spec might be funny about
properties beginning with two capital letters. I could be wrong, but
I tend to steer clear of using properties like ID, URL, HTML, etc...

robert

> -----Original Message-----
> From: as as [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 13, 2004 12:09 PM
> To: Struts Users Mailing List
> Subject: RE: Jasper error
>
>
> I just changed Html:hidden to html-el:hidden as follows:
>
> <html-el:hidden property="ID" value='<bean:write name="teacher"
property="ID"/>'/>
>
>
>
>
>
> I did note the valuable suggestions provided by archive members about not
needing to specify value above..and just
> use...<html-el:hidden property="ID">.....
>
> I am running the whole large app now so hopefully there is no run time
error too
>
> Previously I was getting compile errors and jasper was fine when I
replcaed html:hidden with html-el:hidden
>
>
> Wendy Smoak <[EMAIL PROTECTED]> wrote:
> > From: as as [mailto:[EMAIL PROTECTED]
> > Thanks all
> > I started using html-el tags and seems to run fine.
>
> What was your solution? For the archives if nothing else... It's very
> frustrating to find a thread with the *exact* problem you are facing,
> only to find that it ends with "Thanks, it's fixed!"
>
> --
> Wendy Smoak
> Application Systems Analyst, Sr.
> ASU IA Information Resources Management
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------
> Do you Yahoo!?
> Yahoo! Small Business $15K Web Design Giveaway - Enter today

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to