[deepamehta-devel] Browsing in DeepaMehta
mre at deepamehta.de
Mo Sep 21 13:29:14 CEST 2009
the "lobochief" was pretty excited to see his project embraced by
DeepaMehta. I would like to continue making this developments at least
to into a stable hack for the next release cause the outlook to work
with that browser is still very interesting for me and maybe some others
too. normally i should create a new propertyPanel interface for this and
for future apps, but not now.
so i wanted to ask you to kindly help me with the current issue of the
webpage topic, so a rewrite of the PropertyPanel could be circumvented
somehow for now..
At the moment it's like that: The URL is stored in a Property of name
"Lobo Browser" and which has it's own "Visualization" Mode named also
"Lobo Browser". Everytime the URL is entered or changed by a user, the
Webpage Topic copies the PropertyValue of the Property "URL" into the
Property "Lobo Browser", just that the Lobo Browser JComponent get's set
with the reference to navigate to.
So, the way the "Lobo Browser" JComponent gets it's reference to
navigate to the current URL is simply like in any JComponent through
setting the propertyValue with the setText method whenever the
PropertyPanel is filled for a selected webpage topic. Yes, that's
awkyard but would work fine if there wasn't the getText Method of the
JComponent which delivers the new PropertyValue after the Topic was
deselected (or some other elements in the GraphPanel have been selected)
which then is currently an empty string "" cause the BrowserPanel
JComponent implementation just renders a DOM and the DOM should normally
not know from which URL it is currently served.
I am just curious if you have any suggestions except writing the URL
temporarly into some part of the BrowserPanel or even the rendered DOM,
which would be unbelievable funny to do :) ?
This is not an issue when the users clicks on a hyperlink in the browser
cause then the getText Method of the JComponent is circumvented and the
webpage topic keeps it's reference.
I've marked the lines of code in the new app branch with our task tag.
Thank you very much in advance for any hints or contributions..
_BRING TO ME
* skype: einseinsnull
* jabber: mre at newthinking.de
* mail: mre at deepamehta.de
* fax: 01803-663388-72229
* tel: 030-42800182
* www.deepamehta.de/wiki - co-create our freshest moves
* www.deepamehta.de/messageboard/controller - drop us a message
* www.deepamehta.de/wiki/en/User:Malte - my deepamehta page
* www.deepamehta.de/install/client/ - login and map with us online
Mehr Informationen über die Mailingliste devel