cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Siraj Shakil <shakilsi...@yahoo.com>
Subject Re: How do i get the value of the autosave-uploads parameter?
Date Fri, 16 May 2003 15:32:09 GMT
thanks Geoff. I tried many different things whole day
long :> and came to the conclusion that checking the
object type would be the simplest solution. i didn't
try the get method. will check that out .. 

best regards, Shakil

--- Geoff Howard <cocoon@leverageweb.com> wrote:
> normally, in 2.0.x you don't need to do this - you
> can tell if you got
> a FilePartArray, or FilePartFile with instanceof,
> and that tells you
> what it's set to.  However, if you really need to,
> just try using
> "autosave-uploads" in context.get().
> 
> HTH,
> Geoff Howard
> 
> At 12:27 AM 5/16/2003, you wrote:
> >Hello All,
> >
> >Is there anyway i can get the value of
> >"autosave-uploads"  parameter using Java Code? I
> mean
> >"true/false"?
> >
> >I know of getting the upload directory path using:
> >( File ) context.get( Constants.CONTEXT_UPLOAD_DIR
> )
> >).getPath() from the Context object. Anything like
> >that?
> >
> >Please help me out.Thanks in advance.
> >
> >Best regards,
> >Shakil
> >
> >__________________________________
> >Do you Yahoo!?
> >The New Yahoo! Search - Faster. Easier. Bingo.
> >http://search.yahoo.com
> >
>
>---------------------------------------------------------------------
> >To unsubscribe, e-mail:
> cocoon-users-unsubscribe@xml.apache.org
> >For additional commands, e-mail:
> cocoon-users-help@xml.apache.org
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail:
> cocoon-users-help@xml.apache.org
> 


__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org


Mime
View raw message