Problems, Changes, and RIA
Problems, Changes, and RIA
- Subject: Problems, Changes, and RIA
- From: Emmanuel Tote Dominguez Torres <email@hidden>
- Date: Fri, 27 Jan 2012 10:45:19 -0600
Hello list,
I have been juggling with KMAjax framework in the past days,
and made a component that was functional in an standalone way,
but when i tried to use it with a wrapper it stopped working.
this component is a component that prints in a table form some information about queues in asterisk
and lets me send commands individually to each member of the queue, so i wrapped this in the kmajax version
of the AjaxUpdateContainer.
the problem that I faced when i embedded it in another component is that it stopped reloading
the component appeared just once and after that the space it used went blank I have checked the css and it is not it.
this is the wrapper:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"
http://www.w3.org/TR/html4/loose.dtd">
<html>
<body>
<div id = "ContentWrapper">
<div id = "MenuHeader">
<webobject name = "EntitiesMenu" />
</div>
<div id = "MainContent">
<webobject name = "MainContent" />
</div>
</div>
</body>
</html>
MainContent : WOComponentContent {
_unroll = YES;
}
EntitiesMenu : MenuHeader {
}
and it is used in this way:
main component
<webobjects name="wrap">
<wo:WOSwitchComponent WOComponentName="$componentString"/>
</webobjects>
wrap : PageWrapper{}
the issue that bothers me the most is that if i use the component directly on the page :
@Override
public WOActionResults defaultAction() {
return pageWithName(COMPONENT_IN_CONFLICT.class.getName());
}
it works just fine.
after thinking about it i have decided to redo it with the ajax framework but now i have the problem
that my AjaxSubmitButtons are not calling my directActions:
playPause : AjaxSubmitButton{
action=""> replaceID=id;
value=recGrabarPausar;
optional="true";
}
I copied the ajaxExample debugged and i know that the request is made but i get no action response .
so at last if someone has made it this far, I want to make RIA applications to make an asterisk control application monitoring, making calls, etc.
so i need to make an interface wit menus, lots of buttons to call the actions, and i want to make it the most user friendly possible,
and I am wondering, is webobjects such a good idea to accomplish this?
this far i have stumbling upon problems, have anyone made something like this?
is it so obvious that i should change my profession?
thanks
Emmanuel Dominguez Torres.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden