Maximo List Archive

This is an archive of the Maximo Yahoo Community. The content of this pages may be a sometimes obsolete so please check post dates.
Thanks to the community owner Christopher Wanko for providing the content.



Re: Remove white-space on Maximo 7503 Screen

From: janice c (2013-01-10 23:56)

Hi,
Got the below recommendation from IBM. However, after editing the children.jsp and rebuilt the EAR it seems nothing had changed.
1.) Search for in the children.jsp file located in ...maximo/applications/maximo/maximouiweb/webmodule/webclient/components

Locate:
--> if(control.getType().equals("section") <--

and try changing this to:
if(1==2 &&control.getType().equals("section")

2.) Comment out the section as follows:

/*if(control.getType().equals("section"))// ||
control.getType().equals("sectioncol"))
{
boolean fix = false;
if(UAGENT.equals("OPERA"))
{
cellspacing="3";
fix=true;
}
else if(UAGENT.equals("FIREFOX"))
{
cellspacing="3";
fix=true;
}

if(fix)
{
borderSpacing="border-spacing:"+cellspacing+";border-collapse:separat
e;";
}
}*/
Our alternative as of this point is to change the skin back to Classic. See http://www-01.ibm.com/support/docview.wss?uid=swg21613571
Best regards,
Janice
--- In MAXIMO@yahoogroups.com, "syed a" wrote:
>
> Hello janice,
>
> My requirement was also same like you for Maximo 7503.
>
> So in this forum i saw one comment to modify children.jsp in component folder of maximouiweb & make cellspacing=0 from 3 which
> we did but no affect.
>
>
> If you find solution for this problem plz let me know.
>
>
>
>
>
>
> --- In MAXIMO@yahoogroups.com, "janice c" wrote:
> >
> > We are currently upgrading to Maximo 7503 and received a request to modify the screen and remove the white-space as it is taking up much more space than the previous screens. I think this can be done by tweaking the CSS of the application. Maximo 7503 uses a CSS property called white-space: nowrap (see below sample) which ensures that sequences of whitespace will collapse into a single space character. This property has been applied to basecomp, tabgroup, listbox, toolbar, menubar, menus and nodename .
> >
> > MAXIMO 75XX
> > /* basecomp */
> > .bc
> > {
> > padding:0px;
> > margin:0px;
> > background-color: inherit !important;
> > display: inline;
> > white-space: nowrap;
> > }
> >
> > MAXIMO 71XX
> > .bc
> > {
> > padding:0px;
> > margin:0px;
> > background-color: inherit !important
> > }
> >
> > After modifying the CSS, we rebuilt the EAR files but the screen remains the same. Any idea on how to do this?
> > Thanks heaps
> >
> >
> > Best regards,
> > Janice
> >
>


From: Chris Lawless (2013-01-10 16:25)

Did you clear the browser cache?
Sent from my iPad
On Jan 10, 2013, at 3:56 PM, "janice c" <carrillo_janice@yahoo.com> wrote:
> Hi,
>
> Got the below recommendation from IBM. However, after editing the children.jsp and rebuilt the EAR it seems nothing had changed.
>
> 1.) Search for in the children.jsp file located in ...maximo/applications/maximo/maximouiweb/webmodule/webclient/components
>
> Locate:
> --> if(control.getType().equals("section") <--
>
> and try changing this to:
>
> if(1==2 &&control.getType().equals("section")
>
>
> 2.) Comment out the section as follows:
>
> /*if(control.getType().equals("section"))// ||
> control.getType().equals("sectioncol"))
> {
> boolean fix = false;
> if(UAGENT.equals("OPERA"))
> {
> cellspacing="3";
> fix=true;
> }
> else if(UAGENT.equals("FIREFOX"))
> {
> cellspacing="3";
> fix=true;
> }
>
> if(fix)
> {
> borderSpacing="border-spacing:"+cellspacing+";border-collapse:separat
> e;";
> }
> }*/
>
> Our alternative as of this point is to change the skin back to Classic. See http://www-01.ibm.com/support/docview.wss?uid=swg21613571
>
> Best regards,
> Janice
>
> --- In MAXIMO@yahoogroups.com, "syed a" wrote:
> >
> > Hello janice,
> >
> > My requirement was also same like you for Maximo 7503.
> >
> > So in this forum i saw one comment to modify children.jsp in component folder of maximouiweb & make cellspacing=0 from 3 which
> > we did but no affect.
> >
> >
> > If you find solution for this problem plz let me know.
> >
> >
> >
> >
> >
> >
> > --- In MAXIMO@yahoogroups.com, "janice c" wrote:
> > >
> > > We are currently upgrading to Maximo 7503 and received a request to modify the screen and remove the white-space as it is taking up much more space than the previous screens. I think this can be done by tweaking the CSS of the application. Maximo 7503 uses a CSS property called white-space: nowrap (see below sample) which ensures that sequences of whitespace will collapse into a single space character. This property has been applied to basecomp, tabgroup, listbox, toolbar, menubar, menus and nodename .
> > >
> > > MAXIMO 75XX
> > > /* basecomp */
> > > .bc
> > > {
> > > padding:0px;
> > > margin:0px;
> > > background-color: inherit !important;
> > > display: inline;
> > > white-space: nowrap;
> > > }
> > >
> > > MAXIMO 71XX
> > > .bc
> > > {
> > > padding:0px;
> > > margin:0px;
> > > background-color: inherit !important
> > > }
> > >
> > > After modifying the CSS, we rebuilt the EAR files but the screen remains the same. Any idea on how to do this?
> > > Thanks heaps
> > >
> > >
> > > Best regards,
> > > Janice
> > >
> >
>
>