Nikolaos Giannopoulos wrote:
Aaron,
You shouldn't avoid hard-coding values in a JSP... even if it
something as simple as a default value.
Ha... er... "should avoid"
Have you tried putting the value as a constant in your action bean and
referring to it from there?
(the idea is if you have multiple JSPs then the value need only be
maintained in one place)
If it works drop us a note as I am curious about this issue as well... .
--Nikolaos
Aaron Stromas wrote:
Greetings,
My application has a counttry property whose value eventually will be
input in the form but for now is defaulted to "US", so I attempted to
put it in the hidden field in the JSP:
<stripes:hidden name="country" value="US"/>
The generated HTML is
<input type="hidden" name="country" value=""/>
The same HTML is generated for <stripes:hidden
name="country">US</stripes:hidden>.
The oddest thing is that the value is stripped and the same HTML is
produced when I put <input type="hidden" name="country" value="US"/>
directly in JSP.
Is Websphere's JSP engine sabotaging the works? Anybody knows? Just
curious...
Thanks,
-a
--
Aaron Stromas
Mobile: +1 703 203 9169
------------------------------------------------------------------------
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
------------------------------------------------------------------------
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users
------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users