List Info

Thread: assets: downloadLink format does not work




assets: downloadLink format does not work
user name
2007-07-26 06:43:44
hi!

i'm having trouble connecting to bugzilla atm...

here's a new one, rated "major" imo:

on zones, fire up oneform and add an asset (you will have to
fake it 
since uploads are disabled: enter <a
class="asset" 
href="/index.html">foooo</a>).

now when you save, the page is broken:

/index.html?format=downloadLink#format=downloadLink (No such
file or 
directory)

i see two problems:

the fragment identifier looks fishy (shouldn't be there
probably), and 
the resource is accessed via a "file:///" url:

Caused by:
org.apache.excalibur.source.SourceNotFoundException: 
file:/index.html?format=downloadLink#format=downloadLink
doesn't exist.

i think this should rather be some cocoon uri...

andreas, can you comment on this?

-- 
Jörn Nettingsmeier

Kurt is up in heaven now.


------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


Re: assets: downloadLink format does not work
user name
2007-07-26 06:59:18
Jörn Nettingsmeier wrote:
> hi!
> 
> i'm having trouble connecting to bugzilla atm...
> 
> here's a new one, rated "major" imo:
> 
> on zones, fire up oneform and add an asset (you will
have to fake it 
> since uploads are disabled: enter <a
class="asset" 
> href="/index.html">foooo</a>).

imho the class marker should definitely be
"lenya.asset", so
as not to walk over our users' css namespace, wdyt?


-- 
Jörn Nettingsmeier

Kurt is up in heaven now.


------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


Re: assets: downloadLink format does not work
user name
2007-07-26 08:17:23
Andreas Hartmann wrote:
> Jörn Nettingsmeier schrieb:
>> Jörn Nettingsmeier wrote:
>>> hi!
>>>
>>> i'm having trouble connecting to bugzilla
atm...
>>>
>>> here's a new one, rated "major" imo:
>>>
>>> on zones, fire up oneform and add an asset (you
will have to fake it
>>> since uploads are disabled: enter <a
class="asset"
>>>
href="/index.html">foooo</a>).
>> imho the class marker should definitely be
"lenya.asset", so
>> as not to walk over our users' css namespace,
wdyt?
> 
> Very good point. Do you know where to change it? 

not yet  if it's a
quick patch for you, go ahead, otherwise i'll try 
and fix it along with my bxe updates.
i've just changed the javascript API a little, so i'm behind
schedule a 
few hours, but it was worth it  oo in
javascript is not as scary as i 
originally thought...

> Otherwise
> I'll take a look at it.


-- 
Jörn Nettingsmeier

Kurt is up in heaven now.


------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


Re: assets: downloadLink format does not work
user name
2007-07-27 08:49:37
Andreas Hartmann wrote:
> Jörn Nettingsmeier schrieb:
>> hi!
>>
>> i'm having trouble connecting to bugzilla atm...
>>
>> here's a new one, rated "major" imo:
>>
>> on zones, fire up oneform and add an asset (you
will have to fake it
>> since uploads are disabled: enter <a
class="asset"
>> href="/index.html">foooo</a>).
> 
> BTW, this is not a correct internal link, since it
doesn't use
> the lenya-document: protocol. Shall we add a url2uuid
processing
> step when saving a document with the one-form editor?

i have added all generic editor usecases to oneform, i.e.
users can use 
that to obtain correct links.
will be committed as soon as i have tamed fckeditor (it's
quite nice, 
but has very obnoxious mess of tangled iframes and
sub-windows, which 
causes no end of pain with scope isses... i've never used so
many 
window.parent.self.top.window.parent... calls before :()
should be ready in a few hours.

regards,

jörn


-- 
Jörn Nettingsmeier

Kurt is up in heaven now.


------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


Re: assets: downloadLink format does not work
country flaguser name
United States
2007-07-27 09:10:02
Jörn Nettingsmeier wrote:
> Andreas Hartmann wrote:
>> Jörn Nettingsmeier schrieb:
>>> hi!
>>>
>>> i'm having trouble connecting to bugzilla
atm...
>>>
>>> here's a new one, rated "major" imo:
>>>
>>> on zones, fire up oneform and add an asset (you
will have to fake it
>>> since uploads are disabled: enter <a
class="asset"
>>>
href="/index.html">foooo</a>).
>>
>> BTW, this is not a correct internal link, since it
doesn't use
>> the lenya-document: protocol. Shall we add a
url2uuid processing
>> step when saving a document with the one-form
editor?
>
> i have added all generic editor usecases to oneform,
i.e. users can 
> use that to obtain correct links.
> will be committed as soon as i have tamed fckeditor
(it's quite nice, 
> but has very obnoxious mess of tangled iframes and
sub-windows, which 
> causes no end of pain with scope isses... i've never
used so many 
> window.parent.self.top.window.parent... calls before
:()
> should be ready in a few hours.
>
> regards,
>
> jörn
>
>
Sounds good. Also sounds like you have a better handle on
things than I 
could have.

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )