Mittal Bhoigade wrote: > Sam, > > Thanks for response. We fixed this in different way, > > In order for this to work properly behind various firewall setups, it > may be more helpful if the ProgressBar just returns a relative URL.
damn... i had raised the issue of getAbsoluteUrl vs getUrl even before becoming a tacos committer, almost a year ago - didn't get an answer... There were many other reasons i prefered getUrl back then (portlet support for instance) , and this is another one... Will look if this is used in other components. thx mittal ! > > We fixed the problem by adding the following method to the > ProgressBar.java > > /** > * Constructs a [EMAIL PROTECTED] net.sf.tacos.ajax.AjaxDirectService} > link > request. > * @return The "NOT" the fully qualified URL string to call the > * [EMAIL PROTECTED] net.sf.tacos.ajax.AjaxDirectService } with. > */ > public String getRelativeLinkString() { > //refresh id may as well be component id, since > //it has to be unique anyways > return getAjaxService() > .getLink(false,new AjaxDirectServiceParameter(this, new > Object[0], new String[] { getUpdateId() },false, true)).getURL(); > } > > The template was updated to use this method rather than getLinkString(). > > e.g. > > Before our fix.. - this used absolute url > > var linkString = "<span jwcid="@Insert" raw="true" value="ognl: > components.progress.linkString" />"; > > After out fix .... this uses relative url > var linkString = "<span jwcid="@Insert" raw="true" > value="ognl:components.progress.relativeLinkString " />"; > > > Regards > Mittal and Matt > Phila,US > > On 12/13/06, *Sam Gendler* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Sorry for the delay. I'm in an awkard timezone (Russia) and in the > middle of a release week. > > Here's what you need. I'll try to stick this in the FAQ sometime > this week. > > In your server.xml in tomcat, you need to tell tomcat what the correct > scheme, port, and hostname are for the connector that will be used by > the reverse proxy. > > Connector port="8082" > maxThreads="150" minSpareThreads="25" > maxSpareThreads="75" > enableLookups="false" acceptCount="100" > connectionTimeout="20000" > proxyPort="443" redirectPort="443" scheme="https" > disableUploadTimeout="true" /> > > So tell your reverse proxy to go to port 8082 for incoming https > requests, and then all URLs generated by Tapestry will be constructed > with https schema and port 443. > > --sam > > > > > On 12/12/06, Mittal Bhoigade <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Hey Sam, > > > > I found out some more info from our infrastructure guys there's > a reverse > > proxy set up. So is there any tomcat configuration that needs to > be updated > > for it - we are using tomcat as our servlet container. > > > > Thanks > > Mittal > > > > On 12/11/06, Sam Gendler < [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > > Are you going direct to an https connection in your servlet > container, > > > or do you have a reverse proxy or load balancer in front of the > > > server? If so, you need to make sure that your servlet > container is > > > told that the incoming request is https and running on a different > > > port, otherwise tapestry and dojo will generate URLs which > don't match > > > the original incoming URL and you'll get errors. If that is > the case, > > > I can send you instructions for how to set it up in tomcat, at > least, > > > but I'll hav to dig the config out of my production machines. > > > > > > --sam > > > > > > On 12/12/06, Mittal Bhoigade <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > > > Andy, > > > > > > > > I am not using pop-up parameter - I had checked that thread > earlier. > > > > > > > > here's how ajax direct links look like > > > > > > > > <component id="linkToggle" type="tacos:AjaxDirectLink"> > > > > <binding name="listener" value="listener:toggleItem"/> > > > > <binding name="parameters" > value="ognl:'contractValue'"/> > > > > <binding name="updateComponents" > > > > value="ognl:{'contractValueHolder'}"/> > > > > <binding name="effects" > > > > > > value="template:{highlight:{contractValue:'[255,255,184], > > > > 500, 500'},contractValueHolder:'[255,255,184], 500, > > > > 500'}"/> > > > > <binding name="statusElement" value="literal:status" /> > > > > </component> > > > > > > > > Additionally there is progress bar.... which keeps running > till values > > are > > > > been fetched and displayed. > > > > > > > > <component id="progress" type="tacos:ProgressBar"> > > > > <binding name="reloadseconds" value="2" /> > > > > <binding name="worker" value="ognl:progressWorker" /> > > > > <binding name="id" value="literal:progress" /> > > > > <binding name="onCompleteObject" > > > > value="literal:progressComplete" /> > > > > <binding name="hideOnComplete" value="ognl:false"/> > > > > </component> > > > > > > > > > > > > Thanks > > > > Mittal > > > > > > > > > > > > On 12/11/06, andyhot <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > > > > Mittal Bhoigade wrote: > > > > > > Yeah this is only IE - works well in FF. What other > detail's would > > you > > > > > > want > > > > > > > > > > so, you're only using ajaxdirectlink? do you use the popup > parameter? > > > > > > > > > > There was a thread in October here > > > > > "IE 6 Secure Warning on AjaxDirectLink popups " > > > > > perhaps it can help > > > > > > > > > > > > > > > > > > > > > > Thanks > > > > > > Mittal > > > > > > > > > > > > On 12/11/06, *andyhot* < [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > <mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>> > > > > > > wrote: > > > > > > > > > > > > Mittal Bhoigade wrote: > > > > > > > Thanks for reply Andy - that did not work. > > > > > > > > > > > > So, can you give some more detail? is this a IE only? > > > > > > > > > > > > I believe others are using tacos in ssl ( i don't), > perhaps they > > > > > > can help > > > > > > > > > > > > > > Mittal > > > > > > > > > > > > > > On 12/11/06, *andyhot* < [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > > > > > <mailto: [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> <mailto:[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > > > > > <mailto: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>>> > > > > > > > wrote: > > > > > > > > > > > > > > This might be another side effect of dojo > storage using > > > > flash... > > > > > > > try > > > > > > > djConfig = { isDebug: false, > > > > > > > baseRelativePath: "js/dojo", > > > > > > > preventBackButtonFix: false, > > > > > > > disableFlashStorage: true, > > > > > > > parseWidgets: true > > > > > > > }; > > > > > > > > > > > > > > > > > > > > > Mittal Bhoigade wrote: > > > > > > > > we are using tacos vesion 4.0.1 and tapestry > version > > > > > > 4.0.2. We are > > > > > > > > using AjaxDirectLink, all works good on > developers > > > > > > sandbox, but when > > > > > > > > deployed on say DEV Server where all > request's are sent > > > > > > thru' proxy > > > > > > > > using https - we are getting javascript error - > > "Permission > > > > > > > Denied" - > > > > > > > > has anyone got the same problem. > > > > > > > > > > > > > > > > <script type="text/javascript"> > > > > > > > > djConfig = { isDebug: false, > > > > > > > > baseRelativePath: > > "js/dojo", > > > > > > > > preventBackButtonFix: > > false, > > > > > > > > parseWidgets: true > > > > > > > > }; > > > > > > > > </script> > > > > > > > > > > > > > > > > Any inputs shall help. > > > > > > > > > > > > > > > > -- > > > > > > > > Thanks > > > > > > > > Mittal > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > > > > > > > > > > > > Take Surveys. Earn Cash. Influence the > Future of IT > > > > > > > > Join SourceForge.net's Techsay panel and > you'll get the > > > > chance > > > > > > > to share your > > > > > > > > opinions on IT & business topics through > brief surveys - > > and > > > > > > > earn cash > > > > > > > > > > > > > > > > > > > > > > > > > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > > > > > > > > > > < > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>> > > > > > > > > > > > > > > > > > < > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > > > > > > < > > > > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > > >> > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > > Tacos-devel mailing list > > > > > > > > Tacos-devel@lists.sourceforge.net > <mailto:Tacos-devel@lists.sourceforge.net> > > > > > > <mailto: Tacos-devel@lists.sourceforge.net > <mailto:Tacos-devel@lists.sourceforge.net>> > > > > > > > <mailto: > > Tacos-devel@lists.sourceforge.net > <mailto:Tacos-devel@lists.sourceforge.net> > > > > > > <mailto:Tacos-devel@lists.sourceforge.net > <mailto:Tacos-devel@lists.sourceforge.net>>> > > > > > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/tacos-devel > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > Andreas Andreou - [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > > > > > <mailto:[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> <mailto: [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > > > > > <mailto:[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> >> - > > > > > > > http://andyhot.di.uoa.gr < > http://andyhot.di.uoa.gr > > > > > > <http://andyhot.di.uoa.gr >> > > > > > > > Tapestry / Tacos developer > > > > > > > Open Source / J2EE Consulting > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > > > > Take Surveys. Earn Cash. Influence the Future > of IT > > > > > > > Join SourceForge.net 's Techsay panel and > you'll get the > > > > > > chance to > > > > > > > share your > > > > > > > opinions on IT & business topics through brief > surveys - > > and > > > > > > earn cash > > > > > > > > > > > > > > > > > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > > > > > > > > > > > > < > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>> > > > > > > > > > > > > > > > > > > > < > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > > > > > > < > > > > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV>>> > > > > > > > > > > > _______________________________________________ > > > > > > > Tacos-devel mailing list > > > > > > > Tacos-devel@lists.sourceforge.net > <mailto:Tacos-devel@lists.sourceforge.net> > > > > > > <mailto: Tacos-devel@lists.sourceforge.net > <mailto:Tacos-devel@lists.sourceforge.net>> > > > > > > > <mailto: > > Tacos-devel@lists.sourceforge.net > <mailto:Tacos-devel@lists.sourceforge.net> > > > > > > <mailto: Tacos-devel@lists.sourceforge.net > <mailto:Tacos-devel@lists.sourceforge.net>>> > > > > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/tacos-devel > > > > > > > > > > > > <https://lists.sourceforge.net/lists/listinfo/tacos-devel > <https://lists.sourceforge.net/lists/listinfo/tacos-devel> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > Regards > > > > > > > Mittal Bhiogade > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > > > > > > > > > > Take Surveys. Earn Cash. Influence the Future of IT > > > > > > > Join SourceForge.net 's Techsay panel and you'll > get the > > chance > > > > > > to share your > > > > > > > opinions on IT & business topics through brief > surveys - and > > > > > > earn cash > > > > > > > > > > > > > > > > > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > > > > > > > > > > > > > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > > > Tacos-devel mailing list > > > > > > > Tacos-devel@lists.sourceforge.net > <mailto:Tacos-devel@lists.sourceforge.net> > > > > > > <mailto: Tacos-devel@lists.sourceforge.net > <mailto:Tacos-devel@lists.sourceforge.net>> > > > > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/tacos-devel > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > Andreas Andreou - [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> <mailto:[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > > > - > > > > > > http://andyhot.di.uoa.gr <http://andyhot.di.uoa.gr> > < http://andyhot.di.uoa.gr> > > > > > > Tapestry / Tacos developer > > > > > > Open Source / J2EE Consulting > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > > > Take Surveys. Earn Cash. Influence the Future of IT > > > > > > Join SourceForge.net 's Techsay panel and you'll get > the chance > > to > > > > > > share your > > > > > > opinions on IT & business topics through brief > surveys - and > > earn > > > > cash > > > > > > > > > > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > > > > > > > > > > > > > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > > > > > > > > > > > _______________________________________________ > > > > > > Tacos-devel mailing list > > > > > > Tacos-devel@lists.sourceforge.net > <mailto:Tacos-devel@lists.sourceforge.net> > > > > > > <mailto: Tacos-devel@lists.sourceforge.net > <mailto:Tacos-devel@lists.sourceforge.net>> > > > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/tacos-devel > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > Regards > > > > > > Mittal Bhiogade > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > > > Take Surveys. Earn Cash. Influence the Future of IT > > > > > > Join SourceForge.net's Techsay panel and you'll get the > chance to > > share > > > > your > > > > > > opinions on IT & business topics through brief surveys - > and earn > > cash > > > > > > > > > > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > > > > > _______________________________________________ > > > > > > Tacos-devel mailing list > > > > > > Tacos-devel@lists.sourceforge.net > <mailto:Tacos-devel@lists.sourceforge.net> > > > > > > > > > > > > https://lists.sourceforge.net/lists/listinfo/tacos-devel > > > > > > > > > > > > > > > > > > > > > -- > > > > > Andreas Andreou - [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> - http://andyhot.di.uoa.gr > > > > > Tapestry / Tacos developer > > > > > Open Source / J2EE Consulting > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > > Take Surveys. Earn Cash. Influence the Future of IT > > > > > Join SourceForge.net 's Techsay panel and you'll get the > chance to > > share > > > > your > > > > > opinions on IT & business topics through brief surveys - > and earn cash > > > > > > > > > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > > > > > _______________________________________________ > > > > > Tacos-devel mailing list > > > > > Tacos-devel@lists.sourceforge.net > <mailto:Tacos-devel@lists.sourceforge.net> > > > > > > > https://lists.sourceforge.net/lists/listinfo/tacos-devel > > > > > > > > > > > > > > > > > > > > > -- > > > > Regards > > > > Mittal Bhiogade > > > > > > > ------------------------------------------------------------------------- > > > > Take Surveys. Earn Cash. Influence the Future of IT > > > > Join SourceForge.net's Techsay panel and you'll get the > chance to share > > your > > > > opinions on IT & business topics through brief surveys - and > earn cash > > > > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > > > > > > > > _______________________________________________ > > > > Tacos-devel mailing list > > > > Tacos-devel@lists.sourceforge.net > <mailto:Tacos-devel@lists.sourceforge.net> > > > > > > https://lists.sourceforge.net/lists/listinfo/tacos-devel > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > Take Surveys. Earn Cash. Influence the Future of IT > > > Join SourceForge.net's Techsay panel and you'll get the chance > to share > > your > > > opinions on IT & business topics through brief surveys - and > earn cash > > > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > > > _______________________________________________ > > > Tacos-devel mailing list > > > Tacos-devel@lists.sourceforge.net > <mailto:Tacos-devel@lists.sourceforge.net> > > > https://lists.sourceforge.net/lists/listinfo/tacos-devel > > > > > > > > > > > -- > > Regards > > Mittal Bhiogade > > > ------------------------------------------------------------------------- > > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance > to share your > > opinions on IT & business topics through brief surveys - and > earn cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > > > > _______________________________________________ > > Tacos-devel mailing list > > Tacos-devel@lists.sourceforge.net > <mailto:Tacos-devel@lists.sourceforge.net> > > https://lists.sourceforge.net/lists/listinfo/tacos-devel > <https://lists.sourceforge.net/lists/listinfo/tacos-devel> > > > > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > <http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV> > _______________________________________________ > Tacos-devel mailing list > Tacos-devel@lists.sourceforge.net > <mailto:Tacos-devel@lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/tacos-devel > > > > > -- > Regards > Mittal Bhiogade > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > Tacos-devel mailing list > Tacos-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tacos-devel > -- Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr Tapestry / Tacos developer Open Source / J2EE Consulting ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Tacos-devel mailing list Tacos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tacos-devel