Mike McNally-3 wrote:
> 
> What is the difference in the generated HTML when you do it with
> Stripes vs. when you do it by hand?
> 

After trying to reproduce the generated anchor tag by restoring my code to a
previous version, I was unable to get the anchor tag to work inside IE with
an input field nested inside it..  This leads me to think that I was in fact
pasting the URL in the IE address bar and that I never actually clicked on
the link - which seems incredibly stupid of me and leads me to believe I owe
you an apology - but I can not explain why it no longer works other than I
never clicked that hyperlink.  :confused:

I believe that the portion of your statement below is correct and that I WAS
DEAD WRONG in stating that it worked inside the anchor tag in IE 7.    &-(

Once again, my apologies.
:blush:

This does indeed seem to be an IE issue.  Firefox has no problem with the
code.  I have used the link wrapped around an input field many times in the
past, without complaints.  But all my users were on Firefox. 

My temporary solution is to use the radio button onclick event to call
JavaScript, build a new URL with the passed parameter, and redirect to it.  

<input type="radio" 
     id="isDefault${stat.index}" name="isDefault"
value="${dashboard.defaultDashboard}"  onclick="javascript:
makeActive(${dashboard.id})"                                                    
                ${(dashboard.defaultDashboard) ? '
checked="checked"' : ''}
/> 

//TODO this needs to be converted to an AJAX call in Dojo once I learn how
to use it with Stripes.                         
function makeActive(dashboardId)        {
        newURL = "./ManageDashboards.action?makeActive=&dashboardId=" +
dashboardId;
        window.location.href=newURL;
        window.location.reload();
}

This will refresh the screen, which I don't want to do, but I am only
familiar with making this Ajax call via jQuery. I only have Dojo at my
disposal due to my clients preferences.  Once I figure out how to make the
call using Dojo, I will use the Ajax solution suggested by Zé Miguel.  


Thank you both for your feedback.


Mike McNally-3 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.


-- 
View this message in context: 
http://www.nabble.com/Stripes-Link-Tag-in-internet-explorer-7-doesn%27t-work-tp23407609p23413677.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

Reply via email to