Re: Unable to add value in

2011-05-21 Thread vivek mishra
Yeh exactly it's my ownership .[?].. I was trying to find out if could
acheive this using struts functionality.. Though I have a solution for this
requirement already but that would be a hacky way.

Many Thanks for your help ..:)

Vivek

On Fri, May 20, 2011 at 10:26 PM, Dave Newton  wrote:

> I did, I suggested ActiveX, applets, and Flash. It was noted that these
> would need to be signed ("trusted").
>
> The behavior you're seeing is just how browsers work. This is a requirement
> you cannot meet in the same timeframe as your original estimate.
>
> If it were me, I'd do two things:
>
> 1) Take ownership of the oversight (if it was really my oversight,
> otherwise
> whoever agreed to this functionality would need to fess up), and
>
> 2) give the client two choices: pick something else to do during the time
> it'd take to do the applet/etc., r delay something else so you have the
> time
>
>
> Dave
>  On May 20, 2011 11:12 PM, "vivek mishra"  wrote:
>


RE: Unable to add value in

2011-05-21 Thread Jason Pyeron
Why don't you try to do your validation as AJAX, so you never submit the page
until it does have the correct "filename/path"?
 
(I am assuming that javascript can read the filename/path attribute, just not
set it; test with an onclick:alert(property...) )
 
The remainder is up to you to figure out how to write your javascript, or hire a
consultant to do it for you. If you are looking for people on the cheap (I am
not cheap) google for freelancer type sites.
 
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us
  -
- Principal Consultant  10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.

 


  _  

From: vivek mishra [mailto:mishravive...@gmail.com] 
Sent: Saturday, May 21, 2011 5:05
To: Struts Users Mailing List
Subject: Re: Unable to add value in 


Yeh exactly it's my ownership ... I was trying to find out if could acheive this
using struts functionality.. Though I have a solution for this requirement
already but that would be a hacky way. 
 
Many Thanks for your help ..:)
 
Vivek


On Fri, May 20, 2011 at 10:26 PM, Dave Newton  wrote:


I did, I suggested ActiveX, applets, and Flash. It was noted that these
would need to be signed ("trusted").

The behavior you're seeing is just how browsers work. This is a requirement
you cannot meet in the same timeframe as your original estimate.

If it were me, I'd do two things:

1) Take ownership of the oversight (if it was really my oversight, otherwise
whoever agreed to this functionality would need to fess up), and

2) give the client two choices: pick something else to do during the time
it'd take to do the applet/etc., r delay something else so you have the time


Dave
 On May 20, 2011 11:12 PM, "vivek mishra"  wrote:





RE: What is getModel() for?

2011-05-21 Thread Jason Pyeron
> -Original Message-
> From: Eric Lentz 
> Sent: Friday, May 20, 2011 8:56
> To: Struts Users Mailing List
> Subject: Re: What is getModel() for?
> 
> >"Getting" is not always the same thing as "instantiating" and/Or
> "initializing".
> 
> That's an *excellent* point! Well said. It would be great, 

Not to be a bah humbug type of person, but the constructor is for initializing,
and the getters are for getting.

> IMO, to call 
> that out in the documentation and expand on what that means. 

I guess, one could mention in the javadoc that you have no control how many
times the getModel() could get called, and that it should return the "same"
object each time in a given lifecycle...

> What's the 
> process for doing that? 
> 



--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Principal Consultant  10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.

 


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: Unable to add value in

2011-05-21 Thread Chris Pratt
I'm pretty sure javascript can't get the file path in modern browsers, only
the name.
  (*Chris*)

On Sat, May 21, 2011 at 11:22 AM, Jason Pyeron  wrote:

> Why don't you try to do your validation as AJAX, so you never submit the
> page
> until it does have the correct "filename/path"?
>
> (I am assuming that javascript can read the filename/path attribute, just
> not
> set it; test with an onclick:alert(property...) )
>
> The remainder is up to you to figure out how to write your javascript, or
> hire a
> consultant to do it for you. If you are looking for people on the cheap (I
> am
> not cheap) google for freelancer type sites.
>
> --
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> -   -
> - Jason Pyeron  PD Inc. http://www.pdinc.us
>   -
> - Principal Consultant  10 West 24th Street #100-
> - +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
> -   -
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> This message is copyright PD Inc, subject to license 20080407P00.
>
>
>
>
>   _
>
> From: vivek mishra [mailto:mishravive...@gmail.com]
> Sent: Saturday, May 21, 2011 5:05
> To: Struts Users Mailing List
> Subject: Re: Unable to add value in 
>
>
> Yeh exactly it's my ownership ... I was trying to find out if could acheive
> this
> using struts functionality.. Though I have a solution for this requirement
> already but that would be a hacky way.
>
> Many Thanks for your help ..:)
>
> Vivek
>
>
> On Fri, May 20, 2011 at 10:26 PM, Dave Newton 
> wrote:
>
>
> I did, I suggested ActiveX, applets, and Flash. It was noted that these
> would need to be signed ("trusted").
>
> The behavior you're seeing is just how browsers work. This is a requirement
> you cannot meet in the same timeframe as your original estimate.
>
> If it were me, I'd do two things:
>
> 1) Take ownership of the oversight (if it was really my oversight,
> otherwise
> whoever agreed to this functionality would need to fess up), and
>
> 2) give the client two choices: pick something else to do during the time
> it'd take to do the applet/etc., r delay something else so you have the
> time
>
>
> Dave
>  On May 20, 2011 11:12 PM, "vivek mishra"  wrote:
>
>
>
>


RE: Unable to add value in

2011-05-21 Thread Jason Pyeron
> -Original Message-
> From: Chris Pratt [mailto:thechrispr...@gmail.com] 
> Sent: Saturday, May 21, 2011 16:10
> To: Struts Users Mailing List
> Subject: Re: Unable to add value in 
> 
> I'm pretty sure javascript can't get the file path in modern 
> browsers, only the name.
>   (*Chris*)

Tested IE8: full path
firefox 4: file name






test



> 
> On Sat, May 21, 2011 at 11:22 AM, Jason Pyeron 
>  wrote:
> 
> > Why don't you try to do your validation as AJAX, so you 
> never submit 
> > the page until it does have the correct "filename/path"?
> >
> > (I am assuming that javascript can read the filename/path 
> attribute, 
> > just not set it; test with an onclick:alert(property...) )
> >
> > The remainder is up to you to figure out how to write your 
> javascript, 
> > or hire a consultant to do it for you. If you are looking 
> for people 
> > on the cheap (I am not cheap) google for freelancer type sites.
> >
> > --
> > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> > -   -
> > - Jason Pyeron  PD Inc. http://www.pdinc.us
> >   -
> > - Principal Consultant  10 West 24th Street #100-
> > - +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
> > -   -
> > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> > This message is copyright PD Inc, subject to license 20080407P00.
> >
> >
> >
> >
> >   _
> >
> > From: vivek mishra [mailto:mishravive...@gmail.com]
> > Sent: Saturday, May 21, 2011 5:05
> > To: Struts Users Mailing List
> > Subject: Re: Unable to add value in 
> >
> >
> > Yeh exactly it's my ownership ... I was trying to find out if could 
> > acheive this using struts functionality.. Though I have a 
> solution for 
> > this requirement already but that would be a hacky way.
> >
> > Many Thanks for your help ..:)
> >
> > Vivek
> >
> >
> > On Fri, May 20, 2011 at 10:26 PM, Dave Newton 
> 
> > wrote:
> >
> >
> > I did, I suggested ActiveX, applets, and Flash. It was noted that 
> > these would need to be signed ("trusted").
> >
> > The behavior you're seeing is just how browsers work. This is a 
> > requirement you cannot meet in the same timeframe as your 
> original estimate.
> >
> > If it were me, I'd do two things:
> >
> > 1) Take ownership of the oversight (if it was really my oversight, 
> > otherwise whoever agreed to this functionality would need 
> to fess up), 
> > and
> >
> > 2) give the client two choices: pick something else to do 
> during the 
> > time it'd take to do the applet/etc., r delay something else so you 
> > have the time
> >
> >
> > Dave
> >  On May 20, 2011 11:12 PM, "vivek mishra" 
>  wrote:
> >
> >
> >
> >
> 


--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
-   -
- Jason Pyeron  PD Inc. http://www.pdinc.us -
- Principal Consultant  10 West 24th Street #100-
- +1 (443) 269-1555 x333Baltimore, Maryland 21218   -
-   -
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
This message is copyright PD Inc, subject to license 20080407P00.

 


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: syntax for passing java contents inside jsp using struts 2.2.1

2011-05-21 Thread inception
Hi...


I want to hold a unique names for the  tags during its loop.
for example:




**
in each iteration attribut "list" value should be changed  to test[followed
by iteration count] 

so that  at the end of iteration i get like



 and so on.. 






--
View this message in context: 
http://struts.1045723.n5.nabble.com/syntax-for-passing-java-contents-inside-jsp-using-struts-2-2-1-tp4406269p4411815.html
Sent from the Struts - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: DoJo Plugin for struts 2.0.11

2011-05-21 Thread cuteshweta24
I have added the jar in the specified folder,
still i m getting the message
"/WEB-INF/lib/struts2-dojo-plugin-2.2.3"

please suggest

--
View this message in context: 
http://struts.1045723.n5.nabble.com/DoJo-Plugin-for-struts-2-0-11-tp3484007p4411808.html
Sent from the Struts - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



Re: syntax for passing java contents inside jsp using struts 2.2.1

2011-05-21 Thread Dave Newton
Why not just put the lists in a map or collection?

Dave
 On May 21, 2011 7:21 PM, "inception"  wrote:
> Hi...
>
>
> I want to hold a unique names for the  tags during its
loop.
> for example:
> 
> 
>  list="test
> 
> **
> in each iteration attribut "list" value should be changed to test[followed
> by iteration count]
>
> so that at the end of iteration i get like
>
>  list="test1"
> 
>  list="test2"
> 
>  list="test3"
>  and so on..
>
>
>
>
>
>
> --
> View this message in context:
http://struts.1045723.n5.nabble.com/syntax-for-passing-java-contents-inside-jsp-using-struts-2-2-1-tp4406269p4411815.html
> Sent from the Struts - User mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> For additional commands, e-mail: user-h...@struts.apache.org
>


Re: syntax for passing java contents inside jsp using struts 2.2.1

2011-05-21 Thread mead
you may write a struts tag or jspTaglib,

regards,
mead

On 2011-5-22, at 7:29, Dave Newton  wrote:

> Why not just put the lists in a map or collection?
> 
> Dave
> On May 21, 2011 7:21 PM, "inception"  wrote:
>> Hi...
>> 
>> 
>> I want to hold a unique names for the  tags during its
> loop.
>> for example:
>> 
>> 
>> > list="test
>> 
>> **
>> in each iteration attribut "list" value should be changed to test[followed
>> by iteration count]
>> 
>> so that at the end of iteration i get like
>> 
>> > list="test1"
>> 
>> > list="test2"
>> 
>> > list="test3"
>>  and so on..
>> 
>> 
>> 
>> 
>> 
>> 
>> --
>> View this message in context:
> http://struts.1045723.n5.nabble.com/syntax-for-passing-java-contents-inside-jsp-using-struts-2-2-1-tp4406269p4411815.html
>> Sent from the Struts - User mailing list archive at Nabble.com.
>> 
>> -
>> To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
>> For additional commands, e-mail: user-h...@struts.apache.org
>> 

-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org