GithubHelp home page GithubHelp logo

gigazhang / crux-framework Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 87.66 MB

Automatically exported from code.google.com/p/crux-framework

Java 92.60% XSLT 5.28% JavaScript 0.09% HTML 0.03% CSS 1.99%

crux-framework's People

Watchers

 avatar

crux-framework's Issues

High memory usage when using a lot of HTMLPanels on a page

What steps will reproduce the problem?
1. Create a crux.xml file with some HTMLPanels, one inside another, and put
an html content with moderated size inside the inner one.


The amount of memory alocated by the browser is not compatible with the
size of the page... some  hundred of mega bytes are being alocated. If the
page is changed to use grids and other widgets in the place of the
HTMLPanes, the amount of memory reduces greatly.

There is no leak, because when the page is unloaded, the memory is
released, but until the page is unloaded, the amount of memory used is too
high... 


Original issue reported on code.google.com by [email protected] on 27 Feb 2010 at 5:49

Create events on TransferList widget.

Improvements to the component: <crux:transferList>. It should be created in
an event in compnent where can be triggered when the controller needs to
validate an element at the time to to add the list of selected.






Original issue reported on code.google.com by [email protected] on 15 Mar 2010 at 5:40

Fields that do not implement Comparable are lost when a binded object is loaded into a DataSource

What steps will reproduce the problem?
1. Create a value object
2. Create a field that not implements Comparable
3. Use this value object as a binded object in a DataSource
4. Use this DataSource in a Grid
5. Retrieve the binded object from the Grid

What is the expected output? What do you see instead?
The field is set to null when you read it from the Grid.

Original issue reported on code.google.com by [email protected] on 8 Mar 2010 at 5:36

Serialization Error running invokers on opera

What steps will reproduce the problem?
1. creates a invoker for any controller method
2. invoke that method from other frame
3. the serialization error occur...

To test, use the showcase application.

The problem only occur on opera


Original issue reported on code.google.com by [email protected] on 10 Mar 2010 at 10:08

GWT DecoratedTabBar does not work at Crux

What steps will reproduce the problem?
1. creates any page with a decoratedTabBar

What is the expected output? What do you see instead?

The DecoratedTabBarFactory has an error on its contructor, that makes
RegisteredWidgetFactories generator fail.

Original issue reported on code.google.com by [email protected] on 12 Mar 2010 at 9:52

Overlapping message boxes causes null pointer error.

What steps will reproduce the problem?
1.Invoke MessageBox.show twice;
2.Close the first message box;
3.Close the second one;

Cause:
There is no stack for message boxes callers. When the first message box is
closed, it removes the unique caller reference. When the second message box
is closed, the reference to the caller is null.

Original issue reported on code.google.com by [email protected] on 25 Nov 2009 at 10:14

GWT SimpleRadioButton does not work at Crux

What steps will reproduce the problem?
1. creates any page with a simpleRadioButton

What is the expected output? What do you see instead?

The simpleRadioButtonFactory has an error on its contructor, that makes
RegisteredWidgetFactories generator fail.


Original issue reported on code.google.com by [email protected] on 12 Mar 2010 at 7:03

GWT SimpleCheckBox does not work at Crux

What steps will reproduce the problem?
1. creates any page with a simpleCheckBox

What is the expected output? What do you see instead?

The SimpleCheckBoxFactory has an error on its contructor, that makes
RegisteredWidgetFactories generator fail.

Original issue reported on code.google.com by [email protected] on 12 Mar 2010 at 6:36

Problem using uppercase ids and ScreenWrapper

What steps will reproduce the problem?
1. Create an empty project with project generator
2. In index.crux.xml, rename 'nameTextBox' element to 'UFTextBox' (if you
modify MyController class, line 23, from Screen.get("nameTextBox"... to
Screen.get("UFTextBox"...; the code will work just fine)
3. Create MyScreen interface, which extends ScreenWrapper, and add method
public TextBox getUFTextBox();.
4. Modify MyController class, adding @Create protected MyScreen screen.
5. Modify, again, MyController class, where it's written: 

TextBox textBox = Screen.get("UFTextBox", TextBox.class);

you change it to:

TextBox textBox = screen.getUFTextBox();

6. Deploy the .war on a tomcat (I used 6.0.18 on Windows Vista Business BR,
JDK 1.6)
7. Try running the web application, and you will receive an error in a
Javascript's alert window.

What is the expected output? What do you see instead?
The expected output would be the same as when I use 'Screen.get("name")'.
However, the output is an error if I use the ScreenWrapper interface.

What version of the product are you using? On what operating system? On
what Browser?
I am using CRUX-1.0.0-RC3, on an Vista Business - pt_BR, and the browser is
a Firefox 3.5.7.

Please provide any additional information below.
Found this issue last month in a code to retrieve the states (UFs) from a
Web Service. I tried to create a ListBox named "UFListBox", and used the
ScreenWrapper interface... I had to rename it to uFListBox, and it did this. 


Original issue reported on code.google.com by [email protected] on 1 Mar 2010 at 6:43

GWT VerticalSplitPanel does not work at Crux

What steps will reproduce the problem?
1. creates any page with a verticalSplitPanel

What is the expected output? What do you see instead?

The VerticalSplitPanelFactory has an error on its contructor, that makes
RegisteredWidgetFactories generator fail.

Original issue reported on code.google.com by [email protected] on 12 Mar 2010 at 6:30

Popup refreshes when title is clicked

What steps will reproduce the problem?
1.open any popup
2.click on the title
3. the browser is "refreshing" the window, and change the CSS.


What version of the product are you using? On what operating system? On
what Browser?
IE7

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 23 Feb 2010 at 6:17

Problem with i18n messages when used inside template files

What steps will reproduce the problem?
1. Creates a template file that is referenced inside another template
2. Use the second template inside a crux.xml file
3. Uses a declarative i18n message on the inner template.
4. Sometimes, Crux can not translate thos messages correctly.

The problem does not occur always, and only occur with messages that are
not referenced in any other palce on application.

Original issue reported on code.google.com by [email protected] on 27 Feb 2010 at 5:40

Best Support for hot deployment of crux.xml files

Crux does not support hot deployment of crux.xml file properly if a new
type of widget is inserted on the page.

Crux uses a generator to create a registeredFactories object, to include
only the widget factories that is realy used. 

A config property could be created to say if developer wants to register
all possible widget factories if Environment.isProduction() is false....

It would enable hot deployment in any situation and would not decrease the
performance, because on crux compilation (callied by the crux compiler),
Environment.isProduction() is true.

Original issue reported on code.google.com by [email protected] on 12 Mar 2010 at 4:23

The Tab is not closed if opened with closeable = "false"

The Tab is not closed if it will be opened by DynaTabs.openTab with the 
attribute closeable equal false

steps to reproduce the problem:

1.Open tab with closeable attribute equal false

"DynaTabs.openTab(tabId, tabLabel, appendMainUrlParameters(tabUrl), false, 
false);"

2. Close tab with method DynaTabs.closeTab(tabId)

3.The Tab is not closed

Please it verifies the behavior...

Original issue reported on code.google.com by [email protected] on 8 Mar 2010 at 5:13

If Dynatabs.closeTab is called before the page is loaded, the tab is not closed and the user receives no report

What steps will reproduce the problem?

1. Open a DynaTab through DynaTabs.openTab();
2. Right after the open command, execute a DynaTabs.closeTab on the
previous opened tab.
3. The tab is not closed

What is the expected output? What do you see instead?

The expeted outup is:
1. The tab closed, or
2. The status of the operation returned to the caller.

We know that crux verifies the state of the inner tab document to avoid
errors on tab closing events. However, it could creates some kind of
monitor to dispatch the close event after document is loaded, or, at least,
notify the caller, making possible to him handle the situation.


Original issue reported on code.google.com by [email protected] on 10 Mar 2010 at 11:45

GWT DecoratedStackPanel does not work at Crux

What steps will reproduce the problem?
1. creates any page with a decoratedStackPanel

What is the expected output? What do you see instead?

The DecoratedStackPanelFactory has an error on its contructor, that makes
RegisteredWidgetFactories generator fail.


Original issue reported on code.google.com by [email protected] on 12 Mar 2010 at 6:58

GWT DecoratedPopupPanel does not work at Crux

What steps will reproduce the problem?
1. creates any page with a decoratedPopupPanelFactory

What is the expected output? What do you see instead?

The DecoratedPopupPanelFactory has an error on its contructor, that makes
RegisteredWidgetFactories generator fail.

Original issue reported on code.google.com by [email protected] on 12 Mar 2010 at 6:46

GWT DecoratedTabPanel does not work at Crux

What steps will reproduce the problem?
1. creates any page with a decoratedTabPanelFactory

What is the expected output? What do you see instead?

The DecoratedTabPanelFactory has an error on its contructor, that makes
RegisteredWidgetFactories generator fail.


Original issue reported on code.google.com by [email protected] on 12 Mar 2010 at 5:56

The Crux Grid Headers are not centered when the size of the column is not big enough to hold it.

What steps will reproduce the problem?
Create a Crux Grid with a very big header on one of its columns... If the
title wrap, the header does not obey the aligment directives and align
always to left....


What version of the product are you using? On what operating system? On
what Browser?
IE7

Please provide any additional information below.

Original issue reported on code.google.com by [email protected] on 23 Feb 2010 at 6:22

Problem in FirstLastPager

What steps will reproduce the problem?
1. when no results were found the buttons of the pager are enabling

What is the expected output? What do you see instead?
The buttons on the pager shoul not enable 

What version of the product are you using? On what operating system? On
what Browser?
using ie8 in windows xp and crux 1.0


Original issue reported on code.google.com by [email protected] on 23 Mar 2010 at 2:04

JVM never dies when "generate-schemas" Ant task is executed

What steps will reproduce the problem?
1. Generate a project with Crux Project Generator
2. Run the "generate-schemas" ant task 

What is the expected output? What do you see instead?
Schemas are successfully generated, but JVM never dies.

Original issue reported on code.google.com by [email protected] on 15 Mar 2010 at 8:16

Make CRUX generate w3c compliant HTML

CRUX uses html tag attributes such as _type, _contenttype, that are not
part of the HTML specification.  When validating a crux project against
http://validator.w3.org/ you'll always receive errors because of this
(using the crux project generator batch file, the output project has 18
errors... one of them because doctype is absent, but the others are mainly
because of invalid attributes).

Would there be another w3c-valid way of doing this? I really appreciate
having a 100% w3c valid web project (-:, and some clients could complain
about html validation... 

Cheers

Original issue reported on code.google.com by [email protected] on 1 Mar 2010 at 6:57

Attachments:

WidgetFactoriesGenerator is generating an invalid code

WidgetFactoriesGenerator is generating an invalid code when a factory
declares two ChoiceProcessors as children of the same WidgetChildProcessor.

Example:

class MyProcessor
{
   @TagChildren({
       @TagChild(Processor1.class),
       @TagChild(Processor2.class)
   })
   void processChildren(...)
}

@TagChildAttributes(maxOccurs="1")
class Processor1 extends ChoiceWidgetProcessor...

@TagChildAttributes(maxOccurs="unbounded")
class Processor1 extends ChoiceWidgetProcessor...

Original issue reported on code.google.com by [email protected] on 31 Mar 2010 at 5:15

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.