[
https://issues.apache.org/jira/browse/LABS-465?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Simone Gianni updated LABS-465:
-------------------------------
Remaining Estimate: 0h
Original Estimate: 0h
It currently works, provided that there is a handle method.
Just to explain this, if I write
public HtmlProducer doSomething() {
return handleSomethingElse().do_default();
}
It will correctly return the producer returned by do_default, and from an URI
point of view behave like if the do never happened. This makes the
handleSomethingElse work correctly, but creates problem when the doSomething
was used to decorate that producer (for example, placing it inside tabs, or
adding a header or whatever else).
The problem in this bug was in reality caused by SmartForm not outputting
errors for invisible fields.
> [form] do_default does not dispatch to other methods depending on current
> parameters.
> --------------------------------------------------------------------------------------
>
> Key: LABS-465
> URL: https://issues.apache.org/jira/browse/LABS-465
> Project: Labs
> Issue Type: Bug
> Components: Magma
> Affects Versions: Current
> Reporter: Simone Gianni
> Assignee: Simone Gianni
> Priority: Blocker
> Fix For: Current
>
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> Until LABS-192 is completed, calling do_default on form and lists is the only
> way to return a form from a do method. This is used in many fragments, and
> needs to work as expected.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]