Even I have the similar issue as I need the CommandButton with Target
Attribute. I did solve the problem in my project my having the style button
with commandLink but its best if my faces dev have the target attribute or
any solution with commandButton itself.

Thanks
Gary


Elam Daly wrote:
> 
> Hi all,
> 
> I have the need to have a link that has an icon that opens the results of
> it's operation in a new browser window.  Specifically, it's a link to a
> pdf
> that my Faces application generates that needs to open in a separate
> window.
> 
> Now the problem is that all my options to do this seem limited in one way
> or
> another.  The commandButton doesn't support a target attribute. 
> commandLink
> does, but doesn't have an image tag.  So I nested a graphicImage tag into
> my
> commandLink, set the target value to _new and everything works ok, until I
> hit one of the tab's( serverSideSwitch is true ) or any of my listboxes
> that
> have onclick="submit()" *after* I've hit the icon to open the new page.
> 
> So my target for my ither links is being switched, apparently.
> 
> Can someone offer a solution to this?
> 
> Thanks,
> Elam
> 
> 

-- 
View this message in context: 
http://www.nabble.com/_new-Target-Attribute-and-Tabs-tf1042823.html#a5935887
Sent from the MyFaces - Users forum at Nabble.com.

Reply via email to