Links

classic Classic list List threaded Threaded
13 messages Options
Reply | Threaded
Open this post in threaded view
|

Links

Nicolas Modrzyk-3
Hi List,

Correct me if I am wrong, but in the current nightly builds, the
following works:
<xforms:trigger appearance="xxforms:link">
<xforms:load ev:event="DOMActivate" show="replace"
ref="instance('taskinput')/fe:trigger29"/>
<xforms:label>Link</xforms:label>
</xforms:trigger>

while the following does not:
<xforms:trigger appearance="xxforms:link">
<xforms:load ev:event="DOMActivate" show="new"
ref="instance('taskinput')/fe:trigger29"/>
<xforms:label>Link</xforms:label>
</xforms:trigger>


The new value in show, is not triggering anything for a link, maybe
it's not supported ?
I saw an old post saying it was:
http://www.nabble.com/XForms-load-td1115057.html

Any other alternative ?

Thank you in advance,

Niko


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Links

Nicolas Modrzyk-3
Having tested a bit more, it looks it works in Firefox and Opera.
Could be that Safari is the one causing troubles.

Any idea ?

Niko,

On 7/9/08, Nicolas Modrzyk <[hidden email]> wrote:

> Hi List,
>
>  Correct me if I am wrong, but in the current nightly builds, the
>  following works:
>  <xforms:trigger appearance="xxforms:link">
>  <xforms:load ev:event="DOMActivate" show="replace"
>  ref="instance('taskinput')/fe:trigger29"/>
>  <xforms:label>Link</xforms:label>
>  </xforms:trigger>
>
>  while the following does not:
>  <xforms:trigger appearance="xxforms:link">
>  <xforms:load ev:event="DOMActivate" show="new"
>  ref="instance('taskinput')/fe:trigger29"/>
>  <xforms:label>Link</xforms:label>
>  </xforms:trigger>
>
>
>  The new value in show, is not triggering anything for a link, maybe
>  it's not supported ?
>  I saw an old post saying it was:
>  http://www.nabble.com/XForms-load-td1115057.html
>
>  Any other alternative ?
>
>  Thank you in advance,
>
>  Niko
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Links

Erik Bruchez
Administrator
Yes "new" should work, but as you say it may be just a Safari issue. I  
entered a bug:

   http://tinyurl.com/5rrljv

BTW you should rather use the "minimal" appearance rather than the  
"xxforms:link" appearance. They are the same, but "minimal" is more  
standard.

-Erik

On Jul 9, 2008, at 5:21 AM, Nicolas Modrzyk wrote:

> Having tested a bit more, it looks it works in Firefox and Opera.
> Could be that Safari is the one causing troubles.
>
> Any idea ?
>
> Niko,
>
> On 7/9/08, Nicolas Modrzyk <[hidden email]> wrote:
>> Hi List,
>>
>> Correct me if I am wrong, but in the current nightly builds, the
>> following works:
>> <xforms:trigger appearance="xxforms:link">
>> <xforms:load ev:event="DOMActivate" show="replace"
>> ref="instance('taskinput')/fe:trigger29"/>
>> <xforms:label>Link</xforms:label>
>> </xforms:trigger>
>>
>> while the following does not:
>> <xforms:trigger appearance="xxforms:link">
>> <xforms:load ev:event="DOMActivate" show="new"
>> ref="instance('taskinput')/fe:trigger29"/>
>> <xforms:label>Link</xforms:label>
>> </xforms:trigger>
>>
>>
>> The new value in show, is not triggering anything for a link, maybe
>> it's not supported ?
>> I saw an old post saying it was:
>> http://www.nabble.com/XForms-load-td1115057.html
>>
>> Any other alternative ?
>>
>> Thank you in advance,
>>
>> Niko
>>
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Links

Nicolas Modrzyk-3
Erik, thanks for the bug entry.
I see it has priority 5, which means pretty low right ?
How can I help raising the priority up ? :)

Niko,

On 7/10/08, Erik Bruchez <[hidden email]> wrote:

> Yes "new" should work, but as you say it may be just a Safari issue. I
> entered a bug:
>
>   http://tinyurl.com/5rrljv
>
>  BTW you should rather use the "minimal" appearance rather than the
> "xxforms:link" appearance. They are the same, but "minimal" is more
> standard.
>
>  -Erik
>
>
>  On Jul 9, 2008, at 5:21 AM, Nicolas Modrzyk wrote:
>
>
> >
> > Having tested a bit more, it looks it works in Firefox and Opera.
> > Could be that Safari is the one causing troubles.
> >
> > Any idea ?
> >
> > Niko,
> >
> > On 7/9/08, Nicolas Modrzyk <[hidden email]> wrote:
> >
> > > Hi List,
> > >
> > > Correct me if I am wrong, but in the current nightly builds, the
> > > following works:
> > > <xforms:trigger appearance="xxforms:link">
> > > <xforms:load ev:event="DOMActivate" show="replace"
> > > ref="instance('taskinput')/fe:trigger29"/>
> > > <xforms:label>Link</xforms:label>
> > > </xforms:trigger>
> > >
> > > while the following does not:
> > > <xforms:trigger appearance="xxforms:link">
> > > <xforms:load ev:event="DOMActivate" show="new"
> > > ref="instance('taskinput')/fe:trigger29"/>
> > > <xforms:label>Link</xforms:label>
> > > </xforms:trigger>
> > >
> > >
> > > The new value in show, is not triggering anything for a link, maybe
> > > it's not supported ?
> > > I saw an old post saying it was:
> > > http://www.nabble.com/XForms-load-td1115057.html
> > >
> > > Any other alternative ?
> > >
> > > Thank you in advance,
> > >
> > > Niko
> > >
> > >
> >
> > --
> > You receive this message as a subscriber of the [hidden email] mailing
> list.
> > To unsubscribe: mailto:[hidden email]
> > For general help: mailto:[hidden email]?subject=help
> > OW2 mailing lists service home page: http://www.ow2.org/wws
> >
>
>  --
>  Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>  http://www.orbeon.com/
>
>
>
>  --
>  You receive this message as a subscriber of the [hidden email] mailing
> list.
>  To unsubscribe: mailto:[hidden email]
>  For general help: mailto:[hidden email]?subject=help
>  OW2 mailing lists service home page: http://www.ow2.org/wws
>
>
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Links

Erik Bruchez
Administrator
Even better, try to figure out why it doesn't work and let us know  
about the fix ;-)

-Erik

On Jul 9, 2008, at 10:07 PM, Nicolas Modrzyk wrote:

> Erik, thanks for the bug entry.
> I see it has priority 5, which means pretty low right ?
> How can I help raising the priority up ? :)
>
> Niko,
>
> On 7/10/08, Erik Bruchez <[hidden email]> wrote:
>> Yes "new" should work, but as you say it may be just a Safari  
>> issue. I
>> entered a bug:
>>
>>  http://tinyurl.com/5rrljv
>>
>> BTW you should rather use the "minimal" appearance rather than the
>> "xxforms:link" appearance. They are the same, but "minimal" is more
>> standard.
>>
>> -Erik
>>
>>
>> On Jul 9, 2008, at 5:21 AM, Nicolas Modrzyk wrote:
>>
>>
>>>
>>> Having tested a bit more, it looks it works in Firefox and Opera.
>>> Could be that Safari is the one causing troubles.
>>>
>>> Any idea ?
>>>
>>> Niko,
>>>
>>> On 7/9/08, Nicolas Modrzyk <[hidden email]> wrote:
>>>
>>>> Hi List,
>>>>
>>>> Correct me if I am wrong, but in the current nightly builds, the
>>>> following works:
>>>> <xforms:trigger appearance="xxforms:link">
>>>> <xforms:load ev:event="DOMActivate" show="replace"
>>>> ref="instance('taskinput')/fe:trigger29"/>
>>>> <xforms:label>Link</xforms:label>
>>>> </xforms:trigger>
>>>>
>>>> while the following does not:
>>>> <xforms:trigger appearance="xxforms:link">
>>>> <xforms:load ev:event="DOMActivate" show="new"
>>>> ref="instance('taskinput')/fe:trigger29"/>
>>>> <xforms:label>Link</xforms:label>
>>>> </xforms:trigger>
>>>>
>>>>
>>>> The new value in show, is not triggering anything for a link, maybe
>>>> it's not supported ?
>>>> I saw an old post saying it was:
>>>> http://www.nabble.com/XForms-load-td1115057.html
>>>>
>>>> Any other alternative ?
>>>>
>>>> Thank you in advance,
>>>>
>>>> Niko
>>>>
>>>>
>>>
>>> --
>>> You receive this message as a subscriber of the [hidden email]  
>>> mailing
>> list.
>>> To unsubscribe: mailto:[hidden email]
>>> For general help: mailto:[hidden email]?subject=help
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>
>>
>> --
>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>> http://www.orbeon.com/
>>
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email]  
>> mailing
>> list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>>
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Links

Nicolas Modrzyk-3
Would love it.
Would YUI be where to start ?
I see Orbeon is using version: 2.3.1.
Maybe updating to a more recent one make the difference ?

Niko,

On 7/10/08, Erik Bruchez <[hidden email]> wrote:

> Even better, try to figure out why it doesn't work and let us know about the
> fix ;-)
>
>  -Erik
>
>
>  On Jul 9, 2008, at 10:07 PM, Nicolas Modrzyk wrote:
>
>
> > Erik, thanks for the bug entry.
> > I see it has priority 5, which means pretty low right ?
> > How can I help raising the priority up ? :)
> >
> > Niko,
> >
> > On 7/10/08, Erik Bruchez <[hidden email]> wrote:
> >
> > > Yes "new" should work, but as you say it may be just a Safari issue. I
> > > entered a bug:
> > >
> > >  http://tinyurl.com/5rrljv
> > >
> > > BTW you should rather use the "minimal" appearance rather than the
> > > "xxforms:link" appearance. They are the same, but "minimal" is more
> > > standard.
> > >
> > > -Erik
> > >
> > >
> > > On Jul 9, 2008, at 5:21 AM, Nicolas Modrzyk wrote:
> > >
> > >
> > >
> > > >
> > > > Having tested a bit more, it looks it works in Firefox and Opera.
> > > > Could be that Safari is the one causing troubles.
> > > >
> > > > Any idea ?
> > > >
> > > > Niko,
> > > >
> > > > On 7/9/08, Nicolas Modrzyk <[hidden email]> wrote:
> > > >
> > > >
> > > > > Hi List,
> > > > >
> > > > > Correct me if I am wrong, but in the current nightly builds, the
> > > > > following works:
> > > > > <xforms:trigger appearance="xxforms:link">
> > > > > <xforms:load ev:event="DOMActivate" show="replace"
> > > > > ref="instance('taskinput')/fe:trigger29"/>
> > > > > <xforms:label>Link</xforms:label>
> > > > > </xforms:trigger>
> > > > >
> > > > > while the following does not:
> > > > > <xforms:trigger appearance="xxforms:link">
> > > > > <xforms:load ev:event="DOMActivate" show="new"
> > > > > ref="instance('taskinput')/fe:trigger29"/>
> > > > > <xforms:label>Link</xforms:label>
> > > > > </xforms:trigger>
> > > > >
> > > > >
> > > > > The new value in show, is not triggering anything for a link, maybe
> > > > > it's not supported ?
> > > > > I saw an old post saying it was:
> > > > > http://www.nabble.com/XForms-load-td1115057.html
> > > > >
> > > > > Any other alternative ?
> > > > >
> > > > > Thank you in advance,
> > > > >
> > > > > Niko
> > > > >
> > > > >
> > > > >
> > > >
> > > > --
> > > > You receive this message as a subscriber of the [hidden email]
> mailing
> > > >
> > > list.
> > >
> > > > To unsubscribe: mailto:[hidden email]
> > > > For general help: mailto:[hidden email]?subject=help
> > > > OW2 mailing lists service home page: http://www.ow2.org/wws
> > > >
> > > >
> > >
> > > --
> > > Orbeon Forms - Web Forms for the Enterprise Done the Right Way
> > > http://www.orbeon.com/
> > >
> > >
> > >
> > > --
> > > You receive this message as a subscriber of the [hidden email]
> mailing
> > > list.
> > > To unsubscribe: mailto:[hidden email]
> > > For general help: mailto:[hidden email]?subject=help
> > > OW2 mailing lists service home page: http://www.ow2.org/wws
> > >
> > >
> > >
> > >
> >
> > --
> > You receive this message as a subscriber of the [hidden email] mailing
> list.
> > To unsubscribe: mailto:[hidden email]
> > For general help: mailto:[hidden email]?subject=help
> > OW2 mailing lists service home page: http://www.ow2.org/wws
> >
>
>  --
>  Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>  http://www.orbeon.com/
>
>
>
>  --
>  You receive this message as a subscriber of the [hidden email] mailing
> list.
>  To unsubscribe: mailto:[hidden email]
>  For general help: mailto:[hidden email]?subject=help
>  OW2 mailing lists service home page: http://www.ow2.org/wws
>
>
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Re: Links

Erik Bruchez
Administrator
Niko,

First thing to do would be to look at this page:

   https://wiki.objectweb.org/ops/Wiki.jsp?page=JavaScriptDevelopment

The changes in properties.xml are very important as they will allow  
you to see decently formatted code.

I suspect that this particular issue is not related to YUI, but I  
could be wrong. This said, we have some doc about YUI here:

   https://wiki.objectweb.org/ops/Wiki.jsp?page=YUI

Let us know if that helps.

-Erik

On Jul 10, 2008, at 12:39 AM, Nicolas Modrzyk wrote:

> Would love it.
> Would YUI be where to start ?
> I see Orbeon is using version: 2.3.1.
> Maybe updating to a more recent one make the difference ?
>
> Niko,
>
> On 7/10/08, Erik Bruchez <[hidden email]> wrote:
>> Even better, try to figure out why it doesn't work and let us know  
>> about the
>> fix ;-)
>>
>> -Erik
>>
>>
>> On Jul 9, 2008, at 10:07 PM, Nicolas Modrzyk wrote:
>>
>>
>>> Erik, thanks for the bug entry.
>>> I see it has priority 5, which means pretty low right ?
>>> How can I help raising the priority up ? :)
>>>
>>> Niko,
>>>
>>> On 7/10/08, Erik Bruchez <[hidden email]> wrote:
>>>
>>>> Yes "new" should work, but as you say it may be just a Safari  
>>>> issue. I
>>>> entered a bug:
>>>>
>>>> http://tinyurl.com/5rrljv
>>>>
>>>> BTW you should rather use the "minimal" appearance rather than the
>>>> "xxforms:link" appearance. They are the same, but "minimal" is more
>>>> standard.
>>>>
>>>> -Erik
>>>>
>>>>
>>>> On Jul 9, 2008, at 5:21 AM, Nicolas Modrzyk wrote:
>>>>
>>>>
>>>>
>>>>>
>>>>> Having tested a bit more, it looks it works in Firefox and Opera.
>>>>> Could be that Safari is the one causing troubles.
>>>>>
>>>>> Any idea ?
>>>>>
>>>>> Niko,
>>>>>
>>>>> On 7/9/08, Nicolas Modrzyk <[hidden email]> wrote:
>>>>>
>>>>>
>>>>>> Hi List,
>>>>>>
>>>>>> Correct me if I am wrong, but in the current nightly builds, the
>>>>>> following works:
>>>>>> <xforms:trigger appearance="xxforms:link">
>>>>>> <xforms:load ev:event="DOMActivate" show="replace"
>>>>>> ref="instance('taskinput')/fe:trigger29"/>
>>>>>> <xforms:label>Link</xforms:label>
>>>>>> </xforms:trigger>
>>>>>>
>>>>>> while the following does not:
>>>>>> <xforms:trigger appearance="xxforms:link">
>>>>>> <xforms:load ev:event="DOMActivate" show="new"
>>>>>> ref="instance('taskinput')/fe:trigger29"/>
>>>>>> <xforms:label>Link</xforms:label>
>>>>>> </xforms:trigger>
>>>>>>
>>>>>>
>>>>>> The new value in show, is not triggering anything for a link,  
>>>>>> maybe
>>>>>> it's not supported ?
>>>>>> I saw an old post saying it was:
>>>>>> http://www.nabble.com/XForms-load-td1115057.html
>>>>>>
>>>>>> Any other alternative ?
>>>>>>
>>>>>> Thank you in advance,
>>>>>>
>>>>>> Niko
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> You receive this message as a subscriber of the [hidden email]
>> mailing
>>>>>
>>>> list.
>>>>
>>>>> To unsubscribe: mailto:[hidden email]
>>>>> For general help: mailto:[hidden email]?subject=help
>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>
>>>>>
>>>>
>>>> --
>>>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>>>> http://www.orbeon.com/
>>>>
>>>>
>>>>
>>>> --
>>>> You receive this message as a subscriber of the [hidden email]
>> mailing
>>>> list.
>>>> To unsubscribe: mailto:[hidden email]
>>>> For general help: mailto:[hidden email]?subject=help
>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>
>>>>
>>>>
>>>>
>>>
>>> --
>>> You receive this message as a subscriber of the [hidden email]  
>>> mailing
>> list.
>>> To unsubscribe: mailto:[hidden email]
>>> For general help: mailto:[hidden email]?subject=help
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>
>>
>> --
>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>> http://www.orbeon.com/
>>
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email]  
>> mailing
>> list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>>
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Re: Re: Links

Nicolas Modrzyk-3
Hi Erik,

I found it.
Let's go to line 4135 of xforms.js, the block starting with
if (show == "replace") {
...
}
We're facing a basic popup block from Safari. We can change the
location of the window (thus show="replace" will work) but opening a
new window will be blocked by default (thus show="new" will not)

We just need to use a method popup:
function popup( url, title, options )
  {
  var newWin = window.open( url, title, options )
  if( !newWin )
    {
    newWin = window.open('',title, options);
    newWin.location.href = url;
    }
  }
That will do the trick.
This is described in:
http://aarongough.com/content/view/29/1/

Since, we're using xforms-min.js for deployment, could you commit this in ?

Let me know,

Niko,

On 7/11/08, Erik Bruchez <[hidden email]> wrote:

> Niko,
>
>  First thing to do would be to look at this page:
>
>
> https://wiki.objectweb.org/ops/Wiki.jsp?page=JavaScriptDevelopment
>
>  The changes in properties.xml are very important as they will allow you to
> see decently formatted code.
>
>  I suspect that this particular issue is not related to YUI, but I could be
> wrong. This said, we have some doc about YUI here:
>
>   https://wiki.objectweb.org/ops/Wiki.jsp?page=YUI
>
>  Let us know if that helps.
>
>  -Erik
>
>
>  On Jul 10, 2008, at 12:39 AM, Nicolas Modrzyk wrote:
>
>
> > Would love it.
> > Would YUI be where to start ?
> > I see Orbeon is using version: 2.3.1.
> > Maybe updating to a more recent one make the difference ?
> >
> > Niko,
> >
> > On 7/10/08, Erik Bruchez <[hidden email]> wrote:
> >
> > > Even better, try to figure out why it doesn't work and let us know about
> the
> > > fix ;-)
> > >
> > > -Erik
> > >
> > >
> > > On Jul 9, 2008, at 10:07 PM, Nicolas Modrzyk wrote:
> > >
> > >
> > >
> > > > Erik, thanks for the bug entry.
> > > > I see it has priority 5, which means pretty low right ?
> > > > How can I help raising the priority up ? :)
> > > >
> > > > Niko,
> > > >
> > > > On 7/10/08, Erik Bruchez <[hidden email]> wrote:
> > > >
> > > >
> > > > > Yes "new" should work, but as you say it may be just a Safari issue.
> I
> > > > > entered a bug:
> > > > >
> > > > > http://tinyurl.com/5rrljv
> > > > >
> > > > > BTW you should rather use the "minimal" appearance rather than the
> > > > > "xxforms:link" appearance. They are the same, but "minimal" is more
> > > > > standard.
> > > > >
> > > > > -Erik
> > > > >
> > > > >
> > > > > On Jul 9, 2008, at 5:21 AM, Nicolas Modrzyk wrote:
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > >
> > > > > > Having tested a bit more, it looks it works in Firefox and Opera.
> > > > > > Could be that Safari is the one causing troubles.
> > > > > >
> > > > > > Any idea ?
> > > > > >
> > > > > > Niko,
> > > > > >
> > > > > > On 7/9/08, Nicolas Modrzyk <[hidden email]> wrote:
> > > > > >
> > > > > >
> > > > > >
> > > > > > > Hi List,
> > > > > > >
> > > > > > > Correct me if I am wrong, but in the current nightly builds, the
> > > > > > > following works:
> > > > > > > <xforms:trigger appearance="xxforms:link">
> > > > > > > <xforms:load ev:event="DOMActivate" show="replace"
> > > > > > > ref="instance('taskinput')/fe:trigger29"/>
> > > > > > > <xforms:label>Link</xforms:label>
> > > > > > > </xforms:trigger>
> > > > > > >
> > > > > > > while the following does not:
> > > > > > > <xforms:trigger appearance="xxforms:link">
> > > > > > > <xforms:load ev:event="DOMActivate" show="new"
> > > > > > > ref="instance('taskinput')/fe:trigger29"/>
> > > > > > > <xforms:label>Link</xforms:label>
> > > > > > > </xforms:trigger>
> > > > > > >
> > > > > > >
> > > > > > > The new value in show, is not triggering anything for a link,
> maybe
> > > > > > > it's not supported ?
> > > > > > > I saw an old post saying it was:
> > > > > > >
> http://www.nabble.com/XForms-load-td1115057.html
> > > > > > >
> > > > > > > Any other alternative ?
> > > > > > >
> > > > > > > Thank you in advance,
> > > > > > >
> > > > > > > Niko
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > > --
> > > > > > You receive this message as a subscriber of the [hidden email]
> > > > > >
> > > > >
> > > >
> > > mailing
> > >
> > > >
> > > > >
> > > > > >
> > > > > >
> > > > > list.
> > > > >
> > > > >
> > > > > > To unsubscribe:
> mailto:[hidden email]
> > > > > > For general help:
> mailto:[hidden email]?subject=help
> > > > > > OW2 mailing lists service home page: http://www.ow2.org/wws
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > > --
> > > > > Orbeon Forms - Web Forms for the Enterprise Done the Right Way
> > > > > http://www.orbeon.com/
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > You receive this message as a subscriber of the [hidden email]
> > > > >
> > > >
> > > mailing
> > >
> > > >
> > > > > list.
> > > > > To unsubscribe:
> mailto:[hidden email]
> > > > > For general help: mailto:[hidden email]?subject=help
> > > > > OW2 mailing lists service home page: http://www.ow2.org/wws
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > > --
> > > > You receive this message as a subscriber of the [hidden email]
> mailing
> > > >
> > > list.
> > >
> > > > To unsubscribe: mailto:[hidden email]
> > > > For general help: mailto:[hidden email]?subject=help
> > > > OW2 mailing lists service home page: http://www.ow2.org/wws
> > > >
> > > >
> > >
> > > --
> > > Orbeon Forms - Web Forms for the Enterprise Done the Right Way
> > > http://www.orbeon.com/
> > >
> > >
> > >
> > > --
> > > You receive this message as a subscriber of the [hidden email]
> mailing
> > > list.
> > > To unsubscribe: mailto:[hidden email]
> > > For general help: mailto:[hidden email]?subject=help
> > > OW2 mailing lists service home page: http://www.ow2.org/wws
> > >
> > >
> > >
> > >
> >
> > --
> > You receive this message as a subscriber of the [hidden email] mailing
> list.
> > To unsubscribe: mailto:[hidden email]
> > For general help: mailto:[hidden email]?subject=help
> > OW2 mailing lists service home page: http://www.ow2.org/wws
> >
>
>  --
>  Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>  http://www.orbeon.com/
>
>
>
>  --
>  You receive this message as a subscriber of the [hidden email] mailing
> list.
>  To unsubscribe: mailto:[hidden email]
>  For general help: mailto:[hidden email]?subject=help
>  OW2 mailing lists service home page: http://www.ow2.org/wws
>
>
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Re: Re: Links

Nicolas Modrzyk-3
Maybe I spoke too fast.
I'm not too sure about the workaround anymore. It seems like this has
been broken in the latest safari.
We could maybe try to alert the user by using (confirm()) or, maybe
YUI can load a nice window instead ?

WDYT ?

Niko,

On 7/11/08, Nicolas Modrzyk <[hidden email]> wrote:

> Hi Erik,
>
>  I found it.
>  Let's go to line 4135 of xforms.js, the block starting with
>  if (show == "replace") {
>  ...
>  }
>  We're facing a basic popup block from Safari. We can change the
>  location of the window (thus show="replace" will work) but opening a
>  new window will be blocked by default (thus show="new" will not)
>
>  We just need to use a method popup:
>  function popup( url, title, options )
>   {
>   var newWin = window.open( url, title, options )
>   if( !newWin )
>     {
>     newWin = window.open('',title, options);
>     newWin.location.href = url;
>     }
>   }
>  That will do the trick.
>  This is described in:
>  http://aarongough.com/content/view/29/1/
>
>  Since, we're using xforms-min.js for deployment, could you commit this in ?
>
>  Let me know,
>
>  Niko,
>
>
>  On 7/11/08, Erik Bruchez <[hidden email]> wrote:
>  > Niko,
>  >
>  >  First thing to do would be to look at this page:
>  >
>  >
>  > https://wiki.objectweb.org/ops/Wiki.jsp?page=JavaScriptDevelopment
>  >
>  >  The changes in properties.xml are very important as they will allow you to
>  > see decently formatted code.
>  >
>  >  I suspect that this particular issue is not related to YUI, but I could be
>  > wrong. This said, we have some doc about YUI here:
>  >
>  >   https://wiki.objectweb.org/ops/Wiki.jsp?page=YUI
>  >
>  >  Let us know if that helps.
>  >
>  >  -Erik
>  >
>  >
>  >  On Jul 10, 2008, at 12:39 AM, Nicolas Modrzyk wrote:
>  >
>  >
>  > > Would love it.
>  > > Would YUI be where to start ?
>  > > I see Orbeon is using version: 2.3.1.
>  > > Maybe updating to a more recent one make the difference ?
>  > >
>  > > Niko,
>  > >
>  > > On 7/10/08, Erik Bruchez <[hidden email]> wrote:
>  > >
>  > > > Even better, try to figure out why it doesn't work and let us know about
>  > the
>  > > > fix ;-)
>  > > >
>  > > > -Erik
>  > > >
>  > > >
>  > > > On Jul 9, 2008, at 10:07 PM, Nicolas Modrzyk wrote:
>  > > >
>  > > >
>  > > >
>  > > > > Erik, thanks for the bug entry.
>  > > > > I see it has priority 5, which means pretty low right ?
>  > > > > How can I help raising the priority up ? :)
>  > > > >
>  > > > > Niko,
>  > > > >
>  > > > > On 7/10/08, Erik Bruchez <[hidden email]> wrote:
>  > > > >
>  > > > >
>  > > > > > Yes "new" should work, but as you say it may be just a Safari issue.
>  > I
>  > > > > > entered a bug:
>  > > > > >
>  > > > > > http://tinyurl.com/5rrljv
>  > > > > >
>  > > > > > BTW you should rather use the "minimal" appearance rather than the
>  > > > > > "xxforms:link" appearance. They are the same, but "minimal" is more
>  > > > > > standard.
>  > > > > >
>  > > > > > -Erik
>  > > > > >
>  > > > > >
>  > > > > > On Jul 9, 2008, at 5:21 AM, Nicolas Modrzyk wrote:
>  > > > > >
>  > > > > >
>  > > > > >
>  > > > > >
>  > > > > > >
>  > > > > > > Having tested a bit more, it looks it works in Firefox and Opera.
>  > > > > > > Could be that Safari is the one causing troubles.
>  > > > > > >
>  > > > > > > Any idea ?
>  > > > > > >
>  > > > > > > Niko,
>  > > > > > >
>  > > > > > > On 7/9/08, Nicolas Modrzyk <[hidden email]> wrote:
>  > > > > > >
>  > > > > > >
>  > > > > > >
>  > > > > > > > Hi List,
>  > > > > > > >
>  > > > > > > > Correct me if I am wrong, but in the current nightly builds, the
>  > > > > > > > following works:
>  > > > > > > > <xforms:trigger appearance="xxforms:link">
>  > > > > > > > <xforms:load ev:event="DOMActivate" show="replace"
>  > > > > > > > ref="instance('taskinput')/fe:trigger29"/>
>  > > > > > > > <xforms:label>Link</xforms:label>
>  > > > > > > > </xforms:trigger>
>  > > > > > > >
>  > > > > > > > while the following does not:
>  > > > > > > > <xforms:trigger appearance="xxforms:link">
>  > > > > > > > <xforms:load ev:event="DOMActivate" show="new"
>  > > > > > > > ref="instance('taskinput')/fe:trigger29"/>
>  > > > > > > > <xforms:label>Link</xforms:label>
>  > > > > > > > </xforms:trigger>
>  > > > > > > >
>  > > > > > > >
>  > > > > > > > The new value in show, is not triggering anything for a link,
>  > maybe
>  > > > > > > > it's not supported ?
>  > > > > > > > I saw an old post saying it was:
>  > > > > > > >
>  > http://www.nabble.com/XForms-load-td1115057.html
>  > > > > > > >
>  > > > > > > > Any other alternative ?
>  > > > > > > >
>  > > > > > > > Thank you in advance,
>  > > > > > > >
>  > > > > > > > Niko
>  > > > > > > >
>  > > > > > > >
>  > > > > > > >
>  > > > > > > >
>  > > > > > >
>  > > > > > > --
>  > > > > > > You receive this message as a subscriber of the [hidden email]
>  > > > > > >
>  > > > > >
>  > > > >
>  > > > mailing
>  > > >
>  > > > >
>  > > > > >
>  > > > > > >
>  > > > > > >
>  > > > > > list.
>  > > > > >
>  > > > > >
>  > > > > > > To unsubscribe:
>  > mailto:[hidden email]
>  > > > > > > For general help:
>  > mailto:[hidden email]?subject=help
>  > > > > > > OW2 mailing lists service home page: http://www.ow2.org/wws
>  > > > > > >
>  > > > > > >
>  > > > > > >
>  > > > > >
>  > > > > > --
>  > > > > > Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>  > > > > > http://www.orbeon.com/
>  > > > > >
>  > > > > >
>  > > > > >
>  > > > > > --
>  > > > > > You receive this message as a subscriber of the [hidden email]
>  > > > > >
>  > > > >
>  > > > mailing
>  > > >
>  > > > >
>  > > > > > list.
>  > > > > > To unsubscribe:
>  > mailto:[hidden email]
>  > > > > > For general help: mailto:[hidden email]?subject=help
>  > > > > > OW2 mailing lists service home page: http://www.ow2.org/wws
>  > > > > >
>  > > > > >
>  > > > > >
>  > > > > >
>  > > > > >
>  > > > >
>  > > > > --
>  > > > > You receive this message as a subscriber of the [hidden email]
>  > mailing
>  > > > >
>  > > > list.
>  > > >
>  > > > > To unsubscribe: mailto:[hidden email]
>  > > > > For general help: mailto:[hidden email]?subject=help
>  > > > > OW2 mailing lists service home page: http://www.ow2.org/wws
>  > > > >
>  > > > >
>  > > >
>  > > > --
>  > > > Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>  > > > http://www.orbeon.com/
>  > > >
>  > > >
>  > > >
>  > > > --
>  > > > You receive this message as a subscriber of the [hidden email]
>  > mailing
>  > > > list.
>  > > > To unsubscribe: mailto:[hidden email]
>  > > > For general help: mailto:[hidden email]?subject=help
>  > > > OW2 mailing lists service home page: http://www.ow2.org/wws
>  > > >
>  > > >
>  > > >
>  > > >
>  > >
>  > > --
>  > > You receive this message as a subscriber of the [hidden email] mailing
>  > list.
>  > > To unsubscribe: mailto:[hidden email]
>  > > For general help: mailto:[hidden email]?subject=help
>  > > OW2 mailing lists service home page: http://www.ow2.org/wws
>  > >
>  >
>  >  --
>  >  Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>  >  http://www.orbeon.com/
>  >
>  >
>  >
>  >  --
>  >  You receive this message as a subscriber of the [hidden email] mailing
>  > list.
>  >  To unsubscribe: mailto:[hidden email]
>  >  For general help: mailto:[hidden email]?subject=help
>  >  OW2 mailing lists service home page: http://www.ow2.org/wws
>  >
>  >
>  >
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Re: Re: Re: Links

Erik Bruchez
Administrator
Thanks for looking into this!

I don't think YUI will help: if you want to load an entirely new  
document into a separate window/tab, then well it has to be  a  
separate window/tab, not a lightweight dialog like YUI supports.

Apple has a FAQ on this:

  http://developer.apple.com/internet/safari/faq.html#anchor17

Unfortunately, showing a new window is triggered upon an Ajax  
response, not directly through user action, so that is blocked.

-Erik

On Jul 11, 2008, at 2:33 AM, Nicolas Modrzyk wrote:

> Maybe I spoke too fast.
> I'm not too sure about the workaround anymore. It seems like this has
> been broken in the latest safari.
> We could maybe try to alert the user by using (confirm()) or, maybe
> YUI can load a nice window instead ?
>
> WDYT ?
>
> Niko,
>
> On 7/11/08, Nicolas Modrzyk <[hidden email]> wrote:
>> Hi Erik,
>>
>> I found it.
>> Let's go to line 4135 of xforms.js, the block starting with
>> if (show == "replace") {
>> ...
>> }
>> We're facing a basic popup block from Safari. We can change the
>> location of the window (thus show="replace" will work) but opening a
>> new window will be blocked by default (thus show="new" will not)
>>
>> We just need to use a method popup:
>> function popup( url, title, options )
>> {
>> var newWin = window.open( url, title, options )
>> if( !newWin )
>>   {
>>   newWin = window.open('',title, options);
>>   newWin.location.href = url;
>>   }
>> }
>> That will do the trick.
>> This is described in:
>> http://aarongough.com/content/view/29/1/
>>
>> Since, we're using xforms-min.js for deployment, could you commit  
>> this in ?
>>
>> Let me know,
>>
>> Niko,
>>
>>
>> On 7/11/08, Erik Bruchez <[hidden email]> wrote:
>>> Niko,
>>>
>>> First thing to do would be to look at this page:
>>>
>>>
>>> https://wiki.objectweb.org/ops/Wiki.jsp?page=JavaScriptDevelopment
>>>
>>> The changes in properties.xml are very important as they will  
>>> allow you to
>>> see decently formatted code.
>>>
>>> I suspect that this particular issue is not related to YUI, but I  
>>> could be
>>> wrong. This said, we have some doc about YUI here:
>>>
>>> https://wiki.objectweb.org/ops/Wiki.jsp?page=YUI
>>>
>>> Let us know if that helps.
>>>
>>> -Erik
>>>
>>>
>>> On Jul 10, 2008, at 12:39 AM, Nicolas Modrzyk wrote:
>>>
>>>
>>>> Would love it.
>>>> Would YUI be where to start ?
>>>> I see Orbeon is using version: 2.3.1.
>>>> Maybe updating to a more recent one make the difference ?
>>>>
>>>> Niko,
>>>>
>>>> On 7/10/08, Erik Bruchez <[hidden email]> wrote:
>>>>
>>>>> Even better, try to figure out why it doesn't work and let us  
>>>>> know about
>>> the
>>>>> fix ;-)
>>>>>
>>>>> -Erik
>>>>>
>>>>>
>>>>> On Jul 9, 2008, at 10:07 PM, Nicolas Modrzyk wrote:
>>>>>
>>>>>
>>>>>
>>>>>> Erik, thanks for the bug entry.
>>>>>> I see it has priority 5, which means pretty low right ?
>>>>>> How can I help raising the priority up ? :)
>>>>>>
>>>>>> Niko,
>>>>>>
>>>>>> On 7/10/08, Erik Bruchez <[hidden email]> wrote:
>>>>>>
>>>>>>
>>>>>>> Yes "new" should work, but as you say it may be just a Safari  
>>>>>>> issue.
>>> I
>>>>>>> entered a bug:
>>>>>>>
>>>>>>> http://tinyurl.com/5rrljv
>>>>>>>
>>>>>>> BTW you should rather use the "minimal" appearance rather than  
>>>>>>> the
>>>>>>> "xxforms:link" appearance. They are the same, but "minimal" is  
>>>>>>> more
>>>>>>> standard.
>>>>>>>
>>>>>>> -Erik
>>>>>>>
>>>>>>>
>>>>>>> On Jul 9, 2008, at 5:21 AM, Nicolas Modrzyk wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>
>>>>>>>> Having tested a bit more, it looks it works in Firefox and  
>>>>>>>> Opera.
>>>>>>>> Could be that Safari is the one causing troubles.
>>>>>>>>
>>>>>>>> Any idea ?
>>>>>>>>
>>>>>>>> Niko,
>>>>>>>>
>>>>>>>> On 7/9/08, Nicolas Modrzyk <[hidden email]> wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>> Hi List,
>>>>>>>>>
>>>>>>>>> Correct me if I am wrong, but in the current nightly builds,  
>>>>>>>>> the
>>>>>>>>> following works:
>>>>>>>>> <xforms:trigger appearance="xxforms:link">
>>>>>>>>> <xforms:load ev:event="DOMActivate" show="replace"
>>>>>>>>> ref="instance('taskinput')/fe:trigger29"/>
>>>>>>>>> <xforms:label>Link</xforms:label>
>>>>>>>>> </xforms:trigger>
>>>>>>>>>
>>>>>>>>> while the following does not:
>>>>>>>>> <xforms:trigger appearance="xxforms:link">
>>>>>>>>> <xforms:load ev:event="DOMActivate" show="new"
>>>>>>>>> ref="instance('taskinput')/fe:trigger29"/>
>>>>>>>>> <xforms:label>Link</xforms:label>
>>>>>>>>> </xforms:trigger>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> The new value in show, is not triggering anything for a link,
>>> maybe
>>>>>>>>> it's not supported ?
>>>>>>>>> I saw an old post saying it was:
>>>>>>>>>
>>> http://www.nabble.com/XForms-load-td1115057.html
>>>>>>>>>
>>>>>>>>> Any other alternative ?
>>>>>>>>>
>>>>>>>>> Thank you in advance,
>>>>>>>>>
>>>>>>>>> Niko
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> You receive this message as a subscriber of the [hidden email]
>>>>>>>>
>>>>>>>
>>>>>>
>>>>> mailing
>>>>>
>>>>>>
>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>> list.
>>>>>>>
>>>>>>>
>>>>>>>> To unsubscribe:
>>> mailto:[hidden email]
>>>>>>>> For general help:
>>> mailto:[hidden email]?subject=help
>>>>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>>>>>>> http://www.orbeon.com/
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> You receive this message as a subscriber of the ops-
>>>>>>> [hidden email]
>>>>>>>
>>>>>>
>>>>> mailing
>>>>>
>>>>>>
>>>>>>> list.
>>>>>>> To unsubscribe:
>>> mailto:[hidden email]
>>>>>>> For general help: mailto:[hidden email]?subject=help
>>>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> You receive this message as a subscriber of the [hidden email]
>>> mailing
>>>>>>
>>>>> list.
>>>>>
>>>>>> To unsubscribe: mailto:[hidden email]
>>>>>> For general help: mailto:[hidden email]?subject=help
>>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>>>>> http://www.orbeon.com/
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> You receive this message as a subscriber of the [hidden email]
>>> mailing
>>>>> list.
>>>>> To unsubscribe: mailto:[hidden email]
>>>>> For general help: mailto:[hidden email]?subject=help
>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>> --
>>>> You receive this message as a subscriber of the [hidden email]  
>>>> mailing
>>> list.
>>>> To unsubscribe: mailto:[hidden email]
>>>> For general help: mailto:[hidden email]?subject=help
>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>
>>>
>>> --
>>> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
>>> http://www.orbeon.com/
>>>
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the [hidden email]  
>>> mailing
>>> list.
>>> To unsubscribe: mailto:[hidden email]
>>> For general help: mailto:[hidden email]?subject=help
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>
>>>
>>>
>>
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Re: Re: Re: Links

Alessandro Vernet
Administrator
In reply to this post by Nicolas Modrzyk-3
Niko,

On Fri, Jul 11, 2008 at 2:33 AM, Nicolas Modrzyk <[hidden email]> wrote:
> Maybe I spoke too fast.
> I'm not too sure about the workaround anymore. It seems like this has
> been broken in the latest safari.
> We could maybe try to alert the user by using (confirm()) or, maybe
> YUI can load a nice window instead ?

A workaround, which also works with IE7 (IE7 became pretty aggressive
at blocking pop-ups), is to generate a plain link the page with
<xforms:output mediatype="text/html" value="concat(...)"/>. You can
generate a link with a target="_blank", which when clicked will open
the target URL in a new page. The downside is that you might need to
show the link to users and ask them to press on it, for instance in a
dialog. This is a trick we use in a couple of place in Form Runner.

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Re: Re: Re: Re: Links

Nicolas Modrzyk-3
Definitely using the latest nightly build.

Niko,

On 7/16/08, Alessandro Vernet <[hidden email]> wrote:

> Niko,
>
>
>  On Fri, Jul 11, 2008 at 2:33 AM, Nicolas Modrzyk <[hidden email]> wrote:
>  > Maybe I spoke too fast.
>  > I'm not too sure about the workaround anymore. It seems like this has
>  > been broken in the latest safari.
>  > We could maybe try to alert the user by using (confirm()) or, maybe
>  > YUI can load a nice window instead ?
>
>
> A workaround, which also works with IE7 (IE7 became pretty aggressive
>  at blocking pop-ups), is to generate a plain link the page with
>  <xforms:output mediatype="text/html" value="concat(...)"/>. You can
>  generate a link with a target="_blank", which when clicked will open
>  the target URL in a new page. The downside is that you might need to
>  show the link to users and ask them to press on it, for instance in a
>  dialog. This is a trick we use in a couple of place in Form Runner.
>
>  Alex
>
> --
>  Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
>  Orbeon's Blog: http://www.orbeon.com/blog/
>  Personal Blog: http://avernet.blogspot.com/
>  Twitter - http://twitter.com/avernet
>
>
>  --
>  You receive this message as a subscriber of the [hidden email] mailing list.
>  To unsubscribe: mailto:[hidden email]
>  For general help: mailto:[hidden email]?subject=help
>  OW2 mailing lists service home page: http://www.ow2.org/wws
>
>
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

Picture 21.png (112K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Re: Re: Re: Re: Links

Nicolas Modrzyk-3
I replied to the wrong thread.
Thanks for the pointer on the safari link Alessandro !

Niko

On 7/18/08, Nicolas Modrzyk <[hidden email]> wrote:

> Definitely using the latest nightly build.
>
>  Niko,
>
>
>  On 7/16/08, Alessandro Vernet <[hidden email]> wrote:
>  > Niko,
>  >
>  >
>  >  On Fri, Jul 11, 2008 at 2:33 AM, Nicolas Modrzyk <[hidden email]> wrote:
>  >  > Maybe I spoke too fast.
>  >  > I'm not too sure about the workaround anymore. It seems like this has
>  >  > been broken in the latest safari.
>  >  > We could maybe try to alert the user by using (confirm()) or, maybe
>  >  > YUI can load a nice window instead ?
>  >
>  >
>  > A workaround, which also works with IE7 (IE7 became pretty aggressive
>  >  at blocking pop-ups), is to generate a plain link the page with
>  >  <xforms:output mediatype="text/html" value="concat(...)"/>. You can
>  >  generate a link with a target="_blank", which when clicked will open
>  >  the target URL in a new page. The downside is that you might need to
>  >  show the link to users and ask them to press on it, for instance in a
>  >  dialog. This is a trick we use in a couple of place in Form Runner.
>  >
>  >  Alex
>  >
>  > --
>  >  Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
>  >  Orbeon's Blog: http://www.orbeon.com/blog/
>  >  Personal Blog: http://avernet.blogspot.com/
>  >  Twitter - http://twitter.com/avernet
>  >
>  >
>
> >  --
>  >  You receive this message as a subscriber of the [hidden email] mailing list.
>  >  To unsubscribe: mailto:[hidden email]
>  >  For general help: mailto:[hidden email]?subject=help
>  >  OW2 mailing lists service home page: http://www.ow2.org/wws
>  >
>  >
>  >
>
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws