How can I see my friends' birthdays?
[magnolia-dev] DialogSuper children IDs
Hello Guest
  
  • Login
• Register…
• Start blog
  • Who, Where, When
• What can I do?
• What to Read?
  • Polls
• Avatars
• Interests
  • Cities and Countries
• Random blog
• Users search
  • Search
• Games
• Tests
• QAIX
  • Сообщества
• Talxy Chat
• Horoscope
• Online
 
Зарегистрируйся!

QAIX > Content Management System > [magnolia-dev] DialogSuper children IDs 28 November 2005 11:58:36

  Recent blog posts: 
  They have birthday today: 
  Forums:   
  Discuss: 
  Recent forum topics: 
  Recent forum comments:
  Moderators:

[magnolia-dev] DialogSuper children IDs

Alexandru Popescu 28 November 2005 11:58:36
 Hi!

I am facing some big problem :-(­. I am trying to use some AJAXian stuff on the author instance. To
do this I need the INPUT (and some others) IDs.

Unfortuntaly the sub ID is autogenerated and what is more important is set too late: inside the
DialogSuper.drawSub­s.

As DialogSuper children list is not changeable (I mean once you added a sub there is no way to
remove it). So, I am thinking that the subs IDs can be assigned immediately after they are added
(meaning the ID is assigned in DialogSuper.addSub(­)) and this way we offer at least a moment before
drawHtml where you can use/retrieve this ID.

I am gonna apply the needed changes on my machine and test if everything is working correctly - but
I am quite sure this is gonna happen.


Please let me know urgently what do you think about this. Thanks in advance,

./alex
--
.w( the_mindstorm )p.

-------------------­--------------------­--------------------­-----
for list details see
http://www.magnolia­.info/en/magnolia/de­veloper.html
-------------------­--------------------­--------------------­-----

Add comment
Alexandru Popescu 27 November 2005 23:12:47 permanent link ]
 #: (Alexandru Popescu) changed the world a bit at a time by saying on 11/27/2005 6:44 PM :#> Hi!>
I am facing some big problem :-(­. I am trying to use some AJAXian stuff on the author instance. To > do this I need the INPUT (and some others) IDs.>
Unfortuntaly the sub ID is autogenerated and what is more important is set too late: inside the > DialogSuper.drawSub­s.>
As DialogSuper children list is not changeable (I mean once you added a sub there is no way to > remove it). So, I am thinking that the subs IDs can be assigned immediately after they are added > (meaning the ID is assigned in DialogSuper.addSub(­)) and this way we offer at least a moment before > drawHtml where you can use/retrieve this ID.>
I am gonna apply the needed changes on my machine and test if everything is working correctly - but > I am quite sure this is gonna happen.>
Please let me know urgently what do you think about this. Thanks in advance,>
./alex> --> .w( the_mindstorm )p.>
-------------------­--------------------­--------------------­-----> for list details see> http://www.magnolia­.info/en/magnolia/de­veloper.html> -------------------­--------------------­--------------------­----->

Unfortunately, this is still not enough. Do you guys know a way to get the IDs of the generated
INPUTs? (when using DialogSuper to define the custom dialog).

I am assuming that changing the DialogSuper.setId from private to public will break something, as
those autogenerated may be used in the scripts.

./alex
--
.w( the_mindstorm )p.


-------------------­--------------------­--------------------­-----
for list details see
http://www.magnolia­.info/en/magnolia/de­veloper.html
-------------------­--------------------­--------------------­-----

Add comment
Philipp Bracher 28 November 2005 11:56:02 permanent link ]
 
I am facing some big problem :-(­. I am trying to use some AJAXian > stuff on the author instance. To do this I need the INPUT (and some > others) IDs.>
Unfortuntaly the sub ID is autogenerated and what is more important > is set too late: inside the DialogSuper.drawSub­s.
Where do you need this ID. The term AJAX suggest that you need this
information in the client side in JS.

Could you shortly explain the control. Perhaps I can help you out
with some tricks.
As DialogSuper children list is not changeable (I mean once you > added a sub there is no way to remove it). So, I am thinking that > the subs IDs can be assigned immediately after they are added > (meaning the ID is assigned in DialogSuper.addSub(­)) and this way > we offer at least a moment before drawHtml where you can use/ > retrieve this ID.
Think it should work. We must have a look at the getID and setID calls.
I am gonna apply the needed changes on my machine and test if > everything is working correctly - but I am quite sure this is gonna > happen.>
Please let me know urgently what do you think about this. Thanks in > advance,

Philipp Bracher


-------------------­--------------------­--------------------­-----
for list details see
http://www.magnolia­.info/en/magnolia/de­veloper.html
-------------------­--------------------­--------------------­-----

Add comment
Philipp Bracher 28 November 2005 11:58:36 permanent link ]
 
Unfortunately, this is still not enough. Do you guys know a way to > get the IDs of the generated INPUTs? (when using DialogSuper to > define the custom dialog).
Which INPUTS the save info (hidden) or the real controls (text,
select, ...)
I am assuming that changing the DialogSuper.setId from private to > public will break something, as those autogenerated may be used in > the scripts.
Not sure. Will have a short look at it.


-------------------­--------------------­--------------------­-----
for list details see
http://www.magnolia­.info/en/magnolia/de­veloper.html
-------------------­--------------------­--------------------­-----

Add comment
 

Add new comment

As:
Login:  Password:  
 
 
  
 
Пожалуйста, относитесь к собеседникам уважительно, не используйте нецензурные слова, не злоупотребляйте заглавными буквами, не публикуйте рекламу и объявления о купле/продаже, а также материалы нарушающие сетевой этикет или УК РФ.


QAIX > Content Management System > [magnolia-dev] DialogSuper children IDs 28 November 2005 11:58:36

see also:
[ jboss-Bugs-593236 ] EJB query fails…
Automated JBoss(HEAD Matrix2) Testsuite…
Recruiting new developers
пройди тесты:
Do you really know yourself?
see also:
JBOSS Error
Please somebody help

  Copyright © 2001—2008 QAIX
Idea: Miсhael Monashev
Помощь и задать вопросы можно в сообществе support.qaix.com.
Сообщения об ошибках оставляем в сообществе bugs.qaix.com.
Предложения и комментарии пишем в сообществе suggest.qaix.com.
Информация для родителей.
Write us at:
If you would like to report an abuse of our service, such as a spam message, please .