Re: Dojo trouble after upgrade

2009-09-21 Thread Scott Nesbitt

I had to change the JSP file from this:

sx:head/

to this

sx:head 
baseRelativePath=../struts/dojo/

I think this is either a bug or an undocumented change to the 2.1 upgrade 
process, but I am happy it is working.

Scott



- Original Message 
From: Scott Nesbitt scottnesb...@yahoo.com
To: Struts Users Mailing List user@struts.apache.org
Sent: Thursday, September 17, 2009 2:56:56 PM
Subject: Re: Dojo trouble after upgrade


Yes, I have read the Struts 2 Wiki and the migration guide.  I still have a  
problem where non-Dojo request are done like this:

GET /appPrefix/myApp/html/yui/calendar-min.js HTTP/1.1

And Dojo requests are done like this:

GET /myApp/struts/dojo/dojo.js.uncompressed.js HTTP/1.1

Somehow the appPrefix is not getting sent with the Dojo GETs.  With Struts 
2.0.6 this was not a problem, and I was wondering if it is due to with a 
pathing change.

Scott



- Original Message 
From: Struts Two struts...@yahoo.ca
To: Struts Users Mailing List user@struts.apache.org
Sent: Thursday, September 17, 2009 2:27:47 PM
Subject: Re: Dojo trouble after upgrade

Dojo has been moved to a plugin in struts 2.1. There are more information on 
this on the struts 2 wiki site.

You are much better of using dojo natively than the plugin [which you can call 
it an old hag now :) ]

--- On Thu, 9/17/09, Scott Nesbitt scottnesb...@yahoo.com wrote:

 From: Scott Nesbitt scottnesb...@yahoo.com
 Subject: Dojo trouble after upgrade
 To: user@struts.apache.org
 Received: Thursday, September 17, 2009, 5:03 PM
 
 I upgraded from 2.0.6 to 2.1.6 and am experiencing pathing
 trouble with Dojo files.
 
 Before upgrade:
 
 script type=text/javascript  
 src=../struts/simple/dojoRequire.js/script
 
 After upgrade:
 
 script 
 language=JavaScript type=text/javascript  
 src=/myApp/struts/ajax/dojoRequire.js/script
 
 
 Somehow /myApp is getting inserted into thepath instead
 of ..
 
 Anybody know of how this replacement happens?  Is
 there a way to make it use the relative pathing?
 
 Thanks for any tips or pointers.
 
 Scott
 
 
  
 
 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org
 
 


  __
Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/

-
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



Re: Dojo trouble after upgrade

2009-09-19 Thread Scott Nesbitt

I am starting to wonder if this is a bug in the way Struts 2.1 is generating 
the Dojo includes.  Has anyone else noticed the different paths?  Does anyone 
know how Struts is taking this:

sx:head/

And generating the various includes like this:


link rel=stylesheet href=/myApp/struts/xhtml/styles.css type=text/css/

When in 2.0 it generated


link rel=stylesheet href=../struts/xhtml/styles.css type=text/css/

I tried tweaking the baseRelativePath option but it changed only the stuff in 
djConfig, not the includes.

Thanks,

Scott
 


- Original Message 
From: Scott Nesbitt scottnesb...@yahoo.com
To: Struts Users Mailing List user@struts.apache.org
Sent: Thursday, September 17, 2009 2:56:56 PM
Subject: Re: Dojo trouble after upgrade


Yes, I have read the Struts 2 Wiki and the migration guide.  I still have a  
problem where non-Dojo request are done like this:

GET /appPrefix/myApp/html/yui/calendar-min.js HTTP/1.1

And Dojo requests are done like this:

GET /myApp/struts/dojo/dojo.js.uncompressed.js HTTP/1.1

Somehow the appPrefix is not getting sent with the Dojo GETs.  With Struts 
2.0.6 this was not a problem, and I was wondering if it is due to with a 
pathing change.

Scott



- Original Message 
From: Struts Two struts...@yahoo.ca
To: Struts Users Mailing List user@struts.apache.org
Sent: Thursday, September 17, 2009 2:27:47 PM
Subject: Re: Dojo trouble after upgrade

Dojo has been moved to a plugin in struts 2.1. There are more information on 
this on the struts 2 wiki site.

You are much better of using dojo natively than the plugin [which you can call 
it an old hag now :) ]

--- On Thu, 9/17/09, Scott Nesbitt scottnesb...@yahoo.com wrote:

 From: Scott Nesbitt scottnesb...@yahoo.com
 Subject: Dojo trouble after upgrade
 To: user@struts.apache.org
 Received: Thursday, September 17, 2009, 5:03 PM
 
 I upgraded from 2.0.6 to 2.1.6 and am experiencing pathing
 trouble with Dojo files.
 
 Before upgrade:
 
 script type=text/javascript  
 src=../struts/simple/dojoRequire.js/script
 
 After upgrade:
 
 script 
 language=JavaScript type=text/javascript  
 src=/myApp/struts/ajax/dojoRequire.js/script
 
 
 Somehow /myApp is getting inserted into thepath instead
 of ..
 
 Anybody know of how this replacement happens?  Is
 there a way to make it use the relative pathing?
 
 Thanks for any tips or pointers.
 
 Scott
 
 
  
 
 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org
 
 


  __
Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/

-
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



Dojo trouble after upgrade

2009-09-17 Thread Scott Nesbitt

I upgraded from 2.0.6 to 2.1.6 and am experiencing pathing trouble with Dojo 
files.

Before upgrade:

script type=text/javascript  
src=../struts/simple/dojoRequire.js/script

After upgrade:

script 
language=JavaScript type=text/javascript  
src=/myApp/struts/ajax/dojoRequire.js/script


Somehow /myApp is getting inserted into thepath instead of ..

Anybody know of how this replacement happens?  Is there a way to make it use 
the relative pathing?

Thanks for any tips or pointers.

Scott


  

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



Re: Dojo trouble after upgrade

2009-09-17 Thread Scott Nesbitt

Yes, I have read the Struts 2 Wiki and the migration guide.  I still have a  
problem where non-Dojo request are done like this:

GET /appPrefix/myApp/html/yui/calendar-min.js HTTP/1.1

And Dojo requests are done like this:

GET /myApp/struts/dojo/dojo.js.uncompressed.js HTTP/1.1

Somehow the appPrefix is not getting sent with the Dojo GETs.  With Struts 
2.0.6 this was not a problem, and I was wondering if it is due to with a 
pathing change.

Scott



- Original Message 
From: Struts Two struts...@yahoo.ca
To: Struts Users Mailing List user@struts.apache.org
Sent: Thursday, September 17, 2009 2:27:47 PM
Subject: Re: Dojo trouble after upgrade

Dojo has been moved to a plugin in struts 2.1. There are more information on 
this on the struts 2 wiki site.

You are much better of using dojo natively than the plugin [which you can call 
it an old hag now :) ]

--- On Thu, 9/17/09, Scott Nesbitt scottnesb...@yahoo.com wrote:

 From: Scott Nesbitt scottnesb...@yahoo.com
 Subject: Dojo trouble after upgrade
 To: user@struts.apache.org
 Received: Thursday, September 17, 2009, 5:03 PM
 
 I upgraded from 2.0.6 to 2.1.6 and am experiencing pathing
 trouble with Dojo files.
 
 Before upgrade:
 
 script type=text/javascript  
 src=../struts/simple/dojoRequire.js/script
 
 After upgrade:
 
 script 
 language=JavaScript type=text/javascript  
 src=/myApp/struts/ajax/dojoRequire.js/script
 
 
 Somehow /myApp is getting inserted into thepath instead
 of ..
 
 Anybody know of how this replacement happens?  Is
 there a way to make it use the relative pathing?
 
 Thanks for any tips or pointers.
 
 Scott
 
 
   
 
 -
 To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
 For additional commands, e-mail: user-h...@struts.apache.org
 
 


  __
Looking for the perfect gift? Give the gift of Flickr! 

http://www.flickr.com/gift/

-
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



Re: struts2 portlet bug RenderRequest cannot be obtained in event phase

2009-08-07 Thread Scott Nesbitt

So Ajax actions do not work in Struts portlets?  If not, do you know if there 
are plans for them to work in the future?

Thanks,

Scott



- Original Message 
From: Nils-Helge Garli Hegvik nil...@gmail.com
To: Struts Users Mailing List user@struts.apache.org
Sent: Friday, August 7, 2009 4:41:53 AM
Subject: Re: struts2 portlet bug RenderRequest cannot be obtained in event  
phase


 I have also noticed that struts form tag breaks the layout of the page. I am
 not sure if you have seen this. I will try to find out why (i.e. not
 standard html or css issue), otherwise i will use html form.

Try using the simple theme.

Nils-H

-
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



Mixing portlet with regular pages

2009-08-04 Thread Scott Nesbitt


I have an existing Struts 2.1.6 configuration that is working fine.  I am 
interested in adding a new page that contains a single portlet, and also having 
the portlet be accessed from a totally different server.  Is this possible with 
the Struts portlet plugin?

I have read the portlet plugin and tutorial pages and am about to dive into 
this but wanted to make sure it is feasible first.

Any tips or pointers would be appreciated.

Thanks,

Scott



  

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



Problem with IE6 after upgrading to 2.1

2009-07-20 Thread Scott Nesbitt


I recently upgraded from Struts 2.0.12 to 2.1.6.  Everything works fine
in IE8, but  IE6 (sometimes) hangs before it finishes downloading
everything.  One one machine it works with IE6, and on another it
hangs.  Using Fiddler2 I see that IE6 is not requesting the very last
.GIF file on the page that IE8 is requesting.

Has anybody experienced this?  

Thanks,

Scott


  

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



Migration trouble

2009-06-03 Thread Scott Nesbitt


I am migrating from Struts 2.0.11.1 to 2.1.6 and have read the
migration guide but am running into trouble.  I changed my web.xml to

filter
  filter-namestruts2/filter-name
  
filter-classorg.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter/filter-class
/filter

filter-mapping
  filter-namestruts2/filter-name
  url-pattern*.action/url-pattern
/filter-mapping

filter-mapping
  filter-namestruts2/filter-name
  url-pattern/struts/*/url-pattern
/filter-mapping


but get the following error:

Jun
3, 2009 8:11:47 AM EDT Error HTTP
BEA-101165 Could not load user defined filter in web.xml: 
org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.
Unable
to load configuration. -
file:/dun/d67loc3/nesbitjs/NNC/enames2/dev/applications/eNames2/enames/WEB-INF/classes/struts.xml:13:19
at 
com.opensymphony.xwork2.config.ConfigurationManager.getConfiguration(ConfigurationManager.java:58)

In my WEB-INF/lib I have struts2-core-2.1.6.jar so it should find the class 
fine.  

One thing I am not sure about is my struts.xml.  I am using Dojo so I added the 
following.

  dependency
 groupIdorg.apache.struts/groupId
 artifactIdstruts2-dojo-plugin/artifactId
 version2.1.6/version
  /dependency

However, I am not quite sure where to put it.  Inside the package, or just 
after the struts tag?  The migration page was not very clear on this.

Any suggestions or tips would be greatly appreciated.

Thank you,

Scott 


  

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



S2: Bug in struts or dojo? was Re: S2: Getting info from server via topic

2007-07-26 Thread Scott Nesbitt

Is this a bug in Struts 2.0.6 or Dojo 0.4?  Why would
there be garbage in the data argument?

Is this not the right way to subscribe to a topic?

Surely somebody out there is doing this.

Thank you,

Scott

--- Scott Nesbitt [EMAIL PROTECTED] wrote:

 
 Hmm, when I print out the value of the data
 argument
 it seems to have the complete text of the JSP (in
 both
 before and load sections of the function.)
 
 All the JavaScript and HTML is in this argument. 
 Could it be because this JSP is included from
 another
 JSP like this?
 
 %@ include file=sports.jsp %
 
 Thanks for the help,
 
 Scott
 
 --- Musachy Barroso [EMAIL PROTECTED] wrote:
 
  Anything that you write to the output stream on
 your
  action will be
  available on the data argument.
  
  musachy
  
  On 7/17/07, Scott Nesbitt [EMAIL PROTECTED]
  wrote:
  
  
   For this topic:
  
   dojo.event.topic.subscribe(/saveTopic,
   function(data, type, e)
   {
   // data : text returned
   // type : before, load or error
   // e: request object
 if ('load' == type)
 {
  
 }
   }
  
   When my action on the server is successful the
  type is
   set to load and things work great.  However, I
  would
   like to send some data back from the server also
  (in
   the data arg, I presume.)
  
   I posted this a week ago but got no response. 
 Is
  this
   better asked in the Dojo list?
  
   Thanks,
  
   Scott
  
  
  

 


   Park yourself in front of a world of choices in
  alternative vehicles.
   Visit the Yahoo! Auto Green Center.
   http://autos.yahoo.com/green_center/
  
  
 

-
   To unsubscribe, e-mail:
  [EMAIL PROTECTED]
   For additional commands, e-mail:
  [EMAIL PROTECTED]
  
  
  
  
  -- 
  Hey you! Would you help me to carry the stone?
  Pink Floyd
  
 
 
 
  


 Fussy? Opinionated? Impossible to please? Perfect. 
 Join Yahoo!'s user panel and lay it on us.

http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7
 
 
 

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



   

Need a vacation? Get great deals
to amazing places on Yahoo! Travel.
http://travel.yahoo.com/

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



Re: S2: YUI plugin and autocompleter

2007-07-19 Thread Scott Nesbitt

Right, I do not think it is that as it works the same
way in IE7.

Does anyone know of a workaround?  Perhaps it is just
a matter of the right CSS.

Thanks,

Scott

--- Musachy Barroso [EMAIL PROTECTED] wrote:

 I think IFrame is used by default when IE is
 detected
 
 musachy
 
 On 7/18/07, Pierre Goupil [EMAIL PROTECTED]
 wrote:
 
  I'm not sure but maybe its due to a bug in IE. See
 :
 
  http://developer.yahoo.com/yui/autocomplete/
 
  and look for the use iframe parameter. Which
 give this :
 
  myAutoComp.useIFrame = true;
 
  My 2 cents,
 
  Pierre Goupil
 
 
 
  2007/7/18, Scott Nesbitt [EMAIL PROTECTED]:
  
  
   Using the YUI plugin with the Yahoo
 autocompleter is
   working pretty well, but the autocompletion
 dropdown
   is not positioned under the textfield.  Here is
 my
   markup:
  
   s:url id=statesUrl
  action=AjaxTest
  namespace=/nodecorate
  includeParams='none'/
  
   div
 class=form-elem-titlelabelState:/label
  yui:autocompleter id=state
 name=state
 href=%{#statesUrl}
 delay=0
 forceValidOption=true
 cssStyle=width:320px

 containerCssStyle=width:320px
   /
   /div
  
   Is there something I have to do to get the
 dropdown
   positioned correctly?  Does anyone else see
 this?
  
   Thanks,
  
   Scott
  
  
  
  
  
 


   Need a vacation? Get great deals
   to amazing places on Yahoo! Travel.
   http://travel.yahoo.com/
  
  

-
   To unsubscribe, e-mail:
 [EMAIL PROTECTED]
   For additional commands, e-mail:
 [EMAIL PROTECTED]
  
  
 
 
  --
  Si le sang ne coule pas assez chaud dans tes
 veines,
  je le répandrais sur le sable pour qu'il bouille
 au soleil.
 
  (Maraxus de Kelde)
 
 
 
 
 -- 
 Hey you! Would you help me to carry the stone?
 Pink Floyd
 



   

Yahoo! oneSearch: Finally, mobile search 
that gives answers, not web links. 
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC

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



Re: S2: Getting info from server via topic

2007-07-18 Thread Scott Nesbitt

Hmm, when I print out the value of the data argument
it seems to have the complete text of the JSP (in both
before and load sections of the function.)

All the JavaScript and HTML is in this argument. 
Could it be because this JSP is included from another
JSP like this?

%@ include file=sports.jsp %

Thanks for the help,

Scott

--- Musachy Barroso [EMAIL PROTECTED] wrote:

 Anything that you write to the output stream on your
 action will be
 available on the data argument.
 
 musachy
 
 On 7/17/07, Scott Nesbitt [EMAIL PROTECTED]
 wrote:
 
 
  For this topic:
 
  dojo.event.topic.subscribe(/saveTopic,
  function(data, type, e)
  {
  // data : text returned
  // type : before, load or error
  // e: request object
if ('load' == type)
{
 
}
  }
 
  When my action on the server is successful the
 type is
  set to load and things work great.  However, I
 would
  like to send some data back from the server also
 (in
  the data arg, I presume.)
 
  I posted this a week ago but got no response.  Is
 this
  better asked in the Dojo list?
 
  Thanks,
 
  Scott
 
 
 
   


  Park yourself in front of a world of choices in
 alternative vehicles.
  Visit the Yahoo! Auto Green Center.
  http://autos.yahoo.com/green_center/
 
 

-
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 
 
 
 -- 
 Hey you! Would you help me to carry the stone?
 Pink Floyd
 



  

Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel 
and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 


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



S2: YUI plugin and autocompleter

2007-07-18 Thread Scott Nesbitt

Using the YUI plugin with the Yahoo autocompleter is
working pretty well, but the autocompletion dropdown
is not positioned under the textfield.  Here is my
markup:

s:url id=statesUrl  
   action=AjaxTest 
   namespace=/nodecorate 
   includeParams='none'/

div class=form-elem-titlelabelState:/label
   yui:autocompleter id=state 
  name=state 
  href=%{#statesUrl} 
  delay=0
  forceValidOption=true
  cssStyle=width:320px
  containerCssStyle=width:320px
/
/div

Is there something I have to do to get the dropdown
positioned correctly?  Does anyone else see this?

Thanks,

Scott


   

Need a vacation? Get great deals
to amazing places on Yahoo! Travel.
http://travel.yahoo.com/

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



S2: Getting info from server via topic

2007-07-17 Thread Scott Nesbitt

For this topic:

dojo.event.topic.subscribe(/saveTopic,
function(data, type, e)
{
// data : text returned
// type : before, load or error
// e: request object
  if ('load' == type)
  {

  }
}

When my action on the server is successful the type is
set to load and things work great.  However, I would
like to send some data back from the server also (in
the data arg, I presume.)

I posted this a week ago but got no response.  Is this
better asked in the Dojo list?

Thanks,

Scott


  

Park yourself in front of a world of choices in alternative vehicles. Visit the 
Yahoo! Auto Green Center.
http://autos.yahoo.com/green_center/ 

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



S2: how to send infor back to a subscribed topic

2007-07-12 Thread Scott Nesbitt

I have a topic like this:

dojo.event.topic.subscribe(/saveTopic,
function(data, type, e)
{
// data : text returned
// type : before, load or error
// e: request object
   if ('load' == type)
   {

   }
}

When my action on the server is successful the type is
set to load and things work great.  However, I would
like to send some data back from the server also (in
the data arg, I presume.)

I do not seen any doc or examples on how to do this. 
Could someone point me in the right direction?

Thanks,

Scott


   

Pinpoint customers who are looking for what you sell. 
http://searchmarketing.yahoo.com/

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



S2: probable bug in updownselect tag

2007-07-11 Thread Scott Nesbitt

In 2.0.6 the updownselect tag only sends items that
are selected to the server.  The documentation says
that all items in the list will be sent.

Is this a bug?  Will it be fixed in 2.1?

Thanks,

Scott


 

Expecting? Get great news right away with email Auto-Check. 
Try the Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html 

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



Re: S2: probable bug in updownselect tag

2007-07-11 Thread Scott Nesbitt

Thanks for the info, we can wait for 2.1 (assuming it
comes out in the next three months.)

Thanks again,

Scott

--- James Holmes [EMAIL PROTECTED] wrote:

 Scott,
 
 There is a bug in Struts 2.0.6 and 2.0.8 with the
 Dojo code that performs the
 auto selection of all elements. You can fix this by
 overriding the templates in
 the xhtml theme. Struts 2.1 will have a fix in place
 to resolve this issue, but
 until then the template fix is the only way to
 resolve it I believe.
 
 James
 http://jamesholmes.com/StrutsTCR/
 
 
 On Wed Jul 11 14:25 , Scott Nesbitt
 [EMAIL PROTECTED] sent:
 
 
 In 2.0.6 the updownselect tag only sends items that
 are selected to the server.  The documentation says
 that all items in the list will be sent.
 
 Is this a bug?  Will it be fixed in 2.1?
 
 Thanks,
 
 Scott
 
 
  


 Expecting? Get great news right away with email
 Auto-Check. 
 Try the Yahoo! Mail Beta.

http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html
 
 

-
 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]
 
 



 

Don't pick lemons.
See all the new 2007 cars at Yahoo! Autos.
http://autos.yahoo.com/new_cars.html 

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



S2: YUI plugin and yahoo calendar

2007-07-10 Thread Scott Nesbitt

I am evaluating the yahoo calendar and am having a bit
of trouble with the YUI plugin.  I would like to
enable multiple select on calendar but do not see an
option to set this through the plugin.

Does anyone know of a way to do this?

I tried the example code but the script in
YAHOO.util.Event.addListener function
YAHOO.datepickers.datepicker returns a null object.

Thanks,

Scott


   

Looking for a deal? Find great prices on flights and hotels with Yahoo! 
FareChase.
http://farechase.yahoo.com/

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



S2: Redirect question

2007-07-02 Thread Scott Nesbitt

We have the following: 

Select.jsp 

…… 

s:head theme=ajax debug=true/ 

……… 
   s:url id=historyUrl action=LineupHistory/ 
   s:a href=%{historyUrl} theme=ajax
formId=selectedDataLineup History/s:a 
… 

Struts.xml 

  action name=LineupHistory
class=com.mycompany.action.LineupHistoryAction 
 interceptor-ref name=timer/ 
 interceptor-ref name=completeStack/ 

 interceptor-ref name=scope 
param
name=keyglobalUserInformation/param 
param
name=sessionuserDetailsBean/param 
param
name=autoCreateSessiontrue/param 
 /interceptor-ref 

 result/html/lineup-history.jsp/result 
  /action 

Upon clicking on the url defined above in the
Select.jsp, a call is made to the LineupHistoryAction
class.  Success is returned from the class, however,
the lineup-history.jsp is not displayed in the
browser.  The original Select.jsp page is displayed.
 Any idea why the lineup-history.jsp is not being
redirected to the browser upon a return of success?  

Our redirects all work fine in other scenarios.

Thanks,

Scott




 

8:00? 8:25? 8:40? Find a flick in no time 
with the Yahoo! Search movie showtime shortcut.
http://tools.search.yahoo.com/shortcuts/#news

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



S2: autocompletion trouble in 2.0.8

2007-06-26 Thread Scott Nesbitt

Using the following code:

s:url id=autosportsteam action=LookupSportsTeam/

 s:autocompleter name=sportsTeam
  id=sportsTeam
  keyName=sportsTeamKey
  theme=ajax 
  formId=sportsForm
  href=%{#autosportsteam}
  cssStyle=width: 340px;
  dropdownHeight=180
  loadMinimumCount=2
  loadOnTextChange=true
  autoComplete=false
  showDownArrow=false
  delay=100
  searchType=substring
  forceValidOption=true/

I am getting what looks like a Dojo error: Object
error  at line 4871.

Here is what Fiddler says is the JSON I return:

[
[ALABAMA STATE UNIV HORNETS],
[ALBANY ST UNIV GOLDEN RAMS],
[BALDWIN-WALLCE CLG YELLW JCKTS],
[BALL ST UNIV CARDINALS],
[BAYLOR UNIV BEARS],
[CATAWBA COLLEGE],
]

Any ideas?  Strangely, this works on a WIN2K machine
with IE6, but fails on a WINXP machine with IE6, both
with the latest patches.

Thanks,

Scott


 

Don't get soaked.  Take a quick peak at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather

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



Re: S2: autocompletion trouble in 2.0.8

2007-06-26 Thread Scott Nesbitt

Hmm, I guess I could do that, though I would have to
learn a bit more about Freemarker above my simple
template:

[
#list options as o
[${o.description},${o.code}],
/#list
]

However, when I went back to Struts 2.0.6 and my
problem went away.  Should I change my template or
will  2.1 behave like 2.0.6?

Relatedly, I am trying to use the handy
initComboxWithDefaultValue() function posted here, but
though it seems to work initially when focus leaves
the 
field the forceValidOption=true causes it to blank. 
Debugging shows that key and value are valid.

Any suggestions?

Thanks,

Scott

--- Musachy Barroso [EMAIL PROTECTED] wrote:

 That trailing comma on IE is the mother of all
 annoyances :)
 
 musachy
 
 On 6/26/07, Toni Lyytikäinen [EMAIL PROTECTED]
 wrote:
 
  Try removing the last comma from the list like
 this:
 
  [
  [ALABAMA STATE UNIV HORNETS],
  [ALBANY ST UNIV GOLDEN RAMS],
  [BALDWIN-WALLCE CLG YELLW JCKTS],
  [BALL ST UNIV CARDINALS],
  [BAYLOR UNIV BEARS],
  [CATAWBA COLLEGE]   --
 removed comma
  ]
 
  On 6/26/07, Scott Nesbitt [EMAIL PROTECTED]
 wrote:
  
  
   Using the following code:
  
   s:url id=autosportsteam
 action=LookupSportsTeam/
  
s:autocompleter name=sportsTeam
 id=sportsTeam

 keyName=sportsTeamKey
 theme=ajax
 formId=sportsForm

 href=%{#autosportsteam}
 cssStyle=width:
 340px;
 dropdownHeight=180
 loadMinimumCount=2

 loadOnTextChange=true
 autoComplete=false
 showDownArrow=false
 delay=100
 searchType=substring

 forceValidOption=true/
  
   I am getting what looks like a Dojo error:
 Object
   error  at line 4871.
  
   Here is what Fiddler says is the JSON I return:
  
   [
   [ALABAMA STATE UNIV HORNETS],
   [ALBANY ST UNIV GOLDEN RAMS],
   [BALDWIN-WALLCE CLG YELLW JCKTS],
   [BALL ST UNIV CARDINALS],
   [BAYLOR UNIV BEARS],
   [CATAWBA COLLEGE],
   ]
  
   Any ideas?  Strangely, this works on a WIN2K
 machine
   with IE6, but fails on a WINXP machine with IE6,
 both
   with the latest patches.
  
   Thanks,
  
   Scott
  
  
  
  
  
 


   Don't get soaked.  Take a quick peak at the
 forecast
   with the Yahoo! Search weather shortcut.
  
 http://tools.search.yahoo.com/shortcuts/#loc_weather
  
  

-
   To unsubscribe, e-mail:
 [EMAIL PROTECTED]
   For additional commands, e-mail:
 [EMAIL PROTECTED]
  
  
 
 
 
 
 -- 
 Hey you! Would you help me to carry the stone?
 Pink Floyd
 



   

Got a little couch potato? 
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mailp=summer+activities+for+kidscs=bz
 

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



Re: S2: autocompletion trouble in 2.0.8

2007-06-26 Thread Scott Nesbitt

Excellent, works great.

Thanks yet again, Musachy.

Scott

--- Musachy Barroso [EMAIL PROTECTED] wrote:

 I posted the solution here the other day, off the
 top of my head (quite
 unreliable):
 
 [
 #list options as o
[${o.description},${o.code}]
   #if o_has_next,/#if
 /#list
 ]
 
 musachy
 
 On 6/26/07, Scott Nesbitt [EMAIL PROTECTED]
 wrote:
 
 
  Hmm, I guess I could do that, though I would have
 to
  learn a bit more about Freemarker above my simple
  template:
 
  [
  #list options as o
  [${o.description},${o.code}],
  /#list
  ]
 
  However, when I went back to Struts 2.0.6 and my
  problem went away.  Should I change my template or
  will  2.1 behave like 2.0.6?
 
  Relatedly, I am trying to use the handy
  initComboxWithDefaultValue() function posted here,
 but
  though it seems to work initially when focus
 leaves
  the
  field the forceValidOption=true causes it to
 blank.
  Debugging shows that key and value are valid.
 
  Any suggestions?
 
  Thanks,
 
  Scott
 
  --- Musachy Barroso [EMAIL PROTECTED] wrote:
 
   That trailing comma on IE is the mother of all
   annoyances :)
  
   musachy
  
   On 6/26/07, Toni Lyytikäinen [EMAIL PROTECTED]
   wrote:
   
Try removing the last comma from the list like
   this:
   
[
[ALABAMA STATE UNIV HORNETS],
[ALBANY ST UNIV GOLDEN RAMS],
[BALDWIN-WALLCE CLG YELLW JCKTS],
[BALL ST UNIV CARDINALS],
[BAYLOR UNIV BEARS],
[CATAWBA COLLEGE]  
 --
   removed comma
]
   
On 6/26/07, Scott Nesbitt
 [EMAIL PROTECTED]
   wrote:


 Using the following code:

 s:url id=autosportsteam
   action=LookupSportsTeam/

  s:autocompleter name=sportsTeam
   id=sportsTeam

   keyName=sportsTeamKey
   theme=ajax
  
 formId=sportsForm

   href=%{#autosportsteam}
   cssStyle=width:
   340px;
  
 dropdownHeight=180
  
 loadMinimumCount=2

   loadOnTextChange=true
  
 autoComplete=false
  
 showDownArrow=false
   delay=100
  
 searchType=substring

   forceValidOption=true/

 I am getting what looks like a Dojo error:
   Object
 error  at line 4871.

 Here is what Fiddler says is the JSON I
 return:

 [
 [ALABAMA STATE UNIV HORNETS],
 [ALBANY ST UNIV GOLDEN RAMS],
 [BALDWIN-WALLCE CLG YELLW JCKTS],
 [BALL ST UNIV CARDINALS],
 [BAYLOR UNIV BEARS],
 [CATAWBA COLLEGE],
 ]

 Any ideas?  Strangely, this works on a WIN2K
   machine
 with IE6, but fails on a WINXP machine with
 IE6,
   both
 with the latest patches.

 Thanks,

 Scott





   
  
 
 


 Don't get soaked.  Take a quick peak at the
   forecast
 with the Yahoo! Search weather shortcut.

  
 http://tools.search.yahoo.com/shortcuts/#loc_weather


  
 

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


   
  
  
  
   --
   Hey you! Would you help me to carry the stone?
   Pink Floyd
  
 
 
 
 
 
 


  Got a little couch potato?
  Check out fun summer activities for kids.
 
 

http://search.yahoo.com/search?fr=oni_on_mailp=summer+activities+for+kidscs=bz
 
 

-
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 
 
 
 -- 
 Hey you! Would you help me to carry the stone?
 Pink Floyd
 



  
___
You snooze, you lose. Get messages ASAP with AutoCheck
in the all-new Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_html.html

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



S2: updownselect

2007-06-23 Thread Scott Nesbitt


I am using the updownselect tag and things are almost
working perfectly.  Once I switched to a s:form it
sends the sorted list to the server, but the select
gets refreshed on the screen and scrolled to the
bottom despite the fact that it is not in a refreshing
div.

Has anybody else run into this?

Currently using Struts 2.0.6.

Thanks,

Scott

(Reposting this after reading about hijacking topics)


  

Shape Yahoo! in your own image.  Join our Network Research Panel today!   
http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 



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



S2: updownselect not sending complete list

2007-06-21 Thread Scott Nesbitt

I am using the updownselect tag and things are almost
working perfectly.  The only problem I have is that
the list that gets sent back to the server only
includes the rows that have been selected.  I
patterned my code after the showcase example (which
does work), but despite my best efforts I cannot get
it to send back all rows, selected or otherwise.

Any suggestions?  Has anybody else run into this?

Currently using Struts 2.0.6.

Thanks,

Scott


   

Get the free Yahoo! toolbar and rest assured with the added security of spyware 
protection.
http://new.toolbar.yahoo.com/toolbar/features/norton/index.php

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



s2 if tag question

2007-06-15 Thread Scott Nesbitt

I am having a bit of trouble using the if tag.  This
code:

labelScreen Alert:/label
input type=radio 
   name=pScreenAlert 
   s:if
test=userDetailsBean.userPreferencesBean.mmPrelimScreenAlert
== 'N'checked/s:if
   value=1Yes
input type=radio 
   name=pScreenAlert 
   s:if test=falsechecked/s:if
   value=2No

Gives this error:

DEBUG util.OgnlValueStack  - Caught an exception while
evaluating expression
'userDetailsBean.userPreferencesBean.mmPrelimScreenAlert
== 'N'' against value stack
java.lang.NumberFormatException: For input string: N

It thinks the N is a number.  I do not get the
excpetion if the string is more than one char.

Any ideas?  Using %{'N'} does not give an exception
but does not evaluate to true when it should match.

Thanks,

Scott


   

Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, 
photos  more. 
http://mobile.yahoo.com/go?refer=1GNXIC

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



Re: S2: datetimepicker and multiple date formats

2007-06-13 Thread Scott Nesbitt

Ok, you convinced me to stick to one date format:
MM/dd/yy.

However, even though my JSP looks like this:

  s:datetimepicker id=selectedDate 
name=selectedDate 
displayWeeks=5 
displayFormat= MM/dd/yy
value=%{'01/21/07'}/
   
It is still showing 01/21/2007.  Interestingly, it
allows 01/22/07 as input, but changes it to 01/22/2007
on blur.

Any suggestions?  Does the datetimepicker force a
four-digit year?  If so, is this addressed in 2.1?

My calendar will not go before the year 2007 so I am
not worried about Y2K-type issues.

Thanks,

Scott

---

Nope. I'm not so sure that's a good idea as you
wouldn't have any way 
to
parse that date on the server (without knowing the
right format).

Warning! bad advise ahead: You can always do something
crazy like:

dojo.widget.byId(dp).setValue = function(dateObj) {
};

and then do your thing there, or extend
StrusDatePicker widget, which I
would strongly advise not to :)

musachy

On 6/12/07, Scott Nesbitt [EMAIL PROTECTED]
wrote:


 I have this code:

 s:datetimepicker id=selectedDate
   name=selectedDate
   displayWeeks=5
   displayFormat= MM-dd-



 value=%{userDetailsBean.selectDateString}/

 It works fine if the user uses the drop-down or
types
 in a date in just the right format.  However, we
would
 like the following to work better:

 user input   actual value desired
 value
 --   
 -
 06-12-07 NaN-NaN-0NaN 06-12-2007
 06/13/2007   06-12-2007  (refused change) 06-13-2007
 06 13 2007   06-12-2007  (refused change) 06-13-2007
 etc.

 Basically, I would like to allow multiple date
formats
 in order to make life easier for my users.

 Can I intercept the user input somehow before it
goes
 to the validation and fix it up?

 Thanks,

 Scott





 


   

Got a little couch potato? 
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mailp=summer+activities+for+kidscs=bz
 

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



S2: How to update two separate divs using one action call?

2007-06-12 Thread Scott Nesbitt

I have some code like this that is not working:

dojo.event.topic.subscribe(/refreshTopic,
function(data, type, e) 
{ 
   if ('load' == type) 
   { 
 
dojo.event.topic.publish(/refreshCableHeadends)
  dojo.event.topic.publish(/refreshTDGrid)  

  return; 
   } 
}

Only the first div (from refreshCableHeadends) is
being refreshed, other one is being ignored.

Any ideas or suggestions?  I tried chaining them
together, that did not work either.

Thanks,

Scott



   

Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, 
photos  more. 
http://mobile.yahoo.com/go?refer=1GNXIC

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



Re: S2: How to update two separate divs using one action call?

2007-06-12 Thread Scott Nesbitt

No, switching the order does not help.

I found a work-around for this, but it involves
another trip to the server so is not ideal.  Oh well,
thanks anyway.

Scott

--- Musachy Barroso [EMAIL PROTECTED] wrote:

 If you switch the order do they work? Not that it is
 mandatory but adding a
 semicolon at the end looks better :). You could also
 make them listen to a
 common topic an publish that one to make them
 refresh, in any case it should
 work they way you have it.
 
 musachy
 
 On 6/12/07, Scott Nesbitt [EMAIL PROTECTED]
 wrote:
 
 
  I have some code like this that is not working:
 
  dojo.event.topic.subscribe(/refreshTopic,
  function(data, type, e)
  {
 if ('load' == type)
 {
 
  dojo.event.topic.publish(/refreshCableHeadends)
dojo.event.topic.publish(/refreshTDGrid)
 
return;
 }
  }
 
  Only the first div (from refreshCableHeadends) is
  being refreshed, other one is being ignored.
 
  Any ideas or suggestions?  I tried chaining them
  together, that did not work either.
 
  Thanks,
 
  Scott
 
 
 
 
 
 


  Take the Internet to Go: Yahoo!Go puts the
 Internet in your pocket: mail,
  news, photos  more.
  http://mobile.yahoo.com/go?refer=1GNXIC
 
 

-
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 
 
 
 -- 
 Hey you! Would you help me to carry the stone?
 Pink Floyd
 



  
___
You snooze, you lose. Get messages ASAP with AutoCheck
in the all-new Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_html.html

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



S2: datetimepicker and multiple date formats

2007-06-12 Thread Scott Nesbitt

I have this code:

s:datetimepicker id=selectedDate 
  name=selectedDate 
  displayWeeks=5 
  displayFormat= MM-dd- 
  
  
 
value=%{userDetailsBean.selectDateString}/

It works fine if the user uses the drop-down or types
in a date in just the right format.  However, we would
like the following to work better:

user input   actual value desired
value
--   
-
06-12-07 NaN-NaN-0NaN 06-12-2007
06/13/2007   06-12-2007  (refused change) 06-13-2007
06 13 2007   06-12-2007  (refused change) 06-13-2007
etc.

Basically, I would like to allow multiple date formats
in order to make life easier for my users.  

Can I intercept the user input somehow before it goes
to the validation and fix it up?

Thanks,

Scott



 

Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html

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



S2: Want to set autocompleter value

2007-05-25 Thread Scott Nesbitt

I have an autocompleter like this:

s:autocompleter name=states
 id=states 
 theme=simple
 autoComplete=false
 showDownArrow=false
 searchType=startstring
 forceValidOption=true
list=#{'AL':'ALABAMA', 'AZ':'ARIZONA', 
'AR':'ARKANSAS', 'CA':'CALIFORNIA'}/

In some JavaScript I would like to set the state to,
say, Arizona.  This is not working:

var t = dojo.widget.byId('states');
t.value = 'AZ';

Any ideas?  I also tried statesKey, no luck.

Thanks,

Scott


   
Be
 a better Heartthrob. Get better relationship answers from someone who knows. 
Yahoo! Answers - Check it out. 
http://answers.yahoo.com/dir/?link=listsid=396545433

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



Re: S2: Want to set autocompleter value

2007-05-25 Thread Scott Nesbitt

Say, now we are talking!  This page says exactly how
to do that:

http://www.nabble.com/R%C3%A9f.-:-Re:-Initial-Value-of-a-ComboBox-t2641746.html

I tried it and it works great.

Thanks for the pointer, Musachy.

Scott

--- Musachy Barroso [EMAIL PROTECTED] wrote:

 By the way the property dataProvider.data in the
 widget is a hash of the
 key and the values, so you could find the right
 value, and then set it in
 the 2 inputs for the comobox (the visible and the
 hidden ones). I logged a
 ticket for it:
 
 https://issues.apache.org/struts/browse/WW-1945
 
 musachy
 
 
 
 On 5/25/07, Musachy Barroso [EMAIL PROTECTED]
 wrote:
 
  2.1 is going to ship with 0.4.2 or 0.4.3, as for
 0.9 we don't have any
  estimated time.
 
  musachy
 
  On 5/25/07, Scott Nesbitt 
 [EMAIL PROTECTED] wrote:
  
  
   That does not seem to do anything for me.
  
   After reading this:
  
   http://trac.dojotoolkit.org/ticket/1451
  
   It looks like setSelectedValue() is going away. 
 I
   tried this:
  
  var t = dojo.widget.byId ('states');
  t.setValue('AZ');
  
   And it sets the state to AZ instead of Arizona,
   perhaps because the reverse lookup alluded to in
 the
   link above is not there yet.
  
   Not sure what to do at this point.  Are we in
 limbo
   waiting  on Godot, er, Dojo 0.9?
  
   Scott
  
   --- Musachy Barroso [EMAIL PROTECTED] wrote:
  
try:
   
   
  

dojo.widget.byId(autocompleter_id).setSelectedValue(value);
   
I can't try it myself now, but that's the only
method that seems to set a
value in the autocompleter widget.
   
musachy
   
On 5/25/07, Scott Nesbitt 
 [EMAIL PROTECTED]
wrote:


 I have an autocompleter like this:

 s:autocompleter name=states
  id=states
  theme=simple
  autoComplete=false
  showDownArrow=false
  searchType=startstring
  forceValidOption=true
 list=#{'AL':'ALABAMA',
 'AZ':'ARIZONA',
 'AR':'ARKANSAS',
'CA':'CALIFORNIA'}/

 In some JavaScript I would like to set the
 state
to,
 say, Arizona.  This is not working:

 var t = dojo.widget.byId('states');
 t.value = 'AZ';

 Any ideas?  I also tried statesKey, no luck.

 Thanks,

 Scott




   
  
  

Be
 a better Heartthrob. Get better relationship
answers from someone who knows.
 Yahoo! Answers - Check it out.

   
  

http://answers.yahoo.com/dir/?link=listsid=396545433


   
  

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


   
   
--
Hey you! Would you help me to carry the
 stone?
Pink Floyd
   
  
  
  
  
  

Luggage?
   GPS? Comic books?
   Check out fitting gifts for grads at Yahoo!
 Search
  

http://search.yahoo.com/search?fr=oni_on_mailp=graduation+giftscs=bz
  
  

-
   To unsubscribe, e-mail:
 [EMAIL PROTECTED]
   For additional commands, e-mail:
 [EMAIL PROTECTED]
  
  
 
 
  --
  Hey you! Would you help me to carry the stone?
 Pink Floyd
 
 
 
 
 -- 
 Hey you! Would you help me to carry the stone?
 Pink Floyd
 



   
Got
 a little couch potato? 
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mailp=summer+activities+for+kidscs=bz
 

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



S2: cannot access bean from dialog

2007-05-24 Thread Scott Nesbitt

This is working fine in my main JSP:

s:hidden id=selectedCallLetters 
name=selectedCallLetters 
  
value=%{userDetailsBean.selectedCallLetters}/

However, when I call a dialog like this:

window.open('overlay-headends.jsp');

This JSP cannot access the fields in the
userDetailsBean in the main JSP.

Any ideas?  The userDetailsBean is a session
attribute.

Thanks,

Scott


   
Looking
 for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
http://farechase.yahoo.com/

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



Re: S2: submit tag and handler

2007-05-04 Thread Scott Nesbitt

Ahh, notifyTopics.  Sweet, sweet, notifyTopics.

I guess the reason I did not use notifyTopics before
is that I did not understand it.  I now have the
before working great, and as soon as I figure out
how to indicate success in the action (guess it is not
just return SUCCESS;) I am sure the load will work
fine, too.

Thanks again for the help, Musachy.

Scott

--- Musachy Barroso [EMAIL PROTECTED] wrote:

 I should have asked this first, if all you want to
 do is do something before
 the request, why don't you use notifyTopics?
 
 musachy
 
 //if you really have to hack around reloadContent,
 it is defined here:
 

http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/dojo/src/main/resources/org/apache/struts2/static/dojo/struts/widget/Bind.js?view=markup
 
 On 5/3/07, Scott Nesbitt [EMAIL PROTECTED]
 wrote:
 
 
  Anybody have a suggestion on this?  Or do I just
 need
  to wait until the next version of Struts?
 
  Thanks,
 
  Scott
 
  --- Scott Nesbitt [EMAIL PROTECTED] wrote:
 
  
   Well, I tried this:
  
   function handler(widget, node)
   {
  var beforeTopicsArray =
   widget.beforeNotifyTopicsArray;
  widget.beforeNotifyTopicsArray = null;
  widget.reloadContents();
  widget.beforeNotifyTopicsArray =
   beforeTopicsArray;
   }
  
   and now I do not get a stack overflow, but the
   action
   is still not getting called.
  
   Scott
  
   --- Musachy Barroso [EMAIL PROTECTED] wrote:
  
My bad, the notifyTopics are published inside
 that
function so it won't
work. Warning: Hack ahead :)
   
var beforeTopicsArray =
widget.beforeNotifyTopicsArray;
widget.beforeNotifyTopicsArray = null;
widget.reloadContents();
widget.beforeNotifyTopicsArray =
   beforeTopicsArray;
   
I will add a refreshContent method that will
 be
common for all of the
widgets (and part of the api), with one
parameter(boolean), to skip the
publishing of the topics.
   
musachy
   
On 5/2/07, Scott Nesbitt
 [EMAIL PROTECTED]
wrote:


 Hmm, this:

 function handler(widget, node)
 {
widget.reloadContents();
 }

 Gives Stack overflow at line: 4872

 Scott

 --- Musachy Barroso [EMAIL PROTECTED]
 wrote:

  If you are using submit, or anchor tag you
 can
call
  reloadContents() on
  the widget passed as a parameter, if you
 are
using
  the div tag, you can call
  refresh() on it. These functions are not
really
  part of the api and might
  change in the future (although it would be
   nice
if
  they were right?).
 
  musachy
 
  On 5/2/07, Scott Nesbitt
[EMAIL PROTECTED]
  wrote:
  
  
   Yes, I would like to do the request in
 the
  JavaScript
   because I need to do some other work
 there
before
  the
   request happens.
  
   If I knew how Struts did the request I
 would
just
  do
   the same thing at the bottom of my
 function.
  
   Scott
  
   --- Musachy Barroso [EMAIL PROTECTED]
   wrote:
  
The whole idea behind the handler
   function
is
  that
you are going to make
the request yourself, instead of
 letting
struts
  do
it for you. The handler
is just a plain javascript function
 like:
   
function superHandler(widget, domNode)
 {
  //use some other framework to do the
   ajax
  request,
Dojo, Prototype, YUI,
DWR, JQuery,zillion_framework_name
}
   
is that what you are trying to do? do
 the
  request
yourself?
   
musachy
   
On 5/2/07, Scott Nesbitt
  [EMAIL PROTECTED]
wrote:

 Does anyone know how to invoke a
 request
from
  a
submit
 handler function?


 I am using a submit tag like this:

 div id=t1Div 1/div
 s:url id=ajaxTest
value=SaveLineup.action
  /
 img id=indicator
  src=images/indicator.gif
  alt=Loading...
  style=display:none/
 s:submit type=submit
   theme=ajax
   value=Save
   title=Save all changes.
   cssClass=butstylewide
   targets=t1
   handler=handler
   notifyTopics=/after
   href=%{ajaxTest}
   align=left
   indicator=indicator/

 My Javascript looks like this:

 function handler(widget, node)
 {
alert(DEBUG in handler);
 }

 dojo.event.topic.subscribe(/after,
 
=== message truncated ===



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com

Re: S2: submit tag and handler

2007-05-03 Thread Scott Nesbitt

Anybody have a suggestion on this?  Or do I just need
to wait until the next version of Struts?

Thanks,

Scott

--- Scott Nesbitt [EMAIL PROTECTED] wrote:

 
 Well, I tried this:
 
 function handler(widget, node)
 {
var beforeTopicsArray =
 widget.beforeNotifyTopicsArray;
widget.beforeNotifyTopicsArray = null;
widget.reloadContents();
widget.beforeNotifyTopicsArray =
 beforeTopicsArray;
 }
 
 and now I do not get a stack overflow, but the
 action
 is still not getting called.
 
 Scott
 
 --- Musachy Barroso [EMAIL PROTECTED] wrote:
 
  My bad, the notifyTopics are published inside that
  function so it won't
  work. Warning: Hack ahead :)
  
  var beforeTopicsArray =
  widget.beforeNotifyTopicsArray;
  widget.beforeNotifyTopicsArray = null;
  widget.reloadContents();
  widget.beforeNotifyTopicsArray =
 beforeTopicsArray;
  
  I will add a refreshContent method that will be
  common for all of the
  widgets (and part of the api), with one
  parameter(boolean), to skip the
  publishing of the topics.
  
  musachy
  
  On 5/2/07, Scott Nesbitt [EMAIL PROTECTED]
  wrote:
  
  
   Hmm, this:
  
   function handler(widget, node)
   {
  widget.reloadContents();
   }
  
   Gives Stack overflow at line: 4872
  
   Scott
  
   --- Musachy Barroso [EMAIL PROTECTED] wrote:
  
If you are using submit, or anchor tag you can
  call
reloadContents() on
the widget passed as a parameter, if you are
  using
the div tag, you can call
refresh() on it. These functions are not
  really
part of the api and might
change in the future (although it would be
 nice
  if
they were right?).
   
musachy
   
On 5/2/07, Scott Nesbitt
  [EMAIL PROTECTED]
wrote:


 Yes, I would like to do the request in the
JavaScript
 because I need to do some other work there
  before
the
 request happens.

 If I knew how Struts did the request I would
  just
do
 the same thing at the bottom of my function.

 Scott

 --- Musachy Barroso [EMAIL PROTECTED]
 wrote:

  The whole idea behind the handler
 function
  is
that
  you are going to make
  the request yourself, instead of letting
  struts
do
  it for you. The handler
  is just a plain javascript function like:
 
  function superHandler(widget, domNode) {
//use some other framework to do the
 ajax
request,
  Dojo, Prototype, YUI,
  DWR, JQuery,zillion_framework_name
  }
 
  is that what you are trying to do? do the
request
  yourself?
 
  musachy
 
  On 5/2/07, Scott Nesbitt
[EMAIL PROTECTED]
  wrote:
  
   Does anyone know how to invoke a request
  from
a
  submit
   handler function?
  
  
   I am using a submit tag like this:
  
   div id=t1Div 1/div
   s:url id=ajaxTest
  value=SaveLineup.action
/
   img id=indicator
src=images/indicator.gif
alt=Loading...
style=display:none/
   s:submit type=submit
 theme=ajax
 value=Save
 title=Save all changes.
 cssClass=butstylewide
 targets=t1
 handler=handler
 notifyTopics=/after
 href=%{ajaxTest}
 align=left
 indicator=indicator/
  
   My Javascript looks like this:
  
   function handler(widget, node)
   {
  alert(DEBUG in handler);
   }
  
   dojo.event.topic.subscribe(/after,
  function(data,
   type, e)
   {
  alert(Lineup saved);
   });
  
   The documentation says this:
  
   'handler' is the name of the function
 that
will
  take
   care of making the AJAX request. Dojo's
  widget
and
  dom
   node are passed as parameters).
  
   But I do not see any example of how to
actually do
   that.  I guess it is some Dojo magic but
looking
   through the Dojo documentation has not
  proved
   illuminating.  (BTW, I know if I do not
  have
  handler
   specified it calls the action but I need
  to do
  some
   JavaScript work beforehand.)
  
   Thanks,
  
   Scott
  
  
   
  __
   Do You Yahoo!?
 
=== message truncated ===


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



Re: S2: Autocompleter and focus

2007-05-02 Thread Scott Nesbitt

var TEAM_LOOKUP = 2;

function onbodyload()
{
   var f = document.getElementById('mainForm');
   var t = f.elements[TEAM_LOOKUP];

   t.value = parent.originalValue;
   t.focus();   // this does not work!  why?
}

Scott

--- jdmr [EMAIL PROTECTED] wrote:

 
 Would you mind posting the onload script? I'm having
 trouble with it...
 
 Thanks...
 
 David M.
 
 Scott Nesbitt wrote:
  
  
  I am having trouble setting the focus on an
  autocompleter field.
  
  When I print out all the fields in my overlay, I
 see
  three for the sports team autocompleter:
  
  sportsTeam
  sportsTeamKey
  (one with no name)  (why does it have no name?)
  
  Here is how it is declared:
  
  s:autocompleter name=sportsTeam
   id=sportsTeam
   keyName=sportsTeamKey
   theme=ajax 
   formId=mainForm
   href=%{#autosportsteam}
   cssStyle=width: 430px; 
   dropdownHeight=180;
   loadMinimumCount=2
   loadOnTextChange=true
   autoComplete=false
   showDownArrow=false
   delay=100
   searchType=substring
   forceValidOption=true/
  
  In my onbodyload() function I set the value of the
  field with no name and it works.  However, when I
 try
  to set the focus on the one with no name it
 ignores it
  and none of the overlay fields has focus.
  
  I tried adding dataFieldName but despite the
  documentation it says the attribute is not
 recognized.
  
  Any suggestions?
  
  Thanks,
  
  Scott
  
  __
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam
 protection around 
  http://mail.yahoo.com 
  
 

-
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
  
  
  
 
 -- 
 View this message in context:

http://www.nabble.com/S2%3A-Autocompleter-and-focus-tf3601635.html#a10221734
 Sent from the Struts - User mailing list archive at
 Nabble.com.
 
 

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


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



Re: S2: submit tag and handler

2007-05-02 Thread Scott Nesbitt

Yes, I would like to do the request in the JavaScript
because I need to do some other work there before the
request happens.

If I knew how Struts did the request I would just do
the same thing at the bottom of my function.

Scott

--- Musachy Barroso [EMAIL PROTECTED] wrote:

 The whole idea behind the handler function is that
 you are going to make
 the request yourself, instead of letting struts do
 it for you. The handler
 is just a plain javascript function like:
 
 function superHandler(widget, domNode) {
   //use some other framework to do the ajax request,
 Dojo, Prototype, YUI,
 DWR, JQuery,zillion_framework_name
 }
 
 is that what you are trying to do? do the request
 yourself?
 
 musachy
 
 On 5/2/07, Scott Nesbitt [EMAIL PROTECTED]
 wrote:
 
  Does anyone know how to invoke a request from a
 submit
  handler function?
 
 
  I am using a submit tag like this:
 
  div id=t1Div 1/div
  s:url id=ajaxTest value=SaveLineup.action /
  img id=indicator
   src=images/indicator.gif
   alt=Loading...
   style=display:none/
  s:submit type=submit
theme=ajax
value=Save
title=Save all changes.
cssClass=butstylewide
targets=t1
handler=handler
notifyTopics=/after
href=%{ajaxTest}
align=left
indicator=indicator/
 
  My Javascript looks like this:
 
  function handler(widget, node)
  {
 alert(DEBUG in handler);
  }
 
  dojo.event.topic.subscribe(/after,
 function(data,
  type, e)
  {
 alert(Lineup saved);
  });
 
  The documentation says this:
 
  'handler' is the name of the function that will
 take
  care of making the AJAX request. Dojo's widget and
 dom
  node are passed as parameters).
 
  But I do not see any example of how to actually do
  that.  I guess it is some Dojo magic but looking
  through the Dojo documentation has not proved
  illuminating.  (BTW, I know if I do not have
 handler
  specified it calls the action but I need to do
 some
  JavaScript work beforehand.)
 
  Thanks,
 
  Scott
 
  __
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam
 protection around
  http://mail.yahoo.com
 
 

-
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 
 
 
 -- 
 Hey you! Would you help me to carry the stone?
 Pink Floyd
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



Re: S2: submit tag and handler

2007-05-02 Thread Scott Nesbitt

Hmm, this:

function handler(widget, node)
{
   widget.reloadContents();
}

Gives Stack overflow at line: 4872

Scott

--- Musachy Barroso [EMAIL PROTECTED] wrote:

 If you are using submit, or anchor tag you can call
 reloadContents() on
 the widget passed as a parameter, if you are using
 the div tag, you can call
 refresh() on it. These functions are not really
 part of the api and might
 change in the future (although it would be nice if
 they were right?).
 
 musachy
 
 On 5/2/07, Scott Nesbitt [EMAIL PROTECTED]
 wrote:
 
 
  Yes, I would like to do the request in the
 JavaScript
  because I need to do some other work there before
 the
  request happens.
 
  If I knew how Struts did the request I would just
 do
  the same thing at the bottom of my function.
 
  Scott
 
  --- Musachy Barroso [EMAIL PROTECTED] wrote:
 
   The whole idea behind the handler function is
 that
   you are going to make
   the request yourself, instead of letting struts
 do
   it for you. The handler
   is just a plain javascript function like:
  
   function superHandler(widget, domNode) {
 //use some other framework to do the ajax
 request,
   Dojo, Prototype, YUI,
   DWR, JQuery,zillion_framework_name
   }
  
   is that what you are trying to do? do the
 request
   yourself?
  
   musachy
  
   On 5/2/07, Scott Nesbitt
 [EMAIL PROTECTED]
   wrote:
   
Does anyone know how to invoke a request from
 a
   submit
handler function?
   
   
I am using a submit tag like this:
   
div id=t1Div 1/div
s:url id=ajaxTest value=SaveLineup.action
 /
img id=indicator
 src=images/indicator.gif
 alt=Loading...
 style=display:none/
s:submit type=submit
  theme=ajax
  value=Save
  title=Save all changes.
  cssClass=butstylewide
  targets=t1
  handler=handler
  notifyTopics=/after
  href=%{ajaxTest}
  align=left
  indicator=indicator/
   
My Javascript looks like this:
   
function handler(widget, node)
{
   alert(DEBUG in handler);
}
   
dojo.event.topic.subscribe(/after,
   function(data,
type, e)
{
   alert(Lineup saved);
});
   
The documentation says this:
   
'handler' is the name of the function that
 will
   take
care of making the AJAX request. Dojo's widget
 and
   dom
node are passed as parameters).
   
But I do not see any example of how to
 actually do
that.  I guess it is some Dojo magic but
 looking
through the Dojo documentation has not proved
illuminating.  (BTW, I know if I do not have
   handler
specified it calls the action but I need to do
   some
JavaScript work beforehand.)
   
Thanks,
   
Scott
   
   
 __
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam
   protection around
http://mail.yahoo.com
   
   
  
 

-
To unsubscribe, e-mail:
   [EMAIL PROTECTED]
For additional commands, e-mail:
   [EMAIL PROTECTED]
   
   
  
  
   --
   Hey you! Would you help me to carry the stone?
   Pink Floyd
  
 
 
  __
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam
 protection around
  http://mail.yahoo.com
 
 

-
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 
 
 
 -- 
 Hey you! Would you help me to carry the stone?
 Pink Floyd
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



Re: S2: submit tag and handler

2007-05-02 Thread Scott Nesbitt

Well, I tried this:

function handler(widget, node)
{
   var beforeTopicsArray =
widget.beforeNotifyTopicsArray;
   widget.beforeNotifyTopicsArray = null;
   widget.reloadContents();
   widget.beforeNotifyTopicsArray = beforeTopicsArray;
}

and now I do not get a stack overflow, but the action
is still not getting called.

Scott

--- Musachy Barroso [EMAIL PROTECTED] wrote:

 My bad, the notifyTopics are published inside that
 function so it won't
 work. Warning: Hack ahead :)
 
 var beforeTopicsArray =
 widget.beforeNotifyTopicsArray;
 widget.beforeNotifyTopicsArray = null;
 widget.reloadContents();
 widget.beforeNotifyTopicsArray = beforeTopicsArray;
 
 I will add a refreshContent method that will be
 common for all of the
 widgets (and part of the api), with one
 parameter(boolean), to skip the
 publishing of the topics.
 
 musachy
 
 On 5/2/07, Scott Nesbitt [EMAIL PROTECTED]
 wrote:
 
 
  Hmm, this:
 
  function handler(widget, node)
  {
 widget.reloadContents();
  }
 
  Gives Stack overflow at line: 4872
 
  Scott
 
  --- Musachy Barroso [EMAIL PROTECTED] wrote:
 
   If you are using submit, or anchor tag you can
 call
   reloadContents() on
   the widget passed as a parameter, if you are
 using
   the div tag, you can call
   refresh() on it. These functions are not
 really
   part of the api and might
   change in the future (although it would be nice
 if
   they were right?).
  
   musachy
  
   On 5/2/07, Scott Nesbitt
 [EMAIL PROTECTED]
   wrote:
   
   
Yes, I would like to do the request in the
   JavaScript
because I need to do some other work there
 before
   the
request happens.
   
If I knew how Struts did the request I would
 just
   do
the same thing at the bottom of my function.
   
Scott
   
--- Musachy Barroso [EMAIL PROTECTED] wrote:
   
 The whole idea behind the handler function
 is
   that
 you are going to make
 the request yourself, instead of letting
 struts
   do
 it for you. The handler
 is just a plain javascript function like:

 function superHandler(widget, domNode) {
   //use some other framework to do the ajax
   request,
 Dojo, Prototype, YUI,
 DWR, JQuery,zillion_framework_name
 }

 is that what you are trying to do? do the
   request
 yourself?

 musachy

 On 5/2/07, Scott Nesbitt
   [EMAIL PROTECTED]
 wrote:
 
  Does anyone know how to invoke a request
 from
   a
 submit
  handler function?
 
 
  I am using a submit tag like this:
 
  div id=t1Div 1/div
  s:url id=ajaxTest
 value=SaveLineup.action
   /
  img id=indicator
   src=images/indicator.gif
   alt=Loading...
   style=display:none/
  s:submit type=submit
theme=ajax
value=Save
title=Save all changes.
cssClass=butstylewide
targets=t1
handler=handler
notifyTopics=/after
href=%{ajaxTest}
align=left
indicator=indicator/
 
  My Javascript looks like this:
 
  function handler(widget, node)
  {
 alert(DEBUG in handler);
  }
 
  dojo.event.topic.subscribe(/after,
 function(data,
  type, e)
  {
 alert(Lineup saved);
  });
 
  The documentation says this:
 
  'handler' is the name of the function that
   will
 take
  care of making the AJAX request. Dojo's
 widget
   and
 dom
  node are passed as parameters).
 
  But I do not see any example of how to
   actually do
  that.  I guess it is some Dojo magic but
   looking
  through the Dojo documentation has not
 proved
  illuminating.  (BTW, I know if I do not
 have
 handler
  specified it calls the action but I need
 to do
 some
  JavaScript work beforehand.)
 
  Thanks,
 
  Scott
 
 
  
 __
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best
 spam
 protection around
  http://mail.yahoo.com
 
 

   
  
 

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


 --
 Hey you! Would you help me to carry the
 stone?
 Pink Floyd

   
   
   
 __
 
=== message truncated ===


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



S2: Disable datetimepicker

2007-04-24 Thread Scott Nesbitt

I would like to enable/disable the datetimepicker when
the user selects certain radio buttons.  Here is my
tag:

s:datetimepicker name=untildate
  displayWeeks=4 
  displayFormat= MM-dd-/

I can disable (and clear) the textbox next to the
calendar icon like this:

   var ud = getField('mainForm', 'untildate');
   ud.value = ;
   ud.disabled = true;

But this does not disable the calendar icon:

   ud = getField('mainForm', 'dojo.untildate');
   ud.disabled = true;

Any ideas on this?  I do not see any other applicable
elements in my form.

Thanks,

Scott

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



Re: S2: Disable datetimepicker

2007-04-24 Thread Scott Nesbitt

Works great!

Thanks, Musachy.

Scott

--- Musachy Barroso [EMAIL PROTECTED] wrote:

 Assign an id to your datepicker, lets say dp1 and
 do this:
 
 dojo.widget.byId(dp1).disable();
 
 to enable it:
 
 dojo.widget.byId(dp1).enable();
 
 musachy
 
 On 4/24/07, Scott Nesbitt [EMAIL PROTECTED]
 wrote:
 
 
  I would like to enable/disable the datetimepicker
 when
  the user selects certain radio buttons.  Here is
 my
  tag:
 
  s:datetimepicker name=untildate
displayWeeks=4
displayFormat= MM-dd-/
 
  I can disable (and clear) the textbox next to the
  calendar icon like this:
 
 var ud = getField('mainForm', 'untildate');
 ud.value = ;
 ud.disabled = true;
 
  But this does not disable the calendar icon:
 
 ud = getField('mainForm', 'dojo.untildate');
 ud.disabled = true;
 
  Any ideas on this?  I do not see any other
 applicable
  elements in my form.
 
  Thanks,
 
  Scott
 
  __
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam
 protection around
  http://mail.yahoo.com
 
 

-
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 
 
 
 -- 
 Hey you! Would you help me to carry the stone?
 Pink Floyd
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



Re: S2: Autocompleter and focus

2007-04-19 Thread Scott Nesbitt

I do use the visible, nameless one to hold the value. 
However, though I can set the value on it, it ignores
my request for focus().

So are you are saying I should ask this in the Dojo
area?

Thanks,

Scott

--- Musachy Barroso [EMAIL PROTECTED] wrote:

 One has the ${name} you  entered in the name
 attribute, and it will have the
 value entered on the visible input. The one with the
 name ${name}Key has the
 key for the selected value, and the visible one (the
 one with no name) is
 for typing. Why not use the visible one as the one
 holding the value? It is
 a Dojo thing and I'm not sure why, but there is
 probably a good reason :).
 The focus should be set on the visible one.
 
 musachy
 
 On 4/18/07, Scott Nesbitt [EMAIL PROTECTED]
 wrote:
 
 
  I am having trouble setting the focus on an
  autocompleter field.
 
  When I print out all the fields in my overlay, I
 see
  three for the sports team autocompleter:
 
  sportsTeam
  sportsTeamKey
  (one with no name)  (why does it have no name?)
 
  Here is how it is declared:
 
  s:autocompleter name=sportsTeam
   id=sportsTeam
   keyName=sportsTeamKey
   theme=ajax
   formId=mainForm
   href=%{#autosportsteam}
   cssStyle=width: 430px;
   dropdownHeight=180;
   loadMinimumCount=2
   loadOnTextChange=true
   autoComplete=false
   showDownArrow=false
   delay=100
   searchType=substring
   forceValidOption=true/
 
  In my onbodyload() function I set the value of the
  field with no name and it works.  However, when I
 try
  to set the focus on the one with no name it
 ignores it
  and none of the overlay fields has focus.
 
  I tried adding dataFieldName but despite the
  documentation it says the attribute is not
 recognized.
 
  Any suggestions?
 
  Thanks,
 
  Scott
 
  __
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam
 protection around
  http://mail.yahoo.com
 
 

-
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 
 
 
 -- 
 Hey you! Would you help me to carry the stone?
 Pink Floyd
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



S2: Autocompleter and focus

2007-04-18 Thread Scott Nesbitt

I am having trouble setting the focus on an
autocompleter field.

When I print out all the fields in my overlay, I see
three for the sports team autocompleter:

sportsTeam
sportsTeamKey
(one with no name)  (why does it have no name?)

Here is how it is declared:

s:autocompleter name=sportsTeam
 id=sportsTeam
 keyName=sportsTeamKey
 theme=ajax 
 formId=mainForm
 href=%{#autosportsteam}
 cssStyle=width: 430px; 
 dropdownHeight=180;
 loadMinimumCount=2
 loadOnTextChange=true
 autoComplete=false
 showDownArrow=false
 delay=100
 searchType=substring
 forceValidOption=true/

In my onbodyload() function I set the value of the
field with no name and it works.  However, when I try
to set the focus on the one with no name it ignores it
and none of the overlay fields has focus.

I tried adding dataFieldName but despite the
documentation it says the attribute is not recognized.

Any suggestions?

Thanks,

Scott

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



Re: Problem passing form fields with autocompleter

2007-04-13 Thread Scott Nesbitt

Well, it is great that we are both right but it is
still not working.

I don't care about foo, I was just trying to make my
code simpler in the email.  The actual code has two
autocompleters like this:

s:form id=mainForm theme=simple validate=false
   s:url id=autosportsteam
action=LookupSportsTeam/
   s:url id=autosportsorg 
action=LookupSportsOrg/
   div class=form-edit
 s:autocompleter name=sportsTeam
  id=sportsTeam
  keyName=sportsTeamKey
  theme=ajax 
  href=%{#autosportsteam}
  cssStyle=width: 500px; 
  dropdownHeight=180;
  loadMinimumCount=2
  loadOnTextChange=true
  autoComplete=false
  showDownArrow=false
  delay=100
  searchType=substring
  forceValidOption=true/
 s:autocompleter name=sportsOrg
  id=sportsOrg
  keyName=sportsOrgKey
  theme=ajax 
  href=%{#autosportsorg}
  cssStyle=width: 450px; 
  dropdownHeight=170;
  loadMinimumCount=2
  loadOnTextChange=true
  autoComplete=false
  showDownArrow=false
  searchType=substring
  forceValidOption=true/
  /div
   /s:form

In LookupSportsTeamAction I need the value of what was
looked up in the sportsOrg field, but I can't seem to
get it.  My sportsOrg and sportsOrgKey variables are
always null.

Scott

--- Dave Newton [EMAIL PROTECTED] wrote:

 --- Scott Nesbitt [EMAIL PROTECTED] wrote:
  Not sure why it should be getBar().  The name of
 the
  hidden field is foo, so shouldn't that be the
  variable that has the getter and setter?
 
 You guys are both right.
 
 The argument to the 'value' attribute is an object:
 
  s:hidden name=foo value=bar/
 
 *is* looking for a getBar(), and you also need a
 get/setFoo() to get the value back to the action.
 
 If you wanted a hardcoded string value, for example,
 you'd have to say value=%{'bar'} (or something
 like
 that) etc.
 
 d.
 
 
 



 Looking for earth-friendly autos? 
 Browse Top Cars by Green Rating at Yahoo! Autos'
 Green Center.
 http://autos.yahoo.com/green_center/
 

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


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



Re: Problem passing form fields with autocompleter

2007-04-13 Thread Scott Nesbitt

Well, there is not submit per se, the action is
getting called when the user types the second char in
the lookup editor.

Here is the log when the user types zz:

DEBUG interceptor.FileUploadInterceptor  - Bypassing
/html/ LookupSportsTeam
DEBUG interceptor.StaticParametersInterceptor  -
Setting static parameters {}
DEBUG interceptor.ParametersInterceptor  - Setting
params sportsTeam = [ zz ]
DEBUG util.XWorkConverter  - Property: sportsTeam
DEBUG util.XWorkConverter  - Class:
com.nielsenmedia.lrs.enames2.view.lineup.LookupSportsTeamAction
DEBUG util.XWorkConverter  - field-level type
converter for property [sportsTeam] = none found
DEBUG util.XWorkConverter  - global-level type
converter for property [sportsTeam] = none found  
DEBUG util.XWorkConverter  - falling back to
default type converter
[EMAIL PROTECTED]
DEBUG validation.AnnotationValidationInterceptor  -
Validating /html/LookupSportsTeam with method execute.

No mention of sportsOrg.

Scott

--- Musachy Barroso [EMAIL PROTECTED] wrote:

 When you click submit, are they getting submitted to
 the action (with
 values)?
 
 musachy
 
 On 4/13/07, Scott Nesbitt [EMAIL PROTECTED]
 wrote:
 
 
  Well, it is great that we are both right but it is
  still not working.
 
  I don't care about foo, I was just trying to
 make my
  code simpler in the email.  The actual code has
 two
  autocompleters like this:
 
  s:form id=mainForm theme=simple
 validate=false
 s:url id=autosportsteam
  action=LookupSportsTeam/
 s:url id=autosportsorg
  action=LookupSportsOrg/
 div class=form-edit
   s:autocompleter name=sportsTeam
id=sportsTeam
keyName=sportsTeamKey
theme=ajax
   
 href=%{#autosportsteam}
cssStyle=width: 500px;
dropdownHeight=180;
loadMinimumCount=2
loadOnTextChange=true
autoComplete=false
showDownArrow=false
delay=100
searchType=substring
   
 forceValidOption=true/
   s:autocompleter name=sportsOrg
id=sportsOrg
keyName=sportsOrgKey
theme=ajax
href=%{#autosportsorg}
cssStyle=width: 450px;
dropdownHeight=170;
loadMinimumCount=2
loadOnTextChange=true
autoComplete=false
showDownArrow=false
searchType=substring
   
 forceValidOption=true/
/div
 /s:form
 
  In LookupSportsTeamAction I need the value of what
 was
  looked up in the sportsOrg field, but I can't seem
 to
  get it.  My sportsOrg and sportsOrgKey variables
 are
  always null.
 
  Scott
 
  --- Dave Newton [EMAIL PROTECTED] wrote:
 
   --- Scott Nesbitt [EMAIL PROTECTED]
 wrote:
Not sure why it should be getBar().  The name
 of
   the
hidden field is foo, so shouldn't that be the
variable that has the getter and setter?
  
   You guys are both right.
  
   The argument to the 'value' attribute is an
 object:
  
s:hidden name=foo value=bar/
  
   *is* looking for a getBar(), and you also need a
   get/setFoo() to get the value back to the
 action.
  
   If you wanted a hardcoded string value, for
 example,
   you'd have to say value=%{'bar'} (or something
   like
   that) etc.
  
   d.
  
  
  
  
  
 
 


   Looking for earth-friendly autos?
   Browse Top Cars by Green Rating at Yahoo!
 Autos'
   Green Center.
   http://autos.yahoo.com/green_center/
  
  
 

-
   To unsubscribe, e-mail:
   [EMAIL PROTECTED]
   For additional commands, e-mail:
   [EMAIL PROTECTED]
  
  
 
 
  __
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam
 protection around
  http://mail.yahoo.com
 
 

-
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 
 
 
 -- 
 Hey you! Would you help me to carry the stone?
 Pink Floyd
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



Re: Problem passing form fields with autocompleter

2007-04-13 Thread Scott Nesbitt

That did it!

Thank you, thank you.  Not sure why I have to specify
a form I am already in, but I don't care.  It works!

Thanks again,

Scott

--- Musachy Barroso [EMAIL PROTECTED] wrote:

 Ooops sorry, now I got it, you need to put sportsOrg
 inside a form, and
 point to it from the other autocopleter, using
 formId
 
 musachy
 
 On 4/13/07, Scott Nesbitt [EMAIL PROTECTED]
 wrote:
 
 
  Well, there is not submit per se, the action is
  getting called when the user types the second char
 in
  the lookup editor.
 
  Here is the log when the user types zz:
 
  DEBUG interceptor.FileUploadInterceptor  -
 Bypassing
  /html/ LookupSportsTeam
  DEBUG interceptor.StaticParametersInterceptor  -
  Setting static parameters {}
  DEBUG interceptor.ParametersInterceptor  - Setting
  params sportsTeam = [ zz ]
  DEBUG util.XWorkConverter  - Property: sportsTeam
  DEBUG util.XWorkConverter  - Class:
 

com.nielsenmedia.lrs.enames2.view.lineup.LookupSportsTeamAction
  DEBUG util.XWorkConverter  - field-level type
  converter for property [sportsTeam] = none found
  DEBUG util.XWorkConverter  - global-level type
  converter for property [sportsTeam] = none found
  DEBUG util.XWorkConverter  - falling back to
  default type converter
 

[EMAIL PROTECTED]
  DEBUG validation.AnnotationValidationInterceptor 
 -
  Validating /html/LookupSportsTeam with method
 execute.
 
  No mention of sportsOrg.
 
  Scott
 
  --- Musachy Barroso [EMAIL PROTECTED] wrote:
 
   When you click submit, are they getting
 submitted to
   the action (with
   values)?
  
   musachy
  
   On 4/13/07, Scott Nesbitt
 [EMAIL PROTECTED]
   wrote:
   
   
Well, it is great that we are both right but
 it is
still not working.
   
I don't care about foo, I was just trying to
   make my
code simpler in the email.  The actual code
 has
   two
autocompleters like this:
   
s:form id=mainForm theme=simple
   validate=false
   s:url id=autosportsteam
action=LookupSportsTeam/
   s:url id=autosportsorg
action=LookupSportsOrg/
   div class=form-edit
 s:autocompleter name=sportsTeam
  id=sportsTeam
 
 keyName=sportsTeamKey
  theme=ajax
   
   href=%{#autosportsteam}
  cssStyle=width:
 500px;
 
 dropdownHeight=180;
  loadMinimumCount=2
 
 loadOnTextChange=true
  autoComplete=false
 
 showDownArrow=false
  delay=100
 
 searchType=substring
   
   forceValidOption=true/
 s:autocompleter name=sportsOrg
  id=sportsOrg
 
 keyName=sportsOrgKey
  theme=ajax
 
 href=%{#autosportsorg}
  cssStyle=width:
 450px;
 
 dropdownHeight=170;
  loadMinimumCount=2
 
 loadOnTextChange=true
  autoComplete=false
 
 showDownArrow=false
 
 searchType=substring
   
   forceValidOption=true/
  /div
   /s:form
   
In LookupSportsTeamAction I need the value of
 what
   was
looked up in the sportsOrg field, but I can't
 seem
   to
get it.  My sportsOrg and sportsOrgKey
 variables
   are
always null.
   
Scott
   
--- Dave Newton [EMAIL PROTECTED] wrote:
   
 --- Scott Nesbitt [EMAIL PROTECTED]
   wrote:
  Not sure why it should be getBar().  The
 name
   of
 the
  hidden field is foo, so shouldn't that be
 the
  variable that has the getter and setter?

 You guys are both right.

 The argument to the 'value' attribute is an
   object:

  s:hidden name=foo value=bar/

 *is* looking for a getBar(), and you also
 need a
 get/setFoo() to get the value back to the
   action.

 If you wanted a hardcoded string value, for
   example,
 you'd have to say value=%{'bar'} (or
 something
 like
 that) etc.

 d.





   
   
  
 
 


 Looking for earth-friendly autos?
 Browse Top Cars by Green Rating at Yahoo!
   Autos'
 Green Center.
 http://autos.yahoo.com/green_center/


   
  
 

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


   
   
   
 __
 
=== message truncated ===


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection

Problem passing form fields with autocompleter

2007-04-12 Thread Scott Nesbitt

I have a form with an autocompleter like this:

s:form id=mainForm theme=simple validate=false
  s:url id=autosportsteam
action=LookupSportsTeam/
  div class=form-edit
 s:autocompleter name=sportsTeam
  id=sportsTeam
  keyName=sportsTeamKey
  theme=ajax 
  href=%{#autosportsteam}
  cssStyle=width: 500px; 
  dropdownHeight=180;
  loadMinimumCount=2
  loadOnTextChange=true
  autoComplete=false
  showDownArrow=false
  delay=100
  searchType=substring
  forceValidOption=true/
  /div
  s:hidden name=foo value=bar/
/s:form

I expected that my LookupSportsTeamAction class (which
extends ActionSupport and has a getter and setter on
foo) would be able to use the foo member variable. 
But it is always null, though the sportsTeam variable
is being set correctly.

Any ideas on this?  This works in other pages that do
not have the autocompleter tag.

Thanks,

Scott


   

Now that's room service!  Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097

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



Re: Problem passing form fields with autocompleter

2007-04-12 Thread Scott Nesbitt

Not sure why it should be getBar().  The name of the
hidden field is foo, so shouldn't that be the variable
that has the getter and setter?

Regarding passing the field as a parameter, I am not
too proud for that.  Could you post a little example
code?  I tried to do something like this:

s:url id=autosportsteam action=LookupSportsTeam
   s:param name=foo value=23/
/s:url

And that worked, but I want the value of the foo
field, not a hard-coded value.  How do I specify
another field in the param tag?

Thanks again,

Scott

--- Musachy Barroso [EMAIL PROTECTED] wrote:

 You should have a getBar() defined on your action,
 not a getFoo()
 
 regards
 musachy
 
 On 4/12/07, Scott Nesbitt [EMAIL PROTECTED]
 wrote:
 
 
  I have a form with an autocompleter like this:
 
  s:form id=mainForm theme=simple
 validate=false
s:url id=autosportsteam
  action=LookupSportsTeam/
div class=form-edit
   s:autocompleter name=sportsTeam
id=sportsTeam
keyName=sportsTeamKey
theme=ajax
href=%{#autosportsteam}
cssStyle=width: 500px;
dropdownHeight=180;
loadMinimumCount=2
loadOnTextChange=true
autoComplete=false
showDownArrow=false
delay=100
searchType=substring
forceValidOption=true/
/div
s:hidden name=foo value=bar/
  /s:form
 
  I expected that my LookupSportsTeamAction class
 (which
  extends ActionSupport and has a getter and setter
 on
  foo) would be able to use the foo member variable.
  But it is always null, though the sportsTeam
 variable
  is being set correctly.
 
  Any ideas on this?  This works in other pages that
 do
  not have the autocompleter tag.
 
  Thanks,
 
  Scott
 
 
 
 
 


  Now that's room service!  Choose from over 150,000
 hotels
  in 45,000 destinations on Yahoo! Travel to find
 your fit.
  http://farechase.yahoo.com/promo-generic-14795097
 
 

-
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 
 
 
 -- 
 Hey you! Would you help me to carry the stone?
 Pink Floyd
 



   

Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121

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



S2: Simple way to pass data

2007-04-11 Thread Scott Nesbitt

In my app I have need menu items at the top of every
page that are links do other pages.  I also need a
common date and dropdown selection on most pages.  My
challenge is how to componentize the date/dropdown
selection so it can be re-used on each page, and then
get the data passed to the action class.

I would prefer not to have two ways to get data from
the screen to my action class: 

1) pass parameters from rewriting the href link

2) auto-populating the variables when a button in the
form is clicked

I do not know how to have a common way to do this, but
hopefully I have overlooked something simple.

Does anybody have suggestions or pointers?

Thank you,

Scott


   

Need Mail bonding?
Go to the Yahoo! Mail QA for great tips from Yahoo! Answers users.
http://answers.yahoo.com/dir/?link=listsid=396546091

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



S2: Autocompleter strange behavior

2007-04-10 Thread Scott Nesbitt

I am using the autocompleter tag like this:

   s:url id=autoorgs   action=LookupOrgs/

 s:autocompleter name=org
  id=org
  keyName=orgKey
  theme=ajax 
  href=%{#autoorgs}
  cssStyle=width: 450px; 
  dropdownHeight=170;
  loadMinimumCount=2
  loadOnTextChange=true
  autoComplete=false
  showDownArrow=false
  searchType=substring
  forceValidOption=true/

When I type a two-char string in the text box it works
fine: six items in the dropdown.  However, when I add
another char there is nothing in the dropdown.  When I
add a fourth char I get six items again.  When I
backspace to three chars, I see six items in the
dropdown.

Using fiddler I verified the same JSON is getting sent
for both ways to get a three char string.

Is this a known bug in the autocompleter?  I am using
struts-2.0.6.

Thanks,

Scott


   

Expecting? Get great news right away with email Auto-Check. 
Try the Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html 

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



Re: S2: Autocompleter strange behavior

2007-04-10 Thread Scott Nesbitt

Well, because loadMinimumCount is set to 2 it does not
fire with one char.  Here are the requests for strings
of length 2, 3, 4, then backspace to 3 from fiddler.

GET /enames2/html/LookupOrgs.action?org=nc HTTP/1.1
GET /enames2/html/LookupOrgs.action?org=nca HTTP/1.1
GET /enames2/html/LookupOrgs.action?org=ncaa HTTP/1.1
GET /enames2/html/LookupOrgs.action?org=nca HTTP/1.1

Thanks,

Scott

--- Musachy Barroso [EMAIL PROTECTED] wrote:

 Can you post the url that its using for 1,2,3,4
 characters? You can use
 FireBug for that, they should be something like
 
 http://../LookupOrgs.action?org=ab
 http://../LookupOrgs.action?org=abc
 
 ...
 
 regards
 musachy
 
 On 4/10/07, Scott Nesbitt [EMAIL PROTECTED]
 wrote:
 
 
  I am using the autocompleter tag like this:
 
 s:url id=autoorgs   action=LookupOrgs/
 
   s:autocompleter name=org
id=org
keyName=orgKey
theme=ajax
href=%{#autoorgs}
cssStyle=width: 450px;
dropdownHeight=170;
loadMinimumCount=2
loadOnTextChange=true
autoComplete=false
showDownArrow=false
searchType=substring
   
 forceValidOption=true/
 
  When I type a two-char string in the text box it
 works
  fine: six items in the dropdown.  However, when I
 add
  another char there is nothing in the dropdown. 
 When I
  add a fourth char I get six items again.  When I
  backspace to three chars, I see six items in the
  dropdown.
 
  Using fiddler I verified the same JSON is getting
 sent
  for both ways to get a three char string.
 
  Is this a known bug in the autocompleter?  I am
 using
  struts-2.0.6.
 
  Thanks,
 
  Scott
 
 
 
 
 


  Expecting? Get great news right away with email
 Auto-Check.
  Try the Yahoo! Mail Beta.
 

http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html
 
 

-
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 
 
 
 -- 
 Hey you! Would you help me to carry the stone?
 Pink Floyd
 



   

Don't get soaked.  Take a quick peak at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather

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



Re: S2: Autocompleter strange behavior

2007-04-10 Thread Scott Nesbitt

Yes, the JSON looks good.  For the 3, 4, backspace 3
it returns the identical data:

[
[NCAA BKBL ATLANTIC 10 CONF-EAST],
[NCAA BKBL ATLANTIC COAST CONF],
[NCAA BKBL BIG 10 CONF],
[NCAA BKBL BIG 12 CONF],
[NCAA BKBL BIG EAST CONF],
[NCAA BKBL BIG SKY CONF],
]

That trailing comma is not a problem, is it? (It is
there in the working and nonworking lookups.)

Thanks,

Scott

--- Musachy Barroso [EMAIL PROTECTED] wrote:

 Looks right, and is it returning data for all of
 them?
 
 musachy
 
 On 4/10/07, Scott Nesbitt [EMAIL PROTECTED]
 wrote:
 
 
  Well, because loadMinimumCount is set to 2 it does
 not
  fire with one char.  Here are the requests for
 strings
  of length 2, 3, 4, then backspace to 3 from
 fiddler.
 
  GET /enames2/html/LookupOrgs.action?org=nc
 HTTP/1.1
  GET /enames2/html/LookupOrgs.action?org=nca
 HTTP/1.1
  GET /enames2/html/LookupOrgs.action?org=ncaa
 HTTP/1.1
  GET /enames2/html/LookupOrgs.action?org=nca
 HTTP/1.1
 
  Thanks,
 
  Scott
 
  --- Musachy Barroso [EMAIL PROTECTED] wrote:
 
   Can you post the url that its using for 1,2,3,4
   characters? You can use
   FireBug for that, they should be something like
  
   http://../LookupOrgs.action?org=ab
   http://../LookupOrgs.action?org=abc
  
   ...
  
   regards
   musachy
  
   On 4/10/07, Scott Nesbitt
 [EMAIL PROTECTED]
   wrote:
   
   
I am using the autocompleter tag like this:
   
   s:url id=autoorgs  
 action=LookupOrgs/
   
 s:autocompleter name=org
  id=org
  keyName=orgKey
  theme=ajax
  href=%{#autoorgs}
  cssStyle=width:
 450px;
 
 dropdownHeight=170;
  loadMinimumCount=2
 
 loadOnTextChange=true
  autoComplete=false
 
 showDownArrow=false
 
 searchType=substring
   
   forceValidOption=true/
   
When I type a two-char string in the text box
 it
   works
fine: six items in the dropdown.  However,
 when I
   add
another char there is nothing in the dropdown.
   When I
add a fourth char I get six items again.  When
 I
backspace to three chars, I see six items in
 the
dropdown.
   
Using fiddler I verified the same JSON is
 getting
   sent
for both ways to get a three char string.
   
Is this a known bug in the autocompleter?  I
 am
   using
struts-2.0.6.
   
Thanks,
   
Scott
   
   
   
   
   
  
 
 


Expecting? Get great news right away with
 email
   Auto-Check.
Try the Yahoo! Mail Beta.
   
  
 

http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html
   
   
  
 

-
To unsubscribe, e-mail:
   [EMAIL PROTECTED]
For additional commands, e-mail:
   [EMAIL PROTECTED]
   
   
  
  
   --
   Hey you! Would you help me to carry the stone?
   Pink Floyd
  
 
 
 
 
 
 


  Don't get soaked.  Take a quick peak at the
 forecast
  with the Yahoo! Search weather shortcut.
 
 http://tools.search.yahoo.com/shortcuts/#loc_weather
 
 

-
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 
 
 
 -- 
 Hey you! Would you help me to carry the stone?
 Pink Floyd
 



   

Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html

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



Re: S2: Better passing of fields by link

2007-04-06 Thread Scott Nesbitt

Ok, figured it out.  I did try what you mentioned but
it also required this at the top to work:

s:head theme=ajax/

It would not pass the params with just the ajax theme
in the s:a tag.

Thank you for your help.

Scott

--- Musachy Barroso [EMAIL PROTECTED] wrote:

 What problem are you having? Just do:
 
 s:a theme=ajax formId=form .. /
 
 like what you did for the autocompleter, there are a
 few examples on
 showcase also.
 
 musachy
 
 On 4/5/07, Scott Nesbitt [EMAIL PROTECTED]
 wrote:
 
 
  I have a link that calls an action and I would
 like
  the action class to have some field values from my
  page.  Currently I do this:
 
  s:url id=editUrl action=EditLineup
  includeParams=all/
  s:a href=%{editUrl}
  onclick=this.href=rewriteLink(this.href)Edit
  Lineup/s:a
 
  In rewriteLink() I manually create a list of
 parameter
  key/values.  Is there a better way?  In my
  autocompleter tag I can just do formId=dataForm
 and
  have a small form  with hidden fields that get
  automatically serialized and sent to the action
 class,
  but that does not seem to work with the a tag,
 despite
  what the documentation says about ajax.
 
  Any ideas?  Perhaps I am going about this wrong
 but do
  not see any good examples of how to do this.
 
  Thank you,
 
  Scott
 
 
 
 
 


  No need to miss a message. Get email on-the-go
  with Yahoo! Mail for Mobile. Get started.
  http://mobile.yahoo.com/mail
 
 

-
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 
 
 
 -- 
 Hey you! Would you help me to carry the stone?
 Pink Floyd
 



 

Bored stiff? Loosen up... 
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front

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



S2: Passing paramaters with autocompleter

2007-04-05 Thread Scott Nesbitt

I am trying to use the Ajax autocompleter and would
like to pass some parameters.  This is my JSP:

form id=selectForm

   s:url id=autosports action=LookupSports
includeParams=all
  s:param name=key value=SearchString/
  s:param name=value   value=yarr/
  s:param name=context value=wub/
   /s:url

   Select a Sports Team

   br/
   s:autocompleter id=team
theme=ajax 
href=%{#autosports}
cssStyle=width: 250px; 
dropdownHeight=180;
loadMinimumCount=1
loadOnTextChange=true
autoComplete=false
showDownArrow=false
delay=100
searchType=substring
forceValidOption=true/

   s:hidden name=state value=FL/

   br/
   br/
/form

Unfortunately, state is not set and the only parameter
that is passed (a 'p' was typed in the field) has no
key:

10:22:51,919 [[ACTIVE] ExecuteThread: '0' for queue:
'weblogic.kernel.Default (self-tuning)'] DEBUG
interceptor.StaticParametersInterceptor  - Setting
static parameters {}
10:22:51,919 [[ACTIVE] ExecuteThread: '0' for queue:
'weblogic.kernel.Default (self-tuning)'] DEBUG
interceptor.ParametersInterceptor  - Setting params 
= [ p ] 
10:22:51,923 [[ACTIVE] ExecuteThread: '0' for queue:
'weblogic.kernel.Default (self-tuning)'] DEBUG
util.OgnlValueStack  - Error setting value
ognl.ExpressionSyntaxException: Malformed OGNL
expression:  [ognl.ParseException: Encountered EOF
at line 1, column 0.

Any suggestions?

Thanks,

Scott


 

Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html

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



Re: S2: Passing paramaters with autocompleter

2007-04-05 Thread Scott Nesbitt

Thank you, Musachy!  I did overlook that option, my
state parameter is passing great now.

I also figured out why the string I typed into the
autocomplete field had a value but no key: I forgot to
put name=team in the s:autocomplete tag.  Once I did
that it worked fine.

Thanks again,

Scott

--- Musachy Barroso [EMAIL PROTECTED] wrote:

 You can use the formId attribute, like:
 
 form id=dataForm
//fields here
 /form
 
 s:autocompleter formId=dataForm .. /
 
 and it will pass the fields of the form as
 paramteers when the autocompleter
 is loaded.
 
 musachy
 
 On 4/5/07, Scott Nesbitt [EMAIL PROTECTED]
 wrote:
 
 
  I am trying to use the Ajax autocompleter and
 would
  like to pass some parameters.  This is my JSP:
 
  form id=selectForm
 
 s:url id=autosports action=LookupSports
  includeParams=all
s:param name=key
 value=SearchString/
s:param name=value   value=yarr/
s:param name=context value=wub/
 /s:url
 
 Select a Sports Team
 
 br/
 s:autocompleter id=team
  theme=ajax
  href=%{#autosports}
  cssStyle=width: 250px;
  dropdownHeight=180;
  loadMinimumCount=1
  loadOnTextChange=true
  autoComplete=false
  showDownArrow=false
  delay=100
  searchType=substring
  forceValidOption=true/
 
 s:hidden name=state value=FL/
 
 br/
 br/
  /form
 
  Unfortunately, state is not set and the only
 parameter
  that is passed (a 'p' was typed in the field) has
 no
  key:
 
  10:22:51,919 [[ACTIVE] ExecuteThread: '0' for
 queue:
  'weblogic.kernel.Default (self-tuning)'] DEBUG
  interceptor.StaticParametersInterceptor  - Setting
  static parameters {}
  10:22:51,919 [[ACTIVE] ExecuteThread: '0' for
 queue:
  'weblogic.kernel.Default (self-tuning)'] DEBUG
  interceptor.ParametersInterceptor  - Setting
 params
  = [ p ]
  10:22:51,923 [[ACTIVE] ExecuteThread: '0' for
 queue:
  'weblogic.kernel.Default (self-tuning)'] DEBUG
  util.OgnlValueStack  - Error setting value
  ognl.ExpressionSyntaxException: Malformed OGNL
  expression:  [ognl.ParseException: Encountered
 EOF
  at line 1, column 0.
 
  Any suggestions?
 
  Thanks,
 
  Scott
 
 
 
 
 


  Sucker-punch spam with award-winning protection.
  Try the free Yahoo! Mail Beta.
 

http://advision.webevents.yahoo.com/mailbeta/features_spam.html
 
 

-
  To unsubscribe, e-mail:
 [EMAIL PROTECTED]
  For additional commands, e-mail:
 [EMAIL PROTECTED]
 
 
 
 
 -- 
 Hey you! Would you help me to carry the stone?
 Pink Floyd
 



 

Now that's room service!  Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097

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



S2: Better passing of fields by link

2007-04-05 Thread Scott Nesbitt

I have a link that calls an action and I would like
the action class to have some field values from my
page.  Currently I do this:

s:url id=editUrl action=EditLineup
includeParams=all/
s:a href=%{editUrl}
onclick=this.href=rewriteLink(this.href)Edit
Lineup/s:a

In rewriteLink() I manually create a list of parameter
key/values.  Is there a better way?  In my
autocompleter tag I can just do formId=dataForm and
have a small form  with hidden fields that get
automatically serialized and sent to the action class,
but that does not seem to work with the a tag, despite
what the documentation says about ajax.

Any ideas?  Perhaps I am going about this wrong but do
not see any good examples of how to do this.

Thank you,

Scott


 

No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.
http://mobile.yahoo.com/mail 

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



Re: S2: What do you forward to after a response writer?

2007-03-30 Thread Scott Nesbitt

Thank you.  I have it working now using separate
action and result classes.

BTW, this page
http://struts.apache.org/2.x/docs/romeresult.html
really helped, perhaps it is what you referred to
below.

Thanks again,

Scott

--- joey [EMAIL PROTECTED] wrote:

 You should define your custom result in a separate
 class,and you must
 register your result
 in your struts.xml,like this:
 result-types
 result-type name=json class=
 com.googlecode.jsonplugin.JSONResult/
 /result-types
 and you can use it :
 result type=json/result
 I really thought you should read the document and
 source of result.
 you can download it from struts2 website.
 regards
 joey
 On 3/26/07, Scott Nesbitt [EMAIL PROTECTED]
 wrote:
 
 
  Hmm, when I have this class
 
  public class PopulateGridAction extends
 ActionSupport
  implements ParameterAware, Result
 
  With this method:
 
  public void execute(ActionInvocation invocation)
  throws Exception
 
  It never gets called.  Do I have to do something
  special in my struts.xml?  My logfiles says:
 
  11:06:34,342 [[ACTIVE] ExecuteThread: '2' for
 queue:
  'weblogic.kernel.Default (self-tuning)'] DEBUG
  xwork2.DefaultActionInvocation  - Executing action
  method = null
 
  I did not see any examples or documentation other
 than
  the API pages.
 
  Thanks,
 
  Scott
 
  --- joey [EMAIL PROTECTED] wrote:
 
   you can just register a custom result which
   implement com.opensymphony.xwork2.Result.
  
   Find detail in struts2 document.
  
  
   On 3/26/07, Scott Nesbitt
 [EMAIL PROTECTED]
   wrote:
   
   
I am moving an app from S1 to S2 that has a
third-party grid component.  In S1 it looked
 like
this:
   
public ActionForward perform(
  ActionMapping   mapping,
  ActionForm  form,
  HttpServletRequest  req,
  HttpServletResponse resp)
{
  try
  {
 GetHandler myGetHandler = new
   GetHandler(resp,
null);
.
.
.
 myGetHandler.writeToClient(ISO-8859-1,
resp.getWriter());
  }
   
  return mapping.findForward(success);
}
   
In S2 I am doing the following:
   
   
public class PopulateGridAction extends
   ActionSupport
implements ParameterAware,
 ServletResponseAware
{
   
public String execute() throws Exception
{
 HttpServletResponse resp =
   getServletResponse();
 GetHandler myGetHandler = new
   GetHandler(resp,
null);
.
.
.
 myGetHandler.writeToClient(ISO-8859-1,
resp.getWriter());
   
  return SUCCESS;
}
   
In S1 it populated the grid fine, but in S2 it
   does
not send back the XML to the grid like it
 should.
   I
guess I do not know what I should specify in
 the
   S2
struts.xml file for the SUCCESS forward.  I do
 not
want it to be the JSP that invoked the above
 code
because that reloads the grid, and I cannot
   specify
null.
   
Thanks for any tips or pointers,
   
Scott
   
   
   
   
   
  
 
 


No need to miss a message. Get email on-the-go
with Yahoo! Mail for Mobile. Get started.
http://mobile.yahoo.com/mail
   
   
  
 

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


  Expecting? Get great news right away with email
 Auto-Check.
  Try the Yahoo! Mail Beta.
 

http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html
 
 

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




 

Bored stiff? Loosen up... 
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front

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



S2: What do you forward to after a response writer?

2007-03-26 Thread Scott Nesbitt

I am moving an app from S1 to S2 that has a
third-party grid component.  In S1 it looked like
this:

public ActionForward perform(
   ActionMapping   mapping,
   ActionForm  form,
   HttpServletRequest  req,
   HttpServletResponse resp)
{
   try
   {
  GetHandler myGetHandler = new GetHandler(resp,
null);
.
.
.
  myGetHandler.writeToClient(ISO-8859-1,
resp.getWriter());
   }

   return mapping.findForward(success);
}

In S2 I am doing the following:


public class PopulateGridAction extends ActionSupport
implements ParameterAware, ServletResponseAware
{ 

public String execute() throws Exception
{ 
  HttpServletResponse resp = getServletResponse();
  GetHandler myGetHandler = new GetHandler(resp,
null);
.
.
.
  myGetHandler.writeToClient(ISO-8859-1,
resp.getWriter());

   return SUCCESS;
}

In S1 it populated the grid fine, but in S2 it does
not send back the XML to the grid like it should.  I
guess I do not know what I should specify in the S2
struts.xml file for the SUCCESS forward.  I do not
want it to be the JSP that invoked the above code
because that reloads the grid, and I cannot specify
null.

Thanks for any tips or pointers,

Scott


 

No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.
http://mobile.yahoo.com/mail 

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



Re: S2: What do you forward to after a response writer?

2007-03-26 Thread Scott Nesbitt

Hmm, when I have this class

public class PopulateGridAction extends ActionSupport
implements ParameterAware, Result

With this method:

public void execute(ActionInvocation invocation)
throws Exception

It never gets called.  Do I have to do something
special in my struts.xml?  My logfiles says:

11:06:34,342 [[ACTIVE] ExecuteThread: '2' for queue:
'weblogic.kernel.Default (self-tuning)'] DEBUG
xwork2.DefaultActionInvocation  - Executing action
method = null

I did not see any examples or documentation other than
the API pages.

Thanks,

Scott

--- joey [EMAIL PROTECTED] wrote:

 you can just register a custom result which
 implement com.opensymphony.xwork2.Result.
 
 Find detail in struts2 document.
 
 
 On 3/26/07, Scott Nesbitt [EMAIL PROTECTED]
 wrote:
 
 
  I am moving an app from S1 to S2 that has a
  third-party grid component.  In S1 it looked like
  this:
 
  public ActionForward perform(
ActionMapping   mapping,
ActionForm  form,
HttpServletRequest  req,
HttpServletResponse resp)
  {
try
{
   GetHandler myGetHandler = new
 GetHandler(resp,
  null);
  .
  .
  .
   myGetHandler.writeToClient(ISO-8859-1,
  resp.getWriter());
}
 
return mapping.findForward(success);
  }
 
  In S2 I am doing the following:
 
 
  public class PopulateGridAction extends
 ActionSupport
  implements ParameterAware, ServletResponseAware
  {
 
  public String execute() throws Exception
  {
   HttpServletResponse resp =
 getServletResponse();
   GetHandler myGetHandler = new
 GetHandler(resp,
  null);
  .
  .
  .
   myGetHandler.writeToClient(ISO-8859-1,
  resp.getWriter());
 
return SUCCESS;
  }
 
  In S1 it populated the grid fine, but in S2 it
 does
  not send back the XML to the grid like it should. 
 I
  guess I do not know what I should specify in the
 S2
  struts.xml file for the SUCCESS forward.  I do not
  want it to be the JSP that invoked the above code
  because that reloads the grid, and I cannot
 specify
  null.
 
  Thanks for any tips or pointers,
 
  Scott
 
 
 
 
 


  No need to miss a message. Get email on-the-go
  with Yahoo! Mail for Mobile. Get started.
  http://mobile.yahoo.com/mail
 
 

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



 

Expecting? Get great news right away with email Auto-Check. 
Try the Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html 

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



Dynamic parameter question - S2

2007-03-13 Thread Scott Nesbitt

I would like to have a url pass a parameter based on
the value of a field on the JSP.  My code looks like
this:


s:url id=historyUrl action=LineupHistory
includeParams=all
   s:param name=foo value=%{barbar}/
/s:url
s:a href=%{historyUrl}Lineup History/s:a

s:hidden name=barbar value=%{'baz'}/


Sadly, in my action class this:

log.debug(In execute, parameters size:  +
parameters.size());

says zero.

If I use the name of a select tag instead of a hidden
the parameter has the first selection so I know my
parameter map is working.  I just can't get it to use
a hidden tag.

Any suggestion?

Thanks for any tips or pointers,

Scott


 

Now that's room service!  Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097

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



Re: Dynamic parameter question - S2

2007-03-13 Thread Scott Nesbitt

Hmm, I see your point.  I do not really need to do any
fancy Ajax stuff here, I just want an action invoked
by a url link to have access to what was selected on
the page (which I was going to stuff into a hidden
field.)

I know I can do this with a form and submit button,
but surely there is a way to do this with a link,
correct?

Thanks for the response,

Scott

--- Dave Newton [EMAIL PROTECTED] wrote:

 --- Scott Nesbitt [EMAIL PROTECTED] wrote:
  I would like to have a url pass a parameter based
 on
  the value of a field on the JSP.  My code looks
 like
  this:
 
 Unless the field is set by the Action before
 displaying the JSP the parameter won't hold a value
 until it's submitted.
 
  s:url id=historyUrl 
 action=LineupHistory
 includeParams=all
s:param name=foo value=%{barbar}/
  /s:url
 
 If the action that displays this JSP fragment has a
 'barbar' property (that is set/initialized)
 everthing
 is fine. If it doesn't, then you're actually trying
 to
 build up a URL from form values on the same page,
 which generally implies JavaScript.
 
 You may be able to do similar functionality by using
 one of the ajax-y S2 tags (haven't thought about
 it),
 by submitting to a different action (but would keep
 the form value of whatever it is you're talking
 about), or a few other ways.
 
 d.
 
 
 
  


 Expecting? Get great news right away with email
 Auto-Check. 
 Try the Yahoo! Mail Beta.

http://advision.webevents.yahoo.com/mailbeta/newmail_tools.html
 
 

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



 

TV dinner still cooling? 
Check out Tonight's Picks on Yahoo! TV.
http://tv.yahoo.com/

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



Cannot find Struts taglib

2007-02-02 Thread Scott Nesbitt

I am getting the following when I try to use the
taglib:

Servlet failed with Exception
java.lang.NullPointerException
at
org.apache.struts2.views.jsp.TagUtils.getStack(TagUtils.java:56)
at
org.apache.struts2.views.jsp.StrutsBodyTagSupport.getStack(StrutsBodyTagSupport.java:51)

Here is my entire Hello.jsp:

%@ taglib prefix=s uri=/struts-tags %
html
   head
  titleHello World!/title
   /head
   body
  h2s:property value=message//h2
   /body
/html

I tried adding the following to my web.xml even though
it should not be necessary:

taglib
 taglib-uri/s/taglib-uri
taglib-location/WEB-INF/struts-tags.tld/taglib-location
/taglib

and made sure the file was in my WEB-INF directory. 
The page renders without the s:property line.

Any suggestions?  I am using Weblogic 9.2 with
struts-2.0.1.

Thanks for any tips or pointers,

Scott


 

Don't get soaked.  Take a quick peak at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather

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



fileUpload redirect problem

2004-04-20 Thread Scott Nesbitt

I am trying to run the example file upload code in BEA
WebLogic 8.1.2, but am getting an error.

All is fine until I try to return from the upload
action class. I do this:

return mapping.findForward(Success);

Which should send it back through struts to where this
is present:

forward name=Success 
 path=/html/upload-success.jsp /

Sadly, the jsp is never invoked.  Instead, I get this:

13:07:17,653 [ExecuteThread: '199' for queue:
'default'] DEBUG action.RequestProcessor  -
processForwardConfig(ForwardConfig[name=Success,path=/html/upload-success.jsp,redirect=false,contextRelative=false])
Apr 19, 2004 1:07:17 PM EDT Error HTTP
BEA-101018
[ServletContext(id=27649252,name=enames,context-path=/enames)]
Servlet failed with ServletException
javax.servlet.ServletException: Original request not
available
at
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:111)

A search on Original request not available
returns some posts from 2002, but no solutions other
than upgrade to the 1.1 release version of struts,
which I am running. 

Any suggestions would be greatly appreciated. 

Thanks,

Scott Nesbitt




__
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢
http://photos.yahoo.com/ph/print_splash

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