<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content=text/html;charset=iso-8859-1>
<STYLE type=text/css><!-- DIV {margin:0px;} --></STYLE>
<META content="MSHTML 6.00.6002.18332" name=GENERATOR></HEAD>
<BODY id=MailContainerBody
style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-TOP: 15px" leftMargin=0
topMargin=0 CanvasTabStop="true" name="Compose message area">
<DIV><FONT face=Arial size=2>Your html is malformed:</FONT></DIV>
<DIV><FONT face=Arial size=2>you are missing single quotes, you have an
</a> element without a matching <a> element and input is a self
closing element. The corrected version follows. I just removed the </a>
element, but you could also add the matching <a> in the correct
place:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>html:'<input type="text" size="250"
style="font-family:tahoma,\'lucida grande\',arial,sans-serif;background-color:
#FFFFFF;font-size:11px;border: none" onMouseOver="select();" value="' + l + '"
/>',</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Matt Priour</FONT></DIV>
<DIV><FONT face=Arial size=2>Kestrel Computer Consulting</DIV>
<DIV><BR></DIV></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV style="FONT: 10pt Tahoma">
<DIV><BR></DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=robertdbuckley@yahoo.com
href="mailto:robertdbuckley@yahoo.com">Robert Buckley</A> </DIV>
<DIV><B>Sent:</B> Wednesday, January 12, 2011 7:26 AM</DIV>
<DIV><B>To:</B> <A title=users@geoext.org
href="mailto:users@geoext.org">users@geoext.org</A> </DIV>
<DIV><B>Subject:</B> [Users] Permalink not working for my app</DIV></DIV></DIV>
<DIV><BR></DIV>
<DIV
style="FONT-SIZE: 8pt; FONT-FAMILY: arial,helvetica,sans-serif">Hi..<BR><BR><BR>I
am trying to get a simple permalink working when I press a button....Itīs not
really working for me though..could anyone have a
look?<BR><BR><BR>CODE:<BR><BR>var permalinkProvider;<BR> // set a
permalink provider<BR> permalinkProvider = new
GeoExt.state.PermalinkProvider({encodeType:
false});<BR><BR><BR> var permalinkButton = new
Ext.Button({<BR> text:
'Permalink',<BR> icon:
'../images/disk.png',<BR> handler:
function(){<BR>
<BR> var l =
permalinkProvider.getLink();<BR>
var permalinkWindow = new Ext.Window({<BR>
title:
'Permalink',<BR>
modal: true,<BR>
iconCls: 'disk',<BR>
layout:
'fit',<BR>
width: 750,<BR>
height: 85,<BR>
closeAction:'hide',<BR>
plain: true,<BR>
resizable: false,<BR>
html: '<input
type="text" size="250" style="font-family:tahoma,\'lucida
grande\',arial,sans-serif;background-color: #FFFFFF;font-size:11px;border: none"
onMouseOver="select();" value=" + l + ">" + l +
"</a>">',<BR>
buttonAlign: 'center',<BR>
buttons:
[{<BR>
text: 'Close',<BR>
handler: function(){<BR>
permalinkWindow.hide();<BR>
}<BR>
}]<BR>
});<BR>
permalinkWindow.show();<BR>
}<BR> });<BR><BR><BR>Thanks,<BR><BR>Robert<BR>
<DIV><BR></DIV></DIV><BR>
<P>
<HR>
<P></P>_______________________________________________<BR>Users mailing
list<BR>Users@geoext.org<BR>http://www.geoext.org/cgi-bin/mailman/listinfo/users<BR></BODY></HTML>