Not with the current code -- it assumes that your iframe's id / name is
remote_iframe_<module id>. (see:
http://svn.apache.org/viewvc/incubator/shindig/trunk/features/settitle/settitle.js?revision=627601&view=markup
)

When the changes described in SHINDIG-22 and SHINDIG-44 are implemented you
should be able to use whatever you want, but for now you have to follow this
naming convention for the shindig ifpc-dependent features to work.

On Wed, Feb 13, 2008 at 11:42 PM, Neo Anderson <
[EMAIL PROTECTED]> wrote:

> Can't I use my own gadget id?
>
> I won't change that GADGET_IFRAME_PREFIX_. Even now, do I need to use
> arbitrary iframe id's?
>
> On Thu, Feb 14, 2008 at 1:00 PM, Kevin Brown <[EMAIL PROTECTED]> wrote:
>
> > Right now some things are hard coded to use the fixed iframe name
> > assumptions (ported from igoogle). Work that I'm doing to deal with a
> > unified configuration model (see SHINDIG-22 and SHINDIG-44 for details)
> > should allow arbitrary iframe ids.
> >
> > On Wed, Feb 13, 2008 at 10:32 PM, Neo Anderson <
> > [EMAIL PROTECTED]> wrote:
> >
> > > Currently I'm using latest SVN snapshot. Actually, I update my code
> > daily.
> > > So, problem is not with my code. What if anybody wants to use a
> > different
> > > GADGET_IFRAME_PREFIX_? What happens if somebody sends id as a
> parameter
> > > and
> > > use it as gadget id?
> > >
> > > Then iFrame id will be GADGET_IFRAME_PREFIX_ + id passed as parameter.
> > >
> > > Will this cause any problems?
> > >
> > >
> > > On Thu, Feb 14, 2008 at 11:52 AM, Kevin Brown <[EMAIL PROTECTED]> wrote:
> > >
> > > > It looks like a problem with ifpc, but I can't figure out what
> exactly
> > > is
> > > > causing it. From the looks of things it might be related to
> something
> > > that
> > > > Zhen recently fixed, which is that we weren't using consistent
> > > assumptions
> > > > for the id / name of the iframe elements on the containing page.
> > > >
> > > > Could you try it again using what's in the latest SVN snapshot?
> > > >
> > > > On Wed, Feb 13, 2008 at 10:06 PM, Neo Anderson <
> > > > [EMAIL PROTECTED]> wrote:
> > > >
> > > > > Did I got this this problem due to my coding or it is Shindig
> > problem?
> > > >  If
> > > > > it is shindig problem,are they identified it and solving it?
> > > > >
> > > > > On Feb 14, 2008 12:07 AM, Cassie <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > > Just want to let you know that these exceptions were captured in
> > > this
> > > > > bug
> > > > > > here:
> > > > > > https://issues.apache.org/jira/browse/SHINDIG-45
> > > > > >
> > > > > > I am able to reproduce the bug as well.
> > > > > >
> > > > > > - Cassie
> > > > > >
> > > > > >
> > > > > > On Wed, Feb 13, 2008 at 5:11 AM, Neo Anderson <
> > > > > > [EMAIL PROTECTED]>
> > > > > > wrote:
> > > > > >
> > > > > > > // Own layout manager
> > > > > > >
> > > > > > > gadgets.SortableLayoutManager = function(layoutRootId) {
> > > > > > >  gadgets.LayoutManager.call(this);
> > > > > > >  this.layoutRootId_ = (typeof layoutRootId == "string") ?
> > > > > > > _get(layoutRootId) : layoutRootId;
> > > > > > >  this.columns = this.layoutRootId_.length;
> > > > > > > };
> > > > > > >
> > > > > > > gadgets.SortableLayoutManager.inherits(gadgets.LayoutManager);
> > > > > > >
> > > > > > > gadgets.SortableLayoutManager.prototype.getGadgetChrome =
> > > > > > function(gadget)
> > > > > > > {
> > > > > > >    minHeight = this.layoutRootId_[this.columns-1
> ].offsetHeight;
> > > > > > >    index = 0;
> > > > > > >    for(i=this.columns-1; i>=0; i--){
> > > > > > >        if(this.layoutRootId_[i].offsetHeight <= minHeight){
> > > > > > >            minHeight = this.layoutRootId_[i].offsetHeight;
> > > > > > >            index = i;
> > > > > > >        }
> > > > > > >    }
> > > > > > >    return this.layoutRootId_[index];
> > > > > > > };
> > > > > > >
> > > > > > > ********************************* Code ends
> > > > > > >
> > > > > > > _get returns elements by class
> > > > > > >
> > > > > > > Here I'm sending an array of three div elements,
> gadgetChromeId
> > > will
> > > > > be
> > > > > > > set
> > > > > > > to the column whose
> > > > > > >
> > > > > > >
> > > > > > > On Feb 13, 2008 3:53 PM, Kevin Brown <[EMAIL PROTECTED]> wrote:
> > > > > > >
> > > > > > > > Without seeing your code, I really have no idea.
> > > > > > > >
> > > > > > > > On Feb 13, 2008 2:19 AM, Neo Anderson <
> > > > [EMAIL PROTECTED]
> > > > > >
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > > I have created my own Layout Manager. If I use
> > > > > > FloatLeftLayoutManager,
> > > > > > > > > then
> > > > > > > > > it is working fine even in the page that I tested
> > previously.
> > > I
> > > > > > > haven't
> > > > > > > > > got
> > > > > > > > > the window.setTimeout error. But why I'm getting this
> error
> > > when
> > > > I
> > > > > > use
> > > > > > > > my
> > > > > > > > > own layout manager?
> > > > > > > > >
> > > > > > > > > On Feb 13, 2008 3:29 PM, Neo Anderson <
> > > > > [EMAIL PROTECTED]
> > > > > > >
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > > Container page? I'm not using any container .
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > On Feb 13, 2008 3:13 PM, Kevin Brown <[EMAIL PROTECTED]>
> > > wrote:
> > > > > > > > > >
> > > > > > > > > > > I see the error in IE, but this looks like an error
> > that's
> > > > > > popping
> > > > > > > > up
> > > > > > > > > on
> > > > > > > > > > > all
> > > > > > > > > > > gadget renders (I don't have an IE debugger available
> > > right
> > > > > now
> > > > > > so
> > > > > > > > > I'll
> > > > > > > > > > > investigate tomorrow when I do). I can't find anything
> > > > > > triggering
> > > > > > > > this
> > > > > > > > > > > window.setTimeout issue, though. Is this happening on
> a
> > > > > > container
> > > > > > > > page
> > > > > > > > > > > that
> > > > > > > > > > > you wrote yourself?
> > > > > > > > > > >
> > > > > > > > > > > On Feb 13, 2008 1:05 AM, Neo Anderson <
> > > > > > > [EMAIL PROTECTED]
> > > > > > > > >
> > > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > > If I run the same example in IE, then it is not
> > working.
> > > > It
> > > > > is
> > > > > > > > > > > displaying
> > > > > > > > > > > > JavaScript error "gadgets" is not defined.
> > > > > > > > > > > >
> > > > > > > > > > > > On Feb 13, 2008 2:34 PM, Neo Anderson <
> > > > > > > > [EMAIL PROTECTED]
> > > > > > > > > >
> > > > > > > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > > No, I'm not getting any errors even I add some
> more
> > > > > gadgets
> > > > > > in
> > > > > > > a
> > > > > > > > > > > single
> > > > > > > > > > > > > column. Any it is working fine. What might br the
> > > > problem?
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Feb 13, 2008 2:11 PM, Kevin Brown <
> > [EMAIL PROTECTED]>
> > > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > > Do you get the error when hitting
> > > > > > > > > > > > > >
> > > > > > http://localhost:8080/gadgets/files/container/sample6.htmland
> > > > > > > > > > > > clicking
> > > > > > > > > > > > > > the
> > > > > > > > > > > > > > "Refine the list" link?
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On Feb 13, 2008 12:35 AM, Neo Anderson <
> > > > > > > > > > > [EMAIL PROTECTED]>
> > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Yes, I'm using latest snapshot. I'm using FF
> > > 2.0.12
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On Feb 13, 2008 2:04 PM, Kevin Brown <
> > > > [EMAIL PROTECTED]>
> > > > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > What browser are you seeing this in? Are you
> > > using
> > > > > the
> > > > > > > > > latest
> > > > > > > > > > > > > > snapshot?
> > > > > > > > > > > > > > > I
> > > > > > > > > > > > > > > > can't reproduce.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On Feb 13, 2008 12:03 AM, Arun Kumar <
> > > > > > > > > > > > > > [EMAIL PROTECTED]>
> > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > I also got the same problem...
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On Feb 13, 2008 1:15 PM, Neo Anderson <
> > > > > > > > > > > > > > [EMAIL PROTECTED]>
> > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > I'm getting *uncaught exception:
> > Permission
> > > > > denied
> > > > > > > to
> > > > > > > > > call
> > > > > > > > > > > > > > method
> > > > > > > > > > > > > > > > > > Window.setTimeout *exception when I try
> to
> > > use
> > > > > > > Dynamic
> > > > > > > > > > > Height
> > > > > > > > > > > > > > > feature.
> > > > > > > > > > > > > > > > > But
> > > > > > > > > > > > > > > > > > dynamic height is working. I'm adding
> > > gadgets
> > > > to
> > > > > > my
> > > > > > > > web
> > > > > > > > > > > page
> > > > > > > > > > > > > > > > dynamically
> > > > > > > > > > > > > > > > > > i.e.,
> > > > > > > > > > > > > > > > > > I'm able to add a gadget upon clicking
> on
> > a
> > > > > > button.
> > > > > > > > But
> > > > > > > > > > > when I
> > > > > > > > > > > > > > place
> > > > > > > > > > > > > > > > two
> > > > > > > > > > > > > > > > > > gadgets in a column, then if the gadget
> on
> > > top
> > > > > > needs
> > > > > > > > to
> > > > > > > > > > > adjust
> > > > > > > > > > > > > > it's
> > > > > > > > > > > > > > > > > > height,
> > > > > > > > > > > > > > > > > > then the gadget height height is
> adjusted
> > > and
> > > > > the
> > > > > > > > height
> > > > > > > > > > > > > > adjusted is
> > > > > > > > > > > > > > > > not
> > > > > > > > > > > > > > > > > > getting displayed and in this case, I'm
> > > > getting
> > > > > > the
> > > > > > > > > above
> > > > > > > > > > > said
> > > > > > > > > > > > > > > error.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > --
> > > > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > If you received this email by mistake,
> please
> > > > delete
> > > > > > it,
> > > > > > > > > > > cancel
> > > > > > > > > > > > your
> > > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > > > account, destroy your hard drive, silence
> any
> > > > > > witnesses,
> > > > > > > > and
> > > > > > > > > > > burn
> > > > > > > > > > > > > > down
> > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --
> > > > > > > > > > > > > > ~Kevin
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > If you received this email by mistake, please
> > delete
> > > > it,
> > > > > > > > cancel
> > > > > > > > > > > your
> > > > > > > > > > > > > > mail
> > > > > > > > > > > > > > account, destroy your hard drive, silence any
> > > > witnesses,
> > > > > > and
> > > > > > > > > burn
> > > > > > > > > > > down
> > > > > > > > > > > > > > the
> > > > > > > > > > > > > > building that you're in.
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > ~Kevin
> > > > > > > > > > >
> > > > > > > > > > > If you received this email by mistake, please delete
> it,
> > > > > cancel
> > > > > > > your
> > > > > > > > > > > mail
> > > > > > > > > > > account, destroy your hard drive, silence any
> witnesses,
> > > and
> > > > > > burn
> > > > > > > > down
> > > > > > > > > > > the
> > > > > > > > > > > building that you're in.
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > ~Kevin
> > > > > > > >
> > > > > > > > If you received this email by mistake, please delete it,
> > cancel
> > > > your
> > > > > > > mail
> > > > > > > > account, destroy your hard drive, silence any witnesses, and
> > > burn
> > > > > down
> > > > > > > the
> > > > > > > > building that you're in.
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > ~Kevin
> > > >
> > > > If you received this email by mistake, please delete it, cancel your
> > > mail
> > > > account, destroy your hard drive, silence any witnesses, and burn
> down
> > > the
> > > > building that you're in.
> > > >
> > >
> >
> >
> >
> > --
> > ~Kevin
> >
> > If you received this email by mistake, please delete it, cancel your
> mail
> > account, destroy your hard drive, silence any witnesses, and burn down
> the
> > building that you're in.
> >
>



-- 
~Kevin

If you received this email by mistake, please delete it, cancel your mail
account, destroy your hard drive, silence any witnesses, and burn down the
building that you're in.

Reply via email to