On 9/15/05, Holshausen, Ron <[EMAIL PROTECTED]> wrote:
>
> Hi Geeta,
>
> Just to let you know that one of the changes that was made to the JSF
> spec was to integrate the JSTL and JSF, so you could use c:forEach with
> JSF UI components. So using JSTL is still ok, I do. And I think it will
> be a
Hi Geeta,
Just to let you know that one of the changes that was made to the JSF
spec was to integrate the JSTL and JSF, so you could use c:forEach with
JSF UI components. So using JSTL is still ok, I do. And I think it will
be around for a while.
-Original Message-
From: [EMAIL PROTECTED]
Thankx a lot!!!
It worked
best regds,
AMOL YADWADKAR | Software Engineer | M P H A S I S Architecting Value|
IT SERVICES
2nd Floor, The Leela Business Park, Andheri Kurla Road, Andheri(E),
Mumbai 400059|
Tel: 91 22 5677 Extn 5356 | Fax: 91 22 5600| Cell : 9819011934 |
www.mphasis.com
HI
I dont know about Cactus . But Struts 1.2 onwards only more than one
struts-config files are allowed that to be in this manner
action
com.struts.action.ActionServlet
/// THis is for Defalut
config
/WEB-INF/struts-confi
What I use:
First I store the ArrayList in the application context, with the locale
identifies concatenated.
And other useful localized strings that are constants.
context.setAttribute(lang + "_" + Constants.YEAR_MONTHS, ym);
And in the action where there is a forward that will display that
From: <[EMAIL PROTECTED]>
The resulting href becomes the following by display the source page on IE.
It is so strange that both http://localhost:8080/erp/
and http://localhost:8080/erp/addUserProfile.do
cannot display with css.
Not so strange, unless the stylesheet is in the ROOT context (
Hello,
I have my dynamically sized form working with the use of a
DynaValidatorForm. However, when I enter data in the 'quantity' fields (see
JSP code shown below) the newly typed value is not populated into the form
on submission i.e. my UpdateCartAction form contains the old values.
Pleas
Thanks Laurie. Btw, I actually meant the application
context, not the session.
--- Laurie Harper <[EMAIL PROTECTED]> wrote:
> Jadeler wrote:
> > Im using a struts plugin to populate application
> wide
> > data such list of values, etc from the database
> and
> > then stored in a session. I al
I have tried both suggestion.
Still no luck and even worse.
The resulting href becomes the following by display the source page on IE.
It is so strange that both http://localhost:8080/erp/
and http://localhost:8080/erp/addUserProfile.do
cannot display with css.
Eventuallt, I change the href t
Jadeler wrote:
Im using a struts plugin to populate application wide
data such list of values, etc from the database and
then stored in a session. I also use the application
resources bundles for text messages, labels, etc on my
jsp pages.
For displaying data pertaining to the locale the use
Thanks Ron,
I am using a jsp:getProperty and this is the code that is failing...
I finally solved it by running a full clean & build. The builds I was running
were not
enough to compile some older versions of the programs that used a different
bean
identifier.
Thanks again.
Kind regards
mc
Im using a struts plugin to populate application wide
data such list of values, etc from the database and
then stored in a session. I also use the application
resources bundles for text messages, labels, etc on my
jsp pages.
For displaying data pertaining to the locale the user
has selected (da
Amol Yadwadkar wrote:
Hi List,
I am using Validation Framework.
property="clientTaxId"
depends="required,mask" >
mask
${taxid}
In the above when mask rule fails it picks up the message against the
errors.invalid key in the p
It's been rather a long time since I used Cactus so I can't rememner the
details of how you set things up, but are you sure that struts-my.xml is
being read in when you run your cactus tests?
L.
Carl Smith wrote:
I have two struts-config.xml files. One is Struts default struts-config.xml and
Whether or not the exception could provide more specific information is
a question for the Tomcat developers (Jasper is part of Tomcat, not
Struts). My guess is that it would be non-trivial, but I encourage you
to head over to tomcat-user and ask, since better error reporting is
always a good t
Why would appending the session ID to the URL prevent Apache from
passing the request to Jrun? Sounds like an Apache mis-configuration to
me. I don't know how you configure Apache to 'recognise [something] as a
jrun file' but that's what you need to be looking at.
L.
Zoran Avtarovski wrote:
I think by default the CactusStrutsTestCase reads the /WEB-INF/struts-
config.xml only. If you have multiple config files you would have to set the
appropriate config file in your test method. For eg:
public void testDisplay() throws Exception {
setConfigFile("/WEB-INF/struts-config.xml,/WEB-INF/
I have two struts-config.xml files. One is Struts default struts-config.xml and
the other one is called
struts-my.xml. and I have configued these two xml files in web.xml so that
ActionServlet can take both struts-config.xml
and struts-my.xml. See following:
action
org.apache.struts.ac
I'm making a guess, since I'm too lazy to check the actual jsp source
code, but i would assume, that bean:define defines the variable to the
scope page and ties it to the page for scripting.
When you perform your:
isEmpty = false; you change the value of the scripting variable, but
not the one fr
looks for an attribute with the given "name" and compares for
equality with the given "value". not only creates a scripting
variable but also puts an attribute with the same name. Here you only modify
the value of the scripting variable and not the "attribute" value, which is
what the is goi
Guys, I have the following pseudo-code:
// begin: some iteration
<%isEmpty="false";%>
// end: some iteration
... then I want to test if isEmpty is true. The body of following code
always get executed:
// some code that always run
... though, the behavior I expected
Hi Yaahov,
This is the kind of thing that a filter would probably be good for.
Although I don't think it will do explicitly what you want, have a look at
the CacheControlFilter in Java Web Parts:
http://javawebparts.sourceforge.net/javadocs/index.html
And the source:
http://prdownloads.sourcef
The Struts framework does not provide any sort of caching strategy.
You could certainly provide your own extension to ActionServlet and
roll your own, but such an effort is completely outside of the scope
of this framework.
Hope that helps.
--
James Mitchell
Software Engineer / Open Sourc
[EMAIL PROTECTED] (Gary VanMatre) wrote on 09/15/2005 02:35:47 PM:
> A commandLink with a target attribute would work if you didn't need
> to control the window size and jazz.
Gary, thanks for your response... Nope, they want the jazz, so i guess I'm
stuck with javascript..(:(
>
> >2. I have
>However, the specs changed..(:( and I had to add Javascript (window.open
>stuff), so now I have to open a *new* window from my parent window in
>order to show assessment.jsp. And of course this means my AssessmentBean
>is no longer initialised. My current solution is to place the bean in
>sess
I was thinking that one could use javascript if you wanted to have a
button that would do a "print preview", and then swap the css display
attribute for the media types. I guess it's not really that useful,
but still "neat" to modify the style on the fly :-)
-ed
On 9/15/05, [EMAIL PROTECTED] <[EM
Ed,
I'm not sure why you would need to use javacript to change the the media
attribute. If you just output the both at the same time, the styles with
media set to screen get applied only on your monitor and while the
media=print styles are ignored. The reverse is true when you send the page
t
Is there a way in Struts to tell a client issuing a conditional GET
request not to re-execute the action?
In a regular servlet you can just implement logic in the
getLastModified method. Is there something similar in Struts?
Thanks,
Yaakov.
---
[EMAIL PROTECTED] wrote on 09/15/2005 11:32:03 AM:
>
> Also in AssessmentBean.prerender(), I have code to initialise my
> AssessmentBean so that /assessment.jsp can render nicely.
oops, sorry, I meant in *WorkListBean*.prerender()" I have code etc...
Thanks,
Geeta
First off, my Shale work seems to be moving along nicely, so I want to
thank everyone who has helped me get to this point..:)
I have a link in a "parent window" pointing to
WorkListBean.startAssessment(). In WorkList.startAssessment(), I return
an outcome of "showAssessment", which in faces-co
Hi Kishore,
Thank you for the hint. That is great. I was worry that I need must more work
to get it done that way. Can you give a example on the processing on the list
of items that you mentioned in this email. Sorry I am newbie on this subject.
Thank again.
Regards,
Kam Lung Leung
Stru
OOps, i didn t checked the welcome-file directive. I didn t found a
situation where you want to access your forward jsp directly. :-[
Holshausen, Ron escribió:
Hi,
You're using an relative path to your css file (css/screen.css), so the
user page with path /user/... does it find it as it expe
Hi,
You're using an relative path to your css file (css/screen.css), so the
user page with path /user/... does it find it as it expects it in
/user/css/screen.css.
One way to solve it is to use a tag to render the full path to the css
file, e.g,
"
type="text/css"
media="screen, print" />
With
You have distinct code in both url's. It is imposible that one work and
the other doesnt work if you have the *same* displaytag configuration
and css and other needed files declared in both jsp. Because they are at
same url level ( /erp/ )
梁炳場 escribió:
For this link, http://localhost:8080/
For this link, http://localhost:8080/erp/
displaytag is okay to display with css beautifully.
For this link, http://localhost:8080/erp/addUserProfile.do
all the css effect disappear.
my web.xml
/user/addUserProfile.jsp
my jsp file has a css line
my struts mapping is
Hi List,
I am using Validation Framework.
mask
${taxid}
Wojciech Ciesielski wrote:
Hi there,
It's a bit off topic ;-) Does any of you know of some free/shareware editor
or eclipse plug-in allowing transforming Unicode text into ISO-8859-1
escaped strings?
We usually just edit out files (i.e. *.properties) with our editors in
UTF-8 and feed them
Hi there,
It's a bit off topic ;-) Does any of you know of some free/shareware editor
or eclipse plug-in allowing transforming Unicode text into ISO-8859-1
escaped strings?
TIA
Wojtek
-
To unsubscribe, e-mail: [EMAIL PROTECTE
Hi Murray,
I would guess that you are using on an object that
is null. Check your objects that you are accessing in the page. If the
data is coming from a database, it could be a null column.
-Original Message-
From: Murray Collingwood [mailto:[EMAIL PROTECTED]
Sent: 15 September 2005 1
"Murray Collingwood" <[EMAIL PROTECTED]> wrote on 09/15/2005
09:18:32 AM:
> org.apache.jasper.JasperException: Attempted a bean operation on a
> null object.
>
> org.apache.jasper.runtime.JspRuntimeLibrary.
> handleGetProperty(JspRuntimeLibrary.ja
> va:601)
>
Hi Murray, take a look at line 18
Hi all
I came across this message this afternoon. I've tried stepping through with
the
debugger but can't seem to work out why I keep getting this error. The code
appears to
be okay, the bean and property are set correctly. I'm assuming it is something
in my
"display.jsp" file but there i
This is a creative idea for presentation, and the attribute can be
changed by simple javascript. But, there might be an application
access/security issue with this if this method is used for display of
read-only data, as you are sending an editable version of the form
even though it's hidden. Some
I think the *cleanest* way is to format data at presentation layer
(jsp). Last example from Laurie is quite correct and clean, if it is too
long code let get a try with JSTL and
Struts-EL taglibs ()
Michael Ewers escribió:
Hi,
To avoid misunderstandings: My goal is to have a DynaActionForm
Hi,
To avoid misunderstandings: My goal is to have a DynaActionForm
definition's "initial"-value translated in a locale specific manner so
that e.g. the -tag displays a initial="1,001.00" as a
"1.001,00" in German locale Browsers.
After reading some struts-code I think that the best (meaning
I'm trying to write a MockStrutsTestCase to upload a file onto the server
and the details regarding th file will be stored in the database.
I have written the test case on lines of the code provided here :
http://sourceforge.net/forum/forum.php?thread_id=1265326&forum_id=121751
My problem also
I'm trying to write a MockStrutsTestCase to upload a file onto the server
and the details regarding th file will be stored in the database.
I have written the test case on lines of the code provided here :
http://sourceforge.net/forum/forum.php?thread_id=1265326&forum_id=121751
My problem also
I suggest to check the file _index.java at line 215. Look up for it at
your .jsps precompile dir, or IAS deployment dir. The only way to get
any hint is to see the precompile jsp code.
Compare that line both development and production.
EROL TEZCAN escribió:
We dont use ADF, Martin. But this a
47 matches
Mail list logo