You're missing the key point that it does work inside an anchor tag as I previously stated.
As for your second point, it is not entirely correct. Yes the form will not be submitted. But the URL with dynamically generated value of the radio button will be sent to the server. The URL is, of course, the action bean with the event and the one parameter that is required - the value selected. I assure you it works quite well. Once again to those who wish to address the issue (Tim? Fred? Any one?): Why will this work in IE with standard HTML markup but NOT with a Stripes Link Tag? Why does the tag work fine in Mozilla? Sent from my iPhone On May 6, 2009, at 11:22 AM, Mike McNally <[email protected]> wrote: > Well all I can imagine is that IE simply does not like the idea of > having a radio button inside an anchor tag. It probably doesn't have > anything to do with Stripes. > > The reason I think it's weird is that when it does work, your anchor > tag will cause the page to be reloaded. It won't submit the form > containing your input element, so the value of the radio button won't > be maintained anyway, and neither will the value of any other form > fields. > > > On Wed, May 6, 2009 at 11:05 AM, John <[email protected]> wrote: >> I expect it to look like a radio button, act like radio button but >> rather than using an onclick event to make a call to the server, >> leverage the power of the stripes link tag to pass parametets, call >> an >> event on action bean rather than doing it the more verbose old >> fashioned way. Also this code is inside a for:each loop as the list >> of radio buttons is dynamic. >> >> Is there something wrong with this approach? Do to have a suggestion >> for a better approach? How does this feedback address my question? >> Are you implying that the radio button is causing the issue? If you >> are, then why does a standard anchor tag work? Thanks for your time. >> >> Sent from my iPhone >> >> On May 6, 2009, at 9:52 AM, Mike McNally <[email protected]> >> wrote: >> >>> What do you expect to happen when you put an anchor around a radio >>> button? That's weird. >>> >>> >>> On Wed, May 6, 2009 at 9:42 AM, jborys <[email protected]> >>> wrote: >>>> >>>> I am trying to use a simple stripes link tag in IE 7. This tag >>>> works >>>> perfectly in Firefox 3.x, but does not work in IE 7. >>>> >>>> <s:link >>>> beanclass= >>>> "cme.artemis.stripes.dashboard.ManageDashboardsActionBean" >>>> event="makeActive"> >>>> <s:param name="dashboardId" value="${dashboard.id}"/> >>>> <input type="radio" id="isDefault${stat.index}" >>>> name="isDefault" >>>> value="${dashboard.defaultDashboard}" >>>> ${(dashboard.defaultDashboard) ? ' >>>> checked="checked"' : ''}/> >>>> </s:link> >>>> >>>> If I change it to a normal link tag as follows, however, it works >>>> in both. >>>> >>>> < a >>>> href="/techinfo/dashboard/ManageDashboards.action? >>>> makeActive=&dashboardId=${dashboard.id}"> >>>> <input type="radio" id="isDefault${stat.index}" name="isDefault" >>>> value="${dashboard.defaultDashboard}" >>>> ${(dashboard.defaultDashboard) ? ' >>>> checked="checked"' : ''}/> >>>> < / a> >>>> >>>> Why can't IE 7 translate the tag? Is there an error in my tag that >>>> Firefox >>>> ignores that IE doesn't? >>>> >>>> >>>> --Note the spaces were added to the anchor tag so it would render >>>> as markup >>>> instead of a hyperlink. >>>> >>>> >>>> -- >>>> View this message in context: >>>> http://www.nabble.com/Stripes-Link-Tag-in-internet-explorer-7-doesn%27t-work-tp23407609p23407609.html >>>> Sent from the stripes-users mailing list archive at Nabble.com. >>>> >>>> >>>> --- >>>> --- >>>> --- >>>> --- >>>> ------------------------------------------------------------------ >>>> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! >>>> Your >>>> production scanning environment may not be a perfect world - but >>>> thanks to >>>> Kodak, there's a perfect scanner to get the job done! With the NEW >>>> KODAK i700 >>>> Series Scanner you'll get full speed at 300 dpi even with all image >>>> processing features enabled. http://p.sf.net/sfu/kodak-com >>>> _______________________________________________ >>>> Stripes-users mailing list >>>> [email protected] >>>> https://lists.sourceforge.net/lists/listinfo/stripes-users >>>> >>> >>> >>> >>> -- >>> Turtle, turtle, on the ground, >>> Pink and shiny, turn around. >>> >>> --- >>> --- >>> --- >>> --- >>> ------------------------------------------------------------------ >>> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! >>> Your >>> production scanning environment may not be a perfect world - but >>> thanks to >>> Kodak, there's a perfect scanner to get the job done! With the NEW >>> KODAK i700 >>> Series Scanner you'll get full speed at 300 dpi even with all image >>> processing features enabled. http://p.sf.net/sfu/kodak-com >>> _______________________________________________ >>> Stripes-users mailing list >>> [email protected] >>> https://lists.sourceforge.net/lists/listinfo/stripes-users >> >> --- >> --- >> --- >> --------------------------------------------------------------------- >> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! >> Your >> production scanning environment may not be a perfect world - but >> thanks to >> Kodak, there's a perfect scanner to get the job done! With the NEW >> KODAK i700 >> Series Scanner you'll get full speed at 300 dpi even with all image >> processing features enabled. http://p.sf.net/sfu/kodak-com >> _______________________________________________ >> Stripes-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/stripes-users >> > > > > -- > Turtle, turtle, on the ground, > Pink and shiny, turn around. > > --- > --- > --- > --------------------------------------------------------------------- > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! > Your > production scanning environment may not be a perfect world - but > thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW > KODAK i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > Stripes-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/stripes-users ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
